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)
-   -   Manufacturer in Column (https://forum.x-cart.com/showthread.php?t=36459)

typeav 01-01-2008 02:25 PM

Manufacturer in Column
 
Without disable the module on Manufacturer, how do i remove the "SEARCH BY MANUFACTURER" option ? For example i want to keep adding information to new products having the option to choose the Manufacturer. But i dont want the option SEARCH BY MANUFACTURER to be available.

SpinyMan 01-26-2008 02:49 AM

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*}


typeav 01-26-2008 10:21 AM

Re: Manufacturer in Column
 
The one that i would like to remove is the Search By Manufacturer at the navigation bar, not in Advanced search options..............Any help?


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

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