![]() |
If statement list
Is there a list somewhere of all the possible if statement operators and states in x-cart? Like, $usertype and what the possible types are. I'm trying to make a module show on the product detail page only, but I can't find the proper syntax. And I'm sure I'll need others later.
I'm sorry if this is completely obvious, but I've been trying to learn x-cart and smarty for a website launch on 10/1 and I'm a little strained. |
Re: If statement list
Start with customer/home_main.tpl and common_templates.tpl for the if statements for page types. You can also find a lot of them here:
http://forum.x-cart.com/showthread.php?t=8881 |
Re: If statement list
{if $main eq "product"}
Show on product detail page only. {/if} |
Re: If statement list
Got it, thx! Works great. Help is da bomb diggity.
|
All times are GMT -8. The time now is 06:04 AM. |
Powered by vBulletin Version 3.5.4
Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.