IsProduct

Version: 9.9.0 boolean  

Summary

Returns False if this a valid variant combination.

Settings

The value is generated automatically.

Examples

Outputting the template tag

@GetBoolean("IsProduct")

Check if tag has a value

@if(!bool.IsNullOrWhiteSpace(GetBoolean("IsProduct"))) { @* Tag has value, so let's do something useful here. *@ }

Assign tag to a value for later use

@{ bool storedTag = GetBoolean("IsProduct"); }

Outputting the template tag

<!--@IsProduct-->

Check if boolean has a value

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