Hi there,
Just another very very quick one here. This plugin was written to help out in this thread here so that you can have a way on your single entry pages of checking if a user has already purchased an item using the Simple Commerce Module. May have uses so thought I would post it up here in the plugins forum for all to see.
Usage :
{exp:weblog:entries weblog="default_site" limit="1"}
{exp:scm_access entry_id="{entry_id}"}
{if no_access}
No results here = no_access
{if:else}
This shows if you do own the entry
{/if}
{/exp:scm_access}
{/exp:weblog:entries}
Best wishes,
Mark
Hi Sheye,
At the moment it can’t as the way it works (although admittedly not the idea way) is to take the entry_ids from the weblog tag and this calls the plugin each time. Like I said definitely not the best way of doing things and I realise that now so would have to re-write the plugin in order for it to do that.
If I get the chance soon then I will take a look at doing that.
Best wishes,
Mark
Packet Tide owns and develops ExpressionEngine. © Packet Tide, All Rights Reserved.