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

Add keywords to customer side advanced search

 
Reply
   X-Cart forums > X-Cart 4 > Dev Questions
 
Thread Tools Search this Thread
  #1  
Old 07-29-2021, 10:17 AM
 
keystone keystone is offline
 

X-Adept
  
Join Date: Jul 2006
Location: USA
Posts: 749
 

Default Add keywords to customer side advanced search

I am wondering if there is a way to add "search keywords" to the customer side advanced search filter. It is already on the admin side when you click on Products you can search in Product Title, Short Desc, Detailed Desc, and Search Keywords.

It doesn't make much sense to have the "search keywords" field when creating a product if it isn't included when the customer searches for it.

We thought we could use this to add color names, seasonal items, etc to our candle lines. For example someone who searches for pink candles would get a listing of all our candles with pink in that field since it may not be listed in the description or title. Or someone looking for candles for fall or Christmas...

Anyone have a solution for this?
__________________
www.uscandleco.com - X-Cart Version 4.7.11 Gold Plus php7.3
mods:
reCaptcha
running on UNIX

www.keystonecandle.com X-Cart Gold Plus - Version 4.7.11 php7.2
mods:
reCaptcha
cdseo pro
running on UNIX
Reply With Quote
  #2  
Old 07-29-2021, 11:41 AM
 
PhilJ PhilJ is offline
 

X-Guru
  
Join Date: Nov 2002
Posts: 3,962
 

Default Re: Add keywords to customer side advanced search

If you look here, we've modifed the search keywords to appear on the product pages as search tags... is that the sort of thing you mean?

I find that not many people actually visit the 'advanced' search page (search.php), as we also use a predictive search mod on the main search box.

Or you could maybe invest in the Refine Filters module, which is pretty decent.
__________________
XCARTMODS.CO.UK | reBOOT reDUX Template | reBOOT reDUX Changelog | ViViD Template (work in progress)
Reply With Quote
  #3  
Old 07-29-2021, 12:13 PM
 
keystone keystone is offline
 

X-Adept
  
Join Date: Jul 2006
Location: USA
Posts: 749
 

Default Re: Add keywords to customer side advanced search

Hi Phil,
Thanks for responding. The tags idea isn't quite what we were looking for. Basically we wanted to add a checkbox to the customer side advanced search so it matches the admin side product search. I don't really want the customer to see the keywords because some of them are misspelled on purpose because some customers search that way.

A good example of the problem is if a customer searches for the word RED, trying to find red candles the results they see include just about every product BECAUSE (even with Product Title, Description, and Sku unchecked, and Exact Phrase selected) it still includes any product with wordd like tapeRED, textuRED, numbeRED, coloRED etc.

I'd like to have the option to filter out product title, description and sku, and ONLY search for the search keywords. Even though most customers won't probably use it, I can use it and send them the URL so they can see the products they want.

Does that make sense? I've attached a screen shot of a results page for a search for RED
Attached Thumbnails
Click image for larger version

Name:	Screenshot 2021-07-29 161228.png
Views:	11
Size:	703.2 KB
ID:	5655  
__________________
www.uscandleco.com - X-Cart Version 4.7.11 Gold Plus php7.3
mods:
reCaptcha
running on UNIX

www.keystonecandle.com X-Cart Gold Plus - Version 4.7.11 php7.2
mods:
reCaptcha
cdseo pro
running on UNIX
Reply With Quote
  #4  
Old 07-29-2021, 11:25 PM
 
PhilJ PhilJ is offline
 

X-Guru
  
Join Date: Nov 2002
Posts: 3,962
 

Default Re: Add keywords to customer side advanced search

I'm sure there's a way of just searching the search keywords only, I'll have a think and get back to you.

Have you looked at /admin/configuration.php?option=Search_products

If you've defined 'extra' fields (eg. color), you can include checkboxes for those, on the customer-side search form.

(Extra fields is a module BTW)
/admin/modules.php
/provider/extra_fields.php
__________________
XCARTMODS.CO.UK | reBOOT reDUX Template | reBOOT reDUX Changelog | ViViD Template (work in progress)
Reply With Quote
  #5  
Old 07-30-2021, 12:24 PM
 
keystone keystone is offline
 

X-Adept
  
Join Date: Jul 2006
Location: USA
Posts: 749
 

Default Re: Add keywords to customer side advanced search

The extra field idea might work. I didn't think of using that. I'll check that out. Thanks.
__________________
www.uscandleco.com - X-Cart Version 4.7.11 Gold Plus php7.3
mods:
reCaptcha
running on UNIX

www.keystonecandle.com X-Cart Gold Plus - Version 4.7.11 php7.2
mods:
reCaptcha
cdseo pro
running on UNIX
Reply With Quote
Reply
   X-Cart forums > X-Cart 4 > Dev Questions


Thread Tools Search this Thread
Search this Thread:

Advanced Search

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 06:39 AM.

   

 
X-Cart forums © 2001-2020