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

Advanced Search: Get rid of "+" button

 
Reply
   X-Cart forums > X-Cart 4 > Dev Questions > Changing design
 
Thread Tools Search this Thread
  #1  
Old 11-10-2005, 12:27 PM
 
groovedis groovedis is offline
 

Advanced Member
  
Join Date: Apr 2005
Posts: 52
 

Default 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):
__________________
X-Cart version 4.0.13 (unix)
Reply With Quote
  #2  
Old 11-10-2005, 12:43 PM
  B00MER's Avatar 
B00MER B00MER is offline
 

X-Guru
  
Join Date: Sep 2002
Location: Keller, TX (Cart-Lab.com)
Posts: 3,165
 

Default

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.
__________________
Cart-Lab - 100+ Social Bookmarks for X-Cart.
Reply With Quote
  #3  
Old 11-10-2005, 12:55 PM
 
groovedis groovedis is offline
 

Advanced Member
  
Join Date: Apr 2005
Posts: 52
 

Default

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.
__________________
X-Cart version 4.0.13 (unix)
Reply With Quote
  #4  
Old 12-12-2005, 08:19 AM
 
QVS QVS is offline
 

Senior Member
  
Join Date: Nov 2004
Posts: 136
 

Default

well i tried editing out the same selection and it got rid of the advanced search text and the + sign.
__________________
xcart version 4.1.6
UK - Brighton

QVS ELECTRICAL SUPPLIES - http://www.qvsdirect.com

We supply a huge range of cables, electrical accessories, heating, ventilation, fire and security products, consumer units & circuit distribution, indoor and outdoor lighting, showers and water heating, tools and fixings, timer switches, sockets, switches, air conditioning, trunking, and much much more.
Reply With Quote
Reply
   X-Cart forums > X-Cart 4 > Dev Questions > Changing design



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 07:37 AM.

   

 
X-Cart forums © 2001-2020