Page Template Examples
Page Title and Name
Page Header and Footer
Banner Graphic
Text Fields
Page Links
Product Listings
Page Layout
Complete Example

Custom Page Templates: Product Placement and Layout

Most product content and layout settings are defined in product templates, but the page template also has an important function in the product display. In a custom page template you set where products will be displayed, what product template will be used, and how many products will be displayed per row.

Putting products on your page can be quite simple, such as this loop:

[-- LOOP PRODUCTS --]
<br>[-- PRODUCT --]
[-- END_LOOP PRODUCTS --]

You will probably put some HTML tags in and around the loop tags to format the products to fit your page layout.

Product Loop Example 1Resulting Page

This example uses a very simple table to display product information. Since there is only one column, the table isn't really necessary, but the table structure is applicable to more complex layouts. All of the products in the resulting page are using the Default Product Template.

Product Loop Example 2Resulting Page

This second example uses the same structure as the previous example, but it specifies a template to use for all the products. It also displays the products in columns based on the "Columns" value set by the merchant.