• Resolved mathis2607

    (@mathis2607)


    i would like to change the text “view product” inside the button on the slider.

Viewing 5 replies - 1 through 5 (of 5 total)
  • Ketan Patel

    (@patelketan)

    Hello,

    Thanks for reaching here.

    Please go to your active theme function file and add the below code and check.
    (Path:- wp-content->theme->yourtheme->function.php)

    add_filter( 'woocommerce_product_add_to_cart_text', 'woocommerce_custom_product_add_to_cart_text' );  
    function woocommerce_custom_product_add_to_cart_text() {
        return __( 'view product', 'woocommerce' );
    }

    Please let me know if you have any other queries.

    Thanks,

    Thread Starter mathis2607

    (@mathis2607)

    Hi,

    I past the code below the others lines of code but nothing change..

    Rafik

    (@rafikwp)

    Hello,

    Can you please page URL we will check and help you.

    Thanks

    Thread Starter mathis2607

    (@mathis2607)

    Hello,

    here is the liknk: https://chaussettes-store.com/

    Thanks

    Ketan Patel

    (@patelketan)

    Hello

    We check your website and you are not using our plugin.

    You are using the “Storefront Homepage Extra Sections” plugin.

    Please check your side.

    Thanks

Viewing 5 replies - 1 through 5 (of 5 total)

The topic ‘Change the text inside the button’ is closed to new replies.