Shipping Restriction – Magento 2
User Guide
www.mageants.com support@mageants.in 1
Table Of Contents
Preface……………………………………………………………………....3
Installation…………………………………..……………………….....4
option 1…………………………………………………………………………....4
option 2………………………………………………………………………..…..5
Extension configuration…………………………………………………..…...6
Backend Example…………………………………………………………….....14
Frontend Example……………………………………………………………....21
www.mageants.com support@mageants.in 2
Preface:
Simplifying Shipping Control in Magento 2
Instant rule creation: Set up location-based shipping rules in a few clicks
from the admin panel.
Unlimited restrictions: Combine any number of rules to support even the
most complex logistics scenarios.
Precision targeting: Allow or block methods by country, state/region, city,
ZIP/postcode range, or even keywords in the street address.
Manage requests easily: Apply rules to specific products, categories,
customer groups, or store views for maximum flexibility.
Define shipping Areas with precision: Create custom Shipping Areas
by grouping countries, states, cities, zip ranges, and street keywords—then apply
restrictions based on these areas..
www.mageants.com support@mageants.in 3
Installation:
There are two ways of installing extension in magento2.
- Using COMMAND LINE.
- Manually Install extension.
Option 1: Magento 2 install extension using COMMAND LINE
(Recommended)
Follow below steps to install extension from the command line.
Step 1: Download the extension and unzip it.
Step 2: Upload it to code directory in your magento installation’s app directory
If code Directory does not exists then create.
Step 3: Disable the cache under System -> Cache Management.
Step 4: Enter the following at the command line:
Php bin/magento setup:upgrade
Php bin/magento setup:static-content:deploy
www.mageants.com support@mageants.in 4
Step 5: Once you complete above steps log out and log in back to the admin panel
and switch to Store → Configuration → Mageants → Shipping Restriction, the
module will be displayed in the admin panel.
Option 2: Magento 2 install extension manually
Step 1: Download the extension and unzip it.
Step 2: Upload it to code directory in your magento installation’s app directory If
code Directory does not exists then create.
Step 3: Disable the cache under System -> Cache Management Edit app/etc/config.php
file and add one line code: ‘Mageants_ShippingRestriction’ => 1
Step 4: Disable the cache under System -> Cache Management
Step 5: Once you complete above steps log out and log in back to the admin panel
and switch to Menu Store → Configuration → Mageants → Shipping Restriction,
the module will be displayed in the admin panel.
www.mageants.com support@mageants.in 5
Extension Configuration:
After installing the Shipping Restriction extension, log into your admin panel to
configure it’s setting.
You can access the extension setting as shown in this screenshot below.
To configure the extension , go to: store > configuration > Mageants >
Shipping Restriction.
• Enable Module: Enable/Disable the Shipping Restriction Functionality.
www.mageants.com support@mageants.in 6
• Shipping Area Grid: List all the Shipping areas created.
www.mageants.com support@mageants.in 7
• Shipping Area Form: Create Shipping Area from here the form contains Below
fields.
➢ Shipping area name → Name of the shipping area
➢ Status → Enable/Disable the shipping area
➢ Description → Provide description related to area.
➢ For Countries → Select Include/Exclude Countries.
➢ Countries → Select Country/Countries to apply the restriction
➢ For States/Regions → Select Include/Exclude Regions.
www.mageants.com support@mageants.in 8
➢ States/Regions → Select or specify Regions here.
➢ For Cities → Select Include/Exclude Cities.
➢ Cities → Specify City here.
➢ For Zip/Postal codes → Select Include/Exclude Zip/Postal code.
➢ Zip/Postal codes → Provide zip range or mass insert Zipcodes comma
seperated.
➢ For Address Shipping Line → Select Contain/Does not contains.
➢ Address Line → Specify Street line to match.
www.mageants.com support@mageants.in 9
•
• Shipping Restriction Rule Grid: Displays all the Shipping Restriction rules
Created.
www.mageants.com support@mageants.in 10
• Shipping Restriction Rule Form:
➢ Shipping Restriction Rule Name → Specify Restriction Rule name.
➢ Enable Rule → Enable/Disable rule.
➢ Shipping Method → Select Shipping method to apply restriction from active
shipping methods.
➢ From and To date → Select a date Range for apply the Restrictions.
www.mageants.com support@mageants.in 11
• Show Restriction Message → Yes/no For Displaying Restriction Message
• Restriction Message → Message specified here will be displayed as error
message.
➢ If Show Restriction Message is set to no shipping method will be hidden and no
error message is displayed.
➢ If Show Restriction Message is set to yes then Shipping method will display
with error message.
• Apply in admin → Yes/no When selected Yes the rule will also apply for admin
order create.
www.mageants.com support@mageants.in 12
Select Storeview and customer Groups → Apply Restriction to specific store
view and selected customer groups
• Condition Tree → Sets the requirement that must be met for the rule to apply. If
no condition Is given, The rule will apply to all products.
➢ Select customer(s) from grid to apply shipping restrictions for them on
frontend
➢ The condition may include Product Subselection, Condition Combination, Cart
Attributes, Customer Attributes, Shipping Areas, Additional Attributes.
➢ With this option, you can limit shipping based on things like the product, its
category, customer details, or custom groups.
➢ We’ve also added a new condition that lets you use the billing address
conditions under Additional Attributes.
www.mageants.com support@mageants.in 13
Backend Example
• Shipping restriction is Restricted on the Admin order Create When Admin
configuration is enabled in the rule.
www.mageants.com support@mageants.in 14
Frontend Example
• Shipping Restriction is applied on the Cart page in frontend.
www.mageants.com support@mageants.in 15
• Shipping Restriction Rule is Applied on Checkout page.
www.mageants.com support@mageants.in 16
Thank you!
if you have any questions or feature suggestions, please contact
us at: https://www.mageants.com/contact-us
Your feedback is absolutely welcome!
www.mageants.com support@mageants.in 17

