Shipping Rules for Magento 2

Create custom shipping rules based on a variety of product conditions and shopping cart attributes. Apply additional delivery options surcharge, discount or replace rates according to your business needs.

  • Define procedure based on product, order, or cart attributes
  • Determine custom shipping rates per product or order
  • Specify delivery options based on customer groups or store views
  • Implement conveyance conditions based on customer address information
  • Create an unlimited number of rules
  • Import and Export shipping rules, stores, customer groups, etc.
  • Hyva-ready storefront
  • New! Hyvä Checkout ready
Add to Wish List
Product updates and support for 12 months

Updates and support prolongation - $129

more info

Pick a combo deal with 15% discount:

Save $86.55

Make Shipping Rules in Magento 2 Extremely Flexible

Magento 2 Shipping Rules extension is a simple tool for merchants to create and modify supply rules easily, as the prices provided by carriers often need to be adjusted to fit your business. The module equips store owners with a wide variety of presets and conditions. It enables you to use the selected parameters individually or in custom combinations. Here are the available settings in Magento 2 Shipping Rules extension:

  • Specify delivery options like a carrier and method;
  • Modify rates per individual items or whole orders, e.g. create free shipping rules for specific Magento 2 products or wholesale orders;
  • Choose particular days of the week for the conditions to be applied;
  • Apply an option with coupons from a certain shopping cart rule;
  • Preset a coupon code, and the rule will be applied ONLY with this coupon;
  • Select the priority of logic implementation for goods that fit conditions of several rules.

How to Set Up International Magento 2 Shipping Rules?

You can set an unlimited number of rules with the Magento 2 Custom Shipping module. For this, go to Sales>Shipping Rules. Choose one of the rules, click on the Add Rule button and start. There you can set:

  • Shipping Methods - Choose the Shipping Carriers or Methods and set Rule Priority;
  • Products - enable free shipping on specific Magento 2 virtual products or, vice versa, exclude free delivery of promo items;
  • Rates - specify how to calculate what you will charge for a new conveyance;
  • Conditions - set a logic that will initiate a certain delivery method;
  • Stores & Customer Groups - choose who can use this functionality;
  • Days and Time - set if there are restrictions on specific days or hours;
  • Coupons and discounts - specify what coupons and discounts are compatible with this delivery method.

Surcharge, Deduct or Override Shipping Rates in Magento 2, Provided by Carriers

Customize and override Magento 2 shipping rates flexibly

Sometimes you may need to increase, decrease or override Magento 2 shipping rates preset by carriers. The module provides all the necessary functionality to do that. So using this extension for Magento 2 UPS shipping cost can be altered from $10 to $15 or get down to $2 if you want to create a discount on delivery. Moreover, it is possible to provide full or partial shipment cost replacement for the order, applying a mixed cart calculation strategy.

Use ready-made algorithms to calculate rates

It is possible to modify delivery prices both by flat amount and by a certain percent at the same time. Furthermore, you can select a base amount for the whole order. For example, in certain situations, you can add a $25 surcharge for the whole order and $5 + 10% of the product price for each item. Or no discount for the whole order, however, 5% of product price off delivery for each item.

Advanced Magento 2 Shipping Rules

Establish rules based on order data and address

You can enable specific Magento 2 shipping methods per products. Model delivery prices based on order attributes like subtotal, items in cart or weight. Product attributes such as SKU, brand or color can also be treated as conditions. Moreover, you can choose address options like country, state or ZIP-code to define the delivery specification. For example, you can provide a Magento 2 shipping discount on orders to California with a subtotal greater than $200 that includes any ‘Sony’ product.

Set up various rules for different store views and customer groups

You can customize each store view and customer group. This feature is designed to help you offer custom Magento 2 shipping prices to your premium customers. It's possible to create terms for as many groups as you need. Keep in mind that pricey conveyance is an often reason why clients abandon shopping carts. Adjust delivery options on Magento checkout (especially international shipping) to boost sales!


Save up time and efforts with areas

Efficiently manage shipping by arranging separate destinations into areas. Make each area highly detailed: you can include or exclude particular countries, states, regions, cities, zip codes, etc.

