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

Collection not returning all products #951

Open
zaewin opened this issue May 31, 2023 · 1 comment
Open

Collection not returning all products #951

zaewin opened this issue May 31, 2023 · 1 comment

Comments

@zaewin
Copy link

zaewin commented May 31, 2023

We've been using the JS Buy SDK for several years and it's always been working fine.

We're using the SDK to fetch collections, collections with products and products, to name a few scenarios. The one that's specifically stopped working today was "fetch collection with products":

client.collection.fetchWithProducts(collection_id, { productsFirst: 250 }).then((collection) => { // do something with products });

This has always worked but stopped working yesterday. The collection returned only one or sometimes no products. We started unpublishing and republishing products and after a while the republished products showed up.

Does anyone have any idea why this might occur? It's a completely new issue for us which makes it extremely strange. We're using the latest version of the SDK (/js-buy-sdk/v2/latest/index.umd.min.js)

Thanks.

Magnus

@manucaralmo
Copy link

I have the same problem. It seems to be a Shopify api error

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

2 participants