• Resolved lianqing

    (@lianqing)


    Hi:
    in [pms-register] page, I want to modify the page so that only some of the membership options will be available according to some specific conditions.
    I know there probably isn’t an option to do so, but can you point me to the location of php code where I can make the modifications?
    The default page of that section consists of several selectable radio points for each available membership type, and there is a Subscribe at the bottom linking to the PayPal payment page
    Thank you

Viewing 1 replies (of 1 total)
  • Plugin Author Georgian Cocora

    (@raster02)

    Hello @lianqing,

    Do you want to do this dynamically ? Then you should look to use javascript for that.

    If your users are subscribing while they are logged in and you want to sell them plans based on some conditions, then you can do that through this filter: pms_register_form_subscription_plans which is added over the subscription_plans parameter from the [pms-register]. By checking that the user is logged in, you can verify that this is not the register form but the subscription purchase form (so user has already registered).
    Then you can just check an user role for example and only show a specific plan.

    Let me know if you have questions !

    Regards.

Viewing 1 replies (of 1 total)
  • The topic ‘Hide some Membership Payment Options’ is closed to new replies.