For discussing the development and usage of Checkout UI extensions, post-purchase extensions, web pixels, Customer Accounts UI extensions, and POS UI extensions
I have created metafiled on shop which is working fine. However am unable to pass the variables.
in RunInput $selectedProducts supposed to send the values but it is not.
query RunInput($selectedProductTags: [String!], $selectedCollectionIds: [ID!]) { cart { lines { quantity merchandise { __typename ... on ProductVariant { id weight product { hasTags(tags: $selectedProductTags) { hasTag tag } } } } } } shop { metafield( namespace: "$app:my_cart_checkout_shop_namespace" key: "my_cart_checkout_shop_key" ) { value } } }
As mentioned in the doc that variables need to be declared into the toml file is already being declared
[extensions.input.variables] namespace: "$app:my_cart_checkout_shop_namespace" key: "my_cart_checkout_shop_key"