Jump to content

EAN13 to be corrected


teknashop

Recommended Posts

Hi, would it be possible for an EAN code check script to be run via cron from Plesk or some other way?
It should run a check on the EAN13 column of the DB and insert the missing ZERO numbers at the top of the code to 'always' return the digits to 13 numbers.
Example:
Ean in DB with 8 digits = must insert 5 "zero" numbers (0) at the top
Ean in DB with 9 digits = must insert 4 "zero" numbers (0) in header
Ean in DB with 10 digits = must enter 3 "zero" (0) numbers in header
Ean in DB with 11 digits = must enter 2 "zero" (0) numbers in header
Ean in DB with 12 digits = must enter 1 "zero" number (0) in lead

Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...