Merge pull request #1 from flysnob/discounts

minor fix to function.php