#LOCAL("TemplateAlias", #TemplateTypeAlias(#ID)) #LOCAL("CurrencyID", #INPUT.Currency) #LOCAL("DisplayPrice", #UNDEF) #IF(#IsMaster) #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 #LOCAL("ManufacturerPrice", #MANUFACTURERPRICE(#Object, #CurrencyID, #Shop.TaxModel, #Session.User.Object)) #LOCAL("ImgPosition","top") #LOCAL("ImgFormat","horizontal") #REM#ENDREM #IF(#TemplateAlias EQ "ImageLeft_New" OR #TemplateAlias EQ "ImageUprightLeft_New") #SET("ImgPosition","left") #SET("ImgFormat", "square") #ENDIF #REM#ENDREM #IF(#TemplateAlias EQ "ImageRight_New" OR #TemplateAlias EQ "ImageUprightRight_New") #SET("ImgPosition","right") #SET("ImgFormat", "square") #ENDIF #REM#ENDREM #IF(#TemplateAlias EQ "ImageUprightLeft_New" OR #TemplateAlias EQ "ImageUprightRight_New") #SET("ImgFormat","vertical") #ENDIF #REM #LOCAL("ShowAvailibilityNotification", 1) #ENDREM #REM#ENDREM #INCLUDE("INC-AddToBasketWarnings") #REM#ENDREM #IF(#TemplateAlias EQ "ImageBroad_New" OR #TemplateAlias EQ "CoverFlow_Color1_New" OR #TemplateAlias EQ "CoverFlow_Color2_New")
#MENU("Content-TitleBox")#INCLUDE(#Template)#ENDMENU #REM #ENDREM #IF(NOT #DEFINED(#ItemNo) AND NOT #IsAvailable)

#INCLUDE("SF.INC-EmailNotificationDialog")

