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)
-   -   Whats wrong with this statement (https://forum.x-cart.com/showthread.php?t=10429)

elabdesigns 11-17-2004 08:39 AM

Whats wrong with this statement
 
Code:

{if $product.fulldescr eq "" and $product.descr eg ""}

{else}
        <tr>
                  <td></td>
        </tr>
        <tr>
                  <td>
                          {if $product.fulldescr ne ""}{$product.fulldescr}
                                    {else}
                                    {$product.descr}
                          {/if}
                  </td>
        </tr>
{/if}


shan 11-17-2004 09:23 AM

descr eg ""}


that bit should be eq not eg

elabdesigns 11-17-2004 09:28 AM

OMG! All this time, I didn't even see that. I feel as small as a ant right now. Thanks shan, that did it.


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

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