Yahoo! Small Business - Merchant Solutions
 
  Small Business Home - Yahoo! - Help

Store Tag Hub

All Tags
Store Tags are custom snippets of HTML code that access your Catalog Manager data and display it on the pages of your site. Learn the basics of Store Tag syntax, so you can construct your own tags easily and effectively.

Special Tags
URL Store Tag Syntax Example
Order Button <!--#ystore_order id=itemID1234 --> <form method="post" action="<!--#ystore_order id=itemID1234 -->"><input type="submit" value="Order Item <!--#ystore_catalog id=itemID1234 field=name -->"></form>
View Cart <!--#ystore_cart --> <a href="<!--#ystore_cart -->">View my shopping cart</a>

Catalog Tags
Field Store Tag Syntax Example
Name <!--#ystore_catalog id=itemID1234 field=name -->
Input:Kids T-shirt
Output:Kids T-shirt
Code <!--#ystore_catalog id=itemID1234 field=code -->
Input:0001
Output:0001
Price <!--#ystore_catalog id=itemID1234 field=price -->
Input:12
Output:12
<!--#ystore_catalog id=itemID1234 field=price -->
Input:10 4 28 7 35
Output:10 4 28 7 35
<!--#ystore_catalog id=itemID1234 field=price format=html -->
Input:12
Output:$12
<!--#ystore_catalog id=itemID1234 field=price format=html -->
Input:10 4 28 7 35
Output:$10, 4 for $28, 7 for $35
Sale-price <!--#ystore_catalog id=itemID1234 field=sale-price -->
Input:10
Output:10
Ship-weight <!--#ystore_catalog id=itemID1234 field=ship-weight -->
Input:1
Output:1
Orderable <!--#ystore_catalog id=itemID1234 field=orderable -->
Input:Yes
Output:Yes
Taxable <!--#ystore_catalog id=itemID1234 field=taxable -->
Input:Yes
Output:Yes
Image <!--#ystore_catalog id=itemID1234 field=image -->
Input:(Uploaded Image)
Output:(Your Image URL)
<!--#ystore_catalog id=itemID1234 field=image format=html -->
Input:(Uploaded Image)
Output:<img border=0 width=235 height=141 src="your_image_URL">
Options <!--#ystore_catalog id=itemID1234 field=options -->
Input:Color Red Blue Green
Output:Color Red Blue Green
<!--#ystore_catalog id=itemID1234 field=options format=html-->
Input:Color Red Blue Green
Output:Color <select name="Color"> <option value="Red">Red</option> <option value="Blue">Blue</option> <option value="Green">Green</option> </select>
<!--#ystore_catalog id=itemID1234 field=options optionkey=Color -->
Input:Color Red Blue Green
Size Small Medium Large
Output:Color Red Blue Green
<!--#ystore_catalog id=itemID1234 field=options optionkey=Color format=html -->
Input:Color Red Blue Green
Size Small Medium Large
Output:Color <select name="Color"> <option value="Red">Red</option> <option value="Blue">Blue</option> <option value="Green">Green</option> </select>
Headline <!--#ystore_catalog id=itemID1234 field=headline -->
Input:Kids T-shirt on sale!
Output:Kids T-shirt on sale!
Caption <!--#ystore_catalog id=itemID1234 field=caption -->
Input:All cotton kids t-shirt - great for summer!
Output:All cotton kids t-shirt - great for summer!
Abstract <!--#ystore_catalog id=itemID1234 field=abstract -->
Input:Machine-washable, all cotton, pre-shrunk kids t-shirt.
Output:Machine-washable, all cotton, pre-shrunk kids t-shirt.
Icon <!--#ystore_catalog id=itemID1234 field=icon -->
Input:(Uploaded Icon)
Output:(Your Icon URL)
<!--#ystore_catalog id=itemID1234 field=icon format=html -->
Input:(Uploaded Icon)
Output:<img border=0 width=235 height=141 src="your_icon_URL">
Inset <!--#ystore_catalog id=itemID1234 field=inset -->
Input:(Uploaded Inset)
Output:(Your Inset URL)
<!--#ystore_catalog id=itemID1234 field=inset format=html -->
Input:(Uploaded Inset)
Output:<img border=0 width=235 height=141 src="your_inset_URL">
Label <!--#ystore_catalog id=itemID1234 field=label -->
Input:Receive free shipping when you buy a kids t-shirt.
Output:Receive free shipping when you buy a kids t-shirt.
Download Not Available  
Gift-certificate <!--#ystore_catalog id=itemID1234 field=gift-certificate -->
Input:Yes
Output:Yes
Need-bill <!--#ystore_catalog id=itemID1234 field=need-bill -->
Input:Yes
Output:Yes
Need-payment <!--#ystore_catalog id=itemID1234 field=need-payment -->
Input:Yes
Output:Yes
Need-ship <!--#ystore_catalog id=itemID1234 field=need-ship -->
Input:Yes
Output:Yes
Personalization-charge <!--#ystore_catalog id=itemID1234 field=personalization-charge -->
Input:2
Output:2
Availability <!--#ystore_catalog id=itemID1234 field=availability -->
Input:Usually ships in 1-2 weeks.
Output:Usually ships in 1-2 weeks.



Copyright © 2004 Yahoo! Inc. All Rights Reserved.
Privacy Policy - Terms of Service - Copyright Policy