You're almost there! Please answer a few more questions for access to the Applications content. Complete registration
Interested in joining? Complete your registration by providing Areas of Interest here. Register

How to prevent the discount from being applied to a complementary product

Accepted answer


Discount applied to complementary product (false discount flag)

Content (required):

We are developing a new complementary product item (add-ons). Sale of extended warranty service for some specific products. However, in the tests, we realized that when we apply a discount on the parent product, the same discount occurs on the complementary product and, in our business rules, it is not allowed. Has anyone done this type of implementation before?

The parent product has the discount flag true.

The complementary product has the discount flag false.

Version (include the version you are using, if applicable):

cx-commerce 22.4.2

Code Snippet (add any code snippets that support your topic, if applicable):

Howdy, Stranger!

Log In

To view full details, sign in.


Don't have an account? Click here to get started!