Can't Access/Edit the Order Invoice Modal
0
This is on the "complete" page, after a user has ordered an item. There's a link that opens a modal with the full invoice, however I can't find that modal/component on the retail admin site. I found the link that's being used within the "Complete" page, but not the actual code for that modal.
Here is the link: "Component/Modals/OrderInvoice/OrderInvoice.tpl.html"
I'd like to access the data within that modal in order to populate the "Complete" page with a summary of the order.
Comments
@TJ: In addition to what Akshay shared regarding creating your own custom invoice page, we definitely want to enable customization of the invoice page template, so we’ve added this to the planned work.
TJ Whidby
Currently we have not added Order Invoice component as a Editable component so this will not allow you to Edit.
But if you want to show OrderData on complete page then you can call GetOrders Api
https://retailapi.directscale.com/api/Orders/GetOrderDetail?OrderId=XXXX by creating custom Complete Page and it will return the data which we are showing on Order Invoice Page.
Api Response Sample :
Please sign in to leave a comment.