good-idea/sanity-plugin-shopify-selector

How to install/config?

Opened this issue · 7 comments

This plug-in seems very promising! Could you please briefly explain how to use it?

Many thanks,
T

Hi @tristantbg - This repo is a little out of date. I'm wrapping up a project that uses this then will set up the Readme with instructions. I'll leave this issue open until then.

It's currently set up to fetch collection and product data from a Shopify store. Currently, I'm using it to extend these items with custom data that isn't supported in Shopify.

Are you here looking for any specific functionality?

Hi @good-idea,

Great, thanks a lot.

Yes that is exactly what I am looking for.
For example linking a page to a product or having a product model inside Sanity that fetches all the products but where you can add more fields (ie. Subtitle, 360 images, size chart for this specific product...)
This would enhance the possibilities on the design.

Thanks again,
T

@good-idea do you have any updates to this plugin? Just wondering if I should fork this and create my own?

@Yofamb I'm actively working on this! I'll add some docs on installing & configuring. (There's still a lot to do, so I wouldn't rely on this for a production scenario for the moment)

Cheers, that would be great if you could. I kept getting some issue with form-builder when I tried to use the plugin. I just need the pid's in a select box. For now i'm using a standard string and paste the shopify pid in there. It does the job! I should probably try to make a basic plugin for sanity so I can see how they work

Hi @Yofamb @tristantbg , I've put together a newer build that is part of a larger repo:

https://github.com/good-idea/sane-shopify

I'm going to mark this repo as deprecated.

It's definitely not ready for production, but it should be before too long since I'm going to be using in a client project 😅

For the moment, it will pull in and sync all Shopify products & collections, and you can add any additional fields to their Sanity documents. Please give it a spin if you're up for it!

Thanks @good-idea, the readme is nice and detailed. I'll definitely take a look