Ecom:Product:Area.ID

Version: - integer  

Summary

Returns the ID of the current website.

Settings

The value is generated automatically.

Examples

Outputting the template tag

@GetInteger("Ecom:Product:Area.ID")

Check if tag has a value

@if(!int.IsNullOrWhiteSpace(GetInteger("Ecom:Product:Area.ID"))) { @* Tag has value, so let's do something useful here. *@ }

Assign tag to a value for later use

@{ int storedTag = GetInteger("Ecom:Product:Area.ID"); }

Outputting the template tag

<!--@Ecom:Product:Area.ID-->

Check if integer has a value

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