PluginUs.Net - Business Tools for WooCommerce and WordPress

[realize your idea - make your dreams come true]

Support Forum

You need to log-in to create request (topic) to the support

After woocommerce update jquery error

The support doesn work on Saturdays and Sundays, so some Friday requests can be answered on Monday. If you have problems with registration ask help on contact us page please
If you not got email within 24~36 business hours, firstly check your spam box, and if no any email from the support there - back to the forum and read answer here. DO NOT ANSWER ON EMAILS [noreply@pluginus.net] FROM THE FORUM!! Emails are just for your info, all answers should be published only here.
The support doesn work on Saturdays and Sundays, so some Friday requests can be answered on Monday.

Hi,

after the woocommerce update 4.1.0 there are again hail errors and WooCommerce Currency Switcher is unfortunately also included. I have the following error message:
TypeError:"jQuery.cookie is not a function"
<anonymous> https://klon.nats-shop.com/shop-uebersicht?currency=EUR:1690
jQuery 4

can someone help me, thank you very much.

Regards Gisela

Hello Gisela

I don’t think this error is related to my plugin.

I think the problem is optimizing JS code

Now I do not see this error on your site

 

Hello Pablo,

sorry, but I think it comes from the currency switcher. I have now turned off the chache plugin and the plugin for compressing the js files. The message points to the currency switcher?
I clicked on the debugger and see
<script src='https://klon.nats-shop.com/wp-content/plugins/woocommerce-currency-switcher/js/price-slider_33.js?ver=1.3.1'></script>
<script src='https://klon.nats-shop.com/wp-content/plugins/woocommerce-currency-switcher/js/jquery.ddslick.min.js?ver=1.3.1'></script>
<script src='https://klon.nats-shop.com/wp-content/plugins/woocommerce-currency-switcher/js/front.js?ver=1.3.1'></script>

TypeError:"jQuery.cookie is not a function"
<anonymous> https://klon.nats-shop.com/shop-uebersicht?currency=EUR:1690:1745
jQuery 4

Why is there currency switcher everywhere? Teach me better, but it doesn't get clearer.
Regards Gisela

Hello Gisela

Ok! I understood you. But this error does not affect anything (it is wrapped - https://c2n.me/47wNK6V.png )

In any  case you  can  in  file -\plugins\woocommerce-currency-switcher\classes\woocs_before_33.php - delete  this  code - https://c2n.me/47wNZn0.png

Hello Pablo,

Thanks a lot. I just learned that error messages should be dealt with before they get in and eventually lead to problems. Now the error message is gone and I don't have the code"https://c2n.me/47wNZn0.png" in the file. Thank you again.

Regards Gisela

Oops, now the mistake is back. The error only appears when I switch from € to USD or back to €. But I don't have the code.

Hello

Try  this code in the file - \wp-content\plugins\woocommerce-currency-switcher\classes\woocs_after_33.php - use  CNTRL+F "init_js_footer" - https://c2n.me/47zcqyn.png

If  no  luck - please  add  FTP access