Help
Customer Support | Forums
LiveCart > User Manual > Customize > Page Templates

Page Templates

In the "Edit Templates" section you can edit LiveCart templates. To edit a particular template:

  1. Browse the template tree to find the necessary template.
  2. Click the template to view its source.
  3. Modify the template and click Save.

Note: You can also try Live Customization mode to edit templates directly in the graphical user interface.

Editing Templates with Your Favorite Editor

LiveCart uses a slightly different way of managing files than other shopping carts or scripts in general. There are two sets of template files:
  • /application/view - default template files
  • /storage/customize/view - customized template files

Such a system is used to make updates easier - updating the default template files will never change your customized templates. When rendering a page, LiveCart will always use a template from /storage/customize/view, if it is available - otherwise a default template file from /application/view will be used.

So, when editing files, you shouldn't edit the /application/view files directly, but instead store them to /storage/customize/view.

For example, if you want to edit the home page template, you would take it from /application/view/index/index.tpl, but upload the modified file to /storage/customize/view/index/index.tpl. You can also create an initial copy of the template file in the /storage/customize/view directory by saving the template file from backend or using the Live Customization tool.

User Contributed Notes

2 comments received. Add your comment.
  • If you use the backend Customize -> Edit Templates or Customize -> Edit CSS Style Sheets it's really easy. I didn't even know how CSS style sheets worked before this, but now it's super simple.

    Inside the Edit Templates area whenever there is a id="name", this name is located in the CSS style sheet. Generally seen as #name{ html tags go here }

    It seems the less you think about it, the better your off. A little hard work and some progress goes a long way!!
  • Waklnig in the presence of giants here. Cool thinking all around!