Web Analytics

Fill the form & Get Installation Support

Any Question or Concerns?
Let's discuss

    How to set phtml file through html via Ajax call in Magento 2?

    Sometime we need to set html data without load or set it via ajax.

    Then create a module name : Magemonkey:Ajaxcall

    create index.phtml in Magemonkey/Ajaxcall/view/frontend/templates/

    Create js file Magemonkey/Ajaxcall/view/frontend/web/js/

    Create Index.php file in Magemonkey/Ajaxcall/Controller/Index/

    That’s it.

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

      Recent Articles

      Author Info

      Author Image

      Magento 2 Developer

      Hire P. Garchar

      Get a Free Quote

        Connect With Us