Rosiel Posted January 28, 2011 Share Posted January 28, 2011 Bonjour,Est-ce que si je rallonge le champs name du produit directement dans PhpMyadmin table ps-product lang qui est actuellement à 128 caractères cela fonctionnera et surtout ne posera pas de problème ailleurs. Ou faut-il que je modifie aussi le code ailleurs ?? merci pour tout réponse. Link to comment Share on other sites More sharing options...
jeckyl Posted January 28, 2011 Share Posted January 28, 2011 Bonjour,la classe gérant l'enregistrement du produit doit surement limiter ce champ aussi dans le code. Link to comment Share on other sites More sharing options...
Rosiel Posted January 29, 2011 Author Share Posted January 29, 2011 merci. Et où je peux trouver cette classe ? -> classes>product.php ? Link to comment Share on other sites More sharing options...
jeckyl Posted January 29, 2011 Share Posted January 29, 2011 Ligne 186-188 de la classe Product.php /* Description short is limited to 400 chars, but without html, so it can't be generic */ protected $fieldsSizeLang = array('meta_description' => 255, 'meta_keywords' => 255, 'meta_title' => 128, 'link_rewrite' => 128, 'name' => 128, 'available_now' => 255, 'available_later' => 255); Link to comment Share on other sites More sharing options...
Recommended Posts
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 accountSign in
Already have an account? Sign in here.
Sign In Now