added option to bind discounts to selected products only and 'active' switch for discounts