Viewing 4 replies - 1 through 4 (of 4 total)
  • Hi @negustor,

    Use this snippet in your theme’s functions.php file to remove vendors banner.

    function remove_vendor_banner() {
    	global $wp_filter;
    	foreach ($wp_filter['woocommerce_archive_description'] as $actkey => $actvalue) {
    		foreach ($actvalue as $funkey => $funvalue) {
    			if(strstr($funkey, 'product_archive_vendor_info', true)) {
    				unset($wp_filter['woocommerce_archive_description'][$actkey][$funkey]);
    			}
    		}
    	}
    
    }
    add_action( 'init', 'remove_vendor_banner', 10, 1 );

    Regards
    Akshaya Swaroop

    Hello @negustor,

    Hope that the shared information was helpful. Please reach us if you have any other query.

    Thanks,
    Akshaya Swaroop

    Thread Starter negustor

    (@negustor)

    Hello Akshaya Swaroop,

    Thanks. Works… i try in css this code and it s ok

    .vendor_description {
    background-color : #FFFFFF;
    }
    .vendor_address label {
    color: #555;
    }

    You are welcome @negustor. Please do reach us if you have any other query.

    Regards,
    Akshaya Swaroop

Viewing 4 replies - 1 through 4 (of 4 total)
  • The topic ‘disable banner vendor store’ is closed to new replies.