I'm using this extension - http://www.magentocommerce.com/magento-connect/sort-by-date.html , which orders products by date (specifically by
created_at eav attribute). Basically all it does is adds one more sort type like so:
$installer->startSetup(); $prodEntityTypeId = $installer->getEntityTypeId('catalog_product'); $installer->updateAttribute($prodEntityTypeId, 'created_at', 'frontend_label', 'Date created'); $installer->updateAttribute($prodEntityTypeId, 'created_at', 'used_for_sort_by', 1); $installer->endSetup();
Is there any way to show this attribute in admin area and be able to edit it? (to change order of some products) To implement this, I was trying to edit its params
eav_attributes, but without success – the field is not visible in "edit product" page.
EDIT: I gave up, created a custom date attribute and fetched data in it from created_at.