View Single Post
  #109  
Old 06-30-2009, 09:18 AM
 
Momtreprenuer Momtreprenuer is offline
 

Member
  
Join Date: Jan 2008
Posts: 19
 

Default Re: common if/then modifications I make to x-cart...

Thanks carpeperdiem for your reply. I tried that one already and while I was able to see lots of variables, I couldn't see any new ones that I hadn't already tried. I think that I may have the right variable but the wrong syntax (or whatever it is called) so it doesn't work.

Thank you so much for your effort in replying though. For an example of subscriptions 1, 2 here's what I've been playing around with:
Code:
{if subscription eq '1'} show me content for 1 {esleif subscription eq '2'} show me content for 2 {else} Sorry, you must have a sub to view this content. {/if}

I've tried using " or just '. I've tried subscriptions, subscriptionid, subsscription_pay_period_type, subscription_status, productid and many others. I've also taken direct code from subscription.tpl. I've also tried: {if subscription ne ""} which just shows the content to anyone logged in.

I know this should work. I may just need to add more code to another file maybe??
__________________
Version 4.1.12
Reply With Quote