You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Sep 19, 2023. It is now read-only.
I'm required to fetch the invoice number metadata from the German marketplace plugin (based on the order_number value and add it to the template temple-receipt.php
Note: you will have to adjust the function to suit your needs but it should get you started. Also note that orders are cached locally so you should clear the local data if you make changes to the order data.
Sign up for freeto subscribe to this conversation on GitHub.
Already have an account?
Sign in.
I'm required to fetch the invoice number metadata from the German marketplace plugin (based on the order_number value and add it to the template temple-receipt.php
In the template I see:
How can I get the {{order_number}} in the template into a php variable?
I can get my desired result with this php code:
How can I store the {order_number}} as a php variable to be used in the template or better yet, is there a more elegant way to show this data?
The text was updated successfully, but these errors were encountered: