cart data moved to factory
cart data moved to factory