#IF(#Shop.IsTrialShop AND NOT #INPUT.IsEditorModeEnabled)
{TrialShopNote}
{TrialShopNote}
{TrialShopNote}
{TrialShopNote}
#ENDIF #IF(#ClosedByProvider OR (#ClosedByMerchant AND NOT #IsMerchantSFAllowed) )
{ShopClosed}
#ELSE #LOCAL("LocalCategory", #Shop.Categories) #LOCAL("ShopCustomerInformation", #Shop.CustomerInformation) #IF(NOT #FacebookStartPageProducts) #SET("LocalCategory", #Shop.Categories.Child.SpecialOffers) #ENDIF
#LOOP(#LocalCategory.VisibleProducts)
#LOCAL("DisplayPrice", #DISPLAYPRICE(#Object, #INPUT.Currency, #Shop.TaxModel, #Session.User.Object)) #LOCAL("ManufacturerPrice", #MANUFACTURERPRICE(#Object, #INPUT.Currency, #Shop.TaxModel, #Session.User.Object)) #IF(#DEFINED(#ManufacturerPrice)) #IF(#Shop.ReferencePriceText)#Shop.ReferencePriceText[0]#ENDIF #IF(#Shop.CancelReferencePrice)#ManufacturerPrice[money]#ELSE #ManufacturerPrice[money]#ENDIF #ENDIF #SNIPPET("INC-DisplayPrice", "OrderUnitDisplayOption", "Short", "1") #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(#DEFINED(#ManufacturerPrice) AND #DEFINED(#DisplayPrice) AND #DisplayPrice < #ManufacturerPrice AND #DisplayPrice > 0) #LOCAL("PriceSavings", #PRICESAVINGS(#Object, #DisplayPrice, #ManufacturerPrice)) #IF(#DEFINED(#PriceSavings))
{YouSaving} #PriceSavings#ENDIF #ENDLOCAL #ENDIF #ENDLOCAL #ENDLOCAL #IF(#FUNCTION("DISPLAYPRICETAGINFOGROSS", #Object, #Shop.TaxModel, #Session.User.Object)) #IF(#Shop.PriceTagInfoSingleProductGross)
#Shop.PriceTagInfoSingleProductGross[0]
#ENDIF #ELSE #IF(#Shop.PriceTagInfoSingleProductNet)
#Shop.PriceTagInfoSingleProductNet[0]
#ENDIF #ENDIF
#IF(NOT #DEFINED(#SuperProduct))
#ENDIF
#ENDLOOP
#ENDLOCAL #ENDLOCAL #ENDIF