SalesforceCommerceCloud / pwa-kit

React-based JavaScript frontend framework to create a progressive web app (PWA) storefront for Salesforce B2C Commerce.
https://developer.salesforce.com/docs/commerce/pwa-kit-managed-runtime/guide/pwa-kit-overview.html
BSD 3-Clause "New" or "Revised" License
285 stars 139 forks source link

[BUG] Cart page - product-to-product recommendations #2145

Open JonasReniers opened 4 days ago

JonasReniers commented 4 days ago

Summary

The Einstein product recommendations feature on the cart page is not returning any products. This issue is due to the incorrect building of the product payload. In the PWA kit demo environment, products are returned, but there are still inconsistencies. It is unclear if CQuotient has mocking enabled.

Steps To Reproduce

Expected result

The Einstein product recommendations on the cart page should correctly build and return a list of recommended products based on the full product details. This includes ensuring that the product payload contains all necessary attributes, to provide accurate and relevant recommendations.

Actual result

In our environment, we do not receive any product recommendations. However, in the PWA Kit demo environment, we do see recommendations, even though the products are not correctly built in the payload.

System Information (as applicable)

Browser: Chromium based, version 131.0.6778.85 Node version: 20.13.1 pwa-kit version: 3.7.0 Desktop OS: MacOS Mobile Device Info:

Additional information

image image

git2gus[bot] commented 3 days ago

This issue has been linked to a new work item: W-17314029