<?xml version="1.0" encoding="UTF-8"?><rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
		>
<channel>
	<title>Comments on: Extending Order object and hooking on event in Magento</title>
	<atom:link href="http://inchoo.net/ecommerce/magento/extending-order-object-and-hooking-on-event-in-magento/feed/" rel="self" type="application/rss+xml" />
	<link>http://inchoo.net/ecommerce/magento/extending-order-object-and-hooking-on-event-in-magento/</link>
	<description>Magento Design and Magento Development Professionals - Inchoo</description>
	<lastBuildDate>Mon, 21 May 2012 08:29:58 +0000</lastBuildDate>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.3.1</generator>
	<item>
		<title>By: Rafael Kutscha</title>
		<link>http://inchoo.net/ecommerce/magento/extending-order-object-and-hooking-on-event-in-magento/comment-page-1/#comment-23692</link>
		<dc:creator>Rafael Kutscha</dc:creator>
		<pubDate>Tue, 15 Nov 2011 14:23:26 +0000</pubDate>
		<guid isPermaLink="false">http://inchoo.net/?p=1409#comment-23692</guid>
		<description>Nice tutorial to start with magento events!</description>
		<content:encoded><![CDATA[<p>Nice tutorial to start with magento events!</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: jack</title>
		<link>http://inchoo.net/ecommerce/magento/extending-order-object-and-hooking-on-event-in-magento/comment-page-1/#comment-21895</link>
		<dc:creator>jack</dc:creator>
		<pubDate>Thu, 14 Jul 2011 11:16:36 +0000</pubDate>
		<guid isPermaLink="false">http://inchoo.net/?p=1409#comment-21895</guid>
		<description>is this tutorial applicable to Magento 1.5.0? as i keep receiving error that: &#039;Method &quot;hookToOrderSaveEvent&quot; is not deined in &quot;&quot; &#039;</description>
		<content:encoded><![CDATA[<p>is this tutorial applicable to Magento 1.5.0? as i keep receiving error that: &#8216;Method &#8220;hookToOrderSaveEvent&#8221; is not deined in &#8220;&#8221; &#8216;</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: dgento</title>
		<link>http://inchoo.net/ecommerce/magento/extending-order-object-and-hooking-on-event-in-magento/comment-page-1/#comment-19767</link>
		<dc:creator>dgento</dc:creator>
		<pubDate>Mon, 28 Feb 2011 16:15:27 +0000</pubDate>
		<guid isPermaLink="false">http://inchoo.net/?p=1409#comment-19767</guid>
		<description>thanks...this tutorial helps me to correct my mistake that I did in config.xml</description>
		<content:encoded><![CDATA[<p>thanks&#8230;this tutorial helps me to correct my mistake that I did in config.xml</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: buswah</title>
		<link>http://inchoo.net/ecommerce/magento/extending-order-object-and-hooking-on-event-in-magento/comment-page-1/#comment-12095</link>
		<dc:creator>buswah</dc:creator>
		<pubDate>Mon, 20 Dec 2010 06:08:39 +0000</pubDate>
		<guid isPermaLink="false">http://inchoo.net/?p=1409#comment-12095</guid>
		<description>Thanks for breaking it down!</description>
		<content:encoded><![CDATA[<p>Thanks for breaking it down!</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Srdjan</title>
		<link>http://inchoo.net/ecommerce/magento/extending-order-object-and-hooking-on-event-in-magento/comment-page-1/#comment-9478</link>
		<dc:creator>Srdjan</dc:creator>
		<pubDate>Fri, 26 Nov 2010 17:13:46 +0000</pubDate>
		<guid isPermaLink="false">http://inchoo.net/?p=1409#comment-9478</guid>
		<description>What I don&#039;t get is what is the purpose of [code][/code] (line 16) - what is it and what does it actually do?</description>
		<content:encoded><![CDATA[<p>What I don&#8217;t get is what is the purpose of  (line 16) &#8211; what is it and what does it actually do?</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Ozair Kafray</title>
		<link>http://inchoo.net/ecommerce/magento/extending-order-object-and-hooking-on-event-in-magento/comment-page-1/#comment-8594</link>
		<dc:creator>Ozair Kafray</dc:creator>
		<pubDate>Fri, 08 Oct 2010 11:41:34 +0000</pubDate>
		<guid isPermaLink="false">http://inchoo.net/?p=1409#comment-8594</guid>
		<description>This article was very useful for me for hooking to customer_login event. I could not find a clearer custom_module/etc/config.xml file in any of the other blogs/pages/wikis/forums</description>
		<content:encoded><![CDATA[<p>This article was very useful for me for hooking to customer_login event. I could not find a clearer custom_module/etc/config.xml file in any of the other blogs/pages/wikis/forums</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: BMC</title>
		<link>http://inchoo.net/ecommerce/magento/extending-order-object-and-hooking-on-event-in-magento/comment-page-1/#comment-7878</link>
		<dc:creator>BMC</dc:creator>
		<pubDate>Tue, 17 Aug 2010 14:48:16 +0000</pubDate>
		<guid isPermaLink="false">http://inchoo.net/?p=1409#comment-7878</guid>
		<description>FYI - I was using 1.3.3.0

The EAV attribute was created in eav_attribute table. What I did not expect was that data would actually be stored in the sales_order_varchar table. (I was incorrectly looking at eav_entity_X tables and sales_order_entity_X tables.) 

Looking further as to why, it is because the 11 specified as the entity_type_id for a sales_order stores data in the sales_order_X tables. Imagine that! Right where it is supposed to be.</description>
		<content:encoded><![CDATA[<p>FYI &#8211; I was using 1.3.3.0</p>
<p>The EAV attribute was created in eav_attribute table. What I did not expect was that data would actually be stored in the sales_order_varchar table. (I was incorrectly looking at eav_entity_X tables and sales_order_entity_X tables.) </p>
<p>Looking further as to why, it is because the 11 specified as the entity_type_id for a sales_order stores data in the sales_order_X tables. Imagine that! Right where it is supposed to be.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Branko Ajzele</title>
		<link>http://inchoo.net/ecommerce/magento/extending-order-object-and-hooking-on-event-in-magento/comment-page-1/#comment-7836</link>
		<dc:creator>Branko Ajzele</dc:creator>
		<pubDate>Thu, 12 Aug 2010 19:31:51 +0000</pubDate>
		<guid isPermaLink="false">http://inchoo.net/?p=1409#comment-7836</guid>
		<description>This tutorial was made on Magento 1.3 version. There have been some changes in the Sales module regarding its use of EAV in Magento. This might be causing the issue.</description>
		<content:encoded><![CDATA[<p>This tutorial was made on Magento 1.3 version. There have been some changes in the Sales module regarding its use of EAV in Magento. This might be causing the issue.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: dvbii</title>
		<link>http://inchoo.net/ecommerce/magento/extending-order-object-and-hooking-on-event-in-magento/comment-page-1/#comment-7835</link>
		<dc:creator>dvbii</dc:creator>
		<pubDate>Thu, 12 Aug 2010 17:01:46 +0000</pubDate>
		<guid isPermaLink="false">http://inchoo.net/?p=1409#comment-7835</guid>
		<description>I am simply trying to add an attribute called &#039;recipient&#039; to the order model. I agree with the question above, and add a problem. Using the second part of the &quot;quick and dirty&quot; setup, i am getting an error stating Class &#039;Mage_Eav_Model_Entity_Setup&#039; not found.
Odd?</description>
		<content:encoded><![CDATA[<p>I am simply trying to add an attribute called &#8216;recipient&#8217; to the order model. I agree with the question above, and add a problem. Using the second part of the &#8220;quick and dirty&#8221; setup, i am getting an error stating Class &#8216;Mage_Eav_Model_Entity_Setup&#8217; not found.<br />
Odd?</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: BMC</title>
		<link>http://inchoo.net/ecommerce/magento/extending-order-object-and-hooking-on-event-in-magento/comment-page-1/#comment-7793</link>
		<dc:creator>BMC</dc:creator>
		<pubDate>Sat, 07 Aug 2010 06:25:31 +0000</pubDate>
		<guid isPermaLink="false">http://inchoo.net/?p=1409#comment-7793</guid>
		<description>Unfortunately I cannot get past the &#039;quick and dirty&#039; steps of adding the attribute to the order. I am not sure why the attribute should be added as and eav_attribute? 

Also, why is it that almost all of the attributes listed underneath app/code/core/Mage/Sales/Model/Entity/Setup.php simply have =&gt; array(), or =&gt; array(&#039;type&#039; =&gt; int), when the example attribute has some many more?</description>
		<content:encoded><![CDATA[<p>Unfortunately I cannot get past the &#8216;quick and dirty&#8217; steps of adding the attribute to the order. I am not sure why the attribute should be added as and eav_attribute? </p>
<p>Also, why is it that almost all of the attributes listed underneath app/code/core/Mage/Sales/Model/Entity/Setup.php simply have =&gt; array(), or =&gt; array(&#8216;type&#8217; =&gt; int), when the example attribute has some many more?</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Zoran</title>
		<link>http://inchoo.net/ecommerce/magento/extending-order-object-and-hooking-on-event-in-magento/comment-page-1/#comment-6439</link>
		<dc:creator>Zoran</dc:creator>
		<pubDate>Thu, 11 Mar 2010 22:29:24 +0000</pubDate>
		<guid isPermaLink="false">http://inchoo.net/?p=1409#comment-6439</guid>
		<description>Thank you for the nice explanation.
Does this mean i can watch for any already fired events from Magento itself. What if some events are caught by core Observer classes, am i able to catch them too with my own Observer methods?</description>
		<content:encoded><![CDATA[<p>Thank you for the nice explanation.<br />
Does this mean i can watch for any already fired events from Magento itself. What if some events are caught by core Observer classes, am i able to catch them too with my own Observer methods?</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: STANISLAS Pierre</title>
		<link>http://inchoo.net/ecommerce/magento/extending-order-object-and-hooking-on-event-in-magento/comment-page-1/#comment-6108</link>
		<dc:creator>STANISLAS Pierre</dc:creator>
		<pubDate>Fri, 05 Feb 2010 08:33:13 +0000</pubDate>
		<guid isPermaLink="false">http://inchoo.net/?p=1409#comment-6108</guid>
		<description>Hello , does this code work with 1.3.2.4. ?  I&#039;ve tried the above code without success even with &#039;codePool&#039; in the xml. It seems like  function hookToOrderSaveEvent() is never executed. Can someone please provide a zip of working files ? Thank you.</description>
		<content:encoded><![CDATA[<p>Hello , does this code work with 1.3.2.4. ?  I&#8217;ve tried the above code without success even with &#8216;codePool&#8217; in the xml. It seems like  function hookToOrderSaveEvent() is never executed. Can someone please provide a zip of working files ? Thank you.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Lee Powers</title>
		<link>http://inchoo.net/ecommerce/magento/extending-order-object-and-hooking-on-event-in-magento/comment-page-1/#comment-3578</link>
		<dc:creator>Lee Powers</dc:creator>
		<pubDate>Tue, 20 Oct 2009 22:56:48 +0000</pubDate>
		<guid isPermaLink="false">http://inchoo.net/?p=1409#comment-3578</guid>
		<description>In my previous comment:

it&#039;s the XML codePool tag - in the article example the tag is spelled codepool</description>
		<content:encoded><![CDATA[<p>In my previous comment:</p>
<p>it&#8217;s the XML codePool tag &#8211; in the article example the tag is spelled codepool</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Lee Powers</title>
		<link>http://inchoo.net/ecommerce/magento/extending-order-object-and-hooking-on-event-in-magento/comment-page-1/#comment-3577</link>
		<dc:creator>Lee Powers</dc:creator>
		<pubDate>Tue, 20 Oct 2009 22:55:45 +0000</pubDate>
		<guid isPermaLink="false">http://inchoo.net/?p=1409#comment-3577</guid>
		<description>The XML (as noted in the article) is incorrect - one character is off in app/etc/modules/Inchoo_HookSystem.xml and causes the whole example to fail:

local

Corrected (note the p):

local

Very annoying! Found it out by comparing with the Magento wiki example: 

http://www.magentocommerce.com/wiki/customizing_magento_using_event-observer_method</description>
		<content:encoded><![CDATA[<p>The XML (as noted in the article) is incorrect &#8211; one character is off in app/etc/modules/Inchoo_HookSystem.xml and causes the whole example to fail:</p>
<p>local</p>
<p>Corrected (note the p):</p>
<p>local</p>
<p>Very annoying! Found it out by comparing with the Magento wiki example: </p>
<p><a href="http://www.magentocommerce.com/wiki/customizing_magento_using_event-observer_method" rel="nofollow">http://www.magentocommerce.com/wiki/customizing_magento_using_event-observer_method</a></p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Chad Tomkiss</title>
		<link>http://inchoo.net/ecommerce/magento/extending-order-object-and-hooking-on-event-in-magento/comment-page-1/#comment-3328</link>
		<dc:creator>Chad Tomkiss</dc:creator>
		<pubDate>Fri, 18 Sep 2009 20:35:24 +0000</pubDate>
		<guid isPermaLink="false">http://inchoo.net/?p=1409#comment-3328</guid>
		<description>It seems that the checkout_onepage_controller_success_action event does not actually run the method.

Have you guys had this problem?

After so much research, every topic uses the same event.

Have refreshed the cache etc, still no luck.

On another note:

http://ajzele.net/wp-content/uploads/2009/03/magento-events-cheat-sheet.pdf

Good resource for Observer events.

Regards,
Chad</description>
		<content:encoded><![CDATA[<p>It seems that the checkout_onepage_controller_success_action event does not actually run the method.</p>
<p>Have you guys had this problem?</p>
<p>After so much research, every topic uses the same event.</p>
<p>Have refreshed the cache etc, still no luck.</p>
<p>On another note:</p>
<p><a href="http://ajzele.net/wp-content/uploads/2009/03/magento-events-cheat-sheet.pdf" rel="nofollow">http://ajzele.net/wp-content/uploads/2009/03/magento-events-cheat-sheet.pdf</a></p>
<p>Good resource for Observer events.</p>
<p>Regards,<br />
Chad</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: thomas s</title>
		<link>http://inchoo.net/ecommerce/magento/extending-order-object-and-hooking-on-event-in-magento/comment-page-1/#comment-2957</link>
		<dc:creator>thomas s</dc:creator>
		<pubDate>Thu, 30 Jul 2009 14:10:52 +0000</pubDate>
		<guid isPermaLink="false">http://inchoo.net/?p=1409#comment-2957</guid>
		<description>hey branko !! 

cant get it work ... i just create the same module as you , but nothing happen i think the hook didn&#039;t actually work for me ....
is that too much asking of you that you send me your source code for this particular module ?</description>
		<content:encoded><![CDATA[<p>hey branko !! </p>
<p>cant get it work &#8230; i just create the same module as you , but nothing happen i think the hook didn&#8217;t actually work for me &#8230;.<br />
is that too much asking of you that you send me your source code for this particular module ?</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: smivks</title>
		<link>http://inchoo.net/ecommerce/magento/extending-order-object-and-hooking-on-event-in-magento/comment-page-1/#comment-2815</link>
		<dc:creator>smivks</dc:creator>
		<pubDate>Wed, 15 Jul 2009 07:47:12 +0000</pubDate>
		<guid isPermaLink="false">http://inchoo.net/?p=1409#comment-2815</guid>
		<description>Hi,

I can access extra info by using 
{{var order.getExtraInfo().format(&#039;html&#039;)}}.

But problem is that it is in format of serialize and it shows like 

a:2:{s:10:&quot;CreditCard&quot;;s:11:&quot;Master Card&quot;;s:26:&quot;Total Pyament Installments&quot;;s:1:&quot;1&quot;;} 

How to unserialize this for displaying in proper format?

Thanks</description>
		<content:encoded><![CDATA[<p>Hi,</p>
<p>I can access extra info by using<br />
{{var order.getExtraInfo().format(&#8216;html&#8217;)}}.</p>
<p>But problem is that it is in format of serialize and it shows like </p>
<p>a:2:{s:10:&#8221;CreditCard&#8221;;s:11:&#8221;Master Card&#8221;;s:26:&#8221;Total Pyament Installments&#8221;;s:1:&#8221;1&#8243;;} </p>
<p>How to unserialize this for displaying in proper format?</p>
<p>Thanks</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: smivks</title>
		<link>http://inchoo.net/ecommerce/magento/extending-order-object-and-hooking-on-event-in-magento/comment-page-1/#comment-2814</link>
		<dc:creator>smivks</dc:creator>
		<pubDate>Wed, 15 Jul 2009 07:21:31 +0000</pubDate>
		<guid isPermaLink="false">http://inchoo.net/?p=1409#comment-2814</guid>
		<description>Hi,
This article helps me a lot and implement successfully.

I use this article to display credit card info (Visa, Master Card and number of installments etc..) in order detail at admin side.

But i also use this information when order email send to the customer.

So how can i access this info in email template.

Thanks</description>
		<content:encoded><![CDATA[<p>Hi,<br />
This article helps me a lot and implement successfully.</p>
<p>I use this article to display credit card info (Visa, Master Card and number of installments etc..) in order detail at admin side.</p>
<p>But i also use this information when order email send to the customer.</p>
<p>So how can i access this info in email template.</p>
<p>Thanks</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Branko Ajzele</title>
		<link>http://inchoo.net/ecommerce/magento/extending-order-object-and-hooking-on-event-in-magento/comment-page-1/#comment-2681</link>
		<dc:creator>Branko Ajzele</dc:creator>
		<pubDate>Tue, 30 Jun 2009 07:32:05 +0000</pubDate>
		<guid isPermaLink="false">http://inchoo.net/?p=1409#comment-2681</guid>
		<description>@QB3RT

Maybe this can help http://ajzele.net/entityextender-extend-all-magento-entity-objects-at-once/</description>
		<content:encoded><![CDATA[<p>@QB3RT</p>
<p>Maybe this can help <a href="http://ajzele.net/entityextender-extend-all-magento-entity-objects-at-once/" rel="nofollow">http://ajzele.net/entityextender-extend-all-magento-entity-objects-at-once/</a></p>
]]></content:encoded>
	</item>
	<item>
		<title>By: QB3RT</title>
		<link>http://inchoo.net/ecommerce/magento/extending-order-object-and-hooking-on-event-in-magento/comment-page-1/#comment-2680</link>
		<dc:creator>QB3RT</dc:creator>
		<pubDate>Tue, 30 Jun 2009 07:05:16 +0000</pubDate>
		<guid isPermaLink="false">http://inchoo.net/?p=1409#comment-2680</guid>
		<description>@ Scott,   We are currently doing something similar, to manage products via the API, and the only solution it seems is to extend the API classes/objects themselves (adding your own fields).</description>
		<content:encoded><![CDATA[<p>@ Scott,   We are currently doing something similar, to manage products via the API, and the only solution it seems is to extend the API classes/objects themselves (adding your own fields).</p>
]]></content:encoded>
	</item>
</channel>
</rss>

