Magento-Add Datepicker in admin category tab
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 |
$setup->addAttribute('catalog_product', 'new_date', array( 'group' => 'General', 'input' => 'date', 'type' => 'datetime', 'label' => 'New Date', 'backend' => 'eav/entity_attribute_backend_datetime', 'visible' => 1, 'required' => 0, 'user_defined' => 1, 'searchable' => 1, 'filterable' => 1, 'comparable' => 1, 'visible_on_front' => 1, 'visible_in_advanced_search' => 0, 'is_html_allowed_on_front' => 1, 'global' => Mage_Catalog_Model_Resource_Eav_Attribute::SCOPE_GLOBAL, )); |