add product options function