#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}
#LOOP(#InfoPriceQuantities)
#SET("IsSpecialPricesVisible", #IsSpecialPricesVisible + 1)
#SET("COUNTPriceInfoQuantities", #COUNTPriceInfoQuantities + 1)
{Quantity}: {AtleastQuantity}
#IF(#COUNTQuantityPrices>0)
-
{PriceInfoPrice}:
#IF(#Price)
#LOCAL("LocalizePrice", #Price[money])
#IF(#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(#DEFINED(#EffectiveDiscount))
-
{Discount}: #EffectiveDiscount[float] %
#ENDIF
#IF(#DEFINED(#ReferencePrice))
-
#RefAmount #IF(#DEFINED(#RefUnit.Abbreviation))#RefUnit.Abbreviation#ELSE#RefUnit.NameOrAlias#ENDIF =
#ReferencePrice[money]
#ENDIF
#ENDLOOP
#IF(#COUNTQuantityPrices>0 AND #COUNTQuantityDiscounts>0)
{Notification}: {BulkPriceBeforeDiscount}
#ENDIF
#IF(#COUNTQuantityPrices>0)
#IF(#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}
#LOOP (#GlobalValues)
#SET("IsSpecialPricesVisible", #IsSpecialPricesVisible + 1)
{Value} {AtleastAmount}
-
{Discount}:
#IF(#DEFINED(#EffectiveDiscountAbsolute))
#EffectiveDiscountAbsolute[money]
#ENDIF
#IF(#DEFINED(#EffectiveDiscountAbsolute) AND #DEFINED(#EffectiveDiscount))
+
#ENDIF
#IF(#DEFINED(#EffectiveDiscount))
#EffectiveDiscount[float] %
#ENDIF
#ENDLOOP
#ENDIF
#ENDLOCAL
#IF(#COUNTQuantityDiscounts OR #COUNTQuantityPrices OR #COUNTGlobalValueDiscount OR #COUNTValueDiscount)
#ENDIF
#ENDLOCAL
#ENDLOCAL
#ENDLOCAL
#ENDLOCAL
#ENDLOCAL
#ENDIF
#IF(#IsSpecialPricesVisible == 0)
#ENDIF
#ENDLOCAL