Check a use case: you deliver goods to distant regions and want to add a surcharge to regular conveyance costs. With this Shipping Rules extension for Magento 2, you can create an appropriate area that includes the necessary regions. Then, you'll be able to apply special terms to all these regions at a time via the created distribution area.


Enable customers to ship an order to multiple addresses due to the extension compatibility with Multi Address Checkout.

Choose the solution most suitable for your business needs

Key FeaturesShipping Table RatescreateShipping RulesModifyShipping RestrictionslimitShipping Suiteall-in-one
Create custom shipping methods
Create custom shipping rates
Make method available to specific stores and customer groups
Restrict or hide the existing carriers and methods
Assign shipping rates to specific products and product groups
Surcharge, discount and replace the existing rates
Create complex conditions for extension rules and restrictions
Add free shipping for particular shipping types
Activate or deactivate extension rules by coupon
Create rules based on customer’s data
Country, Region, City, Postcode (including alphanumeric) support
Import an unlimited amount of rates
Advanced Conditions module included
* Can affect only methods the module created

Learn how Amasty Shipping Extensions help to solve real customers' cases

In our Shipping Guide we explain this part of Magento functionality in Amasty modules and discuss real cases from our support experience. Discover how to set maximally cost-effective Magento 2 shipping methods and rates per product, order, address and so on.

According to the statistics, the Magento freight shipping module can cover each business need in synergy with the following solution: Magento 2 Restrict Shipping Country.

Explore how to use Custom Checkout Fields to collect comprehensive order data with regard to a selected shipping method. Additionally, let customers estimate Magento 2 shipping and tax with the Shipping Cost Calculator.


To create a new shipping method in Magento 2, you need to use our other extension - Shipping Table Rates. After you install and configure it, go to Sales > Amasty Shipping Table Rates and click on the Add New button.

magento 2 create shipping method

To add a new shipping carrier to Magento 2, you can use our other extension - Shipping Table Rates. It allows you to create custom shipping methods and use rates from 3-rd party carriers. Or you can create a custom integration via API if it is possible.

magento 2 add shipping carrier

Magento 2 shipping method per product can be specified on the rule creation page with Shipping Rules extension:

  • Go to SalesShipping Rules → click on the Add Rule button;
  • Choose the suitable shipping methods in the Shipping Carriers and Methods field
  • Determine the products to which these shipping methods will be applied in the Conditions section.

The default Magento shipping methods include:

  • Flat rate shipping. With this method, a consistent rate is applied to every order
  • Table rate shipping method. Shipping costs are determined based on the destination, weight, and order value.
  • Free shipping

From Magento Sidebar, go to Stores → Settings → Configuration;

Expand Sales and choose Shipping Settings;

Expand Expansion selector from Shipping Policy Parameters;

Set Apply Custom Shipping Policy to Yes;

Paste or enter your Shipping Policy into the text box;

Click on the Save Config button.

