From da93b2f99daa986701c5423a0f405bac94039a7f Mon Sep 17 00:00:00 2001 From: Jonatan Witoszek Date: Mon, 19 Feb 2024 14:54:45 +0100 Subject: [PATCH] Hide gift cards from listing --- graphql/ProductList.graphql | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/graphql/ProductList.graphql b/graphql/ProductList.graphql index 546b9e6..9511710 100644 --- a/graphql/ProductList.graphql +++ b/graphql/ProductList.graphql @@ -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 {