hi there,
i wanted to change the add to cart button on the homepage. so i need to add a filter into the functions.php file right? (because there is no custom-functions.php)
but when i add following filter:
………………………………
//Change Woocommerce add to cart button text
add_filter( ‘add_to_cart_text’, ‘woo_custom_cart_button_text’ );
add_filter( ‘woocommerce_product_add_to_cart_text’, ‘woo_custom_cart_button_text’ );
add_filter(‘woocommerce_product_single_add_to_cart_text’, ‘woo_custom_cart_button_text’);
function woo_custom_cart_button_text() {
return __( ‘Buy Now’, ‘woocommerce’ );
}
……………………………….
nothing happens.. the button text stays the same. like the filter has been ignored.
Can you help why? or what my mistake is or is this even possible with the interface pro theme?
regards
joerg