How to change "Add to cart" in WooCommerce

Posted in: Newspaper
Post count: 14

Hello,

I’ve read the official WooThemes documentation about changing the “Add to cart” button text and I’ve added the snippet there to the Newspaper-child functions.php. However, the the text on the website still remains the same.

Is there something specific to the Newspaper theme that needs to be adjusted as well?

Using WordPress 4.6.1 and WooCommerce 2.6.4, Newspaper 7.4

I’d appreciate your help!

  • This topic was modified 9 years by bz.
Post count: 9544

I found in most cases for woo, you need to add filter hooks to the main functions.php file … but that may be wrong answer here as I’m not on latest version of Newspaper; only latest version of Newsmag which is different.

Post count: 14

Thank you, Chris. That did the trick.

What are the chances of moving this functionality to the child-theme’s functions.php in the future?

Post count: 9544

No idea; I don’t work here; and don’t use child themes anymore for anything 😉

  • This reply was modified 9 years by simchris.
Post count: 23312

Hello bz,

Yes, you can try to use the child theme for overwriting the code in functions.php file. For more information about our child theme support, please consult here -> https://forum.tagdiv.com/the-child-theme-support-tutorial/

Thanks for the message!

Viewing 5 posts - 1 through 5 (of 5 total)
The forum ‘Newspaper’ is closed to new topics and replies.