Different sign up forms for product categories

Discussion in 'Payments processing' started by itsrich, Apr 5, 2015.

  1. itsrich

    itsrich Member

    Joined:
    Sep 13, 2014
    Messages:
    52
    Hello,

    How do I set up different pages for different product categories?

    For example.

    I have Platinum Memberships, Gold Memberships and Silver Memberships. So once I have all these products set up and in assigned to categories, how do I get these on separate pages so that when someone signs up, they have the option to click onto each category to view the products available within that category?

    Ideally I could have it set up with the categories and their descriptions so that the differences between them can be seen, then the user can select their preferred membership and be redirected to another page to select their preferred subscription.

    Platinum Membership

    1 Month
    3 Months
    6 Months
    1 Year

    Gold Membership

    1 Month
    3 Months
    6 Months
    1 Year

    Silver Membership

    1 Month
    3 Months
    6 Months
    1 Year

    Can anyone help with this please?

    Thank you
  2. alexander

    alexander Administrator Staff Member

    Joined:
    Jan 8, 2003
    Messages:
    6,279
    You need to create separate signup form for each category in amember CP -> Forms Editor
    Inside signup form, configure products brick and select what products will be available exactly.
    aMember will generate unique link for each form, then you can use these links in your html page
  3. itsrich

    itsrich Member

    Joined:
    Sep 13, 2014
    Messages:
    52
    OK, thanks.

    How do I get them to appear in the members account area that has the "Add/Renew Subscription" tab?

    It only displays the default sign up page at the moment with no option to go to the other sign up pages I've created?


    Thank you
  4. alexander

    alexander Administrator Staff Member

    Joined:
    Jan 8, 2003
    Messages:
    6,279
  5. itsrich

    itsrich Member

    Joined:
    Sep 13, 2014
    Messages:
    52
    Hello Alexander,

    I've gone with route 1 and created a form with a html block. It's the only block in there, but I still get the "Next" button at the bottom. Is there a way to remove it with out affecting all the other sign up pages?

    Thank you for your help, I appreciate it

    Richard
  6. itsrich

    itsrich Member

    Joined:
    Sep 13, 2014
    Messages:
    52
    Hello Alexander,

    Just thought I would let you know that I found another way to achieve this. I created another "signup" template, removed the form blocks/script includes which removed the "Next" button and I included my own php file which contains my subscription info and links.

    <div class="am-signup">
    <?php echo $this->blocks('signup/login/before') ?>
    <?php include $this->_script('signup/_login-offer.phtml'); ?>
    <?php echo $this->blocks('signup/login/after') ?>
    <?php include($_SERVER['DOCUMENT_ROOT'].'/subscriptions.php'); ?>
    </div>
    <?php include $this->_script('js.country_state.js'); ?>

    :)
  7. alexander

    alexander Administrator Staff Member

    Joined:
    Jan 8, 2003
    Messages:
    6,279
    In html block you can include javascript which will hide button. For example:
    Code:
    <script>
    jQuery(document).ready(function($){
    $("#_qf_page-0_next-0").parents('.row').hide();
    })
    </script>
    

Share This Page