Problem with redirect to main language while searching
Posted: Tue Nov 07, 2023 5:49 am
There is a site with implemented multi-language that works well except for search.
If I click on the search button on a page with an additional language version (not the main language) of the search, a redirect to the search results in the main language version occurs.
Example:
As it should be:
https://site.com/uk/search/?search=my_search_query
What actually happens after you click on the "Search" button:
https://site.com/search/?search=my_search_query
My Opencart version: 2.1.0.2.1
I would be grateful for recommendations on which file to look for the cause of the problem.
If I click on the search button on a page with an additional language version (not the main language) of the search, a redirect to the search results in the main language version occurs.
Example:
As it should be:
https://site.com/uk/search/?search=my_search_query
What actually happens after you click on the "Search" button:
https://site.com/search/?search=my_search_query
My Opencart version: 2.1.0.2.1
I would be grateful for recommendations on which file to look for the cause of the problem.