Price tag extensions

Price tag extensions provide a way formating price values. Price tag extensions are currently only available for tags where this is explicitly stated.

The Dynamicweb eCommerce allows price tags to be extended, providing alternate price formats.
The extension is added to the normal tag name as exemplified below: 

The tag Ecom:Product.Price returns the price value "EUR 2,500.50".

The extended price tag Ecom:Product.Price.Currency.Code returns "EUR".

The following price tag extensions are available wherever indicated:

Extension

Description

*.Price

Returns the price without formatting, e.g. "1000,00"

*.PricePIP

Returns the price in smallest unit, e.g. "100000"

*.PriceFormatted

Returns the price with formatting, e.g. "1000,00 kr."

*.PriceWithVAT

Returns the price including VAT, e.g. "1000,00" (doesn't render the last 0 number in decimals. Use the *.PriceWithVATFormatted extension). 

*.PriceWithVAT.Value

Returns the price including VAT in double format

*.PriceWithVATFormatted

Returns the formatted price including VAT , e.g. "1000,00 kr."

*.PriceWithoutVAT

Returns the price excluding VAT, e.g. "800,00"

*.PriceWithoutVAT.Value

Returns the price excluding VAT in double format

*.PriceWithoutVATFormatted

Returns the formatted price excluding VAT, e.g. "800,00 kr."

*.Price.VAT

Returns the VAT amount , e.g. "200,00"

*.Price.VAT.Value

Returns the VAT amount in double format

*.Price.VATFormatted

Returns the VAT amount with formatting, e.g. "200,00 kr."

*.Price.VATPercent

Returns the VAT percent, e.g. "25"

*.Price.VATPercentFormatted

Returns the VAT percent with formatting, e.g. "25%"

*.Price.VATRoundedFormatted

Returns VAT amount rounded and formatted

*.Currency

Returns the name of the currency, e.g. "Euro"

*.Currency.Code

Returns the currency code according to the ISO 4217 standard, e.g. "EUR"

*.Currency.IsDefault

Returns true if the currency is the default currency and false otherwise.

*.Currency.Name

Returns the name of the currency, e.g. Danish kroner.

*.Currency.PayGatewayCode

Returns the currency number according to the ISO 4217 standard, e.g. "978"

*.Currency.Symbol

Returns the symbol of the currency, e.g. "€"

*.Currency.SymbolPlace

Returns the symbol of the currency

*.Currency.Rate

Returns the rate of the currency.

*.Currency.IntegerSeperator

Returns the integer seperator of the price.

*.Currency.DecimalSeperator

Returns the decimal seperator of the price.

*.CurrencyName

Returns the same as *.Currency.Name

*.CurrencyRate

Returns the same as *.Currency.Rate

*.CurrencyCode

Returns the same as *.Currency.Code

The values regarding the currency are dependent of the currency settings. (eCommerce > Configuration > Currency)