[resolved] Woo Commerce Side bar on product page (5 posts)

  1. elames
    Posted 3 years ago #


    If you look at this page, you will see a different sidebar which I assume comes from woo commerce, rather than the sidebar from the rest of the site. How can I remove this and use my normal sidebar on the page.

    Thank you very much!


  2. elames
    Posted 3 years ago #

    Anyone have a simple solution to this sidebar issue. I am not a coder and if I have to leave it I will but prefer to have my own sidebar showing.

    thanks anyone !

  3. James Koster
    Plugin Author

    Posted 3 years ago #

    WooCommerce looks first for sidebar-shop.php, if that doesn't exist it just loads the standard sidebar.php file. So it's possible that there is something in your sidebar.php file causing this. It's hard to know without having access to the code, though.

  4. elames
    Posted 3 years ago #

    I don't see a sidebar-shop.php Where would I find it? I only find a side-navigation.php

    I asked a fellow at woo themes, but he couldn't get it to work either.

    help please!
    Thank you

  5. elames
    Posted 3 years ago #

    Ok...I FINALLY found the solution!!

    Create a sidebar-shop.php

    Put in this code then ftp to the theme folder.

    Hope this will help someone!!

    <div id="sidebar">

    if(is_product()) {
    } else {
    $shop_page_id = get_option('woocommerce_shop_page_id');
    $name = get_post_meta($shop_page_id, 'sbg_selected_sidebar_replacement', true);
    if($name) {

Topic Closed

This topic has been closed to new replies.

About this Plugin

  • WooCommerce
  • Frequently Asked Questions
  • Support Threads
  • Reviews

About this Topic