WordPress.org

Support

Support » Plugins and Hacks » WooCommerce » Change cart button text to basket

Change cart button text to basket

  • Hello,

    I have added below code supplied from the codex from the woothemes website

    add_filter( 'add_to_cart_text', 'woo_custom_cart_button_text' );
    function woo_custom_cart_button_text() {
    return __( 'My Button Text', 'woocommerce' );
    }

    This works fine on the product pages but does not change the text on widgets and the basket (cart) page.

    Does anyone know who to change the text in the widgets and basket page?

    Any help much appreciated.

    Thanks

    http://wordpress.org/extend/plugins/woocommerce/

Viewing 2 replies - 1 through 2 (of 2 total)
Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘Change cart button text to basket’ is closed to new replies.
Skip to toolbar