Ecom:Order.ShopID
Version: - stringSummary
Returns the ID of the shop for the order/cart.
Settings
The value is based on the Shop
input field under the Shopping Cart paragraph settings.
Examples
Outputting the template tag
@GetString("Ecom:Order.ShopID")
Check if tag has a value
@if(!string.IsNullOrWhiteSpace(GetString("Ecom:Order.ShopID"))) {
@* Tag has value, so let's do something useful here. *@
}
Assign tag to a value for later use
@{
string storedTag = GetString("Ecom:Order.ShopID");
}
Outputting the template tag
<!--@Ecom:Order.ShopID-->
Check if string has a value
<!--@If Defined(@Ecom:Order.ShopID)-->
Let's output this tag here: <strong><!--@Ecom:Order.ShopID--></strong>
<!--@EndIf(@Ecom:Order.ShopID)-->