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)
-   -   Add extra field to quick Search (https://forum.x-cart.com/showthread.php?t=37641)

ballyhero 02-17-2008 08:51 PM

Add extra field to quick Search
 
How do I add an extra field to the default search parameters for the quick search field? I have managed to get it to search the SKU but not an extra field.

Yurij 02-19-2008 12:47 AM

Re: Add extra field to quick Search
 
Add additional field for the product (option "SHOW" - included).
Log in "General settings, select "Product search options".
Include the additional option, and click "Save".

ballyhero 02-19-2008 12:37 PM

Re: Add extra field to quick Search
 
Thank you. I have already selected the checkboxes. It looks to me like they enable them in the Advanced search, not in the quick search.

Scotty85 05-13-2008 01:35 PM

Re: Add extra field to quick Search
 
Is there a way to change the default search to search for ALL parameters all the time? Instead of having to select Advanced Search?

Scotty

Yurij 05-14-2008 07:37 AM

Re: Add extra field to quick Search
 
You can make some hidden form fields, with some specify default values (for searching for "Extra fileds", ).

Do you used a module "Extra fileds"? What other additional modules used?
Show search form to your site?

babydollcosmetics 12-11-2008 06:59 PM

Re: Add extra field to quick Search
 
I have the same question, also.
So how do we change the quick search box to include search our extra field option?
I use the mod "extra fields"
Thanks!

Cyber Matrix 02-21-2009 06:57 AM

Re: Add extra field to quick Search
 
I did not see an answer here for this so I'm posting how I figured it out. Go to your admin >general setting > product search options and turn on the extra fields you want to use in quick search.

Then go to advance search on your site and look at the source code. Find the extra product fields.

Code:

<td width="5"><input type="checkbox" id="ef_1" name="posted_data[extra_fields][1]" checked="checked" /></td>
    <td><label for="ef_1">Colors</label></td>


Find the field you want like posted_data[extra_fields][1] and then put it in your quick search like this

Code:

<input type="hidden" name="posted_data[extra_fields][1]" value="Y" />

Hopefully this helps


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

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