Remove Other Shipping if Free Shipping Available in Magento

In this tutorial, I will explain how to remove other shipping methods if free shipping method is available in your Magento store.

Remove other shipping if free shipping available in magento

If you want the Free shipping option on the basis of cart total amount like If customer cart total amount is greater than 100 USD, then Free shipping will available, then use the below code in the same file as mention above.

Copy the below code and paste it inside the app/design/frontend/default/your-theme/template/checkout/onepage/shipping_method/available.phtml file. It will remove the other shipping methods if free shipping method is available.

Liked this tutorial? Do Like & share with your friends 🙂

If you like FreeWebMentor and you would like to contribute, you can write an article and mail your article to [email protected] Your article will appear on the FreeWebMentor main page and help other developers.

Recommended Posts:

Article Tags: , , , , ,