Bikerstuff:
I've read the Wiki but not sure about some things.
If I already have the products in my store and I just want to update prices and stock levels but not change anything else, what all fields are required to be used?
Item #, Price, quantity, if I just import those three fields, since the item number already exists on the site, will they be found and updated, but leave all other info as is?
Some-one mentioned I think that if the description field was empty it may delete the description from the item, what about if that field just does not exist?
I read that I can Delete items in bulk by using 9 in the status field. So 0 is inactive, 1 is active, and 9 will delete?
Is that correct?
What if I do not use a status field in the import? Will all the items remain as I have them already set, and ZC just set the status based on stock levels?
I have about 2,000 items available, but only want to deal with about 500 for now. The problem I have though is when I get a CVS from supplier I can choose what fields it contains, but ALL products will be included.
I'm trying to figure the best way to deal with with only 500 of 2,000 items.
First things first, EP4 uses the model # (not the product_id) to associate a record in the file with a record in the database. So that is one of the "mandatory" fields to be included.
Regarding the description, well the code is written so that regardless of the presence of the description field in the csv file an array field is established and then when the file is imported, if data is available to be imported to that field then it is updated to that data, if the data is not available then it is set to null. This is something that is likely to be corrected in the next release.
Next to discuss, keeping a field's header (column title) but emptying the contents below it is equivalent typically to importing a null or zero or blank entry. If the desire is not to import the contents of a column, then typically the column in it's entirety is to be deleted. (Note again, the description field is currently one that should stay unless it is desired to clear the description field of every imported product.)
I really wish I could tell you from here if/what the other required fields are, but basically there are those to match the entry with the database and then there is the fact that EP4 was coded to always consider the description as a part of the import (of the full product csv file). It appears that there was not a consideration that the description field would not be included, which generally speaking is a reasonable expectation.
Btw, the previous occurrence of the description issue was one where the description field was completely removed not left empty, this issue was then confirmed through a code review.
For columns that are not mandatory and are omitted the data of the field will remain as was. Regarding changing the quantity of an item and it's relationship to the active status, it is known that simply increasing the available quantity does not activate the product. So if the desire is to simultaneously increase and reactivate the product then the status must also be included.
If I understand correctly, your supplier will provide a file with approx. 2000 items, but you only want to have your store display approx 500 of those items/be updated to reflect the data of those items. Basically if you leave off the status column (provided that at some point/somehow "deleted" products are in some way inactivated).
The questions asked above, I would agree are not likely in the wiki, and in a way not likely to totally be addressed in future primary documentation. They are good questions, but in my opinion are more about day-to-day operation than limitations, capabilities, etc...
Ideally, as in so many other situations, I would recommend that you find the method of update that is quickest for you by use of a test store, backing up the data, attempt the import of your data file and verify that the operation is successful, if not then restore, make the desired changes to the import file and try again. :) once the right combination of items is identified, then try to make it so that the process can be easily/quickly repeated. :) hope that helps a little.