Version: - string  


Returns the track & trace URL from the Shipping provider.


The value is generated automatically. The URL is based on the track and trace input fields for the specific order.

(Ecommerce - Orders - Order - Details - Track & Trace - Track & Trace section)


Outputting the template tag


Check if tag has a value

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

Assign tag to a value for later use

@{ string storedTag = GetString("Ecom:Order.TrackTraceURL"); }

Outputting the template tag


Check if string has a value

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