Home - Design and Layout - Design changes
Design changes
Visual representation is generated by template files. All operational SP-Cart Smarty templates are located in the skins directory (NOT in the var/skins_repository directory, where backup copies of templates are stored) of the SP-Cart installation. The directories of the installed color schemes, i.e. "basic", "default_blue", "aquarelle_red", etc. are placed in this directory.
All color schemes contain the directories customer and mail. The files of the customer directory are responsible for the storefront display, whereas the email directory has e-mail templates in it. In addition to these two directories, the basic skin has one more directory (the admin directory), which is responsible for the administration panel.
Templates related to the storefront are located in the skins/SKIN_NAME/customer directory, where CUSTOMER_SKIN_NAME is the name of the currently active template.
Storefront skin directory: SPCART_DIRECTORY/skins/SKIN_NAME/customer/
Storefront CSS files: SPCART_DIRECTORY/skins/SKIN_NAME/customer/styles.css
SPCART_DIRECTORY/skins/SKIN_NAME/customer/styles.base.css
|
The file styles.base.css describes the styles of input and text areas, buttons, side boxes, tabs, etc. Thus, it is responsible for structural elemens of the storefront.
|
| |
|
A separate directory is created under the skins one for each installed skin, so design changes in one skin do not affect the look and feel of other skins.
|
| |
Storefront basic template file: SPCART_DIRECTORY/skins/SKIN_NAME/customer/main.tpl
E-mail template directory: SPCART_DIRECTORY/skins/SKIN_NAME/mail/
E-mail invoice template: SPCART_DIRECTORY/skins/SKIN_NAME/mail/orders/invoice.tpl