How to configure Shipping Rules based on the subtotal value after all of the discounts?

How to configure Shipping Rules based on the subtotal value after all of the discounts?

If a subtotal condition is used in one of your shipping rules, the extension allows selecting what subtotal amount will be used by rules: as the value before cart price rule application, or after triggering them. The setting in charge of this behavior can be found at Magento Admin Panel → Stores → Configuration → Amasty Extensions → Shipping Rules:





When the Use Subtotal after Discount setting is switched to Yes, the following shipping rule, for example, will be applied only when the subtotal after all of the discounts reaches the $200 threshold:




Here, the rule is not applied on the frontend, because the subtotal after applying all of the cart price rules is less than $200:




Once the subtotal after all the discounts meets the required condition stated in the shipping rule, the delivery cost is overwritten: