X-Cart: shopping cart software

X-Cart forums (https://forum.x-cart.com/index.php)
-   Changing design (https://forum.x-cart.com/forumdisplay.php?f=51)
-   -   Product Option if statment (https://forum.x-cart.com/showthread.php?t=36311)

Cyber Matrix 12-21-2007 01:24 PM

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 12-22-2007 06:03 AM

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.


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

Powered by vBulletin Version 3.5.4
Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.