In the outbound settings of the individual order type settings, it is possible to select a HTML-document template to be shown in a right column in the “Quick Edit”-modal.
From the embedded document template it is possible to refresh the outbound meta lines shown in the left column using below JavaScript:
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
<script>
// Refresh one SKU
window.parent.postMessage(
{ type: 'tracezilla:quick-edit:refresh', sku_id: '<sku uuid>' },
window.location.origin
)
// Refresh several SKUs
window.parent.postMessage(
{ type: 'tracezilla:quick-edit:refresh', sku_ids: ['<uuid>', '<uuid>'] },
window.location.origin
)
// Refresh all SKUs: leave out sku_id / sku_ids
window.parent.postMessage(
{ type: 'tracezilla:quick-edit:refresh' },
window.location.origin
)
</script>