soflyy/oxygen-bugs-and-features

New block : Notice Woocommerce

Opened this issue · 0 comments

Describe the feature you'd like to see included in Oxygen.

A notice is an information banner added by Woocommerce during an event:

  • Adding a product to the cart
  • Removal of a product from the shopping cart
  • Missing information in the checkout

Currently, Oxygen Woocommerce only allows us to choose the color of notification messages (setting->Woocommerce->Notification).

A dedicated "Woocommerce notice" block would allow us to style the information banner, choose its padding and select its location in the templates.

Depending on the template we build, its location may need to be changed. Exemple, for me : the cart and the checkout is one the same page.

Bonus: it would be even better if each notice could be styled by choosing its own icons.

What are the use cases for this feature?

Woocommerce store on product page, cart page, checkout page, my account page.

Examples of this feature or functionality.

Yes, Elementor pro do this :

  1. https://elementor.com/help/woocommerce-notice-settings/
  2. https://elementor.com/help/woocommerce-notice-widget/