Skip to content
This repository has been archived by the owner on Feb 23, 2024. It is now read-only.

Single Product Block > Product Summary and Title not aways rendering with the correct context depending on their position in the editor #9967

Closed
Tracked by #42339
nefeline opened this issue Jun 22, 2023 · 0 comments · Fixed by #9968
Assignees
Labels
block: single product Issues related to the single product block. type: bug The issue/PR concerns a confirmed bug.

Comments

@nefeline
Copy link
Contributor

nefeline commented Jun 22, 2023

Describe the bug

The Product Summary and Product Title blocks are not always rendered with the correct context in the editor when used as inner blocks of the Single Product block.

To reproduce

Steps to reproduce the behavior:

  1. Make sure you have the Gutenberg plugin disabled
  2. Create a new Post
  3. Add the Single Product block and save the post: notice how the content for the product summary block is rendered without any problems.
  4. Now go back to the editor and move the Product Summary block to the last position, as demonstrated in the screenshot below:
Screenshot 2023-06-22 at 18 37 47 5. Save the post and go to the front end: notice the summary is not displayed at all. Screenshot 2023-06-22 at 18 44 29

Expected behavior

Both the Product Summary and the Product Title blocks should be rendered without any problems, independent of their position within the editor.

@nefeline nefeline added the type: bug The issue/PR concerns a confirmed bug. label Jun 22, 2023
@nefeline nefeline self-assigned this Jun 22, 2023
@nefeline nefeline added the block: single product Issues related to the single product block. label Jun 22, 2023
@nefeline nefeline changed the title Single Product Block > Product Summary and Title not aways rendering depending on their position in the editor Single Product Block > Product Summary and Title not aways rendering with the correct context depending on their position in the editor Jun 22, 2023
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
block: single product Issues related to the single product block. type: bug The issue/PR concerns a confirmed bug.
Projects
None yet
1 participant