commerce icon indicating copy to clipboard operation
commerce copied to clipboard

Products in Carousel Collection are not fetching with the real name as in the Shopify Collections.

Open hamzaadil56 opened this issue 2 years ago • 2 comments

image

See this is the name of carousel items as mention in the vercel integration guide. And I was trying to fetch the products with "hidden-homepage-carousel" as mentioned in the repository. But this error was occuring "No collection found for hidden-homepage-carousel".

So in order to find the solution, I click on the view button as shown below: image

This was navigating to this url: image

Which means that the collection was creating with the name of "frontpage" instead of "hidden-homepage-carousel". Then I fetch the products with "frontpage" and it worked.

So can anyone tell why this is happening? @wentsul @leerob

hamzaadil56 avatar Sep 23 '23 15:09 hamzaadil56

Probably the url slug is created when u first create the collection. After it's created and renames it does not update.

mbaranovski avatar Oct 14 '23 17:10 mbaranovski

If you are here from the future, the fix in in this other issue: https://github.com/vercel/commerce/issues/1207

rolandin avatar Jan 04 '24 04:01 rolandin

^ Thank you for sharing back that solution @rolandin!

leerob avatar Mar 31 '24 14:03 leerob