Site search without linking to categories

How to configure and adapt Aimeos based shops as developer
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!
santfather
Posts: 27
Joined: 02 Feb 2022, 10:43

Site search without linking to categories

Post by santfather » 27 May 2022, 13:23

Laravel version: 8.80
Aimeos version: 2021.10
PHP version: 8.0.8
At the moment, the site search works as follows:
1. on the main page, the search results in all categories
2. on the category page - only within this category. when changing the category, the search query is not reset, but continues to search in the new category.

The question is how to set up a search for the entire site / all categories, regardless of being on the site?

User avatar
aimeos
Administrator
Posts: 7866
Joined: 01 Jan 1970, 00:00

Re: Site search without linking to categories

Post by aimeos » 29 May 2022, 07:13

There's a config option to change that behavior:
https://aimeos.org/docs/2022.x/config/c ... e-search_1
Professional support and custom implementation are available at Aimeos.com
If you like Aimeos, Image give us a star

santfather
Posts: 27
Joined: 02 Feb 2022, 10:43

Re: Site search without linking to categories

Post by santfather » 30 May 2022, 10:34

Screenshot_88.png
Screenshot_88.png (7.28 KiB) Viewed 694 times
adding this line did not give a result. the search works only by category. the product located in the DZIECKO category by search will be visible only from the main page (where the search works for all categories), or in the DZIECKO category itself. in other categories, this product will not be found, because the search in them is limited only to this category.
how to set up a search so that it searches for products in all categories, and not in the one where you are now?
how can I change the limit on the number of pagination pages and the number of products found?
Screenshot_89.png
Screenshot_89.png (253.52 KiB) Viewed 689 times

Post Reply