Re: If Satatement to remove Images
Try this...
{if $cat != '126'|| $manufacturers[id].manufacturer == '0' }
TEST
{else}
<a href="{$url}">{include file="product_thumbnail.tpl" productid=$product.productid image_x=$product.tmbn_x image_y=$product.tmbn_y product=$product.product tmbn_url=$product.tmbn_url}</a>
{/if}
If all you see for cat #126 is "TEST" then you know the code works. You can replace "TEST" with whatever you want to do with cat #126 instead of displaying the thumbnail.
__________________
Two Separate X-Cart Stores
Version 4.4.4 Gold - X-AOM - Vivid Dreams Aquamarine (modified) - Linux
Mods - Newest Products - View All -, and a few others. Numerous upgrades from 4.0.x series.
Integrated with Stone Edge Order Manager + POS
Version 4.1.12 Gold (fresh install) - X-AOM - Linux
Mods - XCSEO free
|