Shopify GraphQL and Page Numbers

Shopify GraphQL and Page Numbers

TC2024
New Member
12 0 0

Hi everyone, I would like to have page numbers like  "Prev | 1 | 2 | 3 | ... Next" on my website design. I was told it's impossible to have this feature (numbered pagination) on GraphQL. Can someone validate this and able to provide alter

Replies 5 (5)

PaulMartin
Shopify Partner
481 52 110

How your website is designed or displayed is controlled by the Theme, and it has nothing to do with GraphQL. So, no, it is not impossible to have that feature, alot of Shopify stores have that feature, even free themes such as Dawn. 

Contact here for Email
$25 start rate for theme customizations
Don't forget to like and mark as solution
TC2024
New Member
12 0 0

Thanks for your prompt reply. My website is headless design was told it's impossible to have numbered pagination due to GraphQL. Can you please validate if this is true? Many thanks. 

PaulMartin
Shopify Partner
481 52 110

In the Shopify documentation, there is a guide for pagination for headless websites using Hydrogen and Oxygen. I don't know if your website uses Hydrogen and Oxygen to make it headless, but here's that guide: Pagination (shopify.dev). I'm not entirely sure if this will work on your website, but the people managing it would know better than I do.

Contact here for Email
$25 start rate for theme customizations
Don't forget to like and mark as solution
TC2024
New Member
12 0 0

Ok. Thanks. I can see an app called Headless installed on my Shopify. Is this Hydrogen or Oxygen? or neither? 

PaulMartin
Shopify Partner
481 52 110

Neither.

Since you mentioned that your store is headless, I assume it was built by someone else. Correct?

Contact here for Email
$25 start rate for theme customizations
Don't forget to like and mark as solution