amartinez

AMartinez_CustomImportExport

  • Popularity Score 4552 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.
In order to get this extension, you must have active Magento Go Store. Click here to create Go store.

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

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>
Reviews

About the Developer

This extension was developed by and is supported by amartinez

AMartinez_CustomImportExport 4.5 5 17 17
perfect! perfect - thx! Super simple product import via the console or PHP. Greets Sven September 28, 2013
Great Extension, yet with new Mage update a small bug fix This is a command line extension, just like Author said. If you're struggling with "unknown column '_media_lable'" error on import, I think new magento "on purpose" misspelled it. Check the files: \app\code\community\AMartinez\CustomImportExport\Model\Import\Adapter\Csv1.php and \app\code\community\AMartinez\CustomImportExport\Model\Import\Entity\Product.php and search for "_media_label" and replace it with "_media_lable" because guys at Magento do not know how to spell and just cover it up as "on purpose" Aside from that, I could not get images to import for the life of me. Would appreciate a feedback from a developer. May 14, 2013
Not working! No help provided July 9, 2012
hi, great extension, thank you. can you post a patch to import images from url, main image as also gallery images. Instead of using images names in csv, I need to use the url of the image. best regards, mark June 8, 2012
I'm really sorry, but I have no idea how to use this. I found the files in my FTP site, but have no idea what to do next. Please help! I have 4000 product that I don't want to manually enter there categories in admin. March 12, 2012
Really good work February 22, 2012
With Magento 1.6.1.0, the products import seems to work but if you have any Yes/No attributes, they will all be reset to their attribute defaults. December 23, 2011
This is a really great extension! Tested with 1.6.1.0. Thanks a lot! November 27, 2011
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. November 21, 2011
please tell us how to use this module realy not unsderstand the use of it please provide the breaf discription of it October 25, 2011
2 next>>
Q&A
(1 Question : 1 Answer)

Product Q&A

Ask your questions. Share your answers.

 
 
« Back
 
 
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 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
-
4 months, 2 weeks ago
0points
0out of 0found this answer 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.