Home › Forums › WoodMart support forum › How to edit thankyou.php?
How to edit thankyou.php?
- This topic has 9 replies, 2 voices, and was last updated 1 year, 5 months ago by Aizaz Imtiaz Awan.
-
AuthorPosts
-
June 14, 2023 at 9:29 am #474778
jadalo.egyptParticipantI basically just want to amend the thank you text block above the order details but I am unable to find the location of this php file (checked the wp ashboard as well as the webhost cpanel/php admin)
wp-content/plugins/woocommerce/templates/checkout/thankyou.php (I found this link in another support topic).
Attached a screenshot where I have added the desired block as additional HTML block but of course I don’t want to have it double.
Attachments:
You must be logged in to view attached files.June 14, 2023 at 3:40 pm #474905
Aizaz Imtiaz AwanKeymasterHello,
Go to Theme Setting -> Shop -> thank you page -> add Extra content for “Thank you page” and disable the option Default “Thank you page” content.
In this case html blocks content is shows and default content will hide
Best Regards.
June 15, 2023 at 9:39 am #475060
jadalo.egyptParticipantHi, I have added an aditional contant block but I don’t want to delete the whole default content, I only want to delete the bordered thank you banner on top respectively amend it to look like the added block. Fot this it is necessary to edit the php yet I don’t know where to find it.
June 15, 2023 at 4:18 pm #475213
Aizaz Imtiaz AwanKeymasterHello,
If you mean that you want to add it on the Thank you page then you can find the code for this page in the file:
woodmart/woocommerce/checkout/thankyou.php.Best Regards.
June 16, 2023 at 9:37 am #475366
jadalo.egyptParticipantYes, that’s what I mean. Yet I have a kind of brain fog and have no clue how/where to open and edit the file…
June 16, 2023 at 12:10 pm #475401
Aizaz Imtiaz AwanKeymasterHello,
It requires customization in the theme php files. It requires Customization and this is beyond our limitations and support policy scope. Hope you can understand our limitations.
Best Regards.
June 16, 2023 at 12:33 pm #475408
jadalo.egyptParticipantI would edit it by myself, I kindly only need to get the info where to find the editable file.
June 16, 2023 at 5:55 pm #475489
Aizaz Imtiaz AwanKeymasterHello,
Navigate to the “Appearance” section in the left-hand menu and click on “Theme Editor.”
On the right side of the Theme Editor page, you’ll see a list of files that make up your WordPresstheme. Look for the PHP file you want to edit and click on it. Note: Be cautious while editing PHP files, as incorrect modifications can break your website. It’s always a good idea to create a backup before making any changes.Best Regards.
June 17, 2023 at 9:43 am #475557
jadalo.egyptParticipantI’ve managed to change the text after having finally found the php (thanks for your hint) plus adding a css snippet in additional css. *proudofmyself*
Thanks, problem is solved, topic can be closed.June 17, 2023 at 9:45 am #475558
Aizaz Imtiaz AwanKeymasterMost Welcome!!!.
I’m so happy to hear you are pleased with the Theme and Support. XTEMOS strives to deliver the best customer experience, and it makes our day to hear we have accomplished that.
We count ourselves lucky to have you as a customer. You can always reach us at any time. We are always here to help you.
Thanks for contacting us.
Have a great day.Topic Closed.
Best Regards. -
AuthorPosts
The topic ‘How to edit thankyou.php?’ is closed to new replies.
- You must be logged in to create new topics. Login / Register