Search code examples
wordpresswoocommercewordpress-themingwoocommerce-theming

Woocommerce template overriding not working


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.


Solution

  • 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