-
Notifications
You must be signed in to change notification settings - Fork 78
/
Copy pathinstall.xml
40 lines (39 loc) · 1.59 KB
/
install.xml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
<modification>
<name>Exchange1C Module for OpenCart 2.3</name>
<version>1.6.4.7</version>
<id>OpenCart Exchange1C</id>
<author>KirilLoveVE</author>
<link>https://github.com/KirilLoveVE/opencart2-exchange1c</link>
<code>exchange1c</code>
<file path="admin/controller/common/column_left.php">
<operation>
<search><![CDATA[if ($this->user->hasPermission('access', 'extension/event')) {]]></search>
<add position="before"><![CDATA[ if ($this->user->hasPermission('access', 'extension/module/exchange1c')) {
$extension[] = array(
'name' => 'Exchange 1C v8.x',
'href' => $this->url->link('extension/module/exchange1c', 'token=' . $this->session->data['token'], true),
'children' => array()
);
}
]]></add>
</operation>
</file>
<file path="admin/model/sale/order.php">
<operation>
<search><![CDATA['lastname' => $order_query->row['lastname'],]]></search>
<add position="after"><![CDATA[ 'middlename' => $order_query->row['middlename'],]]></add>
</operation>
</file>
<file path="admin/controller/sale/order.php">
<operation>
<search><![CDATA[$data['lastname'] = $order_info['lastname'];]]></search>
<add position="after"><![CDATA[ $data['middlename'] = $order_info['middlename'];]]></add>
</operation>
</file>
<file path="admin/view/template/sale/order_info.tpl">
<operation>
<search><![CDATA[<?php echo $firstname; ?> <?php echo $lastname; ?>]]></search>
<add position="replace"><![CDATA[<?php echo $firstname; ?> <?php echo $lastname; ?> <?php echo $middlename; ?>]]></add>
</operation>
</file>
</modification>