Viewing 10 replies - 1 through 10 (of 10 total)
  • Plugin Author YITHEMES

    (@yithemes)

    Hi Emiliano,
    can you sent an email with the link of your site and administrator credential at this email [email protected]?
    So we can see better what is the problem!

    Thank you

    Hi,
    I have the same problem.
    My main language is Portuguese and the search works fine. If I do it in English, it doesn′t work.
    Portuguese version: https://lisbonfancytour.pt
    English version: https://lisbonfancytour.pt/en/

    Thanks for your help.

    Plugin Author YITHEMES

    (@yithemes)

    Hi,
    we have submit a new update with some wpml support fix.

    Please, tell me if your problem persist.

    Yithemes

    Sorry.
    it still doesn’t work.
    you can test on the links that I’ve provided.

    regards

    Hi,

    I am also getting the same problem on all browsers with the latest version of the plugin installed (1.3.5) and WPML up to date.

    Please advise.

    Plugin Author YITHEMES

    (@yithemes)

    Hi, can you check if your theme yith-woocommerce-ajax-search.php template has been overwritten.
    It must have this code inside the tag <formm>

    <?php if ( defined( 'ICL_LANGUAGE_CODE' ) ): ?>
                    <input type="hidden" name="lang" value="<?php echo( ICL_LANGUAGE_CODE ); ?>" />
                <?php endif ?>

    Hi,

    Thanks for your answer but yes I have this code present in my woocommerce-theme-edits.php file.

    Here is the full code :

    <form role="search" method="get" id="yith-ajaxsearchform" action="<?php echo esc_url( home_url( '/'  ) ) ?>">
    				<div>
    
    					<?php
    					$label		= get_option('yith_wcas_search_input_label');
    					$placehold	= $label ? $label : esc_attr__('Search for products','sequoia');
    					?>
    
    					<input type="search"
    					   value="<?php echo get_search_query() ?>"
    					   name="s"
    					   id="yith-s"
    					   class="yith-s"
    					   placeholder="<?php echo $placehold; ?>"
    					   data-loader-icon="<?php echo get_template_directory_uri() . '/img/ajax-loader.gif'; ?>"
    					   data-min-chars="<?php echo get_option('yith_wcas_min_chars'); ?>" />
    
    					<button type="submit" class="icon-search"></button>
    
    					<input type="hidden" name="post_type" value="product" />
    					<?php if ( defined( 'ICL_LANGUAGE_CODE' ) ): ?>
    						<input type="hidden" name="lang" value="<?php echo( ICL_LANGUAGE_CODE ); ?>" />
    					<?php endif ?>
    				</div>
    			</form>

    Nevermind it is a conflict between the Yith plugin and the theme. I’ll check with the theme author.

    Thanks!

    Hi,

    I have the same problem:
    Uncaught TypeError: Cannot read property ‘length’ of undefinedg.verifySuggestionsFormat
    https://cdn1.dermastore.ch/wp-content/plugins/yith-woocommerce-ajax-search/assets/js/yith-autocomplete.min.js?ver=1.2.7

    We always updated the plugin but I see version of autocomplete.min.js is ver=1.2.7 and version of the plugin Yith Woocommerce Ajax Search is 1.3.8.

    Please let me know.

    Kind regards
    Pier

    Plugin Author YITHEMES

    (@yithemes)

    Hi piersert, can you check if your theme yith-woocommerce-ajax-search.php template has been overwritten.
    If you have this file in your theme please rename or remove it temporarily, then try again.

    Regards
    YITHEMES

Viewing 10 replies - 1 through 10 (of 10 total)
  • The topic ‘problem with second language’ is closed to new replies.