Carts
Carts are one of the core concepts of online commerce.
Last updated
Was this helpful?
Carts are one of the core concepts of online commerce.
Last updated
Was this helpful?
Here you can find an overview of the Emporix carts concept, along with its features and benefits.
Carts allow your customers to compile a list of items for purchase. The Emporix carts concept aims to simplify cart management by introducing features such as cart merging or automatic deleting of inactive carts.
The Emporix carts concept introduces a set of features that make cart management easier:
Anonymous and customer carts
The Emporix e-commerce system distinguishes two types of carts:
Anonymous carts for customers who are browsing the store without logging in.
Customer carts for logged-in customers.
Cart merging
You can merge a customer's anonymous cart with their customer cart to preserve the shopping flow.
Inactivity time
If a cart is inactive for over 30 consecutive days, it is automatically deleted from the database.
Statuses
A cart can either be active (OPEN
) or inactive (CLOSED
). A cart's status is automatically set to CLOSED
in the following cases:
The cart belonged to an anonymous customer, and it was merged with a logged-in customer's cart.
The cart went through the checkout process.
The following section provides more information on cart management features in the Emporix e-commerce system.
Sometimes a customer will browse products and add them to the cart before logging in. In such a case, you can merge their anonymous cart with their customer cart to preserve the shopping flow.
Once the carts are merged, the anonymous cart's status is set to CLOSED
.
You can use the merging functionality to perform the following actions:
Merge an anonymous cart with a customer cart.
Merge multiple anonymous carts with a customer cart.
You cannot use the merging functionality to perform the following actions:
Merge a customer cart with an anonymous cart.
Merge a customer cart with another customer cart.
Merge two non-empty carts that use different currencies.
Common conflicts that may occur while merging carts are described in the table below.
Both carts contain the same items.
The quantities of the items are added together.
The same item is added to both carts, but one is added as an itemYrn
and one as a Product
object.
The item is treated as two separate entries. The quantities of the item are not added together.
The carts use different currencies. Both carts are empty.
The currency of the customer cart is preserved.
The anonymous cart includes items that are out of stock.
The items are preserved.
The carts use different custom attributes.
The custom attributes are consolidated.
The carts use the same custom attributes, but their values are different.
The anonymous cart's custom attribute values are preserved.
See: .
You can only perform operations on OPEN
carts.
If a customer proceeds to checkout, an error message appears, prompting the customer to remove said items from their cart.