Simplify purchase_info tags

by taking advantage of the template tag helper functions.

https://docs.djangoproject.com/en/1.4/releases/1.4/#assignment-template-tags