For more details see the Shipping Rules for Magento 2 extension page.
Achieve your goals by managing shipping conditions according to your demands.
Shipping Rules are set up in Sales > Shipping Rules > Add Rule button.
Use conditions, based on customer/cart attributes or advanced conditions, to create specific rules that meet your requirements.
Please note that if nothing is specified in Stores and Customer Groups conditions, the rule will be applied to all stores and customer groups accordingly.
Complete three easy steps to offer free shipping for certain categories of products in the store while all other items save their regular shipping rates.
Step 1. Create a shipping rule (go to Sales > Shipping Rules > Add Rule button). Define single products or product categories, for which free shipping should be offered, on the Products tab.
Step 2. Set the fixed rate per specified products (the value should be 0$) on the Rates tab to offer free shipping.
Step 3. Select shipping methods to be recalculated. You can select a carrier in the Shipping Carriers field to choose all the available methods of this carrier for one click.
Please review the information below to figure out why the rule you've set up doesn't work or works incorrectly.
One of the most common reasons, that shipping rules either don’t work properly or don’t work at all, is incorrectly set conditions.
The problem may arise because Magento will search for a product with the specified single SKU (in our example the SKU is “23rf,29rt,300ds”) in the cart, not any of the products with the SKUs from the list: 23rf, 29rt or 300ds. If you’ve meant the second requirement (one of the products from the list), you should configure the rule in the way presented below.
Now let’s check how the rule presented above works: when the cart contains 3 or more products with SKUs 23rf, 29rt or 300ds, the shipping rates will be replaced with $0 only for products with the mentioned SKUs. Shipping rates of products with other SKUs in the cart won’t be changed when the rule activates.
To avoid undesirable results, make sure there are no active rules that shouldn't be applied. Let’s check the situation: you have several shipping rules and all of them are set as active. Rule 1 has the highest priority, Rule 2 has lower priority and Rule 3 has the lowest one. That’s how it will work when the cart contents meet all active shipping rules conditions:
Use Conditions tab to restrict the cases of the rule application.
Find out how to install the Shipping Rules for Magento 2 via Composer.