Silviotrisorio Posted April 1 Share Posted April 1 Ciao, su presta 8 ho la necessità di aggiungere nelle descrizioni anche una tabella molto lunga e l'errore che ricevo se salvo è questo: "Questo campo non può essere più lungo di 21844 caratteri. - Lingua: Italiano (Italian)" Si può forzare questo limite? Grazie mille. Link to comment Share on other sites More sharing options...
ComGrafPL Posted April 2 Share Posted April 2 Dovrebbe essere in classes/Product.php e controllare la riga, ad esempio 'description' => array('type' => self::TYPE_HTML, 'validate' => 'isCleanHtml', 'size' => 21844), e modificare il limite. Cancellare la cache dopo Link to comment Share on other sites More sharing options...
Silviotrisorio Posted April 2 Author Share Posted April 2 3 ore fa, ComGrafPL dice: Ho modificato questi ma non va uguale. 'name' => ['type' => self::TYPE_STRING, 'lang' => true, 'validate' => 'isCatalogName', 'required' => false, 'size' => ProductSettings::MAX_NAME_LENGTH], 'description' => ['type' => self::TYPE_HTML, 'lang' => true, 'validate' => 'isCleanHtml', 'size' => 4194303], 'description_short' => ['type' => self::TYPE_HTML, 'lang' => true, 'validate' => 'isCleanHtml', 'size' => 4194303], 'available_now' => ['type' => self::TYPE_STRING, 'lang' => true, 'validate' => 'isGenericName', 'size' => ProductSettings::MAX_AVAILABLE_NOW_LABEL_LENGTH], 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