[Plugin: WooCommerce - excelling eCommerce] Custom single product template? (1 post)

  1. Abbebabbe
    Posted 3 years ago #

    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(); ?>
     <?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?


Topic Closed

This topic has been closed to new replies.

About this Topic