Badges

Labels over the product image: sale with the discount, new, featured, out of stock and low stock.

Pro
  • [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.

Sale badge
Default On

On products that are on sale.

Sale badge shows
Default Discount (-20%)

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" badge
Default Off

"New" on recently published products.

Products count as new for
Default 30

Days after publishing, 1 to 365.

Featured badge
Default Off

"Featured" on featured products.

Out of stock badge
Default On

"Sold out" on products that are out of stock.

Low stock badge
Default Off

"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

AttributeUse
badgesComma-separated sale, new, featured, out_of_stock, low_stock, or none for no badges
sale_badgepercent or text
new_daysDays 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.