Changing the ‘Read More’ button text in WooCommerce

Product card CTA says “Read More” in WooCommerce:

it says Read More

It should say “Shop Now”

Solution

use this code in WooCommerce:

<?php

add_filter( 'woocommerce_product_add_to_cart_text', 'custom_add_to_cart_text', 10, 2 );
function custom_add_to_cart_text( $text, $product ) {
    if( $product->is_type( 'variable' ) ) {
        return 'Shop Now'; // Change "Read more" to "Shop Now"
    }
    return $text;
}

Support My Work

If you enjoy my content, consider buying me a coffee or shopping through my Rakuten link to support me!

Victor

Founder of WPUtopia.com🕵️I would appreciate it if you could leave me a comment!

Send Message

Chat with me

Start a Conversation

Hi! Let's connect on your preferred platform.