Follow us on Twitter X-Cart on Facebook Wiki
Shopping cart software Solutions for online shops and malls
 

Product Option if statment

 
Reply
   X-Cart forums > X-Cart 4 > Dev Questions > Changing design
 
Thread Tools Search this Thread
  #1  
Old 12-21-2007, 01:24 PM
  Cyber Matrix's Avatar 
Cyber Matrix Cyber Matrix is offline
 

eXpert
  
Join Date: Dec 2006
Posts: 199
 

Default Product Option if statment

I'm trying to write an if statement for a template to show only if that product option of Production Time is showing on the product pages in the option area. I can get this to work but it works on all pages. Does anyone have any suggestions? I think I'm calling the wrong information.

Code:
{if $active_modules.Product_Options eq "Production Time"}{include file="warpspeed.tpl"}{/if}
__________________
Cyber Matrix
-------------------
X-Cart 4.1.9
Reply With Quote
  #2  
Old 12-22-2007, 06:03 AM
  Cyber Matrix's Avatar 
Cyber Matrix Cyber Matrix is offline
 

eXpert
  
Join Date: Dec 2006
Posts: 199
 

Default Re: Product Option if statment

Does anyone know how to do this I have tried numerous things and I get the warpspeed.tpl to show up for all pages or not show at all.

Any help would be appreciated, I have not written many IF statements and I'm trying to figure this out.
__________________
Cyber Matrix
-------------------
X-Cart 4.1.9
Reply With Quote
Reply
   X-Cart forums > X-Cart 4 > Dev Questions > Changing design



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Forum Jump


All times are GMT -8. The time now is 06:05 AM.

   

 
X-Cart forums © 2001-2020