sanity icon indicating copy to clipboard operation
sanity copied to clipboard

Getting specific products in Shopify collection?

Open heresyrj opened this issue 2 years ago • 6 comments

Sanity sync Shopify collections, but it only provides meta data like GID, ID etc Is there a way we can get the array/lists of products contained in the collection?

Any help would be really appreciated!

heresyrj avatar Jan 18 '23 23:01 heresyrj

I'd be interested to also know how to approach this.

Is the goal here to use the rules associated with a collection, to build the query to fetch relevant products?

joedawson avatar Mar 20 '23 15:03 joedawson

Also interested in this. At the moment collections only contains rules for automatic collection not for manual ones. And the automatic collections only have rules for some of the options in shopify.

Is there a way to open source the Sanity Connect so we can help? I know there been some updates towards integrating it to Liquid themes, but I see even more potential working towards a headless approach (I mean getting more data to sanity).

procrates avatar Apr 08 '23 17:04 procrates

There seems to be difficulty with syncing the products field when using collections for featured, yearly, or promotional products. It doesn't work automatically but manually selecting the products does bring them in. Has anyone been successful with this issue?

amlcodes avatar May 27 '23 00:05 amlcodes

@amlcodes I'm looking for the same thing. Did you find a solution? It seems very weird to not have the products linked to a collection.

manuelodelain avatar Nov 07 '23 17:11 manuelodelain

its a sanity connect limitation, it only gives you the collection name and id info. It can be put into sanity, but thats about the way you want to use sanity with shopify and it's data flow.

amlcodes avatar Nov 15 '23 23:11 amlcodes

We also are looking into this. Looking forward to learning more

tabuchid avatar Apr 10 '24 22:04 tabuchid

Surprised to find this limitation.

mfwgenerics avatar Jun 11 '24 04:06 mfwgenerics