Adding "notify me when this product is back in stock" in blocks

Hey everyone,

I just upgraded to v3 and I would like to add the feature “notify me when this product is back in stock” directly in a side block on the home page.

Essentially, I have a block on the side that shows a specific product using the Template “Grid”. And it would follow the same guidelines as the product page, where if the product is in stock it doesn’t appear, but when it’s not in stock, it appears.

I really hope someone could help me on this one.