Home Forums Arnold WordPress Theme Product sidebar Woocommerce

This topic contains 5 replies, has 2 voices, and was last updated by  SeaTheme 8 months, 3 weeks ago.

Viewing 6 posts - 1 through 6 (of 6 total)
  • Author
    Posts
  • #18578

    Philok
    Participant
    Purchased

    Hi, good evening,

    I know that there is not sidebar on the default layout for woocommerce and I’ve tried with the AJAX filter and changed the template file (/woocommerce/archive-product.php) but the sidebar on woocommerce still not appearing and I need to apply some filter option by categories for my shop.

    Is there any option to show the filter option on the main woocommerce shop page?

    Thanks very much,

    • This topic was modified 8 months, 4 weeks ago by  Philok.
    #18589

    SeaTheme
    Keymaster
    Purchased

    Hi,

    1)
    Please edit the woocommerce/archive-product.php, find line34-35:

    } ?>
                
    <div class="product-wrap">

    Update as:

    }  do_action( 'woocommerce_sidebar' ); ?>
    <div class="product-wrap col-md-9 col-sm-9">

    For the single Product page, please edit woocommerce/single-product.php:
    line 29:
    <div class="product-wrap product-single">

    Update as:

    <?php do_action( 'woocommerce_sidebar' ); ?>
                <div class="product-wrap product-single col-md-9 col-sm-9">

    2)
    Please add the widget in Appearance > Widgets: Shop Sidebar

    3)
    If you want to move the sidebar to right, please paste the custom CSS code to “Appearance > Customize: Additional CSS”:

    @media (min-width: 992px) {
     #sidebar-widget.col-md-3 { float: right; }
    }
    @media (min-width: 768px) {
     #sidebar-widget.col-md-3 { float: right; }
    }
    • This reply was modified 8 months, 2 weeks ago by  SeaTheme.
    #18593

    Philok
    Participant
    Purchased

    Great! Works perfectly! One last question.
    Is there a CSS to change the width of the product sidebar filter and add some spaces between the filter and the product images?
    I attach a link with the image http://es.tinypic.com/r/30cadzt/9

    Thanks again for all your help and attention!!

    #18600

    SeaTheme
    Keymaster
    Purchased

    Welcome.
    Please leave your shop page URL, I need to check the lived page.

    #18603

    Philok
    Participant
    Purchased

    Hi BWSM,

    My website is currently under maintenance mode and is not public already. I attatch a screenshot of the shop page in case you can help me. Basically I need to add some spacing between the title of the shop page, the sidebar and the product pictures.
    http://es.tinypic.com/r/2afbo6r/9

    Thanks again!

    #18605

    SeaTheme
    Keymaster
    Purchased
    This reply has been marked as private.
Viewing 6 posts - 1 through 6 (of 6 total)

You must be logged in to reply to this topic.

Join Newsletter(FREE)

Subscribe to our newsletter to receive news & updates. We promise to not spam you, super promise!