open-prices-frontend icon indicating copy to clipboard operation
open-prices-frontend copied to clipboard

On price add, if the barcode is new, check if EAN is valid (checksum)

Open raphodn opened this issue 10 months ago • 0 comments

Story

Sometimes when the user adds a price, the product is unknown

  • most of the time it is indeed a new product not yet present in OFF / OBF / ...
  • but sometimes the scanning may have returned a wrong code : in this case, we could check if the EAN is valid

How

https://www.npmjs.com/package/barcode-validator ?

raphodn avatar Apr 14 '24 18:04 raphodn