I am having troubles passing the stock availability in my rich snippets.
If the product is in stock, the tag should be: <link itemprop="availability" href="http://schema.org/InStock" />
If it's out of stock, it should be: <link itemprop="availability" href="http://schema.org/OutOfStock" />
How can I add an if statement to _SKU_Man_Stock.cshtml to show the right tag depending on the availability?
I am using NOP 3.50. Thx!