Web Analytics

Fill the form & Get Installation Support

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.

Fill the below form if you have any Magento programming need.

    Recent Articles

    Author Info

    Author Image

    Magento Certified Developer

    Hire J. Lakum

    Get a Free Quote

      /* second popup */

      Connect With Us