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)
-   -   Advanced Search: Get rid of "+" button (https://forum.x-cart.com/showthread.php?t=17880)

groovedis 11-10-2005 12:27 PM

Advanced Search: Get rid of "+" button
 
On the default X-Cart advanced search page you have to click on the + Advanced search options in order to get the advanced search options to appear. This seems to me to be an uneccessary extra click. Does anyone know how to edit search_result.tpl so that these fields always appear?

i.e.
Search in category:
Manufacturers:
SKU:
Price ($):
Weight (lbs):

B00MER 11-10-2005 12:43 PM

skin1/customer/main/search_result.tpl

find:
Code:

<TABLE border="0" cellpadding="0" cellspacing="0"  style="display: none;" id="box1" name="box1">

Change: disaply: none; to dispaly: block;

And remove the advanced search + link.

groovedis 11-10-2005 12:55 PM

hi boomer. thanks. i did the first step.

when you say "remove the advanced search + link." can you be a little more specific?

it's strange. in skin1/customer/main/search_result.tpl i tried commenting out this part.
Code:

<TABLE>
<TR>
<TD id="close1" style="cursor: hand;" onClick="visibleBox('1')">[img]{$ImagesDir}/plus.gif[/img]</TD>
<TD id="open1" style="display: none; cursor: hand;" onClick="visibleBox('1')">[img]{$ImagesDir}/minus.gif[/img]</TD>
<TD>{$lng.lbl_advanced_search_options}</TD>
</TR>
</TABLE>


but the + Advanced search options link still appears.

QVS 12-12-2005 08:19 AM

well i tried editing out the same selection and it got rid of the advanced search text and the + sign.


All times are GMT -8. The time now is 07:31 PM.

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