Adobe partner logo
Magento Marketplace logo
See 500+ verified reviews
1 Single points of sales
Trusted by Customers
Are Amasty extensions compatible with all themes and extensions by other vendors?
Amasty extensions work with all plugins we issued and with most 3rd-party plugins. If you come across a Magento 2 compatibility issue with any third-party module, we’ll definitely try to help you. If you face any technical issues, please create a ticket...
Will I get free support and updates?
Product updates for extensions purchased before Feb 1, 2022With the transition to product subscriptions, you will receive product updates for all extensions purchased before Feb 1, 2022 throughout the entire grace period — up to Aug 1, 2022. If you ...
Do you have the installation service?
Yes, you can use installation and configuration services that are available as the part of Pro and Premium add-ons for your product subscriptions.Please note that this installation service doesn’t include uninstallation. So, if you need to completely...
Can I request a free trial?
Amasty doesn’t provide any trials of Magento extensions. There's one exception: Amasty extensions are provided for testing or demo purposes to our official Platinum Partners as a part of the “access to Amasty extensions for testing purposes with Composer...
Can I test an Amasty extension on a staging site before transferring it to a live one?
Yes, you can install any Amasty extension on a test site and configure all the settings there before doing it on your live store.
How can I get a refund?
Amasty offers to its Customers a thirty (30) day money-back guarantee for the Software. In case the acquired extension didn’t meet your expectations, our support team is always ready to help you. Fees for support subscriptions and any services provided...
How can I receive a discount?
We are now working at a loyalty program for our customers that is supposed to bring even greater benefits in the long term. While it’s not out yet, you can look through these Special Offers. New discounts and specials are added every month. To stay ...
How to update a Magento 2 Amasty extension?
To update a Magento 2 extension by manual upload:1. log in to the customer account;2. navigate to the Products tab, scroll to the packages section, and click the Download link next to the extension that should be updated;3. Important: If some extension...
If I need additional features to be added to an Amasty extension, how can I ask for it?
To leave your feature request, log in to your customer account and open the Products tab. Then, scroll down to the bottom of the page, and leave your feature request in the following form: As soon as you send your request, it is considered by our ...
Magento 2 Amasty extensions installation
Each Amasty extension package is provided with the extension files, installation & setup guides, and a license agreement. Some extensions include import files examples as well. So how to install our Magento extension? What is the plugin...
How can I prolong support?
If you have an active support service subscription, it grants you access to support services for all products purchased before Feb,1 as long as your subscription is active. Alternatively, support services are only available as the part of a product ...
Can I change the EE extension to CE for free?
Usually, no, you can’t exchange modules. Please, contact our support managers and they’ll consider your case individually. → Learn more about our special offers
How can I get a discount to re-purchase plugins?
Usually, we don’t provide any discounts. But you can contact us, and we’ll consider your case individually. → Learn more about our special offers
What is the license policy? On how many websites can I use Amasty extensions?
Our license allows you to use a single extension license agreement on one Magento installation.If you run several domains on the same instance of Magento, you can use one extension license. However, if you run each website on a new installation of Magento...
How can I pay for Amasty extensions?
You can pay for our extensions in any convenient for you way as a full range of payment methods are supported. The most common means are credit card or PayPal. Security and fraud protection are guaranteed. If you need to pay for the order with a non...
How to set up UPS in Magento 2?

Configuring United Parcel Service (UPS) Carrier will help you associate any addresses in the domestic event or internation. Must create a UPS Shipping account in Magento 2 firsly before cofiguring the
shipping method.

Customer Reviews

Do you need specific features added so you can achieve your business goals?

Drop us a line and we'll customize this extension for you!

You can always download the recent version free of charge from your account installing an upgrade is easy

See Magento (and other software) versions we support and guarantee their compatibility with our extensions

Version 2.11.0
Last Update: Mar 27, 2024
2.11.0 - Mar 27, 2024
  • New we added the ability to import and export Shipping Rules data (Note: the compatibility is available as a part of an active product subscription or support subscription)
  • Fix we fixed the Order Total calculation when using the 'Surcharge' rate calculation type
Version 2.10.0
Last Update: Mar 19, 2024
2.10.0 - Mar 19, 2024
  • Compatibility compatibility with Hyvä Checkout was added. You can find the 'amasty/module-shipping-rules-hyva-checkout' package for installing in composer suggest (Note: the compatibility is available as a part of an active product subscription or support subscription)
  • Fix the issue with incorrect data in the confirmation popup for deleting Shipping Areas was fixed
  • Fix we solved the Checkout page loading issue
Version 2.9.1
Last Update: Oct 11, 2023
2.9.1 - Oct 11, 2023
  • Improvement we added new Shipping Rules condition based on Subtotal, which includes taxes
  • Improvement we improved the module performance by optimizing and speeding up the loading of shipping rules
  • Fix the issue of applying shipping rules in case of multiple shipments was resolved
