started code for discounts and hiding products