Version Notes
Support searching the webshop's products from the woomio
Download this release
Release Info
Developer | Woomio |
Extension | Woo |
Version | 1.0.5 |
Comparing to | |
See all releases |
Code changes from version 1.0.4 to 1.0.5
- app/code/local/Woomio/Tracker/controllers/IndexController.php +9 -2
- app/code/local/Woomio/Tracker/etc/config.xml +1 -1
- app/code/local/Woomio/Tracker/sql/tracker_setup/mysql4-install-1.0.4.php +0 -0
- app/design/frontend/base/default/layout/tracker.xml +1 -1
- app/etc/modules/Woomio_Tracker.xml +1 -1
- package.xml +5 -5
app/code/local/Woomio/Tracker/controllers/IndexController.php
CHANGED
@@ -6,7 +6,8 @@ class Woomio_Tracker_IndexController extends Mage_Core_Controller_Front_Action{
|
|
6 |
$GetParams = Mage::app()->getRequest()->getParams();
|
7 |
$woomioTable = Mage::getSingleton("core/resource")->getTableName('woomio');
|
8 |
$response = array();
|
9 |
-
|
|
|
10 |
if($_SERVER['REMOTE_ADDR'] == $AllowedIP){
|
11 |
$response['status'] = "success";
|
12 |
$response['status_message'] = "IP allowed";
|
@@ -100,7 +101,13 @@ class Woomio_Tracker_IndexController extends Mage_Core_Controller_Front_Action{
|
|
100 |
}
|
101 |
|
102 |
foreach($Products as $Product){
|
103 |
-
$response['products'][]
|
|
|
|
|
|
|
|
|
|
|
|
|
104 |
}
|
105 |
|
106 |
}
|
6 |
$GetParams = Mage::app()->getRequest()->getParams();
|
7 |
$woomioTable = Mage::getSingleton("core/resource")->getTableName('woomio');
|
8 |
$response = array();
|
9 |
+
|
10 |
+
//if(true){
|
11 |
if($_SERVER['REMOTE_ADDR'] == $AllowedIP){
|
12 |
$response['status'] = "success";
|
13 |
$response['status_message'] = "IP allowed";
|
101 |
}
|
102 |
|
103 |
foreach($Products as $Product){
|
104 |
+
$response['products'][$Product->getId()] = $Product->getData();
|
105 |
+
|
106 |
+
// Categories
|
107 |
+
$Categories = $Product->getCategoryCollection()->addAttributeToSelect('name');
|
108 |
+
foreach ($Categories as $Category) {
|
109 |
+
$response['products'][$Product->getId()]["categories"] .= $Category -> getName() . "|";
|
110 |
+
}
|
111 |
}
|
112 |
|
113 |
}
|
app/code/local/Woomio/Tracker/etc/config.xml
CHANGED
@@ -2,7 +2,7 @@
|
|
2 |
<config>
|
3 |
<modules>
|
4 |
<Woomio_Tracker>
|
5 |
-
<version>1.0.
|
6 |
</Woomio_Tracker>
|
7 |
</modules>
|
8 |
<frontend>
|
2 |
<config>
|
3 |
<modules>
|
4 |
<Woomio_Tracker>
|
5 |
+
<version>1.0.5</version>
|
6 |
</Woomio_Tracker>
|
7 |
</modules>
|
8 |
<frontend>
|
app/code/local/Woomio/Tracker/sql/tracker_setup/mysql4-install-1.0.4.php
CHANGED
File without changes
|
app/design/frontend/base/default/layout/tracker.xml
CHANGED
@@ -1,5 +1,5 @@
|
|
1 |
<?xml version="1.0"?>
|
2 |
-
<layout version="1.0.
|
3 |
<default>
|
4 |
<reference name="head">
|
5 |
<block type="core/text" name="woomio.com">
|
1 |
<?xml version="1.0"?>
|
2 |
+
<layout version="1.0.5">
|
3 |
<default>
|
4 |
<reference name="head">
|
5 |
<block type="core/text" name="woomio.com">
|
app/etc/modules/Woomio_Tracker.xml
CHANGED
@@ -4,7 +4,7 @@
|
|
4 |
<Woomio_Tracker>
|
5 |
<active>true</active>
|
6 |
<codePool>local</codePool>
|
7 |
-
<version>1.0.
|
8 |
</Woomio_Tracker>
|
9 |
</modules>
|
10 |
</config>
|
4 |
<Woomio_Tracker>
|
5 |
<active>true</active>
|
6 |
<codePool>local</codePool>
|
7 |
+
<version>1.0.5</version>
|
8 |
</Woomio_Tracker>
|
9 |
</modules>
|
10 |
</config>
|
package.xml
CHANGED
@@ -1,7 +1,7 @@
|
|
1 |
<?xml version="1.0"?>
|
2 |
<package>
|
3 |
<name>Woo</name>
|
4 |
-
<version>1.0.
|
5 |
<stability>stable</stability>
|
6 |
<license>Open Software License (OSL)</license>
|
7 |
<channel>community</channel>
|
@@ -24,11 +24,11 @@ How does it work?
|
|
24 |
Compatibility
|
25 |

