What are the product/subscription session variables?

Discussion in 'Customization & add-ons' started by oliver94, Nov 13, 2011.

  1. oliver94

    oliver94 Member

    Joined:
    Feb 22, 2011
    Messages:
    33
    Hey guys I was wondering if you can give me the variable to check which subscription/product id the user is under?
    I want to customize my member.php page to display certain info under certain subscription.

    Thank you.
  2. alexander

    alexander Administrator Staff Member

    Joined:
    Jan 8, 2003
    Messages:
    6,279
    You can get this info from session:
    PHP:
    if($_SESSION['_amember_user']['data'][1]){
    // User have active product 1
    }

Share This Page