product details logic