Hi!
I’m using the child theme of Uplift. I had changed the name of the Add to cart button on the product page with:
function sf_custom_cart_button_text() {
return __( ‘Voeg toe aan winkelwagen’, ‘swiftframework’ );
}
add_filter( ‘woocommerce_product_single_add_to_cart_text’, ‘sf_custom_cart_button_text’ );
But this only change the button on the productpage itself.
I wan to change the text if you hoover over the product at the shop page (with all the products). It says: At to cart, and after that: Added. That text i want to change.
How can i do that?