I can add a popup sizechart in product descriptionby an js add-on, but if I have hundreds of products, i have to add that code every time I input product description. So I want to find a way for 'global settingb'. I add the same html code in tpl_product_info_display.php, between <!--eof Attributes Module --> and <!--bof Add to Cart Box -->, since I want the size chart displayed after the attribute and before ' add to cart'. But the problem is the 'add to cart' button doesn't work, although the size chart works properly. so how can I change the code if I want it embeded in the php file?
the code is ```html
<a href="javascript:popupDetails('http://www.mysite.com/images/sizechart.gif')"><img src="/images/icon.jpg" width="86" height="16"><img src="http://www.mysite.com/images/sizechart.gif" width="" height=""></a>