Cart and OrderCarrier life cycle?

Where can I read about the life cycle of a cart and when, for example, the OrderCarrier is set in the cart, or when/what request/how the cart is created etc?

The Litium Documentation API is one place, for example:
https://docs.litium.com/api-reference/api?product=Litium&version=7.4&xref=Litium.Foundation.Modules.ECommerce.Carriers.OrderCarrier
and Litium Docs

Thanks, but the specification for the OrderCarrier doesn’t tell me anything about the life cycle of it.

I was asking about the life cycle of the OrderCarrier - details about which class is actually instantiating OrderCarriers and where it “lives” (session, DI-cache, request?), and so on.

Other E-commerce frameworks I’ve been coding in, like Elasticpath, doesn’t create an order object until the checkout. In Litium it seems to have already been created with the first request for every session. But it would be nice with an article/breakdown of the life cycle etc.

1 Like

This topic was automatically closed 28 days after the last reply. New replies are no longer allowed.