Ecom:Cart.LoyaltyPointBalance.Price
Version: 9.10.0 stringSummary
Returns amount of loyalty points in currency related to user currently logged.
Settings
The amount is related to currency rates set in 'Settings-Ecommerce-Internalization-Currencies'.
Examples
Outputting the template tag
@GetString("Ecom:Cart.LoyaltyPointBalance.Price")
Check if tag has a value
@if(!string.IsNullOrWhiteSpace(GetString("Ecom:Cart.LoyaltyPointBalance.Price"))) {
@* Tag has value, so let's do something useful here. *@
}
Assign tag to a value for later use
@{
string storedTag = GetString("Ecom:Cart.LoyaltyPointBalance.Price");
}
Outputting the template tag
<!--@Ecom:Cart.LoyaltyPointBalance.Price-->
Check if string has a value
<!--@If Defined(@Ecom:Cart.LoyaltyPointBalance.Price)-->
Let's output this tag here: <strong><!--@Ecom:Cart.LoyaltyPointBalance.Price--></strong>
<!--@EndIf(@Ecom:Cart.LoyaltyPointBalance.Price)-->