BigCommerce Templating - How to grab a list of all products

62 Views Asked by At

I'm working on a custom Product Selector page for BigCommerce, and the first step is to grab a list of all the products on the site.

For the life of me, I can't find out information on how to do this.

Is there a way to grab a list of all items, and their custom variables set in the system?

1

There are 1 best solutions below

0
On

To confirm, you would like to get the products on the storefront itself rather than backend, correct? If so you would benefit from GraphQL APIs to paginate products. You could try them on the graphQL playground of the sample store here or in your own store by navigating from the settings.