Shipping Restrictions Extension
Description / Shipping Restrictions Extension
Rule-Based Shipping Method Control for Magento Checkout
Shipping Restrictions lets you define exactly which shipping methods appear — or are blocked — based on any combination of cart attributes, destination, customer group, day of week, time of day, and coupon usage. Build the rules you need from the admin interface without any code changes.
Rules use a familiar condition builder (Amasty-style) that supports cart-level attributes (total, weight, item count), product subselection (restrict if any product in cart matches), destination (country, state/region, postcode range), and customer group. Each rule maps to one or more specific carriers or carrier::method pairs.
- Restrict by state/province, country, or postcode (e.g. block Alaska and Hawaii)
- Cart conditions: subtotal, weight, item count, product attribute subselection
- Customer group scoping (guest, retail, wholesale, custom groups)
- Day-of-week and time-window scheduling per rule
- Restrict specific carriers, method titles, or carrier::method patterns
- Custom error messages with
{all-products}and{last-product}placeholders
Coupon Logic & React Checkout Pro Integration
Shipping restrictions can be tied to coupon usage — enable or disable specific shipping methods when a coupon code is applied or not applied to the cart. This is useful for promotional scenarios where free shipping should only appear when a valid discount code is active.
Restrictions integrate with the standard Magento shipping rate collection pipeline and work natively with React Checkout Pro, ensuring rule enforcement is consistent whether customers use the default Magento checkout or the faster headless checkout experience.
- Coupon-conditional rules: enable/disable method when coupon applied or absent
- Store-view scoping for multi-store and multi-region setups
- Admin-area scoping — restrict ordering methods in admin-placed orders independently
- Works with native Magento checkout and React Checkout Pro
- Dynamic placeholder messages show which product triggered the restriction
Requirements
- Magento 2.4.4+ · PHP 8.1+
- Composer:
toweringmedia/module-shipping-restrictions:^1.0