Cart manager for e-commerce application