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

Store Tag Hub

Contents
  Introduction
  Special Tags
  Catalog Tags
  All Tags
  Error Codes
Other Resources
  Store Tag FAQ
  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.

You can also refer to the printable version of this page.

As you refer to the Store Tag examples below, keep in mind that "your_item_id" is an example itemID. In order to build Store Tags for your own items, be sure to use the itemID from your Catalog Manager item pages.

Special Tags
URL Store Tag Syntax Example
Order Button <!--#ystore_order id=your_item_id --> <form method="post" action="<!--#ystore_order id=your_item_id -->"><input type="submit" value="Order Item <!--#ystore_catalog id=your_item_id 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=your_item_id field=name -->
Input:Kids T-shirt
Output:Kids T-shirt
Code <!--#ystore_catalog id=your_item_id field=code -->
Input:0001
Output:0001
Price <!--#ystore_catalog id=your_item_id field=price -->
Input:12
Output:12
<!--#ystore_catalog id=your_item_id field=price -->
Input:10 4 28 7 35
Output:10 4 28 7 35
<!--#ystore_catalog id=your_item_id field=price format=html -->
Input:12
Output:$12
<!--#ystore_catalog id=your_item_id field=price format=html -->
Input:10 4 28 7 35
Output:$10, 4 for $28, 7 for $35
Sale-price <!--#ystore_catalog id=your_item_id field=sale-price -->
Input:10
Output:10
Ship-weight <!--#ystore_catalog id=your_item_id field=ship-weight -->
Input:1
Output:1
Orderable <!--#ystore_catalog id=your_item_id field=orderable -->
Input:Yes
Output:Yes
Taxable <!--#ystore_catalog id=your_item_id field=taxable -->
Input:Yes
Output:Yes
Image <!--#ystore_catalog id=your_item_id field=image -->
Input:(Uploaded Image)
Output:(Your Image URL)
<!--#ystore_catalog id=your_item_id field=image format=html -->
Input:(Uploaded Image)
Output:<img border=0 width=235 height=141 src="your_image_URL">
Options <!--#ystore_catalog id=your_item_id field=options -->
Input:Color Red Blue 006600
Output:Color Red Blue 006600
<!--#ystore_catalog id=your_item_id field=options format=html-->
Input:Color Red Blue 006600
Output:Color <select name="Color"> <option value="Red">Red</option> <option value="Blue">Blue</option> <option value="006600">006600</option> </select>
<!--#ystore_catalog id=your_item_id field=options optionkey=Color -->
Input:Color Red Blue 006600
Size Small Medium Large
Output:Color Red Blue 006600
<!--#ystore_catalog id=your_item_id field=options optionkey=Color format=html -->
Input:Color Red Blue 006600
Size Small Medium Large
Output:Color <select name="Color"> <option value="Red">Red</option> <option value="Blue">Blue</option> <option value="006600">006600</option> </select>
Headline <!--#ystore_catalog id=your_item_id field=headline -->
Input:Kids T-shirt on sale!
Output:Kids T-shirt on sale!
Caption <!--#ystore_catalog id=your_item_id field=caption -->
Input:All cotton kids t-shirt - great for summer!
Output:All cotton kids t-shirt - great for summer!
Abstract <!--#ystore_catalog id=your_item_id 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=your_item_id field=icon -->
Input:(Uploaded Icon)
Output:(Your Icon URL)
<!--#ystore_catalog id=your_item_id field=icon format=html -->
Input:(Uploaded Icon)
Output:<img border=0 width=235 height=141 src="your_icon_URL">
Inset <!--#ystore_catalog id=your_item_id field=inset -->
Input:(Uploaded Inset)
Output:(Your Inset URL)
<!--#ystore_catalog id=your_item_id field=inset format=html -->
Input:(Uploaded Inset)
Output:<img border=0 width=235 height=141 src="your_inset_URL">
Label <!--#ystore_catalog id=your_item_id 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=your_item_id field=gift-certificate -->
Input:Yes
Output:Yes
Need-bill <!--#ystore_catalog id=your_item_id field=need-bill -->
Input:Yes
Output:Yes
Need-payment <!--#ystore_catalog id=your_item_id field=need-payment -->
Input:Yes
Output:Yes
Need-ship <!--#ystore_catalog id=your_item_id field=need-ship -->
Input:Yes
Output:Yes
Personalization-charge <!--#ystore_catalog id=your_item_id field=personalization-charge -->
Input:2
Output:2
Availability <!--#ystore_catalog id=your_item_id 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