I'm editing some stuff on the open source Minimart selling program.
I can't figure this out, when I input a barcode like 8993560027247
, there is an error message pop up that says:
Product is out of stock
but it has a bunch in inventory.
But when I input a barcode like A8902
or 12345
it works perfectly.
I know that the code is limited by 5 characters, so I updated the database structure to varchar(20)
but still it can't be saved.
I've looked in the htdocs
files to but I can't figure this out...
Any solution?
maybe the explode
has something to do with this but when I remove it nothing really change.
this is the code