This question has been flagged
1 Reply
3317 Views

Hi there ... 

is there any way to get 

vaild "ean13" numbers ? 

because what ever i try to import the product i got error massage
s) `ean13` failed against a constraint: You provided an invalid "EAN13 Barcode" reference. 

 
Avatar
Discard
Best Answer

Hello,

It should be of length 13, and with specific check-sum, the ean13 check-sum checked by this function 

You can also read bout it 

Hope this could help.


Avatar
Discard
Author

but i need numbers of type ean13 to my product , what i do to get them ?

You can use a barcode reader. or use a ean13 generate. just google ean13 generator ...

Author

thanks.. this python code to Generate Random EAN13 Numbers http://www.cocept.io/development/2014/random-ean13-number-generator

Happy that it helps you ...