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)
-   -   Quick code snippet please :) (https://forum.x-cart.com/showthread.php?t=7011)

mustang 01-05-2005 07:21 PM

I'm new to this, but I think something like this would do.

Code:

{section name=num loop=$products}
    {if $products[num].categoryid == 95}
          blah
    {/if}
{/section}


mustang 01-05-2005 07:23 PM

Quote:

Originally Posted by shan
{$products[num].categoryid}

something like that

you have to reference it from the section (loop) its in


Well there you go....from the real expert.

It just took me forever to post it. :D


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

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