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 | Intelligent Reach |
Extension | Intelligent_Reach |
Version | 1.0.30 |
Comparing to | |
See all releases |
Code changes from version 1.0.29 to 1.0.30
- app/code/local/IntelligentReach/AmazonPayment/etc/config.xml +1 -1
- app/code/local/IntelligentReach/DebenhamsPayment/etc/config.xml +1 -1
- app/code/local/IntelligentReach/EbayPayment/etc/config.xml +1 -1
- app/code/local/IntelligentReach/Integration/etc/config.xml +1 -1
- app/code/local/IntelligentReach/LazadaPayment/etc/config.xml +1 -1
- app/code/local/IntelligentReach/PlayPayment/etc/config.xml +1 -1
- app/code/local/IntelligentReach/RakutenPayment/etc/config.xml +1 -1
- app/code/local/IntelligentReach/TradeMePayment/etc/config.xml +1 -1
- app/code/local/IntelligentReach/WestfieldPayment/etc/config.xml +1 -1
- intelligentreach_integration.php +93 -63
- package.xml +4 -4
app/code/local/IntelligentReach/AmazonPayment/etc/config.xml
CHANGED
@@ -2,7 +2,7 @@
|
|
2 |
<config>
|
3 |
<modules>
|
4 |
<IntelligentReach_AmazonPayment>
|
5 |
-
<version>1.0.
|
6 |
</IntelligentReach_AmazonPayment>
|
7 |
</modules>
|
8 |
<global>
|
2 |
<config>
|
3 |
<modules>
|
4 |
<IntelligentReach_AmazonPayment>
|
5 |
+
<version>1.0.30</version>
|
6 |
</IntelligentReach_AmazonPayment>
|
7 |
</modules>
|
8 |
<global>
|
app/code/local/IntelligentReach/DebenhamsPayment/etc/config.xml
CHANGED
@@ -2,7 +2,7 @@
|
|
2 |
<config>
|
3 |
<modules>
|
4 |
<IntelligentReach_DebenhamsPayment>
|
5 |
-
<version>1.0.
|
6 |
</IntelligentReach_DebenhamsPayment>
|
7 |
</modules>
|
8 |
<global>
|
2 |
<config>
|
3 |
<modules>
|
4 |
<IntelligentReach_DebenhamsPayment>
|
5 |
+
<version>1.0.30</version>
|
6 |
</IntelligentReach_DebenhamsPayment>
|
7 |
</modules>
|
8 |
<global>
|
app/code/local/IntelligentReach/EbayPayment/etc/config.xml
CHANGED
@@ -2,7 +2,7 @@
|
|
2 |
<config>
|
3 |
<modules>
|
4 |
<IntelligentReach_EbayPayment>
|
5 |
-
<version>1.0.
|
6 |
</IntelligentReach_EbayPayment>
|
7 |
</modules>
|
8 |
<global>
|
2 |
<config>
|
3 |
<modules>
|
4 |
<IntelligentReach_EbayPayment>
|
5 |
+
<version>1.0.30</version>
|
6 |
</IntelligentReach_EbayPayment>
|
7 |
</modules>
|
8 |
<global>
|
app/code/local/IntelligentReach/Integration/etc/config.xml
CHANGED
@@ -2,7 +2,7 @@
|
|
2 |
<config>
|
3 |
<modules>
|
4 |
<IntelligentReach_Integration>
|
5 |
-
<version>1.0.
|
6 |
</IntelligentReach_Integration>
|
7 |
</modules>
|
8 |
<frontend>
|
2 |
<config>
|
3 |
<modules>
|
4 |
<IntelligentReach_Integration>
|
5 |
+
<version>1.0.30</version>
|
6 |
</IntelligentReach_Integration>
|
7 |
</modules>
|
8 |
<frontend>
|
app/code/local/IntelligentReach/LazadaPayment/etc/config.xml
CHANGED
@@ -2,7 +2,7 @@
|
|
2 |
<config>
|
3 |
<modules>
|
4 |
<IntelligentReach_LazadaPayment>
|
5 |
-
<version>1.0.
|
6 |
</IntelligentReach_LazadaPayment>
|
7 |
</modules>
|
8 |
<global>
|
2 |
<config>
|
3 |
<modules>
|
4 |
<IntelligentReach_LazadaPayment>
|
5 |
+
<version>1.0.30</version>
|
6 |
</IntelligentReach_LazadaPayment>
|
7 |
</modules>
|
8 |
<global>
|
app/code/local/IntelligentReach/PlayPayment/etc/config.xml
CHANGED
@@ -2,7 +2,7 @@
|
|
2 |
<config>
|
3 |
<modules>
|
4 |
<IntelligentReach_PlayPayment>
|
5 |
-
<version>1.0.
|
6 |
</IntelligentReach_PlayPayment>
|
7 |
</modules>
|
8 |
<global>
|
2 |
<config>
|
3 |
<modules>
|
4 |
<IntelligentReach_PlayPayment>
|
5 |
+
<version>1.0.30</version>
|
6 |
</IntelligentReach_PlayPayment>
|
7 |
</modules>
|
8 |
<global>
|
app/code/local/IntelligentReach/RakutenPayment/etc/config.xml
CHANGED
@@ -2,7 +2,7 @@
|
|
2 |
<config>
|
3 |
<modules>
|
4 |
<IntelligentReach_RakutenPayment>
|
5 |
-
<version>1.0.
|
6 |
</IntelligentReach_RakutenPayment>
|
7 |
</modules>
|
8 |
<global>
|
2 |
<config>
|
3 |
<modules>
|
4 |
<IntelligentReach_RakutenPayment>
|
5 |
+
<version>1.0.30</version>
|
6 |
</IntelligentReach_RakutenPayment>
|
7 |
</modules>
|
8 |
<global>
|
app/code/local/IntelligentReach/TradeMePayment/etc/config.xml
CHANGED
@@ -2,7 +2,7 @@
|
|
2 |
<config>
|
3 |
<modules>
|
4 |
<IntelligentReach_TradeMePayment>
|
5 |
-
<version>1.0.
|
6 |
</IntelligentReach_TradeMePayment>
|
7 |
</modules>
|
8 |
<global>
|
2 |
<config>
|
3 |
<modules>
|
4 |
<IntelligentReach_TradeMePayment>
|
5 |
+
<version>1.0.30</version>
|
6 |
</IntelligentReach_TradeMePayment>
|
7 |
</modules>
|
8 |
<global>
|
app/code/local/IntelligentReach/WestfieldPayment/etc/config.xml
CHANGED
@@ -2,7 +2,7 @@
|
|
2 |
<config>
|
3 |
<modules>
|
4 |
<IntelligentReach_WestfieldPayment>
|
5 |
-
<version>1.0.
|
6 |
</IntelligentReach_WestfieldPayment>
|
7 |
</modules>
|
8 |
<global>
|
2 |
<config>
|
3 |
<modules>
|
4 |
<IntelligentReach_WestfieldPayment>
|
5 |
+
<version>1.0.30</version>
|
6 |
</IntelligentReach_WestfieldPayment>
|
7 |
</modules>
|
8 |
<global>
|
intelligentreach_integration.php
CHANGED
@@ -1,13 +1,12 @@
|
|
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';
|
7 |
umask(0);
|
8 |
Mage::app();
|
9 |
|
10 |
-
|
11 |
$ir = new IntelligentReach();
|
12 |
$ir->run();
|
13 |
|
@@ -16,7 +15,7 @@ class IntelligentReach
|
|
16 |
private $_splitby = 100;
|
17 |
private $_amountOfProductsPerPage = 100;
|
18 |
private $_lastPageNumber = 0;
|
19 |
-
private $_versionDisplay = "Version 1.0.
|
20 |
|
21 |
public function run()
|
22 |
{
|
@@ -75,20 +74,22 @@ class IntelligentReach
|
|
75 |
echo "e.g. http://www.exampledomain.com/intelligentreach_integration.php?storeid=1</p>";
|
76 |
echo "<p><strong>NB:</strong> The Store Id parameter name is case sensitive. Only use \"storeid=\" not another variation.</p>";
|
77 |
echo "<h5>".$this->_versionDisplay."</h5></div>";
|
78 |
-
|
79 |
|
80 |
-
|
81 |
-
|
82 |
-
|
83 |
-
|
84 |
-
|
|
|
|
|
85 |
for ($i = $sections; $i > 0; $i--)
|
86 |
{
|
87 |
$startingPage = $pages - $this->_splitby + 1;
|
88 |
if ($startingPage < 1)
|
89 |
$startingPage = 1;
|
90 |
|
91 |
-
echo "<tr><td><a href='?storeid=" . $_GET["storeid"] . "&startingpage=" . $startingPage . "&endpage=" . $pages . "&splitby=".$this->_splitby ."&amountofproducts=".$this->_amountOfProductsPerPage."'>" . $i . "</a></td><td>" . $startingPage . "-" . $pages . "</td></tr>";
|
92 |
$pages = $startingPage - 1;
|
93 |
}
|
94 |
echo "</table>";
|
@@ -109,8 +110,13 @@ class IntelligentReach
|
|
109 |
echo "<p>You can also set the value of the number of products per page that is returned, by setting the parameter <strong>'amountofproducts'</strong> in the URL</p>";
|
110 |
echo "<strong>e.g.</strong> http://www.exampledomain.com/intelligentreach_integration.php?storeid=1&splitby=100&<strong>amountofproducts=100</strong></p>";
|
111 |
echo "<p><strong>NB:</strong> The default value for <strong>'splitby'</strong> is 100 and for <strong>'amountofproducts'</strong> is 100.</p>";
|
112 |
-
|
|
|
113 |
echo "<strong>e.g.</strong> http://www.exampledomain.com/intelligentreach_integration.php?storeid=1&<strong>getall=1</strong></p>";
|
|
|
|
|
|
|
|
|
114 |
echo "</div>";
|
115 |
echo "<div style='float:left; padding-left:50px;'><h5>";
|
116 |
echo $this->_versionDisplay;
|
@@ -195,20 +201,25 @@ class IntelligentReach
|
|
195 |
echo " <image_".($i + 1)."><![CDATA[". $baseUrl . "media/catalog/product" . $value['images'][$i]['file']."]]></image_".($i + 1).">";
|
196 |
continue;
|
197 |
}
|
198 |
-
|
199 |
-
|
|
|
|
|
200 |
$value = "<![CDATA[$value]]>";
|
201 |
|
202 |
$key = str_replace('"', '', $key);
|
203 |
-
|
|
|
204 |
echo '<' . $key . '>' . $value . '</' . $key . '>';
|
205 |
}
|
206 |
}
|
207 |
|
208 |
$categories = $product->getCategoryIds();
|
209 |
-
|
|
|
|
|
210 |
|
211 |
-
|
212 |
$cat_parentCategories = array_reverse($category->getParentCategories(), true);
|
213 |
$output = "";
|
214 |
|
@@ -220,63 +231,69 @@ class IntelligentReach
|
|
220 |
}
|
221 |
if($output != "")
|
222 |
echo '<category_path><![CDATA['.$output.']]></category_path>';
|
223 |
-
|
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 |
-
|
239 |
-
|
240 |
-
|
241 |
-
foreach($categories as $cat)
|
242 |
-
{
|
243 |
-
$category = Mage::getModel('catalog/category')->setStoreId($_GET["storeid"])->load($cat);
|
244 |
-
$pathIds = array_reverse(explode(",", $category->getPathInStore()), true);
|
245 |
-
$catpath = "";
|
246 |
foreach($pathIds as $pathId)
|
247 |
{
|
248 |
-
$
|
249 |
if($pathId != end($pathIds))
|
250 |
-
$
|
251 |
}
|
252 |
-
if($
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
253 |
{
|
254 |
-
|
|
|
|
|
|
|
255 |
{
|
256 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
257 |
array_push($validCategoryPaths, $catpath);
|
258 |
}
|
259 |
-
else
|
260 |
-
array_push($validCategoryPaths, $catpath);
|
261 |
}
|
262 |
-
|
263 |
-
|
264 |
-
|
265 |
-
|
266 |
-
|
267 |
-
|
268 |
-
|
269 |
-
|
270 |
-
|
271 |
-
|
272 |
-
|
273 |
-
|
274 |
-
|
275 |
-
|
276 |
-
|
277 |
-
|
278 |
-
|
279 |
-
|
|
|
|
|
|
|
|
|
|
|
280 |
|
281 |
echo '</product>';
|
282 |
if (is_object($parentIds))
|
@@ -284,5 +301,18 @@ class IntelligentReach
|
|
284 |
|
285 |
$product->clearInstance();
|
286 |
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
287 |
}
|
288 |
|
1 |
<?php
|
2 |
|
3 |
+
/** Version 1.0.30 Last updated by Kire on 07/10/2015 **/
|
4 |
ini_set('display_errors', 1);
|
5 |
ini_set('max_execution_time', 1800);
|
6 |
include_once 'app/Mage.php';
|
7 |
umask(0);
|
8 |
Mage::app();
|
9 |
|
|
|
10 |
$ir = new IntelligentReach();
|
11 |
$ir->run();
|
12 |
|
15 |
private $_splitby = 100;
|
16 |
private $_amountOfProductsPerPage = 100;
|
17 |
private $_lastPageNumber = 0;
|
18 |
+
private $_versionDisplay = "Version 1.0.30 <br />Last updated on 07/10/2015";
|
19 |
|
20 |
public function run()
|
21 |
{
|
74 |
echo "e.g. http://www.exampledomain.com/intelligentreach_integration.php?storeid=1</p>";
|
75 |
echo "<p><strong>NB:</strong> The Store Id parameter name is case sensitive. Only use \"storeid=\" not another variation.</p>";
|
76 |
echo "<h5>".$this->_versionDisplay."</h5></div>";
|
77 |
+
}
|
78 |
|
79 |
+
public function getSections($sections)
|
80 |
+
{
|
81 |
+
$convertNumberToWord = (isset($_GET["convertNumberToWord"])) ? "&convertNumberToWord=1" : "";
|
82 |
+
$stripInvalidChars = (isset($_GET["stripInvalidChars"])) ? "&stripInvalidChars=1" : "";
|
83 |
+
$pages = $this->_lastPageNumber;
|
84 |
+
echo "<table cellspacing='2px;' border='1px;' cellpadding='8px;'>";
|
85 |
+
echo "<tr><th>Section</th><th>Pages</th></tr>";
|
86 |
for ($i = $sections; $i > 0; $i--)
|
87 |
{
|
88 |
$startingPage = $pages - $this->_splitby + 1;
|
89 |
if ($startingPage < 1)
|
90 |
$startingPage = 1;
|
91 |
|
92 |
+
echo "<tr><td><a href='?storeid=" . $_GET["storeid"] . "&startingpage=" . $startingPage . "&endpage=" . $pages . "&splitby=".$this->_splitby ."&amountofproducts=".$this->_amountOfProductsPerPage.$convertNumberToWord.$stripInvalidChars."'>" . $i . "</a></td><td>" . $startingPage . "-" . $pages . "</td></tr>";
|
93 |
$pages = $startingPage - 1;
|
94 |
}
|
95 |
echo "</table>";
|
110 |
echo "<p>You can also set the value of the number of products per page that is returned, by setting the parameter <strong>'amountofproducts'</strong> in the URL</p>";
|
111 |
echo "<strong>e.g.</strong> http://www.exampledomain.com/intelligentreach_integration.php?storeid=1&splitby=100&<strong>amountofproducts=100</strong></p>";
|
112 |
echo "<p><strong>NB:</strong> The default value for <strong>'splitby'</strong> is 100 and for <strong>'amountofproducts'</strong> is 100.</p>";
|
113 |
+
echo "<h3>Other options</h3>";
|
114 |
+
echo "<p>You can retrieve all products by using the <strong>'getall'</strong> parameter</p>";
|
115 |
echo "<strong>e.g.</strong> http://www.exampledomain.com/intelligentreach_integration.php?storeid=1&<strong>getall=1</strong></p>";
|
116 |
+
echo "<p>To enable the stripping of invalid XML characters add the <strong>'stripInvalidChars'</strong> parameter</p>";
|
117 |
+
echo "<strong>e.g.</strong> http://www.exampledomain.com/intelligentreach_integration.php?storeid=1&<strong>stripInvalidChars=1</strong></p>";
|
118 |
+
echo "<p>To enable the converting of the first character in the XML tag from a number to a word, use the <strong>'convertNumberToWord'</strong> parameter.</p>";
|
119 |
+
echo "<strong>e.g.</strong> http://www.exampledomain.com/intelligentreach_integration.php?storeid=1&<strong>convertNumberToWord=1</strong></p>";
|
120 |
echo "</div>";
|
121 |
echo "<div style='float:left; padding-left:50px;'><h5>";
|
122 |
echo $this->_versionDisplay;
|
201 |
echo " <image_".($i + 1)."><![CDATA[". $baseUrl . "media/catalog/product" . $value['images'][$i]['file']."]]></image_".($i + 1).">";
|
202 |
continue;
|
203 |
}
|
204 |
+
|
205 |
+
$value = htmlentities($value, ENT_COMPAT | ENT_SUBSTITUTE, "UTF-8");
|
206 |
+
$value = $this->stripInvalidXMLCharacters($value);
|
207 |
+
|
208 |
$value = "<![CDATA[$value]]>";
|
209 |
|
210 |
$key = str_replace('"', '', $key);
|
211 |
+
if(is_numeric($key[0]) && isset($_GET["convertNumberToWord"]))
|
212 |
+
$key = $this->convertNumberToWord($key[0]).substr($key, 1);
|
213 |
echo '<' . $key . '>' . $value . '</' . $key . '>';
|
214 |
}
|
215 |
}
|
216 |
|
217 |
$categories = $product->getCategoryIds();
|
218 |
+
if((count($categories) == 0) && isset($parentProduct))
|
219 |
+
$categories = $parentProduct->getCategoryIds();
|
220 |
+
$category = Mage::getModel('catalog/category')->setStoreId($_GET["storeid"])->load($categories[0]);
|
221 |
|
222 |
+
/** Old Category Path code: will be deleted in the future. **/
|
223 |
$cat_parentCategories = array_reverse($category->getParentCategories(), true);
|
224 |
$output = "";
|
225 |
|
231 |
}
|
232 |
if($output != "")
|
233 |
echo '<category_path><![CDATA['.$output.']]></category_path>';
|
234 |
+
/** End of Old Category path code **/
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
235 |
|
236 |
+
/** New Category Path code **/
|
237 |
+
$pathIds = array_reverse(explode(",", $category->getPathInStore()), true);
|
238 |
+
$path = "";
|
|
|
|
|
|
|
|
|
|
|
239 |
foreach($pathIds as $pathId)
|
240 |
{
|
241 |
+
$path .= Mage::getModel('catalog/category')->setStoreId($_GET["storeid"])->load($pathId)->getName();
|
242 |
if($pathId != end($pathIds))
|
243 |
+
$path .= ' > ';
|
244 |
}
|
245 |
+
if($path != "")
|
246 |
+
echo '<ir_category_path><![CDATA['.$path.']]></ir_category_path>';
|
247 |
+
/** End of New Category Path code **/
|
248 |
+
|
249 |
+
/** New longest Category Path code **/
|
250 |
+
$validCategoryPaths = array();
|
251 |
+
$intelligent_reach_category_exclusions = Mage::getModel('core/variable')->setStoreId($store_id)->loadByCode('intelligent_reach_category_exclusions')->getValue();
|
252 |
+
foreach($categories as $cat)
|
253 |
{
|
254 |
+
$category = Mage::getModel('catalog/category')->setStoreId($_GET["storeid"])->load($cat);
|
255 |
+
$pathIds = array_reverse(explode(",", $category->getPathInStore()), true);
|
256 |
+
$catpath = "";
|
257 |
+
foreach($pathIds as $pathId)
|
258 |
{
|
259 |
+
$catpath .= Mage::getModel('catalog/category')->setStoreId($_GET["storeid"])->load($pathId)->getName();
|
260 |
+
if($pathId != end($pathIds))
|
261 |
+
$catpath .= ' > ';
|
262 |
+
}
|
263 |
+
if($catpath != "")
|
264 |
+
{
|
265 |
+
if($intelligent_reach_category_exclusions != "")
|
266 |
+
{
|
267 |
+
if(preg_match('/('.$intelligent_reach_category_exclusions.')/i', $catpath) != true)
|
268 |
+
array_push($validCategoryPaths, $catpath);
|
269 |
+
}
|
270 |
+
else
|
271 |
array_push($validCategoryPaths, $catpath);
|
272 |
}
|
|
|
|
|
273 |
}
|
274 |
+
if(count($validCategoryPaths) != 0)
|
275 |
+
{
|
276 |
+
if(count($validCategoryPaths) > 1)
|
277 |
+
usort($validCategoryPaths, function ($a, $b) { return (strlen($a) < strlen($b)); });
|
278 |
+
echo "<ir_longest_category_path><![CDATA[".$validCategoryPaths[0]."]]></ir_longest_category_path>";
|
279 |
+
}
|
280 |
+
else if($path != "")
|
281 |
+
echo '<ir_longest_category_path><![CDATA['.$path.']]></ir_longest_category_path>';
|
282 |
+
/** End of New longest Category Path code **/
|
283 |
+
|
284 |
+
if(isset($parentProduct))
|
285 |
+
{
|
286 |
+
echo '<ir_parent_entity_id><![CDATA['.$this->stripInvalidXMLCharacters($parentProduct->getId()).']]></ir_parent_entity_id>';
|
287 |
+
echo '<ir_parent_sku><![CDATA['.$this->stripInvalidXMLCharacters($parentProduct->getSku()).']]></ir_parent_sku>';
|
288 |
+
echo '<ir_parent_url><![CDATA[' . $this->stripInvalidXMLCharacters(trim(str_replace('/intelligentreach_integration.php', '', $parentProduct->getProductUrl()))) . ']]></ir_parent_url>';
|
289 |
+
echo '<ir_parent_image_url><![CDATA['.$this->stripInvalidXMLCharacters($baseUrl . 'media/catalog/product' . $parentProduct->getImage()).']]></ir_parent_image_url>';
|
290 |
+
$gallery = $parentProduct->getMediaGallery();
|
291 |
+
if(count($gallery['images']) != 0)
|
292 |
+
{
|
293 |
+
for($i = 0; $i < count($gallery['images']); $i++)
|
294 |
+
echo " <ir_parent_image_".($i + 1)."><![CDATA[". $baseUrl . "media/catalog/product" . $gallery['images'][$i]['file']."]]></ir_parent_image_".($i + 1).">";
|
295 |
+
}
|
296 |
+
}
|
297 |
|
298 |
echo '</product>';
|
299 |
if (is_object($parentIds))
|
301 |
|
302 |
$product->clearInstance();
|
303 |
}
|
304 |
+
|
305 |
+
public function stripInvalidXMLCharacters($value)
|
306 |
+
{
|
307 |
+
if(!isset($_GET["stripInvalidChars"]))
|
308 |
+
return $value;
|
309 |
+
return preg_replace("/[^A-Za-z0-9\d\!\"\$%^&*:;?'@~#{}|`()\\/.,_+=\-<>\s]/u", '', $value);
|
310 |
+
}
|
311 |
+
|
312 |
+
public function convertNumberToWord($number)
|
313 |
+
{
|
314 |
+
$dictionary = array( 0 => 'zero', 1 => 'one', 2 => 'two', 3 => 'three', 4 => 'four', 5 => 'five', 6 => 'six', 7 => 'seven', 8 => 'eight', 9 => 'nine');
|
315 |
+
return $dictionary[$number];
|
316 |
+
}
|
317 |
}
|
318 |
|
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>IR</user><email>development@intelligentreach.com</email></author></authors>
|
20 |
-
<date>2015-10-
|
21 |
-
<time>
|
22 |
-
<contents><target name="mage"><dir name="."><file name="intelligentreach_integration.php" hash="
|
23 |
<compatible/>
|
24 |
<dependencies><required><php><min>5.2.0</min><max>6.0.0</max></php></required></dependencies>
|
25 |
</package>
|
1 |
<?xml version="1.0"?>
|
2 |
<package>
|
3 |
<name>Intelligent_Reach</name>
|
4 |
+
<version>1.0.30</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>IR</user><email>development@intelligentreach.com</email></author></authors>
|
20 |
+
<date>2015-10-07</date>
|
21 |
+
<time>16:04:41</time>
|
22 |
+
<contents><target name="mage"><dir name="."><file name="intelligentreach_integration.php" hash="f7ccba91a4d1ce18cf08bbd8cec208c3"/><file name="intelligentreach_integration_qty.php" hash="0fe2e1064555b4b57e3b234672902055"/></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"/><file name="IntelligentReach_DebenhamsPayment.xml" hash="649e25d5edf93ea84ce0a35240441ecb"/><file name="IntelligentReach_LazadaPayment.xml" hash="74ebd9f7bab6023049128e6de012b52c"/><file name="IntelligentReach_PlayPayment.xml" hash="c711e18f9a79c24bcddce4143ffb6fb6"/><file name="IntelligentReach_RakutenPayment.xml" hash="d70ce1efcf60b29ecc02fcea8df1f7e9"/><file name="IntelligentReach_TradeMePayment.xml" hash="367154d17430c1000c3798454be25dcb"/><file name="IntelligentReach_WestfieldPayment.xml" hash="b0ae5878bb26f86674ce88a50876496b"/></dir></dir><dir name="code"><dir name="local"><dir name="IntelligentReach"><dir name="Integration"><dir name="etc"><file name="config.xml" hash="43c6b10ff48e844ce80da468b1bafc57"/></dir></dir><dir name="AmazonPayment"><dir name="etc"><file name="config.xml" hash="e66f5abec9a498368bd99eb555e22f40"/><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="164cb6b659f40d21bb355c6a31b29dbe"/><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 name="DebenhamsPayment"><dir name="etc"><file name="config.xml" hash="472b08b68d6be1d7fa43922528168c95"/><file name="system.xml" hash="fab15158ef26748821326174ca9d91eb"/></dir><dir name="Helper"><file name="Data.php" hash="24e03a8fb06b27480aae4e37f2dc54d8"/></dir><dir name="Model"><file name="Pay.php" hash="5b5ff8738811ec85f842bbe5b7081ce8"/></dir></dir><dir name="LazadaPayment"><dir name="etc"><file name="config.xml" hash="f9ddea417659dc1778e057f11f568ba1"/><file name="system.xml" hash="bf34e8ec60287c727d8221163f436c9c"/></dir><dir name="Helper"><file name="Data.php" hash="7eee4edb781ab93817979b61f314787f"/></dir><dir name="Model"><file name="Pay.php" hash="195fbb25c055508356e119049ffda38c"/></dir></dir><dir name="PlayPayment"><dir name="etc"><file name="config.xml" hash="7928bc662c8822c9dfb5b711d55622b6"/><file name="system.xml" hash="4afb9b545ca22d4043b0606222d734a6"/></dir><dir name="Helper"><file name="Data.php" hash="486d43158da7188608eb07d3c9e45845"/></dir><dir name="Model"><file name="Pay.php" hash="92f7ea835385a5a1039a9cde9d1dd2dc"/></dir></dir><dir name="RakutenPayment"><dir name="etc"><file name="config.xml" hash="a1028fe73e805c6aaf5218beb476ba8d"/><file name="system.xml" hash="6c19c11b0ad20305d3dd705a0e3f71b9"/></dir><dir name="Helper"><file name="Data.php" hash="87cc7e597d4f70a26911c861358d5695"/></dir><dir name="Model"><file name="Pay.php" hash="3b340c7cf285e3031b44333c9b40aead"/></dir></dir><dir name="TradeMePayment"><dir name="etc"><file name="config.xml" hash="4e93508daebd02c84022e3a22813d693"/><file name="system.xml" hash="98893010b7a44f27611421780a09cd6a"/></dir><dir name="Helper"><file name="Data.php" hash="b789a1164f2296882e81d4dced4897a0"/></dir><dir name="Model"><file name="Pay.php" hash="9f7a882b55a2805fc9582930e9b8f5de"/></dir></dir><dir name="WestfieldPayment"><dir name="etc"><file name="config.xml" hash="0e4f647383cdef694c6bca5bf46aa637"/><file name="system.xml" hash="de52dce1e16aaa20f62253a4a22f419f"/></dir><dir name="Helper"><file name="Data.php" hash="1d1fcc723fc60d73b004173094a8499e"/></dir><dir name="Model"><file name="Pay.php" hash="b793f8e0b732ef26464b7ef65c16d712"/></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>
|