Version Notes
Bug-fix and improvements (Tested on Magento 1.9.x)
1. Covered a case of a pre-existing attribute set while creating a new one.
2. Logging source attribute group id instead of magento attribute group id
3. Handled the case when attribute is missing in magento while trying to update the parent attribute group
4. Removed importing of weight for a configurable product
Download this release
Release Info
Developer | Vince Clark |
Extension | Gec_Customimport |
Version | 2.0.0.5 |
Comparing to | |
See all releases |
Code changes from version 2.0.0.4 to 2.0.0.5
- app/code/local/Gec/Customimport/Block/Adminhtml/Catalogimport.php +2 -1
- app/code/local/Gec/Customimport/Block/Adminhtml/Customimport.php +14 -8
- app/code/local/Gec/Customimport/Block/Catalog/Product/Attribute/Edit/Tab/Options.php +3 -2
- app/code/local/Gec/Customimport/Helper/Catalog/Image.php +3 -2
- app/code/local/Gec/Customimport/Helper/Data.php +3 -2
- app/code/local/Gec/Customimport/Model/Attrgroup.php +3 -2
- app/code/local/Gec/Customimport/Model/Attrsetmapping.php +3 -2
- app/code/local/Gec/Customimport/Model/Catalog/Resource/Eav/Mysql4/Attribute.php +3 -2
- app/code/local/Gec/Customimport/Model/Catalogentity.php +3 -2
- app/code/local/Gec/Customimport/Model/Customimport.php +5 -4
- app/code/local/Gec/Customimport/Model/Eavattributegroup.php +3 -2
- app/code/local/Gec/Customimport/Model/Eavattributeoption.php +3 -2
- app/code/local/Gec/Customimport/Model/Eaventityattribute.php +3 -2
- app/code/local/Gec/Customimport/Model/Externalcategorymappinginfo.php +3 -2
- app/code/local/Gec/Customimport/Model/Mysql4/Attrgroup.php +3 -2
- app/code/local/Gec/Customimport/Model/Mysql4/Attrgroup/Collection.php +3 -2
- app/code/local/Gec/Customimport/Model/Mysql4/Attrsetmapping.php +3 -2
- app/code/local/Gec/Customimport/Model/Mysql4/Attrsetmapping/Collection.php +3 -2
- app/code/local/Gec/Customimport/Model/Mysql4/Catalogentity.php +3 -2
- app/code/local/Gec/Customimport/Model/Mysql4/Catalogentity/Collection.php +3 -2
- app/code/local/Gec/Customimport/Model/Mysql4/Customimport.php +3 -2
- app/code/local/Gec/Customimport/Model/Mysql4/Customimport/Collection.php +3 -2
- app/code/local/Gec/Customimport/Model/Mysql4/Eavattributegroup.php +3 -2
- app/code/local/Gec/Customimport/Model/Mysql4/Eavattributegroup/Collection.php +3 -2
- app/code/local/Gec/Customimport/Model/Mysql4/Eavattributeoption.php +3 -2
- app/code/local/Gec/Customimport/Model/Mysql4/Eavattributeoption/Collection.php +3 -2
- app/code/local/Gec/Customimport/Model/Mysql4/Eaventityattribute.php +3 -2
- app/code/local/Gec/Customimport/Model/Mysql4/Eaventityattribute/Collection.php +3 -2
- app/code/local/Gec/Customimport/Model/Mysql4/Externalcategorymappinginfo.php +3 -2
- app/code/local/Gec/Customimport/Model/Mysql4/Externalcategorymappinginfo/Collection.php +3 -2
- app/code/local/Gec/Customimport/Model/Mysql4/Setup.php +4 -3
- app/code/local/Gec/Customimport/Model/Status.php +3 -2
- app/code/local/Gec/Customimport/controllers/Adminhtml/IndexController.php +19 -0
- app/code/local/Gec/Customimport/etc/adminhtml.xml +19 -1
- app/code/local/Gec/Customimport/etc/config.xml +18 -18
- app/code/local/Gec/Customimport/etc/system.xml +17 -24
- app/code/local/Gec/Customimport/sql/customimport_setup/mysql4-install-0.1.0.php +3 -2
- app/design/adminhtml/default/default/template/customimport/customimport.phtml +18 -0
- app/design/adminhtml/default/default/template/gec/catalog/product/attribute/options.phtml +5 -4
- app/etc/modules/Gec_Customimport.xml +18 -19
- package.xml +9 -9
app/code/local/Gec/Customimport/Block/Adminhtml/Catalogimport.php
CHANGED
@@ -1,7 +1,8 @@
|
|
1 |
<?php
|
2 |
/**
|
3 |
-
# Copyright (C) 2013 Global Era (http://www.globalera.com). All Rights Reserved
|
4 |
# @author Serenus Infotech <magento@serenusinfotech.com>
|
|
|
5 |
#
|
6 |
# This program is free software: you can redistribute it and/or modify
|
7 |
# it under the terms of the GNU Affero General Public License as
|
1 |
<?php
|
2 |
/**
|
3 |
+
# Copyright (C) 2013-2015 Global Era Commerce (http://www.globalera.com). All Rights Reserved
|
4 |
# @author Serenus Infotech <magento@serenusinfotech.com>
|
5 |
+
# @author Intelliant <magento@intelliant.net>
|
6 |
#
|
7 |
# This program is free software: you can redistribute it and/or modify
|
8 |
# it under the terms of the GNU Affero General Public License as
|
app/code/local/Gec/Customimport/Block/Adminhtml/Customimport.php
CHANGED
@@ -169,8 +169,12 @@ class Gec_Customimport_Block_Adminhtml_Customimport extends Gec_Customimport_Blo
|
|
169 |
Mage::throwException($this->customHelper->__('This attribute set no longer exists.'));
|
170 |
}
|
171 |
$modelSet->setAttributeSetName(trim($attribute_set_name));
|
172 |
-
|
173 |
-
|
|
|
|
|
|
|
|
|
174 |
return $attributeSetId;
|
175 |
}
|
176 |
|
@@ -336,11 +340,15 @@ class Gec_Customimport_Block_Adminhtml_Customimport extends Gec_Customimport_Blo
|
|
336 |
if ($attributeGroupId) {
|
337 |
$setup = new Mage_Eav_Model_Entity_Setup('core_setup');
|
338 |
$attribute_id = $setup->getAttributeId('catalog_product', $attribute_code);
|
339 |
-
|
340 |
-
|
341 |
-
$mapobj->updateSequenceOfAttribute($attributeGroupId, $attribute_id, $attribute_sort_order, $attribute_code);
|
342 |
} else {
|
343 |
-
$
|
|
|
|
|
|
|
|
|
|
|
344 |
}
|
345 |
}
|
346 |
}
|
@@ -905,7 +913,6 @@ class Gec_Customimport_Block_Adminhtml_Customimport extends Gec_Customimport_Blo
|
|
905 |
$product->setSpecialToDate("");
|
906 |
}
|
907 |
|
908 |
-
$product->setWeight((real) $item->weight);
|
909 |
$product->setStatus($p_status);
|
910 |
$product->setTaxClassId($p_taxclass);
|
911 |
$product->setDescription((string) $item->longDescription);
|
@@ -1055,7 +1062,6 @@ class Gec_Customimport_Block_Adminhtml_Customimport extends Gec_Customimport_Blo
|
|
1055 |
if (!empty($toDate))
|
1056 |
$product->setSpecialToDate(Mage::helper('customimport')->getCurrentLocaleDateTime($item->specialPrice->toDateTime)); //special price to (MM-DD-YYYY)
|
1057 |
}
|
1058 |
-
$product->setWeight((real) $item->weight);
|
1059 |
$product->setStatus($p_status);
|
1060 |
$product->setTaxClassId($p_taxclass);
|
1061 |
$product->setDescription((string) $item->longDescription);
|
169 |
Mage::throwException($this->customHelper->__('This attribute set no longer exists.'));
|
170 |
}
|
171 |
$modelSet->setAttributeSetName(trim($attribute_set_name));
|
172 |
+
try {
|
173 |
+
$modelSet->validate();
|
174 |
+
$modelSet->save();
|
175 |
+
} catch (Exception $e) {
|
176 |
+
$this->customHelper->reportError($this->customHelper->__('Attribute set name %s with id %s already exists in magento system with the same name', $attribute_set_name, $external_id));
|
177 |
+
}
|
178 |
return $attributeSetId;
|
179 |
}
|
180 |
|
340 |
if ($attributeGroupId) {
|
341 |
$setup = new Mage_Eav_Model_Entity_Setup('core_setup');
|
342 |
$attribute_id = $setup->getAttributeId('catalog_product', $attribute_code);
|
343 |
+
if (!$attribute_id) {
|
344 |
+
$this->customHelper->reportError($this->customHelper->__("Attribute Code %s is missing during attribute group %s import."),$attribute_code, $attribute_group_id);
|
|
|
345 |
} else {
|
346 |
+
$attribute_exists = $mapobj->isAttributeExistsInGroup($attribute_id, $attributeGroupId);
|
347 |
+
if ($attribute_exists) {
|
348 |
+
$mapobj->updateSequenceOfAttribute($attributeGroupId, $attribute_id, $attribute_sort_order, $attribute_code, $attribute_group_id);
|
349 |
+
} else {
|
350 |
+
$setup->addAttributeToGroup('catalog_product', $attributeSetId, $attributeGroupId, $attribute_id, $attribute_sort_order);
|
351 |
+
}
|
352 |
}
|
353 |
}
|
354 |
}
|
913 |
$product->setSpecialToDate("");
|
914 |
}
|
915 |
|
|
|
916 |
$product->setStatus($p_status);
|
917 |
$product->setTaxClassId($p_taxclass);
|
918 |
$product->setDescription((string) $item->longDescription);
|
1062 |
if (!empty($toDate))
|
1063 |
$product->setSpecialToDate(Mage::helper('customimport')->getCurrentLocaleDateTime($item->specialPrice->toDateTime)); //special price to (MM-DD-YYYY)
|
1064 |
}
|
|
|
1065 |
$product->setStatus($p_status);
|
1066 |
$product->setTaxClassId($p_taxclass);
|
1067 |
$product->setDescription((string) $item->longDescription);
|
app/code/local/Gec/Customimport/Block/Catalog/Product/Attribute/Edit/Tab/Options.php
CHANGED
@@ -1,7 +1,8 @@
|
|
1 |
<?php
|
2 |
/**
|
3 |
-
# Copyright (C) 2013 Global Era (http://www.globalera.com). All Rights Reserved
|
4 |
# @author Serenus Infotech <magento@serenusinfotech.com>
|
|
|
5 |
#
|
6 |
# This program is free software: you can redistribute it and/or modify
|
7 |
# it under the terms of the GNU Affero General Public License as
|
@@ -15,7 +16,7 @@
|
|
15 |
#
|
16 |
# You should have received a copy of the GNU Affero General Public License
|
17 |
# along with this program. If not, see <http://www.gnu.org/licenses/>.
|
18 |
-
**/
|
19 |
|
20 |
class Gec_Customimport_Block_Catalog_Product_Attribute_Edit_Tab_Options extends Mage_Adminhtml_Block_Catalog_Product_Attribute_Edit_Tab_Options
|
21 |
{
|
1 |
<?php
|
2 |
/**
|
3 |
+
# Copyright (C) 2013-2015 Global Era Commerce (http://www.globalera.com). All Rights Reserved
|
4 |
# @author Serenus Infotech <magento@serenusinfotech.com>
|
5 |
+
# @author Intelliant <magento@intelliant.net>
|
6 |
#
|
7 |
# This program is free software: you can redistribute it and/or modify
|
8 |
# it under the terms of the GNU Affero General Public License as
|
16 |
#
|
17 |
# You should have received a copy of the GNU Affero General Public License
|
18 |
# along with this program. If not, see <http://www.gnu.org/licenses/>.
|
19 |
+
**/
|
20 |
|
21 |
class Gec_Customimport_Block_Catalog_Product_Attribute_Edit_Tab_Options extends Mage_Adminhtml_Block_Catalog_Product_Attribute_Edit_Tab_Options
|
22 |
{
|
app/code/local/Gec/Customimport/Helper/Catalog/Image.php
CHANGED
@@ -1,7 +1,8 @@
|
|
1 |
<?php
|
2 |
/**
|
3 |
-
# Copyright (C) 2013 Global Era (http://www.globalera.com). All Rights Reserved
|
4 |
# @author Serenus Infotech <magento@serenusinfotech.com>
|
|
|
5 |
#
|
6 |
# This program is free software: you can redistribute it and/or modify
|
7 |
# it under the terms of the GNU Affero General Public License as
|
@@ -15,7 +16,7 @@
|
|
15 |
#
|
16 |
# You should have received a copy of the GNU Affero General Public License
|
17 |
# along with this program. If not, see <http://www.gnu.org/licenses/>.
|
18 |
-
**/
|
19 |
|
20 |
class Gec_Customimport_Helper_Catalog_Image extends Mage_Catalog_Helper_Image
|
21 |
{
|
1 |
<?php
|
2 |
/**
|
3 |
+
# Copyright (C) 2013-2015 Global Era Commerce (http://www.globalera.com). All Rights Reserved
|
4 |
# @author Serenus Infotech <magento@serenusinfotech.com>
|
5 |
+
# @author Intelliant <magento@intelliant.net>
|
6 |
#
|
7 |
# This program is free software: you can redistribute it and/or modify
|
8 |
# it under the terms of the GNU Affero General Public License as
|
16 |
#
|
17 |
# You should have received a copy of the GNU Affero General Public License
|
18 |
# along with this program. If not, see <http://www.gnu.org/licenses/>.
|
19 |
+
**/
|
20 |
|
21 |
class Gec_Customimport_Helper_Catalog_Image extends Mage_Catalog_Helper_Image
|
22 |
{
|
app/code/local/Gec/Customimport/Helper/Data.php
CHANGED
@@ -1,7 +1,8 @@
|
|
1 |
<?php
|
2 |
/**
|
3 |
-
# Copyright (C) 2013 Global Era (http://www.globalera.com). All Rights Reserved
|
4 |
# @author Serenus Infotech <magento@serenusinfotech.com>
|
|
|
5 |
#
|
6 |
# This program is free software: you can redistribute it and/or modify
|
7 |
# it under the terms of the GNU Affero General Public License as
|
@@ -15,7 +16,7 @@
|
|
15 |
#
|
16 |
# You should have received a copy of the GNU Affero General Public License
|
17 |
# along with this program. If not, see <http://www.gnu.org/licenses/>.
|
18 |
-
**/
|
19 |
|
20 |
class Gec_Customimport_Helper_Data extends Mage_Core_Helper_Abstract
|
21 |
{
|
1 |
<?php
|
2 |
/**
|
3 |
+
# Copyright (C) 2013-2015 Global Era Commerce (http://www.globalera.com). All Rights Reserved
|
4 |
# @author Serenus Infotech <magento@serenusinfotech.com>
|
5 |
+
# @author Intelliant <magento@intelliant.net>
|
6 |
#
|
7 |
# This program is free software: you can redistribute it and/or modify
|
8 |
# it under the terms of the GNU Affero General Public License as
|
16 |
#
|
17 |
# You should have received a copy of the GNU Affero General Public License
|
18 |
# along with this program. If not, see <http://www.gnu.org/licenses/>.
|
19 |
+
**/
|
20 |
|
21 |
class Gec_Customimport_Helper_Data extends Mage_Core_Helper_Abstract
|
22 |
{
|
app/code/local/Gec/Customimport/Model/Attrgroup.php
CHANGED
@@ -1,7 +1,8 @@
|
|
1 |
<?php
|
2 |
/**
|
3 |
-
# Copyright (C) 2013 Global Era (http://www.globalera.com). All Rights Reserved
|
4 |
# @author Serenus Infotech <magento@serenusinfotech.com>
|
|
|
5 |
#
|
6 |
# This program is free software: you can redistribute it and/or modify
|
7 |
# it under the terms of the GNU Affero General Public License as
|
@@ -15,7 +16,7 @@
|
|
15 |
#
|
16 |
# You should have received a copy of the GNU Affero General Public License
|
17 |
# along with this program. If not, see <http://www.gnu.org/licenses/>.
|
18 |
-
**/
|
19 |
|
20 |
class Gec_Customimport_Model_Attrgroup extends Mage_Core_Model_Abstract {
|
21 |
/**
|
1 |
<?php
|
2 |
/**
|
3 |
+
# Copyright (C) 2013-2015 Global Era Commerce (http://www.globalera.com). All Rights Reserved
|
4 |
# @author Serenus Infotech <magento@serenusinfotech.com>
|
5 |
+
# @author Intelliant <magento@intelliant.net>
|
6 |
#
|
7 |
# This program is free software: you can redistribute it and/or modify
|
8 |
# it under the terms of the GNU Affero General Public License as
|
16 |
#
|
17 |
# You should have received a copy of the GNU Affero General Public License
|
18 |
# along with this program. If not, see <http://www.gnu.org/licenses/>.
|
19 |
+
**/
|
20 |
|
21 |
class Gec_Customimport_Model_Attrgroup extends Mage_Core_Model_Abstract {
|
22 |
/**
|
app/code/local/Gec/Customimport/Model/Attrsetmapping.php
CHANGED
@@ -1,7 +1,8 @@
|
|
1 |
<?php
|
2 |
/**
|
3 |
-
# Copyright (C) 2013 Global Era (http://www.globalera.com). All Rights Reserved
|
4 |
# @author Serenus Infotech <magento@serenusinfotech.com>
|
|
|
5 |
#
|
6 |
# This program is free software: you can redistribute it and/or modify
|
7 |
# it under the terms of the GNU Affero General Public License as
|
@@ -15,7 +16,7 @@
|
|
15 |
#
|
16 |
# You should have received a copy of the GNU Affero General Public License
|
17 |
# along with this program. If not, see <http://www.gnu.org/licenses/>.
|
18 |
-
**/
|
19 |
|
20 |
class Gec_Customimport_Model_Attrsetmapping extends Mage_Core_Model_Abstract
|
21 |
{
|
1 |
<?php
|
2 |
/**
|
3 |
+
# Copyright (C) 2013-2015 Global Era Commerce (http://www.globalera.com). All Rights Reserved
|
4 |
# @author Serenus Infotech <magento@serenusinfotech.com>
|
5 |
+
# @author Intelliant <magento@intelliant.net>
|
6 |
#
|
7 |
# This program is free software: you can redistribute it and/or modify
|
8 |
# it under the terms of the GNU Affero General Public License as
|
16 |
#
|
17 |
# You should have received a copy of the GNU Affero General Public License
|
18 |
# along with this program. If not, see <http://www.gnu.org/licenses/>.
|
19 |
+
**/
|
20 |
|
21 |
class Gec_Customimport_Model_Attrsetmapping extends Mage_Core_Model_Abstract
|
22 |
{
|
app/code/local/Gec/Customimport/Model/Catalog/Resource/Eav/Mysql4/Attribute.php
CHANGED
@@ -1,7 +1,8 @@
|
|
1 |
<?php
|
2 |
/**
|
3 |
-
# Copyright (C) 2013 Global Era (http://www.globalera.com). All Rights Reserved
|
4 |
# @author Serenus Infotech <magento@serenusinfotech.com>
|
|
|
5 |
#
|
6 |
# This program is free software: you can redistribute it and/or modify
|
7 |
# it under the terms of the GNU Affero General Public License as
|
@@ -15,7 +16,7 @@
|
|
15 |
#
|
16 |
# You should have received a copy of the GNU Affero General Public License
|
17 |
# along with this program. If not, see <http://www.gnu.org/licenses/>.
|
18 |
-
**/
|
19 |
|
20 |
class Gec_Customimport_Model_Catalog_Resource_Eav_Mysql4_Attribute extends Mage_Catalog_Model_Resource_Eav_Mysql4_Attribute
|
21 |
{
|
1 |
<?php
|
2 |
/**
|
3 |
+
# Copyright (C) 2013-2015 Global Era Commerce (http://www.globalera.com). All Rights Reserved
|
4 |
# @author Serenus Infotech <magento@serenusinfotech.com>
|
5 |
+
# @author Intelliant <magento@intelliant.net>
|
6 |
#
|
7 |
# This program is free software: you can redistribute it and/or modify
|
8 |
# it under the terms of the GNU Affero General Public License as
|
16 |
#
|
17 |
# You should have received a copy of the GNU Affero General Public License
|
18 |
# along with this program. If not, see <http://www.gnu.org/licenses/>.
|
19 |
+
**/
|
20 |
|
21 |
class Gec_Customimport_Model_Catalog_Resource_Eav_Mysql4_Attribute extends Mage_Catalog_Model_Resource_Eav_Mysql4_Attribute
|
22 |
{
|
app/code/local/Gec/Customimport/Model/Catalogentity.php
CHANGED
@@ -1,7 +1,8 @@
|
|
1 |
<?php
|
2 |
/**
|
3 |
-
# Copyright (C) 2013 Global Era (http://www.globalera.com). All Rights Reserved
|
4 |
# @author Serenus Infotech <magento@serenusinfotech.com>
|
|
|
5 |
#
|
6 |
# This program is free software: you can redistribute it and/or modify
|
7 |
# it under the terms of the GNU Affero General Public License as
|
@@ -15,7 +16,7 @@
|
|
15 |
#
|
16 |
# You should have received a copy of the GNU Affero General Public License
|
17 |
# along with this program. If not, see <http://www.gnu.org/licenses/>.
|
18 |
-
**/
|
19 |
|
20 |
class Gec_Customimport_Model_Catalogentity extends Mage_Core_Model_Abstract
|
21 |
{
|
1 |
<?php
|
2 |
/**
|
3 |
+
# Copyright (C) 2013-2015 Global Era Commerce (http://www.globalera.com). All Rights Reserved
|
4 |
# @author Serenus Infotech <magento@serenusinfotech.com>
|
5 |
+
# @author Intelliant <magento@intelliant.net>
|
6 |
#
|
7 |
# This program is free software: you can redistribute it and/or modify
|
8 |
# it under the terms of the GNU Affero General Public License as
|
16 |
#
|
17 |
# You should have received a copy of the GNU Affero General Public License
|
18 |
# along with this program. If not, see <http://www.gnu.org/licenses/>.
|
19 |
+
**/
|
20 |
|
21 |
class Gec_Customimport_Model_Catalogentity extends Mage_Core_Model_Abstract
|
22 |
{
|
app/code/local/Gec/Customimport/Model/Customimport.php
CHANGED
@@ -1,7 +1,8 @@
|
|
1 |
<?php
|
2 |
/**
|
3 |
-
# Copyright (C) 2013 Global Era (http://www.globalera.com). All Rights Reserved
|
4 |
# @author Serenus Infotech <magento@serenusinfotech.com>
|
|
|
5 |
#
|
6 |
# This program is free software: you can redistribute it and/or modify
|
7 |
# it under the terms of the GNU Affero General Public License as
|
@@ -15,7 +16,7 @@
|
|
15 |
#
|
16 |
# You should have received a copy of the GNU Affero General Public License
|
17 |
# along with this program. If not, see <http://www.gnu.org/licenses/>.
|
18 |
-
**/
|
19 |
|
20 |
class Gec_Customimport_Model_Customimport extends Mage_Core_Model_Abstract
|
21 |
{
|
@@ -93,7 +94,7 @@ class Gec_Customimport_Model_Customimport extends Mage_Core_Model_Abstract
|
|
93 |
return $eaventityattributeCollection->getFirstItem()->getEntityAttributeId();
|
94 |
}
|
95 |
|
96 |
-
public function updateSequenceOfAttribute($attributeGroupId, $attribute_id, $attribute_sort_order, $attribute_code = '')
|
97 |
{
|
98 |
$eaventityattribute = Mage::getModel('customimport/eaventityattribute');
|
99 |
$eaventityattributeCollection = $eaventityattribute->getCollection()->addFieldToFilter('attribute_group_id', array(
|
@@ -110,7 +111,7 @@ class Gec_Customimport_Model_Customimport extends Mage_Core_Model_Abstract
|
|
110 |
$eaventityattribute->load($id)->addData($data);
|
111 |
try {
|
112 |
$eaventityattribute->setEntityAttributeId($id)->save();
|
113 |
-
$this->customHelper->reportSuccess($this->customHelper->__('Attribute %s is updated successfully in %s attribute group', $attribute_code, $
|
114 |
}
|
115 |
catch (Exception $e) {
|
116 |
$this->customHelper->reportError($e->getMessage());
|
1 |
<?php
|
2 |
/**
|
3 |
+
# Copyright (C) 2013-2015 Global Era Commerce (http://www.globalera.com). All Rights Reserved
|
4 |
# @author Serenus Infotech <magento@serenusinfotech.com>
|
5 |
+
# @author Intelliant <magento@intelliant.net>
|
6 |
#
|
7 |
# This program is free software: you can redistribute it and/or modify
|
8 |
# it under the terms of the GNU Affero General Public License as
|
16 |
#
|
17 |
# You should have received a copy of the GNU Affero General Public License
|
18 |
# along with this program. If not, see <http://www.gnu.org/licenses/>.
|
19 |
+
**/
|
20 |
|
21 |
class Gec_Customimport_Model_Customimport extends Mage_Core_Model_Abstract
|
22 |
{
|
94 |
return $eaventityattributeCollection->getFirstItem()->getEntityAttributeId();
|
95 |
}
|
96 |
|
97 |
+
public function updateSequenceOfAttribute($attributeGroupId, $attribute_id, $attribute_sort_order, $attribute_code = '', $attribute_group_id)
|
98 |
{
|
99 |
$eaventityattribute = Mage::getModel('customimport/eaventityattribute');
|
100 |
$eaventityattributeCollection = $eaventityattribute->getCollection()->addFieldToFilter('attribute_group_id', array(
|
111 |
$eaventityattribute->load($id)->addData($data);
|
112 |
try {
|
113 |
$eaventityattribute->setEntityAttributeId($id)->save();
|
114 |
+
$this->customHelper->reportSuccess($this->customHelper->__('Attribute %s is updated successfully in %s attribute group', $attribute_code, $attribute_group_id));
|
115 |
}
|
116 |
catch (Exception $e) {
|
117 |
$this->customHelper->reportError($e->getMessage());
|
app/code/local/Gec/Customimport/Model/Eavattributegroup.php
CHANGED
@@ -1,7 +1,8 @@
|
|
1 |
<?php
|
2 |
/**
|
3 |
-
# Copyright (C) 2013 Global Era (http://www.globalera.com). All Rights Reserved
|
4 |
# @author Serenus Infotech <magento@serenusinfotech.com>
|
|
|
5 |
#
|
6 |
# This program is free software: you can redistribute it and/or modify
|
7 |
# it under the terms of the GNU Affero General Public License as
|
@@ -15,7 +16,7 @@
|
|
15 |
#
|
16 |
# You should have received a copy of the GNU Affero General Public License
|
17 |
# along with this program. If not, see <http://www.gnu.org/licenses/>.
|
18 |
-
**/
|
19 |
|
20 |
class Gec_Customimport_Model_Eavattributegroup extends Mage_Core_Model_Abstract {
|
21 |
/**
|
1 |
<?php
|
2 |
/**
|
3 |
+
# Copyright (C) 2013-2015 Global Era Commerce (http://www.globalera.com). All Rights Reserved
|
4 |
# @author Serenus Infotech <magento@serenusinfotech.com>
|
5 |
+
# @author Intelliant <magento@intelliant.net>
|
6 |
#
|
7 |
# This program is free software: you can redistribute it and/or modify
|
8 |
# it under the terms of the GNU Affero General Public License as
|
16 |
#
|
17 |
# You should have received a copy of the GNU Affero General Public License
|
18 |
# along with this program. If not, see <http://www.gnu.org/licenses/>.
|
19 |
+
**/
|
20 |
|
21 |
class Gec_Customimport_Model_Eavattributegroup extends Mage_Core_Model_Abstract {
|
22 |
/**
|
app/code/local/Gec/Customimport/Model/Eavattributeoption.php
CHANGED
@@ -1,7 +1,8 @@
|
|
1 |
<?php
|
2 |
/**
|
3 |
-
# Copyright (C) 2013 Global Era (http://www.globalera.com). All Rights Reserved
|
4 |
# @author Serenus Infotech <magento@serenusinfotech.com>
|
|
|
5 |
#
|
6 |
# This program is free software: you can redistribute it and/or modify
|
7 |
# it under the terms of the GNU Affero General Public License as
|
@@ -15,7 +16,7 @@
|
|
15 |
#
|
16 |
# You should have received a copy of the GNU Affero General Public License
|
17 |
# along with this program. If not, see <http://www.gnu.org/licenses/>.
|
18 |
-
**/
|
19 |
|
20 |
class Gec_Customimport_Model_Eavattributeoption extends Mage_Core_Model_Abstract {
|
21 |
/**
|
1 |
<?php
|
2 |
/**
|
3 |
+
# Copyright (C) 2013-2015 Global Era Commerce (http://www.globalera.com). All Rights Reserved
|
4 |
# @author Serenus Infotech <magento@serenusinfotech.com>
|
5 |
+
# @author Intelliant <magento@intelliant.net>
|
6 |
#
|
7 |
# This program is free software: you can redistribute it and/or modify
|
8 |
# it under the terms of the GNU Affero General Public License as
|
16 |
#
|
17 |
# You should have received a copy of the GNU Affero General Public License
|
18 |
# along with this program. If not, see <http://www.gnu.org/licenses/>.
|
19 |
+
**/
|
20 |
|
21 |
class Gec_Customimport_Model_Eavattributeoption extends Mage_Core_Model_Abstract {
|
22 |
/**
|
app/code/local/Gec/Customimport/Model/Eaventityattribute.php
CHANGED
@@ -1,7 +1,8 @@
|
|
1 |
<?php
|
2 |
/**
|
3 |
-
# Copyright (C) 2013 Global Era (http://www.globalera.com). All Rights Reserved
|
4 |
# @author Serenus Infotech <magento@serenusinfotech.com>
|
|
|
5 |
#
|
6 |
# This program is free software: you can redistribute it and/or modify
|
7 |
# it under the terms of the GNU Affero General Public License as
|
@@ -15,7 +16,7 @@
|
|
15 |
#
|
16 |
# You should have received a copy of the GNU Affero General Public License
|
17 |
# along with this program. If not, see <http://www.gnu.org/licenses/>.
|
18 |
-
**/
|
19 |
|
20 |
class Gec_Customimport_Model_Eaventityattribute extends Mage_Core_Model_Abstract {
|
21 |
/**
|
1 |
<?php
|
2 |
/**
|
3 |
+
# Copyright (C) 2013-2015 Global Era Commerce (http://www.globalera.com). All Rights Reserved
|
4 |
# @author Serenus Infotech <magento@serenusinfotech.com>
|
5 |
+
# @author Intelliant <magento@intelliant.net>
|
6 |
#
|
7 |
# This program is free software: you can redistribute it and/or modify
|
8 |
# it under the terms of the GNU Affero General Public License as
|
16 |
#
|
17 |
# You should have received a copy of the GNU Affero General Public License
|
18 |
# along with this program. If not, see <http://www.gnu.org/licenses/>.
|
19 |
+
**/
|
20 |
|
21 |
class Gec_Customimport_Model_Eaventityattribute extends Mage_Core_Model_Abstract {
|
22 |
/**
|
app/code/local/Gec/Customimport/Model/Externalcategorymappinginfo.php
CHANGED
@@ -1,7 +1,8 @@
|
|
1 |
<?php
|
2 |
/**
|
3 |
-
# Copyright (C) 2013 Global Era (http://www.globalera.com). All Rights Reserved
|
4 |
# @author Serenus Infotech <magento@serenusinfotech.com>
|
|
|
5 |
#
|
6 |
# This program is free software: you can redistribute it and/or modify
|
7 |
# it under the terms of the GNU Affero General Public License as
|
@@ -15,7 +16,7 @@
|
|
15 |
#
|
16 |
# You should have received a copy of the GNU Affero General Public License
|
17 |
# along with this program. If not, see <http://www.gnu.org/licenses/>.
|
18 |
-
**/
|
19 |
|
20 |
class Gec_Customimport_Model_Externalcategorymappinginfo extends Mage_Core_Model_Abstract {
|
21 |
/**
|
1 |
<?php
|
2 |
/**
|
3 |
+
# Copyright (C) 2013-2015 Global Era Commerce (http://www.globalera.com). All Rights Reserved
|
4 |
# @author Serenus Infotech <magento@serenusinfotech.com>
|
5 |
+
# @author Intelliant <magento@intelliant.net>
|
6 |
#
|
7 |
# This program is free software: you can redistribute it and/or modify
|
8 |
# it under the terms of the GNU Affero General Public License as
|
16 |
#
|
17 |
# You should have received a copy of the GNU Affero General Public License
|
18 |
# along with this program. If not, see <http://www.gnu.org/licenses/>.
|
19 |
+
**/
|
20 |
|
21 |
class Gec_Customimport_Model_Externalcategorymappinginfo extends Mage_Core_Model_Abstract {
|
22 |
/**
|
app/code/local/Gec/Customimport/Model/Mysql4/Attrgroup.php
CHANGED
@@ -1,7 +1,8 @@
|
|
1 |
<?php
|
2 |
/**
|
3 |
-
# Copyright (C) 2013 Global Era (http://www.globalera.com). All Rights Reserved
|
4 |
# @author Serenus Infotech <magento@serenusinfotech.com>
|
|
|
5 |
#
|
6 |
# This program is free software: you can redistribute it and/or modify
|
7 |
# it under the terms of the GNU Affero General Public License as
|
@@ -15,7 +16,7 @@
|
|
15 |
#
|
16 |
# You should have received a copy of the GNU Affero General Public License
|
17 |
# along with this program. If not, see <http://www.gnu.org/licenses/>.
|
18 |
-
**/
|
19 |
|
20 |
class Gec_Customimport_Model_Mysql4_Attrgroup extends Mage_Core_Model_Mysql4_Abstract {
|
21 |
|
1 |
<?php
|
2 |
/**
|
3 |
+
# Copyright (C) 2013-2015 Global Era Commerce (http://www.globalera.com). All Rights Reserved
|
4 |
# @author Serenus Infotech <magento@serenusinfotech.com>
|
5 |
+
# @author Intelliant <magento@intelliant.net>
|
6 |
#
|
7 |
# This program is free software: you can redistribute it and/or modify
|
8 |
# it under the terms of the GNU Affero General Public License as
|
16 |
#
|
17 |
# You should have received a copy of the GNU Affero General Public License
|
18 |
# along with this program. If not, see <http://www.gnu.org/licenses/>.
|
19 |
+
**/
|
20 |
|
21 |
class Gec_Customimport_Model_Mysql4_Attrgroup extends Mage_Core_Model_Mysql4_Abstract {
|
22 |
|
app/code/local/Gec/Customimport/Model/Mysql4/Attrgroup/Collection.php
CHANGED
@@ -1,7 +1,8 @@
|
|
1 |
<?php
|
2 |
/**
|
3 |
-
# Copyright (C) 2013 Global Era (http://www.globalera.com). All Rights Reserved
|
4 |
# @author Serenus Infotech <magento@serenusinfotech.com>
|
|
|
5 |
#
|
6 |
# This program is free software: you can redistribute it and/or modify
|
7 |
# it under the terms of the GNU Affero General Public License as
|
@@ -15,7 +16,7 @@
|
|
15 |
#
|
16 |
# You should have received a copy of the GNU Affero General Public License
|
17 |
# along with this program. If not, see <http://www.gnu.org/licenses/>.
|
18 |
-
**/
|
19 |
|
20 |
class Gec_Customimport_Model_Mysql4_Attrgroup_Collection extends Mage_Core_Model_Mysql4_Collection_Abstract {
|
21 |
|
1 |
<?php
|
2 |
/**
|
3 |
+
# Copyright (C) 2013-2015 Global Era Commerce (http://www.globalera.com). All Rights Reserved
|
4 |
# @author Serenus Infotech <magento@serenusinfotech.com>
|
5 |
+
# @author Intelliant <magento@intelliant.net>
|
6 |
#
|
7 |
# This program is free software: you can redistribute it and/or modify
|
8 |
# it under the terms of the GNU Affero General Public License as
|
16 |
#
|
17 |
# You should have received a copy of the GNU Affero General Public License
|
18 |
# along with this program. If not, see <http://www.gnu.org/licenses/>.
|
19 |
+
**/
|
20 |
|
21 |
class Gec_Customimport_Model_Mysql4_Attrgroup_Collection extends Mage_Core_Model_Mysql4_Collection_Abstract {
|
22 |
|
app/code/local/Gec/Customimport/Model/Mysql4/Attrsetmapping.php
CHANGED
@@ -1,7 +1,8 @@
|
|
1 |
<?php
|
2 |
/**
|
3 |
-
# Copyright (C) 2013 Global Era (http://www.globalera.com). All Rights Reserved
|
4 |
# @author Serenus Infotech <magento@serenusinfotech.com>
|
|
|
5 |
#
|
6 |
# This program is free software: you can redistribute it and/or modify
|
7 |
# it under the terms of the GNU Affero General Public License as
|
@@ -15,7 +16,7 @@
|
|
15 |
#
|
16 |
# You should have received a copy of the GNU Affero General Public License
|
17 |
# along with this program. If not, see <http://www.gnu.org/licenses/>.
|
18 |
-
**/
|
19 |
|
20 |
class Gec_Customimport_Model_Mysql4_Attrsetmapping extends Mage_Core_Model_Mysql4_Abstract {
|
21 |
|
1 |
<?php
|
2 |
/**
|
3 |
+
# Copyright (C) 2013-2015 Global Era Commerce (http://www.globalera.com). All Rights Reserved
|
4 |
# @author Serenus Infotech <magento@serenusinfotech.com>
|
5 |
+
# @author Intelliant <magento@intelliant.net>
|
6 |
#
|
7 |
# This program is free software: you can redistribute it and/or modify
|
8 |
# it under the terms of the GNU Affero General Public License as
|
16 |
#
|
17 |
# You should have received a copy of the GNU Affero General Public License
|
18 |
# along with this program. If not, see <http://www.gnu.org/licenses/>.
|
19 |
+
**/
|
20 |
|
21 |
class Gec_Customimport_Model_Mysql4_Attrsetmapping extends Mage_Core_Model_Mysql4_Abstract {
|
22 |
|
app/code/local/Gec/Customimport/Model/Mysql4/Attrsetmapping/Collection.php
CHANGED
@@ -1,7 +1,8 @@
|
|
1 |
<?php
|
2 |
/**
|
3 |
-
# Copyright (C) 2013 Global Era (http://www.globalera.com). All Rights Reserved
|
4 |
# @author Serenus Infotech <magento@serenusinfotech.com>
|
|
|
5 |
#
|
6 |
# This program is free software: you can redistribute it and/or modify
|
7 |
# it under the terms of the GNU Affero General Public License as
|
@@ -15,7 +16,7 @@
|
|
15 |
#
|
16 |
# You should have received a copy of the GNU Affero General Public License
|
17 |
# along with this program. If not, see <http://www.gnu.org/licenses/>.
|
18 |
-
**/
|
19 |
|
20 |
class Gec_Customimport_Model_Mysql4_Attrsetmapping_Collection extends Mage_Core_Model_Mysql4_Collection_Abstract {
|
21 |
|
1 |
<?php
|
2 |
/**
|
3 |
+
# Copyright (C) 2013-2015 Global Era Commerce (http://www.globalera.com). All Rights Reserved
|
4 |
# @author Serenus Infotech <magento@serenusinfotech.com>
|
5 |
+
# @author Intelliant <magento@intelliant.net>
|
6 |
#
|
7 |
# This program is free software: you can redistribute it and/or modify
|
8 |
# it under the terms of the GNU Affero General Public License as
|
16 |
#
|
17 |
# You should have received a copy of the GNU Affero General Public License
|
18 |
# along with this program. If not, see <http://www.gnu.org/licenses/>.
|
19 |
+
**/
|
20 |
|
21 |
class Gec_Customimport_Model_Mysql4_Attrsetmapping_Collection extends Mage_Core_Model_Mysql4_Collection_Abstract {
|
22 |
|
app/code/local/Gec/Customimport/Model/Mysql4/Catalogentity.php
CHANGED
@@ -1,7 +1,8 @@
|
|
1 |
<?php
|
2 |
/**
|
3 |
-
# Copyright (C) 2013 Global Era (http://www.globalera.com). All Rights Reserved
|
4 |
# @author Serenus Infotech <magento@serenusinfotech.com>
|
|
|
5 |
#
|
6 |
# This program is free software: you can redistribute it and/or modify
|
7 |
# it under the terms of the GNU Affero General Public License as
|
@@ -15,7 +16,7 @@
|
|
15 |
#
|
16 |
# You should have received a copy of the GNU Affero General Public License
|
17 |
# along with this program. If not, see <http://www.gnu.org/licenses/>.
|
18 |
-
**/
|
19 |
|
20 |
class Gec_Customimport_Model_Mysql4_Catalogentity extends Mage_Core_Model_Mysql4_Abstract {
|
21 |
|
1 |
<?php
|
2 |
/**
|
3 |
+
# Copyright (C) 2013-2015 Global Era Commerce (http://www.globalera.com). All Rights Reserved
|
4 |
# @author Serenus Infotech <magento@serenusinfotech.com>
|
5 |
+
# @author Intelliant <magento@intelliant.net>
|
6 |
#
|
7 |
# This program is free software: you can redistribute it and/or modify
|
8 |
# it under the terms of the GNU Affero General Public License as
|
16 |
#
|
17 |
# You should have received a copy of the GNU Affero General Public License
|
18 |
# along with this program. If not, see <http://www.gnu.org/licenses/>.
|
19 |
+
**/
|
20 |
|
21 |
class Gec_Customimport_Model_Mysql4_Catalogentity extends Mage_Core_Model_Mysql4_Abstract {
|
22 |
|
app/code/local/Gec/Customimport/Model/Mysql4/Catalogentity/Collection.php
CHANGED
@@ -1,7 +1,8 @@
|
|
1 |
<?php
|
2 |
/**
|
3 |
-
# Copyright (C) 2013 Global Era (http://www.globalera.com). All Rights Reserved
|
4 |
# @author Serenus Infotech <magento@serenusinfotech.com>
|
|
|
5 |
#
|
6 |
# This program is free software: you can redistribute it and/or modify
|
7 |
# it under the terms of the GNU Affero General Public License as
|
@@ -15,7 +16,7 @@
|
|
15 |
#
|
16 |
# You should have received a copy of the GNU Affero General Public License
|
17 |
# along with this program. If not, see <http://www.gnu.org/licenses/>.
|
18 |
-
**/
|
19 |
|
20 |
class Gec_Customimport_Model_Mysql4_Catalogentity_Collection extends Mage_Core_Model_Mysql4_Collection_Abstract {
|
21 |
|
1 |
<?php
|
2 |
/**
|
3 |
+
# Copyright (C) 2013-2015 Global Era Commerce (http://www.globalera.com). All Rights Reserved
|
4 |
# @author Serenus Infotech <magento@serenusinfotech.com>
|
5 |
+
# @author Intelliant <magento@intelliant.net>
|
6 |
#
|
7 |
# This program is free software: you can redistribute it and/or modify
|
8 |
# it under the terms of the GNU Affero General Public License as
|
16 |
#
|
17 |
# You should have received a copy of the GNU Affero General Public License
|
18 |
# along with this program. If not, see <http://www.gnu.org/licenses/>.
|
19 |
+
**/
|
20 |
|
21 |
class Gec_Customimport_Model_Mysql4_Catalogentity_Collection extends Mage_Core_Model_Mysql4_Collection_Abstract {
|
22 |
|
app/code/local/Gec/Customimport/Model/Mysql4/Customimport.php
CHANGED
@@ -1,7 +1,8 @@
|
|
1 |
<?php
|
2 |
/**
|
3 |
-
# Copyright (C) 2013 Global Era (http://www.globalera.com). All Rights Reserved
|
4 |
# @author Serenus Infotech <magento@serenusinfotech.com>
|
|
|
5 |
#
|
6 |
# This program is free software: you can redistribute it and/or modify
|
7 |
# it under the terms of the GNU Affero General Public License as
|
@@ -15,7 +16,7 @@
|
|
15 |
#
|
16 |
# You should have received a copy of the GNU Affero General Public License
|
17 |
# along with this program. If not, see <http://www.gnu.org/licenses/>.
|
18 |
-
**/
|
19 |
|
20 |
class Gec_Customimport_Model_Mysql4_Customimport extends Mage_Core_Model_Mysql4_Abstract {
|
21 |
|
1 |
<?php
|
2 |
/**
|
3 |
+
# Copyright (C) 2013-2015 Global Era Commerce (http://www.globalera.com). All Rights Reserved
|
4 |
# @author Serenus Infotech <magento@serenusinfotech.com>
|
5 |
+
# @author Intelliant <magento@intelliant.net>
|
6 |
#
|
7 |
# This program is free software: you can redistribute it and/or modify
|
8 |
# it under the terms of the GNU Affero General Public License as
|
16 |
#
|
17 |
# You should have received a copy of the GNU Affero General Public License
|
18 |
# along with this program. If not, see <http://www.gnu.org/licenses/>.
|
19 |
+
**/
|
20 |
|
21 |
class Gec_Customimport_Model_Mysql4_Customimport extends Mage_Core_Model_Mysql4_Abstract {
|
22 |
|
app/code/local/Gec/Customimport/Model/Mysql4/Customimport/Collection.php
CHANGED
@@ -1,7 +1,8 @@
|
|
1 |
<?php
|
2 |
/**
|
3 |
-
# Copyright (C) 2013 Global Era (http://www.globalera.com). All Rights Reserved
|
4 |
# @author Serenus Infotech <magento@serenusinfotech.com>
|
|
|
5 |
#
|
6 |
# This program is free software: you can redistribute it and/or modify
|
7 |
# it under the terms of the GNU Affero General Public License as
|
@@ -15,7 +16,7 @@
|
|
15 |
#
|
16 |
# You should have received a copy of the GNU Affero General Public License
|
17 |
# along with this program. If not, see <http://www.gnu.org/licenses/>.
|
18 |
-
**/
|
19 |
|
20 |
class Gec_Customimport_Model_Mysql4_Customimport_Collection extends Mage_Core_Model_Mysql4_Collection_Abstract {
|
21 |
|
1 |
<?php
|
2 |
/**
|
3 |
+
# Copyright (C) 2013-2015 Global Era Commerce (http://www.globalera.com). All Rights Reserved
|
4 |
# @author Serenus Infotech <magento@serenusinfotech.com>
|
5 |
+
# @author Intelliant <magento@intelliant.net>
|
6 |
#
|
7 |
# This program is free software: you can redistribute it and/or modify
|
8 |
# it under the terms of the GNU Affero General Public License as
|
16 |
#
|
17 |
# You should have received a copy of the GNU Affero General Public License
|
18 |
# along with this program. If not, see <http://www.gnu.org/licenses/>.
|
19 |
+
**/
|
20 |
|
21 |
class Gec_Customimport_Model_Mysql4_Customimport_Collection extends Mage_Core_Model_Mysql4_Collection_Abstract {
|
22 |
|
app/code/local/Gec/Customimport/Model/Mysql4/Eavattributegroup.php
CHANGED
@@ -1,7 +1,8 @@
|
|
1 |
<?php
|
2 |
/**
|
3 |
-
# Copyright (C) 2013 Global Era (http://www.globalera.com). All Rights Reserved
|
4 |
# @author Serenus Infotech <magento@serenusinfotech.com>
|
|
|
5 |
#
|
6 |
# This program is free software: you can redistribute it and/or modify
|
7 |
# it under the terms of the GNU Affero General Public License as
|
@@ -15,7 +16,7 @@
|
|
15 |
#
|
16 |
# You should have received a copy of the GNU Affero General Public License
|
17 |
# along with this program. If not, see <http://www.gnu.org/licenses/>.
|
18 |
-
**/
|
19 |
|
20 |
class Gec_Customimport_Model_Mysql4_Eavattributegroup extends Mage_Core_Model_Mysql4_Abstract {
|
21 |
|
1 |
<?php
|
2 |
/**
|
3 |
+
# Copyright (C) 2013-2015 Global Era Commerce (http://www.globalera.com). All Rights Reserved
|
4 |
# @author Serenus Infotech <magento@serenusinfotech.com>
|
5 |
+
# @author Intelliant <magento@intelliant.net>
|
6 |
#
|
7 |
# This program is free software: you can redistribute it and/or modify
|
8 |
# it under the terms of the GNU Affero General Public License as
|
16 |
#
|
17 |
# You should have received a copy of the GNU Affero General Public License
|
18 |
# along with this program. If not, see <http://www.gnu.org/licenses/>.
|
19 |
+
**/
|
20 |
|
21 |
class Gec_Customimport_Model_Mysql4_Eavattributegroup extends Mage_Core_Model_Mysql4_Abstract {
|
22 |
|
app/code/local/Gec/Customimport/Model/Mysql4/Eavattributegroup/Collection.php
CHANGED
@@ -1,7 +1,8 @@
|
|
1 |
<?php
|
2 |
/**
|
3 |
-
# Copyright (C) 2013 Global Era (http://www.globalera.com). All Rights Reserved
|
4 |
# @author Serenus Infotech <magento@serenusinfotech.com>
|
|
|
5 |
#
|
6 |
# This program is free software: you can redistribute it and/or modify
|
7 |
# it under the terms of the GNU Affero General Public License as
|
@@ -15,7 +16,7 @@
|
|
15 |
#
|
16 |
# You should have received a copy of the GNU Affero General Public License
|
17 |
# along with this program. If not, see <http://www.gnu.org/licenses/>.
|
18 |
-
**/
|
19 |
|
20 |
class Gec_Customimport_Model_Mysql4_Eavattributegroup_Collection extends Mage_Core_Model_Mysql4_Collection_Abstract {
|
21 |
|
1 |
<?php
|
2 |
/**
|
3 |
+
# Copyright (C) 2013-2015 Global Era Commerce (http://www.globalera.com). All Rights Reserved
|
4 |
# @author Serenus Infotech <magento@serenusinfotech.com>
|
5 |
+
# @author Intelliant <magento@intelliant.net>
|
6 |
#
|
7 |
# This program is free software: you can redistribute it and/or modify
|
8 |
# it under the terms of the GNU Affero General Public License as
|
16 |
#
|
17 |
# You should have received a copy of the GNU Affero General Public License
|
18 |
# along with this program. If not, see <http://www.gnu.org/licenses/>.
|
19 |
+
**/
|
20 |
|
21 |
class Gec_Customimport_Model_Mysql4_Eavattributegroup_Collection extends Mage_Core_Model_Mysql4_Collection_Abstract {
|
22 |
|
app/code/local/Gec/Customimport/Model/Mysql4/Eavattributeoption.php
CHANGED
@@ -1,7 +1,8 @@
|
|
1 |
<?php
|
2 |
/**
|
3 |
-
# Copyright (C) 2013 Global Era (http://www.globalera.com). All Rights Reserved
|
4 |
# @author Serenus Infotech <magento@serenusinfotech.com>
|
|
|
5 |
#
|
6 |
# This program is free software: you can redistribute it and/or modify
|
7 |
# it under the terms of the GNU Affero General Public License as
|
@@ -15,7 +16,7 @@
|
|
15 |
#
|
16 |
# You should have received a copy of the GNU Affero General Public License
|
17 |
# along with this program. If not, see <http://www.gnu.org/licenses/>.
|
18 |
-
**/
|
19 |
|
20 |
class Gec_Customimport_Model_Mysql4_Eavattributeoption extends Mage_Core_Model_Mysql4_Abstract {
|
21 |
|
1 |
<?php
|
2 |
/**
|
3 |
+
# Copyright (C) 2013-2015 Global Era Commerce (http://www.globalera.com). All Rights Reserved
|
4 |
# @author Serenus Infotech <magento@serenusinfotech.com>
|
5 |
+
# @author Intelliant <magento@intelliant.net>
|
6 |
#
|
7 |
# This program is free software: you can redistribute it and/or modify
|
8 |
# it under the terms of the GNU Affero General Public License as
|
16 |
#
|
17 |
# You should have received a copy of the GNU Affero General Public License
|
18 |
# along with this program. If not, see <http://www.gnu.org/licenses/>.
|
19 |
+
**/
|
20 |
|
21 |
class Gec_Customimport_Model_Mysql4_Eavattributeoption extends Mage_Core_Model_Mysql4_Abstract {
|
22 |
|
app/code/local/Gec/Customimport/Model/Mysql4/Eavattributeoption/Collection.php
CHANGED
@@ -1,7 +1,8 @@
|
|
1 |
<?php
|
2 |
/**
|
3 |
-
# Copyright (C) 2013 Global Era (http://www.globalera.com). All Rights Reserved
|
4 |
# @author Serenus Infotech <magento@serenusinfotech.com>
|
|
|
5 |
#
|
6 |
# This program is free software: you can redistribute it and/or modify
|
7 |
# it under the terms of the GNU Affero General Public License as
|
@@ -15,7 +16,7 @@
|
|
15 |
#
|
16 |
# You should have received a copy of the GNU Affero General Public License
|
17 |
# along with this program. If not, see <http://www.gnu.org/licenses/>.
|
18 |
-
**/
|
19 |
|
20 |
class Gec_Customimport_Model_Mysql4_Eavattributeoption_Collection extends Mage_Core_Model_Mysql4_Collection_Abstract {
|
21 |
|
1 |
<?php
|
2 |
/**
|
3 |
+
# Copyright (C) 2013-2015 Global Era Commerce (http://www.globalera.com). All Rights Reserved
|
4 |
# @author Serenus Infotech <magento@serenusinfotech.com>
|
5 |
+
# @author Intelliant <magento@intelliant.net>
|
6 |
#
|
7 |
# This program is free software: you can redistribute it and/or modify
|
8 |
# it under the terms of the GNU Affero General Public License as
|
16 |
#
|
17 |
# You should have received a copy of the GNU Affero General Public License
|
18 |
# along with this program. If not, see <http://www.gnu.org/licenses/>.
|
19 |
+
**/
|
20 |
|
21 |
class Gec_Customimport_Model_Mysql4_Eavattributeoption_Collection extends Mage_Core_Model_Mysql4_Collection_Abstract {
|
22 |
|
app/code/local/Gec/Customimport/Model/Mysql4/Eaventityattribute.php
CHANGED
@@ -1,7 +1,8 @@
|
|
1 |
<?php
|
2 |
/**
|
3 |
-
# Copyright (C) 2013 Global Era (http://www.globalera.com). All Rights Reserved
|
4 |
# @author Serenus Infotech <magento@serenusinfotech.com>
|
|
|
5 |
#
|
6 |
# This program is free software: you can redistribute it and/or modify
|
7 |
# it under the terms of the GNU Affero General Public License as
|
@@ -15,7 +16,7 @@
|
|
15 |
#
|
16 |
# You should have received a copy of the GNU Affero General Public License
|
17 |
# along with this program. If not, see <http://www.gnu.org/licenses/>.
|
18 |
-
**/
|
19 |
|
20 |
class Gec_Customimport_Model_Mysql4_Eaventityattribute extends Mage_Core_Model_Mysql4_Abstract {
|
21 |
|
1 |
<?php
|
2 |
/**
|
3 |
+
# Copyright (C) 2013-2015 Global Era Commerce (http://www.globalera.com). All Rights Reserved
|
4 |
# @author Serenus Infotech <magento@serenusinfotech.com>
|
5 |
+
# @author Intelliant <magento@intelliant.net>
|
6 |
#
|
7 |
# This program is free software: you can redistribute it and/or modify
|
8 |
# it under the terms of the GNU Affero General Public License as
|
16 |
#
|
17 |
# You should have received a copy of the GNU Affero General Public License
|
18 |
# along with this program. If not, see <http://www.gnu.org/licenses/>.
|
19 |
+
**/
|
20 |
|
21 |
class Gec_Customimport_Model_Mysql4_Eaventityattribute extends Mage_Core_Model_Mysql4_Abstract {
|
22 |
|
app/code/local/Gec/Customimport/Model/Mysql4/Eaventityattribute/Collection.php
CHANGED
@@ -1,7 +1,8 @@
|
|
1 |
<?php
|
2 |
/**
|
3 |
-
# Copyright (C) 2013 Global Era (http://www.globalera.com). All Rights Reserved
|
4 |
# @author Serenus Infotech <magento@serenusinfotech.com>
|
|
|
5 |
#
|
6 |
# This program is free software: you can redistribute it and/or modify
|
7 |
# it under the terms of the GNU Affero General Public License as
|
@@ -15,7 +16,7 @@
|
|
15 |
#
|
16 |
# You should have received a copy of the GNU Affero General Public License
|
17 |
# along with this program. If not, see <http://www.gnu.org/licenses/>.
|
18 |
-
**/
|
19 |
|
20 |
class Gec_Customimport_Model_Mysql4_Eaventityattribute_Collection extends Mage_Core_Model_Mysql4_Collection_Abstract {
|
21 |
|
1 |
<?php
|
2 |
/**
|
3 |
+
# Copyright (C) 2013-2015 Global Era Commerce (http://www.globalera.com). All Rights Reserved
|
4 |
# @author Serenus Infotech <magento@serenusinfotech.com>
|
5 |
+
# @author Intelliant <magento@intelliant.net>
|
6 |
#
|
7 |
# This program is free software: you can redistribute it and/or modify
|
8 |
# it under the terms of the GNU Affero General Public License as
|
16 |
#
|
17 |
# You should have received a copy of the GNU Affero General Public License
|
18 |
# along with this program. If not, see <http://www.gnu.org/licenses/>.
|
19 |
+
**/
|
20 |
|
21 |
class Gec_Customimport_Model_Mysql4_Eaventityattribute_Collection extends Mage_Core_Model_Mysql4_Collection_Abstract {
|
22 |
|
app/code/local/Gec/Customimport/Model/Mysql4/Externalcategorymappinginfo.php
CHANGED
@@ -1,7 +1,8 @@
|
|
1 |
<?php
|
2 |
/**
|
3 |
-
# Copyright (C) 2013 Global Era (http://www.globalera.com). All Rights Reserved
|
4 |
# @author Serenus Infotech <magento@serenusinfotech.com>
|
|
|
5 |
#
|
6 |
# This program is free software: you can redistribute it and/or modify
|
7 |
# it under the terms of the GNU Affero General Public License as
|
@@ -15,7 +16,7 @@
|
|
15 |
#
|
16 |
# You should have received a copy of the GNU Affero General Public License
|
17 |
# along with this program. If not, see <http://www.gnu.org/licenses/>.
|
18 |
-
**/
|
19 |
|
20 |
class Gec_Customimport_Model_Mysql4_Externalcategorymappinginfo extends Mage_Core_Model_Mysql4_Abstract {
|
21 |
|
1 |
<?php
|
2 |
/**
|
3 |
+
# Copyright (C) 2013-2015 Global Era Commerce (http://www.globalera.com). All Rights Reserved
|
4 |
# @author Serenus Infotech <magento@serenusinfotech.com>
|
5 |
+
# @author Intelliant <magento@intelliant.net>
|
6 |
#
|
7 |
# This program is free software: you can redistribute it and/or modify
|
8 |
# it under the terms of the GNU Affero General Public License as
|
16 |
#
|
17 |
# You should have received a copy of the GNU Affero General Public License
|
18 |
# along with this program. If not, see <http://www.gnu.org/licenses/>.
|
19 |
+
**/
|
20 |
|
21 |
class Gec_Customimport_Model_Mysql4_Externalcategorymappinginfo extends Mage_Core_Model_Mysql4_Abstract {
|
22 |
|
app/code/local/Gec/Customimport/Model/Mysql4/Externalcategorymappinginfo/Collection.php
CHANGED
@@ -1,7 +1,8 @@
|
|
1 |
<?php
|
2 |
/**
|
3 |
-
# Copyright (C) 2013 Global Era (http://www.globalera.com). All Rights Reserved
|
4 |
# @author Serenus Infotech <magento@serenusinfotech.com>
|
|
|
5 |
#
|
6 |
# This program is free software: you can redistribute it and/or modify
|
7 |
# it under the terms of the GNU Affero General Public License as
|
@@ -15,7 +16,7 @@
|
|
15 |
#
|
16 |
# You should have received a copy of the GNU Affero General Public License
|
17 |
# along with this program. If not, see <http://www.gnu.org/licenses/>.
|
18 |
-
**/
|
19 |
|
20 |
class Gec_Customimport_Model_Mysql4_Externalcategorymappinginfo_Collection extends Mage_Core_Model_Mysql4_Collection_Abstract {
|
21 |
|
1 |
<?php
|
2 |
/**
|
3 |
+
# Copyright (C) 2013-2015 Global Era Commerce (http://www.globalera.com). All Rights Reserved
|
4 |
# @author Serenus Infotech <magento@serenusinfotech.com>
|
5 |
+
# @author Intelliant <magento@intelliant.net>
|
6 |
#
|
7 |
# This program is free software: you can redistribute it and/or modify
|
8 |
# it under the terms of the GNU Affero General Public License as
|
16 |
#
|
17 |
# You should have received a copy of the GNU Affero General Public License
|
18 |
# along with this program. If not, see <http://www.gnu.org/licenses/>.
|
19 |
+
**/
|
20 |
|
21 |
class Gec_Customimport_Model_Mysql4_Externalcategorymappinginfo_Collection extends Mage_Core_Model_Mysql4_Collection_Abstract {
|
22 |
|
app/code/local/Gec/Customimport/Model/Mysql4/Setup.php
CHANGED
@@ -1,7 +1,8 @@
|
|
1 |
-
<?php
|
2 |
/**
|
3 |
-
# Copyright (C) 2013 Global Era (http://www.globalera.com). All Rights Reserved
|
4 |
# @author Serenus Infotech <magento@serenusinfotech.com>
|
|
|
5 |
#
|
6 |
# This program is free software: you can redistribute it and/or modify
|
7 |
# it under the terms of the GNU Affero General Public License as
|
@@ -15,7 +16,7 @@
|
|
15 |
#
|
16 |
# You should have received a copy of the GNU Affero General Public License
|
17 |
# along with this program. If not, see <http://www.gnu.org/licenses/>.
|
18 |
-
**/
|
19 |
|
20 |
class Gec_Customimport_Model_Mysql4_Setup extends Mage_Catalog_Model_Resource_Eav_Mysql4_Setup{
|
21 |
|
1 |
+
<?php
|
2 |
/**
|
3 |
+
# Copyright (C) 2013-2015 Global Era Commerce (http://www.globalera.com). All Rights Reserved
|
4 |
# @author Serenus Infotech <magento@serenusinfotech.com>
|
5 |
+
# @author Intelliant <magento@intelliant.net>
|
6 |
#
|
7 |
# This program is free software: you can redistribute it and/or modify
|
8 |
# it under the terms of the GNU Affero General Public License as
|
16 |
#
|
17 |
# You should have received a copy of the GNU Affero General Public License
|
18 |
# along with this program. If not, see <http://www.gnu.org/licenses/>.
|
19 |
+
**/
|
20 |
|
21 |
class Gec_Customimport_Model_Mysql4_Setup extends Mage_Catalog_Model_Resource_Eav_Mysql4_Setup{
|
22 |
|
app/code/local/Gec/Customimport/Model/Status.php
CHANGED
@@ -1,7 +1,8 @@
|
|
1 |
<?php
|
2 |
/**
|
3 |
-
# Copyright (C) 2013 Global Era (http://www.globalera.com). All Rights Reserved
|
4 |
# @author Serenus Infotech <magento@serenusinfotech.com>
|
|
|
5 |
#
|
6 |
# This program is free software: you can redistribute it and/or modify
|
7 |
# it under the terms of the GNU Affero General Public License as
|
@@ -15,7 +16,7 @@
|
|
15 |
#
|
16 |
# You should have received a copy of the GNU Affero General Public License
|
17 |
# along with this program. If not, see <http://www.gnu.org/licenses/>.
|
18 |
-
**/
|
19 |
|
20 |
|
21 |
class Gec_Customimport_Model_Status extends Varien_Object {
|
1 |
<?php
|
2 |
/**
|
3 |
+
# Copyright (C) 2013-2015 Global Era Commerce (http://www.globalera.com). All Rights Reserved
|
4 |
# @author Serenus Infotech <magento@serenusinfotech.com>
|
5 |
+
# @author Intelliant <magento@intelliant.net>
|
6 |
#
|
7 |
# This program is free software: you can redistribute it and/or modify
|
8 |
# it under the terms of the GNU Affero General Public License as
|
16 |
#
|
17 |
# You should have received a copy of the GNU Affero General Public License
|
18 |
# along with this program. If not, see <http://www.gnu.org/licenses/>.
|
19 |
+
**/
|
20 |
|
21 |
|
22 |
class Gec_Customimport_Model_Status extends Varien_Object {
|
app/code/local/Gec/Customimport/controllers/Adminhtml/IndexController.php
CHANGED
@@ -1,4 +1,23 @@
|
|
1 |
<?php
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
2 |
class Gec_Customimport_Adminhtml_IndexController extends Mage_Adminhtml_Controller_Action
|
3 |
{
|
4 |
public function indexAction()
|
1 |
<?php
|
2 |
+
/**
|
3 |
+
# Copyright (C) 2013-2015 Global Era Commerce (http://www.globalera.com). All Rights Reserved
|
4 |
+
# @author Serenus Infotech <magento@serenusinfotech.com>
|
5 |
+
# @author Intelliant <magento@intelliant.net>
|
6 |
+
#
|
7 |
+
# This program is free software: you can redistribute it and/or modify
|
8 |
+
# it under the terms of the GNU Affero General Public License as
|
9 |
+
# published by the Free Software Foundation, either version 3 of the
|
10 |
+
# License, or (at your option) any later version.
|
11 |
+
#
|
12 |
+
# This program is distributed in the hope that it will be useful,
|
13 |
+
# but WITHOUT ANY WARRANTY; without even the implied warranty of
|
14 |
+
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
15 |
+
# GNU Affero General Public License for more details.
|
16 |
+
#
|
17 |
+
# You should have received a copy of the GNU Affero General Public License
|
18 |
+
# along with this program. If not, see <http://www.gnu.org/licenses/>.
|
19 |
+
**/
|
20 |
+
|
21 |
class Gec_Customimport_Adminhtml_IndexController extends Mage_Adminhtml_Controller_Action
|
22 |
{
|
23 |
public function indexAction()
|
app/code/local/Gec/Customimport/etc/adminhtml.xml
CHANGED
@@ -1,5 +1,23 @@
|
|
1 |
<?xml version="1.0"?>
|
2 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
3 |
<acl>
|
4 |
<resources>
|
5 |
<admin>
|
1 |
<?xml version="1.0"?>
|
2 |
+
<!--
|
3 |
+
Copyright (C) 2013 Global Era Commerce (http://www.globalera.com). All Rights Reserved
|
4 |
+
@author Serenus Infotech <magento@serenusinfotech.com>
|
5 |
+
@author Intelliant <magento@intelliant.net>
|
6 |
+
|
7 |
+
This program is free software: you can redistribute it and/or modify
|
8 |
+
it under the terms of the GNU Affero General Public License as
|
9 |
+
published by the Free Software Foundation, either version 3 of the
|
10 |
+
License, or (at your option) any later version.
|
11 |
+
|
12 |
+
This program is distributed in the hope that it will be useful,
|
13 |
+
but WITHOUT ANY WARRANTY; without even the implied warranty of
|
14 |
+
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
15 |
+
GNU Affero General Public License for more details.
|
16 |
+
|
17 |
+
You should have received a copy of the GNU Affero General Public License
|
18 |
+
along with this program. If not, see <http://www.gnu.org/licenses/>.
|
19 |
+
-->
|
20 |
+
<config>
|
21 |
<acl>
|
22 |
<resources>
|
23 |
<admin>
|
app/code/local/Gec/Customimport/etc/config.xml
CHANGED
@@ -1,23 +1,23 @@
|
|
1 |
<?xml version="1.0"?>
|
2 |
-
<!--
|
3 |
-
|
4 |
-
|
5 |
-
|
6 |
-
|
7 |
-
|
8 |
-
|
9 |
-
|
10 |
-
|
11 |
-
|
12 |
-
|
13 |
-
|
14 |
-
|
15 |
-
|
16 |
-
|
17 |
-
|
18 |
-
|
19 |
-
**/
|
20 |
-->
|
|
|
21 |
<config>
|
22 |
<modules>
|
23 |
<Gec_Customimport>
|
1 |
<?xml version="1.0"?>
|
2 |
+
<!--
|
3 |
+
Copyright (C) 2013 Global Era Commerce (http://www.globalera.com). All Rights Reserved
|
4 |
+
@author Serenus Infotech <magento@serenusinfotech.com>
|
5 |
+
@author Intelliant <magento@intelliant.net>
|
6 |
+
|
7 |
+
This program is free software: you can redistribute it and/or modify
|
8 |
+
it under the terms of the GNU Affero General Public License as
|
9 |
+
published by the Free Software Foundation, either version 3 of the
|
10 |
+
License, or (at your option) any later version.
|
11 |
+
|
12 |
+
This program is distributed in the hope that it will be useful,
|
13 |
+
but WITHOUT ANY WARRANTY; without even the implied warranty of
|
14 |
+
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
15 |
+
GNU Affero General Public License for more details.
|
16 |
+
|
17 |
+
You should have received a copy of the GNU Affero General Public License
|
18 |
+
along with this program. If not, see <http://www.gnu.org/licenses/>.
|
|
|
19 |
-->
|
20 |
+
|
21 |
<config>
|
22 |
<modules>
|
23 |
<Gec_Customimport>
|
app/code/local/Gec/Customimport/etc/system.xml
CHANGED
@@ -1,30 +1,23 @@
|
|
1 |
<?xml version="1.0"?>
|
2 |
<!--
|
3 |
-
|
4 |
-
|
5 |
-
|
6 |
-
|
7 |
-
|
8 |
-
|
9 |
-
|
10 |
-
|
11 |
-
|
12 |
-
|
13 |
-
|
14 |
-
|
15 |
-
|
16 |
-
|
17 |
-
|
18 |
-
|
19 |
-
* versions in the future. If you wish to customize Magento for your
|
20 |
-
* needs please refer to http://www.magentocommerce.com for more information.
|
21 |
-
*
|
22 |
-
* @category Mage
|
23 |
-
* @package Mage_Catalog
|
24 |
-
* @copyright Copyright (c) 2014 Magento Inc. (http://www.magentocommerce.com)
|
25 |
-
* @license http://opensource.org/licenses/afl-3.0.php Academic Free License (AFL 3.0)
|
26 |
-
*/
|
27 |
-->
|
|
|
28 |
<config>
|
29 |
<tabs>
|
30 |
<catalog translate="label" module="catalog">
|
1 |
<?xml version="1.0"?>
|
2 |
<!--
|
3 |
+
Copyright (C) 2013 Global Era Commerce (http://www.globalera.com). All Rights Reserved
|
4 |
+
@author Serenus Infotech <magento@serenusinfotech.com>
|
5 |
+
@author Intelliant <magento@intelliant.net>
|
6 |
+
|
7 |
+
This program is free software: you can redistribute it and/or modify
|
8 |
+
it under the terms of the GNU Affero General Public License as
|
9 |
+
published by the Free Software Foundation, either version 3 of the
|
10 |
+
License, or (at your option) any later version.
|
11 |
+
|
12 |
+
This program is distributed in the hope that it will be useful,
|
13 |
+
but WITHOUT ANY WARRANTY; without even the implied warranty of
|
14 |
+
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
15 |
+
GNU Affero General Public License for more details.
|
16 |
+
|
17 |
+
You should have received a copy of the GNU Affero General Public License
|
18 |
+
along with this program. If not, see <http://www.gnu.org/licenses/>.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
19 |
-->
|
20 |
+
|
21 |
<config>
|
22 |
<tabs>
|
23 |
<catalog translate="label" module="catalog">
|
app/code/local/Gec/Customimport/sql/customimport_setup/mysql4-install-0.1.0.php
CHANGED
@@ -1,7 +1,8 @@
|
|
1 |
<?php
|
2 |
/**
|
3 |
-
# Copyright (C) 2013 Global Era (http://www.globalera.com). All Rights Reserved
|
4 |
# @author Serenus Infotech <magento@serenusinfotech.com>
|
|
|
5 |
#
|
6 |
# This program is free software: you can redistribute it and/or modify
|
7 |
# it under the terms of the GNU Affero General Public License as
|
@@ -15,7 +16,7 @@
|
|
15 |
#
|
16 |
# You should have received a copy of the GNU Affero General Public License
|
17 |
# along with this program. If not, see <http://www.gnu.org/licenses/>.
|
18 |
-
**/
|
19 |
|
20 |
$installer = $this;
|
21 |
$installer->startSetup();
|
1 |
<?php
|
2 |
/**
|
3 |
+
# Copyright (C) 2013-2015 Global Era Commerce (http://www.globalera.com). All Rights Reserved
|
4 |
# @author Serenus Infotech <magento@serenusinfotech.com>
|
5 |
+
# @author Intelliant <magento@intelliant.net>
|
6 |
#
|
7 |
# This program is free software: you can redistribute it and/or modify
|
8 |
# it under the terms of the GNU Affero General Public License as
|
16 |
#
|
17 |
# You should have received a copy of the GNU Affero General Public License
|
18 |
# along with this program. If not, see <http://www.gnu.org/licenses/>.
|
19 |
+
**/
|
20 |
|
21 |
$installer = $this;
|
22 |
$installer->startSetup();
|
app/design/adminhtml/default/default/template/customimport/customimport.phtml
CHANGED
@@ -18,6 +18,24 @@ background-repeat: repeat-x;border-color: #28a4c9;}
|
|
18 |
<i>Allowed file name characters - [a-z,A-Z,0-9,_,-]. <br />(If any other character is part of the file name, then the import process shall not complete successfully.)</i>
|
19 |
</form>
|
20 |
<?php
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
21 |
ob_start();
|
22 |
set_time_limit(0);
|
23 |
$dir_root = Mage::getBaseDir() . DS;
|
18 |
<i>Allowed file name characters - [a-z,A-Z,0-9,_,-]. <br />(If any other character is part of the file name, then the import process shall not complete successfully.)</i>
|
19 |
</form>
|
20 |
<?php
|
21 |
+
/**
|
22 |
+
# Copyright (C) 2013-2015 Global Era Commerce (http://www.globalera.com). All Rights Reserved
|
23 |
+
# @author Serenus Infotech <magento@serenusinfotech.com>
|
24 |
+
# @author Intelliant <magento@intelliant.net>
|
25 |
+
#
|
26 |
+
# This program is free software: you can redistribute it and/or modify
|
27 |
+
# it under the terms of the GNU Affero General Public License as
|
28 |
+
# published by the Free Software Foundation, either version 3 of the
|
29 |
+
# License, or (at your option) any later version.
|
30 |
+
#
|
31 |
+
# This program is distributed in the hope that it will be useful,
|
32 |
+
# but WITHOUT ANY WARRANTY; without even the implied warranty of
|
33 |
+
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
34 |
+
# GNU Affero General Public License for more details.
|
35 |
+
#
|
36 |
+
# You should have received a copy of the GNU Affero General Public License
|
37 |
+
# along with this program. If not, see <http://www.gnu.org/licenses/>.
|
38 |
+
**/
|
39 |
ob_start();
|
40 |
set_time_limit(0);
|
41 |
$dir_root = Mage::getBaseDir() . DS;
|
app/design/adminhtml/default/default/template/gec/catalog/product/attribute/options.phtml
CHANGED
@@ -1,7 +1,8 @@
|
|
1 |
<?php
|
2 |
/**
|
3 |
-
# Copyright (C) 2013 Global Era (http://www.globalera.com). All Rights Reserved
|
4 |
-
# @author Serenus Infotech magento@serenusinfotech.com
|
|
|
5 |
#
|
6 |
# This program is free software: you can redistribute it and/or modify
|
7 |
# it under the terms of the GNU Affero General Public License as
|
@@ -14,8 +15,8 @@
|
|
14 |
# GNU Affero General Public License for more details.
|
15 |
#
|
16 |
# You should have received a copy of the GNU Affero General Public License
|
17 |
-
# along with this program. If not, see http://www.gnu.org/licenses
|
18 |
-
**/
|
19 |
|
20 |
?>
|
21 |
<div>
|
1 |
<?php
|
2 |
/**
|
3 |
+
# Copyright (C) 2013-2015 Global Era Commerce (http://www.globalera.com). All Rights Reserved
|
4 |
+
# @author Serenus Infotech <magento@serenusinfotech.com>
|
5 |
+
# @author Intelliant <magento@intelliant.net>
|
6 |
#
|
7 |
# This program is free software: you can redistribute it and/or modify
|
8 |
# it under the terms of the GNU Affero General Public License as
|
15 |
# GNU Affero General Public License for more details.
|
16 |
#
|
17 |
# You should have received a copy of the GNU Affero General Public License
|
18 |
+
# along with this program. If not, see <http://www.gnu.org/licenses/>.
|
19 |
+
**/
|
20 |
|
21 |
?>
|
22 |
<div>
|
app/etc/modules/Gec_Customimport.xml
CHANGED
@@ -1,23 +1,22 @@
|
|
1 |
<?xml version="1.0"?>
|
2 |
-
<!--
|
3 |
-
|
4 |
-
|
5 |
-
|
6 |
-
|
7 |
-
|
8 |
-
|
9 |
-
|
10 |
-
|
11 |
-
|
12 |
-
|
13 |
-
|
14 |
-
|
15 |
-
|
16 |
-
|
17 |
-
|
18 |
-
|
19 |
-
|
20 |
-
-->
|
21 |
|
22 |
<config>
|
23 |
<modules>
|
1 |
<?xml version="1.0"?>
|
2 |
+
<!--
|
3 |
+
Copyright (C) 2013 Global Era Commerce (http://www.globalera.com). All Rights Reserved
|
4 |
+
@author Serenus Infotech <magento@serenusinfotech.com>
|
5 |
+
@author Intelliant <magento@intelliant.net>
|
6 |
+
|
7 |
+
This program is free software: you can redistribute it and/or modify
|
8 |
+
it under the terms of the GNU Affero General Public License as
|
9 |
+
published by the Free Software Foundation, either version 3 of the
|
10 |
+
License, or (at your option) any later version.
|
11 |
+
|
12 |
+
This program is distributed in the hope that it will be useful,
|
13 |
+
but WITHOUT ANY WARRANTY; without even the implied warranty of
|
14 |
+
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
15 |
+
GNU Affero General Public License for more details.
|
16 |
+
|
17 |
+
You should have received a copy of the GNU Affero General Public License
|
18 |
+
along with this program. If not, see <http://www.gnu.org/licenses/>.
|
19 |
+
-->
|
|
|
20 |
|
21 |
<config>
|
22 |
<modules>
|
package.xml
CHANGED
@@ -1,7 +1,7 @@
|
|
1 |
<?xml version="1.0"?>
|
2 |
<package>
|
3 |
<name>Gec_Customimport</name>
|
4 |
-
<version>2.0.0.
|
5 |
<stability>stable</stability>
|
6 |
<license uri="http://www.gnu.org/licenses/agpl-3.0.txt">GNU Affero General Public License</license>
|
7 |
<channel>community</channel>
|
@@ -30,19 +30,19 @@ Supports seed and thereafter incremental import of categories, attributes and pr
|
|
30 |
Detailed step-by-step instructions to install and configure this instruction are available <a href="https://github.com/globalera/Magento-Catalog-Import/blob/master/README.md" target="_blank">herein.</a></description>
|
31 |
<notes>Bug-fix and improvements (Tested on Magento 1.9.x)
|
32 |

|
33 |
-
1.
|
34 |

|
35 |
-
2.
|
36 |

|
37 |
-
3.
|
38 |

|
39 |
-
4.
|
40 |

|
41 |
-
|
42 |
<authors><author><name>Vince Clark</name><user>vclark</user><email>vclark@globalera.com</email></author><author><name>Shrenik Bhura</name><user>shrenikbhura</user><email>shrenik.bhura@intelliant.net</email></author></authors>
|
43 |
-
<date>2015-12-
|
44 |
-
<time>
|
45 |
-
<contents><target name="magelocal"><dir name="Gec"><dir name="Customimport"><dir name="Block"><dir name="Adminhtml"><file name="Catalogimport.php" hash="
|
46 |
<compatible/>
|
47 |
<dependencies><required><php><min>5.4.0</min><max>5.5.30</max></php><package><name>Mage_Core_Modules</name><channel>community</channel><min>1.7.0.0</min><max>1.9.2.2</max></package><package><name/><channel>connect.magentocommerce.com/core</channel><min/><max/></package></required></dependencies>
|
48 |
</package>
|
1 |
<?xml version="1.0"?>
|
2 |
<package>
|
3 |
<name>Gec_Customimport</name>
|
4 |
+
<version>2.0.0.5</version>
|
5 |
<stability>stable</stability>
|
6 |
<license uri="http://www.gnu.org/licenses/agpl-3.0.txt">GNU Affero General Public License</license>
|
7 |
<channel>community</channel>
|
30 |
Detailed step-by-step instructions to install and configure this instruction are available <a href="https://github.com/globalera/Magento-Catalog-Import/blob/master/README.md" target="_blank">herein.</a></description>
|
31 |
<notes>Bug-fix and improvements (Tested on Magento 1.9.x)
|
32 |

|
33 |
+
1. Covered a case of a pre-existing attribute set while creating a new one.
|
34 |

|
35 |
+
2. Logging source attribute group id instead of magento attribute group id
|
36 |

|
37 |
+
3. Handled the case when attribute is missing in magento while trying to update the parent attribute group
|
38 |

|
39 |
+
4. Removed importing of weight for a configurable product
|
40 |

|
41 |
+
</notes>
|
42 |
<authors><author><name>Vince Clark</name><user>vclark</user><email>vclark@globalera.com</email></author><author><name>Shrenik Bhura</name><user>shrenikbhura</user><email>shrenik.bhura@intelliant.net</email></author></authors>
|
43 |
+
<date>2015-12-21</date>
|
44 |
+
<time>12:16:03</time>
|
45 |
+
<contents><target name="magelocal"><dir name="Gec"><dir name="Customimport"><dir name="Block"><dir name="Adminhtml"><file name="Catalogimport.php" hash="e5bc70eecb6a4d56bcb561ab1ce224fa"/><file name="Customimport.php" hash="4aaf76be616f2a433565e211eaff2e85"/></dir><dir name="Catalog"><dir name="Product"><dir name="Attribute"><dir name="Edit"><dir name="Tab"><file name="Options.php" hash="9cfacd51a457bf80a46e6921020ad48c"/></dir></dir></dir></dir></dir></dir><dir name="Helper"><dir name="Catalog"><file name="Image.php" hash="d7b564a66cf53ffff338912040a5de73"/></dir><file name="Data.php" hash="d448c85b8ee74adbd9f6546e9a11a171"/></dir><dir name="Model"><file name="Attrgroup.php" hash="37a839c588d355f9120ade28bcab50b8"/><file name="Attrsetmapping.php" hash="447a20c2d6f97e78751f12095ae3c2a3"/><dir name="Catalog"><dir name="Resource"><dir name="Eav"><dir name="Mysql4"><file name="Attribute.php" hash="4c7e06ca01df7998826292a00b3d4bfc"/></dir></dir></dir></dir><file name="Catalogentity.php" hash="cd10b2dd5fd227c5abe32b8ea72f824c"/><file name="Customimport.php" hash="b8725e611b54047aef5215856391c14f"/><file name="Eavattributegroup.php" hash="1c3b16c01060005f0a888a85577798ad"/><file name="Eavattributeoption.php" hash="a28bc09b99c5abc6baf657cc9701a03f"/><file name="Eaventityattribute.php" hash="1eb5f719737cda5dc53ac03c39553666"/><file name="Externalcategorymappinginfo.php" hash="7317c11769b748a0e80b137474af9281"/><dir name="Mysql4"><dir name="Attrgroup"><file name="Collection.php" hash="c7d63200d3dad0ecd271936e1d86a682"/></dir><file name="Attrgroup.php" hash="3035d75bb3ec5ecfcda6063daa0e86cb"/><dir name="Attrsetmapping"><file name="Collection.php" hash="442c9d881db2f4199d890c66a435bb14"/></dir><file name="Attrsetmapping.php" hash="77967c75149e806373a4f80ca5a8e7a4"/><dir name="Catalogentity"><file name="Collection.php" hash="4075f2a43e8eda07ba29e0b90c84aa83"/></dir><file name="Catalogentity.php" hash="40a4152376eac631370f5f22e077c5be"/><dir name="Customimport"><file name="Collection.php" hash="a56c6dbf083d3ba78d5693213488b4f2"/></dir><file name="Customimport.php" hash="45db905029ccf17f4ae73fc93197eb54"/><dir name="Eavattributegroup"><file name="Collection.php" hash="3715725d962c2e6520c4886e751ab17c"/></dir><file name="Eavattributegroup.php" hash="efa50980ce6469227fb004fefd9c2e44"/><dir name="Eavattributeoption"><file name="Collection.php" hash="71b08e4161b0bc46a56107e625886c00"/></dir><file name="Eavattributeoption.php" hash="eb3548f3521793ca7567d724a6cb2d1d"/><dir name="Eaventityattribute"><file name="Collection.php" hash="6f627e7a4231e38e947a102633dc9d12"/></dir><file name="Eaventityattribute.php" hash="22e8a22b30e865ae4fb3abe84aeb1a03"/><dir name="Externalcategorymappinginfo"><file name="Collection.php" hash="5f294010519be49c4367417d324e0340"/></dir><file name="Externalcategorymappinginfo.php" hash="6fa227ca2802ec35a4486c370a7f3fe2"/><file name="Setup.php" hash="b2dd43d46f0e87e100d708284139091f"/></dir><file name="Status.php" hash="f9e995fddd5b8059a80be0386b026759"/></dir><dir name="controllers"><dir name="Adminhtml"><file name="IndexController.php" hash="8375ab7d568d39bba8f742ba36c79efc"/></dir></dir><dir name="etc"><file name="adminhtml.xml" hash="0cbf9628390eef3e34fd93fb934e8acd"/><file name="config.xml" hash="1c9c8e5c47621bcae876f85f1376b361"/><file name="system.xml" hash="640f3ec7b8a35f65b9608e8bf246ed52"/></dir><dir name="sql"><dir name="customimport_setup"><file name="mysql4-install-0.1.0.php" hash="f51d9d4d6181e8a70a4d15096a357126"/></dir></dir></dir></dir></target><target name="magedesign"><dir name="adminhtml"><dir name="default"><dir name="default"><dir name="layout"><file name="customimport.xml" hash="58e97b28b754651736288d8f6d0e9231"/></dir><dir name="template"><dir name="gec"><dir name="catalog"><dir name="product"><dir name="attribute"><file name="options.phtml" hash="60f149a04ae1e60094c33b8ed85e51da"/></dir></dir></dir></dir><dir name="customimport"><file name="customimport.phtml" hash="f605decf69dc3aee88acb31ea5932ed6"/></dir></dir></dir></dir></dir></target><target name="mageetc"><dir name="modules"><file name="Gec_Customimport.xml" hash="40656ac88fc7f4129822fc98fa19a10e"/></dir></target></contents>
|
46 |
<compatible/>
|
47 |
<dependencies><required><php><min>5.4.0</min><max>5.5.30</max></php><package><name>Mage_Core_Modules</name><channel>community</channel><min>1.7.0.0</min><max>1.9.2.2</max></package><package><name/><channel>connect.magentocommerce.com/core</channel><min/><max/></package></required></dependencies>
|
48 |
</package>
|