Okay
  Print

Add Sidebar woocommerce category page

Please write below function in functions.php file under child theme folder. 


// Add sidebar for shop loop header  
function my_custom_before_shop_loop_sidebar() {
if(is_product_category()){
echo '

';
}
}

add_action( 'woocommerce_before_shop_loop', 'my_custom_before_shop_loop_sidebar', 2);

// Add sidebar for shop loop header  
function my_custom_after_shop_loop_sidebar() {
if(is_product_category()){
echo '

';
dynamic_sidebar('zozo_sidebar-1');
echo '

';
}
}

add_action( 'woocommerce_after_shop_loop', 'my_custom_after_shop_loop_sidebar', 2);