#IF(#IsBundleProduct AND #DEFINED(#DisplayPrice)) #IF(#COUNT(#BundledProducts)) #LOCAL("BundledListPriceSum",#FUNCTION("BUNDLEDLISTPRICESUM", #Object, #INPUT.Currency, #Shop.TaxModel, #Session.User.Object)) #LOCAL("Saving", #CALCULATE(#BundledListPriceSum - #DisplayPrice)) #IF(#Saving > 0) #IF(#BundledListPriceSum)