The Ultra Trains Demo contains 16 total templates.
Of that, 12 are code blocks, referred to sometimes as snippets that are included in the 4 main pages.
Main Pages
Template Name |
Description |
---|---|
Template for the Home Page |
|
A Generic Page template for non product pages |
|
Template for displaying a group or product category |
|
Template for displaying an item page |
Code Blocks
Code Block Name |
Description |
---|---|
top of page, contains mostly head tag information |
|
bottom of page, usually just closing body and html tag |
|
page header code, such as a banner or logo, top menu, etc |
|
simple footer navs, copyrights, disclaimers, etc |
|
left side navigation |
|
bread crumbs at top |
|
help text that displays if a merchant is logged to the site. |
|
a tiny bit of code to display item information for an item in a large group |
|
generates pagination navigation for group pages |
|
displays product reviews on the item page. |
|
snip_admin-panel |
contains code providing an admin panel for you, the merchant (when logged in) |
This is almost exactly like snip_document-top, with the following differences: the title contains the item description. Most importantly, for the demo, the snip_item-top prepopulates some credit card fields so anyone playing with the demo can fake a checkout. In a normal production instance, we would not have this code block, and snip_document-top would suffice. |
The Professional Services guys who created this site used the convention of naming code blocks with a snip prefix. Works well enough. There is no requirement for naming conventions with prefixes or suffixes. The determining factor for whether a code block is stand alone or not is the Type checkboxes within the template editor.