AMartinez_CustomImportExport - Version 1.5.008

Version Notes

Magento 1.5 version.

Download this release

Release Info

Developer Antonio Martinez
Extension AMartinez_CustomImportExport
Version 1.5.008
Comparing to
See all releases


Code changes from version 1.5.007 to 1.5.008

app/code/community/AMartinez/CustomImportExport/Model/Import/Entity/Product.php CHANGED
@@ -50,11 +50,10 @@ class AMartinez_CustomImportExport_Model_Import_Entity_Product extends Mage_Impo
50
  if ($this->parseAttributeOption($attrCode, $rowData[$attrCode]))
51
  {
52
  $this->_newAttrParams[] = $attrCode . ":" . $rowData[$attrCode];
53
- // $this->addRowError(Mage::helper('importexport')->__("Attribute option added for '%s'"), $rowNum, $attrCode);
54
  echo ":::: " . Mage::helper('importexport')->__("New attribute option added: ") . $attrCode . " - " . $rowData[$attrCode] . " (first ocurrence in line " . ($rowNum+1) . ") ::::\n";
55
  $this->addRowError(Mage::helper('importexport')->__("Attribute option added for '%s'"), $rowNum, $attrCode);
56
  }
57
- return true;
58
  }
59
  break;
60
  case 'int':
50
  if ($this->parseAttributeOption($attrCode, $rowData[$attrCode]))
51
  {
52
  $this->_newAttrParams[] = $attrCode . ":" . $rowData[$attrCode];
 
53
  echo ":::: " . Mage::helper('importexport')->__("New attribute option added: ") . $attrCode . " - " . $rowData[$attrCode] . " (first ocurrence in line " . ($rowNum+1) . ") ::::\n";
54
  $this->addRowError(Mage::helper('importexport')->__("Attribute option added for '%s'"), $rowNum, $attrCode);
55
  }
56
+ return false;
57
  }
58
  break;
59
  case 'int':
app/code/community/AMartinez/CustomImportExport/etc/config.xml CHANGED
@@ -14,7 +14,7 @@
14
 
15
  <modules>
16
  <AMartinez_CustomImportExport>
17
- <version>1.5.007</version>
18
  <depends>
19
  <!-- no dependencies -->
20
  </depends>
14
 
15
  <modules>
16
  <AMartinez_CustomImportExport>
17
+ <version>1.5.008</version>
18
  <depends>
19
  <!-- no dependencies -->
20
  </depends>
app/code/community/AMartinez/CustomImportExport/shell/run.php CHANGED
@@ -32,6 +32,10 @@ class AMartinez_CustomImportExport extends Mage_Shell_Abstract
32
  die($this->usageHelp());
33
  }
34
 
 
 
 
 
35
  // database export
36
  if ($backup = $this->initDatabaseBackupModel()) {
37
  echo "Start database output to file " . $backup->getPath() . DS . $backup->getFilename() . "\n";
@@ -44,59 +48,79 @@ class AMartinez_CustomImportExport extends Mage_Shell_Abstract
44
  }
45
  }
46
 
47
- // behavior
48
- if ($this->getArg('b'))
49
- {
50
- $this->behavior = $this->getArg('b');
51
- }
52
- elseif ($this->getArg('behavior'))
53
- {
54
- $this->behavior = $this->getArg('behavior');
55
- }
56
- else
57
- {
58
- $this->behavior = 'replace';
59
- }
60
-
61
  $import = $this->initImportModel();
62
 
63
  // products import
