commerce
commerce copied to clipboard
Products in Carousel Collection are not fetching with the real name as in the Shopify Collections.
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:
This was navigating to this url:
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
Probably the url slug is created when u first create the collection. After it's created and renames it does not update.
If you are here from the future, the fix in in this other issue: https://github.com/vercel/commerce/issues/1207
^ Thank you for sharing back that solution @rolandin!