How can I store barcodes in the PIM?

We advise you to select the attribute type ‘text’ to add barcodes (GTIN, EAN13, UPC…) in your PIM.

Thanks to the validation parameters available for all attribute types, you can add a regular expression to make sure that your codes will contain the exact number of digits required.

For instance, to store an EAN13 in Akeneo, which contains 13 digits, add a validation rule based on the following regular expression: /^[0-9]{13}$/

Store EAN13 codes in Akeneo


Was this article helpful?

Related Articles