• Resolved jmarcjones

    (@jmarcjones)


    Please can anybody help.. I’ve recently started (very new to WooCommerce) using the plugin on my newly created wordpress site (currently at http://6gear.co.uk/dc2013site/shop) as I’m in the process of designing a new site to replace http://www.dylancernyw.com.

    My problem is that on the Shop Page (auto added page by woo commerce) I am getting a list of ALL pages on the site, the Archives option and Categories..

    Its only happening on the WOO COMMERCE page and if I create a new page within WordPress its blank and does not show the items mentioned.

    I do not want ANYTHING else to appear on the shop page except for the products

    Can anybody take a look at the first link above and see what I mean and suggest a way around it?

    Thanks

    Jonathan

    http://wordpress.org/extend/plugins/woocommerce/

Viewing 6 replies - 1 through 6 (of 6 total)
  • Roy Ho

    (@splashingpixelscom)

    That is not really an issue of WooCommerce. What you’re seeing there is the sidebar and your theme should be able to turn that off for that page.

    Thread Starter jmarcjones

    (@jmarcjones)

    No side bars are actually switched on and its happening on the ‘shop’ page of WooCommerce as I mentioned before. If I create for example a wordpress page “test page” and do not enter any content then publish. When I view the page its blank. I was thinking that something on the auto created woo commerce pages is causing this problem?

    Roy Ho

    (@splashingpixelscom)

    Well if your theme can’t turn it off, that means it is probably not a WC compatible theme which means you would probably need to enter custom code to have it not show.

    There are hooks to have this turn off. Look into this hook.

    'woocommerce_sidebar'

    You can try putting this in your theme functions.php file.

    remove_action( 'woocommerce_sidebar', 'woocommerce_get_sidebar', 10 );

    Thread Starter jmarcjones

    (@jmarcjones)

    Thanks for your help this has solved my problem as I’ve added this code to functions php

    /**
    * WooCommerce
    *
    * Unhook sidebar
    */
    remove_action( ‘woocommerce_sidebar’, ‘woocommerce_get_sidebar’, 10);

    /**
    * WooCommerce
    *
    * Unhook/Hook the WooCommerce Wrappers
    */
    remove_action(‘woocommerce_before_main_content’, ‘responsive_woocommerce_wrapper’, 10);
    remove_action(‘woocommerce_after_main_content’, ‘responsive_woocommerce_wrapper_end’, 10);

    add_action(‘woocommerce_before_main_content’, ‘responsive_child_woocommerce_wrapper’, 10);
    add_action(‘woocommerce_after_main_content’, ‘responsive_child_woocommerce_wrapper_end’, 10);

    function responsive_child_woocommerce_wrapper() {
    echo ‘<div id=”content-woocommerce” class=”grid col-940″>’;
    }

    function responsive_child_woocommerce_wrapper_end() {
    echo ‘</div><!– end of #content-woocommerce –>’;
    }

    Thread Starter jmarcjones

    (@jmarcjones)

    🙂

    Roy Ho

    (@splashingpixelscom)

    Yeah read what I put..

Viewing 6 replies - 1 through 6 (of 6 total)
  • The topic ‘Pages, Archives & Categories Appear on my Shop Page’ is closed to new replies.