Delivery customization keeps redirecting me to my app homepage
Hello,
I'm a pretty new Gadget/Shopify app developer and Ive created an app which has an theme extension and a shopify function. Both are operational, and now I'm stuck on getting the delivery customization function to run/install on its own. When I follow the shopify tutorial running the mutations on the Shopify GraphQL app, the extension is correctly added, but when I remove it and try to add it through clicking it as an option, it just redirects me to my app and is not installed at all.
I understand that I need an embedded UI which then runs the mutations when its called, but I can't seem to route correctly and reach it.
I am also not using the Remix template, and so I'm wondering how to proceed.
4 Replies
Hello,
I've not worked with delivery customizations at all so I don't know exactly how they're set up but I believe that you need to make a frontend route to handle the request from clicking that button in the store admin
Yeah, I've done that, but it seems it never reaches the route in my shopify.extension.toml file, which then doesn't reach my create.tsx frontend which has my GraphQL mutation. I was following the Shopify dev documents but they were using the Remix template. I suppose I just need help with the routing, so if anyone has any experience with troubleshooting that, I'd greatly appreciate it
Sorry for the late reply, I think that it would be best to contact Shopify's support for this. We really aren't equipped to tell you what you might be doing wrong in this case
Do you like this answer?