Comments (8)
Hi first off great project and resource thanks @notrab! I see no one has responded to this issue yet and wanted to say that I ran into this same problem with only returning 20 products and found a fix.
I was able to increase the size by adding a parameter within the printful-request get statement near the bottom of index.tsx to set limit to 100 (which I believe is the max amount not sure). This will return up to 100 products on your page at a time.
from headless-dropshipping-starter.
This question was already answered thoroughly here. We should mark this as closed.
from headless-dropshipping-starter.
Kindly help I need to deliver it to the client :(
from headless-dropshipping-starter.
Hey @andy3o0
Do you see anything in the response? I'd take a look at the Printful API docs to see if they accept a pagination param that you can adjust.
from headless-dropshipping-starter.
thanks for responding, I have 51 products added in printful. I console log the products it's fetching on the index page. The array shows the length of the first 20 products only. I am not an expert programmer. :( @notrab
from headless-dropshipping-starter.
https://www.loom.com/share/e7fa3bda61fd4b56a9056c4e89e04a17
from headless-dropshipping-starter.
I'm having this same issue, the get request is only getting 20 of my 35 products. Not really sure how to fix this
from headless-dropshipping-starter.
I will try to replicate this and support further. In the meantime Iād suggest looking at the products that come back from printful and see if the products are being paginated correctly inside the code for the index page props.
from headless-dropshipping-starter.
Related Issues (20)
- Can users add custom image/logo HOT 5
- Server Error 400: This endpoint requires `store_id`! HOT 2
- Filter product types HOT 5
- š” Idea: Transform this project into a package HOT 1
- Missing favicon.ico HOT 3
- How to create Product Detail Pages HOT 5
- New Products not updating on live server HOT 5
- Printful API Key changes HOT 3
- Snipcart shipping 401 Permanent Redirect HOT 7
- Consider adding a responsive navbar HOT 3
- Beginner: How to Edit Header & Logo HOT 1
- Replacing Snipcart With a Self-coded and Custom Shop HOT 3
- Why the sign up form is unavailable? HOT 2
- Tax calculation HOT 3
- I can't add description of the products
- printful api change to access tokens HOT 6
- Would be difficult to upgrade the starter to React18? HOT 2
- Blocked by CORS policy HOT 1
- Some error is happening while fetching shipping rates HOT 4
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
š Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. ššš
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ā¤ļø Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from headless-dropshipping-starter.