Skip to content

Commit

Permalink
Increase how many products are fetched
Browse files Browse the repository at this point in the history
Inncreased initial limit to 200 products
  • Loading branch information
w3bdesign authored Feb 26, 2021
1 parent 90e00e6 commit 5429b50
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions utils/gql/GQL_QUERIES.js
Original file line number Diff line number Diff line change
Expand Up @@ -103,11 +103,11 @@ export const FETCH_FIRST_PRODUCTS_FROM_HOODIES_QUERY = `
`;

/**
* Fetch first 24 Woocommerce products from GraphQL
* Fetch first 200 Woocommerce products from GraphQL
*/
export const FETCH_ALL_PRODUCTS_QUERY = gql`
query MyQuery {
products(first: 24) {
products(first: 200) {
nodes {
id
databaseId
Expand Down

0 comments on commit 5429b50

Please sign in to comment.