Web Analytics

Fill the form & Get Installation Support

Magento 2: Creating and Calling Custom Popup using Modal

Here we are discussing how to create and call custom popup using Magento 2’s Popup Modal Library.

You should create a module first, then after create a requirejs-config.js file at app/code/CustomVendor/CustomModule/view/frontend/

You need to create customfile.js at app/code/CustomVendor/CustomModule/view/frontend/web/js/

Add following code in your phtml file:


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

    Recent Articles

    Author Info

    Author Image

    Magento Certified Developer

    Hire V. Brahmbhatt

    Get a Free Quote

      /* second popup */

      Connect With Us