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.
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.
| 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 --> |
|
| Price |
<!--#ystore_catalog id=your_item_id field=price --> |
|
| <!--#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 --> |
|
| <!--#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 --> |
|
| Ship-weight |
<!--#ystore_catalog id=your_item_id field=ship-weight --> |
|
| Orderable |
<!--#ystore_catalog id=your_item_id field=orderable --> |
|
| Taxable |
<!--#ystore_catalog id=your_item_id field=taxable --> |
|
| 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 --> |
|
| Need-bill |
<!--#ystore_catalog id=your_item_id field=need-bill --> |
|
| Need-payment |
<!--#ystore_catalog id=your_item_id field=need-payment --> |
|
| Need-ship |
<!--#ystore_catalog id=your_item_id field=need-ship --> |
|
Personalization
-charge |
<!--#ystore_catalog id=your_item_id field=personalization-charge --> |
|
| Availability |
<!--#ystore_catalog id=your_item_id field=availability --> |
| Input: |
Usually ships in 1-2 weeks. |
| Output: |
Usually ships in 1-2 weeks. |
|