Ucommerce
  • Ucommerce Next Gen
    • Getting Started
      • Prerequisites
      • Licensing
      • Ucommerce Templates
      • Headless Template
      • MVC Template
    • Headless
      • Postman Collection
      • Headless API Authentication
        • Token endpoint - Authorization Header
        • Authorization Scopes
        • Refreshing the Access Token
      • Reference
        • Cart
        • Cart / Order Line Items
        • Shipment
        • Billing
        • Promotion Codes
        • Price Groups
        • Payment Methods
        • Countries
        • Shipping Methods
        • Catalogs
        • Cart Custom Properties
        • Line Item Custom Properties
        • Orders
        • Views for Cart modifying operations
      • Custom Headless APIs
      • Error Handling
      • Pagination
      • Deprecation
    • Backoffice Authentication
      • Microsoft Entra ID Example
      • Auth0 Authentication Example
    • Definitions
      • What is a Definition
    • Search and indexing
      • Configuration
      • Indexing
        • Index Definitions
        • Facets
        • Indexing Prices
        • Suggestions
        • Custom Data
      • Searching
    • Payment Providers
      • Stripe Provider Integration
      • Implementing a custom payment provider
    • Data Import
    • Miscellaneous
      • Media
      • Price Group Inheritance
      • Price Group Criteria
      • Soft Deletion Of Entities
      • Logging
      • OpenTelemetry
    • Extensions
      • Extending Pipelines
        • Order Processing Pipelines
        • Checkout Pipelines
      • Changing Service Behavior
        • Images
        • Content
      • Custom Headless APIs
      • Extend the Backoffice
        • Custom UI Components
      • Custom Editor UI
      • Custom Promotion Criteria
      • Custom Price Group Criteria
    • How-To
      • Migrate from Classic
        • Common database issues
      • Entities from code
        • Bootstrapping data on startup
        • Product Definitions & Fields
      • Discover pipelines and their tasks
      • Executing a pipeline
    • Integrations
      • Umbraco Media Delivery API
      • App Slices
        • Product Picker
  • Release Notes
  • Contact Us
Powered by GitBook
On this page
  • Common Use Cases
  • Segment-based Pricing
  • Shared Pricing with Different Tax Rates
  • Limitations

Was this helpful?

  1. Ucommerce Next Gen
  2. Miscellaneous

Price Group Inheritance

Starting with version 10.5, a price group can inherit from another price group. This feature enables a derived price group to automatically adopt all product prices set in its base price group. If a specific product price is defined in the derived price group, this price will take precedence when working with that price group. Because product prices are adopted, a derived price group is locked to the same currency as its base price group.

If this capability is not needed, it's recommended to avoid creating derived price groups.

Common Use Cases

Segment-based Pricing

Derived price groups are handy for assigning different prices for a subset of products to certain customers, organizations, or customer groups while keeping the default price for all remaining products. Simply define all base prices in a base price group. Then let the segment-specific price groups derive from the base and set only the segment-specific prices on the corresponding price groups. This way all segment-specific price groups will inherit all base prices for products not defined directly in it.

Shared Pricing with Different Tax Rates

Derived price groups are also handy in e.g. the US/EU where the currency and unit price might be the same, but the sales tax/VAT varies by state/country. Simply define all prices in a base price group and create a derived price group for every state/country with the right tax rate for that state/country. This way customers in e.g. CA or Germany will see prices from the base price group, but with the correct tax applied.

Limitations

The default limit for the depth of a price group inheritance tree is 10. To change this, set the Ucommerce:Core:MaxPriceGroupHierarchyDepth setting in your app configuration.

Be careful with deeply nested price group trees. It can significantly impact performance. The feature is not designed for extensive hierarchical depth.

PreviousMediaNextPrice Group Criteria

Last updated 2 months ago

Was this helpful?