woocommerce_sale_flash filter not respected #45041
Replies: 0 comments 1 reply
-
Hi @aheckler, thanks for leaving your feedback! Currently the All Products block uses a different method of rendering content than the other pages in Woo. The content is generated client side with React components. Thus extending the way different aspects of the content displays cannot be modified via existing filters and actions like you are accustomed here. We are currently collecting posts/requests like what you shared here to help us guide how we expose this extensibility/customization for future iterations of the blocks. As an example we could enhance the sale badge block so that there are more customization options for what is available for display in the badge (and potential data sources). Since this is not currently actionable - I'm closing this issue but rest assured what you've taken the time to write here is something noted. |
Beta Was this translation helpful? Give feedback.
-
Describe the bug
Any code that filters on
woocommerce_sale_flash
expecting to change the sale badge doesn't work with the blocks in this plugin.To reproduce
-30%
or whatever the discount is:-30%
or whatever.Sale
.Expected behavior
The badge should respect any filtering on
woocommerce_sale_flash
I would think.Beta Was this translation helpful? Give feedback.
All reactions