Is it possible to offer free shipping only when a product discount or order discount created in the application is applied?
I would like to add a free shipping option to my product discounts and order discounts.
I tried this problem by rewriting shopify.extension.toml
as follows but it did not solve the problem.
api_version = "2024-07"
[[extensions.targeting]]
target = "purchase.shipping-discount.run"
input_query = "src/run-shipping.graphql"
export = "run-shipping"
[[extensions.targeting]]
target = "purchase.product-discount.run"
input_query = "src/run.graphql"
export = "run"
Message log:
Error while updating drafts: Targeting multiple Function APIs is not supported.