WooCommerce 3.9.5 broken in RC1 / nightly!

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.

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.

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

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


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

@fwolf you’ll find a fix in the next nightly.
No need for the compatibility plugin.


Ok, looks like it works now with the latest nightly build :slight_smile:
Thanks for the quick reaction!

cu, w0lf.


This topic was automatically closed 2 days after the last reply. New replies are no longer allowed.