Modify the checkout message
-
Whenever user bought something from website,, it shows simple text message of thank you, as shown in screenshot.
This need to be modified as:
1- Text wording need to be modified, so please specify from where can we edit the sentence.
2- This thank you text should come inside of green color box as shown in screenshot.
Box style, below
The page I need help with: [log in to see the link]
-
Hi, mayank2603, I’m another WooCommerce user.
Are you able to post the screenshots again?
It looks like when you attempted to post them then nothing was saved to the post.
Hi @mayank2603,
Just to add, you can use https://snipboard.io for sharing screenshots here – please follow the instructions on the page, then paste the URL in this chat. It works with Chrome, Firefox, Safari, and Edge.
We’ll be happy to be of further assistance.
Many thanks.required formatting
current checkout sentence is correct but need in green box or some kind of highlight
but also need to know from where these message are managing as in future it may required to change the thank you message sentence.Hey @mayank2603,
Thanks for sending over the screenshots. For the box, try adding this CSS. Here’s how.
- In your WordPress dashboard, go to Appearance and click on Customize.
- Look down for the Additional CSS section and click on it.
- In the box there, paste this:
p.woocommerce-thankyou-order-received { border: 1px solid green; padding: 10px; } - Publish your changes.
For the thank you page text, you can use this snippet. It can be added to the theme’s functions.php file or with the Code Snippets plugin.
function ijab_checkout_thankyou_text() { return 'Thank you for your business!'; } add_action('woocommerce_thankyou_order_received_text', 'ijab_checkout_thankyou_text' );It’s possible these have been changed in the theme that’s being used on your site. I tested them with the default Storefront theme.
Let us know if you have any questions.
-
This reply was modified 4 years, 8 months ago by
3 Sons Development. Reason: Fixed formatting of pasted code
The topic ‘Modify the checkout message’ is closed to new replies.