Remove Other Shipping if Free Shipping Available in Magento

Prem Tiwari - - Code Snippets

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 🙂

Prem Tiwari

Prem Tiwari is the founder of and also a professional developer and a blogger by hobby.

Tags: , , , , ,

Leave a Reply

Your email address will not be published. Required fields are marked *

This site uses Akismet to reduce spam. Learn how your comment data is processed.