
Originally Posted by
fabburl
Having a problem that I am uploading attributes with the basic attributes uploader following the template given by easy populate
I get the following message
Updated records: 2229
New Imported records: 0
Errors Detected: 0
Warnings Detected: 0
however, these are actually all new imported records?? I am not sure why this is happening or what I am doing wrong.
Well, the reason for the above result is because the following sql when executed/queried provided a non-zero number of returned rows and as a result an update was performed:
Code:
"SELECT * FROM "
.TABLE_PRODUCTS_ATTRIBUTES. "
WHERE
products_id = '".$v_products_id."' AND
options_id = '".$v_products_options_id."' AND
options_values_id = '".$a_products_options_values_id."'"
Each of the variables are collected by related queries above the condition.
This is of course assuming that the filename follows the convention of beginning with
attrib-basic-ep
Otherwise, the result is because the records were being updated as a full import or some other import style...