Ecom:CustomerCenter.SavedCards.ToggleDefaultUrl

Version: - string  

Summary

Returns URL to toggle to mark the saved card as default.

Settings

The value is generated automatically.

Examples

Outputting the template tag

@GetString("Ecom:CustomerCenter.SavedCards.ToggleDefaultUrl")

Check if tag has a value

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

Assign tag to a value for later use

@{ string storedTag = GetString("Ecom:CustomerCenter.SavedCards.ToggleDefaultUrl"); }

Outputting the template tag

<!--@Ecom:CustomerCenter.SavedCards.ToggleDefaultUrl-->

Check if string has a value

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