<?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: Delete test orders in Magento</title>
	<atom:link href="http://inchoo.net/ecommerce/magento/delete-test-orders-in-magento/feed/" rel="self" type="application/rss+xml" />
	<link>http://inchoo.net/ecommerce/magento/delete-test-orders-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: DigitalDoll</title>
		<link>http://inchoo.net/ecommerce/magento/delete-test-orders-in-magento/comment-page-3/#comment-28648</link>
		<dc:creator>DigitalDoll</dc:creator>
		<pubDate>Fri, 04 May 2012 09:00:46 +0000</pubDate>
		<guid isPermaLink="false">http://inchoo.net/?p=250#comment-28648</guid>
		<description>Hi! Has this been tested in 1.7 yet? Thanks in advance :)</description>
		<content:encoded><![CDATA[<p>Hi! Has this been tested in 1.7 yet? Thanks in advance <img src='http://inchoo.net/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /> </p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Marco</title>
		<link>http://inchoo.net/ecommerce/magento/delete-test-orders-in-magento/comment-page-3/#comment-28585</link>
		<dc:creator>Marco</dc:creator>
		<pubDate>Tue, 01 May 2012 21:44:24 +0000</pubDate>
		<guid isPermaLink="false">http://inchoo.net/?p=250#comment-28585</guid>
		<description>Thanks a lot! Worked like a charm on my ready-to-launch installation (Magento 1.5.1.0, MarketReady Germany 2.1.18, several extension).

Kind regards,
Marco</description>
		<content:encoded><![CDATA[<p>Thanks a lot! Worked like a charm on my ready-to-launch installation (Magento 1.5.1.0, MarketReady Germany 2.1.18, several extension).</p>
<p>Kind regards,<br />
Marco</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Anonymous Coward</title>
		<link>http://inchoo.net/ecommerce/magento/delete-test-orders-in-magento/comment-page-3/#comment-28455</link>
		<dc:creator>Anonymous Coward</dc:creator>
		<pubDate>Thu, 26 Apr 2012 18:52:00 +0000</pubDate>
		<guid isPermaLink="false">http://inchoo.net/?p=250#comment-28455</guid>
		<description>This also worked on 1.6.2.0 CE, thank you.</description>
		<content:encoded><![CDATA[<p>This also worked on 1.6.2.0 CE, thank you.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Matt Minty</title>
		<link>http://inchoo.net/ecommerce/magento/delete-test-orders-in-magento/comment-page-3/#comment-28383</link>
		<dc:creator>Matt Minty</dc:creator>
		<pubDate>Mon, 23 Apr 2012 18:35:04 +0000</pubDate>
		<guid isPermaLink="false">http://inchoo.net/?p=250#comment-28383</guid>
		<description>Super, thanks for this! Saved me lots of time...</description>
		<content:encoded><![CDATA[<p>Super, thanks for this! Saved me lots of time&#8230;</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: pro2060</title>
		<link>http://inchoo.net/ecommerce/magento/delete-test-orders-in-magento/comment-page-3/#comment-28371</link>
		<dc:creator>pro2060</dc:creator>
		<pubDate>Mon, 23 Apr 2012 04:50:37 +0000</pubDate>
		<guid isPermaLink="false">http://inchoo.net/?p=250#comment-28371</guid>
		<description>Perfect Script !
Thanks ! :D</description>
		<content:encoded><![CDATA[<p>Perfect Script !<br />
Thanks ! <img src='http://inchoo.net/wp-includes/images/smilies/icon_biggrin.gif' alt=':D' class='wp-smiley' /> </p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Magnus</title>
		<link>http://inchoo.net/ecommerce/magento/delete-test-orders-in-magento/comment-page-3/#comment-28186</link>
		<dc:creator>Magnus</dc:creator>
		<pubDate>Thu, 12 Apr 2012 17:24:20 +0000</pubDate>
		<guid isPermaLink="false">http://inchoo.net/?p=250#comment-28186</guid>
		<description>When I use the script in the article it for some reason doesn&#039;t truncate the table &#039;sales_order_tax_item&#039; 

This resulted in error like this 

SQLSTATE[23000]: Integrity constraint violation: 1062 Duplicate entry &#039;18-26&#039; for key 2 

when clicking Place Order in the Checkout because there would already by old rows with the same item ids in the &#039;sales_order_tax_item&#039; table. I have now deleted the old rows from this table which should prvent that error from occuring anymore.

The error doesn&#039;t show on every order, just when the same ids occur that already exists in the table.

Thought this could help anyone else getting the same errors.</description>
		<content:encoded><![CDATA[<p>When I use the script in the article it for some reason doesn&#8217;t truncate the table &#8216;sales_order_tax_item&#8217; </p>
<p>This resulted in error like this </p>
<p>SQLSTATE[23000]: Integrity constraint violation: 1062 Duplicate entry &#8217;18-26&#8242; for key 2 </p>
<p>when clicking Place Order in the Checkout because there would already by old rows with the same item ids in the &#8216;sales_order_tax_item&#8217; table. I have now deleted the old rows from this table which should prvent that error from occuring anymore.</p>
<p>The error doesn&#8217;t show on every order, just when the same ids occur that already exists in the table.</p>
<p>Thought this could help anyone else getting the same errors.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Magento Testbestellungen und Kunden löschen » Kai Köpke</title>
		<link>http://inchoo.net/ecommerce/magento/delete-test-orders-in-magento/comment-page-3/#comment-27490</link>
		<dc:creator>Magento Testbestellungen und Kunden löschen » Kai Köpke</dc:creator>
		<pubDate>Tue, 13 Mar 2012 17:07:52 +0000</pubDate>
		<guid isPermaLink="false">http://inchoo.net/?p=250#comment-27490</guid>
		<description>[...] Quelle: inchoo.net [...]</description>
		<content:encoded><![CDATA[<p>[...] Quelle: inchoo.net [...]</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Konstantinos</title>
		<link>http://inchoo.net/ecommerce/magento/delete-test-orders-in-magento/comment-page-3/#comment-27451</link>
		<dc:creator>Konstantinos</dc:creator>
		<pubDate>Mon, 12 Mar 2012 14:36:46 +0000</pubDate>
		<guid isPermaLink="false">http://inchoo.net/?p=250#comment-27451</guid>
		<description>Thank you for your revised script, worked like a charm on my yet-to-launch website running Magento v1.6.2.0.</description>
		<content:encoded><![CDATA[<p>Thank you for your revised script, worked like a charm on my yet-to-launch website running Magento v1.6.2.0.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Derrick</title>
		<link>http://inchoo.net/ecommerce/magento/delete-test-orders-in-magento/comment-page-3/#comment-26541</link>
		<dc:creator>Derrick</dc:creator>
		<pubDate>Mon, 20 Feb 2012 17:16:19 +0000</pubDate>
		<guid isPermaLink="false">http://inchoo.net/?p=250#comment-26541</guid>
		<description>Hello Gregg,

First off all its not my script :-) But i did ran in the same problem as you. I lost all my order statussen. 

So what is did was add the three lines of code on rule 76 of above script. 

It simply removes the three tables (about the statussen) from the table truncate array. 

If you want to make sure these are the right array keys for EE first run the script with the delete part comment out and print the array and check if the numbers are correct.</description>
		<content:encoded><![CDATA[<p>Hello Gregg,</p>
<p>First off all its not my script <img src='http://inchoo.net/wp-includes/images/smilies/icon_smile.gif' alt=':-)' class='wp-smiley' />  But i did ran in the same problem as you. I lost all my order statussen. </p>
<p>So what is did was add the three lines of code on rule 76 of above script. </p>
<p>It simply removes the three tables (about the statussen) from the table truncate array. </p>
<p>If you want to make sure these are the right array keys for EE first run the script with the delete part comment out and print the array and check if the numbers are correct.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Gregg</title>
		<link>http://inchoo.net/ecommerce/magento/delete-test-orders-in-magento/comment-page-3/#comment-26468</link>
		<dc:creator>Gregg</dc:creator>
		<pubDate>Fri, 17 Feb 2012 22:27:11 +0000</pubDate>
		<guid isPermaLink="false">http://inchoo.net/?p=250#comment-26468</guid>
		<description>Hey Derrick,

I ran your script on EE 1.11.1 and it removed the default order statuses.  I see you have a section commented out in your script but not quite sure what&#039;s going on.  Can you fill me in?  Is there a way to get those back?

Thanks</description>
		<content:encoded><![CDATA[<p>Hey Derrick,</p>
<p>I ran your script on EE 1.11.1 and it removed the default order statuses.  I see you have a section commented out in your script but not quite sure what&#8217;s going on.  Can you fill me in?  Is there a way to get those back?</p>
<p>Thanks</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Derrick</title>
		<link>http://inchoo.net/ecommerce/magento/delete-test-orders-in-magento/comment-page-3/#comment-26421</link>
		<dc:creator>Derrick</dc:creator>
		<pubDate>Wed, 15 Feb 2012 22:08:27 +0000</pubDate>
		<guid isPermaLink="false">http://inchoo.net/?p=250#comment-26421</guid>
		<description>Seems like the array_diff doesn&#039;t work in my case

If i use this in stead. It works. 

unset($salesEntitiesConf[20]);
unset($salesEntitiesConf[21]);
unset($salesEntitiesConf[22]);

It removes the three tables from the array</description>
		<content:encoded><![CDATA[<p>Seems like the array_diff doesn&#8217;t work in my case</p>
<p>If i use this in stead. It works. </p>
<p>unset($salesEntitiesConf[20]);<br />
unset($salesEntitiesConf[21]);<br />
unset($salesEntitiesConf[22]);</p>
<p>It removes the three tables from the array</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Derrick</title>
		<link>http://inchoo.net/ecommerce/magento/delete-test-orders-in-magento/comment-page-3/#comment-26420</link>
		<dc:creator>Derrick</dc:creator>
		<pubDate>Wed, 15 Feb 2012 21:55:48 +0000</pubDate>
		<guid isPermaLink="false">http://inchoo.net/?p=250#comment-26420</guid>
		<description>Hello,

When i use this script the SkipTables doesn&#039;t work and it delete my order statussen every time.

Anywone has a clue why?  

The only thing that comes in my mind is the table prefix i use.</description>
		<content:encoded><![CDATA[<p>Hello,</p>
<p>When i use this script the SkipTables doesn&#8217;t work and it delete my order statussen every time.</p>
<p>Anywone has a clue why?  </p>
<p>The only thing that comes in my mind is the table prefix i use.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Neo</title>
		<link>http://inchoo.net/ecommerce/magento/delete-test-orders-in-magento/comment-page-3/#comment-26191</link>
		<dc:creator>Neo</dc:creator>
		<pubDate>Thu, 09 Feb 2012 02:54:59 +0000</pubDate>
		<guid isPermaLink="false">http://inchoo.net/?p=250#comment-26191</guid>
		<description>Thank you. It helps me a lots.
I see some error when running the script but all orders are gone.</description>
		<content:encoded><![CDATA[<p>Thank you. It helps me a lots.<br />
I see some error when running the script but all orders are gone.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: jack</title>
		<link>http://inchoo.net/ecommerce/magento/delete-test-orders-in-magento/comment-page-3/#comment-26054</link>
		<dc:creator>jack</dc:creator>
		<pubDate>Sun, 05 Feb 2012 00:40:00 +0000</pubDate>
		<guid isPermaLink="false">http://inchoo.net/?p=250#comment-26054</guid>
		<description>thanks for the script, worked perfect in ver 1.6.0.0 - i installed and ran wee_deleteorders from magento connect but it still left details of orders on the sales/orders page / your script got rid of everything

cheers again, jack</description>
		<content:encoded><![CDATA[<p>thanks for the script, worked perfect in ver 1.6.0.0 &#8211; i installed and ran wee_deleteorders from magento connect but it still left details of orders on the sales/orders page / your script got rid of everything</p>
<p>cheers again, jack</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Michael</title>
		<link>http://inchoo.net/ecommerce/magento/delete-test-orders-in-magento/comment-page-2/#comment-25646</link>
		<dc:creator>Michael</dc:creator>
		<pubDate>Thu, 12 Jan 2012 17:57:00 +0000</pubDate>
		<guid isPermaLink="false">http://inchoo.net/?p=250#comment-25646</guid>
		<description>Great post and great script. This was tremendously helpful. The only action missing is starting the order/invoice numbers from 0 again. I did this through phpMyAdmin by running:
[code]TRUNCATE `eav_entity_store`;
ALTER TABLE  `eav_entity_store` AUTO_INCREMENT=1;[/code]
I hope this helps anyone having the same issue. Thanks again!</description>
		<content:encoded><![CDATA[<p>Great post and great script. This was tremendously helpful. The only action missing is starting the order/invoice numbers from 0 again. I did this through phpMyAdmin by running:</p>
<pre class="brush: plain; title: ; notranslate">TRUNCATE `eav_entity_store`;
ALTER TABLE  `eav_entity_store` AUTO_INCREMENT=1;</pre>
<p>I hope this helps anyone having the same issue. Thanks again!</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Michael</title>
		<link>http://inchoo.net/ecommerce/magento/delete-test-orders-in-magento/comment-page-2/#comment-25645</link>
		<dc:creator>Michael</dc:creator>
		<pubDate>Thu, 12 Jan 2012 17:55:59 +0000</pubDate>
		<guid isPermaLink="false">http://inchoo.net/?p=250#comment-25645</guid>
		<description>Great post and great script. This was tremendously helpful. The only thing I thing is missing would be a way to start the order/invoice numbers from 0 again. I did this through phpMyAdmin by running:
[code]TRUNCATE `eav_entity_store`;
ALTER TABLE  `eav_entity_store` AUTO_INCREMENT=1;[/code]
I hope this helps anyone having the same issue. Thanks again!</description>
		<content:encoded><![CDATA[<p>Great post and great script. This was tremendously helpful. The only thing I thing is missing would be a way to start the order/invoice numbers from 0 again. I did this through phpMyAdmin by running:</p>
<pre class="brush: plain; title: ; notranslate">TRUNCATE `eav_entity_store`;
ALTER TABLE  `eav_entity_store` AUTO_INCREMENT=1;</pre>
<p>I hope this helps anyone having the same issue. Thanks again!</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Thanks</title>
		<link>http://inchoo.net/ecommerce/magento/delete-test-orders-in-magento/comment-page-2/#comment-25456</link>
		<dc:creator>Thanks</dc:creator>
		<pubDate>Sun, 08 Jan 2012 02:00:29 +0000</pubDate>
		<guid isPermaLink="false">http://inchoo.net/?p=250#comment-25456</guid>
		<description>AMAZING! Great script worked!</description>
		<content:encoded><![CDATA[<p>AMAZING! Great script worked!</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Billy</title>
		<link>http://inchoo.net/ecommerce/magento/delete-test-orders-in-magento/comment-page-2/#comment-25163</link>
		<dc:creator>Billy</dc:creator>
		<pubDate>Sun, 01 Jan 2012 20:32:38 +0000</pubDate>
		<guid isPermaLink="false">http://inchoo.net/?p=250#comment-25163</guid>
		<description>Yup, these is a very helpful script.

There is also a query you can use directly to the MySQL database.

Take a look here

http://wabism.com/magento-clear-all-orders-and-customers/</description>
		<content:encoded><![CDATA[<p>Yup, these is a very helpful script.</p>
<p>There is also a query you can use directly to the MySQL database.</p>
<p>Take a look here</p>
<p><a href="http://wabism.com/magento-clear-all-orders-and-customers/" rel="nofollow">http://wabism.com/magento-clear-all-orders-and-customers/</a></p>
]]></content:encoded>
	</item>
	<item>
		<title>By: jeyam</title>
		<link>http://inchoo.net/ecommerce/magento/delete-test-orders-in-magento/comment-page-2/#comment-25008</link>
		<dc:creator>jeyam</dc:creator>
		<pubDate>Thu, 29 Dec 2011 13:21:25 +0000</pubDate>
		<guid isPermaLink="false">http://inchoo.net/?p=250#comment-25008</guid>
		<description>Worked for me.. thank youu :)</description>
		<content:encoded><![CDATA[<p>Worked for me.. thank youu <img src='http://inchoo.net/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /> </p>
]]></content:encoded>
	</item>
	<item>
		<title>By: James</title>
		<link>http://inchoo.net/ecommerce/magento/delete-test-orders-in-magento/comment-page-2/#comment-24515</link>
		<dc:creator>James</dc:creator>
		<pubDate>Tue, 20 Dec 2011 23:09:43 +0000</pubDate>
		<guid isPermaLink="false">http://inchoo.net/?p=250#comment-24515</guid>
		<description>What about the sales_tax_item table? I have received duplicate key errors if I don&#039;t remove all items from this table too.</description>
		<content:encoded><![CDATA[<p>What about the sales_tax_item table? I have received duplicate key errors if I don&#8217;t remove all items from this table too.</p>
]]></content:encoded>
	</item>
</channel>
</rss>

