#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(#LocalizedVariationString)
- #LocalizedVariationString#ENDIF
#LOCAL("RealPrice", #LineItemPrice) #IF(#Appointment AND #DEFINED(#OriginalLineItemPrice))#SET("RealPrice", #OriginalLineItemPrice)#ENDIF #IF(#DEFINED(#Product)) #BLOCK("WITH_FORM_ERROR", #FormError) #IF(#Quantity == 0) #ELSIF(#Product.PriceQuantity == 1 OR #Product.PriceQuantity == 0) #ELSE #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 #ENDBLOCK #ELSE #IF(#OrderUnit)/ #OrderUnit.NameOrAlias#ENDIF #ENDIF #IF(NOT #ShowTaxRate)#IF(NOT #Shop.VATreleased)#CALCULATE(#TaxRate * 100)%#ENDIF#ENDIF #BLOCK("WITH_FORM_ERROR", #FormError) #IF(NOT #Discount)(#Currency.Symbol)#ENDIF #ENDBLOCK #RealPrice[neg,money] #ENDLOCAL {RemoveLineItem} #ENDLOCAL