More Related Content

PDF
Magento 2 Countdown Timer Extension
PDF
Magento 2 Australia Post Shipping Extension, Parcel Shipping Rate
PDF
Magento 2 shipping table rates
PDF
Magento 2 Survey Extension
PDF
Magento 2 Defer JavaScript
PDF
Who Bought This Also Bought For Magento 2
PDF
Magento 2 Extra Fee Extension
PDF
Shipping filter-21 oct2015
Magento 2 Countdown Timer Extension
Magento 2 Australia Post Shipping Extension, Parcel Shipping Rate
Magento 2 shipping table rates
Magento 2 Survey Extension
Magento 2 Defer JavaScript
Who Bought This Also Bought For Magento 2
Magento 2 Extra Fee Extension
Shipping filter-21 oct2015

Similar to Magento 2 Shipping Restrictions - MageAnts - Userguide (20)

PDF
Shipping filter-21 oct2015
PDF
Shipping filter-21 oct2015
PDF
Shipping Filter Extension For Magento User Guide
PDF
MageAnts Magento 2 Checkout Success Page
PDF
Magento 2 Responsive banner slider
PDF
Magento 2 Automatic Invoice and Shipment Extension
PDF
Magento 2 Auto Cancel Order
DOCX
Magento 2 Restrict Cash On Delivery
PDF
Multi flat shipping for magento 2
PDF
MageMob Cart Android & iOS Application
PDF
Product questions answers for magento 2
PPT
Ocodewire one_page_checkout_extension_demo
PDF
Magento 2 Advanced Permissions
PDF
Magento 2 pre order extension
PDF
Size chart for magento 2
PDF
Magento 2 Order Attributes
PDF
Daily deals for magento 2
PDF
Feedback Pro Extension - User Guide
PDF
MageMob Cart Android & iPhone Application to Access Magento Store
PDF
Magento 2 Google Rich Snippets
Shipping filter-21 oct2015
Shipping filter-21 oct2015
Shipping Filter Extension For Magento User Guide
MageAnts Magento 2 Checkout Success Page
Magento 2 Responsive banner slider
Magento 2 Automatic Invoice and Shipment Extension
Magento 2 Auto Cancel Order
Magento 2 Restrict Cash On Delivery
Multi flat shipping for magento 2
MageMob Cart Android & iOS Application
Product questions answers for magento 2
Ocodewire one_page_checkout_extension_demo
Magento 2 Advanced Permissions
Magento 2 pre order extension
Size chart for magento 2
Magento 2 Order Attributes
Daily deals for magento 2
Feedback Pro Extension - User Guide
MageMob Cart Android & iPhone Application to Access Magento Store
Magento 2 Google Rich Snippets
Ad

