Relative Content

Tag Archive for shopware6

Shopware 6.6 – SearchController – wrong salesChannel handling handleFirstHit

After upgrade from version 6.5.8.9 to 6.6.1.2 I see a strange behaviour in the search.
I have a general salesChannel (http://localhost:8000) and a second salesChannel (http://localhost:8000/it-it) in the /it-it salesChannel I enter a product number and press ENTER. SearchController gets called correctly (http://localhost:8000/it-it/search?search=26179) but in the handleFirstHit method a forwardToRoute is invoked, the salesChannel is then changed to the main one (http://localhost:8000) and the product is not found.