Magento Commerce, 2.2.x
My Cart Link

The cart link in the upper-right corner of the header gives a quick summary of the contents of the cart. The link can be configured to display the number of different products (or SKUs) in the cart, or the total quantity of all items. If the Shopping Cart Sidebar is enabled, you can click the link to display more detail.

Cart Link

To configure the cart link:

1. On the Admin sidebar, tap Stores. Then under Settings, choose Configuration.
2. In the panel on the left under Sales, choose Checkout.
3. Expand the My Cart Link section.
4. Set Display Cart Summary to one of the following:
  • Display item quantities
  • Display number of items (different products) in cart.
5. When complete, tap Save Config.