<?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: Magento’s Onepage Checkout in a nutshell</title>
	<atom:link href="http://inchoo.net/ecommerce/magento/magentos-onepage-checkout-in-a-nutshell/feed/" rel="self" type="application/rss+xml" />
	<link>http://inchoo.net/ecommerce/magento/magentos-onepage-checkout-in-a-nutshell/</link>
	<description>Magento Design and Magento Development Professionals - Inchoo</description>
	<lastBuildDate>Fri, 10 Feb 2012 19:34:16 +0000</lastBuildDate>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.2.1</generator>
	<item>
		<title>By: Gary</title>
		<link>http://inchoo.net/ecommerce/magento/magentos-onepage-checkout-in-a-nutshell/comment-page-2/#comment-25878</link>
		<dc:creator>Gary</dc:creator>
		<pubDate>Wed, 25 Jan 2012 00:35:26 +0000</pubDate>
		<guid isPermaLink="false">http://inchoo.net/?p=599#comment-25878</guid>
		<description>http://www.mypetcrates.com Tried this approach but it did not work for me, keep getting a weird error and when i worked around my compilation problem I keep getting an insecure checkout version.</description>
		<content:encoded><![CDATA[<p><a href="http://www.mypetcrates.com" rel="nofollow">http://www.mypetcrates.com</a> Tried this approach but it did not work for me, keep getting a weird error and when i worked around my compilation problem I keep getting an insecure checkout version.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: sohail</title>
		<link>http://inchoo.net/ecommerce/magento/magentos-onepage-checkout-in-a-nutshell/comment-page-2/#comment-24940</link>
		<dc:creator>sohail</dc:creator>
		<pubDate>Wed, 28 Dec 2011 10:06:43 +0000</pubDate>
		<guid isPermaLink="false">http://inchoo.net/?p=599#comment-24940</guid>
		<description>Hi,

This was very useful, but I just need one more small bit of information. I want to add status comment too while checkout process. The Status comment history is managed in Magento. I want to add a comment while I do $checkout-&gt;saveOrder();

is it possible ?</description>
		<content:encoded><![CDATA[<p>Hi,</p>
<p>This was very useful, but I just need one more small bit of information. I want to add status comment too while checkout process. The Status comment history is managed in Magento. I want to add a comment while I do $checkout-&gt;saveOrder();</p>
<p>is it possible ?</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Andres</title>
		<link>http://inchoo.net/ecommerce/magento/magentos-onepage-checkout-in-a-nutshell/comment-page-2/#comment-24649</link>
		<dc:creator>Andres</dc:creator>
		<pubDate>Thu, 22 Dec 2011 21:54:18 +0000</pubDate>
		<guid isPermaLink="false">http://inchoo.net/?p=599#comment-24649</guid>
		<description>Hi, i would like to add some kind of gift wrap checkbox that could add an extra cost to the shipping method selected, do you have any ideas how could this be achieved. Thanks.</description>
		<content:encoded><![CDATA[<p>Hi, i would like to add some kind of gift wrap checkbox that could add an extra cost to the shipping method selected, do you have any ideas how could this be achieved. Thanks.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Jeremy</title>
		<link>http://inchoo.net/ecommerce/magento/magentos-onepage-checkout-in-a-nutshell/comment-page-2/#comment-23560</link>
		<dc:creator>Jeremy</dc:creator>
		<pubDate>Thu, 10 Nov 2011 01:12:43 +0000</pubDate>
		<guid isPermaLink="false">http://inchoo.net/?p=599#comment-23560</guid>
		<description>Hi, I am trying to get a script working that will allow me run the check out process against a specific customers cart. I get an error when the script hits the 
Mage::getSingleton(&#039;checkout/type_onepage&#039;); line. 

The error says: &quot;Fatal error: Cannot use object of type Mage_Checkout_Model_Type_Onepage as array in /home/leesavo/public_html/app/code/core/Mage/Core/Model/Session/Abstract/Varien.php on line 338&quot;

login(&#039;*****&#039;, &#039;*****&#039;);
require_once (&quot;../app/Mage.php&quot;);
$model = Mage::app(&#039;default&#039;);


$email = &#039;*******&#039;;
$customer = Mage::getModel(&#039;customer/customer&#039;);
$customer-&gt;setWebsiteId($model-&gt;getWebsite()-&gt;getId());
$customer-&gt;loadByEmail($email);
Mage::getSingleton(&#039;customer/session&#039;)-&gt;loginById($customer-&gt;getId());

$cart = Mage::getModel(&#039;checkout/cart&#039;);
//$storeId = Mage::app()-&gt;getStore()-&gt;getId();

$checkout = Mage::getSingleton(&#039;checkout/type_onepage&#039;);
//$checkout-&gt;initCheckout();
//$checkout-&gt;saveCheckoutMethod(&#039;register&#039;);
//$checkout-&gt;saveShippingMethod(&#039;flatrate_flatrate&#039;);
//$checkout-&gt;savePayment(array(&#039;method&#039;=&gt;&#039;checkmo&#039;));
//try {
//    $checkout-&gt;saveOrder();
//}
//catch (Exception $ex) {
//  echo $ex-&gt;getMessage();
//}           
 
/* Clear the cart */
//$cart-&gt;truncate();
//$cart-&gt;save();
//$cart-&gt;getItems()-&gt;clear()-&gt;save();        
 
/* Logout the customer you created */
//Mage::getSingleton(&#039;customer/session&#039;)-&gt;logout();
?&gt;

There is some stuff commented out, but it errors out at the same line regardless. I am extraordinarily new at this and would appreciate any help.

Regards,
Jeremy</description>
		<content:encoded><![CDATA[<p>Hi, I am trying to get a script working that will allow me run the check out process against a specific customers cart. I get an error when the script hits the<br />
Mage::getSingleton(&#8216;checkout/type_onepage&#8217;); line. </p>
<p>The error says: &#8220;Fatal error: Cannot use object of type Mage_Checkout_Model_Type_Onepage as array in /home/leesavo/public_html/app/code/core/Mage/Core/Model/Session/Abstract/Varien.php on line 338&#8243;</p>
<p>login(&#8216;*****&#8217;, &#8216;*****&#8217;);<br />
require_once (&#8220;../app/Mage.php&#8221;);<br />
$model = Mage::app(&#8216;default&#8217;);</p>
<p>$email = &#8216;*******&#8217;;<br />
$customer = Mage::getModel(&#8216;customer/customer&#8217;);<br />
$customer-&gt;setWebsiteId($model-&gt;getWebsite()-&gt;getId());<br />
$customer-&gt;loadByEmail($email);<br />
Mage::getSingleton(&#8216;customer/session&#8217;)-&gt;loginById($customer-&gt;getId());</p>
<p>$cart = Mage::getModel(&#8216;checkout/cart&#8217;);<br />
//$storeId = Mage::app()-&gt;getStore()-&gt;getId();</p>
<p>$checkout = Mage::getSingleton(&#8216;checkout/type_onepage&#8217;);<br />
//$checkout-&gt;initCheckout();<br />
//$checkout-&gt;saveCheckoutMethod(&#8216;register&#8217;);<br />
//$checkout-&gt;saveShippingMethod(&#8216;flatrate_flatrate&#8217;);<br />
//$checkout-&gt;savePayment(array(&#8216;method&#8217;=&gt;&#8217;checkmo&#8217;));<br />
//try {<br />
//    $checkout-&gt;saveOrder();<br />
//}<br />
//catch (Exception $ex) {<br />
//  echo $ex-&gt;getMessage();<br />
//}           </p>
<p>/* Clear the cart */<br />
//$cart-&gt;truncate();<br />
//$cart-&gt;save();<br />
//$cart-&gt;getItems()-&gt;clear()-&gt;save();        </p>
<p>/* Logout the customer you created */<br />
//Mage::getSingleton(&#8216;customer/session&#8217;)-&gt;logout();<br />
?&gt;</p>
<p>There is some stuff commented out, but it errors out at the same line regardless. I am extraordinarily new at this and would appreciate any help.</p>
<p>Regards,<br />
Jeremy</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: valentin</title>
		<link>http://inchoo.net/ecommerce/magento/magentos-onepage-checkout-in-a-nutshell/comment-page-2/#comment-23352</link>
		<dc:creator>valentin</dc:creator>
		<pubDate>Wed, 02 Nov 2011 19:52:56 +0000</pubDate>
		<guid isPermaLink="false">http://inchoo.net/?p=599#comment-23352</guid>
		<description>Any idea why the checkout won&#039;t work for users that register in the checkout process?

error log says that &quot;gender&quot; column is not to be found.
It&#039;s disabled in the backend so it makes no sense</description>
		<content:encoded><![CDATA[<p>Any idea why the checkout won&#8217;t work for users that register in the checkout process?</p>
<p>error log says that &#8220;gender&#8221; column is not to be found.<br />
It&#8217;s disabled in the backend so it makes no sense</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: terry</title>
		<link>http://inchoo.net/ecommerce/magento/magentos-onepage-checkout-in-a-nutshell/comment-page-2/#comment-23339</link>
		<dc:creator>terry</dc:creator>
		<pubDate>Wed, 02 Nov 2011 10:20:22 +0000</pubDate>
		<guid isPermaLink="false">http://inchoo.net/?p=599#comment-23339</guid>
		<description>I prefer Lightcheckout of gomage - one page checkout exetsion. I&#039;ve just installed it  - no need to change code. Also I can set delivery date and verify VAT - best solution for me. http://www.gomage.com/extensions/gomage-lightcheckout.html</description>
		<content:encoded><![CDATA[<p>I prefer Lightcheckout of gomage &#8211; one page checkout exetsion. I&#8217;ve just installed it  &#8211; no need to change code. Also I can set delivery date and verify VAT &#8211; best solution for me. <a href="http://www.gomage.com/extensions/gomage-lightcheckout.html" rel="nofollow">http://www.gomage.com/extensions/gomage-lightcheckout.html</a></p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Tony</title>
		<link>http://inchoo.net/ecommerce/magento/magentos-onepage-checkout-in-a-nutshell/comment-page-2/#comment-23004</link>
		<dc:creator>Tony</dc:creator>
		<pubDate>Wed, 05 Oct 2011 09:34:23 +0000</pubDate>
		<guid isPermaLink="false">http://inchoo.net/?p=599#comment-23004</guid>
		<description>Cool. Thanks a lot/</description>
		<content:encoded><![CDATA[<p>Cool. Thanks a lot/</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Wilson Sheldon</title>
		<link>http://inchoo.net/ecommerce/magento/magentos-onepage-checkout-in-a-nutshell/comment-page-2/#comment-22968</link>
		<dc:creator>Wilson Sheldon</dc:creator>
		<pubDate>Fri, 30 Sep 2011 19:33:46 +0000</pubDate>
		<guid isPermaLink="false">http://inchoo.net/?p=599#comment-22968</guid>
		<description>At least for me in 1.6.x, looks like, between step 5 and 6, you need:

$checkout-&gt;getQuote()-&gt;getPayment()-&gt;importData($payment);

Where $payment is the payment POST data.</description>
		<content:encoded><![CDATA[<p>At least for me in 1.6.x, looks like, between step 5 and 6, you need:</p>
<p>$checkout-&gt;getQuote()-&gt;getPayment()-&gt;importData($payment);</p>
<p>Where $payment is the payment POST data.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Alvin</title>
		<link>http://inchoo.net/ecommerce/magento/magentos-onepage-checkout-in-a-nutshell/comment-page-2/#comment-21996</link>
		<dc:creator>Alvin</dc:creator>
		<pubDate>Thu, 21 Jul 2011 05:40:39 +0000</pubDate>
		<guid isPermaLink="false">http://inchoo.net/?p=599#comment-21996</guid>
		<description>Checkout the following URL  The customers can quickly fill in the personal information and payment methods and complete the purchase: http://www.apptha.com/category/extension/Magento/OneStepCheckout</description>
		<content:encoded><![CDATA[<p>Checkout the following URL  The customers can quickly fill in the personal information and payment methods and complete the purchase: <a href="http://www.apptha.com/category/extension/Magento/OneStepCheckout" rel="nofollow">http://www.apptha.com/category/extension/Magento/OneStepCheckout</a></p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Rakesh</title>
		<link>http://inchoo.net/ecommerce/magento/magentos-onepage-checkout-in-a-nutshell/comment-page-2/#comment-21596</link>
		<dc:creator>Rakesh</dc:creator>
		<pubDate>Sat, 18 Jun 2011 17:30:47 +0000</pubDate>
		<guid isPermaLink="false">http://inchoo.net/?p=599#comment-21596</guid>
		<description>Hi,
i try to create new template and doing this all code in this template but it&#039;s not working so can you please explain me where i can insert the code so it&#039;s working correctly.

thanks in advance</description>
		<content:encoded><![CDATA[<p>Hi,<br />
i try to create new template and doing this all code in this template but it&#8217;s not working so can you please explain me where i can insert the code so it&#8217;s working correctly.</p>
<p>thanks in advance</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: johannes</title>
		<link>http://inchoo.net/ecommerce/magento/magentos-onepage-checkout-in-a-nutshell/comment-page-2/#comment-21447</link>
		<dc:creator>johannes</dc:creator>
		<pubDate>Thu, 09 Jun 2011 15:39:04 +0000</pubDate>
		<guid isPermaLink="false">http://inchoo.net/?p=599#comment-21447</guid>
		<description>kris: the page is running on a magento-optimized web-hosting at mittwald.de – a leading magento-hoster. i&#039;d guess they know what they do. but thanks for the hint!
if it happens again, i&#039;ll ask them about their optimizers.</description>
		<content:encoded><![CDATA[<p>kris: the page is running on a magento-optimized web-hosting at mittwald.de – a leading magento-hoster. i&#8217;d guess they know what they do. but thanks for the hint!<br />
if it happens again, i&#8217;ll ask them about their optimizers.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: kris gale</title>
		<link>http://inchoo.net/ecommerce/magento/magentos-onepage-checkout-in-a-nutshell/comment-page-2/#comment-21294</link>
		<dc:creator>kris gale</dc:creator>
		<pubDate>Wed, 01 Jun 2011 13:22:21 +0000</pubDate>
		<guid isPermaLink="false">http://inchoo.net/?p=599#comment-21294</guid>
		<description>are you running either a web server or php application optimizer? (so either for IIS or apache, or for php itself)?  parallel threads getting too greedy and attempting to serve the same request would create a race condition.</description>
		<content:encoded><![CDATA[<p>are you running either a web server or php application optimizer? (so either for IIS or apache, or for php itself)?  parallel threads getting too greedy and attempting to serve the same request would create a race condition.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: johannes</title>
		<link>http://inchoo.net/ecommerce/magento/magentos-onepage-checkout-in-a-nutshell/comment-page-2/#comment-21286</link>
		<dc:creator>johannes</dc:creator>
		<pubDate>Wed, 01 Jun 2011 10:01:02 +0000</pubDate>
		<guid isPermaLink="false">http://inchoo.net/?p=599#comment-21286</guid>
		<description>hey kris,

thanks for the fast reply! to check the order-id is a good idea ... it came up to my mind also, after writing the comment. it will catch the second case. in the first one there was a proper id ... don&#039;t know how this could happen and i cannot reproduce it. maybe just a strange coincidence that won&#039;t happen again.

johannes</description>
		<content:encoded><![CDATA[<p>hey kris,</p>
<p>thanks for the fast reply! to check the order-id is a good idea &#8230; it came up to my mind also, after writing the comment. it will catch the second case. in the first one there was a proper id &#8230; don&#8217;t know how this could happen and i cannot reproduce it. maybe just a strange coincidence that won&#8217;t happen again.</p>
<p>johannes</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: kris gale</title>
		<link>http://inchoo.net/ecommerce/magento/magentos-onepage-checkout-in-a-nutshell/comment-page-2/#comment-21271</link>
		<dc:creator>kris gale</dc:creator>
		<pubDate>Tue, 31 May 2011 17:32:15 +0000</pubDate>
		<guid isPermaLink="false">http://inchoo.net/?p=599#comment-21271</guid>
		<description>johannes - that certainly is strange...

barring a more elegant solution, perhaps an if( ) statement to check for a null order id?</description>
		<content:encoded><![CDATA[<p>johannes &#8211; that certainly is strange&#8230;</p>
<p>barring a more elegant solution, perhaps an if( ) statement to check for a null order id?</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: johannes</title>
		<link>http://inchoo.net/ecommerce/magento/magentos-onepage-checkout-in-a-nutshell/comment-page-2/#comment-21269</link>
		<dc:creator>johannes</dc:creator>
		<pubDate>Tue, 31 May 2011 16:33:20 +0000</pubDate>
		<guid isPermaLink="false">http://inchoo.net/?p=599#comment-21269</guid>
		<description>Hey,

I roughly used the lines from kris&#039; comment to realize my checkout. This worked fine for three month since yesterday. Since then I got two double-orders. The first time with two following order-ids, the same products in each and confirmation emails sent out in the same second. The second time only the first confirmation had an order-id, the second had none, no products and was sent one second later.

I could reproduce the second case by opening two carts and starting two parallel checkouts.

Anyone to whom this sounds familiar? Any suggestions?

Johannes</description>
		<content:encoded><![CDATA[<p>Hey,</p>
<p>I roughly used the lines from kris&#8217; comment to realize my checkout. This worked fine for three month since yesterday. Since then I got two double-orders. The first time with two following order-ids, the same products in each and confirmation emails sent out in the same second. The second time only the first confirmation had an order-id, the second had none, no products and was sent one second later.</p>
<p>I could reproduce the second case by opening two carts and starting two parallel checkouts.</p>
<p>Anyone to whom this sounds familiar? Any suggestions?</p>
<p>Johannes</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Kevin Andrews</title>
		<link>http://inchoo.net/ecommerce/magento/magentos-onepage-checkout-in-a-nutshell/comment-page-2/#comment-20999</link>
		<dc:creator>Kevin Andrews</dc:creator>
		<pubDate>Mon, 16 May 2011 13:12:55 +0000</pubDate>
		<guid isPermaLink="false">http://inchoo.net/?p=599#comment-20999</guid>
		<description>Ignore my previous post, I found your other post here about adding additional tabs correctly :

http://inchoo.net/ecommerce/magento/adding-a-new-tab-under-one-page-checkout-full-working-module/

Thankyou very much for these guides and sample code, they are priceless!</description>
		<content:encoded><![CDATA[<p>Ignore my previous post, I found your other post here about adding additional tabs correctly :</p>
<p><a href="http://inchoo.net/ecommerce/magento/adding-a-new-tab-under-one-page-checkout-full-working-module/" rel="nofollow">http://inchoo.net/ecommerce/magento/adding-a-new-tab-under-one-page-checkout-full-working-module/</a></p>
<p>Thankyou very much for these guides and sample code, they are priceless!</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Kevin Andrews</title>
		<link>http://inchoo.net/ecommerce/magento/magentos-onepage-checkout-in-a-nutshell/comment-page-2/#comment-20997</link>
		<dc:creator>Kevin Andrews</dc:creator>
		<pubDate>Mon, 16 May 2011 10:57:29 +0000</pubDate>
		<guid isPermaLink="false">http://inchoo.net/?p=599#comment-20997</guid>
		<description>Hi,

I know this is also a little off topic but fits in with the general theme of this post...

I need to add an extra stage to the magento onepage checkout module. How would I go about adding an additional stage on the end of the onecheckout feature in the local repos rather than modifying the core section?</description>
		<content:encoded><![CDATA[<p>Hi,</p>
<p>I know this is also a little off topic but fits in with the general theme of this post&#8230;</p>
<p>I need to add an extra stage to the magento onepage checkout module. How would I go about adding an additional stage on the end of the onecheckout feature in the local repos rather than modifying the core section?</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Erwin Otten</title>
		<link>http://inchoo.net/ecommerce/magento/magentos-onepage-checkout-in-a-nutshell/comment-page-2/#comment-20342</link>
		<dc:creator>Erwin Otten</dc:creator>
		<pubDate>Mon, 11 Apr 2011 07:38:28 +0000</pubDate>
		<guid isPermaLink="false">http://inchoo.net/?p=599#comment-20342</guid>
		<description>I know it&#039;s a little off-topic, but if you are in a position where predefining the OPC steps isn&#039;t the solution (as we did), you might want to use our horizontal one step checkout design. It&#039;s more intuitive then the default vertical accordeon design and it hasn&#039;t got the downsides of the commercial one step checkout. It&#039;s a css only solution: http://www.h-o.nl/blog/improved_magento_one_page_checkout_design_css_only/</description>
		<content:encoded><![CDATA[<p>I know it&#8217;s a little off-topic, but if you are in a position where predefining the OPC steps isn&#8217;t the solution (as we did), you might want to use our horizontal one step checkout design. It&#8217;s more intuitive then the default vertical accordeon design and it hasn&#8217;t got the downsides of the commercial one step checkout. It&#8217;s a css only solution: <a href="http://www.h-o.nl/blog/improved_magento_one_page_checkout_design_css_only/" rel="nofollow">http://www.h-o.nl/blog/improved_magento_one_page_checkout_design_css_only/</a></p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Kartik Maniyar</title>
		<link>http://inchoo.net/ecommerce/magento/magentos-onepage-checkout-in-a-nutshell/comment-page-2/#comment-19507</link>
		<dc:creator>Kartik Maniyar</dc:creator>
		<pubDate>Thu, 17 Feb 2011 10:52:59 +0000</pubDate>
		<guid isPermaLink="false">http://inchoo.net/?p=599#comment-19507</guid>
		<description>I want to change the Paypal redirecting page in Magento
means that if i m placing the order using Paypal Payment Method then i will automatically redirect to the Paypal information page means Paypal Account detail page.

That page i want to change. if u have any idea then tell me please it is very important for me.

Thanks,
Kartik</description>
		<content:encoded><![CDATA[<p>I want to change the Paypal redirecting page in Magento<br />
means that if i m placing the order using Paypal Payment Method then i will automatically redirect to the Paypal information page means Paypal Account detail page.</p>
<p>That page i want to change. if u have any idea then tell me please it is very important for me.</p>
<p>Thanks,<br />
Kartik</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: priya</title>
		<link>http://inchoo.net/ecommerce/magento/magentos-onepage-checkout-in-a-nutshell/comment-page-1/#comment-18236</link>
		<dc:creator>priya</dc:creator>
		<pubDate>Thu, 27 Jan 2011 14:58:09 +0000</pubDate>
		<guid isPermaLink="false">http://inchoo.net/?p=599#comment-18236</guid>
		<description>Hi,

 We are setting shipping address with default if the customers choose free shipping, but if they change from free shipping i want to assign the shipping address in session, how can i do that. Please can anyone help me.</description>
		<content:encoded><![CDATA[<p>Hi,</p>
<p> We are setting shipping address with default if the customers choose free shipping, but if they change from free shipping i want to assign the shipping address in session, how can i do that. Please can anyone help me.</p>
]]></content:encoded>
	</item>
</channel>
</rss>

