fixed the cart not displaying in other pages