Hi there,
1. The Select options label are set by this option:
get_option( 'yith_wapo_select_options_label', 'Select options' );
Are you sure that the theme or another plugin don’t override this option?
You should try to use your theme + WooCommerce + YITH WooCommerce Product Add-ons and look if works fine or not. If yes, try to enable the plugin one by one to discover the cause of the issue.
IF not works, try with a default theme like Storefront or Twenty Twenty-One.
2. We’ll add an option for this in a future release.
Hi
Thanks for coming back to use, what file name is this string located please??
get_option( ‘yith_wapo_select_options_label’, ‘Select options’ );
You find this in wp-content/plugins/yith-woocommerce-advanced-product-options/includes/class-yith-wapo-cart.php at line 623
Hi
Thank you, but the front end is still saying “Select an option” and changing the line mentioned to “Choose an option”
https://ibb.co/7XwVwDd
Was that the correct path??
Thank you
Hello,
Were you able to to perform the test we mentioned? If changing it in code doesn’t work, it means that another source it’s overwriting our option.
Please check only with your theme, WooCommerce plugin and our plugin. If it doesn’t work, check with the theme Twenty Twenty-One.
-
This reply was modified 2 years, 1 month ago by Pablo Pérez.
Hi @pperez001
We couldn’t find this line:
You find this in wp-content/plugins/yith-woocommerce-advanced-product-options/includes/class-yith-wapo-cart.php at line 623
/**
* Add to cart URL
*
* @param string $url URL.
*
* @return false|string|WP_Error
*/
public function add_to_cart_url( string $url = '' ) {
global $product;
$product_id = yit_get_base_product_id( $product );
if ( yith_wapo_product_has_blocks( $product_id ) ) {
return get_permalink( $product_id );
}
return $url;
}
Also, just to confirm, its on the single product page we want the text changing!
Thank you
Hi there,
We want to clarify that there is no “Select options” label added by the plugin on the single product page.
So, it’s possible that there is an additional plugin or WooCommerce adding this specific string on the product page.
Have a great day!