Skip to main content

Product Catalog Price

Adds the price from the product catalog to the pricing calculation, preserving its isNetPrice and isTaxable flags. This is typically the first adapter in the product pricing chain.

Included in Base Preset

Registered automatically by registerBasePlugins() / registerAllPlugins().

Registration​

import { pluginRegistry } from '@unchainedshop/core';
import { ProductPricePlugin } from '@unchainedshop/plugins/pricing/product-catalog-price';

pluginRegistry.register(ProductPricePlugin);

How It Works​

  1. Looks up the product price for the given country, currency, and quantity
  2. Adds the item total (price × quantity) to the calculation
  3. For bundle products, calculates prices from bundled product prices if no direct price exists

Bundle Product Support​

If a product is a BUNDLE_PRODUCT and has no direct price configured, the adapter iterates through product.bundleItems and sums up the prices of all bundled products.

Adapter Details​

PropertyValue
Keyshop.unchained.pricing.product-price
Version1.0.0
Order Index0
Sourcepricing/product-catalog-price