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)
-   -   2 search forms (https://forum.x-cart.com/showthread.php?t=36554)

ARW VISIONS 01-05-2008 08:45 PM

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?

ARW VISIONS 01-06-2008 09:28 PM

Re: 2 search forms
 
anyone?

Ene 01-06-2008 10:46 PM

Re: 2 search forms
 
These search forms must have the different names.

ARW VISIONS 01-07-2008 06:31 PM

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"

ARW VISIONS 01-07-2008 06:35 PM

Re: 2 search forms
 
ok... got it to work... is it possible to have the form return categories instead of individual products?

Ene 01-07-2008 08:50 PM

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.


All times are GMT -8. The time now is 10:14 PM.

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