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.
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
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
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.

Redeem the segment coupon
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.

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.
Last updated
Was this helpful?






