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)
-   -   {if} {/if} syntax problem (https://forum.x-cart.com/showthread.php?t=16638)

Remo man 09-16-2005 08:14 AM

{if} {/if} syntax problem
 
I have some code which I want in basic for to check if there is any information in a field and if so place a link and if not simply place a non breaking space. I looked at the code and thought this might work...

Code:

{if $product.efields ne ""}

Click for sample}{else}{}{/if}


But it didn't ... so, any pointers?

B00MER 09-16-2005 08:27 AM

Code:

{else}{/if}


All times are GMT -8. The time now is 05:37 PM.

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