Badges
Labels over the product image: sale with the discount, new, featured, out of stock and low stock.
[siteryn_product_grid limit="4" featured="yes" badges="sale,new,featured,out_of_stock,low_stock" new_days="60"]- Featured and New badges on every card, and a -23% discount badge before them on the product that is on sale
Badges (Pro Features tab)
Siteryn โ Product Grid & List โ Pro Features โ Badges. These are the defaults for every grid and list.
On products that are on sale.
Discount shows the percentage off, for example "-21%"; for variable products the largest discount of any variation. Text shows "Sale". Grouped products always show "Sale".
"New" on recently published products.
Days after publishing, 1 to 365.
"Featured" on featured products.
"Sold out" on products that are out of stock.
"Only 3 left" on products that manage stock and are at or below the low stock threshold from WooCommerce inventory settings (or the product's own threshold).
Per shortcode
| Attribute | Use |
|---|---|
badges | Comma-separated sale, new, featured, out_of_stock, low_stock, or none for no badges |
sale_badge | percent or text |
new_days | Days a product counts as new, 1 to 365 |
[siteryn_product_grid badges="sale,low_stock" sale_badge="text"]
Badges sit at the top left of the image, in this order: Sold out, sale, low stock, Featured, New. Screen readers hear a full label, for example "On sale, 21% off" or "Low stock, only 3 left". Developers can add their own badges with siteryn_pgl_pro_badges.