I have a website I sell products on. Is there anyway to hide a button when the product is out of stock? Maybe some kind of script that finds text "item out of stock" and then makes the "Make Offer" button hidden. Here is the code I have now for the Make Offer Button.
<div class="DetailRow">
<a class="btn" style="cursor: pointer"
onclick=" window.open('http://www.website.com/make-an-offer/','',' scrollbars=yes,menubar=no,width=550, resizable=yes,toolbar=no,location=no,status=no')">Make Offer</a>
</div>
<div class="DetailRow">
<a class="btn" style="cursor: pointer"
onclick=" window.open('http://www.website.com/make-an-offer/','',' scrollbars=yes,menubar=no,width=550, resizable=yes,toolbar=no,location=no,status=no')">Make Offer</a>
</div>