PriMoThemes — now s2Member® (official notice)

This is now a very OLD forum system. It's in READ-ONLY mode.
All community interaction now occurs at WP Sharks™. See: new forums @ WP Sharks™

PayPal Pro Form Customizations

s2Member Plugin. A Membership plugin for WordPress®.

PayPal Pro Form Customizations

Postby lewayotte » August 3rd, 2011, 7:59 pm

I don't really like the way the PayPal Pro forms look, not elegant enough (no offense). Is there any documentation for changing the forms? I'd like it to slim it down a bit and rearrange some fields. It'd also be nice if I could just have one form with 3 membership options to choose from. Like allow a user to select "10$/mo | 25$/qrt | 90$/yr"... not a big deal, but it'd be cool.
User avatar
lewayotte
Experienced User
Experienced User
 
Posts: 33
Joined: June 22, 2010
Location: Athens, GA

Re: PayPal Pro Form Customizations

Postby Cristián Lávaque » August 4th, 2011, 12:05 am

You can edit it using CSS so it's more compact, or you can customize the form's template.

Is it possible to modify the PayPal® and/or Authorize.Net® Pro Form templates?

Usually not necessary. But yes, if you really need to. Please check your /s2member-pro/includes/templates/forms/ directory. You can take the default templates, and place some ( or all of them ) into your own WordPress® theme directory. s2Member Pro will automatically find your custom templates there. By placing custom templates into your theme directory, you can be sure they won't get overwritten in a future upgrade. Either that, or you can just use the default templates like they are, and customize them with your own CSS rules inside the Stylesheet for your WordPress® theme ( i.e. style.css ). If you're using a PriMo Theme ( for instance, the s2Clean Theme ), check your Theme Options Panel, under: Custom CSS / Style Sheet.


And WP Admin -> s2Member -> PayPal Pro-Forms -> Shortcode Attributes (Explained) -> template

template="" 100% optional. This can be a custom template file that exists inside your WordPress® theme directory. For example: template="checkout.php".


To change the pro-form, you could probably have another small form to select the product and reload the page to get the pro-form for it. You could use $_SERVER['REQUEST_URI'] for that small form's action, and based on the option you'd show one pro-form or the other.

Does that help?
Cristián Lávaque http://s2member.net
Is s2Member working for you? Please rate it Image at WordPress.org. Thanks! :)
User avatar
Cristián Lávaque
Developer
Developer
 
Posts: 6836
Joined: December 22, 2010

Re: PayPal Pro Form Customizations

Postby lewayotte » August 4th, 2011, 5:51 am

Interesting, I didn't notice the template argument, but I'm not exactly sure what it does from the description. Is there more documentation?

Thanks.
Lew
User avatar
lewayotte
Experienced User
Experienced User
 
Posts: 33
Joined: June 22, 2010
Location: Athens, GA

Re: PayPal Pro Form Customizations

Postby Cristián Lávaque » August 5th, 2011, 12:25 am

No, that's the documentation for it so far. You can put the custom template file in your theme's dir or the wp-content dir. The custom template can be a PHP file, not just HTML. Keep the IDs and such as they are so the JS works for the pro-form.

Let me know if you run into trouble.
Cristián Lávaque http://s2member.net
Is s2Member working for you? Please rate it Image at WordPress.org. Thanks! :)
User avatar
Cristián Lávaque
Developer
Developer
 
Posts: 6836
Joined: December 22, 2010

Re: PayPal Pro Form Customizations

Postby lewayotte » August 5th, 2011, 6:48 am

Thanks... I'll give it a whirl :)
User avatar
lewayotte
Experienced User
Experienced User
 
Posts: 33
Joined: June 22, 2010
Location: Athens, GA

Re: PayPal Pro Form Customizations

Postby Cristián Lávaque » August 5th, 2011, 10:27 pm

Cool. :)
Cristián Lávaque http://s2member.net
Is s2Member working for you? Please rate it Image at WordPress.org. Thanks! :)
User avatar
Cristián Lávaque
Developer
Developer
 
Posts: 6836
Joined: December 22, 2010


Return to s2Member Plugin

Who is online

Users browsing this forum: No registered users and 1 guest

cron