#SET("LineItemNo", #LineItemNo + 1)
#LineItemNo |
#BLOCK("WITH_FORM_ERROR", #FormError)
#ENDBLOCK
#OrderUnit.NameOrAlias
#IF(#Product.IsAppointment) #TimeFactor x#IF(#DurationAmount !=1) #DurationAmount#ENDIF #DurationUnit.Abbreviation#ENDIF
|
#IF(#Product)
#WITH(#Product)#INCLUDE("INC-ProductIcon")#ENDWITH
#IF(NOT #INPUT.PopUp)
#SKU
#IF(#IsLineItemDownloadProduct)
#ENDIF
#IF(#IsBundle)
#WITH(#BundledProductContainer)
#LOOP(#LineItems)
#SKU
#IF(#IsLineItemDownloadProduct)
#LOOP(#Product.DownloadProductMaps)
#ENDLOOP
#ENDIF
#ENDLOOP
#ENDWITH
#ENDIF
#ELSE
#SKU
#IF(#IsLineItemDownloadProduct)
#LOOP(#Product.DownloadProductMaps)
#ENDLOOP
#ENDIF
#IF(#IsBundle)
#WITH(#BundledProductContainer)
#LOOP(#LineItems)
#SKU
#IF(#IsLineItemDownloadProduct)
#LOOP(#Product.DownloadProductMaps)
#ENDLOOP
#ENDIF
#ENDLOOP
#ENDWITH
#ENDIF
#ENDIF
|
#ELSE
#SKU
#IF(#IsLineItemDownloadProduct)
#LOOP(#Product.DownloadProductMaps)
#ENDLOOP
#ENDIF
#IF(#IsBundle)
#WITH(#BundledProductContainer)
#LOOP(#LineItems)
#SKU
#IF(#IsLineItemDownloadProduct)
#LOOP(#Product.DownloadProductMaps)
#ENDLOOP
#ENDIF
#ENDLOOP
#ENDWITH
#ENDIF
|
#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(#IsLineItemDownloadProduct)
#INCLUDE("INC-EditLineItemDownloadProduct")
#ENDIF
#IF(#IsBundle)
#WITH(#BundledProductContainer)
#LOOP(#LineItems)
#Quantity[float] #OrderUnit.NameOrAlias #Name
#IF(#IsLineItemDownloadProduct)
#INCLUDE("INC-EditLineItemDownloadProduct")
#ELSE
#ENDIF
#ENDLOOP
#ENDWITH
#ELSE
#IF(#LocalizedVariationString) - #LocalizedVariationString#ENDIF
#ENDIF
#IF(#Class.Alias EQ "LineItemProductAppointment" AND NOT #DEFINED(#Appointment))
{CreateBooking}
#ENDIF
|
#LOCAL("RealPrice", #OriginalLineItemPrice)#IF(NOT #DEFINED(#RealPrice))#SET("RealPrice", #LineItemPrice)#ENDIF
#IF(#DEFINED(#Product))
#BLOCK("WITH_FORM_ERROR", #FormError)
#IF(#Quantity == 0)
#ELSIF(#Product.PriceQuantity == 1 OR #Product.PriceQuantity == 0)
#ELSE
#ENDIF
#ENDBLOCK
#ELSE
#ENDIF
#IF(#OrderUnit)
#IF(#WeightQuantity AND #WeightQuantity != 1)/ #WeightQuantity #OrderUnit.NameOrAlias
#ELSIF(#Product.PriceQuantity != 1)/ #Product.PriceQuantity #OrderUnit.NameOrAlias
#ELSIF(#OrderUnit.Alias NE "piece")/ #OrderUnit.NameOrAlias#ENDIF
#ENDIF
#IF(#IsBundle)
#IF(#DEFINED(#Product.ListPrice) AND #BasePrice != #Product.ListPrice)
#LOCAL("CurrencyID", #LineItemContainer.CurrencyID)
(#Product.ListPrice[money])
#ENDLOCAL
#ENDIF
#ENDIF
|
#IF(#LineItemContainer.ShowTaxRate)#CALCULATE(#TaxRate * 100)%#ENDIF |
#BLOCK("WITH_FORM_ERROR", #FormError)
#IF(NOT #Discount)(#Currency.Symbol)#ENDIF
#ENDBLOCK
|
#RealPrice[money] |
#ENDLOCAL
|
#ENDLOCAL