I have been trying to replace the "Out of Stock" ribbon with "Sold" on the product list/single product pages, but I can't seem to be able to do it successfully. I wanted to do it for a specific category category only as we are selling one-of-a-kind pieces in this category. I've tried different snippets that I found online; however, no luck.
Ideally, it would be nice suppress the "Out of Stock" ribbon and display a "Sold" badge instead, but if it's too complicated the one described above would work, too.
Wondering if you can help me replace the relevant code in the theme?
Thank you in advance!