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


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.

Tags: , , ,

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

  1. March 1st, 2012 at 4:58 am

    marc says:

    Thank you. However, this did not work for my site. Is their a typo in your instructions? Should @-share-code be @share-code in the last step?

  2. March 1st, 2012 at 6:58 pm

    Alex says:

    Yes, you are right – it was a typo – now it’s fixed. Thanks for letting us know!

  3. March 2nd, 2012 at 2:02 am

    kate says:

    Hi! I am so glad I found this post! I really want to add share buttons to my site, but had no idea how..

    I’m having a slight problem though, and I’m hoping since you posted this only 2 months ago Yahoo hasn’t changed the site since then. Everything works fine until I get to WHEN OR. It’s not a clickable link. None of the rtml in my entire template directory is clickable or changeable. I have no idea why or how to fix it, but I thought I’d ask if maybe I’m missing something?

    Thanks!!

  4. March 4th, 2012 at 4:20 pm

    Alex says:

    Dear Kate, by default, the Yahoo store templates are not editable. You have to create a list of Editable Templates. See our post at http://www.alphastoredesign.com/blog/2010/03/08/editing-of-rtml-templates/

Leave a Reply