price group code on signup page

Discussion in 'Customization & add-ons' started by dustin_c2, Dec 14, 2010.

  1. dustin_c2

    dustin_c2 New Member

    Joined:
    Aug 22, 2006
    Messages:
    3
    Hello

    i am trying to get the following page to only show price group -77 but can't seem to get it right.

    http://www.bizoppmarketing.com/amember/secret01.php

    Can anyone help me? What do I change in this section? Or is this the wrong section? This is only section where I see price group mention.

    foreach ($products as $k=>$v){
    if (!in_array($v['scope'], $signup_scope_allowed))
    unset($products[$k]);
    if ($vars['price_group']){
    if (!in_array($vars['price_group'], split(',',$v['price_group'])) )
    unset($products[$k]);
    } elseif ($v['price_group'] < 0){
    unset($products[$k]);

    Thank you very much.
  2. dustin_c2

    dustin_c2 New Member

    Joined:
    Aug 22, 2006
    Messages:
    3
    Update. I am now getting the right prices to show up but when I do a test signup I am getting the following error

    Fatal error: Call to undefined function calculate_price() in /home/dustinhg/public_html/amember/secret01.php on line 239
  3. alexander

    alexander Administrator Staff Member

    Joined:
    Jan 8, 2003
    Messages:
    6,279
    Please attach secret01.php code or contact us in helpdesk and attach that file to ticket.

Share This Page