How Ecto decides which cart to keep
Ecto is designed to keep cart synchronization simple, invisible, and predictable. To do that, it follows a clear rule: 👉 Ecto always keeps the most recently edited cart for a logged-in customer. At any time, only one cart per customer is stored. When a cart is saved Ecto saves carts only for logged-in customers. Once a customer is logged in, Ecto listens to cart actions such as: adding a product updating quantities removing items Each of these actions updates the cart’Some readersDoes Ecto merge carts?
No. Ecto does not merge carts. Ecto always keeps one cart per customer: the last edited cart. If a customer edits their cart on another device, that cart simply replaces the previous one. There is no combination of products, quantities, or cart contents. This behavior is intentional. Ecto is designed to be invisible, predictable, and conflict-free, without popups or cart selection. If cart merging is required for your use case, Ecto may not be the right fit.Few readers
