Page 1 of 1

Separate page for each form/shortcode? (s2mPro)

PostPosted: November 24th, 2010, 12:49 am
by toddz88
Can anyone verify that it's indeed the case with s2Member PRO that I need to create a separate page in wordpress for each membership option I want to offer?

For example: I am offering a Monthly subscription and an Annual subscription. So my shortcodes for the payment forms each need to be on their own page (and url/slug), one for Monthly, and one for Annual. So i might have:
mysite.com/registration/monthly/
mysite.com/registration/annual/

Am I understanding this correctly? There's nothing dynamic that would enable me to have a single page for the registration/payment form that could handle both monthly and annual, right?

Thanks!
Todd

Re: Separate page for each form/shortcode? (s2mPro)

PostPosted: December 3rd, 2010, 8:46 pm
by toddz88
Another way to ask the question:

Is there a way to put multiple s2mPro PaymentForm ShortCodes on a single wp Page, but show them CONDITIONALLY, based on something dynamic?

I want to present the user with a page containing several links as the Subscription options (each that will have different prices, and other shortcode attributes). Clicking any link will take him to the (one) payment form page, where only the appropriate shortcode/form is displayed, based on which link he clicked. The links could each have a unique GET/url variable.. but i don't know if/how the payment form page could process that. I know how to do this kind of thing in php (in my theme files), but since the ShortCodes are all wp-content, not really php, then this conditional-logic must also be in s2m conditionals.

OR... is there a way to do the payment forms as pure php, rather than wp-shortcodes?

thanks!
todd

Re: Separate page for each form/shortcode? (s2mPro)

PostPosted: December 5th, 2010, 1:21 am
by madsem
You can do that with php_exec in your pages and it's also not important how the checkout forms will take the GET variables, since you use the GET only in your custom script to select which form to display. So the checkoutform itself has nothing to do with the variables you send in the url, but easier is to just make several checkout pages? Then just give each of your subscription buttons the link to the appropriate checkout form ie /checkout-1/, checkout-2/ etc

This is also easier to maintain later