Post Single Page

Remove sidebar in shop page and single product page

admin

In Woocommerce Posted

In file sidebar.php of theme, we add this code

if(!is_singular() && !is_shop() || is_product_category() ){

//sidebar code

}