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

Create Notices Block #8062

Closed
Tracked by #8059
dinhtungdu opened this issue Jan 2, 2023 · 2 comments · Fixed by #8157
Closed
Tracked by #8059

Create Notices Block #8062

dinhtungdu opened this issue Jan 2, 2023 · 2 comments · Fixed by #8157
Assignees
Labels
focus: FSE Work related to prepare WooCommerce for FSE. focus: template Related to API powering block template functionality in the Site Editor

Comments

@dinhtungdu
Copy link
Member

dinhtungdu commented Jan 2, 2023

We want to create a block so merchants can display the store notices to customers. By having a block, the merchant can also determine where the notices appear.

Property Value
Block title Store Notices
Block description Display shopper-facing notifications generated by WooCommerce or extensions.
Block slug notices
Block file location assets/js/blocks/notices/
Block class location src/BlockTypes/Notices.php
Scope Site Editor
Equivalent template file None
Equivalent template function woocommerce_output_all_notices()
Style None
Visibility Woocommerce Core

Screenshot

image

@dinhtungdu dinhtungdu added focus: template Related to API powering block template functionality in the Site Editor focus: FSE Work related to prepare WooCommerce for FSE. labels Jan 2, 2023
@albarin albarin self-assigned this Jan 10, 2023
@albarin albarin mentioned this issue Jan 11, 2023
7 tasks
@dinhtungdu
Copy link
Member Author

@albarin FYI, I update the description of this block to:

Display shopper-facing notifications generated by WooCommerce or extensions.

@albarin
Copy link
Contributor

albarin commented Jan 12, 2023

Got it, thanks! 🙌

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
focus: FSE Work related to prepare WooCommerce for FSE. 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.

2 participants