Designer and Advanced tabs
Designer tab
The Designer tab sets the colours of the cart. Each field is a colour picker.
| Option | Default | What it colours |
|---|---|---|
| Header Title | #333333 | The "Shopping Cart" heading and the cart icon. |
| Summary | #333333 | The summary line and its arrow. |
| Cart Count Background | #e86f9d | The round badge with the item count. |
| Cart Count | #ffffff | The number in the badge. |
| Name | #242424 | Product names in the list. |
| Name Hover | #0088cc | Product names under the mouse. |
| Quantity | #333333 | The quantity in front of the price. |
| Price | #e86f9d | The unit price of each product. |
| Total Price | #333333 | The total line. |
| Button Text | #ffffff | The text of the Empty Cart and Show Cart buttons. |
| Button background | #0088cc | The background and border of these buttons. |
| Button Background Hover | #e86f9d | The same under the mouse. |
| List Background | #ffffff | The background of the product list. |
| Icon Button | #0088cc | The update and delete icons. |
| Icon Hover | #3d8ab3 | The delete icon under the mouse. |
The colours apply to every JB Advanced Cart module on the page.
Advanced tab
| Option | Default | What it does |
|---|---|---|
| Layout | Default | Picks a template override of the module, if your template has one. See Template override. |
| Module Class Suffix | (empty) | No effect in 5.1.0. |
| Caching | Use Global | Set this to No caching. |
| Cache Time | 900 | Not used with No caching. |
Always set Caching to No caching. The cart is different for every shopper. When Joomla's cache is on in System > Global Configuration and the module uses it, all shoppers can see the same cached cart.
Joomla adds its own fields to this tab, such as Module Style and Header Tag. They work as for any module.
Template override
To change the HTML of the cart, copy modules/mod_jb_vm_advanced_cart/tmpl/default.php to templates/<your template>/html/mod_jb_vm_advanced_cart/default.php and edit the copy. In System > Site Templates you can also use Create Overrides > Modules > mod_jb_vm_advanced_cart. Keep the hidden fields at the end of the form and the onclick calls on the buttons, because the cart scripts need them.