Jump to content
  • Switching Order Status on Invoices

       (0 reviews)

    Darth Moxy

    First, find the output page that you'd like to edit and click on it. 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">Invoice</span>

    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').innerHTML = 'Quote ';
        } else {
            // Change Invoice to anything else you want it to say between the quotes
            document.getElementById('order-status-switcher').innerHTML = 'Invoice ';
        }
    </script>


    User Feedback

    Join the conversation

    You can post now and register later. If you have an account, sign in now to post with your account.
    Note: Your post will require moderator approval before it will be visible.

    Guest

×
×
  • Create New...

Important Information

Terms and conditions of this site