Hi there,
I’m working on creating a custom ‘recently viewed’ section on a store using cookies. I created a development app on the store with storefront api access to fetch the data using a GraphQL query, and that works well. All data for the products was being fetched and shown correctly on the store.
Now they have added some new products to the store, and I noticed that each of those products returned a null object instead of the actual product data. After some digging around, I found that my custom develop app is somehow a sales channel that I need to turn on for each product? I have no need for it to be a separate sales channel, I just want to get some product data like titles, links and media, to show on the site.
Is my develop app not set up correctly with the storefront api or is there a better approach? I’ve looked around but couldn’t find a similar issue / solution.
Thanks!