TransWikia.com

Magento2: How to redirect minicart on checkout cart page?

Magento Asked by Ravi Soni on November 25, 2021

How can I redirect on checkout cart page once I click on Minicart instead of toggle.

enter image description here

3 Answers

on Magento ver. 2.3.4, that option is placed in:

Admin -> Stores -> Configuration -> Sales -> Checkout -> Mini Cart (tab) -> Display Mini Cart : No

It is related to that function - getIsNeedToDisplaySideBar(), part of that file module-checkoutviewfrontendtemplatescartminicart.phtml

And your minicart should redirect to -> getShoppingCartUrl()

Hope it helps for people with newer versions.

Answered by Ventsislav Panov on November 25, 2021

You can follow below path in admin and set "Display Shopping Cart Sidebar" : "No"

Admin >> Stores >> Settings >> Configuration >> Sales >> Checkout >> Shopping Cart Sidebar >> Display Shopping Cart Sidebar: No


Let me know if any issue.

Hope it help!

Answered by Kirti Nariya on November 25, 2021

This functionality is already available in Magento 2. Please set to "No" on Admin-> Stores-> Configuration-> Sales-> Checkout-> Shopping Cart Sidebar-> Display Shopping Cart Sidebar.

Answered by Kishor Thummar on November 25, 2021

Add your own answers!

Ask a Question

Get help from others!

© 2024 TransWikia.com. All rights reserved. Sites we Love: PCI Database, UKBizDB, Menu Kuliner, Sharing RPP