Ecom:Product:Stock.DeliveryText
Version: - stringSummary
Returns a text or number describing the time of delivery of the product.
Settings
The value is based on Stock status selection for the product and the Delivery time field for the stock state.
(Management Center - Ecommerce - Orders - Stock state - Stock state - Status)
Examples
Outputting the template tag
@GetString("Ecom:Product:Stock.DeliveryText")
Check if tag has a value
@if(!string.IsNullOrWhiteSpace(GetString("Ecom:Product:Stock.DeliveryText"))) {
@* Tag has value, so let's do something useful here. *@
}
Assign tag to a value for later use
@{
string storedTag = GetString("Ecom:Product:Stock.DeliveryText");
}
Outputting the template tag
<!--@Ecom:Product:Stock.DeliveryText-->
Check if string has a value
<!--@If Defined(@Ecom:Product:Stock.DeliveryText)-->
Let's output this tag here: <strong><!--@Ecom:Product:Stock.DeliveryText--></strong>
<!--@EndIf(@Ecom:Product:Stock.DeliveryText)-->