free
web stats

Fill the form & Get Installation Support

Connect With Us





captcha

Connect With Us





captcha

How to show minicart in custom popup in magento2?

By using below codes, you can display a mini cart in the custom popup, and you can also set your popup design as per your requirement.

Step 1:  create default.xml file inside,

app\code\Magemonkeys\PopupCart\view\frontend\layout folder and add the below code:

Step 2: Next step should be about creating custompopupcart.phtml file inside app\code\Magemonkeys\PopupCart\view\frontend\templates folder and add the below code:

Step 3:  The final step is to refresh the Cache.

Was this article helpful?
YesNo
Fill the below form if you have any Magento programming need.




captcha