Woocommerce template overriding not working

Mobashir picture Mobashir · Aug 23, 2017 · Viewed 14.2k times · Source

I want to override woocommerce templates from my theme. I follow all the steps from the official documents of woocommerce. And I'm sure that there is no woocommerce.php file in my theme. So, I can;t understand why it isn't working. I'm using twenty seven theme.

Any help will be appreciated.

Answer

Mo'men Mohamed picture Mo'men Mohamed · Aug 24, 2017

If you've already read this documents https://docs.woothemes.com/document/template-structure/

Please Note: When creating woocommerce.php in your theme’s folder, you will be unable to override the woocommerce/archive-product.php custom template in your theme, as woocommerce.php has priority over all other template files. This is intended to prevent display issues.

Also make sure that you don’t have “Template Debug Mode” activated that you can find under:

WP Dashboard -> WooCommerce -> System Status -> Tools