Dedicated to the Hydrogen framework, headless commerce, and building custom storefronts using the Storefront API.
Hi,
I'm creating a shop with the Admin API and the storefront API. Everything was working fine so far, but I've recently realized that the products added to checkout were not actually added, since the checkout remains empty.
I've read that the problem might come from the fact that my app is not a sales channel. However, each product of my shop is listed in both sales channels: online store and storefront api.
When I go to App and Sales Channel > Open Sales Channels, I'm redirected to the Theme page, and I'm not able to manage my sales channels. What could explain this behavior ?
What else can I try to make it work?
Thank you in advance,
Antoine
Solved! Go to the solution
This is an accepted solution.
Well it looks like I found the issue. If it can help, the reason why it didn't work is because I was adding the product with its id, instead of with its first variant's id.
This is an accepted solution.
Well it looks like I found the issue. If it can help, the reason why it didn't work is because I was adding the product with its id, instead of with its first variant's id.