| ||||||||||
Shopping cart software Solutions for online shops and malls | ||||||||||
|
X-Cart Home | FAQ | Forum rules | Calendar | User manuals | Login |
add keyword to advanced search options | |||
|
|
Thread Tools | Search this Thread |
#1
|
|||||||
|
|||||||
add keyword to advanced search options
This question relates to x-cart version 4.6.x. I was wondering why in admin Product Management there is a special field called Search Keywords but on the customer side, there is not a way to actually search just those keywords, even under the advanced search option. The only 3 check boxes are to search the title, description, and sku. Is there an easy way to add an option to include only words in the keyword field?
It seems like if a user enters a phrase into the simple search it will include the search keyword phrases but also the title, description, and sku. If I want to limit the results to only the Search Keywords, I can't. It also seems like the Search Keywords field is bundled in with the Description checkbox in Advanced Search. I wanted to group a few of my products from different categories by adding some phrases to the search keyword field. Then I could create a blog, facebook, or twitter post and point the link to the Search Results url with the exact products I wanted. Is there a better way to do 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 |
|||||||
#2
|
|||||||||
|
|||||||||
Re: add keyword to advanced search options
As far as I see from the source code you can tweak the template that renders the advanced search form and add another checkbox that will make the search to look in keywords only (its name should be "by_keyword").
However, it looks like the search function updates the search parameters only when you submit the form to the server and ignores parameters passed via the URL. If this is the case, you cannot share a link to the search results page.
__________________
Alex Solovev, Qualiteam --- User manual Video tutorials X-Cart FAQ You are welcome to press "Thanks" button if you find this post useful Click here to learn how to apply patches X-Cart Extensions |
|||||||||
|
|||
X-Cart forums © 2001-2020
|