Ecom:Cart.Paymethod.Icon.Clean
Version: - stringSummary
Returns an URL for the payment method icon.
Settings
The value is based on the Icon input field under the Payment settings.
(Management Center - eCommerce settings > Orders > Payment > Payment method > General tab - Icon)
Examples
Outputting the template tag
@GetString("Ecom:Cart.Paymethod.Icon.Clean")
Check if tag has a value
@if(!string.IsNullOrWhiteSpace(GetString("Ecom:Cart.Paymethod.Icon.Clean"))) {
@* Tag has value, so let's do something useful here. *@
}
Assign tag to a value for later use
@{
string storedTag = GetString("Ecom:Cart.Paymethod.Icon.Clean");
}
Outputting the template tag
<!--@Ecom:Cart.Paymethod.Icon.Clean-->
Check if string has a value
<!--@If Defined(@Ecom:Cart.Paymethod.Icon.Clean)-->
Let's output this tag here: <strong><!--@Ecom:Cart.Paymethod.Icon.Clean--></strong>
<!--@EndIf(@Ecom:Cart.Paymethod.Icon.Clean)-->