HTML Logo by World Wide Web Consortium (www.w3.org). Click to learn more about our commitment to accessibility and standards.

Moving forward with Composr

ocPortal has been relaunched as Composr CMS, which is now in beta. ocPortal 9 will be superseded by Composr 10.

Head over to compo.sr for our new site, and to our migration roadmap. Existing ocPortal member accounts have been mirrored.


Making a Zone for Paid Members

Login / Search

 [ Join | More ]
 Add topic 
Posted
Rating:
#37079 (In Topic #8369)
Avatar

Fan in action

I've set up e-commerce for super-members but .......

I tried looking in documentation and can not find the answer.

I've set up e-commerce for super-members and I need to allow the membership to be purchased (three different levels) . I've built the "Paid Members" zone and made it available to super-members only.

But -  I would like the option available during initial member sign up and to allow members to upgrade to this membership. I've obviously missed something somewhere but could someone please point me in the right direction.

Many Thanks

Nigel.
 
Back to the top
 
Posted
Rating:
#37103
Avatar

Hi,

The documentation doesn't make this clear but you need to point members to the site:purchase page. There are a number of ways to do this. The menu editor can do it very easily, as the purchase page is available from the list of selectable links. But you might also want to put a link into a Comcode page, or into a template. Let's assume your subscription group is group #8 and you only want members who aren't guests (group #1) and aren't in your subscription group to see a subscribe message.
To put it into a Comcode page, add this to the page:

Code

[if_in_group="2,3,4,5,6,7"]
You have not subscribed so [page="site:purchase"]subscribe now![/page]
[/if_not_in_group]
To put it into a template, add this to the template:

Code

{+START,IF,{$NOT,{$IS_IN_GROUP,1,8}}}
<p>You have not subscribed so <a href="{$PAGE_LINK*,site:purchase}">subscribe now!</a></p>
{+END}

Unfortunately at this point there's no easy way to integrate subscription into the normal joining process. It's treated as a secondary action.


Become a fan of ocPortal on Facebook or add me as a friend. Add me on on Twitter.
Was I helpful?
  • If not, please let us know how we can do better (please try and propose any bigger ideas in such a way that they are fundable and scalable).
  • If so, please let others know about ocPortal whenever you see the opportunity.
  • If my reply is too Vulcan or expressed too much in business-strategy terms, and not particularly personal, I apologise. As a company & project maintainer, time is very limited to me, so usually when I write a reply I try and make it generic advice to all readers. I'm also naturally a joined-up thinker, so I always express my thoughts in combined business and technical terms. I recognise not everyone likes that, don't let my Vulcan-thinking stop you enjoying ocPortal on fun personal projects.
  • If my response can inspire a community tutorial, that's a great way of giving back to the project as a user.
Back to the top
 
Posted
Rating:
#37121
Avatar

Fan in action

Chris,

Thanks for the quick reply. It's all been a little frustrating :) That Linked worked for the page.

But I think I need a bit more help. What would be the URL that paypal responds back to after the transaction?

I'm hoping that is the last little bit of information I need.

Nigel.

p.s. Once I'm operational I will be purchasing. Probably in the New Year.



Nigel.
Back to the top
 
1 guests and 0 members have just viewed this: None
Control functions:

Quick reply   Contract

Your name:
Your message: