GiftCards
Summary
The GiftCards loop lets you display all the gift cards bought during the checkout.
Examples
Basic usage
Notice the use of @item.GetValue to get data from the loop variable.
If you just write @GetValue, the data will be taken from outside the loop.
Similarly, you have to use @item.GetLoop to use loops inside a loop.
Check if the loop exists
Example of usage
The following general example illustrates how to use a loop construct.
Check if the loop exists
Available tags
Ecom:Order.GiftCard.Amount
Returns amount of the gift card
@GetString("Ecom:Order.GiftCard.Amount")
Ecom:Order.GiftCard.Amount.Currency
Returns the name of the currency, e.g. "Euro"
@GetString("Ecom:Order.GiftCard.Amount.Currency")
Ecom:Order.GiftCard.Amount.Currency.Code
Returns the currency code according to the ISO 4217 standard, e.g. "EUR"
@GetString("Ecom:Order.GiftCard.Amount.Currency.Code")
Ecom:Order.GiftCard.Amount.Currency.DecimalSeparator
Returns the decimal seperator of the amount
@GetString("Ecom:Order.GiftCard.Amount.Currency.DecimalSeparator")
Ecom:Order.GiftCard.Amount.Currency.IntegerSeparator
Returns the integer seperator of the amount.
@GetString("Ecom:Order.GiftCard.Amount.Currency.IntegerSeparator")
Ecom:Order.GiftCard.Amount.Currency.IsCurrent
Returns true if the currency is the current currency and false otherwise.
@GetBoolean("Ecom:Order.GiftCard.Amount.Currency.IsCurrent")
Ecom:Order.GiftCard.Amount.Currency.IsDefault
Returns true if the currency is the default currency and false otherwise.
@GetBoolean("Ecom:Order.GiftCard.Amount.Currency.IsDefault")
Ecom:Order.GiftCard.Amount.Currency.Name
Returns the name of the currency, e.g. Danish kroner.
@GetString("Ecom:Order.GiftCard.Amount.Currency.Name")
Ecom:Order.GiftCard.Amount.Currency.PayGatewayCode
Returns the currency number according to the ISO 4217 standard, e.g. "978"
@GetString("Ecom:Order.GiftCard.Amount.Currency.PayGatewayCode")
Ecom:Order.GiftCard.Amount.Currency.Rate
Returns the rate of the currency
@GetString("Ecom:Order.GiftCard.Amount.Currency.Rate")
Ecom:Order.GiftCard.Amount.Currency.Symbol
Returns the symbol of the currency, e.g. "€"
@GetString("Ecom:Order.GiftCard.Amount.Currency.Symbol")
Ecom:Order.GiftCard.Amount.Currency.SymbolPlace
Returns the symbol of the currency
@GetString("Ecom:Order.GiftCard.Amount.Currency.SymbolPlace")
Ecom:Order.GiftCard.Amount.CurrencyCode
Returns the same as *.Currency.Code
@GetString("Ecom:Order.GiftCard.Amount.CurrencyCode")
Ecom:Order.GiftCard.Amount.CurrencyName
Returns the same as *.Currency.Name
@GetString("Ecom:Order.GiftCard.Amount.CurrencyName")
Ecom:Order.GiftCard.Amount.CurrencyRate
Returns the same as *.Currency.Rate
@GetString("Ecom:Order.GiftCard.Amount.CurrencyRate")
Ecom:Order.GiftCard.Amount.IsInformative
Returns True if it is the informative
@GetBoolean("Ecom:Order.GiftCard.Amount.IsInformative")
Ecom:Order.GiftCard.Amount.IsZero
Returns True if the amount is zero
@GetBoolean("Ecom:Order.GiftCard.Amount.IsZero")
Ecom:Order.GiftCard.Amount.Price
Returns the price without formatting, e.g. "1000,00"
@GetPrice("Ecom:Order.GiftCard.Amount.Price")
Ecom:Order.GiftCard.Amount.PriceFormatted
Returns the price with formatting, e.g. "1000,00 kr."
@GetDouble("Ecom:Order.GiftCard.Amount.PriceFormatted")
Ecom:Order.GiftCard.Amount.PricePIP
Returns the price in smallest unit, e.g. "100000"
@GetString("Ecom:Order.GiftCard.Amount.PricePIP")
Ecom:Order.GiftCard.Amount.PriceWithoutVAT
Returns the price excluding VAT, e.g. "800,00"
@GetDouble("Ecom:Order.GiftCard.Amount.PriceWithoutVAT")
Ecom:Order.GiftCard.Amount.PriceWithoutVATFormatted
Returns the formatted price excluding VAT, e.g. "800,00 kr."
@GetDouble("Ecom:Order.GiftCard.Amount.PriceWithoutVATFormatted")
Ecom:Order.GiftCard.Amount.PriceWithVAT
Returns the price including VAT, e.g. "1000,00" (doesn't render the last 0 number in decimals. Use the *.PriceWithVATFormatted extension).
@GetDouble("Ecom:Order.GiftCard.Amount.PriceWithVAT")
Ecom:Order.GiftCard.Amount.PriceWithVATFormatted
Returns the formatted price including VAT , e.g. "1000,00 kr."
@GetDouble("Ecom:Order.GiftCard.Amount.PriceWithVATFormatted")
Ecom:Order.GiftCard.Amount.VAT
Returns the VAT amount , e.g. "200,00"
@GetDouble("Ecom:Order.GiftCard.Amount.VAT")
Ecom:Order.GiftCard.Amount.VATFormatted
Returns the VAT amount with formatting, e.g. "200,00 kr."
@GetDouble("Ecom:Order.GiftCard.Amount.VATFormatted")
Ecom:Order.GiftCard.Amount.VATPercent
Returns the VAT percent, e.g. "25"
@GetDouble("Ecom:Order.GiftCard.Amount.VATPercent")
Ecom:Order.GiftCard.Amount.VATPercentFormatted
Returns the VAT percent with formatting, e.g. "25%"
@GetDouble("Ecom:Order.GiftCard.Amount.VATPercentFormatted")
Ecom:Order.GiftCard.Code
Returns code of the gift card.
@GetString("Ecom:Order.GiftCard.Code")
Ecom:Order.GiftCard.ExpiryDate
Returns date of expiration the card.
@GetDate("Ecom:Order.GiftCard.ExpiryDate")
Ecom:Order.GiftCard.Name
Returns name of the gift card.
@GetString("Ecom:Order.GiftCard.Name")