on 2019 Apr 10 2:03 PM
Hello Experts,
I'm trying to search a product for my newly created B2C site. But I could not able to as an anonymous user. Though the search in B2B site is working fine. When I tried to debug the issue found that the catalogVersion restriction {item:catalogVersion} IN (?session.catalogversions) is stopping the product to be retrieved. How do I resolve this?
I've seen that a catalogVersion should be set for session in filter. But I don't see that for electronics/powertools accelerator store. Is there some configuration to be done as part of this which I've missed.
Appreciate your help.
Request clarification before answering.
Got the solution.
There is no need to set catalogVersions specifically in the code to session. You just have to set the required catalogs for the base store of the site. In my case I've configured the wrong catalog hence it did not pick those products.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
I found the similar error message/issue due to null value was passing into baseSiteId.
POST /commercewebservices/v2/null/products/classifications
If you find similar issue, please also check access log and console log within same time.
Best | Ashish Vyas
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 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.