Ecom:Order.SavedCardName

Version: - string  

Summary

Returns the name of the credit card that is saved during checkout.

Settings

The value is generated automatically.

Examples

Outputting the template tag

@GetString("Ecom:Order.SavedCardName")

Check if tag has a value

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

Assign tag to a value for later use

@{ string storedTag = GetString("Ecom:Order.SavedCardName"); }

Outputting the template tag

<!--@Ecom:Order.SavedCardName-->

Check if string has a value

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