Multivendor - Double description in the vendor page with Brands add-ons enabled

The problem occurs when a user sets as the taxonomy of vendor brands. 

The problem encountered is that they see, in the vendors page, the description positioned under brands.

It is solved with this code in funcions.php of the theme:

 

if( function_exists( 'YITH_Vendors' ) && function_exists( 'YITH_WCBR' ) ){
add_action( 'wp', 'yith_wcmv_brands_support', 20 );
function yith_wcmv_brands_support(){
if( YITH_Vendors()->frontend->is_vendor_page() ){
remove_action( 'woocommerce_archive_description', array( YITH_WCBR_Premium(), 'add_archive_brand_template' ), 10 );
}
}
}

 

Was this article helpful?
0 out of 0 found this helpful

Back to Help Center

Powered by Zendesk