oct_deals_seourl.ocmod.xml
5.84 KB
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
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
<?xml version="1.0" encoding="utf-8"?>
<modification>
<code>oct_deals_seourl</code>
<name>Octemplates - SeoUrl Generator</name>
<version>1.0.0</version>
<author>Octemplates</author>
<link>https://octemplates.net/</link>
<file path="admin/model/catalog/information.php">
<operation error="skip">
<search><![CDATA[$this->db->query("INSERT INTO " . DB_PREFIX . "seo_url SET store_id = '" . (int)$store_id . "', language_id = '" . (int)$language_id . "', query = 'information_id=" . (int)$information_id . "', keyword = '" . $this->db->escape(]]></search>
<add position="after" offset="1"><![CDATA[
else {
if ($this->config->get('theme_oct_deals_seo_url_status')) {
$this->load->model('octemplates/widgets/oct_seogeneration');
$this->model_octemplates_widgets_oct_seogeneration->seoUrlGenerator('information', (int)$language_id, (int)$store_id, $data, (int)$information_id);
}
}
]]></add>
</operation>
<operation error="skip">
<search><![CDATA[$this->db->query("INSERT INTO `" . DB_PREFIX . "seo_url` SET store_id = '" . (int)$store_id . "', language_id = '" . (int)$language_id . "', query = 'information_id=" . (int)$information_id . "', keyword = '" . $this->db->escape(]]></search>
<add position="after" offset="1"><![CDATA[
else {
if ($this->config->get('theme_oct_deals_seo_url_status')) {
$this->load->model('octemplates/widgets/oct_seogeneration');
$this->model_octemplates_widgets_oct_seogeneration->seoUrlGenerator('information', (int)$language_id, (int)$store_id, $data, (int)$information_id);
}
}
]]></add>
</operation>
</file>
<file path="admin/model/catalog/manufacturer.php">
<operation error="skip">
<search><![CDATA[$this->db->query("INSERT INTO " . DB_PREFIX . "seo_url SET store_id = '" . (int)$store_id . "', language_id = '" . (int)$language_id . "', query = 'manufacturer_id=" . (int)$manufacturer_id . "', keyword = '" . $this->db->escape(]]></search>
<add position="after" offset="1"><![CDATA[
else {
if ($this->config->get('theme_oct_deals_seo_url_status')) {
$this->load->model('octemplates/widgets/oct_seogeneration');
$this->model_octemplates_widgets_oct_seogeneration->seoUrlGenerator('manufacturer', (int)$language_id, (int)$store_id, $data, (int)$manufacturer_id);
}
}
]]></add>
</operation>
<operation error="skip">
<search><![CDATA[$this->db->query("INSERT INTO `" . DB_PREFIX . "seo_url` SET store_id = '" . (int)$store_id . "', language_id = '" . (int)$language_id . "', query = 'manufacturer_id=" . (int)$manufacturer_id . "', keyword = '" . $this->db->escape(]]></search>
<add position="after" offset="1"><![CDATA[
else {
if ($this->config->get('theme_oct_deals_seo_url_status')) {
$this->load->model('octemplates/widgets/oct_seogeneration');
$this->model_octemplates_widgets_oct_seogeneration->seoUrlGenerator('manufacturer', (int)$language_id, (int)$store_id, $data, (int)$manufacturer_id);
}
}
]]></add>
</operation>
</file>
<file path="admin/model/catalog/category.php">
<operation error="skip">
<search><![CDATA[$this->db->query("INSERT INTO " . DB_PREFIX . "seo_url SET store_id = '" . (int)$store_id . "', language_id = '" . (int)$language_id . "', query = 'category_id=" . (int)$category_id . "', keyword = '" . $this->db->escape(]]></search>
<add position="after" offset="1"><![CDATA[
else {
if ($this->config->get('theme_oct_deals_seo_url_status')) {
$this->load->model('octemplates/widgets/oct_seogeneration');
$this->model_octemplates_widgets_oct_seogeneration->seoUrlGenerator('category', (int)$language_id, (int)$store_id, $data, (int)$category_id);
}
}
]]></add>
</operation>
</file>
<file path="admin/model/catalog/product.php">
<operation error="skip">
<search><![CDATA[$this->db->query("INSERT INTO " . DB_PREFIX . "seo_url SET store_id = '" . (int)$store_id . "', language_id = '" . (int)$language_id . "', query = 'product_id=" . (int)$product_id . "', keyword = '" . $this->db->escape(]]></search>
<add position="after" offset="1"><![CDATA[
else {
if ($this->config->get('theme_oct_deals_seo_url_status')) {
$this->load->model('octemplates/widgets/oct_seogeneration');
$this->model_octemplates_widgets_oct_seogeneration->seoUrlGenerator('product', (int)$language_id, (int)$store_id, $data, (int)$product_id);
}
}
]]></add>
</operation>
</file>
<file path="admin/model/octemplates/blog/oct_blogcategory.php">
<operation error="skip">
<search><![CDATA[$this->db->query("INSERT INTO " . DB_PREFIX . "seo_url SET store_id = '" . (int)$store_id . "', language_id = '" . (int)$language_id . "', query = 'blogcategory_id=" . (int)$blogcategory_id . "', keyword = '" . $this->db->escape($keyword) . "'");]]></search>
<add position="after" offset="1"><![CDATA[
else {
if ($this->config->get('theme_oct_deals_seo_url_status')) {
$this->load->model('octemplates/widgets/oct_seogeneration');
$this->model_octemplates_widgets_oct_seogeneration->seoUrlGenerator('blog_category', (int)$language_id, (int)$store_id, $data, (int)$blogcategory_id);
}
}
]]></add>
</operation>
</file>
<file path="admin/model/octemplates/blog/oct_blogarticle.php">
<operation error="skip">
<search><![CDATA[$this->db->query("INSERT INTO " . DB_PREFIX . "seo_url SET store_id = '" . (int)$store_id . "', language_id = '" . (int)$language_id . "', query = 'blogarticle_id=" . (int)$blogarticle_id . "', keyword = '" . $this->db->escape($keyword) . "'");]]></search>
<add position="after" offset="1"><![CDATA[
else {
if ($this->config->get('theme_oct_deals_seo_url_status')) {
$this->load->model('octemplates/widgets/oct_seogeneration');
$this->model_octemplates_widgets_oct_seogeneration->seoUrlGenerator('blog_article', (int)$language_id, (int)$store_id, $data, (int)$blogarticle_id);
}
}
]]></add>
</operation>
</file>
</modification>