I wonder if anyone has done a "paid for template" type solution, paid to be allowed to used the member templates / section which simply uses different override templates on the same information?
seems kinda lame but then ... everybody else is doing it so why can't we?
this is actually very easy to do. Since the view cache is unique pr user group combination you can just have a check in the template if a user is member of group x. Then you include the real template, if not include a template which shows a teaser/introduction or simply just a text telling him to log in or buy membership.
Thanks for this. I have created a template that allows logged in users to see a file & offers the file to "non-members" as a paid for item. My actual problem is how to show the file for download after payment completion!
you need to create a workflow event (requires some PHP programming) which assigns the user doing the shopping to a specific user group, after payment. Then you create a role which grants which is a member of that user group permissions to download (read) the files you want to sell.
Maybe the event could even send the user an e-mail with a direct link to the download.