'Add to cart" changed but not all across…
-
Changed the button text of with this code
add_filter( ‘single_add_to_cart_text’, ‘yoursite_single_cart_text’, 10, 1 );
function yoursite_single_cart_text( $button_text ) {
$button_text = ‘Take This Class’;
return $button_text;
}However, the text is only changed on the single product page itself and not on the main product page.
Any ideas?I am aware that changing texts makes more sense on Localisation, but I have not gotten there yet…
Thanks tons
Viewing 14 replies - 1 through 14 (of 14 total)
Viewing 14 replies - 1 through 14 (of 14 total)
- The topic ‘'Add to cart" changed but not all across…’ is closed to new replies.