WooCommerce Generator - Show sale price
To make a sale badge show up in your WooCommerce dynamic slide, you can use the meta_sale_price variable at Hide layer if the variable is empty field of this badge.
If you're starting from the Product carousel demo, this is how your variables should look like:
- title variable for showing the product title
- category1 to show the category the product is in
- meta_regular_price which is hidden if the meta_sale_price variable is empty
- meta_price to display the item's price
- a custom image, which is hidden if the meta_sale_price variable is empty
- image variable to show the featured image
Here's how the result looks like: