Skip to content
For the complete documentation index, see llms.txt. This page is also available as Markdown.

Personalized Commerce

Learn how customer segments and coupons create personalized storefront offers.

The B2B Commerce Frontend uses customer segments and coupons to provide personalized assortments and promotions. This example follows the merchant setup and the customer journey from signing in to applying a coupon at checkout.

Customer segments

Customer segments let merchants make selected products and categories available to specific customers. When a segment member signs in, the storefront displays Assigned Products instead of All Products. The customer can browse only the products and categories assigned to their segment.

If a segment member opens a direct link to the product details page of a product outside their assigned assortment, the storefront returns a 404 page.

Prerequisites

  • The customer account, products, and categories exist for the same site.

  • If the customer belongs to multiple companies, you add them to the segment for the same company they will use in the storefront.

Configure a customer segment

1

Create the segment

In the Management Dashboard, go to Customer Management → Segments and choose Create New Segment. Choose the site, enter a segment name, and turn on the Active toggle. Choose Save.

Active Loyalty customers segment details
Creating and activating the Loyalty customers segment
2

Add segment members

Open the Members tab and choose Add New Member. Choose the customers who receive the personalized offer, choose Add Member, and choose Save.

Customers assigned as segment members
Adding customers to the Loyalty customers segment
3

Assign products and categories

Open the Products/Categories tab. Choose the products and categories that belong to the personalized offer, then choose Save.

Products and categories assigned to a segment
Assigning products and categories to the segment

Coupons

Customers can apply coupons during checkout. The coupon configuration determines which products and categories receive the discount. Coupons restricted to selected customer segments can be redeemed only by customers who belong to those segments.

Configure a segment coupon

1

Create a coupon for the segment

Go to Customer Management → Coupons and choose Add new coupon. In the General tab, enter the coupon name and code. In the Type tab, choose Percent and set the discount value to 10%.

In the Rules tab, set the validity period and other required conditions. Under Applies To, choose Customer segment(s) and add the Loyalty customers segment. Choose Save.

Coupon rules restricted to a customer segment
Creating a 10% discount coupon for the Loyalty customers segment
2

Confirm the coupon assignment

Return to the Loyalty customers segment and open the Coupons tab.

Coupon assigned to the Loyalty customers segment
Confirming the 10% discount coupon assignment

Redeem the segment coupon

1

Sign in and add products to the cart

Sign in to the B2B Commerce Frontend as a customer who belongs to the Loyalty customers segment. Open Assigned Products, browse the segment assortment, then add eligible products to the cart.

Segment products in the customer cart
Adding products from the personalized offer to the cart
2

Apply the coupon at checkout

Continue to checkout. In the Promo Code field, enter the coupon code assigned to the segment and choose Apply.

The Order Overview displays the applied coupon and the discount. The customer can now accept the terms and conditions and choose Submit Order.

Segment coupon applied in the order overview
Applying the segment coupon at checkout

The customer receives the discount because they belong to the segment and the cart contains products covered by the coupon. After the order is submitted, its details in Order History show the applied coupon and its effect on the order total.

Product prices can change when sale prices, quantity tiers, currency conversion, or tax settings apply. If you customize the storefront, consider showing both the original and effective product price so customers can understand the difference. For the relevant fields and calculation logic, see Price Matching.

For complete configuration details, see Segments and Coupons in the Management Dashboard documentation.

Last updated

Was this helpful?