Change Label on Add to cart button

Link to instructions: https://docs.woocommerce.com/document/change-add-to-cart-button-text/
In function.php add filter:
add_filter( ‘woocommerce_product_single_add_to_cart_text’, ‘woo_custom_cart_button_text’ ); // 2.1 +

function woo_custom_cart_button_text() {

return __( ‘My Button Text’, ‘woocommerce’ );

}

Leave a Reply

Your email address will not be published.