Change the Shop page description text

Estimated reading time: < 1 min

In some cases, the Shop page might display a description text like “This is where you can browse products in this store.“.

This text is added by WooCommerce upon registering the product taxonomy. To modify it, please copy and paste the code snippet below into the child theme’s functions.php:

add_filter('woocommerce_register_post_type_product', function($args){
$args['description'] = 'My custom text.';
return $args;
});

Was this article helpful?