Ecom:Order.Referrer

Version: - string  

Summary

Returns a reference URL for the order, i.e. another webpage.

Settings

The value is generated automatically.

Remarks

The reference is visible under Order > Miscellaneous tab > Reference.

Examples

Outputting the template tag

@GetString("Ecom:Order.Referrer")

Check if tag has a value

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

Assign tag to a value for later use

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

Outputting the template tag

<!--@Ecom:Order.Referrer-->

Check if string has a value

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