Ecom:Product.Form.Multi.HiddenFields

Version: -  

Summary

Returns the form input fields (product ID, variant ID, unit ID, loop counter).

Settings

The value is generated automatically.

Examples

Outputting the template tag

@GetObject("Ecom:Product.Form.Multi.HiddenFields")

Check if tag has a value

@if(!var.IsNullOrWhiteSpace(GetObject("Ecom:Product.Form.Multi.HiddenFields"))) { @* Tag has value, so let's do something useful here. *@ }

Assign tag to a value for later use

@{ var storedTag = GetObject("Ecom:Product.Form.Multi.HiddenFields"); }

Outputting the template tag

<!--@Ecom:Product.Form.Multi.HiddenFields-->

Check if object has a value

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