More from MageAnts (19)

PDF
Sales Representatives and Dealers For Magento 2 - MageAnts - Userguide
PDF
Magento 2 Request a Quote - MageAnts - Userguide
PDF
Magento 2 Company Account - MageAnts - Userguide
PDF
Magento 2 Custom Option Image
PDF
Magento 2 Event Manager Extension
PDF
Magento 2 Admin Email Notification extension
PDF
Magento 2 Maintenance Page Extension
PDF
Magento 2 Import Export Product Attributes Extension
PDF
Magento 2 Product Tabs
PDF
Magento 2 Responsive Navigation Menu
PDF
Magento 2 GDPR Extension
PDF
Magento 2 Google Invisible Recaptcha
PDF
Magento 2 Duplicate Category
PDF
Magento 2 Delete Account
PDF
Magento 2 Frequently Bought Together
PDF
Magento 2 ajax add to cart
PDF
Magento 2 instagram integration
PDF
Magento 2 Multiple Wishlists Extension by MageAnts
PDF
Magento 2 Simple Configurable Products by MageAnts Team
Sales Representatives and Dealers For Magento 2 - MageAnts - Userguide
Magento 2 Request a Quote - MageAnts - Userguide
Magento 2 Company Account - MageAnts - Userguide
Magento 2 Custom Option Image
Magento 2 Event Manager Extension
Magento 2 Admin Email Notification extension
Magento 2 Maintenance Page Extension
Magento 2 Import Export Product Attributes Extension
Magento 2 Product Tabs
Magento 2 Responsive Navigation Menu
Magento 2 GDPR Extension
Magento 2 Google Invisible Recaptcha
Magento 2 Duplicate Category
Magento 2 Delete Account
Magento 2 Frequently Bought Together
Magento 2 ajax add to cart
Magento 2 instagram integration
Magento 2 Multiple Wishlists Extension by MageAnts
Magento 2 Simple Configurable Products by MageAnts Team
Ad

Recently uploaded (20)

