Swap text on Ajax add to cart button in woocommerce archives

Is it possible to change the text on the woocommerce Ajax add to cart button on archive pages so that it doesn’t say “Add to Cart”?

Hi Jim,

Thanks for reaching out.
To change any text, you can use the gettext and ngettext hooks. Please find the following threads, which may help you with this.



Please remember that the code in the above thread will work if copied as it is and doesn’t conflict with any existing style.
Please note that the code provided serves only as a guide to help you get started custom coding on your own if there’s no option offered in our theme or the products we bundle.
We really do not provide support for custom codes, which means we can’t fix it in case it conflicts with something on your site nor will we enhance it. Further customization should be directed to a third-party developer or you can avail of One, where we answer the questions beyond normal theme support.

Thanks

This topic was automatically closed 10 days after the last reply. New replies are no longer allowed.