Ecom:CustomerCenter.Search.ToAmount

Version: - string  

Summary

Returns the current "to" - amount.

Settings

The value is based on the user input in the "To" field.

Remarks

An input field must be defined in the form with the tag as the field value.

Examples

Outputting the template tag

@GetString("Ecom:CustomerCenter.Search.ToAmount")

Check if tag has a value

@if(!string.IsNullOrWhiteSpace(GetString("Ecom:CustomerCenter.Search.ToAmount"))) { @* Tag has value, so let's do something useful here. *@ }

Assign tag to a value for later use

@{ string storedTag = GetString("Ecom:CustomerCenter.Search.ToAmount"); }

Outputting the template tag

<!--@Ecom:CustomerCenter.Search.ToAmount-->

Check if string has a value

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