cancel
Showing results for 
Search instead for 
Did you mean: 

Add module to shopping card popup window

Add module to shopping card popup window

Hello dear Community,

 

I want to customize the shopping cart dropdown view.

 

 

I want to add an additional functionality in this little dropdown window:

- Several static things (hyperlinks)

- Login/Logout and Account Section (only hyperlinks, no login form)

 

I just found out that the template I have to modify for the static things is located at

<Theme>/Magento_Checkout/templates/cart/minicard.phtml

 

Currently it looks like this:

 

"Sign in" is a static hyperlink for the moment. But this doesn't make sense if the customer logs in and it still says "Sign In".

 

I found out that the customer_account module will give me the functionality for the login/logout, but I'm not sure how to add this module to the shopping cart dropdown..


I guess I have to customize the shopping cart layout therefore.. but I'm not sure what I have to do. I just read the documentation of the frontend development but the changes I tried didn't worked for me.

 

I would be glad if you could give me some help and tips how I can make it work.

3 REPLIES 3

Re: Add module to shopping card popup window

What design theme are you trying to modify?

Re: Add module to shopping card popup window

Porto Theme

 

But I think it's a general question that is not depending no the porto theme cuz I want to use the standard magento modules.

Re: Add module to shopping card popup window

See how is the mini-cart rendered: https://mage2.pro/t/905