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

2 search forms

 
Reply
   X-Cart forums > X-Cart 4 > Dev Questions > Changing design
 
Thread Tools Search this Thread
  #1  
Old 01-05-2008, 08:45 PM
  ARW VISIONS's Avatar 
ARW VISIONS ARW VISIONS is offline
 

X-Man
  
Join Date: Jan 2007
Location: Pensacola, FL
Posts: 2,536
 

Default 2 search forms

If I ahve two search forms on the same page, one at the top and one at the bottom, the search button doesn't work. I can hit enter to retreive search results tho.

Any one know how I can have 2 search forms on the same page?
__________________
xcart 5.1.2
Reply With Quote
  #2  
Old 01-06-2008, 09:28 PM
  ARW VISIONS's Avatar 
ARW VISIONS ARW VISIONS is offline
 

X-Man
  
Join Date: Jan 2007
Location: Pensacola, FL
Posts: 2,536
 

Default Re: 2 search forms

anyone?
__________________
xcart 5.1.2
Reply With Quote
  #3  
Old 01-06-2008, 10:46 PM
  Ene's Avatar 
Ene Ene is offline
 

X-Cart team
  
Join Date: Aug 2004
Posts: 907
 

Default Re: 2 search forms

These search forms must have the different names.
__________________
Eugene Kaznacheev,
Evangelist/Product Manager at Ecwid: http://www.ecwid.com/ (since Sept 2009)

ex-Head of X-Cart Tech Support Department
ex- X-Cart Hosting Manager - X-Cart hosting
ex-X-Cart Technical Support Engineer


Note: For the official guaranteed tech support services please turn to the Customers HelpDesk.
Reply With Quote
  #4  
Old 01-07-2008, 06:31 PM
  ARW VISIONS's Avatar 
ARW VISIONS ARW VISIONS is offline
 

X-Man
  
Join Date: Jan 2007
Location: Pensacola, FL
Posts: 2,536
 

Default Re: 2 search forms

what do you mean by different name? search.tpl and search2.tpl or the actual form name in the code?

name="productsearchform2"
name="productsearchform"
__________________
xcart 5.1.2
Reply With Quote
  #5  
Old 01-07-2008, 06:35 PM
  ARW VISIONS's Avatar 
ARW VISIONS ARW VISIONS is offline
 

X-Man
  
Join Date: Jan 2007
Location: Pensacola, FL
Posts: 2,536
 

Default Re: 2 search forms

ok... got it to work... is it possible to have the form return categories instead of individual products?
__________________
xcart 5.1.2
Reply With Quote
  #6  
Old 01-07-2008, 08:50 PM
  Ene's Avatar 
Ene Ene is offline
 

X-Cart team
  
Join Date: Aug 2004
Posts: 907
 

Default Re: 2 search forms

Quote:
Originally Posted by Ashley
what do you mean by different name? search.tpl and search2.tpl or the actual form name in the code?

name="productsearchform2"
name="productsearchform"

Actual form names: name="productsearchform2"

Quote:
is it possible to have the form return categories instead of individual products?

It isn't possible by default. However it's possible to implement. I made such modification in the past.
__________________
Eugene Kaznacheev,
Evangelist/Product Manager at Ecwid: http://www.ecwid.com/ (since Sept 2009)

ex-Head of X-Cart Tech Support Department
ex- X-Cart Hosting Manager - X-Cart hosting
ex-X-Cart Technical Support Engineer


Note: For the official guaranteed tech support services please turn to the Customers HelpDesk.
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:36 AM.

   

 
X-Cart forums © 2001-2020