On-Sale Badge – woocommerce/product-sale-badge
Displays an on-sale badge if the product is on-sale.
Use the On-Sale Badge block for a product that’s on sale.
Screenshot
Example
Notes
- The On-Sale Badge block can be added to the All Products – woocommerce/all-products block.
- If you add this block then you may want to toggle the Show On Sale Badge that’s displayed over the image.
- You cannot edit the title.
How to add/edit nested blocks to the All Products block
- If not already done, add the All Products block to the page.
- Click on the Edit icon.

- Use the Add Block icon, displayed between blocks, to add a block.
- Choose from the list of blocks offered.
-
- On-Sale Badge – woocommerce/product-sale-badge
- Product Title – woocommerce/product-title
- Product Price – woocommerce/product-price
- Product Image – woocommerce/product-image
- Product Rating – woocommerce/product-rating
- Product Button – woocommerce/product-button
- Product Summary – woocommerce/product-summary
- If required, rearrange the blocks by using the move arrows or drag and drop.
- Don’t forget to click the Done button.
