woocommerce remove 'This is where you can add new products to your store' shop page code example

Example 1: woocommerce remove This is where you can add new products to your store in taxonomy description

<?php
//show category description
$term_object = get_queried_object();
?>
<div class="woocommerce-category-description">
    <div class="title"><?php echo $term_object->name; ?></div>
    <div class="description"><?php echo $term_object->description; ?></div>
</div>

Example 2: how to change woocommerce header message This is where you can add new products to your store.

// Remove the Shop page subheading
function my_remove_shop_page_header_subheading( $subheading ) {
 
    if ( is_shop() ) {
        $subheading = false;
    }
 
    // Return the subheading
    return $subheading;
    
}
add_filter( 'ocean_post_subheading', 'my_remove_shop_page_header_subheading' );

Example 3: woocommerce remove This is where you can add new products to your store in taxonomy description

<?php
//show custom title and category description
$term_object = get_queried_object();
?>
<div class="woocommerce-category-description">
    <div class="title"><?php echo the_field('category_title', 'product_cat_'.$term_object->term_id); ?></div>
    <div class="description"><?php echo $term_object->description; ?></div>
</div>