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".

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.

Tags: , , ,

Leave a Reply