kpawel Posted August 24, 2015 Share Posted August 24, 2015 Hello, I use this plugin for multiple feature values in my shop: https://github.com/jdanthinne/advancedfeaturesvalues Problem is that string with feature value in table in product page is truncate.Screen: http://i.imgur.com/goeqSrJ.jpg In field "Kompatybilność" should be more text. In back office everything looks fine.I tried few things: I changed in classes/FeatureValue.php and modules/advancedfeaturesvalues/overides/classes/FeatureValue.php this line: 'value' => array('type' => self::TYPE_STRING, 'lang' => true, 'validate' => 'isGenericName', 'required' => true, 'size' => 512), In database i changed size of field "value" in "ps_feature_value_lang" to 512 I also tried this in product.tpl <td>{$feature.value|truncate:1000:'...'|escape:'html':'UTF-8'}</td> No results.Weird is that text is truncade after 341 characters. In each product.Autor of module write this: I've just checked, and nothing in my code is truncating the results… So problem is in presta?I would be grateful if you could help me 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