Version Notes
-- version 0.0.9
Category IDS names instead of integers when sending inventory items
-- version 0.0.8
Allowing to send ALL products and customers on each save
-- version 0.0.7
Bug fix on auto submit products and users on Magento 1.6.2.0
-- version 0.0.6
Correcting but on orders export (timestamp)
-- version 0.0.5
Automatic Customer and Product submission
-- version 0.0.4
Bug fixes, new data on product import, debug facility
-- version 0.0.1
First release
Download this release
Release Info
| Developer | Magento Core Team |
| Extension | SimpleRelevance_Integration |
| Version | 0.0.9 |
| Comparing to | |
| See all releases | |
Code changes from version 0.0.8 to 0.0.9
app/code/community/SimpleRelevance/Integration/Helper/Data.php
CHANGED
|
@@ -71,11 +71,25 @@ class SimpleRelevance_Integration_Helper_Data extends Mage_Core_Helper_Abstract
|
|
| 71 |
}
|
| 72 |
}
|
| 73 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 74 |
$dict = array(
|
| 75 |
'item_url' => $product->getUrlPath(),
|
| 76 |
'price' => $product->getPrice(),
|
| 77 |
'sku' => $product->getSku(),
|
| 78 |
-
'category_ids' => $
|
| 79 |
'image_url_small' => (string)$smallImageUrl,
|
| 80 |
'image_url' => (string)$baseImageUrl,
|
| 81 |
'description' => $product->getDescription(),
|
| 71 |
}
|
| 72 |
}
|
| 73 |
|
| 74 |
+
//Category names
|
| 75 |
+
$categoryIds = $product->getCategoryIds();
|
| 76 |
+
$categories = array();
|
| 77 |
+
if(is_array($categoryIds) && !empty($categoryIds)){
|
| 78 |
+
foreach($categoryIds as $_catId){
|
| 79 |
+
|
| 80 |
+
$cat = Mage::getModel('catalog/category')->load($_catId);
|
| 81 |
+
if($cat->getId()){
|
| 82 |
+
$categories []= $cat->getName();
|
| 83 |
+
}
|
| 84 |
+
|
| 85 |
+
}
|
| 86 |
+
}
|
| 87 |
+
|
| 88 |
$dict = array(
|
| 89 |
'item_url' => $product->getUrlPath(),
|
| 90 |
'price' => $product->getPrice(),
|
| 91 |
'sku' => $product->getSku(),
|
| 92 |
+
'category_ids' => $categories,
|
| 93 |
'image_url_small' => (string)$smallImageUrl,
|
| 94 |
'image_url' => (string)$baseImageUrl,
|
| 95 |
'description' => $product->getDescription(),
|
app/code/community/SimpleRelevance/Integration/etc/config.xml
CHANGED
|
@@ -2,7 +2,7 @@
|
|
| 2 |
<config>
|
| 3 |
<modules>
|
| 4 |
<SimpleRelevance_Integration>
|
| 5 |
-
<version>0.0.
|
| 6 |
</SimpleRelevance_Integration>
|
| 7 |
</modules>
|
| 8 |
<global>
|
| 2 |
<config>
|
| 3 |
<modules>
|
| 4 |
<SimpleRelevance_Integration>
|
| 5 |
+
<version>0.0.9</version>
|
| 6 |
</SimpleRelevance_Integration>
|
| 7 |
</modules>
|
| 8 |
<global>
|
package.xml
CHANGED
|
@@ -1,14 +1,17 @@
|
|
| 1 |
<?xml version="1.0"?>
|
| 2 |
<package>
|
| 3 |
<name>SimpleRelevance_Integration</name>
|
| 4 |
-
<version>0.0.
|
| 5 |
<stability>stable</stability>
|
| 6 |
<license uri="http://www.opensource.org/licenses/osl-3.0.php">OSL v3.0</license>
|
| 7 |
<channel>community</channel>
|
| 8 |
<extends/>
|
| 9 |
<summary>SimpleRelevance integration module</summary>
|
| 10 |
<description>Featuring customers, products and orders.</description>
|
| 11 |
-
<notes>-- version 0.0.
|
|
|
|
|
|
|
|
|
|
| 12 |
Allowing to send ALL products and customers on each save
|
| 13 |
|
| 14 |
-- version 0.0.7
|
|
@@ -26,9 +29,9 @@
|
|
| 26 |
-- version 0.0.1
|
| 27 |
First release</notes>
|
| 28 |
<authors><author><name>SimpleRelevance DEV team</name><user>auto-converted</user><email>info@simplerelevance.com</email></author></authors>
|
| 29 |
-
<date>2012-04-
|
| 30 |
-
<time>
|
| 31 |
-
<contents><target name="magedesign"><dir name="adminhtml"><dir name="default"><dir name="default"><dir name="layout"><file name="simple_relevance.xml" hash="f0d73f30b7aeff70f63b295327ac906c"/></dir></dir></dir></dir></target><target name="mageskin"><dir name="adminhtml"><dir name="default"><dir name="default"><dir name="simple_relevance"><dir name="images"><file name="box-tab.png" hash="208977131fcbe078f10af53295ac686c"/><file name="simplerelevance-header.png" hash="c25099645618a32b8fdb8d4d7786cf2c"/></dir><file name="css.css" hash="c354dd9c0e48bdb99089b1756058efc1"/><file name="js.js" hash="5831e6e503ebd86f93e07230b56a6d2f"/></dir></dir></dir></dir></target><target name="magelocale"><dir name="en_US"><file name="SimpleRelevance_Integration.csv" hash="05e3ba1c882990c307dbe510bc0bea36"/></dir></target><target name="mageetc"><dir name="modules"><file name="SimpleRelevance_Integration.xml" hash="6ad0b704a9e62de159f09babfe2482d5"/></dir></target><target name="magecommunity"><dir name="SimpleRelevance"><dir name="Integration"><dir name="controllers"><dir name="Adminhtml"><file name="ExportController.php" hash="840104daa154dab436ab043f8ea217af"/></dir></dir><dir name="etc"><file name="adminhtml.xml" hash="18e9829f6252920f6bf01a5340377b3a"/><file name="config.xml" hash="
|
| 32 |
<compatible/>
|
| 33 |
<dependencies/>
|
| 34 |
</package>
|
| 1 |
<?xml version="1.0"?>
|
| 2 |
<package>
|
| 3 |
<name>SimpleRelevance_Integration</name>
|
| 4 |
+
<version>0.0.9</version>
|
| 5 |
<stability>stable</stability>
|
| 6 |
<license uri="http://www.opensource.org/licenses/osl-3.0.php">OSL v3.0</license>
|
| 7 |
<channel>community</channel>
|
| 8 |
<extends/>
|
| 9 |
<summary>SimpleRelevance integration module</summary>
|
| 10 |
<description>Featuring customers, products and orders.</description>
|
| 11 |
+
<notes>-- version 0.0.9
|
| 12 |
+
Category IDS names instead of integers when sending inventory items
|
| 13 |
+
|
| 14 |
+
-- version 0.0.8
|
| 15 |
Allowing to send ALL products and customers on each save
|
| 16 |
|
| 17 |
-- version 0.0.7
|
| 29 |
-- version 0.0.1
|
| 30 |
First release</notes>
|
| 31 |
<authors><author><name>SimpleRelevance DEV team</name><user>auto-converted</user><email>info@simplerelevance.com</email></author></authors>
|
| 32 |
+
<date>2012-04-19</date>
|
| 33 |
+
<time>12:30:28</time>
|
| 34 |
+
<contents><target name="magedesign"><dir name="adminhtml"><dir name="default"><dir name="default"><dir name="layout"><file name="simple_relevance.xml" hash="f0d73f30b7aeff70f63b295327ac906c"/></dir></dir></dir></dir></target><target name="mageskin"><dir name="adminhtml"><dir name="default"><dir name="default"><dir name="simple_relevance"><dir name="images"><file name="box-tab.png" hash="208977131fcbe078f10af53295ac686c"/><file name="simplerelevance-header.png" hash="c25099645618a32b8fdb8d4d7786cf2c"/></dir><file name="css.css" hash="c354dd9c0e48bdb99089b1756058efc1"/><file name="js.js" hash="5831e6e503ebd86f93e07230b56a6d2f"/></dir></dir></dir></dir></target><target name="magelocale"><dir name="en_US"><file name="SimpleRelevance_Integration.csv" hash="05e3ba1c882990c307dbe510bc0bea36"/></dir></target><target name="mageetc"><dir name="modules"><file name="SimpleRelevance_Integration.xml" hash="6ad0b704a9e62de159f09babfe2482d5"/></dir></target><target name="magecommunity"><dir name="SimpleRelevance"><dir name="Integration"><dir name="controllers"><dir name="Adminhtml"><file name="ExportController.php" hash="840104daa154dab436ab043f8ea217af"/></dir></dir><dir name="etc"><file name="adminhtml.xml" hash="18e9829f6252920f6bf01a5340377b3a"/><file name="config.xml" hash="26ce31739c9bc48e7f2a06788fca611b"/><file name="system.xml" hash="638f6aac1d2d19b8b9d9ca4fed0065f5"/></dir><dir name="Helper"><file name="Data.php" hash="9cf968062fad557a08957481018d46ce"/></dir><dir name="Model"><file name="Api.php" hash="3598b602c1adf8f425a57836a743e44f"/><file name="Observer.php" hash="8a247ca67158af2d63c737bdabac53b4"/><file name="Purchase.php" hash="dae8d7e715381a9ec160123f27800b15"/></dir></dir></dir></target></contents>
|
| 35 |
<compatible/>
|
| 36 |
<dependencies/>
|
| 37 |
</package>
|
