I have a Shopify App with a lot of existing functionality. I’m trying to add a single Delivery Customization Shopify Function with fairly basic functionality.
I have the function generated and deployed properly, but when I go to Add the Customization it redirects to my app which is not embedded inside Shopify.
Resulting in the Customization not being added, and landing on my apps homepage. I feel like i’m missing something super simple with setting these up. Ideally i’d like to add the Customization without needed a redirect or edit UI.
So my questions are:
- Would Delivery Customizations only work on embedded Shopify apps?
- Any idea how I could configure mine such that it would work?
My toml file for the extension is very basic
[[extensions]]
name = "t:name"
handle = "delivery-customization-handle"
type = "function"
description = "t:description"
[[extensions.targeting]]
target = "purchase.delivery-customization.run"
input_query = "src/run.graphql"
export = "run"
[extensions.build]
command = ""
path = "dist/function.wasm"