Hello,
I’ve set up a shipping discount function, but it seems like it’s not working at all. There are no logs or error messages available in the partner dashboard → app → extension page, and there’s no indication that the function has been invoked. Also, the discount is not being applied to my test orders and I didn’t see any error messages when I deploy it.
I’m testing this on fresh new app and store.
Here are the steps I followed to set up a new function:
- Initialized a new Shopify app with the command:
npm init @Shopify_77 /app@latest. - Generated a shipping discount function extension by running:
npm run shopify app generate extensionand selecting ‘shipping discount function’ for version 2024-01. - Deployed the app using:
npm run deploy.
I think if there’s an issue with the code, it should be logging something. For now, I just want to see if this function is even running. Help please !
