Open
Description
Preconditions and environment
- Magento Open Source 2.4.6-p8 without sample data is installed.
- No custom modules or theme customisation
- Default Luma theme
- Set up tax rules and tax rates and zones with a tax rate of 20% for all UK Addresses.
- Set up the sales > tax configuration as per the attached screenshot. Note that there are no warnings of tax rounding errors.
- Create a some new products. Create two simple products one that is taxable and one that is not. Create a configurable product with taxable and non-taxable child products. Add all the products to a test category.
- Set up and enable the flat rate shipping method for £4.80.
- Create a Cart Price rule that applies a fixed value to the whole cart up to £60 and has the ‘Apply to Shipping Amount’ setting set to yes. See attached screenshot for details.


Steps to reproduce
- Navigate to storefront as a guest.
- Open Test Category.
- Click "Add to Cart" on a Product that is not taxable.
- Open mini shopping cart and click "View and edit cart".
- Change the quantity in cart so that it exceeds the £60 coupon discount.
- Apply the previously configured coupon code.
Expected result
Order is discounted by £60
Actual result
Order is discounted by a different amount.
Additional information
If you change the product in the cart to one that is taxable with otherwise identical conditions the Order is correctly discounted by £60:
However any combination of products in the cart that include a tax free product causes the discount to be incorrect:
Release note
No response
Triage and priority
- Severity: S0 - Affects critical data or functionality and leaves users without workaround.
- Severity: S1 - Affects critical data or functionality and forces users to employ a workaround.
- Severity: S2 - Affects non-critical data or functionality and forces users to employ a workaround.
- Severity: S3 - Affects non-critical data or functionality and does not force users to employ a workaround.
- Severity: S4 - Affects aesthetics, professional look and feel, “quality” or “usability”.