Switch Order Status on Invoices

Select the output page that you'd like to edit.

On the edit page, click the 'Source' button on the editor. Next, scroll down until you see "Invoice #{order_num}". Replace "Invoice" with this line of code:

<span id="order-status-switcher-script">Invoice</span> #{order_num}</font></strong></td>
        </tr>

Then, scroll down the editor window to the very bottom and paste this code and save:

<script>
    if ("{order_status}" == "bid") {
        // Change Quote to anything else you want it to say between the quotes
        document.getElementById('order-status-switcher-script').innerHTML = 'Quote ';
    } 
    else if ("{order_status}" == "ordered") {
        // Change Quote to anything else you want it to say between the quotes
        document.getElementById('order-status-switcher-script').innerHTML = 'Order Acknowledgement ';
    } 
    else {
        // Change Invoice to anything else you want it to say between the quotes
        document.getElementById('order-status-switcher-script').innerHTML = 'Invoice ';
    }
</script>