Web Analytics

Fill the form & Get Installation Support





    I’m using Smartwave Porto theme for my Magento 2 website. When I load my website for the first time it’s loading properly, but every time I refresh the browser page it will show an error like this in browser console and my page does not load properly:

    I just do below changes :

    Create a requirejs-config.js in the root of the child theme (you can also do this on root theme if you have not created a child theme) as per Porto child like this:

    app/design/frontend/Smartwave/porto_child and add the following code in it:

    And also change child theme layout file at:

    app/design/frontend/Smartwave/porto_child/Magento_Theme/layout/default_head_blocks.xml

    From:

    To:

    I don’t need the fancybox, So I have turned it off, but if you require it, I guess it should be included in the requirejs as well. If you face the same issue, follow the above steps to solve it.

    Are you having any query with your Magento store?
    Fill the form below to hire Magento expert(s).
    Fill the below form if you have any Magento programming need.





      Recent Articles

      Author Info

      Hire B. Darji

      Get a Free Quote





        Let our Magento expert connect to discuss your requirement.


          We offer Magento
          certified developers.

          Our Magento clientele
          is 500+.

          We sign NDA for the
          security of your projects.

          We’ve performed 100+
          Magento migration projects.

          Free quotation
          on your project.

          Three months warranty on
          code developed by us.