Skip to Content
เมนู
คุณต้องลงทะเบียนเพื่อโต้ตอบกับคอมมูนิตี้
คำถามนี้ถูกตั้งค่าสถานะ
1 ตอบกลับ
4269 มุมมอง

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. 

 
อวตาร
ละทิ้ง
คำตอบที่ดีที่สุด

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.


อวตาร
ละทิ้ง
ผู้เขียน

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 ...

ผู้เขียน

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

Happy that it helps you ...

Related Posts ตอบกลับ มุมมอง กิจกรรม
1
ธ.ค. 19
5644
0
พ.ย. 16
5202
1
มี.ค. 15
3839
2
มี.ค. 15
5717
0
มี.ค. 15
3065