Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Unable to load product and collection in vercel commerce. #1205

Closed
shavejshaikh opened this issue Sep 24, 2023 · 11 comments
Closed

Unable to load product and collection in vercel commerce. #1205

shavejshaikh opened this issue Sep 24, 2023 · 11 comments

Comments

@shavejshaikh
Copy link

I'm trying to integrate Shopify with the next commerce and add everything which is required for the env file but still unable to load data inside the pages.

Followed the documentation of vercel with Shopify still haven't found any solution yet.

@hamzaadil56
Copy link

Is there any error occurring or not?

@shavejshaikh
Copy link
Author

image

I'm not facing any error still unable to load a collection and product

@shavejshaikh shavejshaikh changed the title Unable to load product and collection in vercel next commerce. Unable to load product and collection in vercel commerce. Sep 24, 2023
@hamzaadil56
Copy link

The reason behind is that you probably have entered incorrect name of collection or products

Can you please share ss of shopify collections?

@shavejshaikh
Copy link
Author

I have 3 collection
image
Follow the documentation of vercel integration shopify https://vercel.com/docs/integrations/shopify#

@nexusprime-here
Copy link

The same here.

I received some logs:

No collection found for `hidden-homepage-featured-items`
No collection found for `hidden-homepage-carousel`

@hamzaadil56
Copy link

Did you guys have created web hooks for the collections?

And the most important thing is that you can see the collection by clicking on the view button inside the collection. There is a bug in the vercel. integration for the carousel collection. It is not creating with the same name.Instead for the carousel collection it is creating with 'frontpage' name.

For the featured collection, it is completely fine, if you have created the web hooks..

@admdus
Copy link

admdus commented Sep 27, 2023

[nexusprime-here] I also struggled a little bit but after adding third item into featured items the widget finally appeared

@Apezdr
Copy link

Apezdr commented Oct 5, 2023

The homepage featured items requires currently at least 3 items to render, not a great design overall but that's how it works. If you add more items, put them into the channel for headless, and add the items to the collection hidden-homepage-featured-items it should show up for you.

@nexusprime-here
Copy link

The same here.

I received some logs:

No collection found for `hidden-homepage-featured-items`
No collection found for `hidden-homepage-carousel`

resolved in: #1207

@adloram
Copy link

adloram commented Oct 15, 2023

do all the functions need to be edited the same way?

@leerob
Copy link
Member

leerob commented Nov 10, 2023

^ This is resolved per #1205 (comment)

@leerob leerob closed this as completed Nov 10, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

7 participants