I am working on Magento 2.2.5. I have one cart rule that gives free shipping if the subtotal is equal to or greater then $50.
It is working well, but if the user gets any discount from a coupon or any other discount then it is not working properly as subtotal is not considering discount amount.
If user purchases $55 products then he/she will get the free shipping in the checkout page. But when he uses the coupon that gives 10%($5.5) discount then the amount will be $49.5 then also the free shipping is applying.
So anyway to add this rule on subtotal including discounted amount?
Or do I need to change any code for cart rule?
I read many solutions from the stack and tried but with no luck.
Some of are of Magento 1 but I am using Magento 2.2.5