in my theme, I need to display either "in stock" or "out of stock" in detail page. it's shown by default. I needed to display it right after the title. in one line.
I moved in stock inside title block. but the problem is, There is a <h1>
tag inside the title.phtml file and I need in stock to be <span>
inside that `'.
I can't move further in XML. Can't edit title.phtml to put span because when I do, it will affect for the every title instances inside my project.
How can I put a span inside h1 tag and instruct it to only display when on a product view?