advanced search by type ahead
-
14Steve14
- Senior Contributor
- Posts: 922
- Joined: Fri Oct 25, 2019 7:01 pm
- Phoenix Version: v1.0.9.1
- Has thanked: 17 times
- Been thanked: 103 times
Re: advanced search by type ahead
There was an update somewhere for this addon. It was on the old forum somewhere.
If you go to the linked site above and enter grip into the search box the search results only show as GRI and not GRIP. It makes a change to a file so the full search term shows.
If you go to the linked site above and enter grip into the search box the search results only show as GRI and not GRIP. It makes a change to a file so the full search term shows.
-
Omar_one
- Senior Contributor
- Posts: 677
- Joined: Fri Oct 25, 2019 5:06 pm
- Phoenix Version: v1.0.8.16
- Has thanked: 100 times
- Been thanked: 56 times
Re: advanced search by type ahead
Can you please PM the link as I can't find it14Steve14 wrote: ↑Mon Jan 03, 2022 12:49 pm There was an update somewhere for this addon. It was on the old forum somewhere.
If you go to the linked site above and enter grip into the search box the search results only show as GRI and not GRIP. It makes a change to a file so the full search term shows.
- ReneH4
- Contributor
- Posts: 145
- Joined: Mon Oct 26, 2020 12:00 pm
- Phoenix Version:
- Has thanked: 13 times
- Been thanked: 17 times
Re: advanced search by type ahead
The store search is working well.
There's only one small issue, and since there is no support through the add-on area I thought I would ask here.
When I do a search the result ALLWAYS drops the last character of the search words.
EG when looking for handlebar the correct results display, but the dropdown shows all words less the "r" of handlebar.
It can be seen in the image. I have absolutely no clue where to start looking.
The code is here:
https://apps.oscommerce.com/Hq1WP&store ... ephoenix10
There's only one small issue, and since there is no support through the add-on area I thought I would ask here.
When I do a search the result ALLWAYS drops the last character of the search words.
EG when looking for handlebar the correct results display, but the dropdown shows all words less the "r" of handlebar.
It can be seen in the image. I have absolutely no clue where to start looking.
The code is here:
https://apps.oscommerce.com/Hq1WP&store ... ephoenix10
You do not have the required permissions to view the files attached to this post.
-
radhavallabh
- Senior Contributor
- Posts: 466
- Joined: Tue Oct 27, 2020 4:09 am
- Phoenix Version: 1.1.0.6
- Has thanked: 29 times
- Been thanked: 3 times
Re: advanced search by type ahead
Hi dear;Omar_one wrote: ↑Sun Jan 02, 2022 1:13 pm I haven't try it on clean installation, as I can't reach the test shop files, here is new editing for it,
Store_Search_with_Typeahead.zip
what I have it on test shop that has been updated from the early versions working fine , hope it work for you
I am not a coder
This addon seems to be producing error on 1.0.8.14 , I am not able to figure out the issue as it just gives a 404 error in the console of the web browser, It does not return a php error for debugging.
Can you please shed some light on what may have been wrong with it...
Thank you very much in advance;
Very Warm Regds./
radhavallabh
-
Omar_one
- Senior Contributor
- Posts: 677
- Joined: Fri Oct 25, 2019 5:06 pm
- Phoenix Version: v1.0.8.16
- Has thanked: 100 times
- Been thanked: 56 times
Re: advanced search by type ahead
@radhavallabh I have it working on 1.0.8.14 (updated from the early versions) without any issue.
is there any error in error_log file ?
is there any error in error_log file ?
-
radhavallabh
- Senior Contributor
- Posts: 466
- Joined: Tue Oct 27, 2020 4:09 am
- Phoenix Version: 1.1.0.6
- Has thanked: 29 times
- Been thanked: 3 times
Re: advanced search by type ahead
Hi dear;
I re-uploaded all files and then re-installed the addon to check again, now seems to work fine. Seems while upgrading some file may have got corrupted
I had one more query dear- When I search for a term: the results seem to delete a letter from the highlighted results-
For example
I search for 'radha'
Search results display the categories and products with the word as 'radh' instead (whereas the actual product or category name starts with radha)
I search for 'Krishna'
Search results display the categories and products with the word as 'Krihna' or 'Krishn' instead (whereas the actual product or category name starts with Krishna
)
Any idea what is going wrong dear?? The results seem to rip of a letter from the search query results randomly.
Thank you in advance;
Very Warm Regds./
radhavallabh
- ReneH4
- Contributor
- Posts: 145
- Joined: Mon Oct 26, 2020 12:00 pm
- Phoenix Version:
- Has thanked: 13 times
- Been thanked: 17 times
Re: advanced search by type ahead
If you look at my post from Jan 24th you can see that I also have this problem. It's on a 1079 store.
Since the developer os the add-on is not active here, it might be better to get back to the old forum and ask him there.....
That is, if you don't get your solution here....
Since the developer os the add-on is not active here, it might be better to get back to the old forum and ask him there.....
That is, if you don't get your solution here....
-
radhavallabh
- Senior Contributor
- Posts: 466
- Joined: Tue Oct 27, 2020 4:09 am
- Phoenix Version: 1.1.0.6
- Has thanked: 29 times
- Been thanked: 3 times
Re: advanced search by type ahead
Yes I just noticed your comment dear it is the same issue. after much more digging and debugging for me below fixed the issue-ReneH4 wrote: ↑Mon May 02, 2022 6:56 am If you look at my post from Jan 24th you can see that I also have this problem. It's on a 1079 store.
Since the developer os the add-on is not active here, it might be better to get back to the old forum and ask him there.....
That is, if you don't get your solution here....![]()
ext/store_search/content_searches.php
I changed below line 60 to-
Code: Select all
$query_exploded_new = substr($query_exploded_new, 0, -5);Thank you @Omar_one for this addon ,
Very Warm Regds./
radhavallabh
-
Omar_one
- Senior Contributor
- Posts: 677
- Joined: Fri Oct 25, 2019 5:06 pm
- Phoenix Version: v1.0.8.16
- Has thanked: 100 times
- Been thanked: 56 times
Re: advanced search by type ahead
As I am not a coder, I was can't help more, sorryReneH4 wrote: ↑Mon May 02, 2022 6:56 am If you look at my post from Jan 24th you can see that I also have this problem. It's on a 1079 store.
Since the developer os the add-on is not active here, it might be better to get back to the old forum and ask him there.....
That is, if you don't get your solution here....![]()
-
Omar_one
- Senior Contributor
- Posts: 677
- Joined: Fri Oct 25, 2019 5:06 pm
- Phoenix Version: v1.0.8.16
- Has thanked: 100 times
- Been thanked: 56 times
Re: advanced search by type ahead
good you sort it..radhavallabh wrote: ↑Mon May 02, 2022 8:22 amYes I just noticed your comment dear it is the same issue. after much more digging and debugging for me below fixed the issue-ReneH4 wrote: ↑Mon May 02, 2022 6:56 am If you look at my post from Jan 24th you can see that I also have this problem. It's on a 1079 store.
Since the developer os the add-on is not active here, it might be better to get back to the old forum and ask him there.....
That is, if you don't get your solution here....![]()
ext/store_search/content_searches.php
I changed below line 60 to-And now it works as wanted for me....Code: Select all
$query_exploded_new = substr($query_exploded_new, 0, -5);
Thank you @Omar_one for this addon ,
Very Warm Regds./
radhavallabh
all the credit to the original developer..