Custom templates allow you to fully customize the look and feel of your store. This feature lets you have full control over your HTML and CSS properties.

Custom templates use a modified version of the Apache Velocity templating engine. Velocity permits you to use a simple yet powerful template language to reference data objects stored in your account (product details, customer data, etc).

Please reference the Apache Velocity User Guide on the basics of the Velocity Template Engine.

<ul>
    <li><a href="/products/">Browse All</a></li>
    {{ #foreach ( $category in $methods.getcategoriesbyparentid(0)) }}
    <li>
        <a href="{{ $category.categorylink }}">
            {{ $category.name }}
        </a> 
         ({{ $category.productcount }}
    </li>
    {{ #end }}
</ul>

This sample code is a simple demonstration of looping through a category collection.

Custom templates consist of unique pages that define your store's content. See the templates