Skip to main content

Order Items Pricing

Sums up all product item prices and taxes from order positions into the order total. This is the foundation of order-level pricing.

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/order-items';

How It Works

  1. Iterates through all order positions
  2. For each position, creates a ProductPricingSheet from the calculation
  3. Sums the gross price and tax amounts
  4. Adds the totals to the order pricing sheet

Adapter Details

PropertyValue
Keyshop.unchained.pricing.order-items
Version1.0.0
Order Index0
Sourcepricing/order-items.ts