ALPHA STORE DESIGN STUDIO - authorized Yahoo! Small Business Partner
call us at (908).338.3992
 
About Us
Portfolio
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".


Useful Links & Bookmarks

A list of useful links to Yahoo store resources and other web tools :

Yahoo Help pages for store users: http://help.yahoo.com/help/us/store/edit/index.html

Find broken links on web sites: http://home.snafu.de/tilman/xenulink.html

SEO book: http://www.seobook.com/

Search Engine Keyword Tracker & Keyword Ranking Tool: http://www.digitalpoint.com/tools/keywords/

Search Engine Friendly Redirect Checker: http://www.webconfs.com/redirect-check.php

How is your site viewed by SE crawlers? http://www.delorie.com/web/lynxview.html

Google on-line sitemap generator : http://www.xml-sitemaps.com/

If you have any other resources which might be useful in development and maintenance, please  let us know about them!

Editing of RTML templates

Let’s suppose that you’ve just opened a brand new Yahoo store account. You’re excited and ready to put up your items for sale. But hold on a second. Before you upload the inventory items we insist that you follow these steps to create a list of Editable Templates.

By default RTML templates cannot be edited. To be capable of enhancing these templates, you need to make copies of all your base templates. This is a necessary step because afterwards, these template copies and newly created templates will have the possibility of being altered and edited.

As we have already said, you must make this list of Editable Templates before you upload any items because it will help you avoid the process of changing the templates for each item one by one.

So how does someone create a list of Editable Templates?

The first step you must take is to turn on the Advanced Editor Mode in the Control panel.

Yahoo Store Advance Editor Button

You will now see a second row of control buttons on the bottom of your main page

Yahoo Store Advance Editor Mode

-Click on the tab called “Contents”

-In the contents page, click the yellow button named “Templates

-Once you access this page you will see a list of all the templates.

-Find the template “Storetemplate.” and click to open it.

-Find the “Copy Template” button and click it.

RTML "Storetemplate." Copy Template button

-There will be a field that will appear where you have to type in a name for the new template. An example could be, “New-Storetemplate

-Click the “Copy” button.

Yahoo Store Editor - Template Copy

Congratulations. You have successfully created a List of Editable Templates! To recap, this was made possible through a process of copying the parental template (Storetemplate). Afterward, the RTML system automatically copies subsequent templates on it’s own, and all you need to do is apply this new template to your store pages by editing the store properties. This method will benefit you because you will have fewer pages to edit, and your workload will greatly decrease.

For example, let’s edit the first page of the site (Home page). Open up the Home page and click Edit. Then within the “Template” property change Storetemplate to New-Storetemplate and click on the Update button. Do not worry; the page layout will remain the same, because the new template is the exact copy of the old one.

Finally, all you need to do is apply some changes to the Config page. This is marked by a yellow button called “Config” at the top or bottom of your store pages (depending on the page settings).

Yahoo Store Editor Config Button

When you are in the Config page you must edit three drop-down menus (Default-item-template, Default-section-template, Default-group-template) and change Store-template to the new editable template.

As a result of taking these steps you now have the possibility to edit templates and to have all newly created pages under an editable template by default.

In our future articles we will discuss how to improve your Yahoo Store functionality by adding some small changes to the templates.

-Click on the tab called “Contents”

-In the contents page, click the yellow button named “Templates”

How to add the “AddThis” button to Yahoo Store pages

1) To add “Bookmark & Share” button to store pages, go to www.Addthis.com first and receive the code from there.

There is the example of such a code:

<!– AddThis Button BEGIN –>
<a class=”addthis_button” href=”http://www.addthis.com/bookmark.php?v=250&amp;username=xa-4c3eff9c2b54f517″><img src=”http://s7.addthis.com/static/btn/v2/lg-share-en.gif” width=”125″ height=”16″ alt=”Bookmark and Share” style=”border:0″/></a><script type=”text/javascript” src=”http://s7.addthis.com/js/250/addthis_widget.js#username=xa-4c3eff9c2b54f517″></script>
<!– AddThis Button END –>

Note: If you want to get the sharing statistics, you have to register on addthis.com.

2) Create a global variable -share-code (med-text) and place and paste the code into it. See more details here: http://www.alphastoredesign.com/blog/2010/03/11/how-to-add-global-or-local-properties ).

3) Open a list of store Templates. Then find custom Item-order template.

Store template Item-order
Click on it and open.

Find the RTML expression:

WHEN OR
       @price
       @sale-price

Click on WHEN.

Click the “New” button and create a TEXT operator. Then click the “Paste After”. After this click the “EDIT” button and set the value of TEXT operator to @-share-code

After these simple procedures the “Add This” button will appear on every item page near the “Add to Cart” button.

RTML Operator “BLUE”

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

BLUE nil

The operator takes color value and returns its blue component of RGB (red green blue) color model in numeric value between 0 and 255.

EXAMPLES:

  WITH= variable blue
        value BLUE @background-color
    WITH= variable red
          value RED @background-color
      WITH= variable green
            value GREEN @background-color
        BODY background-color COLOR red red - 20
                                    green green - 20
                                    blue blue - 20

At this example, we took Red Green and Blue color components from the global variable @background-color. Then, we are using these components to make the body background darker.

RTML Operator “AS-STRING”

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

AS-STRING nil

The purpose of this operator is to take an argument and convert it to a string.

EXAMPLE:

Let us pretend, that one of our test item has “Saving on Quantity” price value, defined as: 30 5 125 10 200. Where: 1 item price is $30, 5 items price is $125 and 10 items price is $200.

At this case the property @price returns numerical array (30 5 125 10 200), while AS-STRING @price returns text string – 30 5 125 10 200

RTML Operator “AS-NUMBER”

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

AS-NUMBER nil

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

EXAMPLES:

AS-NUMBER “$77”

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.

Facebook “LIKE” Button Now is Available for Yahoo Stores!

An year ago, Facebook implemented a “like” button that let users share content that they approve of with each other. 3rd party websites are now also capable of implementing this button so that the site could get more attention on Facebook. These codes will show customers which of their Facebook friends have liked or visited your website.
http://news.cnet.com/8301-1023_3-10160112-93.html

You could use 2 ways to install the Facebook “Like” button at your store:

1) To enable a new Yahoo Social Media Sharing feature by yourself.

See more info here: http://help.yahoo.com/l/us/yahoo/smallbusiness/store/edit/social/social-03.html

If you are experiencing a difficulties to setup or customize the feature’s appearance on a page, then:

2) We could setup the Yahoo feature or to setup our version of it, based on XFBML fb:like tag and Facebook’s JavaScript SDK with Open Graph protocol. We could implement the button at any position on a page, depending on page design and customize it as necessary.

Note: For both versions you have to obtain the Facebook Application ID.

See more info here: http://help.yahoo.com/l/us/yahoo/smallbusiness/store/edit/social/social-06.html

You can find an example of this feature setup at : www.holytrinitystore.com, www.hello-gorgeous.net (drill down to Item pages to see).

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:

TEXT STRING-APPEND
       GRAB
         TAG tag "em"
           TEXT "Availability: "
       @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"
    TEXT STRING-APPEND
           GRAB
             TAG tag "em"
               TEXT "Availability: "
           @custom-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:

APPEND

This operator joins all sequences pasted within.

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

EXAMPLE

WITH= variable bestsellers-ids-together
      value APPEND
              @local-bestsellers-ids
              @global-bestsellers-ids
  TEXT bestsellers-ids-together

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