Posted on

Magento 2 minicart icon as link to shoping cart

I’m working in Magento 2.3.5 – p1.

I have the minicart in the sidebar, when a product is added the minicart opens for a few seconds and then closes automatically. When the minicart icon is clicked, the minicart opens in the sidebar.

I need that when the minicart icon is clicked, it redirects to the shopping cart page, while when a product is added the current behavior is maintained, but I don’t know how to do this.

Can someone guide me? Thanks in advance.

Leave a Reply

Your email address will not be published.