#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)
{BundledProductPrices} #BundledListPriceSum[money]
#ENDIF
{Saving} #Saving[money]
#ENDIF #ENDLOCAL #ENDLOCAL #ENDIF #ENDIF