- In Magento 2, navigate to Sales > Shipping Restrictions and click on Add Rule to restrict shipping by location.
- Enter a restriction name and choose all the delivery methods you wish to block.
- Then, in the Conditions section, insert a restriction message and select the shipping areas option.
- Set any more sections as needed, then save the rule.
Magento 2 Shipping Restriction
- for Magento 2.4.x (CE, EE)
Shipping Restrictions for Magento 2 allows you to restrict unnecessary shipping methods rather than restricting all available shipping methods.
Shipping Restrictions for Magento 2 allows you to restrict unnecessary shipping methods rather than restricting all available shipping methods.
User Guide
Our Shipping & Return Extension simplifies order management and enhances customer satisfaction. With this module, store owners can easily manage shipping rules, track orders, and handle return requests seamlessly. Admins can configure shipping methods, define return policies, and monitor all return requests from a single dashboard.The extension eliminates the need for manual updates or separate spreadsheets for returns and shipping. Instead, admins can quickly process returns, update order statuses, and maintain accurate records — ensuring smooth operations and happy customers every time.With this solution, managing shipping and returns becomes effortless, giving your store more efficiency and your customers a better post-purchase experience.
Features
- Limit shipping methods.
- Limit shipping by customer’s shipping data.
- Limit shipping based on cart attributes and order information.
- Enable / disable the extension module.
- Restrict shipping for specific postal code, place, or country.
- Set shipping rules for limited product quantity, cart total, etc.
- Limit shipping according to customer groups.
- Limit shipping for specific product categories.
- Bring forth the best delivery options for selected location customers.
Steps:
Extension Installation
- Download the zip file
- Extract and put it into /app/code/
- Open Cli in the Magento directory and follow the below commands:
- php bin/magento s:up
- php bin/magento s:d:c
- php bin/magento s:s:d -f
- php bin/magento i:rei
- php bin/magento c:f
- php bin/magento cron:install
- php bin/magento cron:run
How to configure?
Configuration login to the Magento Admin: Stores > Configuration > VDC STORE > Shipping Restriction > General Option > Enable Extension.

General Configuration
- Restriction Rule Name:
- Provide the name of a restriction rule that will be displayed in the admin area. It will be visible on the grid.

- Restriction Status:
- Set the status to active if you want the rule to be active.
- Store View:
- Select which stores are applicable for this rule. To import the rule to any store, leave the field empty or pick All. This feature is extremely handy for global scale businesses that have multiple online stores.
- Customer Groups:
- Select the customer groups applicable for the rule. For example, you can limit wholesalers’ access to the Magento 2 free shipping method. To apply the rule to all groups, leave the field empty or pick All.
- Shipping Carriers and Methods:
- Indicate a list of shipping carriers to be blocked. When a shipping carrier is chosen, all of its shipping methods are immediately prohibited. Furthermore, the module allows you to restrict only the carrier’s superfluous delivery methods rather than restricting all of them.
- Priority:
- Assign a priority based on your needs.
Restriction Conditions

- By default, the rule will show the selected shipping method only if the conditions are met.
- If you select a customer group but do not configure any shipping method or condition, the rule will not restrict any shipping methods. All available methods will remain visible for that customer group.
- Select Dates
- You may set the date for rules on the chosen tab.




- The grid displays all the restriction rules, including rule ID, status, name, shipping carriers and methods, customer groups, and store views in one location.
- You can easily control all the shipping restriction rules that you’ve added directly from the grid.
- You can edit rules from the Action column. You can also select multiple rules at once and choose an action from the Actions dropdown menu to delete, disable, or activate the rules together.
Restriction Conditions


How It Works?
You must select the customer group also.
- Example 1: Show Free Shipping if Subtotal ≥ $500
- Goal: Free Shipping should appear only when customers spend $500 or more.
- Configuration:
- Method: Free Shipping
- Condition: Subtotal equal to or greater than $500
- You must select the Customer Group(s) also.
- Result:
- If subtotal = $600 → Free Shipping is shown
- If subtotal = $250 → Free Shipping is hidden
- Example 2: Hide Express Shipping when Subtotal is Large
- Goal: Hide Express Shipping when subtotal is greater than $1000.
- To hide when condition is true → reverse it.
- Configuration:
- Method: Express Shipping
- Condition: Subtotal less than or equal to $1000
- You must select the Customer Group(s) also.
- Result:
- If subtotal = $1500 → Express Shipping is hidden
- If subtotal = $800 → Express Shipping is shown
- Important:
- The rule logic shows the selected shipping method only when the condition is TRUE.
- To show when condition is met, configure the condition normally.
- To hide when condition is met, configure the opposite condition.
- You must select the Customer Group(s) also.
What you'll obtain with our Magento Technical Audit
With VDC Store's Magento eCommerce technical audit you'll gain expert in-depth analysis with an exhaustive summary of the state of your store’s code quality and overall usability.
-
An organizational summary of discoveries with preferences and a brief overview
-
3rd party extensions initial review
-
An exact description of results and suggested solutions
-
Database integrity review to ensure data is recorded precisely as planned
-
Top preferences for your architects
-
Code quality examination (periodic reflection of your store source code)
-
Examination of possible Magento core design changes
-
Speed and execution analysis (HTTP requests, optimizations, response headers)
By a technical appraisal, the client not only obtains information about the issues the store is facing but also this examination by VDC Store allows them to acquire beneficial information and concepts for setting up programs to enhance sales and conversion drivers.
Our analysis appreciates the essence of your business. We are not utilizing an automatic procedure that is used in every case. We want to make sure you end up with suggestions based on the exact condition of your store. Start the discussion about the Magento technical audit you're curious in by filling out the Contact Us form.
Why Choose VDCStore Shipping Restriction Extension?
Shipping rules shouldn’t limit your sales — they should optimize them. The VDCStore Shipping Restriction Extension gives you powerful control over where, when, and how you ship products. Whether you need to block certain countries, restrict based on product attributes, or apply custom conditions like weight and customer group, this extension lets you tailor shipping logic with precision. Built for performance and full compatibility with modern Magento versions, it helps reduce shipping errors, minimize returns, and deliver a better checkout experience for your customers.
FAQs
Live Demo
Explore Our Customer Reviews
Comparison
Explore Our Hyvä Theme Demos
Need More Help?
Save time by starting your support request online and we'll connect you to an expert. Save time by starting your support request.
