<file path="catalog/view/javascript/common.js">
<operation>
<search><![CDATA['add': function(product_id, quantity) {]]></search>
<add position="replace">
<![CDATA['add': function(product_id, m, quantity) {
alert('ok');
quantity = m*quantity;
]]>
</add>
</operation>
这是我的 xml,我在 ocmod.log 中也没有出错,请帮助