Issue with hasAnyTag input variable for Shopify Discount Function

Things to double check:

  • The namespace and key in your extension.toml matches the namespace and key of the metafield you set on the discount
  • The metafield on the discount is a JSON document with a key of tags that contains a string array of the tags
  • That you used the correct TOML location for the variable configuration (see guidance here on [extensions.input.variables] vs [input.variables].