• Resolved eoik

    (@eoik)


    Hi, Since i’ve upgrated to Woocommerce latest verstion, 8.5.1, I have no blocks anymore (only the classic editor) for the Products.

    “The WooCommerce Blocks plugin has been deactivated as the latest improvements are now included with the WooCommerce plugin”.

    Theme : Storefront

    Thanks for your help

    • This topic was modified 10 months ago by eoik.
    • This topic was modified 10 months ago by eoik.
Viewing 8 replies - 1 through 8 (of 8 total)
  • Thread Starter eoik

    (@eoik)

    Hi, I added this, and the problem is now solved.

    function wplook_activate_gutenberg_products($can_edit, $post_type){
    	if($post_type == 'product'){
    		$can_edit = true;
    	}
    	
    	return $can_edit;
    }
    add_filter('use_block_editor_for_post_type', 'wplook_activate_gutenberg_products', 10, 2);

    I am still wondering why I had this problem. And how come nobody is reporting it.

    Plugin Support Zubair Zahid (woo-hc)

    (@doublezed2)

    Hello eoik,

    Thank you for reaching out and for informing us about the issue you are experiencing with WooCommerce blocks following your upgrade to WooCommerce version 8.5.1.

    As indicated by the notice you received, the WooCommerce Blocks functionality is indeed integrated into WooCommerce itself. Therefore, there is no longer a need to install a separate plugin for this functionality, which is why the WooCommerce Blocks plugin has been deactivated.

    Although you were able to fix it by adding custom code, that should not be the case. To help us assist you further with the matter, I would like to request a copy of your site’s System Status Report.

    This will give us a comprehensive overview of your site environment and may highlight any potential conflicts or issues that could be causing the problem.

    Here is how you can retrieve your System Status Report:
    1. Go to your WordPress Dashboard.
    2. Navigate to WooCommerce > Status.
    3. Click on ‘Get system report.’
    4. Then click on ‘Copy for support.’

    After copying the report, please paste it into a new Gist at https://gist.github.com. Once you’ve created the Gist, please copy the Gist link and paste it here in your reply.

    Looking forward to your response. ??

    Best regards.

    Thread Starter eoik

    (@eoik)

    Plugin Support Shameem R. a11n

    (@shameemreza)

    Hi @eoik,

    Thanks for sending over your system status reports. I noticed in your plugin list that the Classic Editor plugin was previously in use. Did you deactivate this plugin after adding the custom code snippet, or had it already been deactivated before you added the snippet?

    Rest assured, I gave it a shot and tried replicating the issue on both my new and old testing sites, but I couldn’t make it happen.

    Looking forward to hearing from you!

    Thread Starter eoik

    (@eoik)

    Hi @shameemrezza,

    Indeed, iit’s been a long time this plugin, Classic editor, has been deactivated. I should delete it.

    Have a good day

    Plugin Support Zubair Zahid (woo-hc)

    (@doublezed2)

    Hello eoik

    Thank you for your reply.

    I want to confirm if you still require that custom code to make Blocks work for your Products.

    It is possible that the interference you experienced was caused by the Classic Editor plugin. The core purpose of this plugin is to provide a classic editing experience.

    Please let me know. ??

    Best regards.

    Thread Starter eoik

    (@eoik)

    Hi @doublezed2 ,

    Sorry, there is a misunderstanding : I’m a not using Classic Editor since a very long time and I have normal posts with Blocks within my blog. I used to have blocks for the products until my last WooCommerce update (8.5.1).
    Though, I deleted the plugin and checked once again and the problem remained.
    I hope it’s clear.

    Regards

    Hi there @eoik ??

    Thank you for reaching back, clarifying things further.

    Let’s troubleshoot further, since the issue remains.

    I added this, and the problem is now solved.

    Could you be more specific as to where this code was added, and how (manually, or using a plugin, for example)?

    Since i’ve upgrated to Woocommerce latest verstion, 8.5.1, I have no blocks anymore (only the classic editor) for the Products.

    Could you please provide us with a screenshot of what you see on that screen, so that we can see what you are describing?

    If you don’t already have a screenshot service installed, here are a few free options:

    https://snipboard.io
    https://skitch.com/
    https://getcloudapp.com/
    https://awesomescreenshot.com/

    There is also a walkthrough guide here: https://en.support.wordpress.com/make-a-screenshot/

    Once I hear back from you, I will be happy to investigate this further. Cheers!

    • This reply was modified 9 months, 3 weeks ago by anastas10s. Reason: added inquiry about the code snippet
Viewing 8 replies - 1 through 8 (of 8 total)
  • The topic ‘no blocks anymore since woocommerce 8.5.1’ is closed to new replies.