64
- if ($file = $this->getSourceFile()) {
65
- echo "Start '$this->behavior' action. Products source file $file\n";
66
- Mage::log("Start '$this->behavior' action. Products source file $file", Zend_Log::DEBUG);
67
-
68
- $validationResult = $import->validateSource($file);
69
- $processedRowsCount = $import->getProcessedRowsCount();
70
-
71
- if ($processedRowsCount > 0)
 
 
 
72
  {
73
- // if type 'select' attribute options added, revalidate source (not necessary for categories)
74
- foreach ($import->getErrors() as $type => $lines)
75
  {
76
- if (strpos($type, "added"))
77
  {
78
- $import = $this->initImportModel();
79
- $validationResult = $import->validateSource($file);
80
- $processedRowsCount = $import->getProcessedRowsCount();
81
- break;
82
  }
 
 
 
 
83
  }
84
-
85
- if (!$validationResult)
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
86
  {
87
- $message = sprintf("File %s contains %s corrupt records (from a total of %s)",
88
- $file, $import->getInvalidRowsCount(), $processedRowsCount
89
- );
90
- foreach ($import->getErrors() as $type => $lines)
91
  {
92
- $message .= "\n:::: " . $type . " ::::\nIn Line(s) " . implode(", ", $lines) . "\n";
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
93
  }
94
- Mage::throwException($message);
 
 
95
  }
96
-
97
- $import->importSource();
98
- }
99
- echo "Done (processed rows count: " . $processedRowsCount . ")\n";
100
  }
101
 
102
  // products export
@@ -477,7 +501,7 @@ class AMartinez_CustomImportExport extends Mage_Shell_Abstract
477
  public function usageHelp()
478
  {
479
  return <<<HELP
480
- AMartinez_CustomImportExport script (v. 1.5.006)
481
 
482
  NAME
483
  run.php
@@ -530,6 +554,10 @@ OPTIONS
530
  -flushimages
531
  flush catalog images cache
532
 
 
 
 
 
533
  -p
534
  -applyrules
535
  recalculate catalog price rules
32
  die($this->usageHelp());
33
  }
34
 
35
+ // behavior
36
+ $this->behavior = ($this->getArg('b') ? $this->getArg('b') : ($this->getArg('behavior') ? $this->getArg('behavior') : 'replace'));
37
+ $this->behavior === true ? $this->behavior = 'replace': '';
38
+
39
  // database export
40
  if ($backup = $this->initDatabaseBackupModel()) {
41
  echo "Start database output to file " . $backup->getPath() . DS . $backup->getFilename() . "\n";
48
  }
49
  }
50
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
51
  $import = $this->initImportModel();
52
 
53
  // products import
54
+ if ($filename = $this->getSourceFile()) {
55
+ // line count
56
+ $linecount = ($this->getArg('l') ? $this->getArg('l') : ($this->getArg('linecount') ? $this->getArg('linecount') : true));
57
+ $extension = pathinfo($filename, PATHINFO_EXTENSION);
58
+ $count = 0;
59
+ $i = 0;
60
+ $j = 0;
61
+ $files = array();
62
+ $h = fopen($filename, 'r');
63
+ $header = fgets($h);
64
+ while($line = fgets($h))
65
  {
66
+ // first iteration, no "attr-only" line, line count has been reached
67
+ if ($i == 0 || (substr($line, 0 ,1) != ',' && $i > $linecount && !($linecount === true)))
68
  {
69
+ if (defined('t'))
70
  {
71
+ fclose($t);
 
 
 
72
  }
73
+ $files[] = $filename . '.tmp.' . $j . '.' . $extension;
74
+ $t = fopen($files[$j++], 'w');
75
+ fwrite($t, $header);
76
+ $i = 0;
77
  }
78
+ fwrite($t, $line);
79
+ $count++;
80
+ $i++;
81
+ }
82
+ fclose($h);
83
+ fclose($t);
84
+
85
+ echo "Start '$this->behavior' action (products source file: $filename, raw line count: $count)\n";
86
+ Mage::log("Start '$this->behavior' action (products source file: $filename, raw line count: $count)", Zend_Log::DEBUG);
87
+
88
+ $count = 0;
89
+ foreach ($files as $file)
90
+ {
91
+ $import = $this->initImportModel();
92
+ $validationResult = $import->validateSource($file);
93
+ $processedRowsCount = $import->getProcessedRowsCount();
94
+
95
+ if ($processedRowsCount > 0)
96
  {
97
+ while (!$validationResult)
 
 
 
98
  {
99
+ $message = '';
100
+ // if 'select' attr options added, revalidate source (not needed for categories)
101
+ foreach ($import->getErrors() as $type => $lines)
102
+ {
103
+ if (!strpos($type, "added"))
104
+ {
105
+ $message .= "\n:::: " . $type . " ::::\nIn Line(s) " . implode(", ", $lines) . "\n";
106
+ }
107
+ }
108
+
109
+ if ($message) {
110
+ Mage::throwException(sprintf("File %s contains %s corrupt records (from a total of %s)", $file, $import->getInvalidRowsCount(), $processedRowsCount) . $message);
111
+ }
112
+
113
+ $import = $this->initImportModel();
114
+ $validationResult = $import->validateSource($file);
115
+ $processedRowsCount = $import->getProcessedRowsCount();
116
  }
117
+
118
+ $count += $processedRowsCount;
119
+ $import->importSource();
120
  }
121
+ unlink($file);
122
+ }
123
+ echo "Done (processed rows count: " . $count . ")\n";
 
124
  }
