SoftSlate Commerce
Home » Documentation » HTML Documentation

Custom and Default JSP Templates

The JSP templates that come with the application are all located in the /WEB-INF/layouts/default-html5 directory (for versions between 2.3 and 3.3.2 it's the /WEB-INF/layouts/default-xhtml directory and for versions prior to 2.3, it's the /WEB-INF/layouts/default directory). Inside there, they are organized into subdirectories representing the major functional areas of your store: core , product, order, customer, and payment .

Custom templates that you create will go in the /WEB-INF/layouts/custom directory, which contains the same five subdirectories. If a JSP template exists in the custom directory, the store will automatically detect and use it in place of the corresponding template under the default directory. This system allows you to create custom templates for just those areas of the store you need to modify, while other areas can be left untouched so that they use the default templates.

It's important not to modify the templates in the /WEB-INF/layouts/default-html5 directory. These files may be overridden when you install a future upgrade of SoftSlate Commerce. Instead, please place a copy of the template you wish to change into the corresponding subdirectory under /WEB-INF/layouts/custom. The store will automatically detect the new file and begin using it immediately. You can then feel free to make whatever changes you wish to the copied file.

[Important]Important

Do not modify the templates in the /WEB-INF/layouts/default-html5 directory. They may be overridden with future upgrades of SoftSlate Commerce. Instead, copy the template you wish to change into the corresponding subdirectory under /WEB-INF/layouts/custom.

Copyright © 2009-2017 SoftSlate, LLC. All Rights Reserved.

Powered by SoftSlate Commerce

Foraker Design