Unlock seamless workflows and faster delivery with our latest releases – get the details
Back to changelog

Shopify Published State Stays in Sync with Product Status

Sanity Connect syncs product information between Shopify and Sanity. We now attempt to keep the Status in Shopify linked to the publishing state in Sanity.

  • If a product is 'Draft' in Shopify
    • The document is created as unpublished in Sanity.
    • Any changes to the product cascade to the unpublished draft in Sanity.
  • If a product is 'Active' in Shopify
    • The document is created as published in Sanity.
    • Any changes to the product cascade to the published document as well as any unpublished draft.

If a product is Archived or switched to the 'Draft' status, then we attempt to unpublish the matched document in Sanity. This operation will fail if the published Sanity document is referenced by another document in your dataset. We allow the operation to fail, and we will attempt to unpublish the document again on the next sync.

Documentation affected by this release

Published September 27, 2024