#REM#ENDREM #IF(#COUNT(#VisibleProducts))
#LOOP(#VisibleProducts) #LOCAL("CoverFlowImage", "") #IF(#ImageHotDeal) #SET("CoverFlowImage", #ImageHotDeal) #ELSIF(#ImageMedium) #SET("CoverFlowImage", #ImageMedium) #ENDIF #IF(#CoverFlowImage) #LOCAL("DescriptionLine", #NameOrAlias) #LOCAL("DisplayPrice", #FUNCTION("DISPLAYPRICE", #Object, #INPUT.Currency, #Shop.TaxModel, #Session.User.Object)) #IF(#DEFINED(#DisplayPrice)) #SET("DescriptionLine", #DescriptionLine . " - ") #IF(#IsDefault AND #HasSubOwnPrices AND NOT #DEFINED(#SNIPPET.NoVariationPriceFromText)) #SET("DescriptionLine", #DescriptionLine . #Shop.VariationPriceFromText . " ") #ENDIF #SET("DescriptionLine", #DescriptionLine . #DisplayPrice[money]) #ENDIF #LOCAL("TempOrderUnit", #OrderUnit.NameOrAlias) #IF(#OrderUnit.Abbreviation)#SET("TempOrderUnit",#OrderUnit.Abbreviation)#ENDIF #IF(#DEFINED(#PriceQuantity) AND #PriceQuantity != 1) #SET("DescriptionLine", #DescriptionLine . " / " . #PriceQuantity . #TempOrderUnit) #ENDIF #IF(#DEFINED(#OrderUnit.Alias) AND #OrderUnit.Alias NE "piece" AND #DEFINED(#PriceQuantity) AND #PriceQuantity == 1) #SET("DescriptionLine", #DescriptionLine . " / " . #TempOrderUnit) #ENDIF #ENDLOCAL #IF(#DEFINED(#DisplayPrice)) #IF(NOT #IsAppointment) #IF(#FUNCTION("DISPLAYPRICETAGINFOGROSS", #Object, #Shop.TaxModel, #Session.User.Object)) #IF(#Shop.PriceTagInfoMultiProductGross) #SET("DescriptionLine", #DescriptionLine . " *") #ENDIF #ELSIF(#Shop.PriceTagInfoMultiProductNet) #SET("DescriptionLine", #DescriptionLine . " *") #ENDIF #ENDIF #ENDIF #LOCAL("ReferencePrice",#FUNCTION("REFERENCEPRICE", #Object, #DisplayPrice, #INPUT.Currency))#IF(#ReferencePrice != #DisplayPrice) #SET("DescriptionLine", #DescriptionLine . " (".#RefAmount) #IF(#DEFINED(#RefUnit.Abbreviation)) #SET("DescriptionLine", #DescriptionLine . #RefUnit.Abbreviation) #ELSE #SET("DescriptionLine", #DescriptionLine . #RefUnit.NameOrAlias) #ENDIF #SET("DescriptionLine", #DescriptionLine . " = " . #ReferencePrice[money].")") #ENDIF #ENDLOCAL #ENDLOCAL #NameOrAlias #ENDLOCAL #ENDIF #ENDLOCAL #ENDLOOP
#IF(#FUNCTION("DISPLAYPRICETAGINFOGROSS", #Object, #Shop.TaxModel, #Session.User.Object)) #IF(#Shop.PriceTagInfoMultiProductGross)
* #Shop.PriceTagInfoMultiProductGross[0]
#ENDIF #ELSIF(#Shop.PriceTagInfoMultiProductNet)
* #Shop.PriceTagInfoMultiProductNet[0]
#ELSE
#ENDIF #ENDIF