So im curious. How would one go about editing code to make the add to cart button or a new button function as follows:
If product variant is not available: display button that says out of stock
If product variant is available: Hide the button
Using the Venture template.