Discussing Shopify Functions development, deployment, and usage in Shopify apps.
I've developed a Shopify Product Discount Function, installed it on my store, and activated the discount type. It works fine in my development store, but in our production store the discounts are not consistently appearing on the checkout page. They show up sometimes but not others. When I view the logs in the Partners dashboard the input and outputs look correct. I would expect with a correct FunctionRunResult that the checkout page would reflect the Product Discounts that should be applied.
Has anyone else had similar issues?
Any advice for how to debug why a correct Discount Function output is not actually being applied to customer's carts?