Jump to content

How can I use long product ID


Recommended Posts



I want to use the EAN code number as product ID, but Prestashop won't let me, it says that the product can not be saved.

I'm guessing it's because the ID is too long.


If I shorten it to 9 digits, it works.


How can I make Prestashop accept 13 digits IDs? It's very important, I have more that 50.000 products and using the EAN code would dimplify my work.



Share this post

Link to post
Share on other sites



Ean code field is available as a separate field in prestashop on the PRODUCT and COMBINATIONS so you can have the ean code against your products but not as the product-id.


The field size may be the issue, but if you wanted to increase the size of the field you would have to do this on all product related tables where the id is located. I think this would be a waste of your time, as well as potentially causing problems with the code.

Share this post

Link to post
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...

Important Information

Cookies ensure the smooth running of our services. Using these, you accept the use of cookies. Learn More