ShoppingCart

 

The ShoppingCart store block enables you to set the design used for displaying the contents of the shopping cart.

By modifying the templates you can match the look of the Shopping Cart to your design requirements. All templates of the ShoppingCart block are stored in the folder avactis-templates/catalog/shopping-cart/default/.

The ShoppingCart block consists of three types of templates: a container, an empty container and common-item templates.

The container template (shopping-cart-container.tpl.html) is required to define the design of the overall ShoppingCart block. For example, you can define border width and border color of the block, place a block title in its upper section, etc.
The empty template (shopping-cart-container-empty.tpl.html) is the default block used when the shopping cart contains no items. You can specify an appropriate text, for instance, "There are no items in your shopping cart".
A common item template (shopping-cart-item-general.tpl.html) is used to define the design of a a group of common items in a block. There can be several such templates: for each type of product you can define a template used to display it.

The figure below shows the outline of templates of the ShoppingCart block provided with Avactis Shopping Cart by default.

 

 


  © 2004-2008 Pentasoft Corp. All Rights Reserved.