How do I launch Signup for a specific product

Discussion in 'Payments processing' started by gnicholas, Aug 23, 2007.

  1. gnicholas

    gnicholas New Member

    Joined:
    Feb 14, 2007
    Messages:
    4
    Hi,

    I'd like to set up a signup link so clients can sign up for one specific aMember product / membership type. Then when they get to signup, rather than seeing all products on the signup page, they just see the one specified product.

    As it is now, we have a link to sign up, and all active products are displayed.

    How can I achieve just the one product from a link?
  2. davidm1

    davidm1 aMember User & Partner

    Joined:
    May 16, 2006
    Messages:
    4,437
    You need to set up price groups, then link to the signup page using:
    signup.php?price_group=#

    You can also create new signup.php pages and place this on the top
    $price_group = 1;
    so you can hide the URL.

    David
  3. kirkward

    kirkward New Member

    Joined:
    Feb 12, 2008
    Messages:
    15
    Hi David,

    I have been searching for an answer to a similar question and seen where you mention "link to" a certain page or the other. What do you mean? Example please?

    Thanks,
    Kirk
  4. skippybosco

    skippybosco CGI-Central Partner Staff Member

    Joined:
    Aug 22, 2006
    Messages:
    2,526
    When you are setting up a product you have the option of setting a product code. This product code can be passed as a parameter of the signup.php page to specify which products to show.

    Example
    You have 4 products:
    Product A is a member of price group 1
    Product B is a member of price group 2
    Product C is a member of price group 1
    Product D is a member of price group -3 <- note this is negative


    • If you go to signup.php with no parameters ysou will see products A, B & C (not D because it is negative which means hidden by default)
    • If you go to signup.php?price_group=1 you will see products A & C
    • If you go to signup.php?price_group=-3 you will see product D

    Lastly, if you want the product to be checked/selected by default you can specify product_id=# <- where # is the id number of the product.

    PS There is a wizard link on the bottom of your manage product page that will build these URLS for you (/amember/admin/signup_link_wizard.php)
  5. neutron

    neutron New Member

    Joined:
    Jul 29, 2008
    Messages:
    16
    Is it possible to link to more than one price group at a time?

    i.e. .../signup.php?price_group=-5&-17 (which doesn't work by the way)
  6. codeispoetry

    codeispoetry aMember Pro Customer

    Joined:
    Jan 12, 2009
    Messages:
    336
    Hi neutron,

    Not possible to list more than 1 price group at a time.

    If you want to list a couple of products for that price group, you can use the same price group number for the few products you want to list together.

    Lee
  7. davidm1

    davidm1 aMember User & Partner

    Joined:
    May 16, 2006
    Messages:
    4,437
    Lee's got it.

    in the product settings, you can declare more than 1 price group using a comma
    Product 1
    price group: -12

    Product 2
    price group: -12,-45

    David

Share This Page