125
 
126
  // products export
501
  public function usageHelp()
502
  {
503
  return <<<HELP
504
+ AMartinez_CustomImportExport script (v. 1.5.008)
505
 
506
  NAME
507
  run.php
554
  -flushimages
555
  flush catalog images cache
556
 
557
+ -l <n>
558
+ -linecount <n>
559
+ split import file into pieces of n lines length
560
+
561
  -p
562
  -applyrules
563
  recalculate catalog price rules
package.xml CHANGED
@@ -1,7 +1,7 @@
1
  <?xml version="1.0"?>
2
  <package>
3
  <name>AMartinez_CustomImportExport</name>
4
- <version>1.5.007</version>
5
  <stability>stable</stability>
6
  <license uri="http://opensource.org/licenses/osl-3.0">OSL v3.0</license>
7
  <channel>community</channel>
@@ -87,9 +87,9 @@ EXAMPLES&#xD;
87
  php -f app/code/community/AMartinez/CustomImportExport/shell/run.php -- -databasebackup -import -all</description>
88
  <notes>Magento 1.5 version.</notes>
89
  <authors><author><name>Antonio Martinez</name><user>amartinez</user><email>toniyecla@gmail.com</email></author></authors>
90
- <date>2011-05-08</date>
91
- <time>21:37:50</time>
92
- <contents><target name="magecommunity"><dir name="AMartinez"><dir name="CustomImportExport"><dir name="Helper"><file name="Data.php" hash="0c8b64920ba9cf893513573bbbb55549"/></dir><dir name="Model"><file name="Backup.php" hash="fcdfe4eaa58adcacb0ae46c74d8698bd"/><file name="Export.php" hash="010ef7eb6564b48a721dd32b0ee4c3e8"/><dir name="Import"><dir name="Adapter"><file name="Csv1.php" hash="fa713ee0bc9034befd91eee758fc2d0a"/></dir><file name="Adapter.php" hash="6d7d568cc3dfe002763638513bc04b7f"/><dir name="Entity"><dir name="Customer"><file name="Address.php" hash="d8bead4d90523f54a451b0fc55ff1462"/></dir><file name="Customer.php" hash="d1af4445b6a38f77feaf843623658955"/><dir name="Product"><dir name="Type"><file name="Configurable.php" hash="3614bf1abe10bb500219c787c2a6ebcc"/><file name="Grouped.php" hash="b7c054303353d88e5d0c9fd303670ef5"/><file name="Simple.php" hash="48cdfdfc5c2e42b011e83483f50690c4"/></dir></dir><file name="Product.php" hash="1a4bd575430a4e10af00045dc5c84fa9"/></dir></dir><file name="Import.php" hash="df2c81435b1ceb01170abc64daf7d3a4"/></dir><dir name="etc"><file name="config.xml" hash="779fb99681ad86ca9df08aa3b30fe4ec"/></dir><dir name="shell"><file name="run.php" hash="542b56ae6dbc095173cfe426af993da9"/></dir></dir></dir></target><target name="mageetc"><dir name="modules"><file name="AMartinez_CustomImportExport.xml" hash="75ba4fbc265d1cf2b6ab61b8f3a3b95e"/></dir></target><target name="mage"><dir name="var"><dir name="customimportexport"><file name="customersexport.csv" hash="39e55a50b73e0aadab7f7c1ea4a93f1d"/><file name="productsexport.csv" hash="be786ce510a058241f16c17353efba47"/><file name="test_configurable.csv" hash="da1cb8fea77cc7ee591e3488d12ca6d8"/><file name="test_grouped.csv" hash="1281612b7e89e4681367e654631b2521"/><file name="test_single_row_style.csv1" hash="dfcd266cb65ab97e93f9402e4f32bffb"/></dir></dir></target></contents>
93
  <compatible/>
94
  <dependencies><required><php><min>5.2.0</min><max>6.0.0</max></php></required></dependencies>
95
  </package>
1
  <?xml version="1.0"?>
2
  <package>
3
  <name>AMartinez_CustomImportExport</name>
4
+ <version>1.5.008</version>
5
  <stability>stable</stability>
6
  <license uri="http://opensource.org/licenses/osl-3.0">OSL v3.0</license>
7
  <channel>community</channel>
87
  php -f app/code/community/AMartinez/CustomImportExport/shell/run.php -- -databasebackup -import -all</description>
88
  <notes>Magento 1.5 version.</notes>
89
  <authors><author><name>Antonio Martinez</name><user>amartinez</user><email>toniyecla@gmail.com</email></author></authors>
90
+ <date>2011-05-11</date>
91
+ <time>17:57:21</time>
92
+ <contents><target name="magecommunity"><dir name="AMartinez"><dir name="CustomImportExport"><dir name="Helper"><file name="Data.php" hash="0c8b64920ba9cf893513573bbbb55549"/></dir><dir name="Model"><file name="Backup.php" hash="fcdfe4eaa58adcacb0ae46c74d8698bd"/><file name="Export.php" hash="010ef7eb6564b48a721dd32b0ee4c3e8"/><dir name="Import"><dir name="Adapter"><file name="Csv1.php" hash="fa713ee0bc9034befd91eee758fc2d0a"/></dir><file name="Adapter.php" hash="6d7d568cc3dfe002763638513bc04b7f"/><dir name="Entity"><dir name="Customer"><file name="Address.php" hash="d8bead4d90523f54a451b0fc55ff1462"/></dir><file name="Customer.php" hash="d1af4445b6a38f77feaf843623658955"/><dir name="Product"><dir name="Type"><file name="Configurable.php" hash="3614bf1abe10bb500219c787c2a6ebcc"/><file name="Grouped.php" hash="b7c054303353d88e5d0c9fd303670ef5"/><file name="Simple.php" hash="48cdfdfc5c2e42b011e83483f50690c4"/></dir></dir><file name="Product.php" hash="84257daddd6a8d47bc94fa5fe81c0a2d"/></dir></dir><file name="Import.php" hash="df2c81435b1ceb01170abc64daf7d3a4"/></dir><dir name="etc"><file name="config.xml" hash="fd18e1c97a8b1dbbd2bc3122d721da57"/></dir><dir name="shell"><file name="run.php" hash="6c797300adfc556555fa36323d3da508"/></dir></dir></dir></target><target name="mageetc"><dir name="modules"><file name="AMartinez_CustomImportExport.xml" hash="75ba4fbc265d1cf2b6ab61b8f3a3b95e"/></dir></target><target name="mage"><dir name="var"><dir name="customimportexport"><file name="test_configurable.csv" hash="d0447d047ef94f2f65a9fd375348cd39"/><file name="test_grouped.csv" hash="9c76b71b05c8e2b52efae4725f4119a4"/><file name="test_single_row_style.csv1" hash="dfcd266cb65ab97e93f9402e4f32bffb"/></dir></dir></target></contents>
93
  <compatible/>
94
  <dependencies><required><php><min>5.2.0</min><max>6.0.0</max></php></required></dependencies>
95
  </package>
var/customimportexport/customersexport.csv DELETED
@@ -1,2 +0,0 @@
1
- email,_website,_store,website_id,store_id,created_in,prefix,firstname,middlename,lastname,suffix,group_id,dob,password_hash,taxvat,confirmation,created_at,gender,password,_address_city,_address_company,_address_country_id,_address_fax,_address_firstname,_address_lastname,_address_middlename,_address_postcode,_address_prefix,_address_region,_address_street,_address_suffix,_address_telephone,_address_default_billing_,_address_default_shipping_
2
- prueba@prueba.com,admin,admin,0,0,Admin,,prueba,,prueba,,1,,5640602a3fe01e40b880778c4351bbb3:5c,,,"2011-05-05 21:43:03",Male,,yecla,,ES,,prueba,prueba,,30510,,Murcia,prueba,,999999999,1,1
 
 
var/customimportexport/productsexport.csv DELETED
@@ -1,19 +0,0 @@
1
- sku,_store,_attribute_set,_type,_category,_product_websites,color,cost,created_at,custom_design,custom_design_from,custom_design_to,custom_layout_update,delivery_date,description,enable_googlecheckout,gallery,genero,gift_message_available,has_options,image,image_label,is_imported,manufacturer,media_gallery,meta_description,meta_keyword,meta_title,minimal_price,name,news_from_date,news_to_date,options_container,page_layout,price,required_options,short_description,size,small_image,small_image_label,special_from_date,special_price,special_to_date,status,tax_class_id,thumbnail,thumbnail_label,tipo_articulo,updated_at,url_key,url_path,visibility,weight,qty,min_qty,use_config_min_qty,is_qty_decimal,backorders,use_config_backorders,min_sale_qty,use_config_min_sale_qty,max_sale_qty,use_config_max_sale_qty,is_in_stock,notify_stock_qty,use_config_notify_stock_qty,manage_stock,use_config_manage_stock,use_config_qty_increments,qty_increments,use_config_enable_qty_increments,enable_qty_increments,_links_related_sku,_links_related_position,_links_crosssell_sku,_links_crosssell_position,_links_upsell_sku,_links_upsell_position,_associated_sku,_associated_default_qty,_associated_position,_tier_price_website,_tier_price_customer_group,_tier_price_qty,_tier_price_price
2
- test_1,,Default,simple,MALICIA,base,,,"2011-03-04 12:43:37",,,,,,testeando,1,,,,0,/m/_/m.373-r2_1.jpg,,No,,,,,,,"Test 1","2011-03-02 00:00:00",,"Block after Info Column",,10.0000,0,"test 1",,/m/_/m.373-r2_1.jpg,,,,,1,0,/m/_/m.373-r2_1.jpg,,,"2011-03-14 16:04:40",test-1,test-1.html,4,1.0000,100.0000,0.0000,1,0,0,1,1.0000,1,0.0000,1,1,,1,0,1,1,0.0000,1,0,,,,,,,,,,,,,
3
- ,,,,"DARK METAL",,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,
4
- test_2,,Default,simple,MALICIA,base,,,"2011-03-04 12:45:48",,,,,,testeando2,1,,,,0,/m/_/m.1468-s1_2.jpg,,No,,,,,,,Test2,"2011-03-09 00:00:00",,"Block after Info Column",,10.0000,0,test2,,/m/_/m.1468-s1_2.jpg,,,,,1,0,/m/_/m.1468-s1_2.jpg,,,"2011-03-14 16:04:21",test2,test2.html,4,2.0000,100.0000,0.0000,1,0,0,1,1.0000,1,0.0000,1,1,,1,0,1,1,0.0000,1,0,,,,,,,,,,,,,
5
- ,,,,"DARK METAL",,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,
6
- test,,Default,grouped,MALICIA,base,,,"2011-03-04 12:47:07",,,,,,test,1,,,,0,/m/_/m.punk001-c11_2.jpg,,No,,,,,,,test,"2011-03-04 00:00:00",,"Block after Info Column",,,0,test,,/m/_/m.punk001-c11_2.jpg,,,,,1,,/m/_/m.punk001-c11_2.jpg,,,"2011-03-04 15:49:35",test,test.html,4,,0.0000,0.0000,1,0,0,1,1.0000,1,0.0000,1,1,,1,0,1,1,0.0000,1,0,,,,,,,,,,,,,
7
- ,,,,"DARK METAL",,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,
8
- ARMY1-S1-37,,Default,simple,"ARMY COLLECTION",base,,,"2011-03-14 11:30:44",,,,,,"blah blah",1,,,,0,,,,,,,,,,"ARMY1-S1 (37)","2011-03-09 00:00:00",,"Block after Info Column",,43.9000,0,"ARMY COLLECTION",,,,,,,1,0,,,Shoes,"2011-03-14 11:30:44",army1-s1-37,army1-s1-37.html,4,1.1000,999.0000,0.0000,1,0,0,1,1.0000,1,10000.0000,1,1,1.0000,1,1,1,1,0.0000,1,0,,,,,,,,,,,,,
9
- test_10,,Default,simple,MALICIA,base,,,"2011-03-14 15:58:41",,,,,,testeando,1,,,,0,no_selection,,No,,,,,,,"Test 1","2011-03-05 00:00:00",,"Block after Info Column",,10.0000,0,"test 1",,no_selection,,,,,1,0,no_selection,,,"2011-03-14 16:02:55",test-1,test-2.html,4,1.0000,100.0000,0.0000,1,0,0,1,1.0000,1,0.0000,1,1,0.0000,1,0,1,1,0.0000,1,0,,,,,,,,,,,,,
10
- ,,,,"DARK METAL",,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,
11
- test_20,,Default,simple,MALICIA,base,,,"2011-03-14 15:58:41",,,,,,testeando2,1,,,,0,no_selection,,No,,,,,,,Test2,"2011-03-13 00:00:00",,"Block after Info Column",,10.0000,0,test2,,no_selection,,,,,1,0,no_selection,,,"2011-03-14 16:02:34",test2,test2-1.html,4,2.0000,100.0000,0.0000,1,0,0,1,1.0000,1,0.0000,1,1,0.0000,1,0,1,1,0.0000,1,0,,,,,,,,,,,,,
12
- ,,,,"DARK METAL",,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,
13
- test_test,,Default,grouped,MALICIA,base,,,"2011-03-14 15:58:41",,,,,,test,1,,,,0,no_selection,,No,,,,,,,test,"2011-03-04 00:00:00",,"Block after Info Column",,,0,test,,no_selection,,,,,1,,no_selection,,,"2011-03-14 18:58:20",test,test-3.html,4,,0.0000,0.0000,1,0,0,1,1.0000,1,0.0000,1,1,0.0000,1,0,1,1,0.0000,1,0,,,,,,,,,,,,,
14
- ,,,,"DARK METAL",,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,
15
- TEST1-S1-35,,Default,simple,"TEST COLLECTION",base,,,"2011-04-28 10:15:42",,,,,"1970-01-01 00:00:00","TEST COLLECTION",1,,,,0,,,,,,,,,,"TEST1-S1 (35)","2011-04-08 00:00:00",,"Block after Info Column",,43.9000,0,"TEST COLLECTION",35,,,,,,1,2,,,Shoes,"2011-05-04 22:27:51",test1-s1-35,test1-s1-35.html,1,1.1000,999.0000,0.0000,1,0,0,1,1.0000,1,10000.0000,1,1,1.0000,1,1,1,1,0.0000,1,0,,,,,,,,,,,,,
16
- TEST1-S1-36,,Default,simple,"TEST COLLECTION",base,,,"2011-04-28 10:15:42",,,,,"1970-01-01 00:00:00","TEST COLLECTION",1,,,,0,,,,,,,,,,"TEST1-S1 (36)","2011-04-08 00:00:00",,"Block after Info Column",,43.9000,0,"TEST COLLECTION",36,,,,,,1,2,,,Shoes,"2011-05-04 22:27:51",test1-s1-36,test1-s1-36.html,1,1.1000,999.0000,0.0000,1,0,0,1,1.0000,1,10000.0000,1,1,1.0000,1,1,1,1,0.0000,1,0,,,,,,,,,,,,,
17
- TEST1-S1-37,,Default,simple,"TEST COLLECTION",base,,,"2011-04-28 10:15:42",,,,,"1970-01-01 00:00:00","TEST COLLECTION",1,,,,0,,,,,,,,,,"TEST1-S1 (37)","2011-04-08 00:00:00",,"Block after Info Column",,43.9000,0,"TEST COLLECTION",37,,,,,,1,2,,,Shoes,"2011-05-04 22:27:51",test1-s1-37,test1-s1-37.html,1,1.1000,999.0000,0.0000,1,0,0,1,1.0000,1,10000.0000,1,1,1.0000,1,1,1,1,0.0000,1,0,,,,,,,,,,,,,
18
- TEST1-S1,,Default,grouped,MALICIA,base,,,"2011-04-28 10:15:42",,,,,"1970-01-01 00:00:00","TEST COLLECTION",1,,,,0,/img_articulos/TEST1-S1.jpg,,,,,,,,,"TEST 1 ANTIK NEGRO, PISO TEST test","2011-04-08 00:00:00",,"Block after Info Column",,,0,"TEST COLLECTION",,/img_articulos/TEST1-S1.jpg,,,,,1,,/img_articulos/TEST1-S1.jpg,,Shoes,"2011-05-04 22:27:51",test-1-antik-negro-piso-test-test,test-1-antik-negro-piso-test-test.html,4,,0.0000,0.0000,1,0,0,1,1.0000,1,10000.0000,1,1,1.0000,1,1,1,1,0.0000,1,0,,,,,,,,,,,,,
19
- ,,,,"TEST COLLECTION",,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
var/customimportexport/test_configurable.csv CHANGED
@@ -13,7 +13,7 @@
13
  "TEST1-S1-46","simple","base","Default","2011-4-8","Shoes","TEST COLLECTION","1","1","1.10","1","999","46","43.90","1899-12-31","2","TEST1-S1 (46)","TEST COLLECTION","TEST COLLECTION",,,
14
  "TEST1-S1-47","simple","base","Default","2011-4-8","Shoes","TEST COLLECTION","1","1","1.10","1","999","47","43.90","1899-12-31","2","TEST1-S1 (47)","TEST COLLECTION","TEST COLLECTION",,,
15
  "TEST1-S1-48","simple","base","Default","2011-4-8","Shoes","TEST COLLECTION","1","1","1.10","1","999","48","43.90","1899-12-31","2","TEST1-S1 (48)","TEST COLLECTION","TEST COLLECTION",,,
16
- "TEST1-S1","configurable","base","Default","2011-4-8","Shoes","TEST COLLECTION","1","4","1.10","1","13986","","43.90","1899-12-31","2","TEST 1 ANTIK NEGRO, PISO TEST (WITH ZIP)","TEST COLLECTION",,"TEST1-S1-35","size","/img_articulos/TEST1-S1.jpg"
17
  ,,,,,,,,,,,,,,,,,,,"TEST1-S1-36",,
18
  ,,,,,,,,,,,,,,,,,,,"TEST1-S1-37",,
19
  ,,,,,,,,,,,,,,,,,,,"TEST1-S1-38",,
13
  "TEST1-S1-46","simple","base","Default","2011-4-8","Shoes","TEST COLLECTION","1","1","1.10","1","999","46","43.90","1899-12-31","2","TEST1-S1 (46)","TEST COLLECTION","TEST COLLECTION",,,
14
  "TEST1-S1-47","simple","base","Default","2011-4-8","Shoes","TEST COLLECTION","1","1","1.10","1","999","47","43.90","1899-12-31","2","TEST1-S1 (47)","TEST COLLECTION","TEST COLLECTION",,,
15
  "TEST1-S1-48","simple","base","Default","2011-4-8","Shoes","TEST COLLECTION","1","1","1.10","1","999","48","43.90","1899-12-31","2","TEST1-S1 (48)","TEST COLLECTION","TEST COLLECTION",,,
16
+ "TEST1-S1","configurable","base","Default","2011-4-8","Shoes","TEST COLLECTION","1","4","1.10","1","13986","","43.90","1899-12-31","2","TEST 1 ANTIK NEGRO, PISO TEST (WITH ZIP)","TEST COLLECTION","TEST COLLECTION","TEST1-S1-35","size","/img_articulos/TEST1-S1.jpg"
17
  ,,,,,,,,,,,,,,,,,,,"TEST1-S1-36",,
18
  ,,,,,,,,,,,,,,,,,,,"TEST1-S1-37",,
19
  ,,,,,,,,,,,,,,,,,,,"TEST1-S1-38",,
var/customimportexport/test_grouped.csv CHANGED
@@ -12,8 +12,8 @@
12
  "TEST1-S1-45","simple","base","Default","2011-4-8","Shoes","TEST COLLECTION","1","1","1.10","1","999","45","43.90","1899-12-31","2","TEST1-S1 (45)","TEST COLLECTION","TEST COLLECTION",,
13
  "TEST1-S1-46","simple","base","Default","2011-4-8","Shoes","TEST COLLECTION","1","1","1.10","1","999","46","43.90","1899-12-31","2","TEST1-S1 (46)","TEST COLLECTION","TEST COLLECTION",,
14
  "TEST1-S1-47","simple","base","Default","2011-4-8","Shoes","TEST COLLECTION","1","1","1.10","1","999","47","43.90","1899-12-31","2","TEST1-S1 (47)","TEST COLLECTION","TEST COLLECTION",,
15
- "TEST1-S1-48","simple","base","Default","2011-4-8","Shoes","TEST COLLECTION","1","1","1.10","1","999","48","43.90","1899-12-31","2","TEST1-S1 (48)","TEST COLLECTION",,,
16
- "TEST1-S1","grouped","base","Default","2011-4-8","Shoes","TEST COLLECTION","1","4","1.10","1","13986","","43.90","1899-12-31","2","TEST 1 ANTIK NEGRO, PISO TEST (WITH ZIP)","TEST COLLECTION",,"TEST1-S1-35","/img_articulos/TEST1-S1.jpg"
17
  ,,,,,,"MALICIA",,,,,,,,,,,,,"TEST1-S1-36",
18
  ,,,,,,,,,,,,,,,,,,,"TEST1-S1-37",
19
  ,,,,,,,,,,,,,,,,,,,"TEST1-S1-38",
12
  "TEST1-S1-45","simple","base","Default","2011-4-8","Shoes","TEST COLLECTION","1","1","1.10","1","999","45","43.90","1899-12-31","2","TEST1-S1 (45)","TEST COLLECTION","TEST COLLECTION",,
13
  "TEST1-S1-46","simple","base","Default","2011-4-8","Shoes","TEST COLLECTION","1","1","1.10","1","999","46","43.90","1899-12-31","2","TEST1-S1 (46)","TEST COLLECTION","TEST COLLECTION",,
14
  "TEST1-S1-47","simple","base","Default","2011-4-8","Shoes","TEST COLLECTION","1","1","1.10","1","999","47","43.90","1899-12-31","2","TEST1-S1 (47)","TEST COLLECTION","TEST COLLECTION",,
15
+ "TEST1-S1-48","simple","base","Default","2011-4-8","Shoes","TEST COLLECTION","1","1","1.10","1","999","48","43.90","1899-12-31","2","TEST1-S1 (48)","TEST COLLECTION","TEST COLLECTION",,
16
+ "TEST1-S1","grouped","base","Default","2011-4-8","Shoes","TEST COLLECTION","1","4","1.10","1","13986","","43.90","1899-12-31","2","TEST 1 ANTIK NEGRO, PISO TEST (WITH ZIP)","TEST COLLECTION","TEST COLLECTION","TEST1-S1-35","/img_articulos/TEST1-S1.jpg"
17
  ,,,,,,"MALICIA",,,,,,,,,,,,,"TEST1-S1-36",
18
  ,,,,,,,,,,,,,,,,,,,"TEST1-S1-37",
19
  ,,,,,,,,,,,,,,,,,,,"TEST1-S1-38",