eCom:Related.WhatAboutTheseProducts.Count

Version: - integer  

Summary

Returns the number products in the WhatAboutTheseProducts list.

Settings

The value is generated automatically.

Examples

Outputting the template tag

@GetInteger("eCom:Related.WhatAboutTheseProducts.Count")

Check if tag has a value

@if(!int.IsNullOrWhiteSpace(GetInteger("eCom:Related.WhatAboutTheseProducts.Count"))) { @* Tag has value, so let's do something useful here. *@ }

Assign tag to a value for later use

@{ int storedTag = GetInteger("eCom:Related.WhatAboutTheseProducts.Count"); }

Outputting the template tag

<!--@eCom:Related.WhatAboutTheseProducts.Count-->

Check if integer has a value

<!--@If Defined(@eCom:Related.WhatAboutTheseProducts.Count)--> Let's output this tag here: <strong><!--@eCom:Related.WhatAboutTheseProducts.Count--></strong> <!--@EndIf(@eCom:Related.WhatAboutTheseProducts.Count)-->