fixed product add function in product detail page