Changing Buttons Labels on archive/shop page – WooCommerce Variation Swatches

Paul Aballea


I would like to be able to change “add to card” label text when it’s a simple product and the “select an option” label when it’s a viariable product.

Could you tell me how to do this ?

Thanks in advance,


Shamser Suzon

Hello Paul Aballea,

You have to customize your theme a little bit for this. Pleaase, contact your theme provider. They will help you.

This is nothing related to our plugin.


Paul Aballea

I m creating my own theme and when I desactivate your plugin it works the way I want. It looks like the plugin is re-calling the text by itself without taking into account my fuctions.php where I write this :


add_filter( ‘woocommerce_product_add_to_cart_text’, ‘woo_custom_product_add_to_cart_text’ );
function woo_custom_product_add_to_cart_text() {

return __( ‘Acheter’, ‘woocommerce’ );


add_filter( ‘woocommerce_product_add_to_cart_text’, function( $text ) {
global $product;
if ( $product->is_type( ‘variable’ ) ) {
$text = $product->is_purchasable() ? __( ‘Custom options text’, ‘woocommerce’ ) : __( ‘Read more’, ‘woocommerce’ );
return $text;
}, 10 );

Ahmed Ehsaan

Hi Paul Aballea,

Could you record me reproducing your issue using tool like this?
It helps me to quickly figure out issue and squash it with immediately.

Thank you