Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

How to remove filed in advanced search


Guest

Recommended Posts

Posted

Hello members,

 

I wonder how to remove Manufactureres field from advanced search.php

 

Also Price from and Price to

 

I want to remove these three

 

thank

  • 2 weeks later...
Posted

Manufactures:

Eliminate following lines from advanced_search.php file in your catalog directory:

 

<tr>

<td class="fieldKey"><?php echo ENTRY_MANUFACTURERS; ?></td>

<td class="fieldValue"><?php echo tep_draw_pull_down_menu('manufacturers_id', tep_get_manufacturers(array(array('id' => '', 'text' => TEXT_ALL_MANUFACTURERS)))); ?></td>

</tr>

 

Price from and Price to:

Eliminate following lines:

 

<tr>

<td class="fieldKey"><?php echo ENTRY_PRICE_FROM; ?></td>

<td class="fieldValue"><?php echo tep_draw_input_field('pfrom'); ?></td>

</tr>

<tr>

<td class="fieldKey"><?php echo ENTRY_PRICE_TO; ?></td>

<td class="fieldValue"><?php echo tep_draw_input_field('pto'); ?></td>

</tr>

 

 

That will get rid of the fields.

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...