Learn the basics of store tag syntax so you can construct your own tags easily and effectively (Syntax refers to the rules of grammar used to build and implement store tag code.).
A store tag is a unique bit of code that you add to the HTML in your web pages. It helps you build ecommerce into the layout of your website quickly and efficiently. Store tags eliminate the need for manual updates when prices or colors or product images change.
Once you set up and publish your catalog and enable the catalog.xml file, you can then set up store tags to automatically update item information on your live pages.
Things to Remember
- The store tag syntax is case-sensitive (Unlike HTML, which is pretty forgiving, in store tags you cannot use uppercase and lowercase interchangeably. Use lowercase exclusively.).
- Use quotation marks around the value for the ID, field and other tag variables. Also, place a space before the closing element of the tag ("-->").
- Example: <!--#ystore_catalog id="your_item_ID_here" field="your_field_name_here" -->
- Keep in mind that you can embed store tags in your web page HTML using the editing or authoring tool of your choice (e.g., Dreamweaver, etc.). However, in order to preview what your item page will look like with built-in store tags, after you save your newly created item page, you must publish and upload it to the server to turn on store tag functionality.
See Also: