This is not possible by default. You can display the sidebar for product pages via the theme customizer (Appearance > Customizer > Theme Options > Shop).
If you also want to display it on category pages you need to change line 93 of the /inc/woocommerce.php file
from:
if ( is_product() ) {
to:
if ( is_product() || is_product_category() ) {
Best way to do this is to use the child theme and copy the woocommerce file in the same folder structure in to the child theme folder.
Please note: We normally don't give support on theme customizations, but it's ok for this time :)
Hi!
I want to use the shop sidebar on the category and product pages. (http://bonami.ro/shop/ - http://bonami.ro/categorie-produs/accesorii/). I looked online for an answer for the past few hours with no success.
Do you have a solution for this? Thank you!
Hi Vlad
This is not possible by default. You can display the sidebar for product pages via the theme customizer (Appearance > Customizer > Theme Options > Shop).
If you also want to display it on category pages you need to change line 93 of the /inc/woocommerce.php file
from:
if ( is_product() ) {
to:
if ( is_product() || is_product_category() ) {
Best way to do this is to use the child theme and copy the woocommerce file in the same folder structure in to the child theme folder.
Please note: We normally don't give support on theme customizations, but it's ok for this time :)
All the best!
Best regards,
Barry
QreativeThemes.com | WordPress Themes
It's working. Thanks a lot!
Great! No problem :)
Best regards,
Barry
QreativeThemes.com | WordPress Themes