View Single Post
  #12  
Old 07-01-2009, 12:47 PM
  gb2world's Avatar 
gb2world gb2world is offline
 

X-Wizard
  
Join Date: May 2006
Location: Austin, TX
Posts: 1,970
 

Default Re: Subscription Status If/Then

Congrats! - on finding that! The fact that the user_subscription variable already exists is good news for you. There is already a query somewhere that is tying all this together for you. Hopefully - all you need to do is take a look at it and add the subscriptions a user has. Maybe the complication will be if they have more than one?

I did a quick grep for you and the query is here: /modules/Subscriptions/get_subscription_info.php

Now you just need to add your query to get an array with all the associated subscriptionids
__________________
X-CART (4.1.9,12/4.2.2-3/4.3.1-2/4.4.1-5)-Gold
(CDSEO, Altered-Cart On Sale, BCSE Preorder Backorder, QuickOrder, X-Payments, BCSE DPM Module)
Reply With Quote