• Hi
    1, We are trying to change the Label text “Select Options”

    We have updated it in General options, but it’s not showing our text, its still says “Select Options”

    2, Also where can we select for the options field to be required or not required?

    Thank you

    The page I need help with: [log in to see the link]

Viewing 7 replies - 1 through 7 (of 7 total)
  • Plugin Support Andrea Grillo

    (@agengineering)

    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.

    Thread Starter mawebdesignuk

    (@mawebdesignuk)

    Hi
    Thanks for coming back to use, what file name is this string located please??

    get_option( ‘yith_wapo_select_options_label’, ‘Select options’ );

    Plugin Support Andrea Grillo

    (@agengineering)

    You find this in wp-content/plugins/yith-woocommerce-advanced-product-options/includes/class-yith-wapo-cart.php at line 623

    Thread Starter mawebdesignuk

    (@mawebdesignuk)

    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

    Plugin Support Pablo Pérez

    (@pperez001)

    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, 9 months ago by Pablo Pérez.
    Thread Starter mawebdesignuk

    (@mawebdesignuk)

    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

    Plugin Support Iván Sosa

    (@ivansosa)

    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!

Viewing 7 replies - 1 through 7 (of 7 total)
  • The topic ‘Label “Select Option”’ is closed to new replies.