edit “Choose an option”
-
Rather than edit the functions.php direct, I put this code into “My Custom Functions” but it did not work. Any suggestions
/**ADDED 31/08 changes Choose an Option to “Select Qty”
add_filter( ‘woocommerce_dropdown_variation_attribute_options_args’, ‘cinchws_filter_dropdown_args’, 10 );
function cinchws_filter_dropdown_args( $args ) {
$args[‘show_option_none’] = ‘Choose qty here’;
return $args; }
/*
- The topic ‘edit “Choose an option”’ is closed to new replies.