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

    Hi
    Could you please tell me how to edit the text in the “order received page”, the first thing that appears in this page is: “Thank you, your order has been received”, i would like to change it.

    Best regards,
    Fernando Guevara

    #1159517

    Hey jfga1969,
    I found the solution here and tested the function to ensure that it works:

    add_filter( 'woocommerce_thankyou_order_received_text', 'wpb_thankyou' );
    function wpb_thankyou() {
    	$added_text = '<p>You can access the PDF Download from the <a href="/account-page">My Account Page</a>.</p>';
    	return $added_text ;
    }

    2019-11-23-152853
    Please adjust to suit.

    Best regards,
    Mike

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