How can I restrict a particular shipping method with the Shipping Rules module?
Shipping Rules extension was created to overwrite the rates of the available shipping methods, and it cannot restrict shipping carriers/methods. In case you need to block any shipping method and hide it, you may consider using our Shipping Restrictions extension.
To create a new restriction rule, go to Sales → Shipping Restrictions → Add Rule. In the Shipping Methods tab, you can choose the shipping method that you want to block, and set the restriction message if needed:
In the Conditions tab, you may specify the conditions for the rule application:
You may see on the storefront that, the Free Shipping method is displayed as usual with other countries:
But as soon as the condition of the restriction rule is met, the Free Shipping method is blocked:
Related Articles
Shipping Rules API
Amasty\Shiprules\Api\RuleRepositoryInterface - class for managing shipping rules in backend: POST /V1/amasty_shiprules/rule, method="save" - create a rule; PUT /V1/amasty_shiprules/rule/:ruleId, method="save" - edit a rule; DELETE ...
How can I check which delivery options the Shipping Rules extension is compatible with?
The shipping methods present in the Magento Admin Panel → Stores → Configuration → Sales → Shipping Methods tab will also be available for selection in the Shipping Carriers and Methods dropdown that you see when creating a shipping rule: If some of ...
Advanced Conditions API (+Reward Points, Extra Fee, Free Gift, Shipping Rules, Shipping Restrictions)
Advanced Conditions can be purchased both separately and within other Amasty modules: Reward Points, Extra Fee, Free Gift, Shipping Rules, Shipping Restrictions. The Advanced Conditions extension adds its functionality to the main modules, which ...
How to rename a delivery option if it becomes free after applying a shipping rule to it?
Since version 2.12.0 of the extension, we have added the ability to customize shipping carrier and method names in the rules (Amasty → Shipping Rules): Please, note that this functionality is available as part of an active product subscription or ...
How to make a shipping option free based on cart subtotal?
First of all, it is necessary to check if the delivery method that you are going to rewrite is turned on at Magento Admin Panel → Stores → Configuration → Sales → Shipping Methods: Then, create a new shipping rule at Magento Admin Panel → Sales → ...