magento-1.9.1

Magento category thumbnail field not shown in admin

↘锁芯ラ 提交于 2019-12-05 06:08:30
I have installed Magento 1.9.1.0 without sample data but in admin, add or edit category page have no thumbnail image field. How can I show thumbnail filed in admin for category? I resolve this issue via running the following queries in my phpMyAdmin, 1) INSERT INTO `eav_attribute` (`attribute_id`, `entity_type_id`, `attribute_code`, `attribute_model`, `backend_model`, `backend_type`, `backend_table`, `frontend_model`, `frontend_input`, `frontend_label`, `frontend_class`, `source_model`, `is_required`, `is_user_defined`, `default_value`, `is_unique`, `note`) VALUES(140, 3, 'thumbnail', NULL,

How to add Custom Column in sales/order grid in Magento?

雨燕双飞 提交于 2019-12-04 17:53:13
I am trying to add custom columns to my sales/order grid. My columns will be the tracking number and the tile. The title is basically the courier code which shows you through which courier you have send you product. So i have done some following things for this. I have copied the file from magento/app/code/core/Mage/Adminhtml/Block/Sales/Order/Grid.php to magento/app/code/local/Mage/Adminhtml/Block/Sales/Order/Grid.php so that i can add columns and customize my sales/order grid. In the file Grid.php, There is _prepareCollections() functions. Here the code goes into it. protected function