It's beyond the scope of this mod.
That Software Guy. My Store: Zen Cart Support
Available for hire - See my ad in Services
Plugin Moderator, Documentation Curator, Chief Cook and Bottle-Washer.
Do you benefit from Zen Cart? Then please support the project.
Here's a great article from Linda Bustos of Elastic Path about what she calls a "Site Search Thesaurus."
http://www.getelastic.com/7-sources-...rch-thesaurus/
This is what Search Helper is designed to help you create.
That Software Guy. My Store: Zen Cart Support
Available for hire - See my ad in Services
Plugin Moderator, Documentation Curator, Chief Cook and Bottle-Washer.
Do you benefit from Zen Cart? Then please support the project.
Very handy mod, thank you, and although i have an odd problem, i am not worried as i will live with it.
On the product info page i put the code to show the customer what they searched.
(1.3.9h btw)
I set up 2 sets of words to test -
$this->add_keyword('embelishments', 'Embellishments', SEARCH_HELPER_NO_DISPLAY);
$this->add_keyword('fish', 'dolphins', SEARCH_HELPER_DISPLAY);
When i typed in fish, it worked perfectly, showing 'fish' as the searched word, but the SEARCH_HELPER_NO_DISPLAY word showed up on the page also, although not related to fish or dolphins.
I have removed the code in the tpl_product_info_display.php and the add on works great and i can live without it.
I just wondered what i was doing wrong?
Kind regards
Paul
No idea. When installed correctly, it works.
That Software Guy. My Store: Zen Cart Support
Available for hire - See my ad in Services
Plugin Moderator, Documentation Curator, Chief Cook and Bottle-Washer.
Do you benefit from Zen Cart? Then please support the project.
Thanks for the reply Scott.
I know it's me.
It all works perfect search wise, so if i can't get this bit working, i can definitely live with it (but it's annoying me, because i know it's me at fault)
I have installed your qty discounts and your preview page add on a while ago no problem, but seem to have a mental block here.
One instruction confuses me -
4. Modify the file
./includes/languages/english/extra_definitions/search_helper.php to add your search helper keywords.
I thought you added the keywords in in the extra function file?
$this->add_keyword('Compaq', 'HP', SEARCH_HELPER_DISPLAY);
I am confused as to how to add the keywords to the define -
DEFINE('SEARCH_HELPER_TITLE', 'Search Keywords: ');
as my knowledge of defines is that it is just that the SEARCH_HELPER_TITLE resolves to Search Keywords:
But your instructions lead me to think you have to put the keywords there somehow.
Sorry to be so slow on this one, and sorry to take up your time with what must be something simple (me?)
If your cart is english only, just put the keywords in
includes/functions/extra_functions/search_helper.php
as is shown in the examples.
If you support multiple languages, you may want to use ./includes/languages/english/extra_definitions/search_helper.php
to create defines for the words, then you can use the defines in includes/functions/extra_functions/search_helper.php
That Software Guy. My Store: Zen Cart Support
Available for hire - See my ad in Services
Plugin Moderator, Documentation Curator, Chief Cook and Bottle-Washer.
Do you benefit from Zen Cart? Then please support the project.