Hi! I’m just wondering, is there a way to set a custom template for single product pages in Woocommerce?
My theme doesn’t support Woocommerce out of the box, so as of now my only template is woocommerce.php (a modified copy from my themes page.php) which contains the following;
<?php get_header(); ?> <div class="wrapper"> <div class="container-shop"> <?php woocommerce_content(); ?> </div> <?php get_sidebar(); ?> <? get_footer(); ?>
The problem is that I just want the sidebar to show in the shops archive, not on single product pages. Is there an easy solution to this?
- The topic ‘[Plugin: WooCommerce – excelling eCommerce] Custom single product template?’ is closed to new replies.