Tag Info

New answers tagged

0

JS or POST trunc is the best bet, but an alternate failproof method is at the DB. You can limit it in DB by changing the cell structure to varchar(65) which would only allow 65 characters to be stored there. In phpMyAdmin you find the table, click it, then look for the "structure" tab. Find the col you wanna limit, pick varchar from dropdown, then set it to ...


1

Copy the app/code/core/Mage/Adminhtml/Block/Catalog/Product/Edit/Tab/Attributes.php to app/code/local/Mage/Adminhtml/Block/Catalog/Product/Edit/Tab/Attributes.php In the function _prepareForm(), after the line if ($form->getElement('meta_description')) { ... Add if ($form->getElement('name')) { ...



Top 50 recent answers are included