¨WooCommerce Gutenberg Editor

Closed
REHub - Price Comparison, Affiliate Marketing, Multi Vendor Store, Community Theme REHub - Price Comparison, Affiliate Marketing, Multi Vendor Store, Community Theme February 09, 2022
Login to reply
Yvette Boye
2 years ago

Noted, with thanks.

Igor Sunz Support Agent
2 years ago

Once woocommerce will support Gutenberg editor, you will be able to use it
in products

Пт, 11 февр. 2022 г. в 12:27, Sizam Support Help Desk <
sizamtheme+zx32GdK6YBVx47DRyQPZ@mail.support-hub.io>:

Yvette Boye
2 years ago

Will Greenshift also be for product pages? 

Igor Sunz Support Agent
2 years ago

their answer is not relevant. They provided you link to woocommerce blocks
plugin. It's just adding blocks to post editor. You asked different, you
asked how to enable Gutenberg editor in Product edit area. I recommend to
reopen topic.

Yvette Boye
2 years ago

¨Hi,

Can I get the product pages to become more like Gutenberg editor with Rehub?

Background:

I am making the product page https://www.blackfridayoversikten.no/produkt/helena-rubinstein-lash-queen-mascara-feline-blacks/ at the price comparison site www.blackfridayoversikten.no

The possibility to easy create awesome WooCommerce product description is limited compared to post and pages since the Gutenberg Editor does not work.

I contacted WooCommerce (https://wordpress.org/support/topic/gutenberg-editor-for-product-pages-2/#post-15344936) and they updated me about WooCommerce Blocks plugin. Is that a good solution when working with Rehub to get Gutenberg options in WooCommerce pages?

Do I understand it correctly that Greenshift will make the product pages more ¨Gutenberg¨ like or will there still be a need for something more to easy create Gutenberg/WooCommerce blocks on the product pages.

I have also learnt that one can paste a code to get Gutenberg into the product page, is that a good solution?

Code Snippet (Source: https://www.youtube.com/watch?v=SaPdeKlqf1o)

// 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 );


// enable taxonomy fields for woocommerce with gutenberg on

function enable_taxonomy_rest( $args ) {

    $args['show_in_rest'] = true;

    return $args;

}

add_filter( 'woocommerce_taxonomy_args_product_cat', 'enable_taxonomy_rest' );

add_filter( 'woocommerce_taxonomy_args_product_tag', 'enable_taxonomy_rest' );


Kindly advice.

Additional Info

Link on page with issue: https://www.blackfridayoversikten.no/produkt/helena-rubinstein-lash-queen-mascara-feline-blacks/