Cart as class now functions, though doesn't properly append carts when multiple pages