我正在尝试编写我的 vqmod .xml,但没有任何工作?如果我尝试在所有目录/* 文件中添加更改。它适用于其他 (system/*, admin/*) 文件,但没有任何变化?如果我尝试做这样的事情:
<file name="catalog/controller/checkout/cart.php">
<operation>
<search position="replace"><![CDATA[
$json['total'] = sprintf($this->language->get('text_items'), $this->cart->countProducts() + (isset($this->session->data['vouchers']) ? count($this->session->data['vouchers']) : 0), $this->currency->format($total));
]]></search>
<add trim="true"><![CDATA[
$json['total'] = sprintf($this->language->get('text_items'), $this->cart->countProducts() + (isset($this->session->data['vouchers']) ? count($this->session->data['vouchers']) : 0), $this->currency->format($total));
]]></add>
</operation>
</file>
我究竟做错了什么?