Offering discount after buy now

Hi,

I would like to sell an online course : 1 possibility is to buy the whole course, and the people will subscribe. The other possibility is to buy each lesson separately.

I would like to offer the possibility for people that have bought several lessons to buy the whole course at a discount price, is that a way to set this up ?

Thanks a lot

There are several ways you could do this. Here is my suggestion.

Enroll those buying the full course at level 2. Enroll all of those buying individual lessons at level 1, and sell each lesson by using custom capabilities (ccaps).

Then place Billing Modification Forms wherever you want, but wrap them in shortcode conditionals, so that only those at level 1 and with specific ccaps can see and use them.

Just make sure you give those at level 2 all the ccaps you use.

1 Like

You are awesome Tim ! Thank you !

Do you know what custom capabilities I should use to restrict a specific person from using another article thant the one he bought ?

Oh, I get what’s my problem here :

I would like that people who buy One lesson, will have a certain discount price on full course, and people who buy 2 lessons, another more interesting discount price, etc.

I am trying now to understand how custom capabilities work !!

That will work with the method I suggested. Just use a different form, wrapped in different conditionals, for each ccap or combination of ccaps.

Yes, I am sure what you said will work. THe thing is I don’t know what I should do to allow people that buy for a certain amount of products, to have a specific discount. I know what I should do to allow people that bought 1 product to have 1 discount. But 2, 3, 4…?

Here is what I did for the moment : I put my full course at level 2, like you said. Then, I will create separate pages for the lessons (full course are articles, separate lessons will be pages), that I set at level 1, with specific capability for each. Lesson 1 will be “lesson1” capability.

Then, I set the login welcome page with custom capability in shortcodes : If you are level 2, you will have a link to access to a page to get full course, and if you buy the lesson 1, you will have a link to page “lesson 1” only.

The person who bought only lesson 1 will have a paypal button to upgrade to full course with 10% discount. But if the person buy a second lesson, he will have on his login welcome page 2 links, to access to his 2 lessons. And a button to have 15% discount. How do I set a custom capability that says “if you buy 2 lessons, you have 15% discount”, “if you buy 3 lessons, 20%…” ?

Thank you for your help, I am starting with s2member :slight_smile:

Take a look at this KB article: https://s2member.com/kb-article/s2if-simple-shortcode-conditionals/

Thank you, I know that page, but I don’t know what custom capabilities can do what I need…

Cause if I use a custom capability like [_s2If current_user_can(access_s2member_ccap_product_a)], there will be millions of combinations, because I have 60 lessons.

So if a person buy lesson 1 and lesson 23, another one buy lesson 2, lesson 34 and lesson 14. You see my problem ?

Yes, I do. You really need a way simply to check for a specific number of ccaps, rather than their identity.

@jaswsinc , @raamdev: do you know how to do that?

I see. I hope someone will know ! Thank you so much for your help.

@contentologue Try this hack, needs some code, but works perfectly with [s2If conditions]. PM me if you need a developer.

Thanks, but I realize that I maybe cannot use S2member for my problem.

I just realized that if someone buy a lesson with ccaps “product A” with membership level 1, and if this person wants to buy a second lesson with ccaps “product B”, he will lose access to product A, am I right ?

No, s/he can simply add the new ccap to what s/he already has.

Well, millions of combinations as I said…So, I just decided to sell the full course, and give up for selling separate modules (I searched for hours on internet, and there is no lms or membership system or anything that can do what I need.

So thank you and topic closed.

Here’s one way to do this, but you’ll need to use PHP instead of a shortcode.

<?php if (count(get_user_field('s2member_access_ccaps')) >= 4) : ?>
    You have bought at least 4 separate CCAPs.
<?php endif; ?>