1

In this case, you can use event/observer. Fire an observer on the event catalog_product_load_after at frontend area set meta description on the fly. Create events.xml at app/code/StackExchange/Magento/etc/frontend/ and as `events.xml location under on frontend and this event only fire for frontend area. events.xml code <?xml version="1.0" ?&...


1

I've Installed fresh installation 2.2.2 and There was no Meta description or keywords at all. I you are wondering why there isn't anywhere this is for you! Got TO Content->Design->configuration edit the first row see the HTML Head: ref: It was empty! fill those in and you will be able to see the changes you do from your xml, controller etc... otherwise it ...


1

Remove old log files from {document-root}/var/log folder. Try to save the meta description again from the backend. When the blank page appears, check the {document-root}/var/log folder for errors. If nothing found in the {document-root}/var/log folder, open index.php file in the document root and try to save the product again. This time, you should have the ...


1

Update meta description maximum length via upgrade script Use below code for update maximum length /* @var $installer Mage_Catalog_Model_Resource_Eav_Mysql4_Setup */ $installer = $this; $entityTypeId = $installer->getEntityTypeId('catalog_product'); $installer->updateAttribute($entityTypeId, 'meta_description', 'frontend_class', 'validate-length ...


1

Should the old meta descriptions be imported into catalog_product_entity_text and removed from catalog_product_entity_varchar? Yes, I think so (not testet, but I doubt that magento moves them on his own) ... Update script could look like this: Magento attribute change backend_type from varchar to text (or you use insertFromSelect() method). However ...


Only top voted, non community-wiki answers of a minimum length are eligible