PDF
Time Tracking Features That Teams and Organizations Actually Need
PDF
AI-Powered Threat Modeling: The Future of Cybersecurity by Arun Kumar Elengov...
PPTX
assetexplorer- product-overview - presentation
PPTX
Cybersecurity: Protecting the Digital World
PDF
AI/ML Infra Meetup | Beyond S3's Basics: Architecting for AI-Native Data Access
PPTX
Computer Software - Technology and Livelihood Education
PDF
AI/ML Infra Meetup | LLM Agents and Implementation Challenges
PDF
EaseUS PDF Editor Pro 6.2.0.2 Crack with License Key 2025
PDF
Topaz Photo AI Crack New Download (Latest 2025)
PDF
How to Make Money in the Metaverse_ Top Strategies for Beginners.pdf
DOCX
Modern SharePoint Intranet Templates That Boost Employee Engagement in 2025.docx
PDF
iTop VPN Crack Latest Version Full Key 2025
PDF
Top 10 Software Development Trends to Watch in 2025 🚀.pdf
DOCX
How to Use SharePoint as an ISO-Compliant Document Management System
PDF
Types of Token_ From Utility to Security.pdf
PDF
DuckDuckGo Private Browser Premium APK for Android Crack Latest 2025
PPTX
Computer Software and OS of computer science of grade 11.pptx
PDF
Wondershare Recoverit Full Crack New Version (Latest 2025)
PDF
DNT Brochure 2025 – ISV Solutions @ D365
PPTX
CNN LeNet5 Architecture: Neural Networks
Time Tracking Features That Teams and Organizations Actually Need
AI-Powered Threat Modeling: The Future of Cybersecurity by Arun Kumar Elengov...
assetexplorer- product-overview - presentation
Cybersecurity: Protecting the Digital World
AI/ML Infra Meetup | Beyond S3's Basics: Architecting for AI-Native Data Access
Computer Software - Technology and Livelihood Education
AI/ML Infra Meetup | LLM Agents and Implementation Challenges
EaseUS PDF Editor Pro 6.2.0.2 Crack with License Key 2025
Topaz Photo AI Crack New Download (Latest 2025)
How to Make Money in the Metaverse_ Top Strategies for Beginners.pdf
Modern SharePoint Intranet Templates That Boost Employee Engagement in 2025.docx
iTop VPN Crack Latest Version Full Key 2025
Top 10 Software Development Trends to Watch in 2025 🚀.pdf
How to Use SharePoint as an ISO-Compliant Document Management System
Types of Token_ From Utility to Security.pdf
DuckDuckGo Private Browser Premium APK for Android Crack Latest 2025
Computer Software and OS of computer science of grade 11.pptx
Wondershare Recoverit Full Crack New Version (Latest 2025)
DNT Brochure 2025 – ISV Solutions @ D365
CNN LeNet5 Architecture: Neural Networks

