Jump to content

Re-purpose EAN-13 field


Recommended Posts

Hi, 

 

I'm trying to re-purpose the EAN-13 field but it's limited to 13 characters.

 

I've changed the value in PHPmyadmin ps_product & ps_product_attribute.

 

I've also changed the line in classes/product.php to be 'ean13' => array('type' => self::TYPE_STRING, 'validate' => 'isEan13', 'size' => 50)

 

But if I try to enter more than 13 digits, nothing else is added to the field when I edit a product in the back end.

 

What am I missing?

 

 

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...