Previously, if a discount was applied to a cart, it was being applied to the sum of the cart's subtotal and shipping cost. This calculation was incorrect and has been fixed. Discounts are now only applied to the cart's subTotalPrice (in other words, the total of the cart items).
For tax-inclusive products (VAT), if a discount is applied after taxes and the product's original price is reduced, the totalTax value should reflect the taxes on the reduced price and not the original price. The tax total is now calculated correctly.
If you find any information that is unclear or incorrect, please let us know so that we can improve the Dev Portal content.
Use our private help channel. Receive updates over email and contact our specialists directly.
If you need more information about this topic, visit hybris Experts to post your own question and interact with our community and experts.