CubeCartForums.org Documentation Area

CubeCartForums.org for CubeCart third-party documentation, modifications, skins and services
Permanent Link   Print This Page
Introduction CubeCart v3 CubeCart v4 CubeCart v5 Appendix Search

CubeCart Version 3 Documentation - Moving, Adding or Deleting Side Boxes

Google Translate:

Moving, Adding or Deleting Side Boxes

Moving, deleting and adding side boxes is easy to do, all you need is a text editor.

Using Windows Explorer, find the following directory:

/skins/SKIN_NAME/styleTemplates/global/

It will contain the two global template files, 'index.tpl' and 'cart.tpl'.

Main site template, 'index.tpl'

To change the main site template side boxes, you will need to edit 'index.tpl'. Using a text editor, open the file and you will see some HTML and a number of text items looking like this: '{CATEGORIES}' and '{RANDOM_PROD}' etc. These are the items that call the side boxes, and they can be moved around, removed, or added to anywhere in this template file. A full list is below:

{SEARCH_FORM} The search box.
{SESSION} The login/logout/accounts box area.
{CATEGORIES} The categories menu.
{RANDOM_PROD} The featured products box.
{INFORMATION} Store information, which includes the number of categories and products in the store.
{CURRENCY} The currency dropdown menu.
{LANGUAGE} The language dropdown menu.
{SHOPPING_CART} The shopping cart contents box.
{POPULAR_PRODUCTS} The popular products box.
{SALE_ITEMS} The sales items box.
{MAIL_LIST} The mailing list box.
{SITE_DOCS} The site documents.

IMPORTANT: The item {PAGE_CONTENT} refers to the main content of the page not a side box. Without this, the page will not be usable as no content will appear.

Cart template, 'cart.tpl'

To change the cart template side boxes, you will need to edit 'cart.tpl'. Using a text editor, open the file and you will see some HTML and a number of text items looking like this: '{CART_NAVI}' and '{SITE_DOCS}' etc. These are the items that call the side boxes, and they can be moved around, removed, or added to anywhere in this template file. A full list is below:

{SEARCH_FORM} The search box.
{SESSION} The login/logout/accounts box area.
{CART_NAVI} The cart menu.
{SITE_DOCS} The site documents.

IMPORTANT: The item {PAGE_CONTENT} refers to the main content of the page not a side box. Without this, the page will not be usable as no content will appear.






Comments, Feedback, Suggestions and Documentation Submissions please post in the Documentation Chat Forum.