group by for products showing and partial for cart