Extend B2B Store Pricing Rules with Custom Context Definitions

Customize pricing rules for complex business scenarios by integrating custom fields into your pricing procedure. Extend the Commerce cart context definition to inherit standard components, such as nodes, attributes, and mappings. Tailor the pricing procedure by adding account and product attributes to the extended context definition.

Where: This change applies to B2B Commerce in Enterprise, Unlimited, and Developer editions.

How: From your store settings, on the Pricing tab, turn on Pricing Context Extension Services. Then, from Setup, find and select Context Definitions. On the Standard Definitions tab, select CommerceCartContextDefinition and then click Extend.