Follow us on Twitter X-Cart on Facebook Wiki
Shopping cart software Solutions for online shops and malls

Manufacturer in Column

 
Reply
   X-Cart forums > X-Cart 4 > Dev Questions > Changing design
 
Thread Tools Search this Thread
  #1  
Old 01-01-2008, 02:25 PM
 
typeav typeav is offline
 

Advanced Member
  
Join Date: Sep 2007
Posts: 39
 

Question 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.
__________________
X-Cart Gold Version 4.2.1
X-Cart Gold Version 4.4.3
OS: Linux
Reply With Quote
  #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
  #3  
Old 01-26-2008, 10:21 AM
 
typeav typeav is offline
 

Advanced Member
  
Join Date: Sep 2007
Posts: 39
 

Default 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?
__________________
X-Cart Gold Version 4.2.1
X-Cart Gold Version 4.4.3
OS: Linux
Reply With Quote
Reply
   X-Cart forums > X-Cart 4 > Dev Questions > Changing design


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Forum Jump


All times are GMT -8. The time now is 06:09 AM.

   

 
X-Cart forums © 2001-2020