Ecom:Product.CanBuyForPoints

Version: - double  

Summary

Returns True if the product can bought with loyalty points.

Settings

The value is generated automatically.

Remarks

Returns False otherwise.

Examples

Outputting the template tag

@GetDouble("Ecom:Product.CanBuyForPoints")

Check if tag has a value

@if(!double.IsNullOrWhiteSpace(GetDouble("Ecom:Product.CanBuyForPoints"))) { @* Tag has value, so let's do something useful here. *@ }

Assign tag to a value for later use

@{ double storedTag = GetDouble("Ecom:Product.CanBuyForPoints"); }

Outputting the template tag

<!--@Ecom:Product.CanBuyForPoints-->

Check if double has a value

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