Ecom:Order.Delivery.isPickupPoint
Version: - booleanSummary
Returns True if a delivery point is selected in the current checkout.
Settings
The value is generated automatically.
Remarks
Related to delivery providers have service points-parsel shops.
Examples
Outputting the template tag
@GetBoolean("Ecom:Order.Delivery.isPickupPoint")
Check if tag has a value
@if(!bool.IsNullOrWhiteSpace(GetBoolean("Ecom:Order.Delivery.isPickupPoint"))) {
@* Tag has value, so let's do something useful here. *@
}
Assign tag to a value for later use
@{
bool storedTag = GetBoolean("Ecom:Order.Delivery.isPickupPoint");
}
Outputting the template tag
<!--@Ecom:Order.Delivery.isPickupPoint-->
Check if boolean has a value
<!--@If Defined(@Ecom:Order.Delivery.isPickupPoint)-->
Let's output this tag here: <strong><!--@Ecom:Order.Delivery.isPickupPoint--></strong>
<!--@EndIf(@Ecom:Order.Delivery.isPickupPoint)-->