tag:blogger.com,1999:blog-3096948998424560639.post5434887468574330793..comments2023-01-03T14:25:22.388+02:00Comments on It's not a bug. It's a feature.: How to add product skus (or payment method) to the orders gridtzyganuhttp://www.blogger.com/profile/03260476970491519251noreply@blogger.comBlogger8125tag:blogger.com,1999:blog-3096948998424560639.post-27964606098627382192010-12-13T10:00:25.037+02:002010-12-13T10:00:25.037+02:00Ok. I just realized my stupidity. This does not wo...Ok. I just realized my stupidity. This does not work for 1.4.x.x. I had it configured for 1.3.x.x and upon upgrading, the feature is still available. It does not work if you develop it like that for 1.4.x.x.<br /><br />Again, I'm sorry for this. I will post soon a way to add this for the 1.4.x.x version.tzyganuhttps://www.blogger.com/profile/03260476970491519251noreply@blogger.comtag:blogger.com,1999:blog-3096948998424560639.post-11346680260551042022010-12-02T14:08:22.483+02:002010-12-02T14:08:22.483+02:00Hi,
Unfortunately without the if statement it doe...Hi,<br /><br />Unfortunately without the if statement it doesn't show.. does not seem to fill the attribute.<br />Tried both overriding and hacking core.<br />Both no go unfortunately.Rizzhttp://www.gamesync.nlnoreply@blogger.comtag:blogger.com,1999:blog-3096948998424560639.post-60598439305147151122010-11-26T14:51:19.204+02:002010-11-26T14:51:19.204+02:00The method is not defined. It's called by the ...The method is not defined. It's called by the 'magic' of __call method in Varien_Object class. You can try removing it.tzyganuhttps://www.blogger.com/profile/03260476970491519251noreply@blogger.comtag:blogger.com,1999:blog-3096948998424560639.post-21708066862805288642010-11-26T12:45:26.380+02:002010-11-26T12:45:26.380+02:00Thank you for the swift reply.
I first added a new...Thank you for the swift reply.<br />I first added a new order ( column remains empty ). And also ran your population script.<br /><br />What is noticed is that this is called: if(!$this->getProductSkus())<br />I was wondering where this method is defined?<br />Can i safely remove the if statement?Rizzhttp://www.gamesync.nlnoreply@blogger.comtag:blogger.com,1999:blog-3096948998424560639.post-13071298834507552972010-11-25T11:17:13.558+02:002010-11-25T11:17:13.558+02:00Hi Rizz. This is normal, because the previously cr...Hi Rizz. This is normal, because the previously created orders don't have an SKUS column. Try to create an new order and see it for that one the SKUS appear.<br />If no...I'm sorry, but this is how it worked for me on Magento 1.1.6 and 1.4.0.1tzyganuhttps://www.blogger.com/profile/03260476970491519251noreply@blogger.comtag:blogger.com,1999:blog-3096948998424560639.post-15312000785398350522010-11-25T11:14:23.302+02:002010-11-25T11:14:23.302+02:00i've implemented this code attempt 1. by overr...i've implemented this code attempt 1. by overriding the classes ... no SKUS but column showing. 2. tried without overriding.. same problem column present but no SKUS.<br />Magento v1.4.0.1Rizzhttp://www.gamesync.nlnoreply@blogger.comtag:blogger.com,1999:blog-3096948998424560639.post-15312731437080207152010-06-30T09:43:50.231+03:002010-06-30T09:43:50.231+03:00You have to put them in the classes that you creat...You have to put them in the classes that you create and override the ones I sugested: Mage_Sales_Model_Order and Mage_Adminhtml_Block_Sales_Order_Grid<br /><br />You can fing the proper way to override models, blocks and helpers here: http://magedev.com/2009/06/03/magento-overriding-model-block-or-helper/tzyganuhttps://www.blogger.com/profile/03260476970491519251noreply@blogger.comtag:blogger.com,1999:blog-3096948998424560639.post-61101529652149885312010-06-25T00:34:22.775+03:002010-06-25T00:34:22.775+03:00Hi! Sorry for the newbie question.. Where do I hav...Hi! Sorry for the newbie question.. Where do I have to put the first two code blocks? :)<br />Thanks!arsmephistohttps://www.blogger.com/profile/12830202545983140099noreply@blogger.com