Hallo.
to select a Variante in the shop Woocomerce display” Bitte wähle Produktausführungen…” .
The support from woocomerce answer this is a problem of the theme
https://wordpress.org/support/topic/wp-45-javascript-errors-please-choose-product-options-etc
Is Enfold 3.5.3 version with jQuery 1.12.2 kompatibel. what WordPress 4.5 use.
In what way I can change this.
Kind regards.
Hey imweb-team,
Please try adding the following to your functions.php file to see if it helps:
function modify_jquery() {
if (!is_admin()) {
wp_deregister_script('jquery');
wp_register_script('jquery', 'https://code.jquery.com/jquery-1.11.3.min.js');
wp_enqueue_script('jquery');
}
}
add_action('init', 'modify_jquery');
Thanks,
Rikard
Hi,
I have the same problem. Updated everything and added the lines to the functions.php of the theme and child theme, got a 500. Added the line just to one theme (1 try for each) didn’t solve the problem: Example. What shall we do now?
Best,
Severin
As you guys are much too slow for us, we developed our own workaround:
function modify_jquery() {
if (!is_admin()) {
wp_deregister_script('jquery');
wp_register_script('jquery', 'https://ajax.googleapis.com/ajax/libs/jquery/1.8.1/jquery.min.js');
wp_enqueue_script('jquery');
}
}
add_action('init', 'modify_jquery');
Next time please convince us that you care about support and solutions!
Hey!
Thanks for sharing and sorry for the delay. We actually posted the following sticky thread to help users fix this issue: https://kriesi.at/support/topic/having-problems-after-updating-to-wordpress-4-5-please-read-this-first/
Cheers!
Ismael
Thank you .