Hi,
We are importing some ledgers/invoices and all works well. Doing so we have some products that are visible on the website and others that are not (although they are in PIM). For example:
- Product A - has a Product detail page
- Product B - does not have a product detail page (only visible in the PIM)
Our challenge is to determine when to render the link to the PDP. Using the API we can get the product, but because it's not null, we need to do more. We figured we can check if any of the groups the product belongs to, is a valid group of the shop context (in website settings).
Is there a better way to do this? Something like a IsProductValidForShop method/property?
Best Regards,
Nuno Aguiar