In this section we will take the time to talk a bit about templates. Each theme comes with a list of predefined templates that Kloudstores needs in order to properly display your store.
For example when a user clicks on a product in your store Kloudstores will use a template called product.liquid to display that product the way you want it or the way it was designed to.
The complete list of templates used by Kloudstores is displayed below:
|/layouts/default.liquid||This is a special kind of template used as a display layout for all templates. This would normally contain the store header, main menu, footer, etc.|
|/templates/index.liquid||Used to display the main page of your store|
|/templates/product.liquid||Used to display product pages|
|/templates/collection.liquid||Used to display collection pages|
|/templates/search.liquid||Used to display the search results page|
|/templates/cart.liquid||Used to display the shopping cart|
|/templates/user_information.liquid||Used to display the form that the user will complete with his contact information|
|/templates/review_order.liquid||Used to display review order page|
|/templates/confirm_order.liquid||Used to display the confirmation that the order was saved successfully|
|/templates/404.liquid||Used to display an error message for when a particular page was not found|
Kloudstores allows you to specify custom product templates for special products. You should use this feature in case you have a product for which you want the template to be different than the default product.liquid one.
Suppose you have a product having the handle equal to P001. To set a template for this product only all you have to do is create a template called product-P001.liquid and kloudstores will use it instead of the default one.
The same principle applies for collections just that in their case you have to create a template named collection-HANDLE.liquid. Replace HANDLE with your collection handle.