Ecom:CustomerCenter.SavedCards
Version: - stringSummary
Returns a button for navigating to Saved cards.
Settings
The value is generated automatically based on the Saved cards menu text settings under the paragraph settings.
(Page > Paragraph > Module tab > Menu texts panel).
Examples
Outputting the template tag
@GetString("Ecom:CustomerCenter.SavedCards")
Check if tag has a value
@if(!string.IsNullOrWhiteSpace(GetString("Ecom:CustomerCenter.SavedCards"))) {
@* Tag has value, so let's do something useful here. *@
}
Assign tag to a value for later use
@{
string storedTag = GetString("Ecom:CustomerCenter.SavedCards");
}
Outputting the template tag
<!--@Ecom:CustomerCenter.SavedCards-->
Check if string has a value
<!--@If Defined(@Ecom:CustomerCenter.SavedCards)-->
Let's output this tag here: <strong><!--@Ecom:CustomerCenter.SavedCards--></strong>
<!--@EndIf(@Ecom:CustomerCenter.SavedCards)-->