Home › Forums › Community Forum › Adding options to paypal button
This topic contains 12 replies, has 4 voices. Last updated by eve lurie 3 years, 8 months ago.
Topic Author | Topic |
---|---|
Posted: Sunday Sep 2nd, 2012 at 9:23 pm #23884 | |
|
|
My clients register on my website using the S2 member registration, and extend their membership using the s2 Paypal button function. As a perk for registering, they get a free T-Shirt. I want the button to also have an option that allows the clients to specify the T-Shirt size either before clicking the button or after. What’s the best way to go about this? |
List Of Topic Replies
Author | Replies |
---|---|
Author | Replies |
Posted: Tuesday Sep 11th, 2012 at 4:34 pm #24931 | |
|
|
Bump any ideas? |
|
Posted: Tuesday Sep 11th, 2012 at 4:51 pm #24932 | |
![]() |
|
Hello Mike, You can check under Dashboard -› s2Member® -› General Options -› Registration/Profile Fields and add a radio button as an options, maybe. Hope this helps. :) |
|
Posted: Tuesday Sep 11th, 2012 at 4:55 pm #24934 | |
|
|
Hi Eduan, |
|
Posted: Saturday Sep 15th, 2012 at 12:40 am #25391 | |
|
|
Mike, This is pretty easy, however, it’s not done using the s2Member system. PayPal buttons are generated based on passed HTML variables. I don’t know if you can try to add these vars to the s2Member generated shortcode version (haven’t tried it..). Though, I know it WILL work if you use the HTML version of the button code from s2Members button generator. Of course, this means the button is not encrypted, so you’ll have to turn off required button encryption in your paypal settings. So, use the s2m button generator and then add this code to the bottom of it right ABOVE the
line:
You can create as many option values as needed to add more sizes. This creates a required option that does not change the price, but you’ll see it when your paypal orders are processed. [Edited to fix missing closing tags]
|
|
Posted: Saturday Sep 15th, 2012 at 8:54 am #25420 | |
![]() |
|
Thanks for the tip Dan! Just wanted to fix a little error (you didn’t put the closing option tag):
– Eduan |
|
Posted: Sunday Sep 16th, 2012 at 3:05 am #25460 | |
|
|
Eduan, Good catch, my typing wasn’t in sync with my thoughts and I left them out unintentionally. I corrected my previous post! |
|
Posted: Sunday Sep 16th, 2012 at 1:01 pm #25495 | |
![]() |
|
No problem Dan. :) @Mike, does this work for you? |
|
Posted: Thursday Oct 4th, 2012 at 5:23 pm #27477 | |
|
|
Sorry it’s taken me so long to get back. It’s not quite working, and now I’ve not got a huge chunk of empty space above the button when I use the HTML version. When clicking on the button, I’m getting some paypal errors too. Any tips on this? http://www.goldrushexpeditions.com/paypaltest/
|
|
Posted: Thursday Oct 4th, 2012 at 5:47 pm #27483 | |
![]() |
|
Hello Mike, Do you still have this problem if you use the default WordPress theme? (TwentyEleven.) |
|
Posted: Thursday Oct 4th, 2012 at 6:00 pm #27489 | |
|
|
Hi Eduan, Here is the HTML being used:
|
|
Posted: Thursday Oct 4th, 2012 at 6:51 pm #27500 | |
![]() |
|
Well I can’t figure out right away what the problem is. I think it may be that all your custom select fields have the same name:
So instead do it like:
– Eduan |
|
Posted: Thursday Apr 18th, 2013 at 4:42 pm #47802 | |
|
|
hi there, |
This topic is closed to new replies. Topics with no replies for 2 weeks are closed automatically.