2.9.0 - May 25, 2023
  • Compatibility we added the compatibility with Hyvä Theme for Shipping Rules. You can find the 'amasty/module-shipping-rules-hyva' package for installing in composer suggest (Note: the compatibility is available as part of an active product subscription or Support Subscription)
  • Improvement we improved the module performance by adding MySQL indexes for the 'shiprules' table
  • Fix we corrected the Shipping Rules logic and optimized their calculation
  • Fix we fixed the compatibility with Amasty Shipping Restrictions so now the 'source' condition work as it should
Version 2.8.6
Last Update: Mar 28, 2023
2.8.6 - Mar 28, 2023
  • Fix we solved the issue with applying shipping rates for all shipping methods
2.8.5 - Mar 13, 2023
  • Compatibility now the extension is compatible with Magento 2.4.5-p2, 2.4.6
2.8.4 - Jun 29, 2022
  • Fix we solved the problem with the data correct saving in the Coupon Codes and Shopping Cart Rule (discount) fields when a new Shipping rule is created
2.8.3 - Apr 12, 2022
  • Compatibility now the extension is compatible with Magento 2.4.3-p2 and 2.4.4
  • Fix we solved the problem with Discard Subsequent Rules working if the rule does not meet the conditions of the cart
2.8.2 - Nov 09, 2021
  • Fix the module update process for instances containing foreign keys was fixed.
2.8.1 - Nov 05, 2021
  • Fix we fixed the module update process for instances without database table prefix
2.8.0 - Nov 05, 2021
  • Improvement we refactored the logic of applying multiple shipping rules at once. Now, if there are a few rules meeting the conditions, they will work one by one according to their priority
  • Fix we enhanced compatibility with Amasty Extra Fee: now the shipping rule works properly with the extra fee selected
Version 2.7.0
Last Update: Sep 15, 2021
2.7.0 - Sep 15, 2021
  • Improvement we enhanced the joint work of multiple rules with the Partial Replace calculation type applied to one cart
  • Fix we addressed the problem with the incorrect UTM parameters in the link leading from a shipping rule to a user guide
  • Fix we fixed the issue with the free shipping if there are multiple rules with the Partial Replace calculation type applied to the cart
Version 2.6.8
Last Update: Aug 19, 2021
2.6.8 - Aug 19, 2021
  • Fix we solved the problem with Magento MSI: now the shipping prices are updated according to the shipping rules.
  • Fix we addressed the issue of the shipping rule applied to the Free Shipping method.
  • Fix we enhanced the compatibility with the Extra Fee module and solved the problem with duplicated rates from shipping rules.
2.6.7 - Dec 22, 2020
  • Improvement MFTF tests were moved to additional packages particular for Magento 2.3.5+ and Magento 2.4.0+
2.6.6 - Oct 12, 2020
  • Compatibility with Magento 2.3.6 and Magento 2.4.1 was tested and confirmed
2.6.5 - May 28, 2020
  • Improvement the code was enhanced according to Magento standarts
2.6.4 - Dec 13, 2019
  • Improvement MFTF-tests were updated.
2.6.3 - Nov 20, 2019
  • Improvement we implemented a stability enhancement for MFTF tests on Magento 2.3.3
2.6.2 - Sep 02, 2019
  • Fix the issue with applying rules was resolved
2.6.1 - Aug 12, 2019
  • Improvement 3 new MFTF rests for \"Partial replace\" were added
  • Improvement compatibility with Amasty Multi Warehouse extension was added
2.6.0 - Jul 16, 2019
  • New a new calculation type \"Partial Replace\" for the mixed cart shipping calculation was added: now you can specify particular shipping cost for each product in a cart
  • Improvement now the extension is covered by Magento Functional Testing Framework tests
  • Fix the issue with the use of shipping rules for the cart with virtual products was resolved
  • Fix the issue with shipping areas displaying in old Magento Commerce versions was resolved
Version 2.5.1
Last Update: Jun 18, 2019
2.5.1 - Jun 18, 2019
  • Improvement products tab for Replace state was returned
2.5.0 - Jun 14, 2019
  • Improvement extension was covered by unit tests
  • Improvement code was refactored according to Magento Standards
Version 2.4.5
Last Update: May 15, 2019
2.4.5 - May 15, 2019
  • Fix the issue with validation condition \"is not\" for shipping areas was resolved
