0

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

enter image description here

2
  • specify your requirement in detail. Commented Nov 22, 2018 at 13:49
  • Is there any solution?
    – Devidas
    Commented Sep 6, 2019 at 10:57

3 Answers 3

2

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.

2

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!

1

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-checkout\view\frontend\templates\cart\minicart.phtml

And your minicart should redirect to -> getShoppingCartUrl()

Hope it helps for people with newer versions.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.