on 04-17-2024 4:42 AM
We're in the process of upgrading our SAP Composable storefront to version 2211.19. However, we've encountered an issue where the model$ from ProductListComponentService in OOTB is not triggering the search API on the PLP page. This functionality worked correctly in SAP Composable 6.8. Any insights on why this might be happening and how to address it would be appreciated. Thank you.
Hi @cliff_g ,
I tried it on my end, and it worked fine for the OOTB PLP pages.
Maybe the customization you did around the product search feature blocked the calls? Did it send the product search OCC API call on the first load of the PLP page? Did you see the products on the PLP page at all? Could you disable the browser cache and try the same again?
You can debug the Composable Storefront source codes from VS Code and put breakpoints in the projects/storefrontlib/cms-components/product/product-list/container/product-list-component.service.ts file. For how to read and debug the source code, please refer to the live session Getting started on Composable Storefront Development (fka Spartacus).
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi @samuelyang
Thank you for providing this information. We've identified both the problem and its solution. Posted the answer above.
User | Count |
---|---|
69 | |
8 | |
8 | |
6 | |
6 | |
6 | |
5 | |
5 | |
5 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.