fwolf
February 14, 2024, 6:43pm
1
WooCommerce 3.9.5, which was previously working in CP 1.7.x, is broken in RC1!
This is probably because of missing jQuery Migration and other polyfill scripts.
WC 3.9.5 is pre-gutenberg, so this is a regression.
Broken = I cannot set nor create variable products, which originally worked before.
Simone
February 15, 2024, 1:08pm
2
As a temporary fix, paste this in console:
jQuery( '.type_box' ).appendTo( '#woocommerce-product-data .hndle' );
It’s fixed in WC 4.4.0 (that don’t work with CP).
The problem is described here .
Simone
February 15, 2024, 2:24pm
3
Put this hack code in an utility plugin and it will work again.
add_action('admin_enqueue_scripts', 'xsx_enqueue_wc_fix', 999);
function xsx_enqueue_wc_fix() {
wp_add_inline_script('wc-admin-variation-meta-boxes', 'jQuery(document).ready(function(){console.log("WooCommerce fixed!");jQuery(".type_box").appendTo("#woocommerce-product-data .hndle");});', 'after');
}
1 Like
fwolf
February 15, 2024, 2:41pm
4
Nice, gonna create sth like a WC for CP 2 compatiblity plugin, test it at the client site and drop it later at github.
cu, w0lf.
1 Like
@fwolf
We have a PR submitted to fix this issue in the v2 core. If you are able to test and provide any feedback that would be appreciated.
1 Like
Simone
February 19, 2024, 7:22pm
6
@fwolf you’ll find a fix in the next nightly.
No need for the compatibility plugin.
2 Likes
fwolf
February 20, 2024, 11:24am
7
Ok, looks like it works now with the latest nightly build
Thanks for the quick reaction!
cu, w0lf.
3 Likes
system
Closed
February 22, 2024, 11:24am
8
This topic was automatically closed 2 days after the last reply. New replies are no longer allowed.