Adding Lines to thankyou.php in Woocommerce 2.5.5
-
I made a few line changes to my thankyou.php file in Woocommerce so that users would be displayed a custom “thank-you” message after checking out. When the custom thankyou.php file is in:
wp-content/plugins/woocommerce/templates/checkout
it works perfectly.I do understand that it is highly recommended that customizing should NOT be done here due to problems with future upgrades.
Whenever I copy and use the same custom thankyou.php file at: {mytheme}/woocommerce/checkout
which is recommended, my changes do not show. The default thankyou page is shown.I triedputting the file at:
{mytheme}/woocommerce/templates/checkout
but still nothing.Does anyone have any ideas of why my custom thankyou.php file is working in the woocommerce plugin directory, but not when I move it to my theme directory?
- The topic ‘Adding Lines to thankyou.php in Woocommerce 2.5.5’ is closed to new replies.