you could filter it onto the end of the_content?
function kia_add_registry_button($content){ ?>
$content .= "<!-- Start AddToMyRegistry Button Tag -->
<script id='scriptMyRegistryWebWidgetButtonScript' type="text/javascript">
document.write("<img id='ImgAddToMyRegistryButton' src="http://images.myregistry.com/Images/MyRegistry/WebWidgetImages/netSol/742.jpeg" onmouseover="ImgAddToMyRegistryButton_onmouseover(this);" onmouseout="ImgAddToMyRegistryButton_onmouseout(this);" style="border-width: 0px; cursor: pointer;" onclick='CreateAddToMyRegistryWidget();' />");
function ImgAddToMyRegistryButton_onmouseover(elementParam)
{elementParam.src="http://images.myregistry.com/Images/MyRegistry/WebWidgetImages/netSol/742.jpeg";}
function ImgAddToMyRegistryButton_onmouseout(elementParam)
{elementParam.src="http://images.myregistry.com/Images/MyRegistry/WebWidgetImages/netSol/742.jpeg";}
</script>
<!-- End AddToMyRegistry Button Tag -->";
return $content;
<?php }
add_filter('the_content','kia_add_registry_button');
having just worked w/ woocommerce i know that it has quite a few hooks you could also use to attach this to.
EDIT:
this goes into your functions.php and will add this code to the end of every post/page/product… unless we add further refinement with conditional tags.