Changing the shopify private app/store that hydrates Statamic? #80
-
Is it okay and possible to change the shopify store that's hydrating Statamic? I ask because I setup my repo and linked it successfully to a shopify test account. However when I change to my new production store I get Here's what I did:
I even created a new private app in the shopify store and tried its credentials. I wonder if its something wrong with my shopify store. The only difference is the prior shopify shop was a dev shop I created that never was activated - Ive been using my current real shop for a few weeks via the POS and thus its been activated. EDIT: More updates, I think I've narrowed it down to the The top of my stack trace for today says:
Which is confusing to me, because i'm only ever looping over |
Beta Was this translation helpful? Give feedback.
Replies: 2 comments 1 reply
-
You can swap the env at any point and it’ll just import from the new shop next time. It’s advisable to delete all content before swapping but you shouldn’t have to change anything else.
Chances are your app doesn’t have the right privileges
Many Thanks,
Jack Whiting
https://jackwhiting.co.uk
Freelance PHP & JS Developer
…On 14 Aug 2021, 16:04 +0100, David A. Lindahl ***@***.***>, wrote:
Is it okay and possible to change the shopify store that's hydrating Statamic? I ask because I setup my repo and linked it successfully to a shopify test account. However when I change to my new production store I get Something went wrong. Please try again. when I try to import the products.
Here's what I did:
1. Removed all shopify related entries in statamic (products, variations, blueprints, taxonomies, assets, php files, JS files)
2. Uninstall shopify statamic addon (just for good measure)
3. Created private app in new shopify store via docs
4. Updated ENV variables with new data
5. Restart yarn watch, clean cache just for good measure
I even created a new private app in the shopify store and tried its credentials.
I wonder if its something wrong with my shopify store. The only difference is the prior shopify shop was a dev shop I created that never was activated - Ive been using my current real shop for a few weeks via the POS and thus its been activated.
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub, or unsubscribe.
|
Beta Was this translation helpful? Give feedback.
-
Okay Ive figured it out and its importing now!! For anyone else who comes across this issue - make sure your container is set to be the same thing everywhere that the shopify addon touches (blueprints, etc) because mine was different in the ENV and the |
Beta Was this translation helpful? Give feedback.
Okay Ive figured it out and its importing now!! For anyone else who comes across this issue - make sure your container is set to be the same thing everywhere that the shopify addon touches (blueprints, etc) because mine was different in the ENV and the
product_type
blueprint and thus I had issues.