View
 

How to show a cart total in a minicart

Page history last edited by Eugene 1 year, 7 months ago

1. Enable the "Mini" or "Mini attached to a product browser" mode of your mini-cart: kb.ecwid.com/Minicart#Miniview

 

2. These mini-cart views show a cart total when a customer hovers over the "My cart" link. In order to always show a total, apply this custom CSS code: 

 

div.ecwid-minicart-mini-rolloverContainer {
   display: block;
}

 

In order to make this code work properly, make sure that the "Hide bag if empty" option is disabled. You can check it on the "System Settings ā†’ General → Cart" page.