SavedCards
Summary
The SavedCards
loop lets you display various information about saved card.
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:CustomerCenter.SavedCards.DeleteUrl
Returns URL to delete the saved card.
@GetString("Ecom:CustomerCenter.SavedCards.DeleteUrl")
Ecom:CustomerCenter.SavedCards.MessagesUrl
Returns message URL of the saved card.
@GetString("Ecom:CustomerCenter.SavedCards.MessagesUrl")
Ecom:CustomerCenter.SavedCards.ToggleDefaultUrl
Returns URL to toggle to mark the saved card as default.
@GetString("Ecom:CustomerCenter.SavedCards.ToggleDefaultUrl")
Ecom:SavedCard.CardType
Returns card type of the saved card.
@GetString("Ecom:SavedCard.CardType")
Ecom:SavedCard.Identifier
Returns identifier of the saved card.
@GetString("Ecom:SavedCard.Identifier")
Ecom:SavedCard.IsDefault
Returns True if the saved card is default.
@GetBoolean("Ecom:SavedCard.IsDefault")
Ecom:SavedCard.Payment
Returns payment the card was created with.
@GetString("Ecom:SavedCard.Payment")