|
26 |
Woomio is fully compatible with all Magento versions and modules.</description>
|
27 |
-
<notes>
|
28 |
<authors><author><name>Woomio</name><user>Woomio</user><email>developer@woomio.com</email></author></authors>
|
29 |
-
<date>2015-
|
30 |
-
<time>
|
31 |
-
<contents><target name="magelocal"><dir name="Woomio"><dir name="Tracker"><dir name="Block"><file name="Index.php" hash="949b7c689724a7eeeba5168a9cf03507"/></dir><dir name="Helper"><file name="Data.php" hash="53a3a643e1eea3a72e02b5c64daa9edd"/></dir><dir name="Model"><file name="Observer.php" hash="855bd53491c9c6b37178d7565d7e2e1a"/></dir><dir name="controllers"><file name="IndexController.php" hash="
|
32 |
<compatible/>
|
33 |
<dependencies><required><php><min>5.1.0</min><max>6.0.0</max></php></required></dependencies>
|
34 |
</package>
|
1 |
<?xml version="1.0"?>
|
2 |
<package>
|
3 |
<name>Woo</name>
|
4 |
+
<version>1.0.5</version>
|
5 |
<stability>stable</stability>
|
6 |
<license>Open Software License (OSL)</license>
|
7 |
<channel>community</channel>
|
24 |
Compatibility
|
25 |

|
26 |
Woomio is fully compatible with all Magento versions and modules.</description>
|
27 |
+
<notes>Support searching the webshop's products from the woomio</notes>
|
28 |
<authors><author><name>Woomio</name><user>Woomio</user><email>developer@woomio.com</email></author></authors>
|
29 |
+
<date>2015-05-07</date>
|
30 |
+
<time>09:25:20</time>
|
31 |
+
<contents><target name="magelocal"><dir name="Woomio"><dir name="Tracker"><dir name="Block"><file name="Index.php" hash="949b7c689724a7eeeba5168a9cf03507"/></dir><dir name="Helper"><file name="Data.php" hash="53a3a643e1eea3a72e02b5c64daa9edd"/></dir><dir name="Model"><file name="Observer.php" hash="855bd53491c9c6b37178d7565d7e2e1a"/></dir><dir name="controllers"><file name="IndexController.php" hash="23096ef9a4af36032fe9098f87b057db"/></dir><dir name="etc"><file name="config.xml" hash="75e059ba599bdeb54289319b2029d416"/></dir><dir name="sql"><dir name="tracker_setup"><file name="mysql4-install-1.0.4.php" hash="0b3c6642e1a4d20563455e24514dbc93"/></dir></dir></dir></dir></target><target name="magedesign"><dir name="frontend"><dir name="base"><dir name="default"><dir name="layout"><file name="tracker.xml" hash="7ac1a21863c83d080154e348fc26944f"/></dir></dir></dir></dir></target><target name="mageetc"><dir name="modules"><file name="Woomio_Tracker.xml" hash="506acd420189f90f0c8ba8b2581b86be"/></dir></target></contents>
|
32 |
<compatible/>
|
33 |
<dependencies><required><php><min>5.1.0</min><max>6.0.0</max></php></required></dependencies>
|
34 |
</package>
|