Ecom:Product.PointPrice
Version: - doubleSummary
Returns the price in points for the product.
Settings
The value is based on the Points input field for a product.
(Ecommerce > Product Catalog > Product group > Product > Details > Loyallty points)
Examples
Outputting the template tag
@GetDouble("Ecom:Product.PointPrice")
Check if tag has a value
@if(!double.IsNullOrWhiteSpace(GetDouble("Ecom:Product.PointPrice"))) {
@* Tag has value, so let's do something useful here. *@
}
Assign tag to a value for later use
@{
double storedTag = GetDouble("Ecom:Product.PointPrice");
}
Outputting the template tag
<!--@Ecom:Product.PointPrice-->
Check if double has a value
<!--@If Defined(@Ecom:Product.PointPrice)-->
Let's output this tag here: <strong><!--@Ecom:Product.PointPrice--></strong>
<!--@EndIf(@Ecom:Product.PointPrice)-->