Introduction
Shipping restrictions in Magento 2 allow store owners to control where and how products are shipped based on location, weight, payment method, and other factors. Properly configuring shipping restrictions helps reduce cart abandonment, improve customer experience, and prevent logistical issues.
In this guide, we’ll explore different types of Magento 2 shipping restrictions, how to set them up, and the best practices for optimizing your shipping strategy.
Why Use Shipping Restrictions in Magento 2?
Shipping restrictions help eCommerce businesses:
✔ Limit shipping to specific countries or regions
✔ Exclude certain products from shipping to restricted locations
✔ Set weight-based or price-based shipping rules
✔ Prevent fraud by restricting high-risk locations
✔ Reduce shipping costs by avoiding unprofitable zones
Types of Shipping Restrictions in Magento 2
1. Country & Region-Based Restrictions
Magento 2 allows you to restrict shipping to specific countries or regions. This is useful if you:
- Only ship domestically
- Avoid high-tax or high-fraud regions
- Comply with export regulations
How to Configure:
- Go to Stores → Configuration → Sales → Shipping Settings
- Under Shipping Origin, set your country.
- Navigate to Shipping Methods and choose a carrier (e.g., Flat Rate, Free Shipping).
- Under Ship to Applicable Countries, select Specific Countries and choose allowed destinations.
2. Weight & Dimension Restrictions
Some carriers impose weight limits. You can set restrictions to prevent orders from exceeding these limits.
How to Configure:
- Go to Stores → Configuration → Sales → Shipping Methods
- Select a shipping method (e.g., Table Rates).
- Set Maximum Package Weight and Dimensions.
3. Payment Method-Based Restrictions
Certain payment methods (e.g., Cash on Delivery) may only be available for specific shipping zones.
How to Configure:
- Go to Stores → Configuration → Sales → Payment Methods
- Select a payment method (e.g., COD).
- Under Payment from Applicable Countries, restrict it to allowed regions.
4. Product-Specific Shipping Restrictions
Some products (e.g., hazardous materials) may have shipping limitations.
How to Configure:
- Edit a product in Catalog → Products.
- Under Shipping, set:
- Maximum Qty Allowed in Shopping Cart
- Shipment Type (Separately or Together)
- Country of Manufacture Restrictions
Advanced Shipping Restrictions with Extensions
For more granular control, consider Magento 2 extensions like:
- Shipping Restrictions Pro (by Amasty)
- MatrixRate Shipping (by Webkul)
- Conditional Shipping & Payments (by Aheadworks)
These tools allow:
✅ Zip/Postal-Code-Based Restrictions
✅ Customer Group-Based Shipping Rules
✅ Real-Time Carrier-Specific Restrictions
Best Practices for Magento 2 Shipping Restrictions
- Communicate restrictions on product pages and the checkout.
- Use geo-IP detection to auto-display available shipping options.
- Test restrictions with different customer locations before going live.
- Monitor abandoned carts to adjust restrictions if needed.
Conclusion
Configuring Magento 2 shipping restrictions properly ensures smooth order fulfillment, reduces fraud, and improves customer satisfaction. You can create a flexible shipping strategy tailored to your business needs by leveraging built-in settings and third-party extensions.




