Page 1 of 1

Add a secondary membership underneath a membership

PostPosted: February 1st, 2012, 6:39 pm
by Marion2318
Hello, I'm hoping someone can help me. I would like to add a discounted 'secondary' membership underneath one of my Membership Levels and I'm not sure how to use the proper conditional codes to accomplish this.

For instance, on this page:

https://www.ibpsa.com/facility-membersh ... s2-ssl=yes

I have a Facility Membership. I would like the ability for someone to sign up for a Facility Membership at $150 PLUS be able to add a secondary membership for $100 if they wanted. I do NOT want someone to be able to sign up for a Secondary Membership without having purchased the Facility Membership first, of course. I need this ability for this page as well:

https://www.ibpsa.com/institutional-mem ... s2-ssl=yes

Can someone assist me on geting the proper conditional code to allow this? I guess I also need to allow for the contingency that someone signs up for a membership and then months later needs to then add a Secondary Membership. So perhaps I need a separate page for just the Secondary Membership that can only be accessed from the Facility and Institutional Membership pages? I'm a bit loss on the best way to do this.

I would be very grateful for the help.

Thank you,
Marion

Re: Add a secondary membership underneath a membership

PostPosted: February 2nd, 2012, 6:25 pm
by Raam Dev
Hi Marion,

When you say "secondary membership", are you referring to a second s2Member account (scenario #1) or are you selling membership to something outside of s2Member and just need existing members to pay something extra (scenario #2)?

Scenario #1: This would require some custom coding on your end, as there is no way for s2Member to create a second s2Member account while the first account is logged in.

What I would do in this scenario for simplicity-sake is to show logged in members a link to purchase the secondary membership. The link would automatically logout the member, and then redirect him to a page with a special "secret key" in the URL.

The page with the secondary membership purchase button would check if that access is is correct and only display the purchase button if it is. That way, non-members wouldn't be able to access that page because they wouldn't know that secret access key.

Scenario #2: If you just need people to be able to pay full price ($150) + the discounted price for an additional thing ($100), then you can do that by requiring that members are logged in to see the secondary membership purchase button. I'd recommend using Custom Capabilities (http://www.s2member.com/custom-capabilities-video/) to indicate which members have purchased the secondary membership.

To "sell" this secondary membership to current members (i.e., members who have already paid $150 for their account), you'd use a PayPal Capability (Buy Now) Button to "sell" the custom capability that indicates they have a secondary membership. To prevent people who haven't purchased the primary membership from purchasing the secondary membership, you simply show the Capability Buy Now button on page that is protected by s2Member (so only logged in users can see it).

Re: Add a secondary membership underneath a membership

PostPosted: February 2nd, 2012, 6:41 pm
by Marion2318
Hi and thank you so much for your reply. Yes, I believe I need Scenario #2. I need someone signing up for a Facility Membership to also be able to buy discounted memberships in case they have more than one facility...say, a Pet Boarding Place also has a Dog Grooming company and the client wants them to be able to get a discounted price on their second facility. We need them to pay for a second facility and be able to enter the info for both the Pet Boarding Place as well as have a profile for their Dog Grooming company. Or, a place to purchase a second membership LATER if they decide they want to. I'm trying to take care of this task for this client but am not familiar with this plugin and it needs to be done ASAP.

I will watch the video; and see if I can figure it out, thanks for the recommendation. However, I am happy to pay someone to assist if anyone is interested.

Thank you again for your reply!

Re: Add a secondary membership underneath a membership

PostPosted: February 3rd, 2012, 11:57 am
by Raam Dev
You may want to look here: s2Member Install Help / Projects / Custom Coding viewtopic.php?t=4158

Re: Add a secondary membership underneath a membership

PostPosted: February 3rd, 2012, 12:26 pm
by Marion2318
Thank you, I will check it out!