Calculate product details totals
merged