Magento’s built-in free shipping method only checks a minimum order amount (or a cart price rule). Many merchants want to offer free shipping only for certain products, for example items marked as “free delivery”, or want shoppers to see only the free option once it applies. This module adds both to the existing free shipping method.
Features
- Free shipping can depend on product attributes: define one or more conditions, each made of a product attribute and a value.
- Per condition you choose whether all products in the cart must have the value, or whether one product with the value is enough (“Any”).
- All conditions must be met, in addition to the minimum order amount of the free shipping method.
- Free shipping granted by a cart price rule still works as before.
- Option to hide all other delivery methods as soon as free shipping is available, so shoppers are not offered paid options.
Configuration
Go to Stores > Configuration > Sales > Delivery Methods > Free Shipping. The module adds:
- “Check Product Attributes”: switch on the attribute check.
- “Product Attributes”: a table where each row has a “Product Attribute”, a “Value” and “Any”.
- “Disable other delivery methods”: show only free shipping when it is available.
Leave “Check Product Attributes” at “No” to keep the standard behavior of the method.
Good to know
The minimum order amount (“Minimum Order Amount”) of the free shipping method also applies when the attribute check is active. Set it to 0 if only the product attributes should decide.
Installation
Install the module with Composer in your Magento root directory:
composer require infrangible/m2-free-shippingThen enable it and update the store as described in the installation guide. Composer installs the required modules listed on this page automatically.