Ecom:CustomerCenter.MyOrders

Version: - string  

Summary

Returns a button for navigating to My orders.

Settings

The value is generated automatically based on the My orders menu text settings under the paragraph settings.

(Page > Paragraph > Module tab > Menu texts panel).

Examples

Outputting the template tag

@GetString("Ecom:CustomerCenter.MyOrders")

Check if tag has a value

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

Assign tag to a value for later use

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

Outputting the template tag

<!--@Ecom:CustomerCenter.MyOrders-->

Check if string has a value

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