This question has been flagged
3660 Views

Hello, 

I import data for my product with a script,

I have an EAN code for each product. 

In my script, How can i do for check if the ean code is available ? 

And if isn't, How can i change it ? Without change any the code (all the number of the code)

Thanks, 


Avatar
Discard

what do you mean by "Without change any the code (all the number of the code)"

Author

I would like to return an available code but not totatly change the code (ex : if the code is 1234567891234 you change with 5986895689568) you see ?