<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:wfw="http://wellformedweb.org/CommentAPI/"
	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/"
	xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
	>

<channel>
	<title>Optimise Blog &#187; Magento</title>
	<atom:link href="http://optimiseblog.co.uk/category/magento-ecommerce/feed/" rel="self" type="application/rss+xml" />
	<link>http://optimiseblog.co.uk</link>
	<description>Technology, in plain English!</description>
	<lastBuildDate>Mon, 09 Jan 2012 19:08:34 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.3.1</generator>
		<item>
		<title>How to remove Recurring Profiles &amp; Billing Agreements links from customer account navigation menu in Magento</title>
		<link>http://optimiseblog.co.uk/remove-recurring-profiles-billing-agreements-magento/</link>
		<comments>http://optimiseblog.co.uk/remove-recurring-profiles-billing-agreements-magento/#comments</comments>
		<pubDate>Fri, 30 Sep 2011 15:12:09 +0000</pubDate>
		<dc:creator>Adrian @ Optimise</dc:creator>
				<category><![CDATA[Magento]]></category>

		<guid isPermaLink="false">http://optimiseblog.co.uk/?p=679</guid>
		<description><![CDATA[I spent quite a while trying to work out how to remove the Recurring Profile and Billing Agreements links from the Customer Account navigation menu in Magento. There are plenty of blog posts and Magento forum topics describing how to comment out or even delete the appropriate lines in the billing_agreement.xml or recurring_profile.xml files like [...]]]></description>
			<content:encoded><![CDATA[<p>I spent quite a while trying to work out how to remove the Recurring Profile and Billing Agreements links from the Customer Account navigation menu in Magento. There are plenty of blog posts and Magento forum topics describing how to comment out or even delete the appropriate lines in the billing_agreement.xml or recurring_profile.xml files like this&#8230;</p>
<pre class="brush: plain; title: ; notranslate">

&lt;!-- &lt;reference name=&quot;customer_account_navigation&quot; &gt;
 &lt;action method=&quot;addLink&quot; translate=&quot;label&quot;&gt;&lt;name&gt;recurring_profiles&lt;/name&gt;&lt;path&gt;sales/recurring_profile/&lt;/path&gt;&lt;label&gt;Recurring Profiles&lt;/label&gt;&lt;/action&gt;
 &lt;/reference&gt; --&gt;
</pre>
<p>However, like many other developers, here at <a title="Optimise Web" href="http://optimiseweb.co.uk">Optimise Web</a>, we use the <a title="Using local.xml for overriding or updating xml structure" href="http://inchoo.net/ecommerce/magento/using-local-xml-for-overriding-or-updating-xml-structure/">local.xml</a> method of configuring our layout. Therefore the above technique does not work. Neither does &lt;action=&#8221;unsetChild&#8221;&gt;.</p>
<p>After lots of digging, I eventually found the solution. Copy this file&#8230;</p>
<p>ROOT_DIRECTORY/design/frontend/base/default/template/customer/account/navigation.phtml</p>
<p>into your corresponding theme eg&#8230;</p>
<p>ROOT_DIRECTORY/design/frontend/default/YOUR_THEME/template/customer/account/</p>
<p>Look for the line&#8230;</p>
<pre class="brush: plain; title: ; notranslate">&lt;?php $_count = count($_links); ?&gt;</pre>
<p>Change it to the following and upload it to your server&#8230;</p>
<pre class="brush: plain; title: ; notranslate">&lt;?php $_count = count($_links); unset($_links[&quot;recurring_profiles&quot;]); unset($_links[&quot;billing_agreements&quot;]); ?&gt;</pre>
<p>And that&#8217;s it &#8211; job done. Simples!</p>
<p><span style="font-size: 0.9em;">Tested on Magento 1.5.1.0</span></p>
]]></content:encoded>
			<wfw:commentRss>http://optimiseblog.co.uk/remove-recurring-profiles-billing-agreements-magento/feed/</wfw:commentRss>
		<slash:comments>2</slash:comments>
		</item>
		<item>
		<title>Update – Magento 1.5.1.0 – Delete Test Orders &amp; Customers using SQL</title>
		<link>http://optimiseblog.co.uk/update-%e2%80%93-magento-1-5-1-0-%e2%80%93-delete-test-orders-customers-using-sql/</link>
		<comments>http://optimiseblog.co.uk/update-%e2%80%93-magento-1-5-1-0-%e2%80%93-delete-test-orders-customers-using-sql/#comments</comments>
		<pubDate>Fri, 23 Sep 2011 15:38:16 +0000</pubDate>
		<dc:creator>Sid Vel</dc:creator>
				<category><![CDATA[Magento]]></category>

		<guid isPermaLink="false">http://optimiseblog.co.uk/?p=674</guid>
		<description><![CDATA[As always, please backup your database and files before running raw SQL queries against your Magento database. I&#8217;ve tested this on a Magento CE 1.5.1.0 site today and it works. Source : http://www.magentocommerce.com/boards/viewthread/2960/P15/#t348791]]></description>
			<content:encoded><![CDATA[<p>As always, please backup your database and files before running raw SQL queries against your Magento database. I&#8217;ve tested this on a Magento CE 1.5.1.0 site today and it works.</p>
<pre class="brush: sql; title: ; notranslate">
-- here are the tables modified for 1.5.0.1

SET FOREIGN_KEY_CHECKS=0;

TRUNCATE `sales_flat_order`;
TRUNCATE `sales_flat_order_address`;
TRUNCATE `sales_flat_order_grid`;
TRUNCATE `sales_flat_order_item`;
TRUNCATE `sales_flat_order_status_history`;
TRUNCATE `sales_flat_quote`;
TRUNCATE `sales_flat_quote_address`;
TRUNCATE `sales_flat_quote_address_item`;
TRUNCATE `sales_flat_quote_item`;
TRUNCATE `sales_flat_quote_item_option`;
TRUNCATE `sales_flat_order_payment`;
TRUNCATE `sales_flat_quote_payment`;
TRUNCATE `sales_flat_shipment`;
TRUNCATE `sales_flat_shipment_item`;
TRUNCATE `sales_flat_shipment_grid`;
TRUNCATE `sales_flat_invoice`;
TRUNCATE `sales_flat_invoice_grid`;
TRUNCATE `sales_flat_invoice_item`;
TRUNCATE `sendfriend_log`;
TRUNCATE `tag`;
TRUNCATE `tag_relation`;
TRUNCATE `tag_summary`;
TRUNCATE `wishlist`;
TRUNCATE `log_quote`;
TRUNCATE `report_event`;

ALTER TABLE `sales_flat_order` AUTO_INCREMENT=1;
ALTER TABLE `sales_flat_order_address` AUTO_INCREMENT=1;
ALTER TABLE `sales_flat_order_grid` AUTO_INCREMENT=1;
ALTER TABLE `sales_flat_order_item` AUTO_INCREMENT=1;
ALTER TABLE `sales_flat_order_status_history` AUTO_INCREMENT=1;
ALTER TABLE `sales_flat_quote` AUTO_INCREMENT=1;
ALTER TABLE `sales_flat_quote_address` AUTO_INCREMENT=1;
ALTER TABLE `sales_flat_quote_address_item` AUTO_INCREMENT=1;
ALTER TABLE `sales_flat_quote_item` AUTO_INCREMENT=1;
ALTER TABLE `sales_flat_quote_item_option` AUTO_INCREMENT=1;
ALTER TABLE `sendfriend_log` AUTO_INCREMENT=1;
ALTER TABLE `sales_flat_order_payment` AUTO_INCREMENT=1;
ALTER TABLE `sales_flat_quote_payment` AUTO_INCREMENT=1;
ALTER TABLE `sales_flat_shipment` AUTO_INCREMENT=1;
ALTER TABLE `sales_flat_shipment_item` AUTO_INCREMENT=1;
ALTER TABLE `sales_flat_invoice` AUTO_INCREMENT=1;
ALTER TABLE `sales_flat_invoice_grid` AUTO_INCREMENT=1;
ALTER TABLE `sales_flat_invoice_item` AUTO_INCREMENT=1;
ALTER TABLE `sales_flat_shipment_grid` AUTO_INCREMENT=1;
ALTER TABLE `tag` AUTO_INCREMENT=1;
ALTER TABLE `tag_relation` AUTO_INCREMENT=1;
ALTER TABLE `tag_summary` AUTO_INCREMENT=1;
ALTER TABLE `wishlist` AUTO_INCREMENT=1;
ALTER TABLE `log_quote` AUTO_INCREMENT=1;
ALTER TABLE `report_event` AUTO_INCREMENT=1;

-- credit invoices
TRUNCATE `sales_flat_creditmemo`;
TRUNCATE `sales_flat_creditmemo_comment`;
TRUNCATE `sales_flat_creditmemo_grid`;
TRUNCATE `sales_flat_creditmemo_item`;

ALTER TABLE `sales_flat_creditmemo` AUTO_INCREMENT=1;
ALTER TABLE `sales_flat_creditmemo_comment` AUTO_INCREMENT=1;
ALTER TABLE `sales_flat_creditmemo_grid` AUTO_INCREMENT=1;
ALTER TABLE `sales_flat_creditmemo_item` AUTO_INCREMENT=1;

-- lets reset customers
TRUNCATE `customer_address_entity`;
TRUNCATE `customer_address_entity_datetime`;
TRUNCATE `customer_address_entity_decimal`;
TRUNCATE `customer_address_entity_int`;
TRUNCATE `customer_address_entity_text`;
TRUNCATE `customer_address_entity_varchar`;
TRUNCATE `customer_entity`;
TRUNCATE `customer_entity_datetime`;
TRUNCATE `customer_entity_decimal`;
TRUNCATE `customer_entity_int`;
TRUNCATE `customer_entity_text`;
TRUNCATE `customer_entity_varchar`;
TRUNCATE `log_customer`;
TRUNCATE `log_visitor`;
TRUNCATE `log_visitor_info`;

ALTER TABLE `customer_address_entity` AUTO_INCREMENT=1;
ALTER TABLE `customer_address_entity_datetime` AUTO_INCREMENT=1;
ALTER TABLE `customer_address_entity_decimal` AUTO_INCREMENT=1;
ALTER TABLE `customer_address_entity_int` AUTO_INCREMENT=1;
ALTER TABLE `customer_address_entity_text` AUTO_INCREMENT=1;
ALTER TABLE `customer_address_entity_varchar` AUTO_INCREMENT=1;
ALTER TABLE `customer_entity` AUTO_INCREMENT=1;
ALTER TABLE `customer_entity_datetime` AUTO_INCREMENT=1;
ALTER TABLE `customer_entity_decimal` AUTO_INCREMENT=1;
ALTER TABLE `customer_entity_int` AUTO_INCREMENT=1;
ALTER TABLE `customer_entity_text` AUTO_INCREMENT=1;
ALTER TABLE `customer_entity_varchar` AUTO_INCREMENT=1;
ALTER TABLE `log_customer` AUTO_INCREMENT=1;
ALTER TABLE `log_visitor` AUTO_INCREMENT=1;
ALTER TABLE `log_visitor_info` AUTO_INCREMENT=1;

-- Now, lets Reset all ID counters
TRUNCATE `eav_entity_store`;
ALTER TABLE `eav_entity_store` AUTO_INCREMENT=1;

SET FOREIGN_KEY_CHECKS=1;
</pre>
<p>Source : http://www.magentocommerce.com/boards/viewthread/2960/P15/#t348791</p>
]]></content:encoded>
			<wfw:commentRss>http://optimiseblog.co.uk/update-%e2%80%93-magento-1-5-1-0-%e2%80%93-delete-test-orders-customers-using-sql/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Magento &#8211; Newsletter Subscribe Form in Footer or Header</title>
		<link>http://optimiseblog.co.uk/magento-newsletter-subscribe-form-in-footer-or-header/</link>
		<comments>http://optimiseblog.co.uk/magento-newsletter-subscribe-form-in-footer-or-header/#comments</comments>
		<pubDate>Wed, 03 Aug 2011 15:24:21 +0000</pubDate>
		<dc:creator>Adrian @ Optimise</dc:creator>
				<category><![CDATA[Magento]]></category>

		<guid isPermaLink="false">http://optimiseblog.co.uk/?p=665</guid>
		<description><![CDATA[It used to be the case that to move your Newsletter Subcribe form, or other Magento blocks, from their original position in your Magento template you would need to go and find the relevant lines in the layout XML files and modify them to show in a new postition. This however was a tedious process; [...]]]></description>
			<content:encoded><![CDATA[<p>It used to be the case that to move your Newsletter Subcribe form, or other Magento blocks, from their original position in your Magento template you would need to go and find the relevant lines in the layout XML files and modify them to show in a new postition. This however was a tedious process; especially when it came to precise positioning on your page.</p>
<p>Now you can create a block on the fly and position it precisely in your template files with one line of code. So here it is&#8230;</p>
<pre class="brush: php; title: ; notranslate">

&lt;?php echo $this-&gt;getLayout()-&gt;createBlock('newsletter/subscribe')-&gt;setTemplate('newsletter/subscribe.phtml')-&gt;toHtml(); ?&gt;
</pre>
<p>This code can be used for other types of block. Say you had a template file which would call a list of products from the catalogue, you would use <strong>createBlock(&#8216;catalog/product_list&#8217;)</strong></p>
]]></content:encoded>
			<wfw:commentRss>http://optimiseblog.co.uk/magento-newsletter-subscribe-form-in-footer-or-header/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Add a link to the product on the admin order page</title>
		<link>http://optimiseblog.co.uk/add-a-link-to-the-product-on-the-admin-order-page/</link>
		<comments>http://optimiseblog.co.uk/add-a-link-to-the-product-on-the-admin-order-page/#comments</comments>
		<pubDate>Mon, 01 Aug 2011 16:26:38 +0000</pubDate>
		<dc:creator>billy</dc:creator>
				<category><![CDATA[Magento]]></category>

		<guid isPermaLink="false">http://optimiseblog.co.uk/?p=660</guid>
		<description><![CDATA[We recently had a client who asked to have a link added to the magento admin order page so they could easily see what the product was. It requires a core hack so isn&#8217;t recommended. If you want to go ahead here&#8217;s the code: Open app/design/adminhtml/default/default/template/sales/order/view/items/renderer/default.phtml at look and at ~ line 68 until you [...]]]></description>
			<content:encoded><![CDATA[<p>We recently had a client who asked to have a link added to the magento admin order page so they could easily see what the product was. It requires a core hack so isn&#8217;t recommended. If you want to go ahead here&#8217;s the code:</p>
<p>Open app/design/adminhtml/default/default/template/sales/order/view/items/renderer/default.phtml at look and at ~ line 68 until you find</p>
<pre class="brush: php; title: ; notranslate">
&lt;?php echo $this-&gt;getColumnHtml($_item, 'name') ?&gt;
</pre>
<p>Replace with:</p>
<pre class="brush: php; title: ; notranslate">
&lt;?php $_pullProduct = Mage::getModel('catalog/product')-&gt;loadByAttribute('sku', $_item-&gt;getData('sku')); ?&gt;
&lt;a target=&quot;_blank&quot; rel=&quot;external&quot; href=&quot;&lt;?php echo Mage::getUrl() . $_pullProduct-&gt;getData('url_path'); ?&gt;&quot;&gt;&lt;?php echo $this-&gt;getColumnHtml($_item, 'name') ?&gt;&lt;/a&gt;
</pre>
<p>And save. You should now a link to the product in the admin order page.</p>
]]></content:encoded>
			<wfw:commentRss>http://optimiseblog.co.uk/add-a-link-to-the-product-on-the-admin-order-page/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Fix: Magento Catalog Search Broken / Not Working</title>
		<link>http://optimiseblog.co.uk/magento-catalog-search-broken-not-working/</link>
		<comments>http://optimiseblog.co.uk/magento-catalog-search-broken-not-working/#comments</comments>
		<pubDate>Mon, 27 Jun 2011 09:53:19 +0000</pubDate>
		<dc:creator>Sid Vel</dc:creator>
				<category><![CDATA[Magento]]></category>

		<guid isPermaLink="false">http://optimiseblog.co.uk/?p=652</guid>
		<description><![CDATA[We recently updated a Magento install from 1.3.2.4 to 1.5.1.0. Everything worked fine, expect the search function. Whatever we searched for, the site returned just one result. This seems to be a problem with upgrades and even some fresh installs of Magneto 1.4.1.1, 1.4.2, 1.5.1.0, etc. The following is the fix. This will require fixing [...]]]></description>
			<content:encoded><![CDATA[<p>We recently updated a Magento install from 1.3.2.4 to 1.5.1.0. Everything worked fine, expect the search function. Whatever we searched for, the site returned just one result. This seems to be a problem with upgrades and even some fresh installs of Magneto 1.4.1.1, 1.4.2, 1.5.1.0, etc. The following is the fix. This will require fixing the core files. Hopefully the Magento team will address the issue in the next update.</p>
<p>Edit app/code/core/Mage/CatalogSearch/Block/Result.php</p>
<p>Uncomment lines 149 and 150</p>
<pre class="brush: php; title: ; notranslate">
$this-&gt;getListBlock()
-&gt;setCollection($this-&gt;_getProductCollection());
</pre>
<p>Modify the line 172</p>
<pre class="brush: php; title: ; notranslate">
// Change this line
$this-&gt;_productCollection = $this-&gt;getListBlock()-&gt;getLoadedProductCollection();
</pre>
<p>to the old code from Version 1.4.1.1</p>
<pre class="brush: php; title: ; notranslate">
// Change the previous line to this one
$this-&gt;_productCollection = Mage::getSingleton('catalogsearch/layer')-&gt;getProductCollection();
</pre>
<p>Once the code is fixed, go to the Admin panel (System > Index Management) and select all the Indexes > Pick action is &#8220;Reindex data&#8221; > Press &#8220;Submit&#8221;.</p>
<p>The search should work now.</p>
<p><a href="http://www.magentocommerce.com/boards/viewthread/178347/P30/" rel="external nofollow" title="Magento eCommerce Forum">Source</a></p>
]]></content:encoded>
			<wfw:commentRss>http://optimiseblog.co.uk/magento-catalog-search-broken-not-working/feed/</wfw:commentRss>
		<slash:comments>9</slash:comments>
		</item>
		<item>
		<title>Magento Upgrade from 1.4.X.X to 1.5.X.X via SSH</title>
		<link>http://optimiseblog.co.uk/magento-upgrade-from-1-4-x-x-to-1-5-x-x-via-ssh/</link>
		<comments>http://optimiseblog.co.uk/magento-upgrade-from-1-4-x-x-to-1-5-x-x-via-ssh/#comments</comments>
		<pubDate>Wed, 25 May 2011 11:51:03 +0000</pubDate>
		<dc:creator>Sid Vel</dc:creator>
				<category><![CDATA[Magento]]></category>

		<guid isPermaLink="false">http://optimiseblog.co.uk/?p=631</guid>
		<description><![CDATA[Since Magento 1.5.0.0 the SSH upgrade command has been changed to ./mage instead of ./pear. If you have used ./pear upgrade-all in the past, you will now have to use the ./mage version. I was upgrading from Magento 1.4.2.1 to Magento 1.5.1.0. I&#8217;m using the Community Edition. For ./mage to work you need to CHMOD [...]]]></description>
			<content:encoded><![CDATA[<p>Since Magento 1.5.0.0 the SSH upgrade command has been changed to ./mage instead of ./pear. If you have used ./pear upgrade-all in the past, you will now have to use the ./mage version. I was upgrading from Magento 1.4.2.1 to Magento 1.5.1.0. I&#8217;m using the Community Edition.</p>
<p>For ./mage to work you need to CHMOD it to have sufficient permissions. Then you need to add the newer 1.5 version of Magento pear channels. The following worked for me on the Magento 1.4.2.1 install. As always please do not try this on a production site. Create a staging version of your Magento store before you try upgrading. Also, remember to backup your database. One more thing: please remember to point local.xml to the new database and not the production one. :)</p>
<pre class="brush: plain; title: ; notranslate">
./mage channel-add connect20.magentocommerce.com/community
./mage channel-add connect20.magentocommerce.com/core
./mage sync
./mage upgrade-all --force
</pre>
]]></content:encoded>
			<wfw:commentRss>http://optimiseblog.co.uk/magento-upgrade-from-1-4-x-x-to-1-5-x-x-via-ssh/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>Magento Delete All &#8216;Url Rewrite Management&#8217; URLs in the Database</title>
		<link>http://optimiseblog.co.uk/magento-delete-all-url-rewrite-management-urls-in-the-database/</link>
		<comments>http://optimiseblog.co.uk/magento-delete-all-url-rewrite-management-urls-in-the-database/#comments</comments>
		<pubDate>Mon, 04 Apr 2011 11:08:43 +0000</pubDate>
		<dc:creator>Sid Vel</dc:creator>
				<category><![CDATA[Magento]]></category>

		<guid isPermaLink="false">http://optimiseblog.co.uk/?p=601</guid>
		<description><![CDATA[To delete all the URL rewrites from the Magento admin backend, you can do the following: Using your favourite database browser, connect to your Magento database Go to the table named &#8216;core_url_rewrite&#8217; Empty this table Log back in to the Magento backend and reindex all This action will clear out all manually and system created [...]]]></description>
			<content:encoded><![CDATA[<p>To delete all the URL rewrites from the Magento admin backend, you can do the following:</p>
<ol>
<li>Using your favourite database browser, connect to your Magento database</li>
<li>Go to the table named &#8216;core_url_rewrite&#8217;</li>
<li>Empty this table</li>
<li>Log back in to the Magento backend and reindex all</li>
</ol>
<p>This action will clear out all manually and system created rewrites and recreate only the needed ones (e.g. current products and categories)</p>
]]></content:encoded>
			<wfw:commentRss>http://optimiseblog.co.uk/magento-delete-all-url-rewrite-management-urls-in-the-database/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Update &#8211; Magento 1.4.1.1 &#8211; Delete Test Orders &amp; Customers using SQL</title>
		<link>http://optimiseblog.co.uk/update-magento-1-4-1-1-delete-test-orders-customers-using-sql/</link>
		<comments>http://optimiseblog.co.uk/update-magento-1-4-1-1-delete-test-orders-customers-using-sql/#comments</comments>
		<pubDate>Thu, 10 Mar 2011 16:12:32 +0000</pubDate>
		<dc:creator>Sid Vel</dc:creator>
				<category><![CDATA[Magento]]></category>

		<guid isPermaLink="false">http://optimiseblog.co.uk/?p=553</guid>
		<description><![CDATA[When moving a Magento development site to live or cleaning up dummy orders and customers, you might want to wipe out all test customers and orders from the Magento database / backend. The following SQL queries can be run on the database. Be careful: make a backup of the database before doing this. I&#8217;ve run [...]]]></description>
			<content:encoded><![CDATA[<p>When moving a Magento development site to live or cleaning up dummy orders and customers, you might want to wipe out all test customers and orders from the Magento database / backend. The following SQL queries can be run on the database. Be careful: make a backup of the database before doing this. I&#8217;ve run this code over and over again, without any trouble, but still, just be careful.</p>
<pre class="brush: sql; title: ; notranslate">
SET FOREIGN_KEY_CHECKS=0;

– reset dashboard search queries
TRUNCATE `catalogsearch_query`;
ALTER TABLE `catalogsearch_query` AUTO_INCREMENT=1;

– reset sales order info
TRUNCATE `sales_flat_creditmemo`;
TRUNCATE `sales_flat_creditmemo_comment`;
TRUNCATE `sales_flat_creditmemo_grid`;
TRUNCATE `sales_flat_creditmemo_item`;
TRUNCATE `sales_flat_invoice`;
TRUNCATE `sales_flat_invoice_comment`;
TRUNCATE `sales_flat_invoice_grid`;
TRUNCATE `sales_flat_invoice_item`;
TRUNCATE `sales_flat_order`;
TRUNCATE `sales_flat_order_address`;
TRUNCATE `sales_flat_order_grid`;
TRUNCATE `sales_flat_order_item`;
TRUNCATE `sales_flat_order_payment`;
TRUNCATE `sales_flat_order_status_history`;
TRUNCATE `sales_flat_quote`;
TRUNCATE `sales_flat_quote_address`;
TRUNCATE `sales_flat_quote_address_item`;
TRUNCATE `sales_flat_quote_item`;
TRUNCATE `sales_flat_quote_item_option`;
TRUNCATE `sales_flat_quote_payment`;
TRUNCATE `sales_flat_quote_shipping_rate`;
TRUNCATE `sales_flat_shipment`;
TRUNCATE `sales_flat_shipment_comment`;
TRUNCATE `sales_flat_shipment_grid`;
TRUNCATE `sales_flat_shipment_item`;
TRUNCATE `sales_flat_shipment_track`;
TRUNCATE `sales_invoiced_aggregated`;
TRUNCATE `sales_invoiced_aggregated_order`;
TRUNCATE `sales_order_aggregated_created`;
TRUNCATE `sendfriend_log`;
TRUNCATE `tag`;
TRUNCATE `tag_relation`;
TRUNCATE `tag_summary`;
TRUNCATE `wishlist`;
TRUNCATE `log_quote`;
TRUNCATE `report_event`;
ALTER TABLE `sales_flat_creditmemo` AUTO_INCREMENT=1;
ALTER TABLE `sales_flat_creditmemo_comment` AUTO_INCREMENT=1;
ALTER TABLE `sales_flat_creditmemo_grid` AUTO_INCREMENT=1;
ALTER TABLE `sales_flat_creditmemo_item` AUTO_INCREMENT=1;
ALTER TABLE `sales_flat_invoice` AUTO_INCREMENT=1;
ALTER TABLE `sales_flat_invoice_comment` AUTO_INCREMENT=1;
ALTER TABLE `sales_flat_invoice_grid` AUTO_INCREMENT=1;
ALTER TABLE `sales_flat_invoice_item` AUTO_INCREMENT=1;
ALTER TABLE `sales_flat_order` AUTO_INCREMENT=1;
ALTER TABLE `sales_flat_order_address` AUTO_INCREMENT=1;
ALTER TABLE `sales_flat_order_grid` AUTO_INCREMENT=1;
ALTER TABLE `sales_flat_order_item` AUTO_INCREMENT=1;
ALTER TABLE `sales_flat_order_payment` AUTO_INCREMENT=1;
ALTER TABLE `sales_flat_order_status_history` AUTO_INCREMENT=1;
ALTER TABLE `sales_flat_quote` AUTO_INCREMENT=1;
ALTER TABLE `sales_flat_quote_address` AUTO_INCREMENT=1;
ALTER TABLE `sales_flat_quote_address_item` AUTO_INCREMENT=1;
ALTER TABLE `sales_flat_quote_item` AUTO_INCREMENT=1;
ALTER TABLE `sales_flat_quote_item_option` AUTO_INCREMENT=1;
ALTER TABLE `sales_flat_quote_payment` AUTO_INCREMENT=1;
ALTER TABLE `sales_flat_quote_shipping_rate` AUTO_INCREMENT=1;
ALTER TABLE `sales_flat_shipment` AUTO_INCREMENT=1;
ALTER TABLE `sales_flat_shipment_comment` AUTO_INCREMENT=1;
ALTER TABLE `sales_flat_shipment_grid` AUTO_INCREMENT=1;
ALTER TABLE `sales_flat_shipment_item` AUTO_INCREMENT=1;
ALTER TABLE `sales_flat_shipment_track` AUTO_INCREMENT=1;
ALTER TABLE `sales_invoiced_aggregated` AUTO_INCREMENT=1;
ALTER TABLE `sales_invoiced_aggregated_order` AUTO_INCREMENT=1;
ALTER TABLE `sales_order_aggregated_created` AUTO_INCREMENT=1;
ALTER TABLE `sendfriend_log` AUTO_INCREMENT=1;
ALTER TABLE `tag` AUTO_INCREMENT=1;
ALTER TABLE `tag_relation` AUTO_INCREMENT=1;
ALTER TABLE `tag_summary` AUTO_INCREMENT=1;
ALTER TABLE `wishlist` AUTO_INCREMENT=1;
ALTER TABLE `log_quote` AUTO_INCREMENT=1;
ALTER TABLE `report_event` AUTO_INCREMENT=1;

  -- lets Magento reset customers
  TRUNCATE `customer_address_entity`;
  TRUNCATE `customer_address_entity_datetime`;
  TRUNCATE `customer_address_entity_decimal`;
  TRUNCATE `customer_address_entity_int`;
  TRUNCATE `customer_address_entity_text`;
  TRUNCATE `customer_address_entity_varchar`;
  TRUNCATE `customer_entity`;
  TRUNCATE `customer_entity_datetime`;
  TRUNCATE `customer_entity_decimal`;
  TRUNCATE `customer_entity_int`;
  TRUNCATE `customer_entity_text`;
  TRUNCATE `customer_entity_varchar`;
  TRUNCATE `log_customer`;
  TRUNCATE `log_visitor`;
  TRUNCATE `log_visitor_info`;

  ALTER TABLE `customer_address_entity` AUTO_INCREMENT=1;
  ALTER TABLE `customer_address_entity_datetime` AUTO_INCREMENT=1;
  ALTER TABLE `customer_address_entity_decimal` AUTO_INCREMENT=1;
  ALTER TABLE `customer_address_entity_int` AUTO_INCREMENT=1;
  ALTER TABLE `customer_address_entity_text` AUTO_INCREMENT=1;
  ALTER TABLE `customer_address_entity_varchar` AUTO_INCREMENT=1;
  ALTER TABLE `customer_entity` AUTO_INCREMENT=1;
  ALTER TABLE `customer_entity_datetime` AUTO_INCREMENT=1;
  ALTER TABLE `customer_entity_decimal` AUTO_INCREMENT=1;
  ALTER TABLE `customer_entity_int` AUTO_INCREMENT=1;
  ALTER TABLE `customer_entity_text` AUTO_INCREMENT=1;
  ALTER TABLE `customer_entity_varchar` AUTO_INCREMENT=1;
  ALTER TABLE `log_customer` AUTO_INCREMENT=1;
  ALTER TABLE `log_visitor` AUTO_INCREMENT=1;
  ALTER TABLE `log_visitor_info` AUTO_INCREMENT=1;

  -- lets Reset all ID counters
  TRUNCATE `eav_entity_store`;
  ALTER TABLE  `eav_entity_store` AUTO_INCREMENT=1;

  SET FOREIGN_KEY_CHECKS=1;
</pre>
<p><em>Source: <a rel="external nofollow" href="http://inchoo.net/ecommerce/magento/delete-test-orders-in-magento/">Inchoo</a></em></p>
<p>I&#8217;ve tested this query on the latest version of Magento 1.4.1.1.</p>
]]></content:encoded>
			<wfw:commentRss>http://optimiseblog.co.uk/update-magento-1-4-1-1-delete-test-orders-customers-using-sql/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Stunning Product Images for eCommerce Websites</title>
		<link>http://optimiseblog.co.uk/stunning-product-images-for-ecommerce-websites/</link>
		<comments>http://optimiseblog.co.uk/stunning-product-images-for-ecommerce-websites/#comments</comments>
		<pubDate>Thu, 06 Jan 2011 15:15:47 +0000</pubDate>
		<dc:creator>Sid Vel</dc:creator>
				<category><![CDATA[Magento]]></category>
		<category><![CDATA[Optimise News]]></category>

		<guid isPermaLink="false">http://optimiseblog.co.uk/?p=529</guid>
		<description><![CDATA[To persuade your consumers to buy your products over the internet is not an easy task. The consumer is on their own, without help from your sales staff, trying to make a buying choice. Product imagery plays a crucial role in eCommerce. When a consumer buys a product, without touching and feeling it, detailed product [...]]]></description>
			<content:encoded><![CDATA[<p>To persuade your consumers to buy your products over the internet is not an easy task. The consumer is on their own, without help from your sales staff, trying to make a buying choice. Product imagery plays a crucial role in eCommerce. When a consumer buys a product, without touching and feeling it, detailed product photographs become the key to selling.</p>
<p>When it comes to product images, business owners find it difficult to decide on image quality, resolutions, dimensions, file size, format, etc. The following are the ideal settings that you should use while saving images for your eCommere website. JPEG is the best file format for photographic imagery. The width and height are given as indicators only. If the image is of a portrait format, the width and height settings will have to swap. The maximum file size of 200kb is good for the main product image. This will ensure fast page loading speeds. Most images at the following settings will not reach 200kb, but if they do, try and compress the quality a bit further.</p>
<p><img class="aligncenter size-full wp-image-532" title="Ideal Product Image Settings for eCommerce" src="http://optimiseblog.co.uk/wp-content/uploads/2011/01/Product-Image-Sizing.png" alt="Ideal Product Image Settings for eCommerce" width="550" height="150" /></p>
<p>If you have many images to be resized and wish to save time, you can download and follow the <a title="Optimise Guide to Batch Resizing Images" href="http://optimiseblog.co.uk/wp-content/uploads/2011/01/Resizing-Images-for-Web.pdf" target="_blank">Optimise Guide to Batch Resizing Images</a>.</p>
]]></content:encoded>
			<wfw:commentRss>http://optimiseblog.co.uk/stunning-product-images-for-ecommerce-websites/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Magento Tax Rates &#8211; Import / Export</title>
		<link>http://optimiseblog.co.uk/magento-tax-rates-import-export-how-to/</link>
		<comments>http://optimiseblog.co.uk/magento-tax-rates-import-export-how-to/#comments</comments>
		<pubDate>Thu, 06 Jan 2011 09:27:27 +0000</pubDate>
		<dc:creator>Sid Vel</dc:creator>
				<category><![CDATA[Magento]]></category>

		<guid isPermaLink="false">http://optimiseblog.co.uk/?p=523</guid>
		<description><![CDATA[With the UK VAT rate going up to 20% from 17.5%, many Magento users might be wanting to know how to change the tax rates in the backend of Magento. If you cater to many countries and wish to mass edit the tax rates, using the Import/Export feature is the best option. The following image [...]]]></description>
			<content:encoded><![CDATA[<p>With the UK VAT rate going up to 20% from 17.5%, many Magento users might be wanting to know how to change the tax rates in the backend of Magento. If you cater to many countries and wish to mass edit the tax rates, using the Import/Export feature is the best option. The following image will show how to go about doing it.</p>
<p><img class="aligncenter size-full wp-image-524" title="Magento Tax Rates - Import / Export" src="http://optimiseblog.co.uk/wp-content/uploads/2011/01/magento-tax-rate-import-export.png" alt="Magento Tax Rates - Import / Export" width="550" height="660" /></p>
<p>Using the <strong>Export</strong> button, you can export all your tax rates to a CSV file. Open the CSV file, change the rates and save it. Go back to the Magento backend and import the new CSV file. Simples!</p>
]]></content:encoded>
			<wfw:commentRss>http://optimiseblog.co.uk/magento-tax-rates-import-export-how-to/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>

