#SET("Alternate", 1 - #Alternate)
#IF(#DEFINED(#Product))
#Product.OrderUnit.Name
#IF(#IsChanged)#ENDIF
|
#IF(#Name)#Name#ELSE#SKU#ENDIF
#IF(#Shop.IsProductNoVisible) {ItemNoShort}: #Product.Alias[slice:20,html]#ENDIF
#MENU("AdditionalProductInformation")
#INCLUDE(#Template)
#ENDMENU
#IF(#Shop.ProductLowOnStockAction == 1 AND #DEFINED(#Product.StockLevel) AND #Quantity NGT #Product.StockLevel AND NOT #Product.IsDeliveryTimeLonger) #Shop.ProductLongerDeliveryTimeText#ENDIF
#IF(#Product.IsDeliveryTimeLonger) #Shop.ProductLongerDeliveryTimeText#ENDIF
#IF(#IsLineItemProductBundle)
#WITH(#BundledProductContainer)
#LOOP(#LineItems)
#Quantity[float] #Product.OrderUnit.Name #Name
#ENDLOOP
#ENDWITH
#ELSE
#IF(#Product.SuperProduct)
(#WITH(#Product)#JOIN(", ",#VariationTypeValues)#LOCAL("AttributeValue",#GET(#Attribute.Alias))#Attribute.NameOrAlias#SPACE[0]: #AttributeValue.ValueOrAlias#ENDLOCAL#ENDJOIN#ENDWITH)
#ENDIF
#ENDIF
|
#IF(#Product.PriceQuantity == 1 OR #Product.PriceQuantity == 0 OR #Quantity == 0)
#BasePrice[money]
#ELSE
#FUNCTION("FORMAT",(#BasePrice * #Product.PriceQuantity), "money")
#ENDIF
#LOCAL("TempOrderUnit","")
#IF(#Product.OrderUnit.Abbreviation)#SET("TempOrderUnit",#Product.OrderUnit.Abbreviation)
#ELSE#SET("TempOrderUnit",#Product.OrderUnit.NameOrAlias)#ENDIF
#IF(#Product.PriceQuantity != 1)/ #Product.PriceQuantity[float] #TempOrderUnit#ENDIF#IF(#Product.OrderUnit.Alias NE "piece" AND #Product.PriceQuantity == 1)/ #TempOrderUnit#ENDIF
#ENDLOCAL
|
#ELSE
|
#IF(#Name)#Name#ELSE#SKU#ENDIF
{ProductNotAvaibleRemoveLineitem}
|
#BasePrice[money] |
#ENDIF
#IF(#Discount)
#Discount[money]
#ENDIF
|
#LineItemPrice[money] |
|
#ENDBLOCK