It is possible to edit source code of the theme files directly from your administration panel in CS-Cart. Template editor helps to manage files located in the .../design/themes/theme_name directory.
Note
The template editor is based on Javascript. So, Javascript must be enabled in your web browser.
To edit files:
This feature makes editing the storefront templates on the fly possible. Choose the desired element right on the storefront (editable ones have icons), click on the desired template and edit its contents in the appeared window. The source code is highlited so that it is very easy to track its structure, and the applied changes are seen just there on the storefront.
Note
Do not forget to switch on the Rebuild cache automatically selector in the Development settings section, if you want the modified files to be re-cached and applied changes be seen immediately.
As the example of the Template editor usage let’s consider changing the Add to cart section location at the categories page.
This is what we have:
And this is what we will get:
Questions & Feedback
Have any questions that weren't answered here? Need help with solving a problem in your online store? Want to report a bug in our software? Find out how to contact us.