Skip to content

Gatsby Store using only 1 Collection #20

Answered by paveli
dancrodev asked this question in Q&A
Discussion options

You must be logged in to vote

Hi @dancrodev,
Surely this is possible. One way to achieve it is to fork gatsby-source-shopify plugin and modify it to fetch only one collection that you are interested in (or only products with some tag in it). Then use your modified plugin to fetch data from Shopify with Gatsby Storefront.

But first I would suggest trying to play with GATSBY_STALL_RETRY_LIMIT, GATSBY_STALL_TIMEOUT, GATSBY_CONNECTION_TIMEOUT, GATSBY_INCOMPLETE_RETRY_LIMIT to eliminate timeouts.

Replies: 2 comments

Comment options

You must be logged in to vote
0 replies
Answer selected by paveli
Comment options

You must be logged in to vote
0 replies
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants