The Cart Sidebar is often called the mini cart and displays a summary of the items in the cart. It is enabled by default and appears when you click the number of items in the Cart Link.
Shopping cart sidebar
Configure the mini cart
On the Admin sidebar, go to Stores > Settings > Configuration.
In the left panel, expand Sales and choose Checkout.
Expand the Shopping Cart Sidebar section.
If the setting is for a specific store view, choose the store view where the configuration applies.
When prompted, click OK to continue.
Set Display Shopping Cart Sidebar to one of the following:
Yes Displays the shopping cart sidebar from store pages. The appearance of the sidebar depends upon the theme. No Disables display of the shopping cart sidebar from store pages.
If the display is enabled, update the other options to configure the display:
- For Number of Items to Display Scrollbar, enter the number of items that can appear in the sidebar before the scrollbar is triggered.
- For Maximum Display Recently Added Item(s), enter the maximum number of recently added items that you want to appear in the mini cart.
Click Save Config.