Woocommerce side bar
-
Hello,
I’m new to woocommerce and so far i think i was fine.
I originally wanted to list my products by categories using the nested layout plugin but that didn’t look very attractive.
So i decided to have all my product on the shop page with a sidebar for clients to select the category they want to narrow their search to, as done in this site http://thebookcoverdesigner.com/shop/How do i add woocommerce products categories to the sidebar?
Ive tried woosidebar, woocommerce nested category layout, jetpack widget visibility.
I even temporarily changed the background image as i thought maybe the widget was there but was blended into the white bg.Here’s my shop page http://aochikabooks.com/shop/
-
Your theme controls whether or not a sidebar is available. See if there is an option/doc on doing so. We have a categories widget which can be used once that part is setup.
It does, which is why i’m even more confused. here’s a snap sot of the widget areas it supports. https://www.dropbox.com/s/kjasjegjwq5rc9m/screen%20snapshot.png?dl=0
‘shop’ is not a real page, its a custom post type archive. Ensure there is a sidebar in your archive-product.php template.
how do i do that?
Find that file in your theme and edit it..
i can see the archive-product.php file but how do i fix the sidebar issue.
is it this code?
</div>
<?php
/**
* woocommerce_sidebar hook
*
* @hooked woocommerce_get_sidebar – 10
*
*/
?>
<div id=”secondary-right-sidebar” class=”widget-area right-sidebar sidebar”>
<?php
do_action( ‘woocommerce_sidebar’ );
?>
</div>
</div>So there is a sidebar (woocommerce_sidebar).
See if there are any references to ‘woocommerce_sidebar’ in your theme functions.php. It might be removed.
There isnt any. How can i fix this
Why not disable the sidebar plugins and see what sidebars you’re left with?
how do i do that? i don’t have anything in any of the sidebars apart from the wooslidebar. Do i delete the stuff in it?
should i deactivate wooslider?
You solved?
no, i deactivated wooslidebars but nothing has changed. what do i do to get the sidebars on the shop page.
you said
See if there are any references to ‘woocommerce_sidebar’ in your theme functions.php. It might be removed.
How do i get the ‘woocommerce_sidebar’ to be in my functions.php file
I finally got it to show in other pages, but for some reason it doesn’t show on the shop page even though it works on the cart and checkout page.
https://www.dropbox.com/s/fr5xsqn7e022vy8/screen%20shot.png?dl=0
Sadly i had to put it in the right side bar and it appears everywhere. All i wanted was fr it to show in the shop page and if possible in the cart and checkout pages also, but those i could do without.
The topic ‘Woocommerce side bar’ is closed to new replies.