Skip to content

Commit

Permalink
Merge pull request #2 from witoszekdev/hide-giftcards
Browse files Browse the repository at this point in the history
Hide gift cards from listing
  • Loading branch information
witoszekdev authored Feb 21, 2024
2 parents c7f7ce6 + da93b2f commit e199623
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion graphql/ProductList.graphql
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ query ProductList {
products(
first: 1
channel: "default-channel"
where: { isAvailable: true }
where: { isAvailable: true, isPublished: true, giftCard: false, isVisibleInListing: true }
sortBy: { field: PRICE, direction: DESC }
) {
edges {
Expand Down

0 comments on commit e199623

Please sign in to comment.