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

Single Product Template: Create a template part called Product Meta #8465

Closed
Tracked by #8054
gigitux opened this issue Feb 16, 2023 · 1 comment · Fixed by #8484
Closed
Tracked by #8054

Single Product Template: Create a template part called Product Meta #8465

gigitux opened this issue Feb 16, 2023 · 1 comment · Fixed by #8484
Assignees
Labels
focus: template Related to API powering block template functionality in the Site Editor

Comments

@gigitux
Copy link
Contributor

gigitux commented Feb 16, 2023

We have to create a Product Meta template part. In the default configuration in this template, there will be three blocks:

  • Product SKU
  • Product Categories

Furthermore, this template part in the Single Product Template will support the hooks:

  • woocommerce_product_meta_start
  • woocommerce_product_meta_end
@gigitux gigitux added the focus: template Related to API powering block template functionality in the Site Editor label Feb 16, 2023
@gigitux gigitux self-assigned this Feb 16, 2023
@gigitux gigitux changed the title Single Product Template: Create a template parts called Product Meta Single Product Template: Create a template part called Product Meta Feb 16, 2023
@gigitux gigitux linked a pull request Feb 20, 2023 that will close this issue
14 tasks
@gigitux gigitux mentioned this issue Mar 2, 2023
14 tasks
@gigitux
Copy link
Contributor Author

gigitux commented Mar 3, 2023

After discovering WordPress/gutenberg#48716, we decided to implement a block instead of a template part.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
focus: template Related to API powering block template functionality in the Site Editor
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant