Update WooCommerce “Choose an option” Variable Text

When using Variable Products in WooCommerce, the default “Choose an option” text is pretty boring. You can use a function to customize it to match your specific offered Products.

For example, change to “Format” if you offer Books in Hardcover, Paperback, and as digital downloads.

/* Change Woocommerce Default Value Text */
add_filter('gettext',  'choose_option');
add_filter('ngettext',  'choose_option');

function choose_option($translated) {
     $translated = str_ireplace('Choose an option',  'Format',  $translated);
     return $translated;

This function will update text throughout entire website.


Leave a Reply

katherine as a flat graphic icon

About Me

I’m an African / Ojibwe First Nations Web Developer living in Winnipeg, Manitoba.

Visit the Tips and Blog to see what I’m working on.