Are you a GenerateCustomer?

Do you have an active GP Premium or GenerateBlocks Pro license key?

Create a GenerateSupport account for GeneratePress and GenerateBlocks support in one dedicated place.

Create an account
Already have a GenerateSupport account? Login

Just browsing?

Feel free to browse the forums. Support for our free versions is provided on WordPress.org (GeneratePress, GenerateBlocks).

Want to become a premium user? Learn more below.

Generate Blocks 2 and WooCommerce problem

  • Hi – updated Generate Blocks and Generate Blocks Pro to version 2.

    Plugins

    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.

    Woocommerce editor long description

    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.

  • 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

  • No problem!

Viewing 5 posts - 1 through 5 (of 5 total)
  • You must be logged in to reply to this topic.