Add support for collection syncing. #111
Replies: 4 comments 1 reply
-
Beta Was this translation helpful? Give feedback.
-
|
We need it, please 🙏 |
Beta Was this translation helpful? Give feedback.
-
|
This is a major deciding factor for us between using Craft or Sanity for Shopify projects. Any plans for the near future? Thank you! |
Beta Was this translation helpful? Give feedback.
-
|
I've been looking into this and what data is available from the Shopify webhooks and all the collection webhook provides is: {
"id": XXX,
"handle": "new-test-collection",
"title": "New Test collection",
"updated_at": "2025-02-27T09:47:06-05:00",
"body_html": "",
"published_at": "2025-02-27T09:47:06-05:00",
"sort_order": "best-selling",
"template_suffix": "",
"published_scope": "global",
"admin_graphql_api_id": "gid://shopify/Collection/XXX"
}So... not much. All of the sorting of what products are filtered into a collection happen elsewhere on Shopify. So, realistically, the only reason why you'd want to bring collections across is if you want to add a page-builder Matrix to your collections routes. I wanted to migrate collections to Craft because I don't like the single-level routing for Shopify collections and if I could do it in Craft I would be able to make routes such as However, in order to fully achieve this you'd need to use the Shopify webhooks to migrate almost everything across from Shopify to Craft including tags, options, metaobject and options, which was proving to be problematic with relying on the Webhook to update Craft fast enough to make this workable. I might come back and try to migrate everything so I can make my collections and handle 100% of the routing in Craft, but for now I'm leaving collection organisation on Shopify. EDIT: I have decided to import collections, just to make them available for use with Verbb's Navigation plugin to allow authors to add collections to the URL without having to find their URLs. |
Beta Was this translation helpful? Give feedback.
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
Description
https://github.com/craftcms/shopify/issues/110
Beta Was this translation helpful? Give feedback.
All reactions