latest stable versions: v150827 (changelog)

Old Forums (READ-ONLY): The community now lives at WP Sharks™. If you have an s2Member® Pro question, please use our new Support System.

Can we apply charges on as per user selection

Home Forums Community Forum Can we apply charges on as per user selection

This topic contains 3 replies, has 2 voices. Last updated by  Eduan 4 years, 4 months ago.

Topic Author Topic
Posted: Tuesday Aug 14th, 2012 at 3:24 am #21950
Rakesh Patel
Username: spaceo

Hello,

I want to apply charges as per user select options.
Suppose i have 1 to 10 options for my app. And as per number of selected by user he will be charged as per his selection. If he is selecting 1 then he will be charged by $5 and if he is selecting 3 then he will be charged accordingly suppose $5 x 3 = $15

How can i do above. If possible then give me such good example.

Thanks
Rakesh

List Of Topic Replies

Viewing 3 replies - 1 through 3 (of 3 total)
Author Replies
Author Replies
Posted: Tuesday Aug 14th, 2012 at 10:16 am #21999
Eduan
Username: Eduan
Moderator

Hello Rakesh,

This isn’t possible with s2Member by default, it is however easily attainable with custom code.

You would simply create some checkboxes with our products, which would have the value of how much they cost, then when the user clicks an image (not a button, but the image a button uses) he will be redirected and it will pass through a simple code which will do all the math for what the user chose, and will create the correct button depending on what math function came up with, and will give him the correct levels or ccap, then it would correctly redirect to the URL the shortcode outputs.

It’s not too complicated if you know some PHP, it’s actually a good practice project.

Hope this helps. :)

Posted: Friday Aug 17th, 2012 at 1:42 am #22298
Rakesh Patel
Username: spaceo

Hello Eduan,

Thank you so much for your reply and guide me on this issue. I will do as per your guidance and let you know.

Thanks again!

Hope this help me. :)

Posted: Friday Aug 17th, 2012 at 10:00 am #22353
Eduan
Username: Eduan
Moderator

You’re welcome Rakesh. :)

I suggest you use s2Member’s must use plugins for the hack that does all the math:
http://codex.wordpress.org/Must_Use_Plugins

Viewing 3 replies - 1 through 3 (of 3 total)

This topic is closed to new replies. Topics with no replies for 2 weeks are closed automatically.

Old Forums (READ-ONLY): The community now lives at WP Sharks™. If you have an s2Member® Pro question, please use our new Support System.

Contacting s2Member: Please use our Support Center for bug reports, pre-sale questions & technical assistance.