##### Child pages
• [In-Commerce] Notice, when adding product to discount [5.2.1]
Go to start of banner

# [In-Commerce] Notice, when adding product to discount [5.2.1]

Undefined index: c in \modules\in-commerce\units\discount_items\discount_items_event_handler.php on line 57
This happens because assumption is made, that POST data always contains c and p keys, but it only will contain each of them, when at least one category/product will be selected.