• Resolved WebBuddy

    (@websprout)


    Hi,

    I have copied the customer-on-hold-order.php to my theme folder and amended part of the codes to the following:

    
    <p><?php //_e( "Your order is on-hold until we confirm payment has been received. Your order details are shown below for your reference:", 'woocommerce' ); 
    ?>
    Your order is on-hold until we confirm payment has been received. Please choose a payment method below to make payment now.<br />
    (a) <a href="/paylah-paynow/">PayLah / PayNow.</a> <br />
    (b) PayPal (coming soon).
    
    </p>
    

    But when I just submitted a order with on-hold status, it is still showing me the following:

    This order’s status is “On hold”—it cannot be paid for. Please contact us if you need assistance.

    It seems that the template is not over-written.. May I know what could be the cause of this?

Viewing 3 replies - 1 through 3 (of 3 total)
  • Thread Starter WebBuddy

    (@websprout)

    Sorry I just realised that the template that I am trying to over ride is for emails only.

    I would like to over ride the message shown in the domain-name.com/order-pay/… may I know where can I locate this file?

    Joel Williams

    (@joelwills)

    Automattic Happiness Engineer

    Hi there!

    order-pay is an endpoint, not a page template.

    If you want to change the message on a page, the easiest way you can do this by using a free translation plugin like Loco Translate – https://www.ads-software.com/plugins/loco-translate/ or Say What? – https://www.ads-software.com/plugins/say-what/ . I know it may sound strange to “translate” your own language, but it works.??

    This will allow you to find that phrase and change it to be what you’d like.

    All the best!

    Plugin Support Yuki K a11n.

    (@yukikatayama)

    Automattic Happiness Engineer

    Hi @websprout,

    We haven’t heard back from you in a while, so I’m going to mark this as resolved – if you have any further questions, you can start a new thread.

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘Showing a custom message when order is on-hold’ is closed to new replies.