#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")
#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))