#ENDIF #REM #ENDREM #IF(#TemplateAlias EQ "ImageBroad_New") #REM #ENDREM #LOCAL("Object",#_) #IF(#DEFINED(#FromSearch) AND #IsMaster)#SET("Object",#SearchFoundObject)#ENDIF #WITH(#Object) #IF(#ImageMedium OR #ImageLarge OR (#UseSlideshow AND #Shop.FeatureMaxValue.ProductSlideShow))
#INCLUDE("Image")
#ENDIF #ENDWITH #ENDLOCAL #ELSIF(#TemplateAlias EQ "CoverFlow_Color1_New")
#REM #ENDREM #LOCAL("Object",#_) #IF(#DEFINED(#FromSearch) AND #IsMaster)#SET("Object",#SearchFoundObject)#ENDIF #WITH(#Object) #IF(#ImageMedium OR #ImageLarge OR (#UseSlideshow AND #Shop.FeatureMaxValue.ProductSlideShow))
#IF(#UseSlideshow AND #Shop.FeatureMaxValue.ProductSlideShow) #LOOP(#ImagesSlideShow) #NameOrAlias[nohtml,html] #ENDLOOP #ELSE #NameOrAlias[nohtml,html] #ENDIF
#ENDIF #ENDWITH #ENDLOCAL
#ELSIF(#TemplateAlias EQ "CoverFlow_Color2_New")
#REM #ENDREM #LOCAL("Object",#_) #IF(#DEFINED(#FromSearch) AND #IsMaster)#SET("Object",#SearchFoundObject)#ENDIF #WITH(#Object) #IF(#ImageMedium OR #ImageLarge OR (#UseSlideshow AND #Shop.FeatureMaxValue.ProductSlideShow))
#IF(#UseSlideshow AND #Shop.FeatureMaxValue.ProductSlideShow) #LOOP(#ImagesSlideShow) #NameOrAlias[nohtml,html] #ENDLOOP #ELSE #NameOrAlias[nohtml,html] #ENDIF
#ENDIF #ENDWITH #ENDLOCAL
#ENDIF
#MENU("Content-AdditionalButtons-New")#INCLUDE(#Template)#ENDMENU
#REM#ENDREM #INCLUDE("INC-DownloadPreview")
#INCLUDE("SNIPPET-ProductStockLevelSchemaData") #IF(#DEFINED(#ManufacturerPrice))
#Shop.ReferencePriceText[0] #IF(#Shop.CancelReferencePrice)#ManufacturerPrice[money]#ELSE #ManufacturerPrice[money]#ENDIF
#ENDIF #IF(#DEFINED(#DisplayPrice))
#IF(#IsBundleProduct) {Price} #SNIPPET("INC-DisplayPrice", "IsProductDetail", "1") #ELSE #SNIPPET("INC-DisplayPrice", "IsProductDetail", "1") #ENDIF
#IF(#DEFINED(#ManufacturerPrice) AND #DisplayPrice < #ManufacturerPrice AND #DisplayPrice > 0) #LOCAL("PriceSavings", #PRICESAVINGS(#Object, #DisplayPrice, #ManufacturerPrice)) #IF(#DEFINED(#PriceSavings))
{YouSaving} #PriceSavings
#ENDIF #ENDLOCAL #ENDIF #IF(#Shop.PriceTagInfoSingleProductGross OR #Shop.PriceTagInfoSingleProductNet OR #Shop.PriceTagInfoSingleProductTaxFree OR #Shop.PriceTagInfoSingleResourceTaxFree OR #Shop.PriceTagInfoSingleResourceGross OR #Shop.PriceTagInfoSingleResourceNet)
#IF(#FUNCTION("DISPLAYFREETAXINFO", #Object, #Session.User.Object) AND (#Shop.PriceTagInfoSingleProductTaxFree OR #Shop.PriceTagInfoSingleResourceTaxFree)) #IF(#IsAppointment)#Shop.PriceTagInfoSingleResourceTaxFree[0]#ELSE#Shop.PriceTagInfoSingleProductTaxFree[0]#ENDIF #ELSIF(#FUNCTION("DISPLAYPRICETAGINFOGROSS", #Object, #Shop.TaxModel, #Session.User.Object)) #IF(#IsAppointment)#Shop.PriceTagInfoSingleResourceGross[0]#ELSE#Shop.PriceTagInfoSingleProductGross[0]#ENDIF #ELSE #IF(#IsAppointment)#Shop.PriceTagInfoSingleResourceNet[0]#ELSE#Shop.PriceTagInfoSingleProductNet[0]#ENDIF #ENDIF
#ENDIF #IF(#ProductDataSheet)
#SNIPPET("SNIPPET-ProductDataSheet")
#ENDIF #IF(#DisplayDeliveryWeight AND #Weight)
{Weight}: #Weight[float] #WeightUnit.Abbreviation
#ENDIF #LOCAL("PriceDeposit", #FUNCTION("DEPOSIT", #Object, #CurrencyID, #Shop.TaxModel, #Session.User.Object)) #LOCAL("PriceEcoParticipation", #FUNCTION("ECOPARTICIPATION", #Object, #CurrencyID, #Shop.TaxModel, #Session.User.Object)) #IF(#PriceDeposit)#LOCAL("DepositTotalAmount", #CALCULATE(#PriceDeposit + #DisplayPrice))
+ {Deposit} #PriceDeposit[money]#IF(NOT #PriceEcoParticipation)
{LineItemAmountLong} #DepositTotalAmount[money]#ENDIF
#ENDLOCAL#ENDIF #IF(#PriceEcoParticipation)#LOCAL("EcoTotalAmount", #CALCULATE(#PriceEcoParticipation + #DisplayPrice))
+ #INCLUDE("INC-EcoParticipationText") #PriceEcoParticipation[money] #IF(#PriceDeposit) #SET("EcoTotalAmount", #CALCULATE(#EcoTotalAmount + #PriceDeposit))
#ENDIF {LineItemAmountLong} #EcoTotalAmount[money]
#ENDLOCAL#ENDIF #ENDLOCAL #ENDLOCAL #ENDIF #IF(#IsBundleProduct AND #DEFINED(#DisplayPrice)) #IF(#COUNT(#BundledProducts)) #LOCAL("BundledListPriceSum",#FUNCTION("BUNDLEDLISTPRICESUM", #Object, #INPUT.Currency, #Shop.TaxModel, #Session.User.Object)) #IF(#BundledListPriceSum)
{BundledProductPrices} #BundledListPriceSum[money]
#ENDIF #IF(#DisplayPrice < #BundledListPriceSum AND #DisplayPrice > 0) #LOCAL("Saving", #PRICESAVINGS(#Object, #DisplayPrice, #BundledListPriceSum)) #IF(#DEFINED(#Saving))
{YouSaving} #Saving
#ENDIF #ENDLOCAL #ENDIF #ENDLOCAL #ENDIF #ENDIF #LOCAL("ReferencePrice",#FUNCTION("REFERENCEPRICE", #Object, #DisplayPrice, #INPUT.Currency))#IF(#DEFINED(#ReferencePrice) AND #DEFINED(#DisplayPrice) AND #ReferencePrice != #DisplayPrice)
#RefAmount #IF(#DEFINED(#RefUnit.Abbreviation))#RefUnit.Abbreviation#ELSE#RefUnit.NameOrAlias#ENDIF = #ReferencePrice[money]
#ENDIF #ENDLOCAL #MENU("Content-PriceBox")#INCLUDE(#Template)#ENDMENU
#REM offer end #ENDREM
#REM #ENDREM
#ELSE #REM#ENDREM
#REM#ENDREM #MENU("Content-TitleBox")#INCLUDE(#Template)#ENDMENU #INCLUDE("INC-DownloadPreview") #REM #ENDREM #IF(NOT #DEFINED(#ItemNo) AND NOT #IsAvailable) #INCLUDE("SF.INC-EmailNotificationDialog") #ENDIF #REM #ENDREM
#INCLUDE("SNIPPET-ProductStockLevelSchemaData") #IF(#DEFINED(#ManufacturerPrice))
#Shop.ReferencePriceText[0] #IF(#Shop.CancelReferencePrice)#ManufacturerPrice[money]#ELSE #ManufacturerPrice[money]#ENDIF
#ENDIF #IF(#DEFINED(#DisplayPrice))
#IF(#IsBundleProduct) {Price} #SNIPPET("INC-DisplayPrice", "IsProductDetail", "1") #ELSE #SNIPPET("INC-DisplayPrice", "IsProductDetail", "1") #ENDIF
#IF(#DEFINED(#ManufacturerPrice) AND #DisplayPrice < #ManufacturerPrice AND #DisplayPrice > 0) #LOCAL("PriceSavings", #PRICESAVINGS(#Object, #DisplayPrice, #ManufacturerPrice)) #IF(#DEFINED(#PriceSavings))
{YouSaving} #PriceSavings
#ENDIF #ENDLOCAL #ENDIF #IF(#Shop.PriceTagInfoSingleProductGross OR #Shop.PriceTagInfoSingleProductNet OR #Shop.PriceTagInfoSingleProductTaxFree OR #Shop.PriceTagInfoSingleResourceTaxFree OR #Shop.PriceTagInfoSingleResourceGross OR #Shop.PriceTagInfoSingleResourceNet)
#IF(#FUNCTION("DISPLAYFREETAXINFO", #Object, #Session.User.Object) AND (#Shop.PriceTagInfoSingleResourceTaxFree OR #Shop.PriceTagInfoSingleProductTaxFree)) #IF(#IsAppointment)#Shop.PriceTagInfoSingleResourceTaxFree[0]#ELSE#Shop.PriceTagInfoSingleProductTaxFree[0]#ENDIF #ELSIF(#FUNCTION("DISPLAYPRICETAGINFOGROSS", #Object, #Shop.TaxModel, #Session.User.Object)) #IF(#IsAppointment)#Shop.PriceTagInfoSingleResourceGross[0]#ELSE#Shop.PriceTagInfoSingleProductGross[0]#ENDIF #ELSE #IF(#IsAppointment)#Shop.PriceTagInfoSingleResourceNet[0]#ELSE#Shop.PriceTagInfoSingleProductNet[0]#ENDIF #ENDIF
#ENDIF #IF(#ProductDataSheet)
#SNIPPET("SNIPPET-ProductDataSheet")
#ENDIF #IF(#DisplayDeliveryWeight AND #Weight)
{Weight}: #Weight[float] #WeightUnit.Abbreviation
#ENDIF #LOCAL("PriceDeposit", #FUNCTION("DEPOSIT", #Object, #CurrencyID, #Shop.TaxModel, #Session.User.Object)) #LOCAL("PriceEcoParticipation", #FUNCTION("ECOPARTICIPATION", #Object, #CurrencyID, #Shop.TaxModel, #Session.User.Object)) #IF(#PriceDeposit)#LOCAL("DepositTotalAmount", #CALCULATE(#PriceDeposit + #DisplayPrice))
+ {Deposit} #PriceDeposit[money]#IF(NOT #PriceEcoParticipation)
{LineItemAmountLong} #DepositTotalAmount[money]#ENDIF
#ENDLOCAL#ENDIF #IF(#PriceEcoParticipation)#LOCAL("EcoTotalAmount", #CALCULATE(#PriceEcoParticipation + #DisplayPrice))
+ #INCLUDE("INC-EcoParticipationText") #PriceEcoParticipation[money] #IF(#PriceDeposit) #SET("EcoTotalAmount", #CALCULATE(#EcoTotalAmount + #PriceDeposit))
#ENDIF {LineItemAmountLong} #EcoTotalAmount[money]
#ENDLOCAL#ENDIF #ENDLOCAL #ENDLOCAL #ENDIF #IF(#IsBundleProduct AND #DEFINED(#DisplayPrice)) #IF(#COUNT(#BundledProducts)) #LOCAL("BundledListPriceSum",#FUNCTION("BUNDLEDLISTPRICESUM", #Object, #INPUT.Currency, #Shop.TaxModel, #Session.User.Object)) #IF(#BundledListPriceSum)
{BundledProductPrices} #BundledListPriceSum[money]
#ENDIF #IF(#DisplayPrice < #BundledListPriceSum AND #DisplayPrice > 0) #LOCAL("Saving", #PRICESAVINGS(#Object, #DisplayPrice, #BundledListPriceSum)) #IF(#DEFINED(#Saving))
{YouSaving} #Saving
#ENDIF #ENDLOCAL #ENDIF #ENDLOCAL #ENDIF #ENDIF #LOCAL("ReferencePrice",#FUNCTION("REFERENCEPRICE", #Object, #DisplayPrice, #INPUT.Currency))#IF(#DEFINED(#ReferencePrice) AND #DEFINED(#DisplayPrice) AND #ReferencePrice != #DisplayPrice)
#RefAmount #IF(#DEFINED(#RefUnit.Abbreviation))#RefUnit.Abbreviation#ELSE#RefUnit.NameOrAlias#ENDIF = #ReferencePrice[money]
#ENDIF #ENDLOCAL #MENU("Content-PriceBox")#INCLUDE(#Template)#ENDMENU
#REM end offer #ENDREM #MENU("Content-InfoArea")#INCLUDE(#Template)#ENDMENU
#REM #ENDREM #REM #ENDREM #LOCAL("Object",#_) #IF(#DEFINED(#FromSearch) AND #IsMaster)#SET("Object",#SearchFoundObject)#ENDIF #WITH(#Object) #IF(#ImageMedium OR #ImageLarge OR (#UseSlideshow AND #Shop.FeatureMaxValue.ProductSlideShow))
#INCLUDE("Image")
#ENDIF
#MENU("Content-AdditionalButtons-New")#INCLUDE(#Template)#ENDMENU
#ENDWITH #ENDLOCAL
#REM #ENDREM #ENDIF #REM #ENDLOCAL #ENDREM #ENDLOCAL #ENDLOCAL #ENDLOCAL #ENDLOCAL #ENDLOCAL #ENDLOCAL