Viewing 5 replies - 1 through 5 (of 5 total)
  • Same thing is happeing for me also.

    Unable to customise the ‘Add to cart’ text.

    If anyone knows a quick workaround that you be great.

    Found the solution here:
    https://docs.woothemes.com/document/change-add-to-cart-button-text/

    This is the code to add to functions.php file for single product and a listing of products or related products.

    add_filter( 'woocommerce_product_single_add_to_cart_text', 'woo_custom_cart_button_text' );    // 2.1 +
    add_filter( 'woocommerce_product_add_to_cart_text', 'woo_custom_cart_button_text' );    // 2.1 +
    
    function woo_custom_cart_button_text() {
    
            return __( 'New button text goes here', 'woocommerce' );
    
    }
    Plugin Author ulihake

    (@ulih)

    Thanks for your feedback.

    Seems to be related with WooCommerce 2.1.x. I will check this and provide an update.

    uh

    Thread Starter Chirag Vora

    (@chirag740)

    Thank you!

    Plugin Author ulihake

    (@ulih)

    WCPGSK 1.8.0 is out… and fixes the button labels for WooCommerce 2.1.2 with some improvements.

    uh

Viewing 5 replies - 1 through 5 (of 5 total)
  • The topic ‘Add to cart text not changing’ is closed to new replies.