This feature is a Beta Service. You may opt-in to try this service at your sole discretion. Any use of this service is subject to the Customer Agreements and User Terms for Products and Services.


Store-specific Price Books and Promotions

To activate store-specific price books and promotions when the shopper sets their local store, follow the steps listed below:

After enabling the Shopper Context feature in Business Manager:

  1. Call Shopper Context PUT API to set the shopper context.
  2. Set the qualifier as key and value pair, making sure you use the same qualifier name as in the assignment.
    • customQualifiers: Set when you want to trigger pricing and promotion experiences using a dynamic session-based customer group.
    • assignmentQualifiers - Set when using the assignment framework. Can be used to trigger pricing and promotion experiences on pages such as Products, Product Search, Basket, and Shipping method. Be sure to use the same qualifier name as in the assignment.

Create the assignments using the import and export feature of Business Manager.

  1. Log in to the Business Manager, and go to Merchant Tools > Online Marketing > Import & Export.

ShopperContextToggle

  1. Use the following sample assignment.xml file to import the assignment into B2C Commerce.

Shopper Context | B2C Commerce API | Salesforce Developers

Shopper Login (SLAS) | B2C Commerce API | Salesforce Developers

Salesforce Commerce Cloud Infocenter