Quote Originally Posted by jeking View Post
I have a question about deleting products. My client does not use model numbers, so I've got the "Import/Export Primary Key" set to "blank_new".

In my csv:
v_products_model is left empty
v_products_id is 326001
v_status is 9

When importing this file, I get: NOT FOUND! - Model: 326001 - cant delete...

I tried setting "Import/Export Primary Key" to "products_id" and got the same thing.

I don't understand why it doesn't delete the product with 326001 as the id. I did confirm the product exists by looking in the database.
Good question, looks like may need some more information. Seems that the code being used may be a little dated, there had been an update to revise the text response to indicate the primary key setting (in this case would expect to see 'v_products_id' instead of - Model). Sure the update is/was in the language files to an extent, but...

So, information that may further help now that I've looked over the current processing "plan".
- Version number (and/or date downloaded) identified with the software?
- Any observer(s) listening to EP4_IMPORT_FILE_EARLY_ROW_PROCESSING that may have modified what could then be the global variable $continueNextRow to be set to a falsey value?
- Is debug logging turned on in the configuration settings? If so (default) then there should be some record in the generated debug .txt log in the EP4 main screen towards the "bottom" of the list of files. That is unless the admin/includes/functions/extra_functions/easypopulate_4_functions.php is old enough (pre Oct 3, 2016) to still have the typo of write_debug_log($string) instead of write_debug_log_4($string).
- Is there more than one product being deleted in the file, and does at least one other product delete successfully (presumably an earlier listed product)? For that matter is there more than one row of data in the file other than the header row?