1. Pricing transparency

Calculating a cart line list price

Version:

The cart line list price is calculated in the IPopulateValidateCartPipeline plugin.

The following messages are generated when calculating the cart line list price:

Message

Circumstance

CartItem.ListPrice<=SellableItem.ListPrice: Price={line.UnitListPrice.AsCurrency()}

The list price is retrieved from the SellableItem.

CartItem.ListPrice<=SellableItem.Variation.ListPrice: Price={line.UnitListPrice.AsCurrency()}

The SellableItem has a variation and the list pricing is retrieved from the variation.

If you have suggestions for improving this article, let us know!