# \#input-queries

**URL:** https://community.shopify.com/tag/input-queries/2294.md

[Latest](https://community.shopify.com/latest.md) · [Categories](https://community.shopify.com/categories.md) · [Tags](https://community.shopify.com/tags.md)

---

## [How do you collect feedback from visitors who don’t end up buying?](https://community.shopify.com/t/how-do-you-collect-feedback-from-visitors-who-don-t-end-up-buying/644522)

<div class="topic-metadata">

**Author:** [@zhong\_yan](https://community.shopify.com/u/zhong_yan)\
**Replies:** 16\
**Last updated:** [November 4, 2026, 7:48pm UTC](https://community.shopify.com/t/how-do-you-collect-feedback-from-visitors-who-don-t-end-up-buying/644522 "2026-11-04T19:48:12Z")

</div>

I’m curious how other store owners learn from visitors who don’t buy. It’s easier to get feedback from customers after they place an order, but much harder to understand people who browse, add to cart, or reach checkout…

---

## [Cart line without selling plan gets selling-plan price in Function input when same variant has a subscription line in cart](https://community.shopify.com/t/cart-line-without-selling-plan-gets-selling-plan-price-in-function-input-when-same-variant-has-a-subscription-line-in-cart/657784)

<div class="topic-metadata">

**Author:** [@Asif\_Malik](https://community.shopify.com/u/Asif_Malik)\
**Replies:** 8\
**Last updated:** [July 31, 2026, 2:46pm UTC](https://community.shopify.com/t/cart-line-without-selling-plan-gets-selling-plan-price-in-function-input-when-same-variant-has-a-subscription-line-in-cart/657784 "2026-07-31T14:46:24Z")

</div>

We are facing a problem with Shopify Functions input when selling-plan (subscription) lines and normal lines of the same variant are in the cart together. Our setup We run two completely separate flows and keep them sep…

---

## [GraphQL filtering by metafield](https://community.shopify.com/t/graphql-filtering-by-metafield/623065)

<div class="topic-metadata">

**Author:** [@Constantine\_Kulak](https://community.shopify.com/u/Constantine_Kulak)\
**Replies:** 3\
**Last updated:** [May 18, 2026, 4:07pm UTC](https://community.shopify.com/t/graphql-filtering-by-metafield/623065 "2026-05-18T16:07:31Z")

</div>

Hello All, I’m trying to make a QraphQL query, which would return only products with non-empty image metafield. I tried a few variations of this idea, but all of them always return the complete list of products: query …

---

## [How can I display total donation amount on my website?](https://community.shopify.com/t/how-can-i-display-total-donation-amount-on-my-website/149444)

<div class="topic-metadata">

**Author:** [@LojaPet22](https://community.shopify.com/u/LojaPet22)\
**Replies:** 2\
**Last updated:** [March 12, 2025, 7:46pm UTC](https://community.shopify.com/t/how-can-i-display-total-donation-amount-on-my-website/149444 "2025-03-12T19:46:15Z")

</div>

Hi, I have donate option on my checkout, but how can I show on website page total amount of donations that website receve?? If there is some script that I can integrate, please? Thanks

---

## [Update existing customer tags with newsletter form](https://community.shopify.com/t/update-existing-customer-tags-with-newsletter-form/146463)

<div class="topic-metadata">

**Author:** [@spvKM](https://community.shopify.com/u/spvKM)\
**Replies:** 1\
**Last updated:** [February 28, 2025, 9:59am UTC](https://community.shopify.com/t/update-existing-customer-tags-with-newsletter-form/146463 "2025-02-28T09:59:51Z")

</div>

Hi there, I was looking forward to building a custom newsletter form to let users/customers sign up for a specific product collection. This is possible using a custom form and hidden input, as I saw in another ticket. Fo…

---

## [Custom Product Page Price to Cart Page](https://community.shopify.com/t/custom-product-page-price-to-cart-page/205272)

<div class="topic-metadata">

**Author:** [@TechMac-Digital](https://community.shopify.com/u/TechMac-Digital)\
**Replies:** 1\
**Last updated:** [November 21, 2024, 2:24pm UTC](https://community.shopify.com/t/custom-product-page-price-to-cart-page/205272 "2024-11-21T14:24:59Z")

</div>

Hey Community Members, I have made a calculator functionality on the product page & I want to know how I can take the customization price of the product page to the cart page. What are the ways through which I can take…

---

## [Cart Transform API wrong results - Price is coming 0 everywhere except on Checkout](https://community.shopify.com/t/cart-transform-api-wrong-results-price-is-coming-0-everywhere-except-on-checkout/366152)

<div class="topic-metadata">

**Author:** [@special\_busines](https://community.shopify.com/u/special_busines)\
**Replies:** 0\
**Last updated:** [October 14, 2024, 6:00am UTC](https://community.shopify.com/t/cart-transform-api-wrong-results-price-is-coming-0-everywhere-except-on-checkout/366152 "2024-10-14T06:00:06Z")

</div>

I am creating a few bundles for my client and it works fine for certain cases. I have followed everything from the Shopify docs and believe it has something wrong on Shopify’s side. Please check the attached function log…

---

## [How I Can Hide Delivery Method Based On The Products In The Cart?](https://community.shopify.com/t/how-i-can-hide-delivery-method-based-on-the-products-in-the-cart/302395)

<div class="topic-metadata">

**Author:** [@AsimTahir1](https://community.shopify.com/u/AsimTahir1)\
**Replies:** 7\
**Last updated:** [October 11, 2024, 2:28pm UTC](https://community.shopify.com/t/how-i-can-hide-delivery-method-based-on-the-products-in-the-cart/302395 "2024-10-11T14:28:46Z")

</div>

Hi, i’m creating an Checkout Extensibility/Functions app, using that app merchant can show/hide Delivery Methods based on the product tags. e.g: Shipping, Local Pickup. i’m able to pick the products tags but i don’t kn…

---

## [Shopify Function - validationCreate mutation Query issues](https://community.shopify.com/t/shopify-function-validationcreate-mutation-query-issues/365531)

<div class="topic-metadata">

**Author:** [@JohnDoe3](https://community.shopify.com/u/JohnDoe3)\
**Replies:** 0\
**Last updated:** [October 11, 2024, 8:47am UTC](https://community.shopify.com/t/shopify-function-validationcreate-mutation-query-issues/365531 "2024-10-11T08:47:38Z")

</div>

What is wrong with this query and variables? References document: https://shopify.dev/docs/api/admin-graphql/2024-10/mutations/validationCreate Query and variables: query = \<\<~QUERY mutation validationCrea…

---

## [Shopify Functions Input Variables](https://community.shopify.com/t/shopify-functions-input-variables/311473)

<div class="topic-metadata">

**Author:** [@nelumoraru](https://community.shopify.com/u/nelumoraru)\
**Replies:** 15\
**Last updated:** [October 7, 2024, 11:03am UTC](https://community.shopify.com/t/shopify-functions-input-variables/311473 "2024-10-07T11:03:06Z")

</div>

Hey everyone, I’m trying to apply some discount using shopify functions on customers with certain tags. Passing static strings in the graphql query, into the field “hasAnyTags”, seems to work, but using input variables I…

---

## [Issue with hasAnyTag input variable for Shopify Discount Function](https://community.shopify.com/t/issue-with-hasanytag-input-variable-for-shopify-discount-function/273619)

<div class="topic-metadata">

**Author:** [@gjohnstonTT](https://community.shopify.com/u/gjohnstonTT)\
**Replies:** 6\
**Last updated:** [October 3, 2024, 7:32pm UTC](https://community.shopify.com/t/issue-with-hasanytag-input-variable-for-shopify-discount-function/273619 "2024-10-03T19:32:38Z")

</div>

Hi, I’m currently trying to build a Shopify Discount Function that will target products based off a tag. If I hardcode the tag value into the input query the function works however I would like this to be dynamic, along…

---

## [How can I access multiple discountNodes Metafields value?](https://community.shopify.com/t/how-can-i-access-multiple-discountnodes-metafields-value/317543)

<div class="topic-metadata">

**Author:** [@yedla\_dinesh](https://community.shopify.com/u/yedla_dinesh)\
**Replies:** 20\
**Last updated:** [October 1, 2024, 11:57pm UTC](https://community.shopify.com/t/how-can-i-access-multiple-discountnodes-metafields-value/317543 "2024-10-01T23:57:26Z")

</div>

Hi everyone, I am attempting to create multiple discounts using the ‘discountAutomaticAppCreate’ GraphQL function and add metafields with the same key and namespace. This process has been successful and I have created 2…

---

## [Applying  different discount based on customer and multiple variant tags - Shopify function](https://community.shopify.com/t/applying-different-discount-based-on-customer-and-multiple-variant-tags-shopify-function/361551)

<div class="topic-metadata">

**Author:** [@Priyanka\_1](https://community.shopify.com/u/Priyanka_1)\
**Replies:** 2\
**Last updated:** [October 1, 2024, 12:08pm UTC](https://community.shopify.com/t/applying-different-discount-based-on-customer-and-multiple-variant-tags-shopify-function/361551 "2024-10-01T12:08:50Z")

</div>

I’ve script that provide discount to the customer that has tagged with “Employee” tag and based on product tag specific tag like “OFF50”, “OFF30” and “OFF20” . Like if customer has Employee tag then it check if products …

---

## [Cart Transform Extension Bug in Gift Card Products](https://community.shopify.com/t/cart-transform-extension-bug-in-gift-card-products/358971)

<div class="topic-metadata">

**Author:** [@Perugia](https://community.shopify.com/u/Perugia)\
**Replies:** 0\
**Last updated:** [September 17, 2024, 1:03pm UTC](https://community.shopify.com/t/cart-transform-extension-bug-in-gift-card-products/358971 "2024-09-17T13:03:41Z")

</div>

Hello everyone, during the expand operation using the cart transform plugin, I get the error “The bundle product ‘product\_name’ cannot be added to the cart.” when adding “Gift Card Template” products to the cart. Althoug…

---

## [Discount function: The presentmentCurrencyRate parameter does not account for price adjustment](https://community.shopify.com/t/discount-function-the-presentmentcurrencyrate-parameter-does-not-account-for-price-adjustment/358168)

<div class="topic-metadata">

**Author:** [@DanteFXX](https://community.shopify.com/u/DanteFXX)\
**Replies:** 0\
**Last updated:** [September 14, 2024, 11:19am UTC](https://community.shopify.com/t/discount-function-the-presentmentcurrencyrate-parameter-does-not-account-for-price-adjustment/358168 "2024-09-14T11:19:14Z")

</div>

The final currency rate using the price adjustment is 1 USD = 6 PLN. Prices for storefront are recalculated based on this rate. However, we cannot apply the same rate to provide a discount. This is quite strange. https:…

---

## [How to get product tags on my Function?](https://community.shopify.com/t/how-to-get-product-tags-on-my-function/232535)

<div class="topic-metadata">

**Author:** [@maikenegreiros](https://community.shopify.com/u/maikenegreiros)\
**Replies:** 5\
**Last updated:** [September 13, 2024, 6:20pm UTC](https://community.shopify.com/t/how-to-get-product-tags-on-my-function/232535 "2024-09-13T18:20:28Z")

</div>

I have a Shopify Function using Discounts API which will apply discounts depending on the product tags, e.g. if a product has a not-eligible-for-discount tag my FunctionResult will not apply discount to this. My input.g…

---

## [Shopify Function query Channel information](https://community.shopify.com/t/shopify-function-query-channel-information/357996)

<div class="topic-metadata">

**Author:** [@jakeshw](https://community.shopify.com/u/jakeshw)\
**Replies:** 0\
**Last updated:** [September 13, 2024, 5:16pm UTC](https://community.shopify.com/t/shopify-function-query-channel-information/357996 "2024-09-13T17:16:25Z")

</div>

I am looking to query the channel that a buyer is coming from in order to change the discount based on which storefront the buyer is shopping from. Anyone know if this is possible? I haven’t seen what graphql resource wo…

---

## [Cafe](https://community.shopify.com/t/cafe/357380)

<div class="topic-metadata">

**Author:** [@beshop](https://community.shopify.com/u/beshop)\
**Replies:** 0\
**Last updated:** [September 12, 2024, 1:17am UTC](https://community.shopify.com/t/cafe/357380 "2024-09-12T01:17:29Z")

</div>

Cafe

---

## [shipping/order discount function return null on any attribute](https://community.shopify.com/t/shipping-order-discount-function-return-null-on-any-attribute/353478)

<div class="topic-metadata">

**Author:** [@abidhasan](https://community.shopify.com/u/abidhasan)\
**Replies:** 2\
**Last updated:** [September 10, 2024, 8:10am UTC](https://community.shopify.com/t/shipping-order-discount-function-return-null-on-any-attribute/353478 "2024-09-10T08:10:21Z")

</div>

I am updating my cart attributes using, fetch('/cart/update.js', { method: 'post', headers: { 'content-type': 'application/json' }, body: JSON.stringify({ line: 1, attributes: { customersFirs…

---

## [Fetch order and line-item level discounts used?](https://community.shopify.com/t/fetch-order-and-line-item-level-discounts-used/353379)

<div class="topic-metadata">

**Author:** [@joeybab3](https://community.shopify.com/u/joeybab3)\
**Replies:** 4\
**Last updated:** [August 31, 2024, 8:33pm UTC](https://community.shopify.com/t/fetch-order-and-line-item-level-discounts-used/353379 "2024-08-31T20:33:46Z")

</div>

I have been reading all the documentation searching for anything that would allow me to pull what discounts were used on an order. Am I correct in seeing that there is currently no way to pull the discounts on an order? …

---

## [DISCOUNT FUNCTION :HOW TO USE PAYMMENT METHOD TO APPLY DISCOUNT](https://community.shopify.com/t/discount-function-how-to-use-paymment-method-to-apply-discount/353237)

<div class="topic-metadata">

**Author:** [@1563704123](https://community.shopify.com/u/1563704123)\
**Replies:** 0\
**Last updated:** [August 29, 2024, 10:00am UTC](https://community.shopify.com/t/discount-function-how-to-use-paymment-method-to-apply-discount/353237 "2024-08-29T10:00:28Z")

</div>

I AM STUCK ON THIS POINT NOW FOR A VERY LONG TIME I WANT TO REMOVE THE AUTOMATIC DISCOUNT THAT IS APPLIED TO THE CHECKOUT USING DISCOUNT FN I WANT TO CREATE A LOGIC WHERE IF USER SELECT LETS SAY A PAYMNT BY (CREDIT CARD …

---

## [0.5 Increment in product quantity](https://community.shopify.com/t/0-5-increment-in-product-quantity/251006)

<div class="topic-metadata">

**Author:** [@pmt](https://community.shopify.com/u/pmt)\
**Replies:** 4\
**Last updated:** [August 26, 2024, 4:03pm UTC](https://community.shopify.com/t/0-5-increment-in-product-quantity/251006 "2024-08-26T16:03:50Z")

</div>

Hello, I want to add product quantity in decimals, for example: 0.5, 1, 1.5, 2, 2.5 etc. How to do that. Thanks.

---

## [Function Maximum Complexity Exceeded due to number of Metafields Required](https://community.shopify.com/t/function-maximum-complexity-exceeded-due-to-number-of-metafields-required/340387)

<div class="topic-metadata">

**Author:** [@jjnotjayjay](https://community.shopify.com/u/jjnotjayjay)\
**Replies:** 1\
**Last updated:** [August 17, 2024, 3:29am UTC](https://community.shopify.com/t/function-maximum-complexity-exceeded-due-to-number-of-metafields-required/340387 "2024-08-17T03:29:53Z")

</div>

Hi all! I have a Shopify Function that works as expected when querying a small number of metafields. However, this particular Function requires access to ~20-30 different metafields. Most of them are in the same namespa…

---

## [Product discount for some specific collection](https://community.shopify.com/t/product-discount-for-some-specific-collection/342541)

<div class="topic-metadata">

**Author:** [@phamquyetthang](https://community.shopify.com/u/phamquyetthang)\
**Replies:** 0\
**Last updated:** [July 25, 2024, 8:35am UTC](https://community.shopify.com/t/product-discount-for-some-specific-collection/342541 "2024-07-25T08:35:16Z")

</div>

I see that currently the Product Discount API’s Input does not allow me to get the collections id and tag id of the product, so I am having difficulty creating a discount app for my purposes. My case: Products in colle…

---

## [Shopify Function to read the applied discount codes, if a string is found set shiping to $0.00](https://community.shopify.com/t/shopify-function-to-read-the-applied-discount-codes-if-a-string-is-found-set-shiping-to-0-00/293056)

<div class="topic-metadata">

**Author:** [@KellyEldritch](https://community.shopify.com/u/KellyEldritch)\
**Replies:** 4\
**Last updated:** [July 23, 2024, 6:44pm UTC](https://community.shopify.com/t/shopify-function-to-read-the-applied-discount-codes-if-a-string-is-found-set-shiping-to-0-00/293056 "2024-07-23T18:44:01Z")

</div>

I have created an extension only app that has a shipping discount extension. My input query: query RunInput { cart { discountCodes { code } } } Based on the GraphQL explorer found here: shopify.dev/g…

---

## [Implementing AJAX Interactivity for custom section](https://community.shopify.com/t/implementing-ajax-interactivity-for-custom-section/341659)

<div class="topic-metadata">

**Author:** [@FormingAFlow](https://community.shopify.com/u/FormingAFlow)\
**Replies:** 1\
**Last updated:** [July 22, 2024, 9:27pm UTC](https://community.shopify.com/t/implementing-ajax-interactivity-for-custom-section/341659 "2024-07-22T21:27:11Z")

</div>

Hello, I have made a few tweaks to my product-complementary.liquid file and have made much progress. I have the styling and layout perfect right now, however, my store is set to display the cart drawer, and when you cli…

---

## [Shopify function input query metafield](https://community.shopify.com/t/shopify-function-input-query-metafield/322537)

<div class="topic-metadata">

**Author:** [@jakehe](https://community.shopify.com/u/jakehe)\
**Replies:** 4\
**Last updated:** [July 17, 2024, 7:50am UTC](https://community.shopify.com/t/shopify-function-input-query-metafield/322537 "2024-07-17T07:50:38Z")

</div>

Hi, I am working on the custom delivery function. How can I get the customer metafield value ? Input query is this query RunInput { cart { buyerIdentity { customer { id displayName …

---

## [Creating a discount based on customer and variant tags](https://community.shopify.com/t/creating-a-discount-based-on-customer-and-variant-tags/339001)

<div class="topic-metadata">

**Author:** [@will-mexi](https://community.shopify.com/u/will-mexi)\
**Replies:** 2\
**Last updated:** [July 15, 2024, 4:21pm UTC](https://community.shopify.com/t/creating-a-discount-based-on-customer-and-variant-tags/339001 "2024-07-15T16:21:03Z")

</div>

Hello, I am working on an automatic discount function for our store. I want to be able to apply cart line level discounts based on both the customer’s tags and the product variant’s tags. I have managed to get checking …

---

## [Hiding Payment Methods based on Customer Tags](https://community.shopify.com/t/hiding-payment-methods-based-on-customer-tags/339012)

<div class="topic-metadata">

**Author:** [@munzahshah](https://community.shopify.com/u/munzahshah)\
**Replies:** 0\
**Last updated:** [July 12, 2024, 3:56pm UTC](https://community.shopify.com/t/hiding-payment-methods-based-on-customer-tags/339012 "2024-07-12T15:56:31Z")

</div>

Hi everyone, I am trying to implement the following feature in my app: “The customer who is interacting with the store cart if contains \[ABC\] tag, then \[XYZ\] payment method should hide”. where \[ABC\] and \[XYZ\] represent…

---

## [Unable to view / export redeem codes for discounts created using Shopify Functions](https://community.shopify.com/t/unable-to-view-export-redeem-codes-for-discounts-created-using-shopify-functions/333771)

<div class="topic-metadata">

**Author:** [@Discount-Bot](https://community.shopify.com/u/Discount-Bot)\
**Replies:** 1\
**Last updated:** [July 3, 2024, 6:22pm UTC](https://community.shopify.com/t/unable-to-view-export-redeem-codes-for-discounts-created-using-shopify-functions/333771 "2024-07-03T18:22:11Z")

</div>

Hi, I noticed that for code discounts created using Shopify Functions (DiscountCodeApp) and that have bulk codes added using the discountRedeemCodeBulkAdd mutation, we get a 404 page not found when visiting the discount…

[Next page](https://community.shopify.com/tag/input-queries/2294.md?match_all_tags=true&page=1&tags%5B%5D=input-queries)
