View Single Post
  #2  
Old 01-26-2008, 02:49 AM
  SpinyMan's Avatar 
SpinyMan SpinyMan is offline
 

Advanced Member
  
Join Date: Jan 2008
Posts: 30
 

Default Re: Manufacturer in Column

open "customer/main/search_result.tpl" and edit:

1) find a string
Quote:
{if $active_modules.Manufacturers && $manufacturers ne '' && $config.Search_products.search_products_manufactur ers eq 'Y'}
['posted_data[manufacturers][]', ''],
{/if}
and replace it by (OR just comment the found string)
Quote:
{*if $active_modules.Manufacturers && $manufacturers ne '' && $config.Search_products.search_products_manufactur ers eq 'Y'}
['posted_data[manufacturers][]', ''],
{/if*}

2) find a string
Quote:
{if $active_modules.Manufacturers && $manufacturers ne '' && $config.Search_products.search_products_manufactur ers eq 'Y'}
{capture name=manufacturers_items}
{section name=mnf loop=$manufacturers}
<option value="{$manufacturers[mnf].manufacturerid}"{if $manufacturers[mnf].selected eq 'Y'} selected="selected"{/if}>{$manufacturers[mnf].manufacturer}</option>
{/section}
{/capture}
<tr>
<td height="10" class="FormButton" nowrap="nowrap">{$lng.lbl_manufacturers}:</td>
<td height="10"></td>
<td height="10">
<select name="posted_data[manufacturers][]" style="width: 70%;" multiple="multiple" size="{if $smarty.section.mnf.total gt 5}5{else}{$smarty.section.mnf.total}{/if}">
{$smarty.capture.manufacturers_items}
</select>
</td>
</tr>
{/if}
and replace it by (OR just comment the found string)
Quote:
{*if $active_modules.Manufacturers && $manufacturers ne '' && $config.Search_products.search_products_manufactur ers eq 'Y'}
{capture name=manufacturers_items}
{section name=mnf loop=$manufacturers}
<option value="{$manufacturers[mnf].manufacturerid}"{if $manufacturers[mnf].selected eq 'Y'} selected="selected"{/if}>{$manufacturers[mnf].manufacturer}</option>
{/section}
{/capture}
<tr>
<td height="10" class="FormButton" nowrap="nowrap">{$lng.lbl_manufacturers}:</td>
<td height="10"></td>
<td height="10">
<select name="posted_data[manufacturers][]" style="width: 70%;" multiple="multiple" size="{if $smarty.section.mnf.total gt 5}5{else}{$smarty.section.mnf.total}{/if}">
{$smarty.capture.manufacturers_items}
</select>
</td>
</tr>
{/if*}
__________________
Regards,
SpinyMan

X-Cart Templates Store -
http://www.x-cart-customization.com/shop/

X-Cart Customization Services -
http://www.x-cart-customization.com/
Reply With Quote