WRONG! On Order print, Grand Total is 29.00 , but the correct value would be 27.85 (GrandTotal) = 23.00(Subtotal) - 1.15 (Discount) + ...
why this above statement added? here should be some condition if order total without tax then need to do this?
system > configuration > Sales > Tax > Orders Invoices > Include Tax In Grand Total?
Other than the single totals (subtotal, tax, shipping, discount) which you can reorder in Stores > Configuration > Sales > Sales > Checkout ...
You could check the configuration "Apply Discount on prices -> including tax / excluding tax" if it's set to including tax. You'll find it in ...
Also I think you are not updating grand total and base grand total when applying custom discount programmatically. You have to update these 2 values when ...
Magento Add fee or discount order total
I think you need to rewrite your rules. Rule #1. Discount cart to 0.00 if order amount is less than 100.00EUR. For this rule, set the CONDITIONS as follows:
In the confirmation email, there should be no call to $this->helper('checkout')-> formatPrice(...) anywhere. If this is the case, the order email uses ...
Magento 2 Wrong base grand total and grand total response of save