How to prevent the discount from being applied to a complementary product
Discount applied to complementary product (false discount flag)
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):
Code Snippet (add any code snippets that support your topic, if applicable):