#REM#ENDREM #LOCAL("ImageCounter", 0) #LOCAL("UniqueID", #UNIQUEID("ep-coverflow-id-")) #LOCAL("ProductsLoop", #VisibleProducts) #IF(#COUNT(#ProductsLoop))
#LOOP(#ProductsLoop) #LOCAL("CoverFlowImage", "") #IF(#ImageMedium) #SET("CoverFlowImage", #ImageMedium) #ELSIF(#ImageHotDeal) #SET("CoverFlowImage", #ImageHotDeal) #ENDIF #IF(#CoverFlowImage) #LOCAL("DescriptionLine", #NameOrAlias)
#NameOrAlias #LOCAL("DisplayPrice", #UNDEF) #IF(#SuperProduct) #IF(#IsDefault) #SET("DisplayPrice",#DISPLAYPRICE(#Object, #INPUT.Currency, #Shop.TaxModel, #Session.User.Object, 0)) #ELSE #SET("DisplayPrice",#DISPLAYPRICE(#Object, #INPUT.Currency, #Shop.TaxModel, #Session.User.Object, 1)) #ENDIF #ELSE #SET("DisplayPrice",#DISPLAYPRICE(#Object, #INPUT.Currency, #Shop.TaxModel, #Session.User.Object, 0)) #ENDIF #IF(#DEFINED(#DisplayPrice)) #SET("DescriptionLine", #DescriptionLine . " ") #IF(#IsDefault OR #IsMaster AND NOT #DEFINED(#SuperProduct)) #IF(#CANDISPLAYFROMPRICE(#Object) AND NOT #DEFINED(#SNIPPET.NoVariationPriceFromText)) #SET("DescriptionLine", #DescriptionLine . #Shop.VariationPriceFromText . " ") #ENDIF #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(#DISPLAYFREETAXINFO(#Object, #Session.User.Object) AND #Shop.PriceTagInfoMultiProductTaxFree) #SET("DescriptionLine", #DescriptionLine . " **") #ELSIF(#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",#REFERENCEPRICE(#Object, #DisplayPrice, #INPUT.Currency)) #IF(#DEFINED(#ReferencePrice) AND #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 #REM #ENDREM #ENDLOCAL
#REM #ENDREM #SET("ImageCounter", #ImageCounter + 1) #ENDIF #ENDLOCAL #ENDLOOP
#REM #ENDREM
#REM #ENDREM
#REM #ENDREM #SNIPPET("INC-Coverflow", "UniqueID,AddLightbox,ShowCoverflowBar,CoverflowBackground", #UniqueID,1,1,"light")
#IF(#Shop.PriceTagInfoMultiProductGross OR #Shop.PriceTagInfoMultiProductNet OR #Shop.PriceTagInfoMultiProductTaxFree)
#INCLUDE("Explanation-INC-Product-Price")
#ELSE
#ENDIF #ENDIF #ENDLOCAL #ENDLOCAL #ENDLOCAL