Ecom:CustomerCenter.Search.FromAmount

Version: - string  

Summary

Returns the current "from" - amount.

Settings

The value is based on the user input in the "From" 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.FromAmount")

Check if tag has a value

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

Assign tag to a value for later use

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

Outputting the template tag

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

Check if string has a value

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