You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Templates don't show the blocks inside, and when edited it is not the same #79387
I have many templates in my templates for Woo products.
Before 7.0 i could edit the templates inside the gutenberg.
Now i have to go to "edit Original" to edit it.
But this is my case: the templates i use are mostly woocommerce product collections, like these upsellings
As you can see on the left side bar there are missing a lot of blocks, these should be looking at
So first, the templates doesn't show all the blocks inside.
And second, if i go to "Edit Original" i cannot use the upselling block properly, because it is being edited on itself and not inside a product, so it doesn't show the upsellings from the product, so i cannot edit them properly, because I HAVE TO SELECT a product in order to do it, but this will apply the selected product to all the products where the templates is, but it should dynamically read the product to suggest the upselling options
Step-by-step reproduction instructions
Create a template for a specific product
Create a upselling blick inside it
Convert all that to a templates
Apply that templates to another template
Try to edit the templates inside blocks
Screenshots, screen recording, code snippet
No response
Environment info
Wordpress 7.0
Theme 2025
Please confirm that you have searched existing issues in the repo.
Yes
Please confirm that you have tested with all plugins deactivated except Gutenberg.
Yes
Please confirm which theme type you used for testing.
And second, if i go to "Edit Original" i cannot use the upselling block properly, because it is being edited on itself and not inside a product, so it doesn't show the upsellings from the product, so i cannot edit them properly, because I HAVE TO SELECT a product in order to do it, but this will apply to all the products where this pattern is, and it should dynamically read the upselling products
@TheRadicalDreamer Have you reached out to WooCommerce as well about this?
changed the title [-]Patterns don't show the blocks inside, and when edited it is not the same[/-][+]Templates don't show the blocks inside, and when edited it is not the same[/+]on Jun 24, 2026
I suspect Woo Commerce can fix the issue fairly easily, so it's good that you've reported the issue there.
The issue arises partly because of the way the Woo Commerce block works, and partly due to changes to the WordPress editor experience.
There is a workaround in the Gutenberg plugin now, implemented in #78383. There's an 'Enable editing all patterns' command that makes template parts and patterns fully editable, so you essentially have the same experience as 6.9 temporarily:
That can be switched off again using the reverse command 'Disable editing all patterns'. These commands will also ship in WordPress 7.1.
If you're not sure how to use the command palette, you can click this 'address bar' style thing in the editor to launch it:
Or use the shortcut cmd + k (on mac), ctrl + k (on windows/linux).
@TheRadicalDreamer WordPress 7.1 is now released and has the command I mentioned here - #79387 (comment). I tested a fresh WordPress instance and can see it:
Tested on trunk with Twenty Twenty-Four, Pages template in the site editor.
By default, template parts are content-only: clicking the Site Title in the header selects the Header template part, and only its content blocks are listed.
The "Enable editing all patterns" command (added in #78383, shipped in WordPress 7.1, as @talldan mentioned here) turns this off. After running it, the Site Title inside the header can be selected and edited in place, and List View shows every block inside the template part, like before 7.0.
The other part, the upsell block not knowing which product it's shown for when edited on its own, comes from how the WooCommerce block works and needs a fix there, which you've already reported to WooCommerce.
Closing since the editor side is covered by the command. If something is still missing with the command on in 7.1, please comment and we can reopen.
Activity
talldan commentedon Jun 22, 2026
@TheRadicalDreamer Have you reached out to WooCommerce as well about this?
talldan commentedon Jun 22, 2026
Also to clarify, when you say 'pattern' do you mean 'Template part'?
Unsynced patterns don't have an 'Edit original' button.
Synced patterns do have an 'Edit original' button, but their implementation has been unchanged for several WordPress versions.
[-]Patterns don't show the blocks inside, and when edited it is not the same[/-][+]Templates don't show the blocks inside, and when edited it is not the same[/+]TheRadicalDreamer commentedon Jun 24, 2026
Template. Sorry. I always confuse those 2.
https://screencast.apps.chrome/1SNy5fyUR1LMhAtWBok5aLe2KGl-Yo242?createdTime=2026-06-24T19%3A58%3A48.207Z
The issue is that i cannot edit the upselling block properly, because it is not linked to the product i am seeing.
TheRadicalDreamer commentedon Jul 6, 2026
Here is a template that doesn't look ok:
This is when i am editing the template for pages, and i see the template for Header

It doesn't show what it is really inside.
This is how it looks when i edit it:

TheRadicalDreamer commentedon Jul 17, 2026
I am really blocked by this issue. I need to change some designs on the product collection, but i cannot.
This is a regression, before 7.0 i could change the upselling collection
talldan commentedon Jul 20, 2026
I suspect Woo Commerce can fix the issue fairly easily, so it's good that you've reported the issue there.
The issue arises partly because of the way the Woo Commerce block works, and partly due to changes to the WordPress editor experience.
There is a workaround in the Gutenberg plugin now, implemented in #78383. There's an 'Enable editing all patterns' command that makes template parts and patterns fully editable, so you essentially have the same experience as 6.9 temporarily:

That can be switched off again using the reverse command 'Disable editing all patterns'. These commands will also ship in WordPress 7.1.
If you're not sure how to use the command palette, you can click this 'address bar' style thing in the editor to launch it:

Or use the shortcut cmd + k (on mac), ctrl + k (on windows/linux).
TheRadicalDreamer commentedon Jul 20, 2026
TheRadicalDreamer commentedon Jul 21, 2026
I noticed that the command doesn't exists for me :(
TheRadicalDreamer commentedon Jul 21, 2026
What i have in pages templates (not in product templates) is to show the template:
TheRadicalDreamer commentedon Aug 18, 2026
I still cannot edit the suggested products or cross selling or up selling patterns in Gutenberg.
This is a regression. Because before 7.0 I could do it.
Please prioritize this issue :(
talldan commentedon Aug 24, 2026
@TheRadicalDreamer WordPress 7.1 is now released and has the command I mentioned here - #79387 (comment). I tested a fresh WordPress instance and can see it:
ellatrix commentedon Nov 4, 2026
Tested on trunk with Twenty Twenty-Four, Pages template in the site editor.
By default, template parts are content-only: clicking the Site Title in the header selects the Header template part, and only its content blocks are listed.
The "Enable editing all patterns" command (added in #78383, shipped in WordPress 7.1, as @talldan mentioned here) turns this off. After running it, the Site Title inside the header can be selected and edited in place, and List View shows every block inside the template part, like before 7.0.
The other part, the upsell block not knowing which product it's shown for when edited on its own, comes from how the WooCommerce block works and needs a fix there, which you've already reported to WooCommerce.
Closing since the editor side is covered by the command. If something is still missing with the command on in 7.1, please comment and we can reopen.
Partly automated with help from Claude.