Woocommer Order-recieved page

please check out the layout of my order received page at https://snag.gy/D6Q3tr.jpg

Am trying to change the text on the order received page but i cant seem to find the on my woo commerce templates in the theme plugin folder.

i also changed the text in the Thank-you.php page but it did not help.

Can anyone be kind enough to help

Your question is not clear. Is it the wording that you want to change, or is it the positioning, or styling that you want to change?

When you changed the text in the Thank-you.php page I hope you didn’t make the change in the original plugin. You should make a folder called woocommerce in your theme folder, copy any of the plugin’s files that you wish to change and paste them in there. Then only make the changes on the copied files. Woocommerce know to look there for files first, and then if they can’t find them, they go to the original plugin folder.

i want to change the wording. and i didnt make the changes on the original plugin

The wording is in templates > checkout > thankyou.php.

On line 38, you will see the code where this text is set:

<p class="woocommerce-thankyou-order-received"><?php echo apply_filters( 'woocommerce_thankyou_order_received_text', __( 'Thank you. Your order has been received.', 'woocommerce' ), $order ); ?></p>

In your woocommerce copy that you made in your theme folder, change the text here, and your website should pick it up instead of the original text.

Before i created this topic, I already tried that and the changes did not take effect. so i wondered maybe i am on the wrong .php page

Give me a bit of time, and I will set up a demo for myself and do a bit of experimenting. It could be the way you set up the ‘child’ folder for woocommerce, but you said that the other change you made worked out okay.

Okay, @ifeanyiernestict, I was able to get the change in wording to work. This is what I did:

  1. Make a folder inside your theme called ‘woocommerce’
  2. Copy the ‘checkout’ folder and paste it in the new woocommerce folder.
  3. Open the thankyou.php file, change the text and save it.
  4. Refresh your checkout page and you should see the change.

@WebMachine

Okay, @ifeanyiernestict, I was able to get the change in wording to work. This is what I did:

  1. Make a folder inside your theme called ‘woocommerce’ You mean Plugin right

Thanks by the way.

It works now. i appreciate the help

I think this is the last help i’ll need from you.

When the contact seller radio button is selected. It is posible to add a form where a short message will be written to the seller??

I’m sure it can be done using JavaScript. I don’t have that strong a background in JavaScript to be able to help you, but I’m sure there are others here who could.

But I’ve found that if there are changes to be made, chances are other people have tried and asked about them before. So I would suggest also that you search in the WooCommerce or WordPress sites for similar situations first.

Thanks so much, You have been really helpful

This topic was automatically closed 91 days after the last reply. New replies are no longer allowed.