Skip to content

Catalog Price Rules not applying to Custom Options #38457

Closed
@NetStorm84

Description

@NetStorm84

Preconditions and environment

Tested on version 2.4.6

Steps to reproduce

  1. Create a product
  2. Add some custom options
    image
  3. Save the product
  4. Navigate to Catalog Price Rules - Marketing > Catalog Price Rules
  5. Add new rule, making sure to set it to active with an action of 10% discount - apply as percentage of the original
  6. Save and apply the new rule
  7. 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.

image

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”.

Metadata

Metadata

Labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions