我们在 Magento 网站上实现了 BizRate 商家评级代码,不幸的是,它使页面的其余功能失效(无法加载缩放图像,并且最重要的“添加到购物车”按钮不起作用。
这是我通过 Aheadworks Z Blocks 加载的代码(以及我们的 BBB 评级)
<table style="width: 312px; background-color: #ffffff; height: 60px; border: 0px solid #949494;" border="0" cellspacing="5" cellpadding="0" align="center">
<tbody>
<tr>
<td style="text-align: center;" colspan="2"><br /> <!-- BEGIN: Bizrate Medal (112x37 pixels) -->
<script type="text/javascript">// <![CDATA[
var bizrate={small:"true"};
<script src="//medals.bizrate.com/medals/js/16820_medal.js" type="text/javascript">
// ]]></script>
<p><a class="br-button"> <img usemap="#16820_medal" src="//medals.bizrate.com/medals/dynamic/small/16820_medal.gif" border="0" alt="See Carrot Ink Reviews at Bizrate.com" width="112" height="37" />
<map name="16820_medal">
<area title="See Carrot Ink Reviews at Bizrate.com" shape="poly" coords="1,0,1,36,61,36,61,20,111,20,111,0" href="//www.bizrate.com/ratings_guide/merchant_detail__mid--16820.html?rf=sur" target="_blank" />
<area title="Bizrate" shape="rect" coords="62,21,111,36" href="//www.bizrate.com/?rf=sur" target="_blank" />
</map>
</a></p>
<!-- END: Bizrate Medal (112x37 pixels) --></td>
<td style="text-align: center;" colspan="2"><br /> <a id="bbblink" class="rbhzbus" style="display: block; position: relative; overflow: hidden; width: 100px; height: 38px; margin: 0px; padding: 0px;" title="Carrot Ink, Ink Cartridge - Refill & Sales, Carrollton, TX" href="http://www.bbb.org/dallas/business-reviews/ink-cartridge-refill-and-sales/carrot-ink-in-carrollton-tx-37007583#bbblogo" target="_blank"><img id="bbblinkimg" style="padding: 0px; border: none;" src="http://seal-dallas.bbb.org/logo/rbhzbus/carrot-ink-37007583.png" alt="Carrot Ink, Ink Cartridge - Refill & Sales, Carrollton, TX" width="200" height="38" /></a>
<script type="text/javascript">// <![CDATA[
var bbbprotocol = ( ("https:" == document.location.protocol) ? "https://" : "http://" ); document.write(unescape("%3Cscript src='" + bbbprotocol + 'seal-dallas.bbb.org' + unescape('%2Flogo%2Fcarrot-ink-37007583.js') + "' type='text/javascript'%3E%3C/script%3E"));
// ]]></script>
</td>
</tr>
</tbody>
</table>
关于如何清理这个以便 magento 继续运行的任何想法?先感谢您。++++++++++++ 更新:嗯 - 这通过 Magento HTML 编辑器进行了一些代码抖动修正。
但是,现在我没有与它下面的“单元格”很好地分开 - 关于我没有关闭的任何想法可能会弄乱格式?谢谢