Version Notes
Stable release. Compatible with older versions. Feed creation has been optimized to handle larger loads. The option to choose the store is now available. Can retrieve associated products for grouped types.Bug fixes.Has support for PHP V5.2
Download this release
Release Info
Developer | Intelligent Reach |
Extension | Intelligent_Reach |
Version | 1.0.17 |
Comparing to | |
See all releases |
Code changes from version 1.0.16 to 1.0.17
- app/code/local/IntelligentReach/AmazonPayment/etc/config.xml +1 -1
- app/code/local/IntelligentReach/AmazonPayment/etc/system.xml +1 -1
- app/code/local/IntelligentReach/EbayPayment/etc/config.xml +1 -1
- app/code/local/IntelligentReach/EbayPayment/etc/system.xml +1 -1
- intelligentreach_integration.php +20 -2
- package.xml +6 -6
app/code/local/IntelligentReach/AmazonPayment/etc/config.xml
CHANGED
@@ -50,7 +50,7 @@
|
|
50 |
<active>1</active>
|
51 |
<model>amazonpayment/pay</model>
|
52 |
<order_status>pending</order_status>
|
53 |
-
<title>
|
54 |
</amazonpayment>
|
55 |
</payment>
|
56 |
</default>
|
50 |
<active>1</active>
|
51 |
<model>amazonpayment/pay</model>
|
52 |
<order_status>pending</order_status>
|
53 |
+
<title>Amazon Payment</title>
|
54 |
</amazonpayment>
|
55 |
</payment>
|
56 |
</default>
|
app/code/local/IntelligentReach/AmazonPayment/etc/system.xml
CHANGED
@@ -4,7 +4,7 @@
|
|
4 |
<payment>
|
5 |
<groups>
|
6 |
<amazonpayment translate="label" module="amazonpayment">
|
7 |
-
<label>
|
8 |
<sort_order>670</sort_order>
|
9 |
<show_in_default>1</show_in_default>
|
10 |
<show_in_website>1</show_in_website>
|
4 |
<payment>
|
5 |
<groups>
|
6 |
<amazonpayment translate="label" module="amazonpayment">
|
7 |
+
<label>Amazon Payment</label>
|
8 |
<sort_order>670</sort_order>
|
9 |
<show_in_default>1</show_in_default>
|
10 |
<show_in_website>1</show_in_website>
|
app/code/local/IntelligentReach/EbayPayment/etc/config.xml
CHANGED
@@ -68,7 +68,7 @@
|
|
68 |
<!-- order status for new orders paid by this ebaypayment method -->
|
69 |
<order_status>pending</order_status>
|
70 |
<!-- default title for ebaypayment checkout page and order view page -->
|
71 |
-
<title>
|
72 |
</ebaypayment>
|
73 |
</payment>
|
74 |
</default>
|
68 |
<!-- order status for new orders paid by this ebaypayment method -->
|
69 |
<order_status>pending</order_status>
|
70 |
<!-- default title for ebaypayment checkout page and order view page -->
|
71 |
+
<title>eBay Payment</title>
|
72 |
</ebaypayment>
|
73 |
</payment>
|
74 |
</default>
|
app/code/local/IntelligentReach/EbayPayment/etc/system.xml
CHANGED
@@ -7,7 +7,7 @@
|
|
7 |
<!-- ebaypayment fieldset -->
|
8 |
<ebaypayment translate="label" module="ebaypayment">
|
9 |
<!-- will have title 'New Module' -->
|
10 |
-
<label>
|
11 |
<!-- position between other marketplacepaymentment methods -->
|
12 |
<sort_order>670</sort_order>
|
13 |
<!-- do not show this configuration options in store scope -->
|
7 |
<!-- ebaypayment fieldset -->
|
8 |
<ebaypayment translate="label" module="ebaypayment">
|
9 |
<!-- will have title 'New Module' -->
|
10 |
+
<label>eBay Payment</label>
|
11 |
<!-- position between other marketplacepaymentment methods -->
|
12 |
<sort_order>670</sort_order>
|
13 |
<!-- do not show this configuration options in store scope -->
|
intelligentreach_integration.php
CHANGED
@@ -98,6 +98,14 @@ function printProducts($products)
|
|
98 |
{
|
99 |
echo'<product>';
|
100 |
//echo '<memory>'.memory_get_usage().'</memory>';
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
101 |
foreach ($product->getdata() as $key=>$value)
|
102 |
{
|
103 |
|
@@ -126,6 +134,15 @@ function printProducts($products)
|
|
126 |
{
|
127 |
$value = $baseUrl."media/catalog/product".$value;
|
128 |
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
129 |
|
130 |
$value = "<![CDATA[$value]]>";
|
131 |
|
@@ -185,9 +202,10 @@ function printProducts($products)
|
|
185 |
//if the stack isn't empty recursively print the products out
|
186 |
if(!empty($stack))
|
187 |
{
|
188 |
-
|
|
|
189 |
{
|
190 |
-
$associatedProductsPop = array_pop($
|
191 |
printProducts($associatedProductsPop);
|
192 |
}
|
193 |
}
|
98 |
{
|
99 |
echo'<product>';
|
100 |
//echo '<memory>'.memory_get_usage().'</memory>';
|
101 |
+
if($product->getTypeId() == 'simple'){
|
102 |
+
$parentIds = Mage::getModel('catalog/product_type_grouped')->getParentIdsByChild($product->getId());
|
103 |
+
if(!$parentIds)
|
104 |
+
$parentIds = Mage::getModel('catalog/product_type_configurable')->getParentIdsByChild($product->getId());
|
105 |
+
if(isset($parentIds[0])){
|
106 |
+
$parentProduct = Mage::getModel('catalog/product')->load($parentIds[0]);
|
107 |
+
}
|
108 |
+
}
|
109 |
foreach ($product->getdata() as $key=>$value)
|
110 |
{
|
111 |
|
134 |
{
|
135 |
$value = $baseUrl."media/catalog/product".$value;
|
136 |
}
|
137 |
+
|
138 |
+
if(($value == '') && (isset($parentProduct)))
|
139 |
+
{
|
140 |
+
$attr = $parentProduct->getResource()->getAttribute($key);
|
141 |
+
if(!is_object($attr)){
|
142 |
+
continue;
|
143 |
+
}
|
144 |
+
$value = $attr->getFrontend()->getValue($parentProduct);
|
145 |
+
}
|
146 |
|
147 |
$value = "<![CDATA[$value]]>";
|
148 |
|
202 |
//if the stack isn't empty recursively print the products out
|
203 |
if(!empty($stack))
|
204 |
{
|
205 |
+
$uniqueStack = array_unique($stack);
|
206 |
+
for($i=0; $i<=count($uniqueStack);$i++)
|
207 |
{
|
208 |
+
$associatedProductsPop = array_pop($uniqueStack);
|
209 |
printProducts($associatedProductsPop);
|
210 |
}
|
211 |
}
|
package.xml
CHANGED
@@ -1,7 +1,7 @@
|
|
1 |
<?xml version="1.0"?>
|
2 |
<package>
|
3 |
<name>Intelligent_Reach</name>
|
4 |
-
<version>1.0.
|
5 |
<stability>stable</stability>
|
6 |
<license uri="http://opensource.org/licenses/OSL-3.0">OSL</license>
|
7 |
<channel>community</channel>
|
@@ -16,10 +16,10 @@ Via tools such as the Network Affiliate Centre, we provide affiliates with innov
|
|
16 |
Intelligent reach also offers advanced insight and trading services; whilst ensuring our customers are agile enough to adapt to new opportunities or challenges from the ever changing and increasingly sophisticated consumer. 
|
17 |
Contact us to arrange a free E-commerce therapy session. Get advice about e-privacy compliance, tag management, analytics or BI implementations and Data quality as well as any key pain points or challenges which are hampering your growth.</description>
|
18 |
<notes>Stable release. Compatible with older versions. Feed creation has been optimized to handle larger loads. The option to choose the store is now available. Can retrieve associated products for grouped types.Bug fixes.Has support for PHP V5.2</notes>
|
19 |
-
<authors><author><name>Intelligent Reach</name><user>
|
20 |
-
<date>2014-
|
21 |
-
<time>
|
22 |
-
<contents><target name="mage"><dir name="app"><dir name="etc"><dir name="modules"><file name="IntelligentReach_Integration.xml" hash="6cdd19a11572e7073dbb3d746b6b57b6"/><file name="IntelligentReach_AmazonPayment.xml" hash="10faf651f19ea2298217be1a95707b7c"/><file name="IntelligentReach_EbayPayment.xml" hash="eb9acbd1b55da29e10b09981f0b7af8f"/></dir></dir><dir name="code"><dir name="local"><dir name="IntelligentReach"><dir name="Integration"><dir name="etc"><file name="config.xml" hash="a9244662abbf57f766826a21fce30d8e"/></dir></dir><dir name="AmazonPayment"><dir name="etc"><file name="config.xml" hash="
|
23 |
<compatible/>
|
24 |
-
<dependencies
|
25 |
</package>
|
1 |
<?xml version="1.0"?>
|
2 |
<package>
|
3 |
<name>Intelligent_Reach</name>
|
4 |
+
<version>1.0.17</version>
|
5 |
<stability>stable</stability>
|
6 |
<license uri="http://opensource.org/licenses/OSL-3.0">OSL</license>
|
7 |
<channel>community</channel>
|
16 |
Intelligent reach also offers advanced insight and trading services; whilst ensuring our customers are agile enough to adapt to new opportunities or challenges from the ever changing and increasingly sophisticated consumer. 
|
17 |
Contact us to arrange a free E-commerce therapy session. Get advice about e-privacy compliance, tag management, analytics or BI implementations and Data quality as well as any key pain points or challenges which are hampering your growth.</description>
|
18 |
<notes>Stable release. Compatible with older versions. Feed creation has been optimized to handle larger loads. The option to choose the store is now available. Can retrieve associated products for grouped types.Bug fixes.Has support for PHP V5.2</notes>
|
19 |
+
<authors><author><name>Intelligent Reach</name><user>IR</user><email>development@intelligentreach.com</email></author></authors>
|
20 |
+
<date>2014-10-13</date>
|
21 |
+
<time>12:03:41</time>
|
22 |
+
<contents><target name="mage"><dir name="."><file name="intelligentreach_integration.php" hash="377487fd50712e239287e8136741075a"/></dir><dir><dir name="app"><dir name="etc"><dir name="modules"><file name="IntelligentReach_Integration.xml" hash="6cdd19a11572e7073dbb3d746b6b57b6"/><file name="IntelligentReach_AmazonPayment.xml" hash="10faf651f19ea2298217be1a95707b7c"/><file name="IntelligentReach_EbayPayment.xml" hash="eb9acbd1b55da29e10b09981f0b7af8f"/></dir></dir><dir name="code"><dir name="local"><dir name="IntelligentReach"><dir name="Integration"><dir name="etc"><file name="config.xml" hash="a9244662abbf57f766826a21fce30d8e"/></dir></dir><dir name="AmazonPayment"><dir name="etc"><file name="config.xml" hash="9b3b3b1b3a5331a576f3f1f137465618"/><file name="system.xml" hash="7b236978b8022dc4deda628640ea8689"/></dir><dir name="Helper"><file name="Data.php" hash="2e4ef89b210d0f992cd25b8ef5f4b96e"/></dir><dir name="Model"><file name="Pay.php" hash="cb9c59584f6bd3290620cd11ba44018a"/></dir></dir><dir name="EbayPayment"><dir name="etc"><file name="config.xml" hash="47311b20d05ffdd1f2768000d6d7ad6d"/><file name="system.xml" hash="7246fbf64d238328f74bd6445cc05b29"/></dir><dir name="Helper"><file name="Data.php" hash="0e112e22a4786f3624216628dee796a0"/></dir><dir name="Model"><file name="Pay.php" hash="35d0697bcd84250cc4e39ca108a8ecad"/></dir></dir></dir></dir></dir><dir name="design"><dir name="frontend"><dir name="base"><dir name="default"><dir name="layout"><file name="intelligentreach_integration.xml" hash="c45eb729e1e4b5025b25c20ac2723eeb"/></dir><dir name="template"><dir name="intelligentreach_integration"><file name="intelligentreach_integration.phtml" hash="cfcf6e1c2de50fa66258a820fb296775"/><dir name="product"><file name="intelligentreach_integration.phtml" hash="0d1f3ce4a57d977d8955176b01e2f87d"/></dir><dir name="basket"><file name="intelligentreach_integration.phtml" hash="983743acab4cd1c2819ea4fb6eebe0b5"/></dir><dir name="checkout"><dir name="onepage"><file name="intelligentreach_integration.phtml" hash="dfcfe625fadaf06fb3b069cb9257b4cc"/></dir><dir name="multishipping"><file name="intelligentreach_integration.phtml" hash="818d2226ed607d78b709d72cb6c05538"/></dir></dir></dir></dir></dir></dir><dir name="enterprise"><dir name="default"><dir name="layout"><file name="intelligentreach_integration.xml" hash="c45eb729e1e4b5025b25c20ac2723eeb"/></dir><dir name="template"><dir name="intelligentreach_integration"><file name="intelligentreach_integration.phtml" hash="cfcf6e1c2de50fa66258a820fb296775"/><dir name="product"><file name="intelligentreach_integration.phtml" hash="0d1f3ce4a57d977d8955176b01e2f87d"/></dir><dir name="basket"><file name="intelligentreach_integration.phtml" hash="983743acab4cd1c2819ea4fb6eebe0b5"/></dir><dir name="checkout"><dir name="onepage"><file name="intelligentreach_integration.phtml" hash="dfcfe625fadaf06fb3b069cb9257b4cc"/></dir><dir name="multishipping"><file name="intelligentreach_integration.phtml" hash="818d2226ed607d78b709d72cb6c05538"/></dir></dir></dir></dir></dir></dir><dir name="default"><dir name="default"><dir name="layout"><file name="intelligentreach_integration.xml" hash="c45eb729e1e4b5025b25c20ac2723eeb"/></dir><dir name="template"><dir name="intelligentreach_integration"><file name="intelligentreach_integration.phtml" hash="cfcf6e1c2de50fa66258a820fb296775"/><dir name="product"><file name="intelligentreach_integration.phtml" hash="0d1f3ce4a57d977d8955176b01e2f87d"/></dir><dir name="basket"><file name="intelligentreach_integration.phtml" hash="983743acab4cd1c2819ea4fb6eebe0b5"/></dir><dir name="checkout"><dir name="onepage"><file name="intelligentreach_integration.phtml" hash="dfcfe625fadaf06fb3b069cb9257b4cc"/></dir><dir name="multishipping"><file name="intelligentreach_integration.phtml" hash="818d2226ed607d78b709d72cb6c05538"/></dir></dir></dir></dir></dir></dir></dir></dir></dir></dir></target></contents>
|
23 |
<compatible/>
|
24 |
+
<dependencies><required><php><min>5.2.0</min><max>6.0.0</max></php></required></dependencies>
|
25 |
</package>
|