Skip to main content

Pricing Plugins

Pricing plugins calculate prices at different levels of the order. They run in a chain based on their orderIndex, with lower values running first.

Product Pricing

Calculate prices when products are queried or added to cart.

Adapter KeyOrderDescription
shop.unchained.pricing.product-price0Base catalog price
shop.unchained.pricing.product-price-options1Add-on option prices
shop.unchained.pricing.rate-conversion10Currency conversion
shop.unchained.pricing.product-discount30Apply discounts
shop.unchained.pricing.product-swiss-tax80Swiss VAT
shop.unchained.pricing.product-round90Round prices

Delivery Pricing

Calculate shipping and handling fees.

Adapter KeyOrderDescription
shop.unchained.pricing.delivery-free0Zero-cost delivery
shop.unchained.pricing.delivery-swiss-tax80Swiss VAT on delivery

Payment Pricing

Calculate payment processing fees.

Adapter KeyOrderDescription
shop.unchained.pricing.payment-free0Zero-cost payment

Order Pricing

Aggregate prices into order totals.

Adapter KeyOrderDescription
shop.unchained.pricing.order-items0Sum product totals
shop.unchained.pricing.order-delivery10Add delivery fees
shop.unchained.pricing.order-payment10Add payment fees
shop.unchained.pricing.order-items-discount30Items-only discounts
shop.unchained.pricing.order-discount40Full order discounts
shop.unchained.pricing.order-round90Round order totals

Discount Adapters

Define discount rules and coupon codes.

Adapter KeyDescription
shop.unchained.discount.100-off100 CHF off coupon
shop.unchained.discount.half-priceAuto 50% for tagged users
shop.unchained.discount.half-price-manual50% off coupon

Creating Custom Pricing Plugins

See Product Pricing, Delivery Pricing, Payment Pricing, and Order Discounts for creating custom pricing adapters.