ALPHA STORE DESIGN STUDIO - authorized Yahoo! Small Business Partner
call us at (908).338.3992
About Us
System Additions for Store Pages
Custom Graphic Design. How It Works
BLOG: A few "tips" and "RTML secrets" of Yahoo store.

OUR BLOG: Yahoo Store from A to Z and RTML development "secrets".


Within Yahoo Store RTML Template, this operator is showing as:


The purpose of this operator is to take an argument and convert it (if possible) to a numerical type.



The argument in this example starts with “$”, where “$” is not a numerical character and therefore the AS-NUMBER returns 0

AS-NUMBER “10.44 20 30”

This example returns 10.44 because AS-NUMBER stops at the not numerical blank character.

How to define “FREE SHIPPING” over a certain amount and how to apply it to different UPS shipping methods

Storeowners who use flat rates, custom rate tables, or other custom methods, are able to define “Free shipping” by adding new conditions to previously defined rules. But how does one define “Free Shipping” if one is using UPS’ built-in methods (UPS Real-Time Rates)? How does one set-up rates that are followed by a statement that says: “Free ground shipping over $100 of your order”?

It’s pretty easy:

1) In the Store’s Shipping Manager go to: Store Manager > Shipping Manager > Ship Rates

Click the “Add Rule” Button, Select location, then on the next page select the UPS Ground method (or any other listed methods based on your preference). Click “Next”.

2) On the next page select the “Rate Table” radio button and proceed to the next page.

3) On this page select “TAXABLE_AMOUNT” from the first select box and then change the second line of the table with these following statements:

a) From: 100 (do not write the dollar/cents sign)

b) Add: -5000.00 (input a large negative value to override any possible shipping charges calculated by UPS)

4) Click “NEXT”. On the next page do NOT check the box “Apply ONLY this rule, even if other rules match”.

Click “Done”. Now you will see that the newly created rate table has been added to your list of Shipping Rates.

To test the new rule, go to “Shipping and Tax Test” page, select the “UPS Ground” shipping method, click “Calculate” and review the result.

Please do not forget to clearly explain a “free shipping” promotion to your store visitors. Add the appropriate notification to your store pages and to shopping cart pages.

If you would like to enhance the functionality of this option by having the ability to:

– Make it possible to show the notification text at your shopping cart pages upon different order conditions,

– Hide/show shipping methods depending on order “Ship To” address (i.e. display only “Second Day” if shipping to HI or AK),

– Exclude certain items from the “free shipping” promotion,

– Prevent placing orders with different shipping methods together in the same basket (i.e. item with the “second day” only method and item with “freight” method only),

– Display and submit a custom form at “Confirmation” page (i.e. “Prescription” form)

Please call us at 908-338-3992 or send us an e-mail to discuss your request or to talk about any other custom modifications.

Custom Yahoo Store Availability 2

In the previous “Custom Availability” post we explained how to use the Custom Availability property together with the system Availability property. This method requires basic RTML knowledge.

Next, we will show you how to implement a “Custom availability” text field instead of using the pre-defined property Availability. This method is simpler than the previous one.

First, open a list of store Templates. Then find custom Item-order template.

Store template Item-order

Click on it to open.
Find the RTML expression WHEN @availability.
Click on @availability.

Click the “New” button and create a NONEMPTY operator. Then click “Replace”. As a result, the NONEMPTY RTML operator will replace the original @availability expression.

Click the “EDIT” button and set the value of NONEMPTY operator to @custom-availability

WHEN NONEMPTY @custom-availability

Find the RTML expression STRING-APPEND:

         TAG tag "em"
           TEXT "Availability: "

We have to replace @availability property with @custom-availability. For this purpose click on the STRING-APPEND operator and then click the EDIT button. Change @availability to @custom-availability and click update:

WHEN NONEMPTY @custom-availability
  DIV class "itemavailable"
             TAG tag "em"
               TEXT "Availability: "

Finally, define the custom property @custom-availability (type text) at the item page or at the item type and fulfill it with its necessary value.

RTML Operator “APPEND”

In an RTML Template the “APPEND” operator looks like:


This operator joins all sequences pasted within.

NOTE You cannot paste a text string within APPEND operator because it will result in RTML error.


WITH= variable bestsellers-ids-together
      value APPEND
  TEXT bestsellers-ids-together

In this example, we combine two ID sequences. Then we write the resulting sequence into the text spot.

RTML Operator “ACTION”

In an RTML Template the “ACTION” operator looks like:


This operator returns a special Yahoo Store URL that will perform a certain action. The possible arguments are :

:email (returns argument mailto: and the e-mail address from the email global variable),
:help (returns,
:search (returns search page URL), and
:show-order (returns Yahoo basket URL).


FORM destination ACTION :show-order
     method "post"

RTML Operator “>=” [greater than or equal to]

In the Yahoo Store RTML Template a newly created “>=” operator looks like:

>= value1 nil
   value2 nil

This operator compares two numbers. If the first argument is greater or equal to the second one, then the operator returns “true”.


FOR variable pos
    initial 10
    test <= value1 pos
            value2 0
    update pos - 2
         " "

In this example the operator “>=” checks a loop property “pos”. The loop continues to work as long as the “pos” value is greater or equal to zero.

How to add Global or Local properties

If the property is going to be used only on a particular page, it is referred to as “Local” and is located on that page under the “Custom properties” header.
If the property is going to be used on the entire store, then it is called “Global” and is located in the “Variables” section (see page’s Editor toolbar) under “Custom Variables” header.

To add a Local custom property open a particular page, then click the [Edit] button on the Editor toolbar.

Yahoo Store Editor Edit Button

Click the [New Property] button. Input the Name of a new property, and select its type.
Click [Update]

To add a Global custom property, click the button [Variables] at the Editor toolbar.
Click the button [Define New Variable] on the page toolbar.

Define New Variable in Yahoo Store Editor

Input the Name of a new property, and then select its type.
Click [Update]