Skip to main content
Login Join
Snippet · PHP

Change WooCommerce “Read More” Button Text

Shared by Amit Dholiya · September 17, 2026 · @woocommerce_product_add_to_cart_text

2 views
1 upvote
Back to Snippets

For products that cannot be purchased directly, WooCommerce may display a “Read more” button. You can replace it with custom text such as “View Product” or “See Details.”

Steps

  1. Add the code below to your theme’s functions.php.
  2. Replace View Product with your preferred text.
  3. Save the file and refresh your Shop page.
/**
 * Change WooCommerce "Read more" button text
 */
function custom_woocommerce_read_more_text( $text ) {
    return 'View Product';
}

add_filter(
    'woocommerce_product_add_to_cart_text',
    'custom_woocommerce_read_more_text'
);
Know a different way to do this? Add your approach as a variation so folks can compare them side by side.
Submit a variation

0 comments