Product Import Data Validation

I am importing ISBN with csv files. I'd like to validate isbn numbers. If it is not valid number, i want to skip it. How can i do it programatically?

You would have to custom code the import of your custom ISBN field and then use a 3rd party reference to validate the number as valid.

How are you validating non-imported ISBN numbers now? I'm assuming you have ISBN as a product feature?

It is product feature. I have a php isbn validation function. I guess i need exim.pre.php script to make validation.

Probably a exim.post.php

Unforutnately many of the import functionality works directly on the DB so many of the normal hooks are not available during import.

Probably a exim.post.php

Unforutnately many of the import functionality works directly on the DB so many of the normal hooks are not available during import.

He can extend the schema with the addon and add post processing function which will analyze import data and delete non-valid products

Yes, but if he's using an external validation method (like a remote data provider) then the import is going to crawl...

Yes, but if he's using an external validation method (like a remote data provider) then the import is going to crawl...

Sure, the speed depends on the validation process. But if the post processing function is used, at least all products will be imported to the database before the function is called

Yep, but I think is OP indicated that he did NOT want to import the product if the ISBN was not valid.

In any event, he can do what he wants but a little bit of custom code and performance is going to suffer based on the speed/performance of the remote validation process regardless of where it's done in the process.

Yep, but I think is OP indicated that he did NOT want to import the product if the ISBN was not valid.

In any event, he can do what he wants but a little bit of custom code and performance is going to suffer based on the speed/performance of the remote validation process regardless of where it's done in the process.

I agree with you. But we always try to find a solution which does not include core changes