amartinez

AMartinez_CustomImportExport

  • Popularity Score 4996 Popularity Score

    Popularity ScoreReferrals to Site/Downloads

    0 0 1+ 1+ 250+ 250+ 1000+ 1000+ 10000+ 10000+

Import/export products and customers from/to CSV file with a lot of custom options (~50000 products / min.)
Compatible with:
This extension is currently unavailable on Magento Connect. Please contact the developer.

You will be re-directed to the developer's website to complete your purchase.

You must be registered and logged in to get extension key.
In order to get this extension, you must be logged in to the Magento Community. Click here to login or register.

Magento Connect 2.0

Magento Connect 2.0

FREE
Previous Next
Overview

AMartinez_CustomImportExport

This extension can Import/Export products and customers from/to CSV file. Create categories, add attribute options, import images and media galleries, reindex, refresh cache, media and price rules automatically. In addition you can backup the entire database in SQL format.

    Imports:
        (products, customers)
            file.csv: multiple-row csv files, supports multiselect fields
        (products)
            file.csv1: single-row csv files, supports multiselect and multivalued fields
        
        Multivalued fields:
            Only with CSV1 files, these fields are automatically processed as multivalued:
                _store
                visibility
                _category
                _associated_sku
                _media_image
                _media_attribute_id
                _media_label
                _media_position
                _media_is_disabled
            To define your own ones, use * (this overrides default values)
                sku ,*_category      ,*_associated_sku
                TEST,"CAT1/CAT2,CAT3","ASSOCIATED1,ASSOCIATED2"
            
        Multiselect fields:
            Use commas to separate values, but make sure not to put asterisks in column header, ie:
                sku ,*_category      ,color
                TEST,"CAT1/CAT2,CAT3","red,yellow"
        
    Exports:
        (products, customers)
        file.csv: multiple-row new csv files (no support for multiselect)
        (database)
        backup all tables to SQL gz-compressed file


OPTIONS
    -h
    -help
                            print this usage and exit


    -a
    -all
                            same as -c -f -p -r options
                            
    -b
    -behavior
                            set import behavior for csv file: append|delete|replace (default)


    -c
    -cleancache
                            clean cache storage (html output, etc)


    -ce [file]
    -customersexport [file]
                            output customers to csv file, if output file not specified uses defined in config.xml


    -ci [file]
    -customersimport [file]
                            import customers from csv file, if source file not specified or not found uses defined in config.xml


    -db [file]
    -databasebackup [file]
                            output whole magento database to sql file and try to gzcompress it, if output file not specified uses time generated name


    -deleteallcustomers
                            delete all customers (NOT from csv, entire magento database!)
    
    -deleteallproducts
                            delete all products and non-root categories (NOT from csv, entire magento database!)
 
    -e [file]
    -export [file]
                            output products to csv file, if output file not specified uses defined in config.xml


    -i [file]
    -import [file]
                            import products from csv or csv1 file, if source file not specified or not found uses defined in config.xml. 


    -f
    -flushimages
                            flush catalog images cache


    -l 
    -linecount 
                            split import file into pieces of n lines length ($tmp_folder must be writable)
                            
    -p
    -applyrules
                            recalculate catalog price rules


    -r
    -reindex
                            reindex data by all indexers (attributes, prices, etc)


EXAMPLES
    import
                            php -f amartinez_customimportexport.php -- -all -import var/customimportexport/test_single_row_style.csv1
                            
    export
                            php -f amartinez_customimportexport.php -- -e   
                            
    reindex
                            php -f amartinez_customimportexport.php -- -a
 
    backup, import, reindex
                            php -f amartinez_customimportexport.php -- -databasebackup -import -all
                               
CRONTAB EXAMPLES
    # do tasks and send results by email
    00 03 * * * root php -f /magento_base_dir/amartinez_customimportexport.php -- -db -a -i /magento_base_dir/var/customimportexport/products.csv1 2>&1 | xargs -0 -I msg echo -e "Subject: MY STORE products daily update \\n\\n " msg | /usr/sbin/sendmail -f some@address.com some@address.com
                               
    # do tasks, append output to log file and send last results by email
    00 05 * * * root php -f /magento_base_dir/amartinez_customimportexport.php -- -db -a -i /magento_base_dir/var/customimportexport/products.csv1 2>&1 | tee -a /var/log/amartinez_customimportexport.log | echo -e "Subject: MY STORE products daily update \\n\\n `cat`" | /usr/sbin/sendmail -f some@address.com foo@address.com,bar@address.com

 

CREDITS I would be delighted to hear from you if you like this script. I also appreciate any donation you wish to contribute to the growth of this project (paypal: toniyecla [at] gmail [dot] com).


Thank you for your contribution!
Release Notes

This extension can Import/Export products and customers from/to CSV file. Create categories, add attribute options, reindex, refresh cache, images and price rules automatically. In addition you can backup the entire database in SQL format.

2011-05-11 21:57:29
  • Version number: 1.5.008
  • Stability: Stable
  • Compatibility: 1.5
You must be registered and logged in to get extension key.

Magento Connect 2.0

Magento Connect 2.0

This extension can Import/Export products and customers from/to CSV file. Create categories, add attribute options, reindex, refresh cache, images and price rules automatically. In addition you can backup the entire database in SQL format.

It extends Mage_ImportExport class, so it is the most SCALABLE, SAFER and FASTER method exists.

Imports:
(products, customers)
file.csv: multiple-row new csv files
(products)
file.csv1: previous single-row with multiple values csv files ..."CAT1,CAT2,CAT3","ASSOCIATED1,ASSOCIATED2"...

Exports:
(products, customers)
file.csv: multiple-row new csv files
(database)
backup all tables to SQL gz-compressed file

To daily automatize imports, you must call "run.php" via crontab or similar.

USE:
php -f app/code/community/AMartinez/CustomImportExport/shell/run.php

php -f app/code/community/AMartinez/CustomImportExport/shell/run.php [-- [OPTIONS...]]

OPTIONS
-h
-help
print this usage and exit

-a
-all
same as -c -f -p -r

-b
-behavior
set import behavior: append|delete|replace (default)

-c
-cleancache
clean cache storage (html output, etc)

-ce [file]
-customersexport [file]
output customers to csv file, if output file not specified uses defined in config.xml

-ci [file]
-customersimport [file]
import customers from csv file, if source file not specified or not found uses defined in config.xml

-db [file]
-databasebackup [file]
output whole magento database to sql file and try to gzcompress it, if output file not specified uses time generated name.

-e [file]
-export [file]
output products to csv file, if output file not specified uses defined in config.xml

-i [file]
-import [file]
import products from csv file, if source file not specified or not found uses defined in config.xml

-f
-flushimages
flush catalog images cache

-p
-applyrules
recalculate catalog price rules

-r
-reindex
reindex data by all indexers (attributes, prices, etc)

EXAMPLES
php -f app/code/community/AMartinez/CustomImportExport/shell/run.php -- -import var/importexport/products.csv
php -f app/code/community/AMartinez/CustomImportExport/shell/run.php -- -all
php -f app/code/community/AMartinez/CustomImportExport/shell/run.php -- -a -i var/importexport/products.csv
php -f app/code/community/AMartinez/CustomImportExport/shell/run.php -- -e var/importexport/products.csv
php -f app/code/community/AMartinez/CustomImportExport/shell/run.php -- -databasebackup -import -all

This extension can Import/Export products and customers from/to CSV file. Create categories, add attribute options, reindex, refresh cache, images and price rules automatically. In addition you can backup the entire database in SQL format.

2012-01-24 17:05:54
  • Version number: 1.5.007
  • Stability: Stable
  • Compatibility: 1.5
You must be registered and logged in to get extension key.

Magento Connect 2.0

Magento Connect 2.0

This extension can Import/Export products and customers from/to CSV file. Create categories, add attribute options, reindex, refresh cache, images and price rules automatically. In addition you can backup the entire database in SQL format.

It extends Mage_ImportExport class, so it is the most SCALABLE, SAFER and FASTER method exists.

Imports:
(products, customers)
file.csv: multiple-row new csv files
(products)
file.csv1: previous single-row with multiple values csv files ..."CAT1,CAT2,CAT3","ASSOCIATED1,ASSOCIATED2"...

Exports:
(products, customers)
file.csv: multiple-row new csv files
(database)
backup all tables to SQL gz-compressed file

To daily automatize imports, you must call "run.php" via crontab or similar.

USE:
php -f app/code/community/AMartinez/CustomImportExport/shell/run.php

php -f app/code/community/AMartinez/CustomImportExport/shell/run.php [-- [OPTIONS...]]

OPTIONS
-h
-help
print this usage and exit

-a
-all
same as -c -f -p -r

-b
-behavior
set import behavior: append|delete|replace (default)

-c
-cleancache
clean cache storage (html output, etc)

-ce [file]
-customersexport [file]
output customers to csv file, if output file not specified uses defined in config.xml

-ci [file]
-customersimport [file]
import customers from csv file, if source file not specified or not found uses defined in config.xml

-db [file]
-databasebackup [file]
output whole magento database to sql file and try to gzcompress it, if output file not specified uses time generated name.

-e [file]
-export [file]
output products to csv file, if output file not specified uses defined in config.xml

-i [file]
-import [file]
import products from csv file, if source file not specified or not found uses defined in config.xml

-f
-flushimages
flush catalog images cache

-p
-applyrules
recalculate catalog price rules

-r
-reindex
reindex data by all indexers (attributes, prices, etc)

EXAMPLES
php -f app/code/community/AMartinez/CustomImportExport/shell/run.php -- -import var/importexport/products.csv
php -f app/code/community/AMartinez/CustomImportExport/shell/run.php -- -all
php -f app/code/community/AMartinez/CustomImportExport/shell/run.php -- -a -i var/importexport/products.csv
php -f app/code/community/AMartinez/CustomImportExport/shell/run.php -- -e var/importexport/products.csv
php -f app/code/community/AMartinez/CustomImportExport/shell/run.php -- -databasebackup -import -all

Import products to Magento database from CSV file, creating categories and attribute options automatically.

2011-05-05 15:36:49
  • Version number: 1.5.005
  • Stability: Stable
  • Compatibility: 1.5
You must be registered and logged in to get extension key.

Magento Connect 2.0

Magento Connect 2.0

This extension can Import/Export products from/to CSV file. Create categories, add attribute options, reindex, refresh cache, images and price rules automatically.

It extends Mage_ImportExport class, so it is the most SCALABLE, SAFER and FASTER method exists.

Imports:
with extension .csv: multiple-row new csv files
with extension .csv1: previous single-row with multiple values csv files ..."CAT1,CAT2,CAT3","ASSOCIATED1,ASSOCIATED2"...

Exports:
with extension .csv: multiple-row new csv files

To daily automatize imports, you must call "run.php" via crontab or similar.

USE:
php -f app/code/community/AMartinez/CustomImportExport/shell/run.php

php -f app/code/community/AMartinez/CustomImportExport/shell/run.php [-- [OPTIONS...]]

OPTIONS
-h
-help
print this usage and exit

-c
-cleancache
clean cache storage (html output, etc)

-e <file>
-export <file>
output products to csv file, if output file not specified uses defined in config.xml

-i <file>
-import <file>
import products from csv file, if source file not specified or not found uses defined in config.xml

-f
-flushimages
flush catalog images cache

-p
-applyrules
recalculate catalog price rules

-r
-reindex
reindex data by all indexers (attributes, prices, etc)

EXAMPLES
php -f app/code/community/AMartinez/CustomImportExport/shell/run.php -- -source var/importexport/products.csv
php -f app/code/community/AMartinez/CustomImportExport/shell/run.php -- -reindex
php -f app/code/community/AMartinez/CustomImportExport/shell/run.php -- -c -f -p -r -i var/importexport/products.csv
php -f app/code/community/AMartinez/CustomImportExport/shell/run.php -- -export
php -f app/code/community/AMartinez/CustomImportExport/shell/run.php -- -e var/importexport/products.csv


More options is coming soon!

Import products to Magento database from CSV file, creating categories and attribute options automatically.

2011-04-28 21:39:07
  • Version number: 1.5.004
  • Stability: Stable
  • Compatibility: 1.5
You must be registered and logged in to get extension key.

Magento Connect 2.0

Magento Connect 2.0

This extension can import products to Magento database from pregenerated CSV file.

It extends Mage_ImportExport class -so it's FAST- creating CATEGORIES and ATTRIBUTE OPTIONS automatically. You can update index, cache, images and price rules too.

You can use old-style csv files too, as used in previous magento versions (all values in a single row, comma separated)
e.g., fie named "myproducts.csv1":

..."store1,store2","visibility1,visibility2","CAT1,CAT2,CAT3","ASSOCIATED1,ASSOCIATED2"..

To daily automatize imports, you must call "run.php" via crontab or similar.

USE:
php -f app/code/community/AMartinez/CustomImportExport/shell/run.php

php -f app/code/community/AMartinez/CustomImportExport/shell/run.php [-- [OPTIONS...]]

OPTIONS

-s, --source csv file to import, if not passed uses the defined in config.xml

-r, --reindex reindex data by all indexers (attributes, prices, etc)

-c, --cleancache clean cache storage (html output, etc)

-f, --flushimages flush catalog images cache (pregenerated product images files)

-p, --applyrules recalculate catalog price rules

EXAMPLES

php -f app/code/community/AMartinez/CustomImportExport/shell/run.php -- -source var/importexport/products.csv

php -f app/code/community/AMartinez/CustomImportExport/shell/run.php -- -reindex

php -f app/code/community/AMartinez/CustomImportExport/shell/run.php -- -s var/importexport/products.csv -r -c -f -p

More options is coming soon!

Import products to Magento database from CSV file, creating categories and attribute options automatically.

2011-04-28 15:32:51
  • Version number: 1.5.003
  • Stability: Stable
  • Compatibility: 1.5
You must be registered and logged in to get extension key.

Magento Connect 2.0

Magento Connect 2.0

This extension can import products to Magento database from pregenerated CSV file.

It extends Mage_ImportExport class -so it's FAST- creating CATEGORIES and ATTRIBUTE OPTIONS automatically.

You can use old-style csv files too, as used in previous magento versions (all values in a single row, comma separated)

e.g., fie named "myproducts.csv1":

..."store1,store2","visibility1,visibility2","CAT1,CAT2,CAT3","ASSOCIATED1,ASSOCIATED2"..

To daily automatize imports, you must call "run.php" via crontab or similar.

USE:

php -f app/code/community/AMartinez/CustomImportExport/shell/run.php
php -f app/code/community/AMartinez/CustomImportExport/shell/run.php [-- [OPTIONS...]]

OPTIONS
-s, --source csv file to import, if not passed uses the defined in config.xml
-r, --reindex reindex data by all indexers (attributes, prices, etc)
-c, --cleancache clean cache storage (html output, etc)
-f, --flushimages flush catalog images cache (pregenerated product images files)
-p, --applyrules recalculate catalog price rules

EXAMPLES
php -f app/code/community/AMartinez/CustomImportExport/shell/run.php -- -source var/importexport/products.csv
php -f app/code/community/AMartinez/CustomImportExport/shell/run.php -- -reindex
php -f app/code/community/AMartinez/CustomImportExport/shell/run.php -- -s var/importexport/products.csv -r -c -f -p


More options is coming soon!

<form action="https://www.paypal.com/cgi-bin/webscr" method="post">
<input type="hidden" name="cmd" value="_s-xclick">
<input type="hidden" name="hosted_button_id" value="2YW7S23YH44UU">
<input type="image" src="https://www.paypalobjects.com/WEBSCR-640-20110401-1/es_ES/ES/i/btn/btn_donateCC_LG.gif" border="0" name="submit" alt="PayPal. La forma rápida y segura de pagar en Internet.">
<img alt="" border="0" src="https://www.paypalobjects.com/WEBSCR-640-20110401-1/es_ES/i/scr/pixel.gif" width="1" height="1">
</form>
Reviews

About the Developer

This extension was developed by and is supported by amartinez

Q&A
(4 Questions : 1 Answer)

Product Q&A

Ask your questions. Share your answers.

 
 
« Back
 
 
Sort by
Avatar Image Url:: http://www.magentocommerce.com/images/avatars/uploads/avatar_26911930
Customer avatar
I have installed the plug how do I use it. Where is it located in the dashboard?
by
preciousltd
-
1 year, 11 months ago
+4points
5out of 6found this question helpful.
Was this helpful?Yes5No1

Answers

Avatar Image Url:: http://www.magentocommerce.com/images/avatars/uploads/avatar_26249098
Customer avatar
Answer: 
It is meant to be used from the command line..

php -f app/code/community/AMartinez/CustomImportExport/shell/run.php

according the very limited documentation I found here ... http://www.magentocommerce.com/boards/viewthread/227005/
by
davidfarrington
-
1 year, 4 months ago
-1point
0out of 1found this answer helpful.
Was this helpful?Yes0No1
 
0 answers

will this be updated

Avatar Image Url:: http://www.magentocommerce.com/images/avatars/uploads/avatar_26526372
Customer avatar
Will this be updated or can i just use it as is with version 1.8?
by
prycuk
-
10 months ago
0points
0out of 0found this question helpful.
Was this helpful?Yes0No0
Avatar Image Url:: http://www.magentocommerce.com/images/avatars/uploads/avatar_3334
Customer avatar
Hi,
the linecount option is great but it seems to break files when you've configurables and under them all the linked simples.

how did you manage that situation?
by
F Balliano
-
5 months, 3 weeks ago
0points
0out of 0found this question helpful.
Was this helpful?Yes0No0
 
0 answers

user guide

Avatar Image Url:: http://www.magentocommerce.com/images/avatars/uploads/avatar_26313547
Customer avatar
I need detail information about it. I have installed it in my system and want to use it. Any user guide for it. Please help me.
by
imbryan80
-
3 months, 1 week ago
0points
0out of 0found this question helpful.
Was this helpful?Yes0No0
1 of 1
1 of 1
Get Help

Support for This Extension

The best place to start if you need help with a specific extension is to contact the developer. All Magento developers have both a contact email and a support email listed.

Magento Platform Support

If you need support for a Magento platform, there are different options for support depending on which Magento platform you are using. Below are links for specific platforms.

In order to upload extension, you must be logged in to the Magento Community. Click here to login or register.

Close

Register

* Required Fields

Close window

Forgot Your Password?

Please enter your email below and we'll send you a new password.

* Required Fields

Close window

Login

To upload extension you must be logged in.

* Required Fields

Close window

You are using an outdated browser

We built Magento Connect using the latest techniques and technologies.
This makes Magento Connect faster and easier to use.
Unfortunately, your browser doesn't support those technologies.
Use the links below to download a new browser or upgrade your existing browser.