Ecom:Order.IP

Version: - string  

Summary

Returns the IP address from where the order was placed.

Settings

The value is generated automatically.

Examples

Outputting the template tag

@GetString("Ecom:Order.IP")

Check if tag has a value

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

Assign tag to a value for later use

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

Outputting the template tag

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

Check if string has a value

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