We are trying to publish products to our Hydrogen sales channel automatically and we are struggling with configuring this.
Products are listing to the storefront as expected, but not to our additional channel for Hydrogen.
We have tried using the publicationUpdate mutation to update the autoPublish to true.
The response shows autoPublish: true when we run the mutation, but when you query the publication afterwards, it says false still.
Is there a config in the admin dashboard for doing this or is there another endpoint that we should be using?
Hi, could you please share the myshopify.com storefront? You can DM if that’s best.
Was there a resolution to this? We have thousands of products and after adding a hydrogen storefront none of the products are enabled by default - this is counter to the documentation that says a new sales channel will have existing products by default. Is hydrogen an exception?
In case anyone lands here.
We solved this by creating a Shopify Flow that automatically publishes the product in the Hydrogen sales channel every time a product gets created.
Works most of the time. When it doesn’t work, it is easy to manually add all products to the sales channel in the Products section of Shopify Admin.