Skip to main content

Product Catalog Price

Adds the gross price from the product catalog to the pricing calculation. This is typically the first adapter in the product pricing chain.

Included in Base Preset

This plugin is part of the base preset and loaded automatically. Using the base preset is strongly recommended, so explicit installation is usually not required.

Installation

import '@unchainedshop/plugins/pricing/product-catalog-price';

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.ts