Change customer store _id and created_from - magento

I need to change store_id and created_from of my customers.
I've try import store view with dataflow with this column (website base, store it) and without column with store view default set in dataflow import profile, all without success.
So, how i can change it in import or after import.
I need that for manage newsletter list destination in mailchimp sync.
Thanks a lot.

I've resolve it.
i don't use Dataflow import/export magento base.
I've install amazing extension "amartinez_customimportexport" all export/import work directly in db and all work fine.

Related

Magento 2 Import Products Using Techdivision Import Cli

I am trying to import products using the Techdivision Import CLI application or Pacemaker - Simple Console Tool. Since I am fairly new to this tool, I am having trouble importing some attributes. As a part of the functionality, I am fetching ERP files from another server then parsing the CSV into the importable format, and then initiating the import using the Techdivision Import CLI application. Product import seems to be working fine except for some attributes. I need a way to achieve the following using the Techdivision Import CLI application :
How do I import custom_options for certain products using a CSV file?
We have a provision to assign values to attributes but is there any way to keep the existing values of product attributes intact even during the import? For example, price. During the import process, prices for products are calculated and assigned to products during parsing. Now, sometime we get an incorrect price from the ERP system. In that case, we change the price of that product manually from Magento Backend but this gets overridden during the next scheduled import. I tried assigning null to price in this scenario but it just update the product price with null so I can't assign 0 or null in this column.
I tried going through the documentation of pacemaker to figure out a way to achieve it but didn't get anything from the above scenarios. Here is the link to the documentation Pacemaker - Simple Console Tool

Transferring / Migrating an entire Catalog in Magento

I've been trying to transfer the entire catalog from one Magento server to another and I've been experiencing some significant problems.
I can get most of the catalog data across, but I always end up missing something like product swatches, product categories or a product's custom options. To get these across I then end up building my own scripts that queries Magento, writes the data to a CSV file of my own design, and then write another script that will add this data to the other server.
Ive been asking the other developers in house, and apparently this is how they do every migration. They spend ages building lots of custom scripts just to transfer the catalog across, and apparently the different Magento sites are so different they have to build entirely new scripts when they transfer the next site.
Is this a common experience for everybody?
I feel like there must be a better way. Does anybody know of a better way to transfer the entire catalog (not just the products, but everything) to another server? Can we not just copy across the entire SQL Database?
You can export the products using Magento export wizard by going into System -> import/export ->export
Then from export settings select Entity type Products and Export File Format as CSV
After getting the CSV file you can import the whole catalog using the Magento same wizard or You can use data flow.
The other option around to import bigger catalogs in Magento is to Use Magmi.
http://wiki.magmi.org/index.php?title=Magmi_Wiki
I hope this will help
There are many ways you can migrate your magento store from one server to another.
If you want to transfer complete magento site, then you should try with database import/export. Its easy and fast process. You can follow Site Ground tutorial for this
If you want to transfer only data such as product, catalog, customers, orders etc, then you can try magmi importer its easy and fast for importing data. Also you can try magento data flow profiles as well.

Best method to import products, customers and Orders in Magento

I am working on a new magento website whose design integration and functionality is almost complete. Now before I make the site live I need to import all my existing site data to my magento site. My old site has around 1000 products and is not a magento site. So I will get an excel sheet but its not in the format of magento excel sheet. So when i compare the current excel and create a new excel sheet for magento its very time consuming. So what is the best and speedy method to import products to a magento site. Anybody know please share the idea. It will be very helpful.
To import Products & Customers from another source. we have three option:
export data in CSV compatible with magento and import in magento.
you can use third party paid service for data migartion if it is supported by them. http://www.shopping-cart-migration.com. If you can afford this paid service then it is best time saving solution.
you can create a custom script to import data from csv that is not compatible or direct from external db.
one good product import script url as follows: http://www.fontis.com.au/blog/magento/creating-magento-products-script
For importing Order in magento I will suggest you to use third party service.

Best way to import 80.000 products in Magento every night?

So I've been asked by a client for an online store in which he need each night to delete all the products and import again aprox. 80.000 products.
Of course I thought about Magento. But as we all know the importing process is a pain in the ass.
The best option is to use MAGMI of course and the import doesn't take long and it also has a nice utility that quickly empties the database and resets the product ID counter.
The problem is with the bloody reindex operation.
MAGMI has a plugin called Magento Reindexer which doesn't work in my case. I guess it needs to ensure security configuration enable "shell_exec()" calls from php. I dunno how to do that.
To my only choice is to reindex using the browser from the admin.
Of course it's not the best solution specially since it times out and it doesn't work.
So I need to give the client two options:
to create a cron job that would use MAGMI's Clear Catalog utility to empty the database and then use MAGMI to import the same CSV file every night. So all the client would have to do is reupload the CSV file in the same location every night.
Give the client the possibility to manually make the import when he wants using MAGMI and of course empty the database using the same Clear Catalog utility from the MAGMI interface.
Either way I have to find a solution for the reindexing problem.
Does anyone have a similar experience or maybe a solution?
Thanks in advance!
You do not need to empty the database with each import. Magmi has the ability to update products on the fly without deleting them first.
If your concern is removing products that are no longer in the CSV, you can use a plugin I wrote and posted on StackOverflow here: https://stackoverflow.com/a/18447266/1332068
The indexer issue has also been asked about and answered on this site as well.
https://stackoverflow.com/a/19384326/1332068
I urge you to search thoroughly before asking questions as there are several solutions already available for Magmi on this site.

How to add import option to our custom module?

I have created new custom module with the admin form like to create new Products. I have created successfully.All are working fine.But now i want to add one more feature to this module. We can import a products by CSV files from system/import/export.
Like this how am i import my fields By CSV files.I have no idea about to do this task.
There(under import) we have an entity types "Products and customers". If i add mine entity type to there is enough? or it have any other solution?
This may not be a direct answer, but Magento comes with a CSV importing function under System -> Import/Export. It seems that you've already discovered this functionality.
So, you could set up a custom import profile, let a customer upload a products.csv via your module and then call the import profile from this module.
Your products.csv has to provide Magento's attribute and values structure you'll see when you export products with the export functionality.
BUT: Magento's default importing functionalities are very limited. F.e. it is not capable of importing configurable products by default. We're using third party modules for these tasks.

Resources