Search bar and category search not working properly
Forum rules
Always add your Aimeos and PHP version as well as your environment (Linux/Mac/Win)
Spam and unrelated posts will be removed immediately!
Always add your Aimeos and PHP version as well as your environment (Linux/Mac/Win)
Spam and unrelated posts will be removed immediately!
-
- Posts: 5
- Joined: 09 Jan 2019, 08:07
Search bar and category search not working properly
We are using Aimeos v.18.10.0. and have 2 problems with the search function:
For example:
we have categories:
- AUDI (products: A3, A6, A8)
- BMW (products: X5, X6, X7)
- MERCEDES
1. problem:
When we type into the products search bar an "AUDI" product, for example "Audi A6", the search works fine.
But if we click after that onto a category, for example "BMW", we receive the message "Audi A6 no results" (it remembered the search term from the search bar, even if that are different categories - AUDI/BMW).
2. problem:
for some categories, for example "OPEL", all products are listed. But if we type a product name into the search bar, we receive that there are no results.
For example:
we have categories:
- AUDI (products: A3, A6, A8)
- BMW (products: X5, X6, X7)
- MERCEDES
1. problem:
When we type into the products search bar an "AUDI" product, for example "Audi A6", the search works fine.
But if we click after that onto a category, for example "BMW", we receive the message "Audi A6 no results" (it remembered the search term from the search bar, even if that are different categories - AUDI/BMW).
2. problem:
for some categories, for example "OPEL", all products are listed. But if we type a product name into the search bar, we receive that there are no results.
Re: Search bar and category search not working properly
Did you set a default category in your catalog list plugin? If yes, remove it to get all results.
Professional support and custom implementation are available at Aimeos.com
If you like Aimeos, give us a star
If you like Aimeos, give us a star
-
- Posts: 5
- Joined: 09 Jan 2019, 08:07
Re: Search bar and category search not working properly
Thanks. I have tried it. But it did not solve my problem.
My search is still very 'buggy'
My search is still very 'buggy'
Re: Search bar and category search not working properly
Is the search term still part of the URL?
Professional support and custom implementation are available at Aimeos.com
If you like Aimeos, give us a star
If you like Aimeos, give us a star
Re: Search bar and category search not working properly
Best option would be to unset the "f_search" parameter here to avoid that issue:
https://github.com/aimeos/ai-client-htm ... hp#L25-L65
https://github.com/aimeos/ai-client-htm ... hp#L25-L65
Professional support and custom implementation are available at Aimeos.com
If you like Aimeos, give us a star
If you like Aimeos, give us a star