Skip to main content

Org-Hierarchy Price Rules Integration

The OrgPriceRulesIntegrationPlugin bridges the Org-Hierarchy and Price Rules plugins. It lets a PriceList be scoped to a specific Company and lets that company carry a globalDiscount percentage that's layered over the calculator result.

Problem

Without this integration, company-specific pricing requires manually maintaining a CustomerGroup per company and keeping its membership in sync with the company's users — brittle when people join or leave. The integration removes that bookkeeping by attaching the scoping to the Company entity directly through a PriceListAssignment row, and by reading the company's globalDiscount at calculation time.

Exclusive to Vendure Platform

This page is part of the Vendure Platform documentation. Access requires a valid Vendure Platform license.