Giter Club home page Giter Club logo

Comments (3)

ndimatteo avatar ndimatteo commented on July 16, 2024 1

Hey there @petercr thanks for the kind comments! πŸ™ I'm glad you're digging using HULL!! 🀘

Your screenshots look to be displaying product data properly, but in your screenshot of the "Product Variants" view, you have to click into a product to see the associated variants for it (in case that wasn't clear). If there are no variants set in Shopify for a given product, there will still technically be one variant (the only variant) for the product (this is even how Shopify denotes products in their data structure).

All products, regardless of variants will have a base product document in Sanity, which are in the "Product" view, and is what the "Product Variants" are grouped by.

Also, remember that products are sync'd using the shopify webhooks which hit the shopify sync api endpoint for Next (/api/shopify/product-update). So if you had products created before the webhooks and sync were setup, those products will not get pulled into Sanity until you make some kind of change to them on Shopify.

If that all makes sense, maybe I'm still misunderstanding what you're experiencing, so please let me know!

Perhaps it would help to know what you're expecting to see, vs what you're actually seeing?

Let me know if that helps, looking forward to hearing more!

from hull.

petercr avatar petercr commented on July 16, 2024 1

@ndimatteo Thanks so much for getting back to me so quickly πŸš€

I feel like SUCH a noob πŸ˜† so you were right about this part:

Also, remember that products are sync'd using the shopify webhooks which hit the shopify sync api endpoint for Next (/api/shopify/product-update). So if you had products created before the webhooks and sync were setup, those products will not get pulled into Sanity until you make some kind of change to them on Shopify.

I had a product that was in Shopify and was not showing up in Sanity.
That is was I was trying to get across with the previous message.
I call it "The Case of The Missing Pants" πŸ”

I went to the Shopify Admin section, and updated some of the info on the product. (price & inventory)
Then I went back to Sanity and check the products again, and there it was 🀦
It seems it was just a matter of needing to update a value on the product, and the web hook picked it up πŸ”₯

Thanks again for the help, the issue is all set now 😎

from hull.

ndimatteo avatar ndimatteo commented on July 16, 2024

@petercr haha no worries at all!

It's an easy thing to overlook with something like this, happy to help! 🀘

from hull.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    πŸ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. πŸ“ŠπŸ“ˆπŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❀️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.