#REM#ENDREM
#IF(#IsNew OR #DefaultSubProduct.IsNew) {New} #ENDIF #BLOCK("InlineEditor", "text", #Object, "Name", "Tag=a")#NameOrAlias#ENDBLOCK #IF(#SuperProduct) #LOCAL("ListItemProduct",#_) (#JOIN(", ",#VariationTypeValues)#Attribute.NameOrAlias#SPACE[0]: #FORMAT(#GET("ListItemProduct.".#Attribute.Alias.".ValueOrAlias"),"html")#ENDJOIN) #ENDLOCAL #ENDIF |
#LOCAL("CurrencyID", #INPUT.Currency)
#LOCAL("DisplayPrice", "")
#LOCAL("ManufacturerPrice", #FUNCTION("MANUFACTURERPRICE", #Object, #CurrencyID, #Shop.TaxModel, #Session.User.Object))
#IF(#DefaultSubProduct AND NOT #SuperProduct)
#SET("DisplayPrice", #DISPLAYPRICE(#DefaultSubProduct.Object, #CurrencyID, #Shop.TaxModel, #Session.User.Object))
#ELSE
#SET("DisplayPrice", #DISPLAYPRICE(#Object, #CurrencyID, #Shop.TaxModel, #Session.User.Object))
#ENDIF
#LOCAL("DoCloseFloatArea",1)
#IF(#DEFINED(#SNIPPET.IsBundleList) AND #SNIPPET.IsBundleList AND #DEFINED(#DisplayPrice))
#BundledQuantity[float] #OrderUnit.Name
#ENDIF
#IF(#DEFINED(#ManufacturerPrice))
#IF(#Shop.ReferencePriceText)#Shop.ReferencePriceText[0]#ENDIF #IF(#Shop.CancelReferencePrice)#ManufacturerPrice[money]#ELSE #ManufacturerPrice[money]#ENDIF
#ENDIF
#IF(#DEFINED(#DisplayPrice))
#IF(#DEFINED(#SNIPPET.IsBundleList) AND #SNIPPET.IsBundleList)
#IF(#DEFINED(#DisplayPrice))#SET("DisplayPrice", #DisplayPrice * #BundledQuantity)
#SNIPPET("INC-DisplayPrice", "OrderUnitDisplayOption,EnableAsterisk,NoVariationPriceFromText", "None", "1", "1")
#ENDIF
#ELSE
#INCLUDE("INC-DisplayPrice")
#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)
#ENDLOCAL
#ENDLOCAL
#ENDLOCAL
#ENDLOCAL
#IF(#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(#DisplayDeliveryWeight AND #Weight)
{Weight}: #Weight[float] #WeightUnit.Abbreviation
#ENDIF
#LOCAL("ReferencePrice",#FUNCTION("REFERENCEPRICE", #Object, #DisplayPrice, #INPUT.Currency))
#IF(#DEFINED(#ReferencePrice) AND #ReferencePrice != #DisplayPrice)
#RefAmount #IF(#DEFINED(#RefUnit.Abbreviation))#RefUnit.Abbreviation#ELSE#RefUnit.NameOrAlias#ENDIF = #ReferencePrice[money]
#ENDIF
#ENDLOCAL
#IF(#IsDailyPrice)
{IsDailyPriceSF}
#ENDIF
#ENDIF
#IF(NOT #DEFINED(#SNIPPET.IsBundleList) OR NOT #SNIPPET.IsBundleList)
#IF(NOT #IsAvailable)
#IF(#AvailabilityComment)
#ENDIF
#AvailabilityComment[0]
#ENDIF
#ELSIF(#DEFINED(#DisplayPrice))
#SNIPPET("SNIPPET-ProductStockLevel", "AddAvailabilityStructuredData", "0")
#ENDIF
|
#IF(#SuperProduct)
#BLOCK("InlineEditor", "html", #SuperProduct.Object, "Description", "Tag=div;Class=Description")#IF(#Description) #Description[0] #ENDIF#ENDBLOCK
#IF(#ShowSubProductDetails) #REM#ENDREM
#LOCAL("ListItemProduct",#_)
#JOIN(", ",#ListItemProduct.VariationTypeValues)#Attribute.NameOrAlias#SPACE[0]: #FORMAT(#GET("ListItemProduct.".#Attribute.Alias.".ValueOrAlias"),"html")#ENDJOIN)
#ENDLOCAL
#ENDIF
#ELSE
#BLOCK("InlineEditor", "html", #Object, "Description", "Tag=div;Class=Description")#IF(#Description)#Description[0] #ENDIF#ENDBLOCK
#ENDIF
|
|
#MENU("ListProductLinks")#INCLUDE(#Template)#ENDMENU |