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

Single Product Block missing meta information on frontend #9030

Closed
Tracked by #8054
roykho opened this issue Apr 13, 2023 · 4 comments · Fixed by #9032 or #9446
Closed
Tracked by #8054

Single Product Block missing meta information on frontend #9030

roykho opened this issue Apr 13, 2023 · 4 comments · Fixed by #9032 or #9446
Assignees
Labels
block: single product Issues related to the single product block. block-type: product Issues related to/affecting all blocks related to products. type: bug The issue/PR concerns a confirmed bug.

Comments

@roykho
Copy link
Member

roykho commented Apr 13, 2023

Describe the bug

When the single product block is used, meta information such as SKU, categories and tags are missing on the frontend.

To reproduce

Steps to reproduce the behavior:

  1. Add a page.
  2. Add the Single Product Block. Update save.
  3. Open this page on the frontend.
  4. See that the meta information is missing.

Expected behavior

All the meta information should be shown.

Screenshots

Editor Frontend
UIGJ88.png ty613B.png

Environment

WordPress (please complete the following information):

  • WordPress version: 6.2
  • Gutenberg version (if installed): 15.5.1
  • WooCommerce version: 7.7.0-dev
  • WooCommerce Blocks version: 10.1.0-dev
  • Site language: English
  • Any other plugins installed:

Desktop (please complete the following information):

  • OS: macOS
  • Browser: Chrome
  • Version: 112.0
@roykho roykho added type: bug The issue/PR concerns a confirmed bug. block: single product Issues related to the single product block. block-type: product Issues related to/affecting all blocks related to products. labels Apr 13, 2023
@gigitux
Copy link
Contributor

gigitux commented Apr 13, 2023

cc @thealexandrelara

@thealexandrelara
Copy link
Contributor

Thank you for reporting this @roykho, I'll take a look into it

@gigitux I saw that you're working on #8966 so just want to confirm with you that this is a different issue (just to avoid working on the same thing 😅 )

@gigitux
Copy link
Contributor

gigitux commented Apr 13, 2023

Thank you for reporting this @roykho, I'll take a look into it

@gigitux I saw that you're working on #8966 so just want to confirm with you that this is a different issue (just to avoid working on the same thing 😅 )

I just aligned that PR with trunk and I can confirm that the Product Meta block isn't rendered on the front end. My PR fixes only the Product SKU. I think that we introduced some regression with the last changes that we did.

@thealexandrelara
Copy link
Contributor

I just aligned that PR with trunk and I can confirm that the Product Meta block isn't rendered on the front end. My PR fixes only the Product SKU. I think that we introduced some regression with the last changes that we did.

Ohh okay, I'll take a look into it and find a fix for this so you won't be blocked by this issue 🦾

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. block-type: product Issues related to/affecting all blocks related to products. type: bug The issue/PR concerns a confirmed bug.
Projects
None yet
4 participants