Implementing page numbering (Prev | 1 | 2 | 3 | ... Next) on Rest/GraphQL Pagination

Implementing page numbering (Prev | 1 | 2 | 3 | ... Next) on Rest/GraphQL Pagination

misteryur123
Shopify Partner
1 0 0

how do I implement page numbering on Shopify Rest/GraphQL API Pagination?
like (Prev | 1 | 2 | 3 | ... Next) buttons

Reply 1 (1)

BSSCommerce-B2B
Shopify Partner
1972 564 561

With REST and GraphQL API, the next page depends on the previous, so I think it's impossible to implement numbered pagination. (Prev | Next) pagination is enough for most cases.

 

B2B Wholesale Solution: Streamline your B2B operation with advanced features like wholesale registration forms, custom pricing.


B2B Portal, Quote, Net 30: Speed up purchasing and streamline your quotation process with advanced features like quick order, request for quote.


B2B Lock Password Protect: Easily control access to pages, products, and pricing with robust features.


BSS Commerce - Full-service eCommerce Agency I Use Shopify for 1$ in the first month now