I am trying to add the sold out badge to my product cards (for items that are sold out obviously). 2 Months ago I funny enough I was trying to remove the badge and came right with coding. Can’t remember if I added or removed coding.
But i’d like to have the button back on my product cards.
Goto search “Sold out” text in Online store > Themes > Edit default theme content. But remember it will be applied to both product an product card page.
Else goto your Online store > Themes > Edit code > open card-product.liquid, go to line 128, replace this line of code