Viewing 2 posts - 1 through 2 (of 2 total)
  • Author
    Posts
  • #735191

    hi,

    It seems the text “Thank you. Your order has been received” shown on the order-received page is written to the core file, how do I change the text?

    ps. I’ve tried LOCO and WPML string translation, it can be “translated”, but not “modified”.

    thank you :)

    #735749

    Hey decode,

    Try adding this code in functions.php:

    add_filter( 'woocommerce_thankyou_order_received_text', 'avia_thank_you' );
    function avia_thank_you() {
     $added_text = '<p>Thank you very much!</p>';
     return $added_text ;
    }

    Just replace Thank you very much!. Hope this helps :)

    Best regards,
    Nikko

Viewing 2 posts - 1 through 2 (of 2 total)
  • You must be logged in to reply to this topic.