#IF(#Shop.FeatureMaxValue.PriceLists AND #IsVisible)
#LOCAL("COUNTPriceInfoQuantities",0)
#LOCAL("COUNTQuantityPrices",0)
#LOCAL("COUNTQuantityDiscounts",0)
#LOCAL("InfoPriceQuantities", #PriceInfoQuantities(#Object,#Session.User.Object, #INPUT.Currency))
#LOOP(#InfoPriceQuantities)
#IF(#Discount)
#SET("COUNTQuantityDiscounts", #COUNTQuantityDiscounts + 1)
#ENDIF
#IF(#Price)
#SET("COUNTQuantityPrices", #COUNTQuantityPrices + 1)
#ENDIF
#ENDLOOP
#IF(#COUNTQuantityDiscounts OR #COUNTQuantityPrices)
{QuantityDiscount}
#LOCAL("DiscountAbove", 0)
#LOOP(#InfoPriceQuantities)
#SET("IsSpecialPricesVisible", #IsSpecialPricesVisible + 1)
#SET("COUNTPriceInfoQuantities", #COUNTPriceInfoQuantities + 1)
{Quantity}: {AtleastQuantity}
#IF(#COUNTQuantityPrices>0)
-
{PriceInfoPrice}:
#IF(#Price)
#LOCAL("LocalizePrice", #Price[money])
#IF(#FUNCTION("DISPLAYPRICETAGINFOGROSS", #Object, #Shop.TaxModel, #Session.User.Object))
#IF(#Shop.PriceTagInfoMultiProductGross)
#SET("LocalizePrice", #LocalizePrice." *")
#ENDIF
#ELSIF(#Shop.PriceTagInfoMultiProductNet)
#SET("LocalizePrice", #LocalizePrice." *")
#ENDIF
{PriceEach}
#ENDLOCAL
#ENDIF
-
#ENDIF
#IF(#COUNTQuantityDiscounts>0){Discount}:
#IF(#DEFINED(#Discount))#SET("DiscountAbove", #Discount)
#IF(#Discount)
#Discount[float] %
#ENDIF
#ELSIF(#DiscountAbove)
#DiscountAbove[float] %
#ENDIF
#ENDIF
#ENDLOOP
#ENDLOCAL
#IF(#COUNTQuantityPrices>0 AND #COUNTQuantityDiscounts>0)
{Notification}: {BulkPriceBeforeDiscount}
#ENDIF
#IF(#COUNTQuantityPrices>0)
#IF(#FUNCTION("DISPLAYPRICETAGINFOGROSS", #Object, #Shop.TaxModel, #Session.User.Object))
#IF(#Shop.PriceTagInfoMultiProductGross)
* #Shop.PriceTagInfoMultiProductGross[0]
#ENDIF
#ELSIF(#Shop.PriceTagInfoMultiProductNet)
* #Shop.PriceTagInfoMultiProductNet[0]
#ENDIF
#ENDIF
#ENDIF
#ENDLOCAL
#LOCAL("COUNTValueDiscount", 0)
#LOCAL("DiscountValues", #ValueDiscounts(#Object,#Session.User.Object, #INPUT.Currency))
#SET("COUNTValueDiscount", 1)
#IF(#COUNT(#DiscountValues))
{ValueDiscount}
#LOOP(#DiscountValues)
{Value} {AtleastAmount}
-
{Discount} #Discount %
#ENDLOOP
#ENDIF
#ENDLOCAL
#LOCAL("COUNTGlobalValueDiscount", 0)
#LOCAL("GlobalValues", #GlobalValueDiscounts(#Shop.Object,#Session.User.Object, #INPUT.Currency))
#SET("COUNTGlobalValueDiscount", #COUNT(#GlobalValues))
#IF(#COUNTGlobalValueDiscount)
{GlobalValueDiscount}
#LOCAL("DiscountAbove", #UNDEF)#LOCAL("DiscountAbsoluteAbove", #UNDEF)
#LOOP (#GlobalValues)
#SET("IsSpecialPricesVisible", #IsSpecialPricesVisible + 1)
{Value} {AtleastAmount}
-
{Discount}:
#IF(#DEFINED(#DiscountAbsolute) AND #DEFINED(#Discount))
#SET("DiscountAbove", #Discount)
#SET("DiscountAbsoluteAbove", #DiscountAbsolute)
#DiscountAbsolute[money] + #Discount[float] %
#ELSIF(#DEFINED(#DiscountAbsolute))
#SET("DiscountAbsoluteAbove", #DiscountAbsolute)
#DiscountAbsolute[money]
#IF
(#DiscountAbove) + #DiscountAbove[float] %
#ENDIF
#ELSE
#SET("DiscountAbove", #Discount)
#IF
(#DiscountAbsoluteAbove)
#DiscountAbsoluteAbove[money] +
#ENDIF
#Discount[float] %
#ENDIF
#ENDLOOP
#ENDLOCAL
#ENDLOCAL
#ENDIF
#ENDLOCAL
#IF(#COUNTQuantityDiscounts OR #COUNTQuantityPrices OR #COUNTGlobalValueDiscount OR #COUNTValueDiscount)
#ENDIF
#ENDLOCAL
#ENDLOCAL
#ENDLOCAL
#ENDLOCAL
#ENDLOCAL
#ENDIF
#IF(#IsSpecialPricesVisible == 0)
#ENDIF
#ENDLOCAL