Anyways, everything has been great until tonight when I tried to add a new vendor to one of my products. (previously, all products had used the same default vendor).
Upon doing this, my site will no longer build locally, on Netlify where it is hosted. I even downloaded the theme again and added my store details and it fails on a brand new install whenever my store details are used.
Nothing else had changed, other than me putting in a new vendor.
Now I see errors such as:
There was an error in your GraphQL query:
Cannot query field “vendor” on type “ShopifyProduct”.
Cannot query field “priceRangeV2” on type “ShopifyProduct”.
Cannot query field “title” on type “ShopifyProduct”.
Value “tags” does not exist in “ShopifyProductFieldsEnum” enum.
Value “productType” does not exist in “ShopifyProductFieldsEnum” enum.
Etc..
Please help! I don’t know what to do and my sites are now broken.
Having the same issues when spinning up the new gatsby shopify starter for internal testing.
Cannot query field “title” on type “ShopifyProduct”.
Cannot query field “priceRangeV2” on type “ShopifyProduct”.
Cannot query field “vendor” on type “ShopifyProduct”.
I’ve verified data is available in the Shopify admin.
Edit: It seems like the gatsby source plugin (5.0.1) cannot import products
I’m pretty new to Shopify. My products were added by an import. It seems they were not put in the Sales Channel for online store and my app. After that was completed all operations works as expected.
I also replaced my source plugin with gatsby-source-shopify@rc
The solution was to populate EVERY single field of at least one record, with a value. So, make sure you populate all possible things, on at least one product. Then try it.