Viewing 9 replies - 1 through 9 (of 9 total)
  • Vahid

    (@digitalpieces)

    for now, you can solve that issue easily with:

    str_replace(“.autocomplete”, “.yithautocomplete”, do_shortcode(‘[yith_woocommerce_ajax_search]’));

    on your template file..

    Same issue, why would you make this a patch release if it breaks backwards compatibility?

    Could you please give some instructions as to which template file to edit and where it’s located? Hopefully an actual working update will be released soon.

    Vahid

    (@digitalpieces)

    Hi,

    where you have this in your template (call to show ajax search):

    echo do_shortcode('[yith_woocommerce_ajax_search]');

    just replace with above code:

    echo str_replace(".autocomplete", ".yithautocomplete", do_shortcode('[yith_woocommerce_ajax_search]'));

    Also you can find here more info regarding php str_replace function…

    P.S. I’m using paid version of this plugin but i think this above will solve issue on free version…

    Plugin Author YITHEMES

    (@yithemes)

    Hi,
    We have received many request to rename the function .autocomplete, becouse we are loading a non-standard version of the jQuery autocomplete plugin instead of using the one built in with WordPress. That means that if any theme or plugin is trying to use the jQuery autocomplete plugin and has your plugin installed it breaks them.

    The trick of Vahid is valid,
    if you are using a template file in your woocommerce folder that have javascript code, replace .autocomplete with .yithautocomplete

    Hi!

    Im having a similar problem, I updated and then it stoped working…. got the premium version.. asked for help on SupportDesk.. I will see what happens…

    Then I found this post… same problem but different error in console:

    TypeError: c.yithautocomplete is not a function

    Any ideas? Different Problem??

    Plugin Author YITHEMES

    (@yithemes)

    Hi infoaltea,
    I hope that you have resolved your bug with our SupportDesk!
    Let me know if you have fixed your bug.

    YITHEMES

    It was a theme and plugin conflict.

    All working.

    Plugin Author YITHEMES

    (@yithemes)

    Great!

    YITHEMES

Viewing 9 replies - 1 through 9 (of 9 total)
  • The topic ‘plugin not working after last update (1.3.1)’ is closed to new replies.