Skip to main content

Catalog Templates - UltraTrains

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 NameDescription
template_homeTemplate for the Home Page
template_pageA Generic Page template for non product pages
template_groupTemplate for displaying a group or product category
template_itemTemplate for displaying an item page

Code Blocks

Code Block NameDescription
snip_document-toptop of page, contains mostly head tag information
snip_document-bottombottom of page, usually just closing body and html tag
snip_headerpage header code, such as a banner or logo, top menu, etc
snip_footersimple footer navs, copyrights, disclaimers, etc
snip_leftleft side navigation
snip_crumbbread crumbs at top
snip_help-texthelp text that displays if a merchant is logged to the site.
snip_group-columna tiny bit of code to display item information for an item in a large group
snip_paginationgenerates pagination navigation for group pages
snip_reviewdisplays product reviews on the item page.
snip_admin-panelcontains code providing an admin panel for you, the merchant (when logged in)
snip_item-topThis 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.
tip

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.

ultratrains003.png

Was this page helpful?