2.4.4 - Apr 15, 2019
  • Improvement \"?ustom options SKU\" condition option for products was added
  • Improvement WebAPI was added
  • Fix the issue with role permissions was resolved
  • Fix the issue with validation for All Store View option was resolved
2.4.3 - Mar 12, 2019
  • Fix the issue with rule editing on Magento 2.1.x was resolved
2.4.2 - Mar 05, 2019
  • Improvement UI components and new hints and tooltips added were introduced
  • Fix the issue with saving rules for admin with restricted websites scope was fixed
2.4.1 - Feb 27, 2019
  • Improvement UI components in rules grid was enhanced
2.4.0 - Feb 06, 2019
  • New Shipping Areas feature was added. Create your custom Shipping Areas to get more geo flexibility when setting your shipping rules
Version 2.3.1
Last Update: Jan 14, 2019
2.3.1 - Jan 14, 2019
  • Fix the issue with configurable validation for fedex and usp shipping methods was fixed
  • Fix the issue with min/max total rate limit action was resolved
2.3.0 - Dec 26, 2018
  • Improvement minor adjustments.
Version 2.2.5
Last Update: Nov 19, 2018
2.2.5 - Nov 19, 2018
  • Fix the issue with subtotal calculation for restricted rule was resolved
2.2.4 - Sep 27, 2018
  • Fix the issue with upgrading extension was fixed
2.2.3 - Sep 24, 2018
  • Improvement the ability to use several coupon codes for the cart price rules was added
  • Improvement the usability for the shipments restrictions was enhanced
2.2.2 - Aug 29, 2018
  • Fix the issue with multi-currency conversion was resolved
2.2.1 - Jul 07, 2018
  • Fix the issue with loading checkout page was resolved
2.2.0 - Jun 14, 2018
  • New now, the extension incorporates the Advanced Conditions
Version 2.1.1
Last Update: Jun 05, 2018
2.1.1 - Jun 05, 2018
  • New Information section is added. Now you can see the version of installed extension, available updates, User Guide link, conflicts and other useful data right on the module Configuration page
2.1.0 - May 14, 2018
  • Fix the issue with Category selector in rules configuration was fixed.
  • Localization updated.
Version 2.0.7
Last Update: Apr 20, 2018
2.0.7 - Apr 20, 2018
  • Fixed Minimal Total Rate setting behavior with Magento Table Rates shipping method
  • Improved compatibility with Amasty Gift Card extension
2.0.6 - Mar 28, 2018
  • Stability improvements
2.0.5 - Mar 23, 2018
  • Fixed an issue with Max and Min Rate application
2.0.4 - Mar 14, 2018
  • Fixed an issue with orders-related conditions
2.0.3 - Feb 08, 2018
  • Magento 2.2.2 compatibility improved
  • Amasty Gift Card compatibility improved
  • Minor fix for rule application on specific products
2.0.2 - Dec 01, 2017
  • The issue when multiple rules were not applied at the same time was fixed.
  • The missing advanced conditions were fixed.
2.0.1 - Nov 23, 2017
  • Improved Magento 2.2 compatibility and migration from older versions
2.0.0 - Nov 16, 2017
  • New Subtotal condition can be set up to include Tax and Discounts
  • Extension architecture changes
  • New rules activation can be restricted by day of the week and time of day
  • New Customer attributes and Purchase History can now be used in Conditions
  • New rules can now be activated or disabled when coupon code from particular promotion rule is used
Version 1.1.3
Last Update: Oct 05, 2017
1.1.3 - Oct 05, 2017
  • Magento 2.2 compatibility improved
1.1.2 - Aug 30, 2017
  • Magento 2.2 compatibility introduced
1.1.1 - Sep 28, 2016
  • Backorder condition added
  • Code is organized according to the new Magento standards
1.1.0 - Aug 01, 2016
  • New setting if to apply rules to backorders
Version 1.0.1
Last Update: Jul 06, 2016
1.0.1 - Jul 06, 2016
  • Fixed merge of .css files

Ratings & Reviews

96% of 100