Find answers about implementation, virtual try-on, product visualization, integrations, analytics, and account support.
Multi-Cart Bundling Specification: SFCC
Overview
Multi-SKU bundling simplifies the user experience by enabling users to add a stack of multiple products to their cart with a single click.
.avif)
.avif)
Requirements
To set up multi-SKU cart bundling for SFCC-based storefront, it’s typically requested to:
- enable access to SFCC OCAPI endpoint for Tangiblee
- provide client_id for API requests
- share API version and siteID
How it works
Tangiblee will use 2 API endpoints.
1. API to retrieve product variants by product id (or product slug):
a. variation id;
b. price;
c. in stock availability;
d. option (size, color, etc)
s
<pre><code>
GET: https://<client.domain>/s/Sites-en-GBSite/dw/shop/v17_8/products/<product_id>?client_id=<client_id>&expand=availability,prices,variations>
</pre></code>(where product_id is a master product id and client_id is provided by client)
- Push selected items to cart one-by-one by the variation id:
The data is passed in the Request Body to the ATC endpoint:
As an option, we may also send a request to add selected products to the cart all at once using pidsObj:
References
CORS enabling: Salesforce Commerce Cloud Infocenter
AddToBag Controller: https://salesforcecommercecloud.github.io/b2c-dev-doc/docs/current/sfrajsdoc/js/server/app_storefront_base_cartridge_controllers_Cart.js.html
SFCC cart bundling, OCAPI, multi SKU add to cart, Salesforce Commerce Cloud, site ID, bundled checkout
Implement Tangiblee multi-cart bundling on Salesforce Commerce Cloud. Covers OCAPI requirements, cart payload structure, and SFCC-specific config for bundled SKU add-to-cart.