Find the Exponential Software extensions you want
UNIX name | Owner | Status |
---|---|---|
tc_mypurchases | Mark Marsiglio | beta |
Version | Compatible with |
---|---|
0.9 | 4.0+ |
This operator enables the purchase history of a logged in user to be accessed in a product.tpl template to show different information to the user based on their order history.
This is primarily used to enabled downloadable purchases by using a template switch to show download links in place of the "add to cart" button for users who have already purchased the product.
Usage example:
Define the current users purchase list as an array in the full/product.tpl:
Put in download links if the current user has purchased the product:
You have purchased this product
Please use the link(s) below to download your files.
{attribute_view_gui attribute=$node.object.data_map.file1}