Ecom:CustomerCenter.SortBy[orderfield].Desc

Version: - string  

Summary

Returns a button for sorting order details descending in the order list.

Settings

The value is generated automatically.

Remarks

It is possible to sort on all order fields, e.g. Ecom:CustomerCenter.SortByDate.Desc or Ecom:CustomerCenter.SortByID.Desc.

Examples

Outputting the template tag

@GetString("Ecom:CustomerCenter.SortBy[orderfield].Desc")

Check if tag has a value

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

Assign tag to a value for later use

@{ string storedTag = GetString("Ecom:CustomerCenter.SortBy[orderfield].Desc"); }

Outputting the template tag

<!--@Ecom:CustomerCenter.SortBy[orderfield].Desc-->

Check if string has a value

<!--@If Defined(@Ecom:CustomerCenter.SortBy[orderfield].Desc)--> Let's output this tag here: <strong><!--@Ecom:CustomerCenter.SortBy[orderfield].Desc--></strong> <!--@EndIf(@Ecom:CustomerCenter.SortBy[orderfield].Desc)-->