#LOCAL("COUNTPriceInfoDiscount",0) #BLOCK("LOOPPriceInfoQuantities",#Object,#Session.User.Object, #INPUT.Currency )#SET("COUNTPriceInfoDiscount", #COUNTPriceInfoDiscount + 1)#ENDBLOCK #BLOCK("LOOPValueDiscounts", #Object,#Session.User.Object, #INPUT.Currency )#SET("COUNTPriceInfoDiscount", #COUNTPriceInfoDiscount + 1)#ENDBLOCK #BLOCK("LOOPGlobalValueDiscounts", #Shop.Object,#Session.User.Object, #INPUT.Currency )#SET("COUNTPriceInfoDiscount", #COUNTPriceInfoDiscount + 1)#ENDBLOCK #IF(#COUNTPriceInfoDiscount > 0 AND #INPUT.ViewAction EQ "View") #GUI.item( "active" = 0, "id" = "tab-product-specialprices", "Title" = "{SpecialPrices}", "Content" = {( #INCLUDE("Content-New-SpecialPrices") )} ) #ENDIF #ENDLOCAL