Welcome to the Shipping Rule 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 Rule.
php -f bin/magento module:enable Mirasvit_Core Mirasvit_ShippingRule 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 Rule for Magento 2 extension is designed to help you organized delivery methods.
For more information please visit this section Shipping Rule.
In your Magento admin panel in the left column, locate the Stores button. Click on it and select Shipping Rule.
Add a new rule using button Add New Shipping Rule.
When adding a new shipping rule, include general information such as the name of the rule. Select shipping methods for which this rule should be applied.
Set the priority of the rule execution. The lower the number, the higher is its priority. Specify if it is necessary to stop the execution of other rules when this rule is applied.
Get flexible shipping rates by overriding default delivery methods fees. Set individual shipping rules for orders.
In the Applying Conditions section, you can configure rules based on the following 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 a use 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, Shipping Area.
Example To create a rule which is applied when there is 1 item in a cart and the customer makes order on Wednesday, add the following conditions:
Total items quantity is 1
Shipping rules can be applied to store views and customer groups. You can check multiple store views and user groups.
In the sub-menu Rates and Thresholds, set the parameters for overriding the default shipping rate of the chosen shipping method.
Fee Calculation defines how the default shipping rate will be overridden:
Re-calculate shipping fee. The default shipping rate is replaced by your value.
Add extra fee. Your value is added to the default shipping rate.
The Rate types sets numerical value for Fee Calculation option. Such rate types are available:
Set min and max thresholds to specify limits when the shipping rate is applied.
Shipping Area is an extra condition you can apply to shipping rule. This options allows to spend less time creating similar shipping rules by for deliveries to different locations. Group a number of geographical shipping zones as one.
In your Magento admin panel find in the left column Stores button. Click on it and select Shipping Area.
Press 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 shipping postcode, region, country, etc.
You can use the created Shipping Area as an extra condition for shipping rules.
To upgrade the extension follow these steps:
composer require mirasvit/module-shipping-rule:* --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_ShippingRule Mirasvit_ShippingArea
to disable the extension.To uninstall the extension, please follow these steps:
composer remove mirasvit/module-shipping-rule
to remove the extension.(2024-08-07)
(2024-07-10)
(2024-04-29)
(2023-04-14)
(2022-11-17)
(2022-07-07)
(2022-06-20)
(2022-06-06)
(2022-05-17)
(2022-01-19)
(2021-10-22)
(2021-07-02)
(2021-05-17)
(2021-04-05)
(2021-03-29)