Ecom:SavedCard.CardType

Version: - string  

Summary

Returns card type of the saved card.

Settings

The value is generated automatically.

Examples

Outputting the template tag

@GetString("Ecom:SavedCard.CardType")

Check if tag has a value

@if(!string.IsNullOrWhiteSpace(GetString("Ecom:SavedCard.CardType"))) { @* Tag has value, so let's do something useful here. *@ }

Assign tag to a value for later use

@{ string storedTag = GetString("Ecom:SavedCard.CardType"); }

Outputting the template tag

<!--@Ecom:SavedCard.CardType-->

Check if string has a value

<!--@If Defined(@Ecom:SavedCard.CardType)--> Let's output this tag here: <strong><!--@Ecom:SavedCard.CardType--></strong> <!--@EndIf(@Ecom:SavedCard.CardType)-->