A space to discuss GraphQL queries, mutations, troubleshooting, throttling, and best practices.
Hi All,
When using the orderInvoiceSend mutation with a customMessage defined the Mutation causes the merchants customized template to be ignored and the default template to be used.
It would make more sense if the customMessage was available to liquid to determine how the custom message should be displayed if available instead of having to provide the entire template html in the message.
Cheers,
Gary
@Liam Sorry to ping you on this but I think this is a bug, and no one seems to be taking an interest, hopefully you will 🙂
Example/Reproduction steps.
1. Go to the order invoice notification template on a dev shop and delete all code, leave "test" as text, or it wont let you save it
2. Go to a unpaid order or create an unpaid order and click send invoice
3. review the invoice, but dont send it.
You should see something like this, obviously your order number will be different.
4. Cancel the preview
5. Click send invoice once again
6. Add a custom message. I added "this is a test"
7. Click review once again.
8. you get this.... What happened to my invoice template?
As far as I am concerned I should see exactly the same in both instances and not the default template code. This more or less makes entering the custom_message ignore any template modifications.
I would call this a BUG, and not really a small one 🙂 Could you please pass this on to the dev team?
Thanks!
Gary