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

Add extra field to quick Search

 
Reply
   X-Cart forums > X-Cart 4 > Dev Questions > Changing design
 
Thread Tools Search this Thread
  #1  
Old 02-17-2008, 08:51 PM
 
ballyhero ballyhero is offline
 

Newbie
  
Join Date: Jan 2008
Posts: 6
 

Default 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.
__________________
X cart Gold - Version 4.1.9
Reply With Quote
  #2  
Old 02-19-2008, 12:47 AM
  Yurij's Avatar 
Yurij Yurij is offline
Banned
 

X-Adept
  
Join Date: Jan 2008
Posts: 486
 

Default 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".
Reply With Quote
  #3  
Old 02-19-2008, 12:37 PM
 
ballyhero ballyhero is offline
 

Newbie
  
Join Date: Jan 2008
Posts: 6
 

Default 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.
__________________
X cart Gold - Version 4.1.9
Reply With Quote
  #4  
Old 05-13-2008, 01:35 PM
 
Scotty85 Scotty85 is offline
 

Advanced Member
  
Join Date: Mar 2008
Posts: 94
 

Default 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
__________________
Xcart Version 4.1.9
Upgraded to 4.1.10 (clean install with mods added back)
Reply With Quote
  #5  
Old 05-14-2008, 07:37 AM
  Yurij's Avatar 
Yurij Yurij is offline
Banned
 

X-Adept
  
Join Date: Jan 2008
Posts: 486
 

Default 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?
Reply With Quote
  #6  
Old 12-11-2008, 06:59 PM
 
babydollcosmetics babydollcosmetics is offline
 

Member
  
Join Date: Jan 2008
Posts: 15
 

Default 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!
__________________
Clement
X-Cart 4.1.10
Reply With Quote
  #7  
Old 02-21-2009, 06:57 AM
  Cyber Matrix's Avatar 
Cyber Matrix Cyber Matrix is offline
 

eXpert
  
Join Date: Dec 2006
Posts: 199
 

Default 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
__________________
Cyber Matrix
-------------------
X-Cart 4.1.9
Reply With Quote

The following 2 users thank Cyber Matrix for this useful post:
eaglemobiles (05-23-2010), mescalito_ve (07-24-2009)
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 08:21 PM.

   

 
X-Cart forums © 2001-2020