Timeline for How to Display complete billing and shipping address in admin order grid of magento?
Current License: CC BY-SA 3.0
20 events
when toggle format | what | by | license | comment | |
---|---|---|---|---|---|
Oct 3, 2019 at 6:49 | comment | added | HaFiz Umer | how can do this in magento 2 | |
Jan 4, 2017 at 6:26 | vote | accept | Neeya | ||
Jan 4, 2017 at 6:26 | comment | added | Neeya | after making some corrections its working fine. thank you so much for your help. | |
Jan 4, 2017 at 6:20 | vote | accept | Neeya | ||
Jan 4, 2017 at 6:20 | |||||
Jan 4, 2017 at 6:18 | comment | added | Ali Zaki | Then you may have done something terrible with the magento database or with the core files, or something else. Sorry @Kiyara i'm afraid that i can't help you then. | |
Jan 4, 2017 at 6:12 | comment | added | Neeya | i tried this but getting same error | |
S Jan 4, 2017 at 5:55 | history | suggested | Piyush | CC BY-SA 3.0 |
improved formatting
|
Jan 4, 2017 at 5:55 | review | Suggested edits | |||
S Jan 4, 2017 at 5:55 | |||||
Jan 4, 2017 at 5:55 | comment | added | Ali Zaki | I edit your code. try this one and tell me if it is giving you required results. Thank you @Kiyara | |
Jan 4, 2017 at 5:45 | comment | added | Neeya | see updated post | |
Jan 4, 2017 at 5:40 | comment | added | Ali Zaki | I am also using magento 1.9. And using same code to get shipping address. And it's working fine. Send me your code i'll try to make it correct. @Kiyara | |
Jan 4, 2017 at 5:34 | comment | added | Neeya | i am using magento 1.9 | |
Jan 4, 2017 at 3:48 | comment | added | Ali Zaki | which version of magento are you using? @Kiyara | |
Jan 3, 2017 at 12:03 | comment | added | Neeya | showing error Fatal error: Call to a member function getSelect() on a non-object | |
Jan 3, 2017 at 11:49 | comment | added | Ali Zaki | go to app/code/local/mage/adminhtml/block/sales/order/grid.php ** add this code in protected function _prepareCollection() CODE-->> $table1 = Mage::getSingleton('core/resource') ->getTableName('sales_flat_order_address'); $shipping = "(select max(t.street) from $table1 as t where t.parent_id = main_table.entity_id )"; $collection->getSelect()->from('', "$shipping as shipping_name"); @Kiyara this will give you perfect results | |
Jan 3, 2017 at 10:34 | comment | added | Neeya | please help if you know answer | |
Jan 3, 2017 at 10:33 | comment | added | Neeya | I want to display in order admin grid "bill to name" column have complete billing address and "ship to name" column have complete shipping address instead of shipping city | |
Jan 3, 2017 at 3:02 | review | First posts | |||
Jan 3, 2017 at 3:06 | |||||
Jan 2, 2017 at 8:44 | review | Late answers | |||
Jan 2, 2017 at 8:44 | |||||
Jan 2, 2017 at 8:27 | history | answered | Ali Zaki | CC BY-SA 3.0 |