Search Help:  
 
Enter keywords to search help.

Creating Custom Store Tags

Once you're familiar with basic Store Tag syntax, you can create your own Store Tags.

All Store Tags share the same basic format. To create a Store Tag, you need to specify the item's ID and indicate the name of the field whose data you would like to display.

For example, the Store Tag below would display the price of the item whose ID is 15.

<!--#ystore_catalog id="15" field="price" -->

Those bolded areas, the ID and field, are the only variables that you need to specify. The ID and field you enter should be entered between double quotes (") or entered without quotes. The Yahoo! Store system won't recognize the ID or field if they are placed between single quotes (').

There's no need to include a unique store ID in your Store Tags — that information is obtained directly from the server.

Please refer to the complete list of field names.

Please Note: The Store Tags for some item attributes — including image, icon, inset, price, and options — can be customized to display those attributes in different ways.

Was this article helpful?

Yes   No
Click to contact Customer Care for further assistance.