Function "price_group" and how it works.

Discussion in 'Troubleshooting' started by kkhan, Jan 1, 2005.

  1. kkhan

    kkhan Guest

    Objective
    I have created 5 products with price_group=-1 and they are set be visible to "paid customers only". One of these products have a value of $0 and it is set to be visible at signup only, and the plugin "FREE" is also installed.


    The objective of the above configuration is to let people signup for FREE and once they become members they should have the option of viewing different products from that particular price_group, in this case -1.

    Problem
    None of the products (of price_group=-1) are visible in the Add/Renew Subscription option after signing-in!!! The user was signed-up using the option "/amember/signup.php?price_group=-1"
    Even then the products (-1) do not show up.

    However another product that has price_group=0 shows up, which I donot wish to show to users who signed up using ("/amember/signup.php?price_group=-1")

    I have to deploy amember before Jan 3rd. Any help from anyone will be highly appreciated.
  2. gigaenvy

    gigaenvy New Member

    Joined:
    Oct 19, 2004
    Messages:
    33

    I am just trying to help out where I can...Did you set the flag "Select Multiple Products on Member Page" to 'Yes' under the Advanced tab in Setting -> Admin CP?

    I'm still looking around my setup to see what else you may try. Although my config is different...the answer is probably easy.
  3. gigaenvy

    gigaenvy New Member

    Joined:
    Oct 19, 2004
    Messages:
    33
    The other thing you can try is to set the flag to Signup Only instead of Visible to All. Might as well try if you haven't already.

    Did you send an email to support? You'll get a response very quickly - at least I do within minutes/few hours.
  4. kkhan

    kkhan Guest

    price_group

    It seems that although products that are set to price_group=negative-integer show up on the corresponding signup page, they totally vanish once the customer has signed-on.

    I can't get the negative price_group products/subscriptions to show up as products/subscriptions on subsequent user log-ons.

    Also some users have multiple subscriptions, for instance, a CEO purchases four subscriptions for his employees. There is no way to maintain these seperately. The only work around is to create four different logons for each subscription. This is very tedious way of renewing subscriptions where the customer will have to make four seperate payments using his credit card to renew each subscription. If there was a product cart then he could have selected the subscription and then simply raise the quantity to four.

    On our manual system, the same CEO calls in the order saying "please renew the four subscriptions" and we charge his credit card, next month he says "just renew three" so we do three. In amember how do you achieve this?

    Khan
  5. gneate

    gneate Guest

    Have you tried making the default signup page group 1 and the other signup groups 2, 3, 4 etc. I.E do not use negative numbers. I'm totally new at this and am still configuring aMember for my site - but using positive numbers only seems to work (so far) for me. Maybe Alex can shed more light if I'm wrong.
  6. alex

    alex aMember Pro Customer Staff Member

    Joined:
    Jan 24, 2004
    Messages:
    6,021
    negative price groups designed to make products available via specal links only.

    This way your products are accessible as:
    /amember/signup.php?price_group=-1
    and
    /amember/member.php?price_group=-1
  7. gneate

    gneate Guest

    I'm not quite sure if I understand. Using positive numbers enables me and my users to view all products in all groups on the member renewal page. Is that wrong?
  8. alex

    alex aMember Pro Customer Staff Member

    Joined:
    Jan 24, 2004
    Messages:
    6,021
    Yes.
    There is no option (yet) to show products based on previously ordered products.
    There is no history which price groups user ordered before (at least aMember doesn't take it into account when displaying products on member.php page).
  9. kdrowland

    kdrowland Guest

    Hi,

    I have managed to make certain products show up in the Select Product list for subscribers to another particular product.

    I have a recurring subscription product, let's call it EXGroup. The subscribers to EXGroup are businesses who are all members of a buying cooperative, and they in turn are providing another of our recurring products to certain of their customers.

    The EXGroup members can buy "coupons" which they give to their customers who use the coupons to sign up for their subscription without paying anything, since the coupons are set to 100% of the product's cost.

    The EXGroup members start out with a certain number of coupons included in their base subscription price. When they have given all of those coupons out, they can purchase additional coupons as needed. We make the coupon codes available in packs of 1, 2, 3, 4, 5, and 10. These show up only in the EXGroup's list of available products to buy.

    The way I setup the coupon products was to make them recurring, 1month, visible to all, price group first a positive number and then a negative number, and so on, and at the end of the configuration page set the product to require an active subscription to EXGroup.

    It works!

    Hope this helps,
    Karen

    P.S. (added a few hours later) The way we use the coupons to pay the complete price of the subscription, we are using the "offline" payment processing plugin, otherwise, the subscriber would end up at Paypal with a $0.00 balance due, which doesn't work.
  10. russellfeeed

    russellfeeed New Member

    Joined:
    May 16, 2005
    Messages:
    6
    Hi all

    if you want to use negative price_groups to hide products on the signup.php page but you still want them to be available for renewal in members.php try this:

    in /amember/members.php change this line

    } elseif ( $v['price_group'] < 0 ){
    unset($products_to_renew[$k]);

    to

    } elseif ( ($v['price_group'] < 0) && ($v['price_group'] > -1000) ){
    unset($products_to_renew[$k]);



    And then
    price_groups -1 to-999 are hidden always in both signup.php and member.php
    price_groups -1000 onwards are only hidden in signup.php


    Cheers
    Russell
    www.feeedpro.co.uk
  11. deville

    deville New Member

    Joined:
    Nov 4, 2006
    Messages:
    3
    Thanks

    This works great!

Share This Page