LogoLogo
CommunitySupport PortalYouTubeStart a free trial
  • Welcome
  • Commerce Engine
  • Orchestration Engine
  • API Documentation
  • Release Notes
  • Changelog
  • Commerce Engine
  • Getting Started
    • General Concepts of Emporix
    • Creating your first tenant
    • Developer Portal
      • Manage Users
      • Manage API Keys
      • Tenant List
      • My Account
      • Manage Showcase and Sample Data
  • Customer Use Cases
    • Commerce Use Cases
      • Quote Process
      • Orders
      • Coupons and Redeeming Rewards
      • Returns
      • Payments
      • User Management and Approvals
      • Customer Social Login
      • Personalized Commerce - Customer Segments
      • Company Shared Orders and Customer Groups
    • Automated Use Cases
      • First Registration Coupon
      • Availability and Warehouse Assignment
      • Quote and Order Entry Automation
  • System Management
    • Introduction
    • Authentication and Authorization
      • Identity and Access Management (IAM)
      • Auth0
      • Emporix Single Sign-On (SSO)
    • Webhook Event Publishing
      • HTTP Webhook Strategy - HMAC Configuration
      • HTTP Webhook Strategy - Integration with Azure Service Bus
      • HTTP Webhook Strategy - Integration with Amazon Simple Queue Service (SQS)
    • Search
      • Universal Search Connector
      • Search Configuration
      • Indexing Service
    • Optimistic Locking
  • Extensibility and Integrations
    • Extensibility Cases
      • External Products, Pricing and Fees
      • Enabling Custom Extensions
    • Integrations
      • SAP Integration
    • Payment Systems
      • PayPal
      • Saferpay
      • Spreedly Gateway
      • Unzer
    • Third Party Add-Ons
      • Emporix Contentful App
      • Emporix Builder.io Plugin
      • Magnolia Emporix Connector
      • Zendesk Emporix Connect
    • Powered by AI
      • AI Smart Config
      • AI Smart Import
  • Core Commerce
    • Introduction
    • AI Assistance
    • Carts
    • Catalogs
    • Categories
    • Coupons
    • Customer Management
      • Approvals
      • Assisted Buying
      • Customer Groups
      • Customer Segments
    • Data Localization
    • Delivery Cycle Management
    • Mixin Schemas
    • Media Management
    • Orders
      • Shared Orders
    • Pricing
      • Pricing (Legacy)
    • Products
      • Availability, location, and stock levels
      • Brands
      • Labels
    • Quotes
    • Returns
    • Reward Points Management
    • Sites
    • Tax Classes
      • Tax classes (Legacy)
    • Measurement Units
  • Management Dashboard
    • Introduction
    • Customer Management
      • Companies
      • Customers
      • Groups
      • Segments
      • Coupons
    • Quotes
      • Quotes
      • Status Codes
    • Orders
      • Orders
      • SEPA
      • Returns
    • Catalogs
      • Catalogs
      • Categories
    • Products
      • Products
      • Product Templates
      • Labels
      • Suppliers
      • Brands
      • AI for a Product Description
    • Pricing
      • Price Models
      • Price Lists
    • Settings
      • Sites
      • Shipping Zones and Methods
      • Delivery Times
      • Units
      • Tax
      • Countries
      • Currencies
      • Languages
      • System Preferences
      • Custom Entities
      • Mixin Schemas
    • Administration
      • Users and Groups
      • Extensions
      • API Statistics
      • Webhooks
    • Extensions
    • Custom Instances
  • Additional Resources
    • Glossary
    • Videos
    • Emporix Community
Powered by GitBook
LogoLogo

Resources

  • Emporix.com
  • Developer Policy
  • Terms of Use

Find us

  • LinkedIn

© 2025 Emporix. All Rights Reserved.

On this page
  • Purpose
  • Features
  • Overview
  • Cart merging

Was this helpful?

Export as PDF
  1. Core Commerce

Carts

Carts are one of the core concepts of online commerce.

PreviousAI AssistanceNextCatalogs

Last updated 1 month ago

Was this helpful?

Here you can find an overview of the Emporix carts concept, along with its features and benefits.

  • Looking for code tutorials? Check out the .

  • Looking for API reference? Check out the in the Emporix API Reference.

Purpose

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.

Features

The Emporix carts concept introduces a set of features that make cart management easier:

Feature
Description

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.

Overview

The following section provides more information on cart management features in the Emporix e-commerce system.

Cart merging

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.

Conflict
Approach of the merging functionality

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.

Cart merging
ℹ️
⚠️
⚠️
Cart Service guide
Cart Service