Welcome to the Shipping Restriction documentation. Whether you are a new or an advanced user, you can find some useful information here.
First of all, we recommend to check the following link:
Second of all, proceed then with Quick Start, which will guide you through creating your own Shipping Restriction.
php -f bin/magento module:enable Mirasvit_Core Mirasvit_ShippingRestriction Mirasvit_ShippingArea
to enable the extensions.php -f bin/magento setup:upgrade
to install the extension.php -f bin/magento cache:clean
to clean the cache.Deploy static view files
rm -rf pub/static/*; rm -rf var/view_preprocessed/*; php -f bin/magento setup:static-content:deploy
The Shipping Restriction for Magento 2 extension is designed to help you organized delivery methods.
For more information please visit this section Shipping Restriction.
Get a well-developed shipping policy set up in your store. Adapt delivery methods available in your store to your business and regulatory requirements. Provide customers with optimal delivery methods based on order and cart attributes, and shipping location.
In your the Magento admin panel sidebar, find the Stores button. Click on it and select Shipping Restrictions.
Add a new restriction rule using the button Add New Restriction.
When adding a new shipping restriction rule, put in general information such as the name of the rule. Select delivery carriers and their shipping methods for which this rule is applied. Activate the rule execution.
Type a notification in the field Restriction message for the customers to be informed on the unavailability of the specified shipping methods. Leave the field blank to hide those shipping methods on a checkout page without any notice.
In the section Applying Conditions, you can configure restiction rules based on the cart attributes:
Subtotal
Subtotal excluding tax
Total items quantity
Total order weight
Payment method
Shipping method
Shipping postcode
Shipping region
Shipping state/province
You can also create use a product attribute combination and product sub-selection as conditions for the rule.
Use extra conditions such as day of the week, time of the day, and Shipping Area.
Example 1 To create a rule which is applied when there is 1 item in the cart and the customer makes an order on Wednesday, add the following conditions:
Total items quantity is 1
Example 2 To restrict a shipping method for single porcelain item of 50 kilograms, make a new rule and specify the following conditions:
Total Weight is 50
Product attribute combination:
Shipping restriction rules can be applied to store views and customer groups. You can check multiple store views and user groups.
Shipping Area is an extra condition you can apply to the shipping restriction rule. This option allows you to spend less time creating identical restriction conditions for deliveries to different locations. Group a number of geographical shipping zones as one.
In your Magento admin panel, find the Stores button in the Magento admin panel sidebar. Click on it and select Shipping Area.
Press the button Add New Shipping Area to create a new one. Set the name for this area and activate it.
Set Applying Conditions for this area, for example the shipping postcode, region, country, etc.
You can use the created Shipping Area as an extra condition for shipping restriction rules.
To upgrade the extension follow these steps:
composer require mirasvit/module-shipping-restriction:* --update-with-dependencies
to update current extension with all dependencies.
composer update mirasvit/*
command. It will update all Mirasvit modules, installed on your store. php -f bin/magento setup:upgrade
to install updates.php -f bin/magento cache:clean
to clean the cache.Deploy static view files
rm -rf pub/static/*; rm -rf var/view_preprocessed/*; php -f bin/magento setup:static-content:deploy
To temporarily disable the extension please follow these steps:
php -f bin/magento module:disable Mirasvit_ShippingRestriction Mirasvit_ShippingArea
to disable the extension.To uninstall the extension, please follow these steps:
composer remove mirasvit/module-shipping-restriction
to remove the extension.(2024-09-12)
(2023-10-05)
(2023-01-31)
(2023-01-04)
(2022-11-17)
(2022-11-15)
(2022-06-29)
(2022-06-20)
(2022-06-06)
(2022-01-19)
(2021-06-11)
(2021-03-23)