Skip to content

Templates don't show the blocks inside, and when edited it is not the same #79387

Closed

Description

@TheRadicalDreamer

Description

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

Image

As you can see on the left side bar there are missing a lot of blocks, these should be looking at

Image

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

Image

Step-by-step reproduction instructions

  1. Create a template for a specific product
  2. Create a upselling blick inside it
  3. Convert all that to a templates
  4. Apply that templates to another template
  5. 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.

  • Block
  • Classic
  • Hybrid (e.g. classic with theme.json)
  • Not sure

Activity

  1. added
    [Type] Bug
    on Jun 22, 2026
  2. talldan commented on Jun 22, 2026

    @talldan
    Contributor

    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?

  3. added
    [Block] Template Part
    on Jun 22, 2026
  4. talldan commented on Jun 22, 2026

    @talldan
    Contributor

    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.

  5. added
    [Status] Needs More Info
    on Jun 23, 2026
  6. 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
  7. TheRadicalDreamer commented on Jun 24, 2026

    @TheRadicalDreamer
    Author

    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.

  8. TheRadicalDreamer commented on Jul 6, 2026

    @TheRadicalDreamer
    Author

    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
    Image

    It doesn't show what it is really inside.

    This is how it looks when i edit it:
    Image

  9. TheRadicalDreamer commented on Jul 17, 2026

    @TheRadicalDreamer
    Author

    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

  10. removed
    [Status] Needs More Info
    on Jul 20, 2026
  11. talldan commented on Jul 20, 2026

    @talldan
    Contributor

    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:
    Image

    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:
    Image

    Or use the shortcut cmd + k (on mac), ctrl + k (on windows/linux).

  12. TheRadicalDreamer commented on Jul 20, 2026

    @TheRadicalDreamer
    Author
  13. TheRadicalDreamer commented on Jul 21, 2026

    @TheRadicalDreamer
    Author

    I noticed that the command doesn't exists for me :(

    Image Image
  14. TheRadicalDreamer commented on Jul 21, 2026

    @TheRadicalDreamer
    Author

    What i have in pages templates (not in product templates) is to show the template:

    Image
  15. TheRadicalDreamer commented on Aug 18, 2026

    @TheRadicalDreamer
    Author

    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 :(

  16. talldan commented on Aug 24, 2026

    @talldan
    Contributor

    @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:

    Image
  17. ellatrix commented on Nov 4, 2026

    @ellatrix
    Member

    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.

    Before: the template part is selected

    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 command
    After: Site Title selected inside the header

    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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    [Block] Template Part[Type] Bug

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions