signup_free.php

Discussion in 'Integration' started by jbround39, Mar 20, 2008.

  1. jbround39

    jbround39 aMember Pro Customer

    Joined:
    Mar 20, 2008
    Messages:
    61
    I want to allow a class of users to sign up for free, and have the sign-up page not show payment options.

    I haven't been able to figure out how to do that. I see that amember has a page called signup_free.php that does exactly that.

    Should I just edit the signup template and create a new php file called signup_free.php that is identical to signup.php, but uses a different template?

    Sorry if this is a weak question, I've looked through the manual, the cpanel and searched the forums, but I don't see an answer to this.
  2. davidm1

    davidm1 aMember User & Partner

    Joined:
    May 16, 2006
    Messages:
    4,437
    Create a new product with 0 price.
    Set the Price Group ID as a negative number like -1.

    Then link to the signup page, signup.php?price_group=-1
    The page will now only display your free product.

    David
  3. jbround39

    jbround39 aMember Pro Customer

    Joined:
    Mar 20, 2008
    Messages:
    61
    Thanks for the response David. That is how I currently have it set up.

    The problem I am having is that signup.php has a section for payment type (even if I group the free membership by itself as -1 or whatever) - so it is asking my users for a payment type when the membership has a cost of $0, and I'm sure this is hurting my signup rate.

    On amember.com, they handle this by having a separate php file for the "free" membership signup (signup_free.php). But we don't get that in the version we download, the file doesn't exist.

    I can easily get rid of the payment type by going into setup->advanced and checking the button for assigning a payment type. Then I set the payment type to free for that product, and the payment type disappears in signup.php.

    But unfortunately, that forces me to only allow one payment type for my paid member areas because it forces me to choose a specific payment type for each product - I don't seem to have the option to force payment type for only one product.

    amember.com gets rid of that problem by having two separate signup pages, one free, one for non-free items.

    So my question is, has anyone addressed this with their website?

    See the amember pages for an example of what I'm talking about and note the lack of a "payment method" on the signup_free.php:

    http://www.amember.com/amember/signup_free.php
    http://www.amember.com/amember/signup.php
  4. jbround39

    jbround39 aMember Pro Customer

    Joined:
    Mar 20, 2008
    Messages:
    61
    Just to put the solution to this on the thread, the way I overcame this is by just making sure my free product was in a unique group (-1) and doing the url as:

    signup.php?price_group=-1&hide_paysys

    What I would really like to do would be to change the php code in the signup.html to hide_paysys if the only available products are free, it just looks more professional in my opinion to not have all these post variables after a url. But for now, this works.
  5. nosa

    nosa New Member

    Joined:
    Feb 19, 2008
    Messages:
    18
    I have what may sound like a silly question.

    I already set up price groups -1, -2, -3 for other products I'm selling besides membership.

    I do want to offer free membership, but I want to give out the link to people I want to give the free membership to.

    Now I see in my control panel that the free payment option is set at '0'.

    I can't use -1 as I've used that already.

    Do I just set my free membership to -4?

    Thanks!

Share This Page