Open hnestmann opened 2 years ago
Git2Gus App is installed but the .git2gus/config.json
doesn't exist.
Hey @hnestmann ! Thank you for bringing this up. The PWA currently doesn't support simple products and variation group and the team is aware of the lack of feature. It's on our roadmap to add support for other product types.
Hey @hnestmann ! Thank you for bringing this up. The PWA currently doesn't support simple products and variation group and the team is aware of the lack of feature. It's on our roadmap to add support for other product types.
Hi @kevinxh, what do you mean exactly by "doesn't support"? I just added "product" to the refine string and it works. I see all Products from the category and iam able to buy them.
searchParams.refine.push('htype=master|product')
@dev-niko by "doesn't support", i mean it's not implemented/tested. You could update the api call to include type product
, however, the data structure for those type of products might not be correctly handled on pages like product detail page, you might run into issues. Such scenarios are not tested. You can certainly give it a try.
Here is a PR that demonstrates how you might approach adding support for more product types: https://github.com/SalesforceCommerceCloud/pwa-kit/pull/629
Hello @hnestmann, we are working on this for the first half of 2023!
Updating this thread as it's been a while. We still plan on adding support for simple products, but unfortunately have not found the time to address this yet. We hope to do so soon.
In order to speed up projects with any type of customer data set, we should add support to the search for different product types, such as simple products and variation groups
Simple products can be found in SFRA electronics category Variations groups e.g. 42416786-3M
https://github.com/SalesforceCommerceCloud/pwa-kit/blob/915bf3e9bceb1fda96279c0b019d26bf108f9470/packages/pwa/app/pages/product-list/index.jsx#L553