Cart header
The cart header is what shoppers see before they open the cart: an icon with a count, a title and a summary line.
Icon and item count
- Show cart's icon (on by default) shows the cart icon.
- Cart's icon picks it:
fa-shopping-bag(default),fa-shopping-basket,fa-shopping-cart,fa-opencart,fa-cart-arrow-downorfa-cart-plus. These are Font Awesome 4 icons, loaded by the module.
A small round badge on the icon shows the number of items in the cart. It shows even when the icon is turned off. Its colours are Cart Count Background and Cart Count on the Designer tab.
Title and summary
- Show cart's title (on by default) shows the heading "Shopping Cart" in capitals.
- Show cart's summary (on by default) shows the number of items and the total, for example "2 item(s) - 45,00 €", or "Empty" when the cart is empty. The total is the bill total from VirtueMart, in the shop currency. The summary is not shown with the Plain List template.
The summary ends with a small arrow that shows the list can open.
Change the texts
The texts come from the module's language file. To change them, go to System > Manage > Language Overrides, choose your site language and create an override for one of these keys:
| Key | Text |
|---|---|
MOD_JB_DROPDOWN_CART_HEADER |
Shopping Cart |
MOD_JB_DROPDOWN_CART_SUMMARY_ITEMS |
item(s) |
MOD_JB_DROPDOWN_CART_SUMMARY_EMPTY |
Empty |
MOD_JB_DROPDOWN_CART_EMPTY |
You have no items in your shopping cart. |
MOD_JB_DROPDOWN_CART_TOTAL |
Total: |
MOD_JB_DROPDOWN_CART_EMPTY_CART |
Empty Cart |
MOD_JB_DROPDOWN_CART_SHOW_CART |
Show Cart |