In shopping cart price rule we have condition as subtotal but I want condition for final price ie. total cart price after coupon code applied.
How to do that?
ce-1.7.0.2couponshopping-cart-price-rules
In shopping cart price rule we have condition as subtotal but I want condition for final price ie. total cart price after coupon code applied.
How to do that?
Best Answer
I followed the instructions in the following post:
https://stackoverflow.com/a/16808826
..which works on my Magento CE 1.7.0.2 install. You end up with an extra condition in your Shopping Cart Price Rules, "Subtotal with Discount" which will correctly return the current subtotal minus any existing discounts (perfect for free shipping rules!)
Hope this helps.
edit: As requested below, here is the code - you'd need to rewrite Mage_SalesRule_Model_Rule_Condition_Address and amend the class name etc accordingly: