amartinez

AMartinez_CustomImportExport

  • Popularity Score 6110 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!
M1 Extension Versions

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

2011-04-28 02:29:10
  • Version number: 1.5.002
  • 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>

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

2011-04-26 13:27:10
  • Version number: 1.5.001
  • 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/local/AMartinez/CustomImportExport/shell/run.php
php -f app/code/local/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)

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



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>
Q&A

Is there a user guide

I have installed the plug how do I use it. Where is it located in the dashboard?
Asked by: preciousltd
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/
Answered by: davidfarrington
Date published: 2015-10-06

will this be updated

Will this be updated or can i just use it as is with version 1.8?
Asked by: prycuk

What&acute;s the path for image import

using magento 1.9.2.1
Asked by: mangostatech

linecount and configurables

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?
Asked by: F Balliano

Not working

PHP Fatal error: Allowed memory size of 268435456 bytes exhausted (tried to allocate 64 bytes) in /lib/Zend/Db/Statement/Pdo.php on line 291
Asked by: UOND

user guide

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.
Asked by: imbryan80
  • y_2017, m_2, d_26, h_1CST
  • bvseo_bulk, prod_bvqa, vn_bulk_0.0
  • cp_1, bvpage1
  • co_hasquestionsanswers, tq_6
  • loc_en_US, sid_8480, prod, sort_[SortEntry(order=LOCALE, direction=DESCENDING), SortEntry(order=FEATURED, direction=DESCENDING), SortEntry(order=NUM_ANSWERS, direction=DESCENDING)]
  • clientName_magento
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.

Reviews

About the Developer

This extension was developed by and is supported by amartinez

AMartinez_CustomImportExport is rated 1.2 out of 5 by 20.
Rated out of 5 by from This is a really great extension! Tested with 1.6.1.0. Thanks a lot!
Date published: 2011-11-27
Rated out of 5 by from 1.5.005 worked fine, but after upgrading to 1.5.014 our whole importfunction (mag 1.5.1) isn't working anymore. So we uninstalled this extension and waiting for a new version to test.
Date published: 2011-11-21
Rated out of 5 by from please tell us how to use this module realy not unsderstand the use of it please provide the breaf discription of it
Date published: 2011-10-25
Rated out of 5 by from Hi, It works in version 1.4.1.1? Regards!
Date published: 2011-08-14
Rated out of 5 by from It did an 7mb export eith no problems (duid take a while though), but the format of the file puzzles me. Lots of empty lines and lines with only some fields filled. Any way to just export - &gt; edit/update -&gt; import again the easy way? Or is this the easy way and is it just a matter of a good setup?
Date published: 2011-07-15
Rated out of 5 by from I use magento 1.5.1
Date published: 2011-06-12
Rated out of 5 by from New 1.5.010 release! - Create full path child categories (CAT/SUBCAT1,CAT2) - Bugs fixed, solved some special combination of new multi-attribute options problem - Minor improvements... Regards!
Date published: 2011-05-18
Rated out of 5 by from HI! I apologize, I assumed that you would find the forum (http://www.magentocommerce.com/boards/viewthread/227005/) Don't worry :) about extension use: For now, this is a command line extension. You must use it via linux shell or windows command line: cd /your/magento/root/path/ php -f app/code/community/AMartinez/CustomImportExport/shell/run.php -- -h This script works together var/customimport .csv / .csv1 files, and of course media/catalog/product/ image (.jpg) ones Please tell me any suggestions or problems!
Date published: 2011-05-16
Rated out of 5 by from Classic Magento. Supposedly great extension with no obvious documentation on what to do with it once installed... any help appreciated
Date published: 2011-05-11
Rated out of 5 by from I don really understand how to use your module , when installed
Date published: 2011-05-04
  • y_2017, m_2, d_25, h_22
  • bvseo_bulk, prod_bvrr, vn_bulk_0.0
  • cp_2, bvpage2n
  • co_hasreviews, tv_0, tr_20
  • loc_en_US, sid_8480, prod, sort_[SortEntry(order=FEATURED, direction=DESCENDING), SortEntry(order=SUBMISSION_TIME, direction=DESCENDING)]
  • clientName_magento

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.