Configure Basket Preferences

Configurable basket settings include persistence across shopper sessions, the treatment of duplicate product line items, and the maximum number of product line items per basket. These preferences are site-specific, and a customized storefront doesn’t necessarily evaluate them.

To set basket behavior preferences for the current site, select Merchant Tools > Site Preferences > Baskets.

Basket Persistence Across Storefront Sessions

To configure the behavior of baskets when user sessions start and end, use the persistence and lifetime settings.

The following rules are always in effect, regardless of the settings.

The Basket Persistence setting defines which customers can access saved baskets from previous sessions. The basket lifetimes define how long a saved basket remains available.

Basket Persistence Description
Baskets Not Persistent When a session ends, the basket is not saved. Every session begins with an empty basket.
Baskets Persistent for Authenticated Customers Only When a registered customer’s session ends, the current basket is cleared but its contents are saved. If that customer opens a new session and logs in within the basket lifetime for registered customers, the saved basket is restored. If the customer started a new basket before logging in, the saved basket is available via API calls.
Baskets Persistent for Registered Customers Only When a registered customer’s session ends, the current basket is cleared but its contents are saved. If the system recognizes that customer in a new session within the basket lifetime for registered customers, the saved basket is restored. If the customer started a new basket before being recognized, the saved basket is available via API calls.
Baskets Persistent for All Customers When any customer’s session ends, the current basket is cleared but its contents are saved. If that customer opens a new session within the basket lifetime for the appropriate customer type, the saved basket is restored.

You can define different lifetimes for registered and unregistered (guest) customers. The following rules apply to basket lifetimes:

Behavior When Adding a Duplicate Product to a Basket

The Add Product to Basket Behavior setting controls the behavior when a customer tries to add a product that’s identical to one in their basket. Products are compared using the following rules:

Add Product to Basket Behavior Description
Disallow Repeats Ignore the request.
Increment Quantity Add to the quantity of the existing product line item. This setting is the default.
Allow Repeats Add another product line item for the same product.

Maximum Product Line Items Per Basket

To limit the number of product line items allowed in a basket, enter a value in the Max Number of Product Line Items field. Attempting to add product line items beyond this limit returns an error. The limit considers only the number of lines, not their quantities. The default value is 50.

Note: The limit applies only to independent products. Dependent products that can’t be purchased alone, such as shipping charges, options, and bonus items, don’t count toward it.
Note: The Product Line Items per Basket object quota limits each basket to 200 product line items, including both independent and dependent product line items. For information on object quotas, see the API documentation.
X Privacy Update: We use cookies to make interactions with our websites and services easy and meaningful, to better understand how they are used. By continuing to use this site you are giving us your consent to do this. Privacy Policy.