craftcms / shopify

Synchronize and extend product data from your Shopify storefront.
MIT License
44 stars 25 forks source link

Plugin not respecting Shopify published channels #90

Open justenh opened 5 months ago

justenh commented 5 months ago

After launching our site last year, we've noticed that the workflow of publishing a product from Shopify to the connected website as a "published channel", does not function as we anticipated.

When setting up the plugin, Shopify generates a channel within the Shopify admin interface that shows up under the publishing settings for each product. However, even if the plugin's channel has not been published to, the products are made immediately active based on the "status" field of the Shopify product. This removes our ability to schedule product releases across various channels using the built-in publishing features of Shopify. Additionally, it also renders the Craft Shopify element entry immediately visible to search engines unless an admin in Shopify remembers to set the entry to "Draft" until we're ready to publish. The Craft CMS's side doesn't have any of the typical Post Date fields that Entries normally have, so there is no control over it in that aspect either.

We distribute our products across multiple channels and it is very dependent on timed-releases, so these tools have been great in the past and we would love to be able to use them in our new Craft powered Shopify storefront.

Thanks!

lukeholder commented 2 months ago

Thanks for the request. We will look to improve syncing options with channels in the future.

lukemeyer commented 2 months ago

+1 Respecting the sales channel in Shopify would greatly simplify our workflow by giving the store admin the ability to control Craft visibility of product in the same place as all other channels.

An alternative could be including a list of enabled sales channels as a field on the product, allowing us to filter on that field where needed.

johndwells commented 1 month ago

+1 for this one please

bleepsandblops commented 1 month ago

+1 on this - I can't tell if this is related but the publishedScope attribute we get back says 'global' for products that are only available through the Point of Sale sales channel.