Description
Preconditions and environment
Tested on version 2.4.6
Steps to reproduce
- Create a product
- Add some custom options
- Save the product
- Navigate to Catalog Price Rules - Marketing > Catalog Price Rules
- Add new rule, making sure to set it to active with an action of 10% discount - apply as percentage of the original
- Save and apply the new rule
- Visit the product in the front end
Expected result
I would expect the 10% discount to be applied to the overall price, including the product option price
For example.
Product Price: $30.60
Option Price (Red) + $10
Total Price = $36.54
Actual result
The discount is being applied the product price and the custom option price is being added on top without being discounted
For example.
Product Price: $30.60
Option Price (Red) + $10
Total Price = $40.60
Additional information
It seems it used to work this way, ignoring the custom options but was then fixed in #22917 and worked as I would expect for a few versions, then it seems to have been removed again (a1aa4af) and works as I would not expect.
Surely, the best thing to have done was to have created a toggle in the options so that the store owner can decide how this should work, as now I have updated my store my discounts don't work as they have been previously.
In my mind the discount should apply to the custom options as this makes up the final price of the product, I don;t understand why these would not be included in the calculation.
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”.