-
Hi – updated Generate Blocks and Generate Blocks Pro to version 2.
The theme I’m using (Shoptimizer) has enabled block editor on WooCommerce product long descritpions. I’ve been using Generate Blocks 1.x on my woocommerce products for a long time now. I believe it enables the block editor in woocommerce products in a similar way to this:
// enable gutenberg for woocommerce function activate_gutenberg_product( $can_edit, $post_type ) { if ( $post_type == 'product' ) { $can_edit = true; } return $can_edit; } add_filter( 'use_block_editor_for_post_type', 'activate_gutenberg_product', 10, 2 );
Since updating to version Gen Blocks 2.x, the blocks no longer work and my woocommerce product edit screens no longer load correctly.
We are currently unable to edit any woocommerce products that use Generate Blocks.
I’ve been looking for the last versions of Gen Blocks 1.x (both the free and pro versions) to temporarily fix the issue, but have been unable to find.
I’ve been poking around, but have been unable to find a way to make generate blocks 2.x blocks work in my woo products.
Any ideas?
Thanks
-
I think I’ve narrowed this issue down to a conflict of some sort with ‘Facebook for Woocommerce’ plugin that was updated yesterday. Disabling the facebook plugin fixes the issue with Generate Blocks and woo’s product block editor.
-
Alvind
Glad to know that!
In that case, you may want to report this issue to the plugin author so they can fix it.
-
Already have!
Turns out the recent update causes issues with the block editor even without Generate Blocks.
Just one of many problems we’ve encountered over the years with the official FB for Woo plugin….
Thanks
-
Alvind
No problem!
- You must be logged in to reply to this topic.