[WC] Change "Set Options" label

FW 2.0

 

Add the following snippet at the end of the file wp-content/themes/[your-theme-name]/functions.php

 

if ( ! function_exists( 'yit_variable_add_to_cart_text' ) ) :
	function yit_variable_add_to_cart_text( $label ) {
		$label = __( 'View Product', 'yit' );
		return $label;
	}
	add_filter( 'variable_add_to_cart_text', 'yit_variable_add_to_cart_text' );
endif;

 

Remember to change the label text.

Was this article helpful?
1 out of 1 found this helpful

Back to Help Center

Powered by Zendesk