Web Analytics

Fill the form & Get Installation Support

Apply Free shipping Cart rule on subtotal after discount in Magento 2

If you want to apply cart price rules like free shipping after discount and tax calculation, then you need to do customization in the sales rule module.

To add new option in the cart price rule condition drop-down, You need to create custom extension like “Magemonkeys_Cartrule”.

1. Create registration.php in app/code/Magemonkeys/Cartrule/

2. Create module.xml in app/code/Magemonkeys/Cartrule/etc/

3. Create di.xml in app/code/Magemonkeys/Cartrule/etc/adminhtml/di.xml

4. Create Address.php in app/code/Magemonkeys/Cartrule/Model/Rule/Condition/Address.php

5. Run php bin/magento setup:upgrade command

So you can see the “Subtotal (Excl. Tax)” option in cart price rule’s condition drop-down.

Note: This option has already added by Magento in Magento 2.3.2+ version

Fill the below form if you have any Magento programming need.





    Recent Articles

    Author Info

    Author Image

    Magento Certified Developer

    Hire V. Brahmbhatt

    Get a Free Quote





      /* second popup */

      Connect With Us