Customize WooCommerce product page

Hi
Is there available any plugin to create or customize all sections of WooCommerce product page when block editor is Gutenberg not Elementor or Composer or anything else?

2 Likes

Elementor has the feature to manage that but I believe you will need to add some codes to the function.php of the root theme to achieve what you really want, even though it’s not impossible, it’d be easier to edit the page template and update it within your theme on /woocommerce folder.

// Enable Gutenberg in 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 );

1 Like

Thanks for your solution.
I did it and now I can use Gutenberg in product description section.
Is there any similar method to customize Additional information tab with Gutenberg? I will be so grateful if you can give me your advice to edit the product template with Gutenberg :blush:

You need to rewrite the “single-product” template but it will require lots of coding.
It’d be easier to modify the core WooCommerce files or use Elementor.

I may not be correct but as far as I know, Gutenberg still doesn’t support that much features.

1 Like

Thanks a lot.
I think, against my will, I have to use Elementor!

Probably Elementor would be the best choice at the moment.
There’s another work around ( that you could use Gutenberg ) but the theme would need some modifications.

1 Like