on ‎2019 Jun 24 3:21 PM
Hi All,
I'm trying to add products to ProductCarouselComponent from smart edit editor, but products dropdown showing empty list. When I debug, it tries to execute Named Query from DefaultNamedQueryServiceProductSearchService.getNamedQueryForProductSearch() and it always taking "en" as language ISO code. We don't have any "en" localization for a name, description as we have en_GB as default language and localizations are available for en_GB only. Does anyone face this problem? Please help.
Hybris version: 6.7
Named Query: "SELECT {pk} FROM {Product} WHERE ( LOWER({name}) LIKE LOWER(?name) OR LOWER({description}) LIKE LOWER(?description) OR LOWER({code}) LIKE LOWER(?code)) AND {catalogVersion} = ?catalogVersion"
SELECT {pk} FROM {Product} WHERE ( LOWER({name}) LIKE LOWER('%%') OR LOWER({description}) LIKE LOWER('%%') OR LOWER({code}) LIKE LOWER('%%')) AND {catalogVersion} = '8796093121113'
Above query working when I add localizations for name and description in "en". Also tried executing above query from hac by changing the iso code. Please refer screen prints below.

Thanks
Request clarification before answering.
Hi,
Did you try changing the language to GB while login through smartedit?
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
We are facing a similar issue for product search in smart edit when we are trying to create Product restrictions. Does anyone have any solution for this? it is hitting the same query:
SELECT {pk} FROM {Product} WHERE ( LOWER({name}) LIKE LOWER(?name) OR LOWER({description}) LIKE LOWER(?description) OR LOWER({code}) LIKE LOWER(?code)) AND {catalogVersion} = ?catalogVersion
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi, im having the same issue, if you find the solution please let us know :)
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
| User | Count |
|---|---|
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.