This topic is: resolved
-
Change “ADD TO CART” to “ADD TO BAG”
The code below crashed my site WP4.6.1 [white screen]
From woothemse website
// Change WooCommerce “ADD TO CART” button to “ADD TO BAG” button
/*add_filter( ‘woocommerce_product_single_add_to_cart_text’, ‘woo_custom_cart_button_text’ ); // 2.1 +function woo_custom_cart_button_text() {
return __( ‘ADD TO BAG’, ‘woocommerce’ );
*/