Version Notes
Improvements:
- Default image selection won't be overwritten by the module
Download this release
Release Info
Developer | IceShop |
Extension | IcecatLive |
Version | 1.7.2 |
Comparing to | |
See all releases |
Code changes from version 1.7.1 to 1.7.2
- app/code/local/Iceshop/Icecatlive/Block/Attributes.php +13 -6
- app/code/local/Iceshop/Icecatlive/Model/Import.php +150 -99
- app/code/local/Iceshop/Icecatlive/Model/Observer.php +50 -9
- app/code/local/Iceshop/Icecatlive/sql/icecatlive_setup/{mysql4-install-1.7.0.php → mysql4-install-1.7.2.php} +0 -0
- app/code/local/Iceshop/Icecatlive/sql/icecatlive_setup/mysql4-upgrade-1.6.0-1.7.0.php +1 -1
- app/code/local/Iceshop/Icecatlive/sql/icecatlive_setup/mysql4-upgrade-1.7.0-1.7.2 +40 -0
- app/design/frontend/default/default/template/iceshop/icecatlive/groupattributes.phtml +1 -1
- package.xml +6 -5
app/code/local/Iceshop/Icecatlive/Block/Attributes.php
CHANGED
@@ -2,7 +2,6 @@
|
|
2 |
|
3 |
class Iceshop_Icecatlive_Block_Attributes extends Mage_Core_Block_Template
|
4 |
{
|
5 |
-
// public $_import_product;
|
6 |
|
7 |
public function __construct(array $args = array()) {
|
8 |
parent::__construct($args);
|
@@ -21,7 +20,6 @@ class Iceshop_Icecatlive_Block_Attributes extends Mage_Core_Block_Template
|
|
21 |
$systemLocale = explode("_", Mage::app()->getLocale()->getLocaleCode());
|
22 |
$locale = $systemLocale[0];
|
23 |
}
|
24 |
-
$this->_import_product = file_exists($cache_file);
|
25 |
return Mage::getBaseDir('var') . $import->_connectorCacheDir . 'iceshop_icecatlive_'. Mage::registry('current_product')->getId() .'_' . $locale;
|
26 |
}
|
27 |
|
@@ -42,14 +40,19 @@ class Iceshop_Icecatlive_Block_Attributes extends Mage_Core_Block_Template
|
|
42 |
|
43 |
public function getAdditionalData(array $excludeAttr = array())
|
44 |
{
|
45 |
-
$data = $this->getAttributesArray();
|
46 |
|
47 |
$data2 = array();
|
48 |
foreach ($data as $_data) {
|
49 |
if ($_data['label'] != '' && $_data['value'] != '' && $_data['label'] != 'id') {
|
50 |
$value = $_data['value'];
|
51 |
$group = 0;
|
52 |
-
if
|
|
|
|
|
|
|
|
|
|
|
53 |
$group = $tmp;
|
54 |
}
|
55 |
|
@@ -59,7 +62,11 @@ class Iceshop_Icecatlive_Block_Attributes extends Mage_Core_Block_Template
|
|
59 |
'code' => $_data['label']
|
60 |
);
|
61 |
|
62 |
-
$
|
|
|
|
|
|
|
|
|
63 |
|
64 |
} else if (!empty($_data['code']) && $_data['code'] == 'header') {
|
65 |
$data2[$_data['id']]["title"] = $_data['value'];
|
@@ -87,7 +94,7 @@ class Iceshop_Icecatlive_Block_Attributes extends Mage_Core_Block_Template
|
|
87 |
return str_replace("\\n", "<br>", htmlspecialchars($value));
|
88 |
}
|
89 |
|
90 |
-
public function getAttributesArray()
|
91 |
{
|
92 |
$iceModel = Mage::getSingleton('icecatlive/import');
|
93 |
$descriptionsListArray = $iceModel->getProductDescriptionList();
|
2 |
|
3 |
class Iceshop_Icecatlive_Block_Attributes extends Mage_Core_Block_Template
|
4 |
{
|
|
|
5 |
|
6 |
public function __construct(array $args = array()) {
|
7 |
parent::__construct($args);
|
20 |
$systemLocale = explode("_", Mage::app()->getLocale()->getLocaleCode());
|
21 |
$locale = $systemLocale[0];
|
22 |
}
|
|
|
23 |
return Mage::getBaseDir('var') . $import->_connectorCacheDir . 'iceshop_icecatlive_'. Mage::registry('current_product')->getId() .'_' . $locale;
|
24 |
}
|
25 |
|
40 |
|
41 |
public function getAdditionalData(array $excludeAttr = array())
|
42 |
{
|
43 |
+
$data = $this->getAttributesArray($excludeAttr);
|
44 |
|
45 |
$data2 = array();
|
46 |
foreach ($data as $_data) {
|
47 |
if ($_data['label'] != '' && $_data['value'] != '' && $_data['label'] != 'id') {
|
48 |
$value = $_data['value'];
|
49 |
$group = 0;
|
50 |
+
if(!empty($_data["id"])){
|
51 |
+
$tmp = $_data["id"];
|
52 |
+
} else {
|
53 |
+
$tmp = '';
|
54 |
+
}
|
55 |
+
if ($tmp) {
|
56 |
$group = $tmp;
|
57 |
}
|
58 |
|
62 |
'code' => $_data['label']
|
63 |
);
|
64 |
|
65 |
+
if(!empty($_data["id"])){
|
66 |
+
$data2[$group]['attrid'] = $_data["id"];
|
67 |
+
} else {
|
68 |
+
$data2[$group]['attrid'] = '';
|
69 |
+
}
|
70 |
|
71 |
} else if (!empty($_data['code']) && $_data['code'] == 'header') {
|
72 |
$data2[$_data['id']]["title"] = $_data['value'];
|
94 |
return str_replace("\\n", "<br>", htmlspecialchars($value));
|
95 |
}
|
96 |
|
97 |
+
public function getAttributesArray($excludeAttr = '')
|
98 |
{
|
99 |
$iceModel = Mage::getSingleton('icecatlive/import');
|
100 |
$descriptionsListArray = $iceModel->getProductDescriptionList();
|
app/code/local/Iceshop/Icecatlive/Model/Import.php
CHANGED
@@ -52,6 +52,7 @@ class Iceshop_Icecatlive_Model_Import extends Mage_Core_Model_Abstract
|
|
52 |
$this->entityId = $entityId;
|
53 |
$error = '';
|
54 |
if (null === $this->simpleDoc) {
|
|
|
55 |
$cacheDataXml = $this->_getXmlIcecatLiveCache($this->entityId, $locale);
|
56 |
if(empty($cacheDataXml)){
|
57 |
$cacheDataXml = Mage::app()->getCache()->load($this->_cacheKey . $entityId . '_' . $locale);
|
@@ -73,14 +74,21 @@ class Iceshop_Icecatlive_Model_Import extends Mage_Core_Model_Abstract
|
|
73 |
Varien_Profiler::start('Iceshop FILE RELATED');
|
74 |
$this->loadRelatedProducts();
|
75 |
Varien_Profiler::stop('Iceshop FILE RELATED');
|
|
|
|
|
|
|
76 |
}
|
77 |
return true;
|
78 |
}
|
79 |
}
|
80 |
public function _getXmlIcecatLiveCache($entity_id, $locale){
|
81 |
$current_prodCacheXml = Mage::getBaseDir('var') . $this->_connectorCacheDir . 'iceshop_icecatlive_' . $entity_id . '_' . $locale;
|
82 |
-
|
83 |
-
|
|
|
|
|
|
|
|
|
84 |
}
|
85 |
public function _getIceCatData($userName, $userPass, $dataUrl, $productAttributes)
|
86 |
{
|
@@ -264,19 +272,23 @@ class Iceshop_Icecatlive_Model_Import extends Mage_Core_Model_Abstract
|
|
264 |
*/
|
265 |
private function loadRelatedProducts()
|
266 |
{
|
267 |
-
$
|
268 |
-
|
269 |
-
|
270 |
-
|
271 |
-
|
272 |
-
|
273 |
-
|
274 |
-
|
275 |
-
|
276 |
-
|
277 |
-
|
278 |
-
|
279 |
-
|
|
|
|
|
|
|
|
|
280 |
}
|
281 |
}
|
282 |
}
|
@@ -286,29 +298,38 @@ class Iceshop_Icecatlive_Model_Import extends Mage_Core_Model_Abstract
|
|
286 |
*/
|
287 |
private function loadProductDescriptionList()
|
288 |
{
|
|
|
289 |
$descriptionArray = array();
|
290 |
-
$
|
291 |
-
|
292 |
-
|
293 |
-
|
294 |
-
|
295 |
-
|
296 |
-
|
297 |
-
|
298 |
-
|
299 |
-
|
300 |
-
|
301 |
-
|
302 |
-
|
303 |
-
|
304 |
-
|
305 |
-
|
306 |
-
|
|
|
|
|
|
|
|
|
307 |
}
|
308 |
}
|
309 |
}
|
310 |
krsort($descriptionArray);
|
311 |
$this->productDescriptionList = $descriptionArray;
|
|
|
|
|
|
|
|
|
312 |
}
|
313 |
|
314 |
/**
|
@@ -316,46 +337,50 @@ class Iceshop_Icecatlive_Model_Import extends Mage_Core_Model_Abstract
|
|
316 |
*/
|
317 |
private function loadOtherProductParams($productId)
|
318 |
{
|
|
|
319 |
$productTag = $this->simpleDoc->Product;
|
320 |
-
|
321 |
-
$
|
322 |
-
|
323 |
-
|
324 |
-
|
325 |
-
|
326 |
-
|
327 |
-
|
328 |
-
|
329 |
-
|
330 |
-
|
331 |
-
|
332 |
-
|
333 |
-
|
334 |
-
|
335 |
-
|
336 |
-
|
337 |
-
|
338 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
339 |
}
|
340 |
-
$i = 0;
|
341 |
-
$str = '';
|
342 |
-
for ($i = 0; $i < $j; $i++) {
|
343 |
-
$g = $i % 2;
|
344 |
-
if ($g == '0') {
|
345 |
-
if ($j == 1) {
|
346 |
-
$str .= $EANarr[$i] . '<br>';
|
347 |
-
} else {
|
348 |
-
$str .= $EANarr[$i] . ', ';
|
349 |
-
}
|
350 |
-
} else {
|
351 |
-
if ($i != $j - 1) {
|
352 |
-
$str .= $EANarr[$i] . ', <br>';
|
353 |
-
} else {
|
354 |
-
$str .= $EANarr[$i] . ' <br>';
|
355 |
-
}
|
356 |
-
}
|
357 |
-
}
|
358 |
-
$this->EAN = $str;
|
359 |
}
|
360 |
|
361 |
/**
|
@@ -386,10 +411,12 @@ class Iceshop_Icecatlive_Model_Import extends Mage_Core_Model_Abstract
|
|
386 |
* @param string $img_url
|
387 |
* @param string $img_type
|
388 |
*/
|
389 |
-
public function saveImg($productId, $img_url, $
|
390 |
{
|
391 |
$pathinfo = pathinfo($img_url);
|
392 |
-
$
|
|
|
|
|
393 |
|
394 |
if (strpos($img_url, 'high') > 0) {
|
395 |
$img_name = str_replace("http://images.icecat.biz/img/norm/high/", "", $img_url);
|
@@ -463,8 +490,9 @@ class Iceshop_Icecatlive_Model_Import extends Mage_Core_Model_Abstract
|
|
463 |
return $img;
|
464 |
}
|
465 |
}
|
466 |
-
|
467 |
-
|
|
|
468 |
$db = Mage::getSingleton('core/resource')->getConnection('core_write');
|
469 |
$tablePrefix = (array)Mage::getConfig()->getTablePrefix();
|
470 |
if (!empty($tablePrefix[0])) {
|
@@ -489,32 +517,55 @@ class Iceshop_Icecatlive_Model_Import extends Mage_Core_Model_Abstract
|
|
489 |
|
490 |
$DefaultStoreId = 0;
|
491 |
|
492 |
-
if (empty($type) || $type == 'image') {
|
493 |
-
|
494 |
-
$db->query(" INSERT INTO `" . $tablePrefix . "catalog_product_entity_varchar`
|
495 |
-
(entity_type_id,attribute_id,store_id,entity_id,value)
|
496 |
-
VALUES(@product_entity_type_id,@base,:store_id,:entity_id,:img )
|
497 |
-
ON DUPLICATE KEY UPDATE value = :img", array(
|
498 |
-
':store_id' => $DefaultStoreId,
|
499 |
-
':entity_id' => $productId,
|
500 |
-
':img' => $img));
|
501 |
|
502 |
-
$db->
|
503 |
-
|
504 |
-
|
505 |
-
|
506 |
-
|
507 |
-
|
508 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
509 |
|
510 |
-
|
511 |
-
|
512 |
-
|
513 |
-
|
514 |
-
|
515 |
-
|
516 |
-
|
517 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
518 |
|
519 |
|
520 |
$db->query(" INSERT INTO `" . $tablePrefix . "catalog_product_entity_media_gallery` (attribute_id,entity_id,value)
|
@@ -523,7 +574,7 @@ class Iceshop_Icecatlive_Model_Import extends Mage_Core_Model_Abstract
|
|
523 |
':img' => $img));
|
524 |
$db->query(" INSERT INTO `" . $tablePrefix . "catalog_product_entity_media_gallery_value`
|
525 |
(value_id,store_id,label,position,disabled)
|
526 |
-
VALUES(LAST_INSERT_ID(),:store_id,'',
|
527 |
':store_id' => $DefaultStoreId));
|
528 |
|
529 |
|
52 |
$this->entityId = $entityId;
|
53 |
$error = '';
|
54 |
if (null === $this->simpleDoc) {
|
55 |
+
try{
|
56 |
$cacheDataXml = $this->_getXmlIcecatLiveCache($this->entityId, $locale);
|
57 |
if(empty($cacheDataXml)){
|
58 |
$cacheDataXml = Mage::app()->getCache()->load($this->_cacheKey . $entityId . '_' . $locale);
|
74 |
Varien_Profiler::start('Iceshop FILE RELATED');
|
75 |
$this->loadRelatedProducts();
|
76 |
Varien_Profiler::stop('Iceshop FILE RELATED');
|
77 |
+
} catch (Exception $e){
|
78 |
+
Mage::log("connector issue: {$e->getMessage()}");
|
79 |
+
}
|
80 |
}
|
81 |
return true;
|
82 |
}
|
83 |
}
|
84 |
public function _getXmlIcecatLiveCache($entity_id, $locale){
|
85 |
$current_prodCacheXml = Mage::getBaseDir('var') . $this->_connectorCacheDir . 'iceshop_icecatlive_' . $entity_id . '_' . $locale;
|
86 |
+
if (file_exists($current_prodCacheXml)){
|
87 |
+
$current_prodCache = file_get_contents($current_prodCacheXml);
|
88 |
+
return $current_prodCache;
|
89 |
+
} else {
|
90 |
+
return false;
|
91 |
+
}
|
92 |
}
|
93 |
public function _getIceCatData($userName, $userPass, $dataUrl, $productAttributes)
|
94 |
{
|
272 |
*/
|
273 |
private function loadRelatedProducts()
|
274 |
{
|
275 |
+
if(!empty($this->simpleDoc) && is_object($this->simpleDoc)){
|
276 |
+
if(!empty($this->simpleDoc->Product) && is_object($this->simpleDoc->Product)){
|
277 |
+
$relatedProductsArray = $this->simpleDoc->Product->ProductRelated;
|
278 |
+
if (count($relatedProductsArray)) {
|
279 |
+
foreach ($relatedProductsArray as $product) {
|
280 |
+
$productArray = array();
|
281 |
+
$productNS = $product->Product;
|
282 |
+
$productArray['name'] = (string)$productNS['Name'];
|
283 |
+
$productArray['thumb'] = (string)$productNS['ThumbPic'];
|
284 |
+
$mpn = (string)$productNS['Prod_id'];
|
285 |
+
$productSupplier = $productNS->Supplier;
|
286 |
+
$productSupplierId = (int)$productSupplier['ID'];
|
287 |
+
$productArray['supplier_thumb'] = 'http://images2.icecat.biz/thumbs/SUP' . $productSupplierId . '.jpg';
|
288 |
+
$productArray['supplier_name'] = (string)$productSupplier['Name'];
|
289 |
+
$this->relatedProducts[$mpn] = $productArray;
|
290 |
+
}
|
291 |
+
}
|
292 |
}
|
293 |
}
|
294 |
}
|
298 |
*/
|
299 |
private function loadProductDescriptionList()
|
300 |
{
|
301 |
+
try{
|
302 |
$descriptionArray = array();
|
303 |
+
if(is_object($this->simpleDoc) && !empty($this->simpleDoc)){
|
304 |
+
if(is_object($this->simpleDoc->Product) && !empty($this->simpleDoc->Product)){
|
305 |
+
$specFeatures = $this->simpleDoc->Product->ProductFeature;
|
306 |
+
$specGroups = $this->simpleDoc->Product->CategoryFeatureGroup;
|
307 |
+
foreach ($specFeatures as $feature) {
|
308 |
+
$id = (int)$feature['CategoryFeatureGroup_ID'];
|
309 |
+
$featureText = (string)$feature["Presentation_Value"];
|
310 |
+
$featureValue = (string)$feature["Value"];
|
311 |
+
$featureName = (string)$feature->Feature->Name["Value"];
|
312 |
+
if ($featureValue == 'Y' || $featureValue == 'N') {
|
313 |
+
$featureText = $featureValue;
|
314 |
+
}
|
315 |
+
foreach ($specGroups as $group) {
|
316 |
+
$groupId = (int)$group["ID"];
|
317 |
+
if ($groupId == $id) {
|
318 |
+
$groupName = (string)$group->FeatureGroup->Name["Value"];
|
319 |
+
$rating = (int)$group['No'];
|
320 |
+
$descriptionArray[$rating][$groupName][$featureName] = $featureText;
|
321 |
+
break;
|
322 |
+
}
|
323 |
+
}
|
324 |
}
|
325 |
}
|
326 |
}
|
327 |
krsort($descriptionArray);
|
328 |
$this->productDescriptionList = $descriptionArray;
|
329 |
+
} catch (Exception $e){
|
330 |
+
Mage::log("connector issue: {$e->getMessage()}");
|
331 |
+
$this->productDescriptionList = array();
|
332 |
+
}
|
333 |
}
|
334 |
|
335 |
/**
|
337 |
*/
|
338 |
private function loadOtherProductParams($productId)
|
339 |
{
|
340 |
+
if(!empty($this->simpleDoc) && is_object($this->simpleDoc)){
|
341 |
$productTag = $this->simpleDoc->Product;
|
342 |
+
}
|
343 |
+
if(!empty($productTag) && is_object($productTag)){
|
344 |
+
$this->productDescription = (string)$productTag->ProductDescription['ShortDesc'];
|
345 |
+
$this->fullProductDescription = (string)$productTag->ProductDescription['LongDesc'];
|
346 |
+
$this->_warrantyInfo = (string)$productTag->ProductDescription['WarrantyInfo'];
|
347 |
+
$this->_shortSummaryDesc = (string)$productTag->SummaryDescription->ShortSummaryDescription;
|
348 |
+
$this->_longSummaryDesc = (string)$productTag->SummaryDescription->LongSummaryDescription;
|
349 |
+
$this->_manualPdfUrl = (string)$productTag->ProductDescription['ManualPDFURL'];
|
350 |
+
$this->_pdfUrl = (string)$productTag->ProductDescription['PDFURL'];
|
351 |
+
$this->_multimedia = $productTag->ProductMultimediaObject->MultimediaObject;
|
352 |
+
|
353 |
+
$this->productName = (string)$productTag["Title"];
|
354 |
+
$this->productId = (string)$productTag['Prod_id'];
|
355 |
+
$this->vendor = (string)$productTag->Supplier['Name'];
|
356 |
+
$prodEAN = $productTag->EANCode;
|
357 |
+
$EANstr = '';
|
358 |
+
$EANarr = null;
|
359 |
+
$j = 0; //counter
|
360 |
+
foreach ($prodEAN as $ellEAN) {
|
361 |
+
$EANarr[] = $ellEAN['EAN'];
|
362 |
+
$j++;
|
363 |
+
}
|
364 |
+
$i = 0;
|
365 |
+
$str = '';
|
366 |
+
for ($i = 0; $i < $j; $i++) {
|
367 |
+
$g = $i % 2;
|
368 |
+
if ($g == '0') {
|
369 |
+
if ($j == 1) {
|
370 |
+
$str .= $EANarr[$i] . '<br>';
|
371 |
+
} else {
|
372 |
+
$str .= $EANarr[$i] . ', ';
|
373 |
+
}
|
374 |
+
} else {
|
375 |
+
if ($i != $j - 1) {
|
376 |
+
$str .= $EANarr[$i] . ', <br>';
|
377 |
+
} else {
|
378 |
+
$str .= $EANarr[$i] . ' <br>';
|
379 |
+
}
|
380 |
+
}
|
381 |
+
}
|
382 |
+
$this->EAN = $str;
|
383 |
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
384 |
}
|
385 |
|
386 |
/**
|
411 |
* @param string $img_url
|
412 |
* @param string $img_type
|
413 |
*/
|
414 |
+
public function saveImg($productId, $img_url, $img_type = '')
|
415 |
{
|
416 |
$pathinfo = pathinfo($img_url);
|
417 |
+
if(!empty($pathinfo["extension"])){
|
418 |
+
$img_type = $pathinfo["extension"];
|
419 |
+
}
|
420 |
|
421 |
if (strpos($img_url, 'high') > 0) {
|
422 |
$img_name = str_replace("http://images.icecat.biz/img/norm/high/", "", $img_url);
|
490 |
return $img;
|
491 |
}
|
492 |
}
|
493 |
+
|
494 |
+
|
495 |
+
public function addProductImageQuery($productId, $img, $type = ''){
|
496 |
$db = Mage::getSingleton('core/resource')->getConnection('core_write');
|
497 |
$tablePrefix = (array)Mage::getConfig()->getTablePrefix();
|
498 |
if (!empty($tablePrefix[0])) {
|
517 |
|
518 |
$DefaultStoreId = 0;
|
519 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
520 |
|
521 |
+
$img_check = $db->fetchAll("SELECT ea.`attribute_code`, cpev.`value` FROM catalog_product_entity_varchar AS cpev
|
522 |
+
LEFT JOIN `eav_attribute` AS ea
|
523 |
+
ON ea.`attribute_id`=cpev.`attribute_id`
|
524 |
+
WHERE cpev.`entity_id`=:entity_id AND cpev.`store_id`=:store_id AND ( ea.`attribute_code`='image' OR ea.`attribute_code`='thumbnail' OR ea.`attribute_code`='small_image');",
|
525 |
+
array(
|
526 |
+
':entity_id' => $productId,
|
527 |
+
':store_id' => $DefaultStoreId,
|
528 |
+
));
|
529 |
+
|
530 |
+
if (empty($type) || $type == 'image') {
|
531 |
+
foreach ($img_check as $image){
|
532 |
+
|
533 |
+
if(!empty($image) && $image['attribute_code'] == 'image'){
|
534 |
+
if($image['value']=='no_selection'){
|
535 |
+
$db->query(" INSERT INTO `" . $tablePrefix . "catalog_product_entity_varchar`
|
536 |
+
(entity_type_id,attribute_id,store_id,entity_id,value)
|
537 |
+
VALUES(@product_entity_type_id,@base,:store_id,:entity_id,:img )
|
538 |
+
ON DUPLICATE KEY UPDATE value = :img", array(
|
539 |
+
':store_id' => $DefaultStoreId,
|
540 |
+
':entity_id' => $productId,
|
541 |
+
':img' => $img));
|
542 |
+
}
|
543 |
+
}
|
544 |
|
545 |
+
if(!empty($image) && $image['attribute_code'] == 'small_image'){
|
546 |
+
if($image['value']=='no_selection'){
|
547 |
+
$db->query(" INSERT INTO `" . $tablePrefix . "catalog_product_entity_varchar`
|
548 |
+
(entity_type_id,attribute_id,store_id,entity_id,value)
|
549 |
+
VALUES(@product_entity_type_id,@small,:store_id,:entity_id,:img )
|
550 |
+
ON DUPLICATE KEY UPDATE value = :img", array(
|
551 |
+
':store_id' => $DefaultStoreId,
|
552 |
+
':entity_id' => $productId,
|
553 |
+
':img' => $img));
|
554 |
+
}
|
555 |
+
}
|
556 |
+
if(!empty($image) && $image['attribute_code'] == 'thumbnail'){
|
557 |
+
if($image['value']=='no_selection'){
|
558 |
+
$db->query(" INSERT INTO `" . $tablePrefix . "catalog_product_entity_varchar`
|
559 |
+
(entity_type_id,attribute_id,store_id,entity_id,value)
|
560 |
+
VALUES(@product_entity_type_id,@thumb,:store_id,:entity_id,:img )
|
561 |
+
ON DUPLICATE KEY UPDATE value = :img", array(
|
562 |
+
':store_id' => $DefaultStoreId,
|
563 |
+
':entity_id' => $productId,
|
564 |
+
':img' => $img));
|
565 |
+
}
|
566 |
+
}
|
567 |
+
}
|
568 |
+
}
|
569 |
|
570 |
|
571 |
$db->query(" INSERT INTO `" . $tablePrefix . "catalog_product_entity_media_gallery` (attribute_id,entity_id,value)
|
574 |
':img' => $img));
|
575 |
$db->query(" INSERT INTO `" . $tablePrefix . "catalog_product_entity_media_gallery_value`
|
576 |
(value_id,store_id,label,position,disabled)
|
577 |
+
VALUES(LAST_INSERT_ID(),:store_id,'',0,0 )", array(
|
578 |
':store_id' => $DefaultStoreId));
|
579 |
|
580 |
|
app/code/local/Iceshop/Icecatlive/Model/Observer.php
CHANGED
@@ -85,9 +85,6 @@ class Iceshop_Icecatlive_Model_Observer
|
|
85 |
}
|
86 |
}
|
87 |
|
88 |
-
|
89 |
-
|
90 |
-
|
91 |
if(!$import_id){
|
92 |
if($_GET['full_import'] == 1){
|
93 |
$DB_loger->deleteLogKey('icecatlive_full_icecat_product_temp');
|
@@ -207,13 +204,17 @@ class Iceshop_Icecatlive_Model_Observer
|
|
207 |
if(!empty($entity_id)){
|
208 |
$_product = $catalog_product_model->load($entity_id);
|
209 |
$ean_code = $_product->getData(Mage::getStoreConfig('icecat_root/icecat/ean_code'));
|
210 |
-
$vendorName = $_product->getData(Mage::getStoreConfig('icecat_root/icecat/manufacturer'));
|
|
|
|
|
211 |
$mpn = $_product->getData(Mage::getStoreConfig('icecat_root/icecat/sku_field'));
|
212 |
$dataUrl = 'https://data.icecat.biz/xml_s3/xml_server3.cgi';
|
|
|
213 |
|
214 |
$icecatliveImportModel = new Iceshop_Icecatlive_Model_Import();
|
215 |
$icecatliveImportModel->entityId = $entity_id;
|
216 |
|
|
|
217 |
if (!empty($mpn) && !empty($vendorName)) {
|
218 |
$resultString = $icecatliveImportModel->_getIceCatData($userName, $userPass, $dataUrl, array(
|
219 |
"prod_id" => $mpn,
|
@@ -221,7 +222,7 @@ class Iceshop_Icecatlive_Model_Observer
|
|
221 |
"vendor" => $vendorName,
|
222 |
"output" => 'productxml'
|
223 |
));
|
224 |
-
|
225 |
if ($xml_result = $this->_parseXml($resultString)) {
|
226 |
if (!$icecatliveImportModel->checkIcecatResponse($xml_result->Product['ErrorMessage'])) {
|
227 |
$successRespondByMPNVendorFlag = true;
|
@@ -238,6 +239,8 @@ class Iceshop_Icecatlive_Model_Observer
|
|
238 |
'lang' => $locale,
|
239 |
'output' => 'productxml'
|
240 |
));
|
|
|
|
|
241 |
if ($xml_result = $this->_parseXml($resultString)) {
|
242 |
if ($icecatliveImportModel->checkIcecatResponse($xml_result->Product['ErrorMessage'])) {
|
243 |
$error = true;
|
@@ -287,7 +290,8 @@ class Iceshop_Icecatlive_Model_Observer
|
|
287 |
}
|
288 |
$import_info['error'] = $icecatliveImportModel->getErrorMessage();
|
289 |
$import_info['system_error'] = $icecatliveImportModel->getSystemError();
|
290 |
-
|
|
|
291 |
if (preg_match('/^Warning: You are not allowed to have Full ICEcat access$/', $import_info['error'])) {
|
292 |
if(empty($import_info['full_icecat_product'])){
|
293 |
$import_info['full_icecat_product'] = 1;
|
@@ -455,7 +459,7 @@ class Iceshop_Icecatlive_Model_Observer
|
|
455 |
$sql = 'SELECT ea.`attribute_id`, eea.`entity_type_id`, eea.`attribute_set_id` FROM eav_attribute AS ea
|
456 |
LEFT JOIN eav_entity_attribute AS eea
|
457 |
ON eea.`attribute_id` = ea.`attribute_id`
|
458 |
-
WHERE ea.`attribute_code`="
|
459 |
$query = $connection->fetchRow($sql);
|
460 |
$attribute_id = $query['attribute_id'];
|
461 |
$entity_type_id = $query['entity_type_id'];
|
@@ -653,10 +657,47 @@ class Iceshop_Icecatlive_Model_Observer
|
|
653 |
}
|
654 |
$db_res->query("UPDATE `{$tablePrefix}cron_schedule` SET status='$status' WHERE job_code = '$job_code' AND executed_at='$date_crone_start'");
|
655 |
} catch (Exception $e){
|
656 |
-
|
657 |
}
|
658 |
}
|
659 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
660 |
}
|
661 |
|
662 |
-
?>
|
85 |
}
|
86 |
}
|
87 |
|
|
|
|
|
|
|
88 |
if(!$import_id){
|
89 |
if($_GET['full_import'] == 1){
|
90 |
$DB_loger->deleteLogKey('icecatlive_full_icecat_product_temp');
|
204 |
if(!empty($entity_id)){
|
205 |
$_product = $catalog_product_model->load($entity_id);
|
206 |
$ean_code = $_product->getData(Mage::getStoreConfig('icecat_root/icecat/ean_code'));
|
207 |
+
// $vendorName = $_product->getData(Mage::getStoreConfig('icecat_root/icecat/manufacturer'));
|
208 |
+
$vendorName = $this->getVendorName($entity_id);
|
209 |
+
|
210 |
$mpn = $_product->getData(Mage::getStoreConfig('icecat_root/icecat/sku_field'));
|
211 |
$dataUrl = 'https://data.icecat.biz/xml_s3/xml_server3.cgi';
|
212 |
+
$dataUrlProduct = '';
|
213 |
|
214 |
$icecatliveImportModel = new Iceshop_Icecatlive_Model_Import();
|
215 |
$icecatliveImportModel->entityId = $entity_id;
|
216 |
|
217 |
+
$successRespondByMPNVendorFlag = false;
|
218 |
if (!empty($mpn) && !empty($vendorName)) {
|
219 |
$resultString = $icecatliveImportModel->_getIceCatData($userName, $userPass, $dataUrl, array(
|
220 |
"prod_id" => $mpn,
|
222 |
"vendor" => $vendorName,
|
223 |
"output" => 'productxml'
|
224 |
));
|
225 |
+
$dataUrlProduct = $dataUrl . "?prod_id=$mpn;vendor=$vendorName;lang=$locale;output=productxml";
|
226 |
if ($xml_result = $this->_parseXml($resultString)) {
|
227 |
if (!$icecatliveImportModel->checkIcecatResponse($xml_result->Product['ErrorMessage'])) {
|
228 |
$successRespondByMPNVendorFlag = true;
|
239 |
'lang' => $locale,
|
240 |
'output' => 'productxml'
|
241 |
));
|
242 |
+
|
243 |
+
$dataUrlProduct = $dataUrl . "?ean_upc=".trim($ean_code).";lang=$locale;output=productxml";
|
244 |
if ($xml_result = $this->_parseXml($resultString)) {
|
245 |
if ($icecatliveImportModel->checkIcecatResponse($xml_result->Product['ErrorMessage'])) {
|
246 |
$error = true;
|
290 |
}
|
291 |
$import_info['error'] = $icecatliveImportModel->getErrorMessage();
|
292 |
$import_info['system_error'] = $icecatliveImportModel->getSystemError();
|
293 |
+
$dataUrlProduct = "The product URL: {$dataUrlProduct}";
|
294 |
+
$this->_saveImportMessage($entity_id, $import_info['error'].$import_info['system_error']. $dataUrlProduct);
|
295 |
if (preg_match('/^Warning: You are not allowed to have Full ICEcat access$/', $import_info['error'])) {
|
296 |
if(empty($import_info['full_icecat_product'])){
|
297 |
$import_info['full_icecat_product'] = 1;
|
459 |
$sql = 'SELECT ea.`attribute_id`, eea.`entity_type_id`, eea.`attribute_set_id` FROM eav_attribute AS ea
|
460 |
LEFT JOIN eav_entity_attribute AS eea
|
461 |
ON eea.`attribute_id` = ea.`attribute_id`
|
462 |
+
WHERE ea.`attribute_code`="icecatlive_status";';
|
463 |
$query = $connection->fetchRow($sql);
|
464 |
$attribute_id = $query['attribute_id'];
|
465 |
$entity_type_id = $query['entity_type_id'];
|
657 |
}
|
658 |
$db_res->query("UPDATE `{$tablePrefix}cron_schedule` SET status='$status' WHERE job_code = '$job_code' AND executed_at='$date_crone_start'");
|
659 |
} catch (Exception $e){
|
660 |
+
Mage::log("Set crone status error: {$e->getMessage()}");
|
661 |
}
|
662 |
}
|
663 |
|
664 |
+
/**
|
665 |
+
* Method return vendor name
|
666 |
+
* @param type $entity_id Product id
|
667 |
+
* @return string vendor name
|
668 |
+
*/
|
669 |
+
public function getVendorName($entity_id){
|
670 |
+
$storeId = Mage::app()->getStore()->getStoreId();
|
671 |
+
$db_res = Mage::getSingleton('core/resource')->getConnection('core_write');
|
672 |
+
$icecat_manufacturer_attribute_code = Mage::getStoreConfig('icecat_root/icecat/manufacturer');
|
673 |
+
$tablePrefix = '';
|
674 |
+
$tPrefix = (array)Mage::getConfig()->getTablePrefix();
|
675 |
+
if (!empty($tPrefix)) {
|
676 |
+
$tablePrefix = $tPrefix[0];
|
677 |
+
}
|
678 |
+
$catalog_product_model = Mage::getModel('catalog/product');
|
679 |
+
$_product = $catalog_product_model->load($entity_id);
|
680 |
+
$vendorName = $_product->getData($icecat_manufacturer_attribute_code);
|
681 |
+
|
682 |
+
$query = "SELECT * FROM `{$tablePrefix}eav_attribute` AS ea WHERE ea.`attribute_code`='{$icecat_manufacturer_attribute_code}';";
|
683 |
+
$attribute = $db_res->fetchRow($query);
|
684 |
+
if($attribute['backend_type'] == 'int'){
|
685 |
+
$query = "SELECT eaov.`value` FROM `{$tablePrefix}eav_attribute_option_value` AS eaov
|
686 |
+
LEFT JOIN `{$tablePrefix}eav_attribute_option` AS eao
|
687 |
+
ON eao.`option_id` = eaov.`option_id`
|
688 |
+
LEFT JOIN `{$tablePrefix}eav_attribute` AS ea
|
689 |
+
ON ea.`attribute_id`=eao.`attribute_id`
|
690 |
+
WHERE ea.`attribute_code`='{$icecat_manufacturer_attribute_code}' AND eaov.`option_id`={$vendorName} AND eaov.`store_id`={$storeId} ;";
|
691 |
+
$attribute = $db_res->fetchRow($query);
|
692 |
+
|
693 |
+
return $attribute['value'];
|
694 |
+
|
695 |
+
} elseif($attribute['backend_type'] == 'varchar') {
|
696 |
+
return $vendorName;
|
697 |
+
}
|
698 |
+
return '';
|
699 |
+
}
|
700 |
+
|
701 |
}
|
702 |
|
703 |
+
?>
|
app/code/local/Iceshop/Icecatlive/sql/icecatlive_setup/{mysql4-install-1.7.0.php → mysql4-install-1.7.2.php}
RENAMED
File without changes
|
app/code/local/Iceshop/Icecatlive/sql/icecatlive_setup/mysql4-upgrade-1.6.0-1.7.0.php
CHANGED
@@ -19,7 +19,7 @@ $installer->run("
|
|
19 |
CREATE TABLE IF NOT EXISTS {$this->getTable('iceshop_icecatlive_noimport_products_id')} (
|
20 |
`prod_id` INT(255) UNSIGNED NOT NULL,
|
21 |
UNIQUE KEY (`prod_id`)
|
22 |
-
) ENGINE=
|
23 |
|
24 |
CREATE TABLE IF NOT EXISTS {$this->getTable('icecatlive/products_titles')} (
|
25 |
`prod_id` INT(255) UNSIGNED NOT NULL,
|
19 |
CREATE TABLE IF NOT EXISTS {$this->getTable('iceshop_icecatlive_noimport_products_id')} (
|
20 |
`prod_id` INT(255) UNSIGNED NOT NULL,
|
21 |
UNIQUE KEY (`prod_id`)
|
22 |
+
) ENGINE=INNODB DEFAULT CHARSET=utf8 COMMENT='Iceshop Connector not import products from icecat';
|
23 |
|
24 |
CREATE TABLE IF NOT EXISTS {$this->getTable('icecatlive/products_titles')} (
|
25 |
`prod_id` INT(255) UNSIGNED NOT NULL,
|
app/code/local/Iceshop/Icecatlive/sql/icecatlive_setup/mysql4-upgrade-1.7.0-1.7.2
ADDED
@@ -0,0 +1,40 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
<?php
|
2 |
+
include_once 'uninstall-old-version.php';
|
3 |
+
$unistaller_old_version = new Uninstall_Bintime_Icecatlive();
|
4 |
+
$unistaller_old_version->uninstall();
|
5 |
+
$installer = $this;
|
6 |
+
/* @var $installer Mage_Catalog_Model_Resource_Eav_Mysql4_Setup */
|
7 |
+
|
8 |
+
$installer->startSetup();
|
9 |
+
$installer->run("
|
10 |
+
DROP TABLE IF EXISTS {$this->getTable('bintime_connector_data')};
|
11 |
+
DROP TABLE IF EXISTS {$this->getTable('bintime_connector_data_old')};
|
12 |
+
DROP TABLE IF EXISTS {$this->getTable('bintime_connector_data_products')};
|
13 |
+
DROP TABLE IF EXISTS {$this->getTable('bintime_supplier_mapping')};
|
14 |
+
DROP TABLE IF EXISTS {$this->getTable('bintime_supplier_mapping_old')};
|
15 |
+
DROP TABLE IF EXISTS {$this->getTable('iceshop_icecatlive_connector_data')};
|
16 |
+
DROP TABLE IF EXISTS {$this->getTable('iceshop_icecatlive_supplier_mapping')};
|
17 |
+
DROP TABLE IF EXISTS {$this->getTable('iceshop_icecatlive_connector_data_products')} ;
|
18 |
+
|
19 |
+
CREATE TABLE IF NOT EXISTS {$this->getTable('iceshop_icecatlive_noimport_products_id')} (
|
20 |
+
`prod_id` INT(255) UNSIGNED NOT NULL,
|
21 |
+
UNIQUE KEY (`prod_id`)
|
22 |
+
) ENGINE=INNODB DEFAULT CHARSET=utf8 COMMENT='Iceshop Connector not import products from icecat';
|
23 |
+
|
24 |
+
CREATE TABLE IF NOT EXISTS {$this->getTable('icecatlive/products_titles')} (
|
25 |
+
`prod_id` INT(255) UNSIGNED NOT NULL,
|
26 |
+
`prod_title` VARCHAR(255) NULL DEFAULT NULL,
|
27 |
+
UNIQUE KEY (prod_id),
|
28 |
+
FOREIGN KEY (prod_id)
|
29 |
+
REFERENCES catalog_product_entity(entity_id)
|
30 |
+
ON DELETE CASCADE
|
31 |
+
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COMMENT='Iceshop Connector product titles';
|
32 |
+
|
33 |
+
CREATE TABLE IF NOT EXISTS {$this->getTable('iceshop_icecatlive_extensions_logs')} (
|
34 |
+
`log_key` VARCHAR(255) NOT NULL,
|
35 |
+
`log_value` varchar(255) DEFAULT NULL,
|
36 |
+
UNIQUE KEY (`log_key`)
|
37 |
+
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COMMENT='Iceshop Connector logs';
|
38 |
+
");
|
39 |
+
|
40 |
+
$installer->endSetup();
|
app/design/frontend/default/default/template/iceshop/icecatlive/groupattributes.phtml
CHANGED
@@ -5,7 +5,7 @@
|
|
5 |
<h2><?php echo $this->__('Additional Information') ?></h2>
|
6 |
|
7 |
<?php $i=0; foreach ($_additionalgroup as $_additional): $i++; ?>
|
8 |
-
|
9 |
<table class="data-table" id="product-attribute-specs-table-<?php echo $i?>">
|
10 |
<col width="25%" />
|
11 |
<col />
|
5 |
<h2><?php echo $this->__('Additional Information') ?></h2>
|
6 |
|
7 |
<?php $i=0; foreach ($_additionalgroup as $_additional): $i++; ?>
|
8 |
+
<h3><?php if(!empty($_additional['title'])){ echo $this->__( $_additional['title'] ); }?></h3>
|
9 |
<table class="data-table" id="product-attribute-specs-table-<?php echo $i?>">
|
10 |
<col width="25%" />
|
11 |
<col />
|
package.xml
CHANGED
@@ -1,7 +1,7 @@
|
|
1 |
<?xml version="1.0"?>
|
2 |
<package>
|
3 |
<name>IcecatLive</name>
|
4 |
-
<version>1.7.
|
5 |
<stability>stable</stability>
|
6 |
<license uri="http://opensource.org/licenses/osl-3.0.php">OSL v.3</license>
|
7 |
<channel>community</channel>
|
@@ -9,11 +9,12 @@
|
|
9 |
<summary>ICEcat to Magento Open Source Connector</summary>
|
10 |
<description>Edit Extension Package Extensions Magento Connect System Magento Admin</description>
|
11 |
<notes>Improvements:
|
12 |
-
|
|
|
13 |
<authors><author><name>IceShop</name><user>IceShop</user><email>support@iceshop.nl</email></author></authors>
|
14 |
-
<date>2015-03-
|
15 |
-
<time>
|
16 |
-
<contents><target name="magedesign"><dir name="adminhtml"><dir name="default"><dir name="default"><dir name="layout"><file name="icecatlive.xml" hash="d1654d4bcbc4f11b58b728d5c269c704"/></dir><dir name="template"><dir name="iceshop"><dir name="icecatlive"><file name="ajaxstatusimport.phtml" hash="94ff5a5db0bb6990342810a8e8495848"/><file name="notifications.phtml" hash="90fe6df8ae9655f6f3c6c77685540c08"/></dir></dir></dir></dir></dir></dir><dir name="frontend"><dir name="default"><dir name="default"><dir name="layout"><dir name="iceshop"><dir name="icecatlive"><file name="groupattributes.xml" hash="29fb1f5d19c04221f668485dccace23d"/></dir></dir></dir><dir name="template"><dir name="iceshop"><dir name="icecatlive"><file name="groupattributes.phtml" hash="
|
17 |
<compatible/>
|
18 |
<dependencies><required><php><min>5.2.0</min><max>6.0.0</max></php></required></dependencies>
|
19 |
</package>
|
1 |
<?xml version="1.0"?>
|
2 |
<package>
|
3 |
<name>IcecatLive</name>
|
4 |
+
<version>1.7.2</version>
|
5 |
<stability>stable</stability>
|
6 |
<license uri="http://opensource.org/licenses/osl-3.0.php">OSL v.3</license>
|
7 |
<channel>community</channel>
|
9 |
<summary>ICEcat to Magento Open Source Connector</summary>
|
10 |
<description>Edit Extension Package Extensions Magento Connect System Magento Admin</description>
|
11 |
<notes>Improvements:
|
12 |
+

|
13 |
+
- Default image selection won't be overwritten by the module</notes>
|
14 |
<authors><author><name>IceShop</name><user>IceShop</user><email>support@iceshop.nl</email></author></authors>
|
15 |
+
<date>2015-03-23</date>
|
16 |
+
<time>15:33:52</time>
|
17 |
+
<contents><target name="magedesign"><dir name="adminhtml"><dir name="default"><dir name="default"><dir name="layout"><file name="icecatlive.xml" hash="d1654d4bcbc4f11b58b728d5c269c704"/></dir><dir name="template"><dir name="iceshop"><dir name="icecatlive"><file name="ajaxstatusimport.phtml" hash="94ff5a5db0bb6990342810a8e8495848"/><file name="notifications.phtml" hash="90fe6df8ae9655f6f3c6c77685540c08"/></dir></dir></dir></dir></dir></dir><dir name="frontend"><dir name="default"><dir name="default"><dir name="layout"><dir name="iceshop"><dir name="icecatlive"><file name="groupattributes.xml" hash="29fb1f5d19c04221f668485dccace23d"/></dir></dir></dir><dir name="template"><dir name="iceshop"><dir name="icecatlive"><file name="groupattributes.phtml" hash="4700d3c6330273cf48625666b3e899e4"/></dir></dir></dir></dir></dir></dir></target><target name="magelocal"><dir name="Iceshop"><dir name="Icecatlive"><dir name="Block"><dir name="Adminhtml"><file name="Notifications.php" hash="3a0dfe93ead9f74b1f648d16f75c58f8"/><dir name="Product"><dir name="List"><file name="Grid.php" hash="05fd6fcae7bda3b28a1ea9947460d425"/></dir></dir><dir name="System"><dir name="Config"><dir name="Form"><file name="Button.php" hash="b9112e6539624cc88c215aecf88cef00"/><file name="UpdateButton.php" hash="78bb6e863c1c2f53720c50a0c2ec65e7"/></dir></dir></dir></dir><file name="Attributes.php" hash="394eb7d9f03b79b63fa2dd44842f262a"/><dir name="Product"><dir name="List"><file name="Toolbar.php" hash="03f6259ebb44b41df7d03581bbd9c84a"/></dir></dir><file name="Related.php" hash="1bbac689a628d86ba9704a7b752df286"/><file name="Upsell.php" hash="0dfaba7ae6bc688215a56065101b4544"/></dir><dir name="CatalogSearch"><dir name="Block"><file name="Result.php" hash="199bd394ca894bf82964805270318f09"/></dir></dir><dir name="Helper"><file name="Data.php" hash="b06f19391dba03ecaef4742a42f71902"/><file name="Db.php" hash="30ee856f7f1f42b7fd55660ef14a8106"/><file name="Format.php" hash="ac13e6bb5cdc5919bfad215e1fca4a7b"/><file name="Getdata.php" hash="85dd7bf14c9b232ccf078a99241add1c"/><file name="Output.php" hash="5698b83f62043e95c5f33d603ccbc03a"/><dir name="System"><file name="System.php" hash="ea277a89745de7b28993509f8dee2bab"/><file name="Systemcheck.php" hash="c26d63ea23958012d9fccb0cea339b08"/></dir></dir><dir name="Model"><dir name="Catalog"><file name="Category.php" hash="e4ab9f04ded0059e3f9b7e568586d903"/><file name="Product.php" hash="03794cce61bf0e924ae33593a850d7ea"/><file name="Search.php" hash="8d5c8b59c35a8449c8e4a8e30285d38b"/></dir><file name="Import.php" hash="1110b20db2bb3e851a0435722dce9b4f"/><file name="Observer.php" hash="f24c5c2c20b5beac6ac0dd90a7162f64"/><file name="Relatedcollection.php" hash="82a0585c3404d94dcb4e3a1606bae546"/><dir name="System"><dir name="Config"><file name="Attributes.php" hash="85b2cacd4ef51fa5bb166c4394fdf6f8"/><file name="Checksystem.php" hash="782d1861c87717a347e9aeafb533cabb"/><file name="Descriptionpriority.php" hash="4facaa955e0799b94bf8c7e5e60f64d5"/><file name="Iceshoplink.php" hash="0342f048a75aa382fae42082618218f4"/><file name="Imagepriority.php" hash="ef7a85c5b4ed0562b75096e569720173"/><file name="Importdata.php" hash="25196649542ccc4df2da39f6cc1ec043"/><file name="LanguageList.xml" hash="52aaea2acd5acd2c0d4f63de4f4621bc"/><file name="Loadingtype.php" hash="35ef5c60a7fb1c81852c6e04d066f79f"/><file name="Locales.php" hash="604a6087f75a4dddbf271ac2145356a8"/><file name="Namepriority.php" hash="05e06b1e0fe303d5efc4d4f24dd1df01"/><file name="Onlynewproducts.php" hash="6e758f07cd5d5f16237b45df3492b9e7"/><file name="Productpriority.php" hash="62b5912d7af4a8c7ff5f92c887c70128"/><file name="Shortdescrpriority.php" hash="946c34829295aa50b79f1e8fa7d48eaa"/><file name="Subscription.php" hash="6c4e8895b28fdcaab6001ac2a8fa995b"/><file name="Viewattributes.php" hash="8f0ac7b0091adb1a15564f2a7b9c6b04"/></dir></dir></dir><dir name="controllers"><dir name="Adminhtml"><file name="ImportdataController.php" hash="c4874ee811ce4d3d446835ddc6cb2f94"/><file name="ImportproductController.php" hash="5693e28bf5ef3804ed82a9c81f820538"/><file name="ImportproductinfoController.php" hash="5f6fc5b5517b22d796e1b5a81cb199c4"/><file name="ImportprogressController.php" hash="a9212979beb0aa57447d7d70f3297a28"/></dir><file name="IcecatliveController.php" hash="df125f5a2a662bd4cb76ce387a85650f"/><file name="ImageController.php" hash="35e08758e0dfdae450e9aaa342a6b777"/></dir><dir name="etc"><file name="adminhtml.xml" hash="bbfbb08ba646a3f4f3fb38873858930b"/><file name="config.xml" hash="a8a26dc50769f26d43e5971b291e7df5"/><file name="system.xml" hash="106e4eca7100934fef289c95e2a6e7dc"/></dir><dir name="sql"><dir name="icecatlive_setup"><file name="mysql4-install-1.7.2.php" hash="d4a9c36d50f080209df067f09b6294fb"/><file name="mysql4-upgrade-0.1.0-1.6.0.php" hash="3eabfeabdd60bbea11ef1c53251de5a8"/><file name="mysql4-upgrade-0.1.1-1.6.0.php" hash="3eabfeabdd60bbea11ef1c53251de5a8"/><file name="mysql4-upgrade-1.5.0-1.6.0.php" hash="3eabfeabdd60bbea11ef1c53251de5a8"/><file name="mysql4-upgrade-1.6.0-1.7.0.php" hash="d4a9c36d50f080209df067f09b6294fb"/><file name="mysql4-upgrade-1.7.0-1.7.2" hash="d4a9c36d50f080209df067f09b6294fb"/><file name="uninstall-old-version.php" hash="ad30e3ae29ba1d7fdfe61dc05476a1d3"/></dir></dir></dir></dir></target><target name="mage"><dir name="js"><dir name="ICEshop"><dir name="Icecatlive"><file name="jquery-1.9.1.min.js" hash="fee4c9e0129fb2b8830a3c17638c44b0"/><file name="multi-lingual-store-field.js" hash="b99ce2b343cc5dbca86bb9165bcc444d"/><file name="script.js" hash="a66a957b7956f895a5065d8c9c5a12f8"/></dir></dir></dir><dir name="skin"><dir name="adminhtml"><dir name="default"><dir name="default"><dir name="iceshop"><dir name="icecatlive"><dir name="images"><file name="iceshop_logo_small_16px.png" hash="4ef632b4b89a047789307b301b9dfb6e"/></dir><file name="styles.css" hash="9bfab144d8ddfd445fe3bbaecac9cc53"/></dir></dir></dir></dir></dir></dir></target><target name="mageetc"><dir name="modules"><file name="Iceshop_Icecatlive.xml" hash="b097c8e9a31651d1ab43ff1db9f30d56"/></dir></target></contents>
|
18 |
<compatible/>
|
19 |
<dependencies><required><php><min>5.2.0</min><max>6.0.0</max></php></required></dependencies>
|
20 |
</package>
|