// Performance improvements for the cart page