🔮 Sanity Create is here. Writing is reinvented. Try now, no developer setup

Issue with installing Sanity Connect app in Shopify store, resolved now

7 replies
Last updated: Mar 8, 2022
Hi everyone, was anyone able to install Sanity Connect app to their Shopify store? Getting this error: There’s no page at this address help
Mar 4, 2022, 6:57 PM
Hey
user L
– thanks for reporting. We’ve received a few reports of this same issue, we’re currently investigating and will let you know when we have an update!
Mar 4, 2022, 7:00 PM
user L
– that issue should be resolved now, thanks for your patience here. Please don’t hesitate to reach out if you come across anything else.
Mar 7, 2022, 10:56 AM
Hi User , the app is working now, but the sync is not matching any of the fields in the schema for the products. it comes as a store object. Do I need to manually create this schema, or do you have something I can use. The e-com schema I have is from the template project in sanity.io/ thanks in advance for your help.
Mar 8, 2022, 3:21 PM
Hey
user L
– Sanity Connect’s automatic sync uses an opinionated schema for products.
We have a demo studio with a schema set up specifically for Sanity Connect which you can use! You can find out more info about that (and Sanity Connect in general)
here
Otherwise if you want to roll your own product schema, that’s completely fine too! By using the ‘custom’ sync mode in Sanity Connect you can then point that to any endpoint / serverless function you control. This means you can effectively map that Shopify data to your Sanity dataset in any way you want – but you’ll need to do a bit of extra work here! The document above provides an example of this too.
Mar 8, 2022, 4:48 PM
Thank you
user F
. Is there a way to run a studio create from this template automatically, or do I have to copy code manually?
Mar 8, 2022, 6:06 PM
Once you’ve installed Sanity Connect (and linked it to an existing project), there’s a command you can copy and paste into your terminal / command prompt which will create a new studio for you.
In Sanity Connect, that’ll look something like this:
Mar 8, 2022, 6:48 PM
The command in question will have a similar signature to the below (in Sanity Connect, correct values for your project and dataset will be pre-filled to match the project you’ve selected)

npx @sanity/cli@shopify init --template shopify --project YOUR_PROJECT_ID --dataset YOUR_DATASET
Mar 8, 2022, 6:49 PM

Sanity– build remarkable experiences at scale

Sanity is a modern headless CMS that treats content as data to power your digital business. Free to get started, and pay-as-you-go on all plans.

Was this answer helpful?