Version: - string  


Returns the track & trace number for the order


The value is based on the Track & Trace number input field for the specific order.

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


This tag is obsolete and replaced by Ecom:Order.TrackTraceURL.

The old track and trace number field can be enabled in Management center - Ecommerce settings - Advanced configuration - General - Track & Trace - Show old track and trace field.


Outputting the template tag


Check if tag has a value

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

Assign tag to a value for later use

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

Outputting the template tag


Check if string has a value

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