Overriding WooCommerce Default Templates
-
First of all I am a novice to WordPress and on this forrum too. I am recently developing a shopping cart site with WooCommerce(version 2.2.8).
I have developed a theme with WooCommerce compatibility following this link: http://docs.woothemes.com/document/third-party-custom-theme-compatibility
Now, the thing is I want to customize the “single product page” & I have copied the “single-product.php” file from “wp-content/plugins/woocommerce/templates/” directory to “wp-content/themes/my_theme/woocommerce/” directory as mentioned in that particular file:
<?php
/**
* The Template for displaying all single products.
*
* Override this template by copying it to yourtheme/woocommerce/single-product.php
*
* @author WooThemes
* @package WooCommerce/Templates
* @version 1.6.4
*/
………….. ?>
but is still not overriding! I dont know why! Can anyone tell me what is the procedure for overriding this template?
The topic ‘Overriding WooCommerce Default Templates’ is closed to new replies.