I have done some changes to woocommerce changes to its template in /MyTheme/woocommerce/templates, it shows fine on my localhost but when I upload the woocommerce to my server under my theme it doesn't show the changes and shows the original woocommerce plugin templates. The file structure is same but its not showing. What can be the reason? How to debug it?

  • Are you using a caching plugin? – vancoder Aug 6 '13 at 16:08
  • @vancoder nope i am not – Nofel Aug 6 '13 at 16:45
  • Woo provides a commercial support option. Have you tried that route? – Chip Bennett Aug 7 '13 at 16:01
  • @ChipBennett nope, but i would like to know when copying templates from plugin folder, should i paste it under abc/woocommerce/templates, where abc is my theme name? – Nofel Aug 8 '13 at 10:10

After many attempts, i had to make changes to the core template files in directory plugins/woocommerce and it worked, for safety i then copied the woocommerce/templates to mytheme/woocommerce/templates and surprisingly it worked! strange but at least it did.

| improve this answer | |

The official documentation says:

"To overide the admin order notification, copy: woocommerce/templates/emails/admin-new-order.php to yourtheme/woocommerce/emails/admin-new-order.php "

I was also poking around with it.. and for some people it doesn't work.. so they just dump all woo template files in the root theme directory. and presto it works :)

Try to omit that /templates/ directory..

| improve this answer | |

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.