The mini cart displays a summary of items in the cart. It is enabled by default, and appears when you click the Cart link at the top of the page.
Configure the mini cart
On the Admin sidebar, go to Stores > Settings > Configuration.
In the left panel, expand Sales and choose Checkout.
Expand the Mini Cart 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 Mini Cart to one of the following:
Yes Displays the mini cart on store pages. The appearance of the sidebar depends upon the theme. No Disables the display of the mini cart on 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.