#LOCAL("AlwaysInUse",0) #INCLUDE("INC-EditContentLineDocumentLoop") #SET("LineItemNo", #LineItemNo + 1) #LineItemNo#IF(#AlwaysInUse) {AlwaysInUseStar}#ENDIF #BLOCK("WITH_FORM_ERROR", #FormError) #ENDBLOCK #OrderUnit.NameOrAlias #IF(#Product) #WITH(#Product)#INCLUDE("INC-ProductIcon")#ENDWITH #IF(NOT #INPUT.PopUp) #SKU #ELSE #SKU #ENDIF #ELSE {StatusDeleted} #SKU #ENDIF #LOCAL("ProductName", #UNDEF)#IF(#Product)#SET("ProductName", #Product.NameOrAlias)#ELSIF(#Name)#SET("ProductName", #Name)#ENDIF #IF(#ProductName)#ProductName[slice:24,html]#ENDIF #ENDLOCAL #MENU("AdditionalProductInformation") #INCLUDE(#Template) #ENDMENU #IF(#IsLineItemProductBundle)
#WITH(#BundledProductContainer) #LOOP(#LineItems) #Quantity[float] #OrderUnit.NameOrAlias #Name
#ENDLOOP #ENDWITH #ELSE #IF(#LocalizedVariationString)
- #LocalizedVariationString#ENDIF
#ENDIF #LOCAL("RealPrice", #LineItemPrice) #IF(#Appointment AND #DEFINED(#OriginalLineItemPrice))#SET("RealPrice", #OriginalLineItemPrice)#ENDIF #IF(#DEFINED(#Product)) #IF(#Quantity == 0) #FUNCTION("FORMAT",#BasePrice * #Product.PriceQuantity, "money") #ELSIF(#Product.PriceQuantity == 1) #BasePrice[money] #ELSE #FUNCTION("FORMAT",(#LineItemPrice + #Discount) / (#Quantity/#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 #BasePrice[money] #IF(#OrderUnit)/ #OrderUnit.NameOrAlias#ENDIF #ENDIF #IF(NOT #ShowTaxRate)#IF(NOT #Shop.VATreleased)#CALCULATE(#TaxRate * 100)%#ENDIF#ENDIF #IF(#Discount)#Discount[money]#ENDIF #RealPrice[money] #ENDLOCAL {RemoveLineItem} #ENDLOCAL