Jump to content

[SOLVED] Supplier Reference characters maximum


Domascnn

Recommended Posts

  • 1 month later...

Hi Mike,

 

I followed the instructions to increase Reference field length from 32 to 64 by changing classes/Product.php

 

The display in the BO is still truncated at 32 :(

 

Is it just the display or is the true value greater than this?

 

Is there any point in modifying the AdminProducts.php to show more characters?

 

Frustrated!

Link to comment
Share on other sites

Hi Mike,

 

I followed the instructions to increase Reference field length from 32 to 64 by changing classes/Product.php

 

The display in the BO is still truncated at 32 :(

 

Is it just the display or is the true value greater than this?

 

Is there any point in modifying the AdminProducts.php to show more characters?

 

Frustrated!

 

Have you already cleared your smarty cache and enabled Force Compile in the Back Office?

 

-Mike

Link to comment
Share on other sites

Hi My PrestaShop,

You can clear the smarty cache via FTP in the /tools/smarty/cache and /tools/smarty/compile directories. Delete everything in both folders EXCEPT index.php.

 

As for Force Compile, you can enable it in your Back Office under Preferences > Performance.

 

I hope this helps.

 

-Mike

Link to comment
Share on other sites

  • 10 months later...
  • 6 months later...
  • 4 months later...
  • 1 year later...

There is a step missing above.

 

You also need to edit the ps_product table using PHP MyAdmin or similar to increase the "reference" field length from 32 to 64 characters.

 

Steve

and reference for product combinations

 

You also need to edit the ps_product_attribute table using PHP MyAdmin or similar to increase the "reference" field length from 32 to 64 characters.

 

see my website: http://shoegood.net

tu721

Edited by tu721 (see edit history)
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...