Version Notes
DataFeedWatch Release version 0.2.2
Download this release
Release Info
Developer | DataFeedWatch |
Extension | DataFeedWatch_Connector |
Version | 0.2.3 |
Comparing to | |
See all releases |
Code changes from version 0.2.2 to 0.2.3
app/code/local/DataFeedWatch/Connector/Model/Datafeedwatch/Api.php
CHANGED
@@ -15,7 +15,7 @@
|
|
15 |
}
|
16 |
|
17 |
public function version() {
|
18 |
-
return "0.2.
|
19 |
}
|
20 |
|
21 |
public function product_count($options = array()) {
|
@@ -352,15 +352,15 @@
|
|
352 |
// categories
|
353 |
$category_id = $product->getCategoryIds();
|
354 |
if (empty($category_id)) {
|
355 |
-
$
|
356 |
-
$
|
357 |
-
$
|
358 |
} else {
|
359 |
rsort($category_id);
|
360 |
$category = $this->categories[$category_id[0]];
|
361 |
-
$
|
362 |
-
$
|
363 |
-
$
|
364 |
}
|
365 |
|
366 |
return $prices;
|
15 |
}
|
16 |
|
17 |
public function version() {
|
18 |
+
return "0.2.3"; // this needs to be updated in etc/config.xml as well
|
19 |
}
|
20 |
|
21 |
public function product_count($options = array()) {
|
352 |
// categories
|
353 |
$category_id = $product->getCategoryIds();
|
354 |
if (empty($category_id)) {
|
355 |
+
$prices['category_name'] = '';
|
356 |
+
$prices['category_parent_name'] = '';
|
357 |
+
$prices['category_path'] = '';
|
358 |
} else {
|
359 |
rsort($category_id);
|
360 |
$category = $this->categories[$category_id[0]];
|
361 |
+
$prices['category_name'] = $category['name'];
|
362 |
+
$prices['category_parent_name'] = $this->categories[$category['parent_id']]['name'];
|
363 |
+
$prices['category_path'] = implode(' > ', $this->_buildCategoryPath($category['category_id']));
|
364 |
}
|
365 |
|
366 |
return $prices;
|
app/code/local/DataFeedWatch/Connector/etc/config.xml
CHANGED
@@ -2,7 +2,7 @@
|
|
2 |
<config>
|
3 |
<modules>
|
4 |
<DataFeedWatch_Connector>
|
5 |
-
<version>0.2.
|
6 |
</DataFeedWatch_Connector>
|
7 |
</modules>
|
8 |
|
2 |
<config>
|
3 |
<modules>
|
4 |
<DataFeedWatch_Connector>
|
5 |
+
<version>0.2.3</version>
|
6 |
</DataFeedWatch_Connector>
|
7 |
</modules>
|
8 |
|
package.xml
CHANGED
@@ -1,7 +1,7 @@
|
|
1 |
<?xml version="1.0"?>
|
2 |
<package>
|
3 |
<name>DataFeedWatch_Connector</name>
|
4 |
-
<version>0.2.
|
5 |
<stability>stable</stability>
|
6 |
<license uri="http://opensource.org/licenses/osl-3.0.php">OSL v3.0</license>
|
7 |
<channel>community</channel>
|
@@ -11,9 +11,9 @@
|
|
11 |
feed for Google Shopping and other channels</description>
|
12 |
<notes>DataFeedWatch Release version 0.2.2</notes>
|
13 |
<authors><author><name>DataFeedWatch</name><user>Adeel</user><email>adeel.developer@gmail.com</email></author></authors>
|
14 |
-
<date>2013-11-
|
15 |
-
<time>
|
16 |
-
<contents><target name="magelocal"><dir name="DataFeedWatch"><dir name="Connector"><dir name="Block"><dir name="Adminhtml"><file name="Connectorbackend.php" hash="afe5bd4888768229d5b668f466b770b5"/></dir></dir><dir name="Helper"><file name="Data.php" hash="983d7ad023616b365dce180680e4f9f0"/></dir><dir name="Model"><dir name="Datafeedwatch"><file name="Api.php" hash="
|
17 |
<compatible/>
|
18 |
<dependencies><required><php><min>5.1.0</min><max>6.0.0</max></php></required></dependencies>
|
19 |
</package>
|
1 |
<?xml version="1.0"?>
|
2 |
<package>
|
3 |
<name>DataFeedWatch_Connector</name>
|
4 |
+
<version>0.2.3</version>
|
5 |
<stability>stable</stability>
|
6 |
<license uri="http://opensource.org/licenses/osl-3.0.php">OSL v3.0</license>
|
7 |
<channel>community</channel>
|
11 |
feed for Google Shopping and other channels</description>
|
12 |
<notes>DataFeedWatch Release version 0.2.2</notes>
|
13 |
<authors><author><name>DataFeedWatch</name><user>Adeel</user><email>adeel.developer@gmail.com</email></author></authors>
|
14 |
+
<date>2013-11-18</date>
|
15 |
+
<time>15:11:57</time>
|
16 |
+
<contents><target name="magelocal"><dir name="DataFeedWatch"><dir name="Connector"><dir name="Block"><dir name="Adminhtml"><file name="Connectorbackend.php" hash="afe5bd4888768229d5b668f466b770b5"/></dir></dir><dir name="Helper"><file name="Data.php" hash="983d7ad023616b365dce180680e4f9f0"/></dir><dir name="Model"><dir name="Datafeedwatch"><file name="Api.php" hash="55720782ced30f92702cb9bf798fb7a7"/></dir></dir><dir name="controllers"><dir name="Adminhtml"><file name="ConnectorbackendController.php" hash="dfa561302ef7eebe656b229fe275a2eb"/></dir><file name="TestController.php" hash="0eebed552b28b181ae167bb59b8f9a72"/></dir><dir name="etc"><file name="api.xml" hash="84e8b97ba0dc25154ff62126640de989"/><file name="config.xml" hash="b704d1d0cbaba82d5d61b4e6d43edb98"/><file name="system.xml" hash="ab5e8d56d032ba69c930ab7879484212"/></dir></dir></dir></target><target name="magedesign"><dir name="adminhtml"><dir name="default"><dir name="default"><dir name="layout"><file name="connector.xml" hash="14d59b8e9f66fba5d7c1f8d0f62dfc3c"/></dir><dir name="template"><dir name="connector"><file name="connectorbackend.phtml" hash="87fbcd16a96af52ce352bc45d9aeab4a"/></dir></dir></dir></dir></dir></target><target name="mageetc"><dir name="modules"><file name="DataFeedWatch_Connector.xml" hash="d4ef6cebcefd37d5f0546eca344941eb"/></dir></target></contents>
|
17 |
<compatible/>
|
18 |
<dependencies><required><php><min>5.1.0</min><max>6.0.0</max></php></required></dependencies>
|
19 |
</package>
|