Child pages
  • [in-commerce] Notice, when adding product to discount [5.2.2-B1]
Skip to end of metadata
Go to start of metadata

Discounts allow to create system-wide rules according to which different discounts can be automatically applied to the product in shopping cart. The discounts can be defined in the "E-commerce > Discounts & Certificates" section.

When adding a product following notice is triggered:

Notice (#2): Undefined index: c in ...\modules\in-commerce\units\discount_items\discount_items_event_handler.php on line 57


When checking for selected IDs in "selected_ids" request variable the fact, that key holding items of selected prefix ("c" or "p") is present at all.

Related Tasks