Web Analytics

Fill the form & Get Installation Support

Hides any other shipping methods if free shipping is available in Magento 2

Add module.xml file in app/code/Magemonkeys/ShippingHide/etc and copy the following code in it:

Add registration.php in app/code/Magemonkeys/ShippingHide and copy the following code in it:

Add Uninstall.php file in app/code/Magemonkeys/ShippingHide/Setup and copy the following code in it:

Add config.xml file in app/code/Magemonkeys/ShippingHide/etc and copy the following code in it:

Add di.xml file in app/code/Magemonkeys/ShippingHide/etc and copy the following code in it:

Add system.xml file in app/code/Magemonkeys/ShippingHide/etc/adminhtml and copy the following code in it:

Add Data.php file in app/code/Magemonkeys/ShippingHide/Helper and copy the following code in it:

Add Result.php file in app/code/Magemonkeys/ShippingHide/Plugin/Shipping/Model/Rate and copy the following code in it:

Run CLI Commands

Result

No method of free shipping

There is a method of free shipping

 

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