View Single Post
  #1  
Old 06-28-2009, 12:33 PM
 
Momtreprenuer Momtreprenuer is offline
 

Member
  
Join Date: Jan 2008
Posts: 19
 

Exclamation Subscription Status If/Then

Hi,
I've read ALL OVER the forum, (including: http://forum.x-cart.com/showthread.php?t=12511, http://forum.x-cart.com/showthread.php?t=8881, and http://forum.x-cart.com/showthread.php?t=46847) and I've seen many versions of if/then statements but I can't get them to work for what I need. All of the "if" membership statements are great but what would I code for a subscription status? For example, I have 3 subscription types: A, B, and C. I have a static page that is for current subscribers only that needs to show different content based upon the type of subscriber.


Is there a way to tweak the following to be able to use it for subscription types instead of membership types:

{if $user_membership eq '1'}
Content for 1
{elseif $user_membership eq '2'}
Content for 2
{else}
sorry, membership needed for access.
{/if}

I've tried every version of subscriptionid, subscription, productid etc. Please help!

Thanks in advance,
Momtrepreneur
X-cart Version 4.1.12
__________________
Version 4.1.12
Reply With Quote