Magento 2 Shipping Restrictions - MageAnts - Userguide

  • 1. Shipping Restriction – Magento 2 User Guide www.mageants.com support@mageants.in 1
  • 2. Table Of Contents Preface……………………………………………………………………....3 Installation…………………………………..……………………….....4 option 1…………………………………………………………………………....4 option 2………………………………………………………………………..…..5 Extension configuration…………………………………………………..…...6 Backend Example…………………………………………………………….....14 Frontend Example……………………………………………………………....21 www.mageants.com support@mageants.in 2
  • 3. Preface: Simplifying Shipping Control in Magento 2 Instant rule creation: Set up location-based shipping rules in a few clicks from the admin panel. Unlimited restrictions: Combine any number of rules to support even the most complex logistics scenarios. Precision targeting: Allow or block methods by country, state/region, city, ZIP/postcode range, or even keywords in the street address. Manage requests easily: Apply rules to specific products, categories, customer groups, or store views for maximum flexibility. Define shipping Areas with precision: Create custom Shipping Areas by grouping countries, states, cities, zip ranges, and street keywords—then apply restrictions based on these areas.. www.mageants.com support@mageants.in 3
  • 4. Installation: There are two ways of installing extension in magento2. - Using COMMAND LINE. - Manually Install extension. Option 1: Magento 2 install extension using COMMAND LINE (Recommended) Follow below steps to install extension from the command line. Step 1: Download the extension and unzip it. Step 2: Upload it to code directory in your magento installation’s app directory If code Directory does not exists then create. Step 3: Disable the cache under System -> Cache Management. Step 4: Enter the following at the command line: Php bin/magento setup:upgrade Php bin/magento setup:static-content:deploy www.mageants.com support@mageants.in 4
  • 5. Step 5: Once you complete above steps log out and log in back to the admin panel and switch to Store → Configuration → Mageants → Shipping Restriction, the module will be displayed in the admin panel. Option 2: Magento 2 install extension manually Step 1: Download the extension and unzip it. Step 2: Upload it to code directory in your magento installation’s app directory If code Directory does not exists then create. Step 3: Disable the cache under System -> Cache Management Edit app/etc/config.php file and add one line code: ‘Mageants_ShippingRestriction’ => 1 Step 4: Disable the cache under System -> Cache Management Step 5: Once you complete above steps log out and log in back to the admin panel and switch to Menu Store → Configuration → Mageants → Shipping Restriction, the module will be displayed in the admin panel. www.mageants.com support@mageants.in 5
  • 6. Extension Configuration: After installing the Shipping Restriction extension, log into your admin panel to configure it’s setting. You can access the extension setting as shown in this screenshot below. To configure the extension , go to: store > configuration > Mageants > Shipping Restriction. • Enable Module: Enable/Disable the Shipping Restriction Functionality. www.mageants.com support@mageants.in 6
  • 7. • Shipping Area Grid: List all the Shipping areas created. www.mageants.com support@mageants.in 7
  • 8. • Shipping Area Form: Create Shipping Area from here the form contains Below fields. ➢ Shipping area name → Name of the shipping area ➢ Status → Enable/Disable the shipping area ➢ Description → Provide description related to area. ➢ For Countries → Select Include/Exclude Countries. ➢ Countries → Select Country/Countries to apply the restriction ➢ For States/Regions → Select Include/Exclude Regions. www.mageants.com support@mageants.in 8
  • 9. ➢ States/Regions → Select or specify Regions here. ➢ For Cities → Select Include/Exclude Cities. ➢ Cities → Specify City here. ➢ For Zip/Postal codes → Select Include/Exclude Zip/Postal code. ➢ Zip/Postal codes → Provide zip range or mass insert Zipcodes comma seperated. ➢ For Address Shipping Line → Select Contain/Does not contains. ➢ Address Line → Specify Street line to match. www.mageants.com support@mageants.in 9
  • 10. • • Shipping Restriction Rule Grid: Displays all the Shipping Restriction rules Created. www.mageants.com support@mageants.in 10
  • 11. • Shipping Restriction Rule Form: ➢ Shipping Restriction Rule Name → Specify Restriction Rule name. ➢ Enable Rule → Enable/Disable rule. ➢ Shipping Method → Select Shipping method to apply restriction from active shipping methods. ➢ From and To date → Select a date Range for apply the Restrictions. www.mageants.com support@mageants.in 11
  • 12. • Show Restriction Message → Yes/no For Displaying Restriction Message • Restriction Message → Message specified here will be displayed as error message. ➢ If Show Restriction Message is set to no shipping method will be hidden and no error message is displayed. ➢ If Show Restriction Message is set to yes then Shipping method will display with error message. • Apply in admin → Yes/no When selected Yes the rule will also apply for admin order create. www.mageants.com support@mageants.in 12
  • 13. Select Storeview and customer Groups → Apply Restriction to specific store view and selected customer groups • Condition Tree → Sets the requirement that must be met for the rule to apply. If no condition Is given, The rule will apply to all products. ➢ Select customer(s) from grid to apply shipping restrictions for them on frontend ➢ The condition may include Product Subselection, Condition Combination, Cart Attributes, Customer Attributes, Shipping Areas, Additional Attributes. ➢ With this option, you can limit shipping based on things like the product, its category, customer details, or custom groups. ➢ We’ve also added a new condition that lets you use the billing address conditions under Additional Attributes. www.mageants.com support@mageants.in 13
  • 14. Backend Example • Shipping restriction is Restricted on the Admin order Create When Admin configuration is enabled in the rule. www.mageants.com support@mageants.in 14
  • 15. Frontend Example • Shipping Restriction is applied on the Cart page in frontend. www.mageants.com support@mageants.in 15
  • 16. • Shipping Restriction Rule is Applied on Checkout page. www.mageants.com support@mageants.in 16
  • 17. Thank you! if you have any questions or feature suggestions, please contact us at: https://www.mageants.com/contact-us Your feedback is absolutely welcome! www.mageants.com support@mageants.in 17