---
schema_version: "1"
id: c7b07eea88527bcb6b05b85d4ae9dccd4d33e39953366c9819fbf28cbed40507
title: Extend B2B Store Pricing Rules with Custom Context Definitions
collection: admin
version: current
locale: en-us
portal_url: https://docs.salesforce.com/admin/current/en-us/release-notes/260-0-0/rn_comm_pricing_context_extension.md
canonical_url: https://help.salesforce.com/s/articleView?id=release-notes.rn_comm_pricing_context_extension.htm&release=260&type=5
source_site: help.salesforce.com
content_type: documentation
content_hash: 3e5e5c98844b45971665105ddd857b95ef9dd8ae3f2f1af7cfe54eee117de32d
description: 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.
products:
  - Cross Cloud Packages Solutions
release: "260"
---
# 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**.

#### See Also

- [_Salesforce Help_: Extend B2B Store Pricing Context Definition](https://help.salesforce.com/s/articleView?id=commerce.comm_pricing_context_extension.htm&language=en_US)