Forums / All Other Contributions/Addons / Search Helper Support Thread

Search Helper Support Thread

Started by swguy on 3 Jan 2008, 3:27 AM · Views: 8,893

Results 1 to 19 of 19
3 Jan 2008, 3:27 AM
#1
swguy avatar

swguy

Administrator

Join Date:
Feb 2006
Location:
Tampa Bay, Florida
Posts:
10,751
Plugin Contributions:
56

Search Helper Support Thread

A new contribution called Search Helper has been added to the download area.

http://www.zen-cart.com/index.php?main_page=product_contrib_info&products_id=856

Description : Search Helper allows you to correct common misspellings (or
alternate spellings) in the search terms your customers use, and allows you
to add search keywords to a page based on the presence of other keywords.
You may also optionally make these terms visible on your product info pages.

More help here:
http://www.thatsoftwareguy.com/zencart_search_helper.html

SoftwareGuy

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.

1 Sep 2008, 7:34 AM
#2
thomasharding avatar

thomasharding

Zen Follower

Join Date:
Sep 2007
Location:
Manchester, England
Posts:
168
Plugin Contributions:
0

Re: Search Helper Support Thread

Fantastic idea for a module this mate, personally though, I feel you should be able to define the keywords in the admin area - would be helpful for people without FTP access, like a restricted administrator.

I hope you'll be able to incorporate this someday as I'd love to roll this out for a lot of our clients in the future.

20 Jul 2010, 12:03 AM
#3
samar777 avatar

samar777

Zen Follower

Join Date:
Nov 2009
Location:
Chicago, IL.
Posts:
202
Plugin Contributions:
0

Re: Search Helper Support Thread

Hi, Just Installed this module and it seems to be working fine. Great idea btw. Thank you.

a question:

What are you supposed to do in /languages/English/extra_definitions/search_helper.php?
Whats the format to add keywords there? and what does that do?

Thanks for your help.

Automation is Godliness

20 Jul 2010, 12:32 AM
#4
swguy avatar

swguy

Administrator

Join Date:
Feb 2006
Location:
Tampa Bay, Florida
Posts:
10,751
Plugin Contributions:
56

Re: Search Helper Support Thread

You don't add keywords to ./includes/languages/english/extra_definitions/search_helper.php; it just has the one string in it.

The keywords go into ./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.

20 Jul 2010, 1:57 AM
#5
samar777 avatar

samar777

Zen Follower

Join Date:
Nov 2009
Location:
Chicago, IL.
Posts:
202
Plugin Contributions:
0

Re: Search Helper Support Thread

Thanks Scott.

I have added keywords to the second file and it all seems to work real well. Very helpful module indeed.

another question/ thought/ may idea for a new mod:

Like at all major sites like Amazon, or ebay, as you try to search for something, their site will start to 'suggest' keywords/products/phrases to you. Can you this is done in here?

example: if you go to eBay and start to type 'iphone.." it will show a light drop down with all things related to iphone.

Automation is Godliness

2 Aug 2010, 3:28 PM
#6
zubenubi avatar

zubenubi

New Zenner

Join Date:
Jan 2010
Location:
Ireland
Posts:
88
Plugin Contributions:
0

Re: Search Helper Support Thread

samar777:

Thanks Scott.

I have added keywords to the second file and it all seems to work real well. Very helpful module indeed.

another question/ thought/ may idea for a new mod:

Like at all major sites like Amazon, or ebay, as you try to search for something, their site will start to 'suggest' keywords/products/phrases to you. Can you this is done in here?

example: if you go to eBay and start to type 'iphone.." it will show a light drop down with all things related to iphone.

This is something I'd like to have too. Is there any-more news on whether or not this could be done?

2 Aug 2010, 6:47 PM
#7
swguy avatar

swguy

Administrator

Join Date:
Feb 2006
Location:
Tampa Bay, Florida
Posts:
10,751
Plugin Contributions:
56

Re: Search Helper Support Thread

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.

27 Sep 2010, 5:07 PM
#8
swguy avatar

swguy

Administrator

Join Date:
Feb 2006
Location:
Tampa Bay, Florida
Posts:
10,751
Plugin Contributions:
56

Re: Search Helper Support Thread

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-for-tweaking-your-site-search-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.

14 May 2011, 2:14 PM
#9
horsetags avatar

horsetags

New Zenner

Join Date:
Jun 2009
Posts:
44
Plugin Contributions:
0

Re: Search Helper Support Thread

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

14 May 2011, 10:23 PM
#10
swguy avatar

swguy

Administrator

Join Date:
Feb 2006
Location:
Tampa Bay, Florida
Posts:
10,751
Plugin Contributions:
56

Re: Search Helper Support Thread

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.

15 May 2011, 9:08 AM
#11
horsetags avatar

horsetags

New Zenner

Join Date:
Jun 2009
Posts:
44
Plugin Contributions:
0

Re: Search Helper Support Thread

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 -

  1. 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?)

15 May 2011, 11:09 AM
#12
swguy avatar

swguy

Administrator

Join Date:
Feb 2006
Location:
Tampa Bay, Florida
Posts:
10,751
Plugin Contributions:
56

Re: Search Helper Support Thread

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.

15 May 2011, 11:18 AM
#13
horsetags avatar

horsetags

New Zenner

Join Date:
Jun 2009
Posts:
44
Plugin Contributions:
0

Re: Search Helper Support Thread

Thanks for getting back.

It is english at the moment, but I will be adding German, so will remember your advice.

Thanks again for your help

19 Jun 2011, 11:25 AM
#14
wirefram avatar

wirefram

New Zenner

Join Date:
Apr 2011
Posts:
95
Plugin Contributions:
0

Re: Search Helper Support Thread

Hi

great add-on, very useful but i was wondering, what is the use to display search keyword on the product page?

thanks

:lookaroun

**2nd market domain names for sale **
dot com only !
http://www.ventesites.com

19 Jun 2011, 11:27 AM
#15
swguy avatar

swguy

Administrator

Join Date:
Feb 2006
Location:
Tampa Bay, Florida
Posts:
10,751
Plugin Contributions:
56

Re: Search Helper Support Thread

For search engines to see.

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.

19 Jun 2011, 12:16 PM
#16
wirefram avatar

wirefram

New Zenner

Join Date:
Apr 2011
Posts:
95
Plugin Contributions:
0

Re: Search Helper Support Thread

I see... from your point of view is it good to display every keyword, like typos, misspelled etc? should the display be restricted to correctly spelled words?

thanks

:unsure:

**2nd market domain names for sale **
dot com only !
http://www.ventesites.com

19 Jun 2011, 12:22 PM
#17
swguy avatar

swguy

Administrator

Join Date:
Feb 2006
Location:
Tampa Bay, Florida
Posts:
10,751
Plugin Contributions:
56

Re: Search Helper Support Thread

Absolutely not. People search for misspelled words too.

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.

1 Aug 2011, 11:15 AM
#18
swguy avatar

swguy

Administrator

Join Date:
Feb 2006
Location:
Tampa Bay, Florida
Posts:
10,751
Plugin Contributions:
56

Re: Search Helper Support Thread

Search helper was just updated to fix a PHP warning and to add a little more documentation.

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.

9 Nov 2011, 10:14 AM
#19
mybiz9999 avatar

mybiz9999

Zen Follower

Join Date:
Jul 2010
Posts:
143
Plugin Contributions:
0

Re: Search Helper Support Thread

Thank you!!

very good add-on.

Just too many(several thousand) keywords in search_helper.php, is it better to store it
in table of Mysql database?

swguy:

Search helper was just updated to fix a PHP warning and to add a little more documentation.