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. Quantity script has now been added. Flat Catalog support has been added,
Download this release
Release Info
Developer | Magento Core Team |
Extension | Intelligent_Reach |
Version | 1.0.26 |
Comparing to | |
See all releases |
Code changes from version 1.0.25 to 1.0.26
app/code/local/IntelligentReach/AmazonPayment/etc/config.xml
CHANGED
@@ -2,7 +2,7 @@
|
|
2 |
<config>
|
3 |
<modules>
|
4 |
<IntelligentReach_AmazonPayment>
|
5 |
-
<version>
|
6 |
</IntelligentReach_AmazonPayment>
|
7 |
</modules>
|
8 |
<global>
|
2 |
<config>
|
3 |
<modules>
|
4 |
<IntelligentReach_AmazonPayment>
|
5 |
+
<version>1.0.26</version>
|
6 |
</IntelligentReach_AmazonPayment>
|
7 |
</modules>
|
8 |
<global>
|
app/code/local/IntelligentReach/EbayPayment/etc/config.xml
CHANGED
@@ -2,12 +2,10 @@
|
|
2 |
<config>
|
3 |
<modules>
|
4 |
<IntelligentReach_EbayPayment>
|
5 |
-
|
6 |
-
<version>0.1.0</version>
|
7 |
</IntelligentReach_EbayPayment>
|
8 |
</modules>
|
9 |
<global>
|
10 |
-
<!-- IMPORTANT: if you use your own namespace (i.e. CompanyName) you also have to declare blocks group for new module. See topic: http://www.magentocommerce.com/boards/viewthread/22416/#t102732 -->
|
11 |
<blocks>
|
12 |
<ebaypayment>
|
13 |
<class>IntelligentReach_EbayPayment_Block</class>
|
@@ -18,27 +16,18 @@
|
|
18 |
<class>IntelligentReach_EbayPayment_Helper</class>
|
19 |
</ebaypayment>
|
20 |
</helpers>
|
21 |
-
<!-- declare model group for new module -->
|
22 |
<models>
|
23 |
-
<!-- model group alias to be used in Mage::getModel('ebaypayment/...') -->
|
24 |
<ebaypayment>
|
25 |
-
<!-- base class name for the model group -->
|
26 |
<class>IntelligentReach_EbayPayment_Model</class>
|
27 |
</ebaypayment>
|
28 |
</models>
|
29 |
|
30 |
-
<!-- declare resource setup for new module -->
|
31 |
<resources>
|
32 |
-
<!-- resource identifier -->
|
33 |
<ebaypayment_setup>
|
34 |
-
<!-- specify that this resource is a setup resource and used for upgrades -->
|
35 |
<setup>
|
36 |
-
<!-- which module to look for install/upgrade files in -->
|
37 |
<module>IntelligentReach_EbayPayment</module>
|
38 |
</setup>
|
39 |
-
<!-- specify database connection for this resource -->
|
40 |
<connection>
|
41 |
-
<!-- do not create new connection, use predefined core setup connection -->
|
42 |
<use>core_setup</use>
|
43 |
</connection>
|
44 |
</ebaypayment_setup>
|
@@ -55,19 +44,12 @@
|
|
55 |
</resources>
|
56 |
</global>
|
57 |
|
58 |
-
<!-- declare default configuration values for this module -->
|
59 |
<default>
|
60 |
-
<!-- 'ebaypayment' configuration section (tab) -->
|
61 |
<payment>
|
62 |
-
<!-- 'marketplacepayment' configuration group (fieldset) -->
|
63 |
<ebaypayment>
|
64 |
-
<!-- by default this ebaypayment method is inactive -->
|
65 |
<active>1</active>
|
66 |
-
<!-- model to handle logic for this ebaypayment method -->
|
67 |
<model>ebaypayment/pay</model>
|
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>
|
2 |
<config>
|
3 |
<modules>
|
4 |
<IntelligentReach_EbayPayment>
|
5 |
+
<version>1.0.26</version>
|
|
|
6 |
</IntelligentReach_EbayPayment>
|
7 |
</modules>
|
8 |
<global>
|
|
|
9 |
<blocks>
|
10 |
<ebaypayment>
|
11 |
<class>IntelligentReach_EbayPayment_Block</class>
|
16 |
<class>IntelligentReach_EbayPayment_Helper</class>
|
17 |
</ebaypayment>
|
18 |
</helpers>
|
|
|
19 |
<models>
|
|
|
20 |
<ebaypayment>
|
|
|
21 |
<class>IntelligentReach_EbayPayment_Model</class>
|
22 |
</ebaypayment>
|
23 |
</models>
|
24 |
|
|
|
25 |
<resources>
|
|
|
26 |
<ebaypayment_setup>
|
|
|
27 |
<setup>
|
|
|
28 |
<module>IntelligentReach_EbayPayment</module>
|
29 |
</setup>
|
|
|
30 |
<connection>
|
|
|
31 |
<use>core_setup</use>
|
32 |
</connection>
|
33 |
</ebaypayment_setup>
|
44 |
</resources>
|
45 |
</global>
|
46 |
|
|
|
47 |
<default>
|
|
|
48 |
<payment>
|
|
|
49 |
<ebaypayment>
|
|
|
50 |
<active>1</active>
|
|
|
51 |
<model>ebaypayment/pay</model>
|
|
|
52 |
<order_status>pending</order_status>
|
|
|
53 |
<title>eBay Payment</title>
|
54 |
</ebaypayment>
|
55 |
</payment>
|
app/code/local/IntelligentReach/Integration/etc/config.xml
CHANGED
@@ -2,7 +2,7 @@
|
|
2 |
<config>
|
3 |
<modules>
|
4 |
<IntelligentReach_Integration>
|
5 |
-
<version>
|
6 |
</IntelligentReach_Integration>
|
7 |
</modules>
|
8 |
<frontend>
|
2 |
<config>
|
3 |
<modules>
|
4 |
<IntelligentReach_Integration>
|
5 |
+
<version>1.0.26</version>
|
6 |
</IntelligentReach_Integration>
|
7 |
</modules>
|
8 |
<frontend>
|
intelligentreach_integration.php
CHANGED
@@ -1,6 +1,6 @@
|
|
1 |
<?php
|
2 |
|
3 |
-
/** Version 1.0.
|
4 |
ini_set('display_errors', 1);
|
5 |
ini_set('max_execution_time', 1800);
|
6 |
include_once 'app/Mage.php';
|
@@ -15,7 +15,7 @@ class IntelligentReach
|
|
15 |
{
|
16 |
private $_splitby = 100;
|
17 |
private $_lastPageNumber = 0;
|
18 |
-
private $_versionDisplay = "Version 1.0.
|
19 |
|
20 |
public function run()
|
21 |
{
|
@@ -172,12 +172,7 @@ class IntelligentReach
|
|
172 |
$value = $product->getResource()->getAttribute($key)->getFrontend()->getValue($product);
|
173 |
|
174 |
if (($key == 'url_path') || ($key == 'url_key'))
|
175 |
-
$value = trim(str_replace('/intelligentreach_integration.php', '', $product->getProductUrl()));
|
176 |
-
|
177 |
-
// This will pull the parents URL if the child variant is not visible individually.
|
178 |
-
// So we can use the Parent URL if the child URL returns a 404.
|
179 |
-
if(($key == 'visibility') && ($product->getVisibility() == Mage_Catalog_Model_Product_Visibility::VISIBILITY_NOT_VISIBLE) && (isset($parentProduct)))
|
180 |
-
echo '<parent_url>' . trim(str_replace('/intelligentreach_integration.php', '', $parentProduct->getProductUrl())) . '</parent_url>';
|
181 |
|
182 |
if ($key == 'image')
|
183 |
$value = $baseUrl . "media/catalog/product" . $value;
|
@@ -211,30 +206,42 @@ class IntelligentReach
|
|
211 |
}
|
212 |
|
213 |
$categories = $product->getCategoryIds();
|
|
|
|
|
|
|
|
|
214 |
$output = "";
|
215 |
-
$firstCategoryPath = true;
|
216 |
-
|
217 |
-
foreach ($categories as $k => $_category_id)
|
218 |
-
{
|
219 |
-
if ($firstCategoryPath)
|
220 |
-
{
|
221 |
-
$_category = Mage::getModel('catalog/category')->setStoreId($_GET["storeid"])->load($_category_id);
|
222 |
-
$cat_parentCategories = array_reverse($_category->getParentCategories(), true);
|
223 |
-
$output = '<category_path><![CDATA[';
|
224 |
|
225 |
-
|
226 |
-
|
227 |
-
|
228 |
-
|
229 |
-
|
230 |
-
$output .= $parent->getName() . ' > ';
|
231 |
-
}
|
232 |
-
|
233 |
-
$output .= ']]></category_path>';
|
234 |
-
$firstCategoryPath = false;
|
235 |
-
echo $output;
|
236 |
-
}
|
237 |
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
238 |
echo '</product>';
|
239 |
if (is_object($parentIds))
|
240 |
$parentIds->clearInstance();
|
1 |
<?php
|
2 |
|
3 |
+
/** Version 1.0.26 Last updated by Kire on 15/07/2015 **/
|
4 |
ini_set('display_errors', 1);
|
5 |
ini_set('max_execution_time', 1800);
|
6 |
include_once 'app/Mage.php';
|
15 |
{
|
16 |
private $_splitby = 100;
|
17 |
private $_lastPageNumber = 0;
|
18 |
+
private $_versionDisplay = "Version 1.0.26 <br />Last updated on 15/07/2015";
|
19 |
|
20 |
public function run()
|
21 |
{
|
172 |
$value = $product->getResource()->getAttribute($key)->getFrontend()->getValue($product);
|
173 |
|
174 |
if (($key == 'url_path') || ($key == 'url_key'))
|
175 |
+
$value = trim(str_replace('/intelligentreach_integration.php', '', $product->getProductUrl()));
|
|
|
|
|
|
|
|
|
|
|
176 |
|
177 |
if ($key == 'image')
|
178 |
$value = $baseUrl . "media/catalog/product" . $value;
|
206 |
}
|
207 |
|
208 |
$categories = $product->getCategoryIds();
|
209 |
+
$category = Mage::getModel('catalog/category')->setStoreId($_GET["storeid"])->load($categories[0]);
|
210 |
+
|
211 |
+
/** Old Category Path code: will be deleted in the future. **/
|
212 |
+
$cat_parentCategories = array_reverse($category->getParentCategories(), true);
|
213 |
$output = "";
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
214 |
|
215 |
+
foreach ($cat_parentCategories as $parent)
|
216 |
+
{
|
217 |
+
$output .= $parent->getName();
|
218 |
+
if ($parent !== end($cat_parentCategories))
|
219 |
+
$output .= ' > ';
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
220 |
}
|
221 |
+
if($output != "")
|
222 |
+
echo '<category_path><![CDATA['.$output.']]></category_path>';
|
223 |
+
/** End of Old Category path code **/
|
224 |
+
|
225 |
+
/** New Category Path code **/
|
226 |
+
$pathIds = array_reverse(explode(",", $category->getPathInStore()), true);
|
227 |
+
$path = "";
|
228 |
+
foreach($pathIds as $pathId)
|
229 |
+
{
|
230 |
+
$path .= Mage::getModel('catalog/category')->setStoreId($_GET["storeid"])->load($pathId)->getName();
|
231 |
+
if($pathId != end($pathIds))
|
232 |
+
$path .= ' > ';
|
233 |
+
}
|
234 |
+
if($path != "")
|
235 |
+
echo '<ir_category_path><![CDATA['.$path.']]></ir_category_path>';
|
236 |
+
/** End of New Category Path code **/
|
237 |
+
|
238 |
+
if(isset($parentProduct))
|
239 |
+
{
|
240 |
+
echo '<ir_parent_entity_id>'.$parentProduct->getId().'</ir_parent_entity_id>';
|
241 |
+
echo '<ir_parent_sku>'.$parentProduct->getSku().'</ir_parent_sku>';
|
242 |
+
echo '<ir_parent_url>' . trim(str_replace('/intelligentreach_integration.php', '', $parentProduct->getProductUrl())) . '</ir_parent_url>';
|
243 |
+
}
|
244 |
+
|
245 |
echo '</product>';
|
246 |
if (is_object($parentIds))
|
247 |
$parentIds->clearInstance();
|
intelligentreach_integration_qty.php
CHANGED
@@ -1,6 +1,6 @@
|
|
1 |
<?php
|
2 |
|
3 |
-
/** Version 1.0.
|
4 |
ini_set('display_errors', 1);
|
5 |
ini_set('max_execution_time', 1800);
|
6 |
include_once 'app/Mage.php';
|
1 |
<?php
|
2 |
|
3 |
+
/** Version 1.0.26 Last updated by Kire on 13/05/2015 **/
|
4 |
ini_set('display_errors', 1);
|
5 |
ini_set('max_execution_time', 1800);
|
6 |
include_once 'app/Mage.php';
|
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>
|
@@ -17,9 +17,9 @@ Intelligent reach also offers advanced insight and trading services; whilst ensu
|
|
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. Quantity script has now been added. Flat Catalog support has been added,</notes>
|
19 |
<authors><author><name>Intelligent Reach</name><user>auto-converted</user><email>development@intelligentreach.com</email></author></authors>
|
20 |
-
<date>2015-
|
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="
|
23 |
<compatible/>
|
24 |
<dependencies/>
|
25 |
</package>
|
1 |
<?xml version="1.0"?>
|
2 |
<package>
|
3 |
<name>Intelligent_Reach</name>
|
4 |
+
<version>1.0.26</version>
|
5 |
<stability>stable</stability>
|
6 |
<license uri="http://opensource.org/licenses/OSL-3.0">OSL</license>
|
7 |
<channel>community</channel>
|
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. Quantity script has now been added. Flat Catalog support has been added,</notes>
|
19 |
<authors><author><name>Intelligent Reach</name><user>auto-converted</user><email>development@intelligentreach.com</email></author></authors>
|
20 |
+
<date>2015-07-17</date>
|
21 |
+
<time>11:19:31</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="49e88e3012ae8524363bdf34139c8939"/></dir></dir><dir name="AmazonPayment"><dir name="etc"><file name="config.xml" hash="d2aeef57130365d489a30121e0f92a05"/><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="52954ea25e5bb426e90e085d3580431a"/><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"><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><file name="intelligentreach_integration.phtml" hash="cfcf6e1c2de50fa66258a820fb296775"/></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"><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><file name="intelligentreach_integration.phtml" hash="cfcf6e1c2de50fa66258a820fb296775"/></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"><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><file name="intelligentreach_integration.phtml" hash="cfcf6e1c2de50fa66258a820fb296775"/></dir></dir></dir></dir></dir></dir></dir><dir name="."><file name="intelligentreach_integration.php" hash="309bdb49d30307de57451154423cf129"/><file name="intelligentreach_integration_qty.php" hash="42c180605da668a88f51b9642984e4db"/></dir></target></contents>
|
23 |
<compatible/>
|
24 |
<dependencies/>
|
25 |
</package>
|