<?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/"
	xmlns:georss="http://www.georss.org/georss" xmlns:geo="http://www.w3.org/2003/01/geo/wgs84_pos#" xmlns:media="http://search.yahoo.com/mrss/"
	>

<channel>
	<title>Shamim Ahmed</title>
	<atom:link href="http://shamimcse05.wordpress.com/feed/" rel="self" type="application/rss+xml" />
	<link>http://shamimcse05.wordpress.com</link>
	<description>PHP MYSQL Developer</description>
	<lastBuildDate>Tue, 24 Jan 2012 21:15:41 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.com/</generator>
<cloud domain='shamimcse05.wordpress.com' port='80' path='/?rsscloud=notify' registerProcedure='' protocol='http-post' />
<image>
		<url>http://s2.wp.com/i/buttonw-com.png</url>
		<title>Shamim Ahmed</title>
		<link>http://shamimcse05.wordpress.com</link>
	</image>
	<atom:link rel="search" type="application/opensearchdescription+xml" href="http://shamimcse05.wordpress.com/osd.xml" title="Shamim Ahmed" />
	<atom:link rel='hub' href='http://shamimcse05.wordpress.com/?pushpress=hub'/>
		<item>
		<title>Serching Product by Attribute from Product page.</title>
		<link>http://shamimcse05.wordpress.com/2012/01/18/serching-product-by-attribute-from-product-page/</link>
		<comments>http://shamimcse05.wordpress.com/2012/01/18/serching-product-by-attribute-from-product-page/#comments</comments>
		<pubDate>Wed, 18 Jan 2012 22:35:00 +0000</pubDate>
		<dc:creator>Shamim Ahmed</dc:creator>
				<category><![CDATA[Magento]]></category>
		<category><![CDATA[Magento Attribute]]></category>
		<category><![CDATA[Magento Product search by attribute]]></category>
		<category><![CDATA[Searching Product by attribute]]></category>

		<guid isPermaLink="false">http://shamimcse05.wordpress.com/?p=395</guid>
		<description><![CDATA[Sometimes people to want to  display product attribute in product page. then they want to link this attribute. if someone click on that link then all product of that attribute will display as a search result. for example a movie disc selling site. or a book shop. has many artist list or actor list.  then <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=shamimcse05.wordpress.com&amp;blog=1530494&amp;post=395&amp;subd=shamimcse05&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p>Sometimes people to want to  display product attribute in product page. then they want to link this attribute. if someone click on that link then all product of that attribute will display as a search result. for example a movie disc selling site. or a book shop. has many artist list or actor list.  then you can easily filter them by attribute artist and actor. and this code will help you.</p>
<p><pre class="brush: php;">

&lt;?php
$catingArtist = $_product-&gt;getArtist();

?&gt;
&lt;?php if(!empty($catingArtist)) {
$catingArtistArr = explode(',',$catingArtist);
$tagUrl = $this-&gt;getUrl('catalogsearch/advanced/result');
$tagUrl .='?artist=';
?&gt;

&lt;?php if(count($catingArtistArr)&gt;0) : ?&gt;
&lt;span style=&quot;padding:0px 2px 0px 2px;&quot;&gt;&lt;?php  echo $this-&gt;__('Cast:-') ?&gt;&lt;/span&gt;
&lt;?php foreach($catingArtistArr as $val) : ?&gt;
&lt;a href=&quot;&lt;?php echo $tagUrl.$val?&gt;&quot; title=&quot;&lt;?php echo $val; ?&gt;&quot; name=&quot;&lt;?php echo $val; ?&gt;&quot; style=&quot;padding:0px 3px 0px 3px;&quot;&gt;&lt;?php echo $val; ?&gt; &lt;/a&gt;
&lt;p title=&quot;&lt;?php echo $val; ?&gt;&quot; name=&quot;&lt;?php echo $val; ?&gt;&quot; style=&quot;padding:0px 3px 0px 3px;&quot;&gt;&lt;?php echo $val; ?&gt; &lt;/p&gt;&lt;span style=&quot;padding:0px 2px 0px 2px;&quot;&gt;&lt;?php echo $this-&gt;__('(Actor)') ?&gt;&lt;/span&gt;
&lt;?php endforeach; ?&gt;
&lt;?php endif; ?&gt;

&lt;?php } ?&gt;

</pre></p>
<br />Filed under: <a href='http://shamimcse05.wordpress.com/category/magento/'>Magento</a> Tagged: <a href='http://shamimcse05.wordpress.com/tag/magento-attribute/'>Magento Attribute</a>, <a href='http://shamimcse05.wordpress.com/tag/magento-product-search-by-attribute/'>Magento Product search by attribute</a>, <a href='http://shamimcse05.wordpress.com/tag/searching-product-by-attribute/'>Searching Product by attribute</a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/shamimcse05.wordpress.com/395/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/shamimcse05.wordpress.com/395/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/shamimcse05.wordpress.com/395/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/shamimcse05.wordpress.com/395/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/shamimcse05.wordpress.com/395/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/shamimcse05.wordpress.com/395/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/shamimcse05.wordpress.com/395/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/shamimcse05.wordpress.com/395/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/shamimcse05.wordpress.com/395/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/shamimcse05.wordpress.com/395/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/shamimcse05.wordpress.com/395/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/shamimcse05.wordpress.com/395/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/shamimcse05.wordpress.com/395/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/shamimcse05.wordpress.com/395/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=shamimcse05.wordpress.com&amp;blog=1530494&amp;post=395&amp;subd=shamimcse05&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://shamimcse05.wordpress.com/2012/01/18/serching-product-by-attribute-from-product-page/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://1.gravatar.com/avatar/72dafd5a104613143b6a82ec27259ee0?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">shamim</media:title>
		</media:content>
	</item>
		<item>
		<title>How to solve Product Flat Data and Category Products (Indexed category/products association) reindex issue</title>
		<link>http://shamimcse05.wordpress.com/2011/12/12/how-to-solve-product-flat-data-and-category-products-indexed-categoryproducts-association-reindex-issue/</link>
		<comments>http://shamimcse05.wordpress.com/2011/12/12/how-to-solve-product-flat-data-and-category-products-indexed-categoryproducts-association-reindex-issue/#comments</comments>
		<pubDate>Mon, 12 Dec 2011 01:51:25 +0000</pubDate>
		<dc:creator>Shamim Ahmed</dc:creator>
				<category><![CDATA[Magento]]></category>
		<category><![CDATA[flat product reindex]]></category>
		<category><![CDATA[Reindexing not working]]></category>

		<guid isPermaLink="false">http://shamimcse05.wordpress.com/?p=389</guid>
		<description><![CDATA[Hello Getting to this point ultimately lead to the resolution. Below is the process we used to solve the reindexing issue for Product Flat Data: 1) Export all catalog_product_flat _* tables with data and structure with “Disable foreign key checks” enabled. 2) Drop all catalog_product_flat _* tables. 3) Once check in Frontend , that products <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=shamimcse05.wordpress.com&amp;blog=1530494&amp;post=389&amp;subd=shamimcse05&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p>Hello</p>
<p>Getting to this point ultimately lead to the resolution. Below is the process we used to solve the reindexing issue for <strong>Product Flat Data</strong>:</p>
<p>1) Export all catalog_product_flat _* tables with data and structure with “Disable foreign key checks” enabled.<br />
2) Drop all catalog_product_flat _* tables.<br />
3) Once check in Frontend , that products are categories are visible<br />
4) Login to Magento backend<br />
5) Go to: System -&gt; Index Management<br />
6) Click “Reindex Data” next to “Product Flat Data” index</p>
<p>Below is the process we used to solve the reindexing issue for <strong>Category Products (Indexed category/products association)</strong>:</p>
<p>1) Log into phpMyAdmin<br />
2) Go to `catalog_category_product_index`<br />
3) Click “Export”.<br />
4) Export only structure with “Disable foreign key checks” enabled.<br />
5) Drop the table `catalog_category_product_index`<br />
6) With the SQL that was exported, remove the constraints at the bottom of the export. Be sure to keep the “SET FOREIGN_KEY_CHECKS” statements.<br />
7) Click “SQL”, paste in modified SQL and click “Go”<br />
<img src="http://s0.wp.com/wp-includes/images/smilies/icon_cool.gif?m=1307725206g" alt="8)" /> Login to Magento backend<br />
9) Go to: System -&gt; Index Management<br />
10) Click “Reindex Data” next to “Category Products” index</p>
<p>&nbsp;</p>
<p>Thanks</p>
<br />Filed under: <a href='http://shamimcse05.wordpress.com/category/magento/'>Magento</a> Tagged: <a href='http://shamimcse05.wordpress.com/tag/flat-product-reindex/'>flat product reindex</a>, <a href='http://shamimcse05.wordpress.com/tag/magento/'>Magento</a>, <a href='http://shamimcse05.wordpress.com/tag/reindexing-not-working/'>Reindexing not working</a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/shamimcse05.wordpress.com/389/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/shamimcse05.wordpress.com/389/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/shamimcse05.wordpress.com/389/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/shamimcse05.wordpress.com/389/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/shamimcse05.wordpress.com/389/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/shamimcse05.wordpress.com/389/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/shamimcse05.wordpress.com/389/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/shamimcse05.wordpress.com/389/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/shamimcse05.wordpress.com/389/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/shamimcse05.wordpress.com/389/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/shamimcse05.wordpress.com/389/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/shamimcse05.wordpress.com/389/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/shamimcse05.wordpress.com/389/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/shamimcse05.wordpress.com/389/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=shamimcse05.wordpress.com&amp;blog=1530494&amp;post=389&amp;subd=shamimcse05&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://shamimcse05.wordpress.com/2011/12/12/how-to-solve-product-flat-data-and-category-products-indexed-categoryproducts-association-reindex-issue/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://1.gravatar.com/avatar/72dafd5a104613143b6a82ec27259ee0?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">shamim</media:title>
		</media:content>

		<media:content url="http://s0.wp.com/wp-includes/images/smilies/icon_cool.gif?m=1307725206g" medium="image">
			<media:title type="html">8)</media:title>
		</media:content>
	</item>
		<item>
		<title>Magento Admin login 404 Error</title>
		<link>http://shamimcse05.wordpress.com/2011/12/11/magento-admin-login-404-error/</link>
		<comments>http://shamimcse05.wordpress.com/2011/12/11/magento-admin-login-404-error/#comments</comments>
		<pubDate>Sun, 11 Dec 2011 18:48:42 +0000</pubDate>
		<dc:creator>Shamim Ahmed</dc:creator>
				<category><![CDATA[Magento]]></category>
		<category><![CDATA[admin login error]]></category>
		<category><![CDATA[error 404]]></category>

		<guid isPermaLink="false">http://shamimcse05.wordpress.com/?p=386</guid>
		<description><![CDATA[Just open phpmyadmin and run this code Filed under: Magento Tagged: admin login error, error 404, Magento<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=shamimcse05.wordpress.com&amp;blog=1530494&amp;post=386&amp;subd=shamimcse05&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p>Just open phpmyadmin and run this code</p>
<p><pre class="brush: php;">
&lt;pre&gt;&lt;code&gt;SET FOREIGN_KEY_CHECKS=0;
UPDATE `core_store` SET store_id = 0 WHERE code='admin';
UPDATE `core_store_group` SET group_id = 0 WHERE name='Default';
UPDATE `core_website` SET website_id = 0 WHERE code='admin';
UPDATE `customer_group` SET customer_group_id = 0 WHERE customer_group_code='NOT LOGGED IN';
SET FOREIGN_KEY_CHECKS=1;
&lt;/code&gt;&lt;/pre&gt;
</pre></p>
<br />Filed under: <a href='http://shamimcse05.wordpress.com/category/magento/'>Magento</a> Tagged: <a href='http://shamimcse05.wordpress.com/tag/admin-login-error/'>admin login error</a>, <a href='http://shamimcse05.wordpress.com/tag/error-404/'>error 404</a>, <a href='http://shamimcse05.wordpress.com/tag/magento/'>Magento</a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/shamimcse05.wordpress.com/386/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/shamimcse05.wordpress.com/386/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/shamimcse05.wordpress.com/386/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/shamimcse05.wordpress.com/386/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/shamimcse05.wordpress.com/386/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/shamimcse05.wordpress.com/386/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/shamimcse05.wordpress.com/386/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/shamimcse05.wordpress.com/386/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/shamimcse05.wordpress.com/386/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/shamimcse05.wordpress.com/386/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/shamimcse05.wordpress.com/386/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/shamimcse05.wordpress.com/386/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/shamimcse05.wordpress.com/386/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/shamimcse05.wordpress.com/386/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=shamimcse05.wordpress.com&amp;blog=1530494&amp;post=386&amp;subd=shamimcse05&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://shamimcse05.wordpress.com/2011/12/11/magento-admin-login-404-error/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://1.gravatar.com/avatar/72dafd5a104613143b6a82ec27259ee0?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">shamim</media:title>
		</media:content>
	</item>
		<item>
		<title>Magento: SQLSTATE[23000]: Integrity constraint violation: 1062 Duplicate entry ‘XX-XX&#8217; for key &#8220;PRIMARY&#8221;</title>
		<link>http://shamimcse05.wordpress.com/2011/12/11/magento-sqlstate23000-integrity-constraint-violation-1062-duplicate-entry-xx-xx-for-key-primary/</link>
		<comments>http://shamimcse05.wordpress.com/2011/12/11/magento-sqlstate23000-integrity-constraint-violation-1062-duplicate-entry-xx-xx-for-key-primary/#comments</comments>
		<pubDate>Sun, 11 Dec 2011 18:45:27 +0000</pubDate>
		<dc:creator>Shamim Ahmed</dc:creator>
				<category><![CDATA[Magento]]></category>
		<category><![CDATA[sql]]></category>

		<guid isPermaLink="false">http://shamimcse05.wordpress.com/?p=383</guid>
		<description><![CDATA[Just Run This code in SQL Filed under: Magento Tagged: Magento, sql<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=shamimcse05.wordpress.com&amp;blog=1530494&amp;post=383&amp;subd=shamimcse05&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p>Just Run This code in SQL</p>
<p><pre class="brush: php;">

&lt;code&gt;&lt;code&gt;TRUNCATE `sales_flat_quote`;
 ALTER TABLE `sales_flat_quote` AUTO_INCREMENT=1;
 TRUNCATE `sales_flat_quote_address`;
 ALTER TABLE `sales_flat_quote_address` AUTO_INCREMENT=1;
 TRUNCATE `sales_flat_quote_address_item`;
 ALTER TABLE `sales_flat_quote_address_item` AUTO_INCREMENT=1;
 TRUNCATE `sales_flat_quote_item`;
 ALTER TABLE `sales_flat_quote_item` AUTO_INCREMENT=1;
 TRUNCATE `sales_flat_quote_item_option`;
 ALTER TABLE `sales_flat_quote_item_option` AUTO_INCREMENT=1;
 TRUNCATE `sales_flat_quote_payment`;
 ALTER TABLE `sales_flat_quote_shipping_rate` AUTO_INCREMENT=1;&lt;/code&gt;&lt;/code&gt;

TRUNCATE `log_customer`;
 ALTER TABLE `log_customer` AUTO_INCREMENT=1;
 TRUNCATE `log_quote`;
 ALTER TABLE `log_quote` AUTO_INCREMENT=1;
 TRUNCATE `log_summary`;
&lt;div&gt;&lt;/div&gt;
ALTER TABLE `log_summary` AUTO_INCREMENT=1;
 TRUNCATE `log_summary_type`;
 ALTER TABLE `log_summary_type` AUTO_INCREMENT=1;
 TRUNCATE `log_url`;
 ALTER TABLE `log_url` AUTO_INCREMENT=1;
 TRUNCATE `log_url_info`;
 ALTER TABLE `log_url_info` AUTO_INCREMENT=1;
 TRUNCATE `log_visitor`;
 ALTER TABLE `log_visitor` AUTO_INCREMENT=1;
 TRUNCATE `log_visitor_info`;
 ALTER TABLE `log_visitor_info` AUTO_INCREMENT=1;
 TRUNCATE `report_event`;
 ALTER TABLE `report_event` AUTO_INCREMENT=1;

</pre></p>
<br />Filed under: <a href='http://shamimcse05.wordpress.com/category/magento/'>Magento</a> Tagged: <a href='http://shamimcse05.wordpress.com/tag/magento/'>Magento</a>, <a href='http://shamimcse05.wordpress.com/tag/sql/'>sql</a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/shamimcse05.wordpress.com/383/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/shamimcse05.wordpress.com/383/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/shamimcse05.wordpress.com/383/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/shamimcse05.wordpress.com/383/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/shamimcse05.wordpress.com/383/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/shamimcse05.wordpress.com/383/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/shamimcse05.wordpress.com/383/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/shamimcse05.wordpress.com/383/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/shamimcse05.wordpress.com/383/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/shamimcse05.wordpress.com/383/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/shamimcse05.wordpress.com/383/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/shamimcse05.wordpress.com/383/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/shamimcse05.wordpress.com/383/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/shamimcse05.wordpress.com/383/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=shamimcse05.wordpress.com&amp;blog=1530494&amp;post=383&amp;subd=shamimcse05&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://shamimcse05.wordpress.com/2011/12/11/magento-sqlstate23000-integrity-constraint-violation-1062-duplicate-entry-xx-xx-for-key-primary/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://1.gravatar.com/avatar/72dafd5a104613143b6a82ec27259ee0?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">shamim</media:title>
		</media:content>
	</item>
		<item>
		<title>How to delete all orders in Magento</title>
		<link>http://shamimcse05.wordpress.com/2011/05/25/how-to-delete-all-orders-in-magento/</link>
		<comments>http://shamimcse05.wordpress.com/2011/05/25/how-to-delete-all-orders-in-magento/#comments</comments>
		<pubDate>Wed, 25 May 2011 10:01:09 +0000</pubDate>
		<dc:creator>Shamim Ahmed</dc:creator>
				<category><![CDATA[Magento]]></category>
		<category><![CDATA[Order delete]]></category>

		<guid isPermaLink="false">http://shamimcse05.wordpress.com/?p=378</guid>
		<description><![CDATA[Unfortunately, magento default does not have option for delete order in Magento by default. there are over hundred orders leave in backend which make our sales confused. In this case, you can execute following SQL statements to delete the ALL orders in MySQL database: Filed under: Magento Tagged: Magento, Order delete<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=shamimcse05.wordpress.com&amp;blog=1530494&amp;post=378&amp;subd=shamimcse05&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p>Unfortunately, magento default does not have option for delete order in Magento by default. there are over hundred orders leave in backend which make our sales confused. In this case, you can execute following SQL statements to delete the ALL orders in MySQL database:</p>
<p><pre class="brush: php;">
&lt;pre&gt;TRUNCATE TABLE {prefix}sales_flat_order;
TRUNCATE TABLE {prefix}sales_order_tax;
TRUNCATE TABLE {prefix}downloadable_link_purchased;
DELETE FROM {prefix}eav_entity_store WHERE entity_type_id IN (SELECT entity_type_id FROM {prefix}eav_entity_type WHERE entity_type_code IN ('order', 'invoice', 'creditmemo', 'shipment'));&lt;/pre&gt;
</pre></p>
<br />Filed under: <a href='http://shamimcse05.wordpress.com/category/magento/'>Magento</a> Tagged: <a href='http://shamimcse05.wordpress.com/tag/magento/'>Magento</a>, <a href='http://shamimcse05.wordpress.com/tag/order-delete/'>Order delete</a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/shamimcse05.wordpress.com/378/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/shamimcse05.wordpress.com/378/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/shamimcse05.wordpress.com/378/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/shamimcse05.wordpress.com/378/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/shamimcse05.wordpress.com/378/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/shamimcse05.wordpress.com/378/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/shamimcse05.wordpress.com/378/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/shamimcse05.wordpress.com/378/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/shamimcse05.wordpress.com/378/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/shamimcse05.wordpress.com/378/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/shamimcse05.wordpress.com/378/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/shamimcse05.wordpress.com/378/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/shamimcse05.wordpress.com/378/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/shamimcse05.wordpress.com/378/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=shamimcse05.wordpress.com&amp;blog=1530494&amp;post=378&amp;subd=shamimcse05&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://shamimcse05.wordpress.com/2011/05/25/how-to-delete-all-orders-in-magento/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://1.gravatar.com/avatar/72dafd5a104613143b6a82ec27259ee0?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">shamim</media:title>
		</media:content>
	</item>
		<item>
		<title>Category listing alphabetically in magento</title>
		<link>http://shamimcse05.wordpress.com/2011/05/20/category-listing-alphabetically-in-magento/</link>
		<comments>http://shamimcse05.wordpress.com/2011/05/20/category-listing-alphabetically-in-magento/#comments</comments>
		<pubDate>Fri, 20 May 2011 10:19:50 +0000</pubDate>
		<dc:creator>Shamim Ahmed</dc:creator>
				<category><![CDATA[category]]></category>
		<category><![CDATA[category listing]]></category>
		<category><![CDATA[category listing alphabeticaly]]></category>
		<category><![CDATA[Magento]]></category>

		<guid isPermaLink="false">http://shamimcse05.wordpress.com/?p=375</guid>
		<description><![CDATA[Tagged: category, category listing, category listing alphabeticaly, Magento<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=shamimcse05.wordpress.com&amp;blog=1530494&amp;post=375&amp;subd=shamimcse05&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p><pre class="brush: php;">
&lt;?php
$cats = Mage::getModel('catalog/category')-&gt;load(7)-&gt;getChildren();
$catIds = explode(',',$cats);
?&gt;
&lt;ul&gt;
&lt;?php foreach($catIds as $catId): ?&gt;
&lt;li&gt;
&lt;?php
$category = Mage::getModel('catalog/category')-&gt;load($catId);
echo '&lt;a href=&quot;' . $category-&gt;getUrl() . '&quot;&gt;';
echo $category-&gt;getName() . '&lt;/a&gt;';
?&gt;
&lt;/li&gt;
&lt;?php endforeach; ?&gt;
&lt;/ul&gt;

</pre></p>
<br /> Tagged: <a href='http://shamimcse05.wordpress.com/tag/category/'>category</a>, <a href='http://shamimcse05.wordpress.com/tag/category-listing/'>category listing</a>, <a href='http://shamimcse05.wordpress.com/tag/category-listing-alphabeticaly/'>category listing alphabeticaly</a>, <a href='http://shamimcse05.wordpress.com/tag/magento/'>Magento</a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/shamimcse05.wordpress.com/375/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/shamimcse05.wordpress.com/375/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/shamimcse05.wordpress.com/375/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/shamimcse05.wordpress.com/375/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/shamimcse05.wordpress.com/375/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/shamimcse05.wordpress.com/375/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/shamimcse05.wordpress.com/375/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/shamimcse05.wordpress.com/375/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/shamimcse05.wordpress.com/375/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/shamimcse05.wordpress.com/375/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/shamimcse05.wordpress.com/375/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/shamimcse05.wordpress.com/375/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/shamimcse05.wordpress.com/375/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/shamimcse05.wordpress.com/375/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=shamimcse05.wordpress.com&amp;blog=1530494&amp;post=375&amp;subd=shamimcse05&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://shamimcse05.wordpress.com/2011/05/20/category-listing-alphabetically-in-magento/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://1.gravatar.com/avatar/72dafd5a104613143b6a82ec27259ee0?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">shamim</media:title>
		</media:content>
	</item>
		<item>
		<title>Sorting categories in Magento according to the position in admin</title>
		<link>http://shamimcse05.wordpress.com/2011/04/28/sorting-categories-in-magento-according-to-the-position-in-admin/</link>
		<comments>http://shamimcse05.wordpress.com/2011/04/28/sorting-categories-in-magento-according-to-the-position-in-admin/#comments</comments>
		<pubDate>Thu, 28 Apr 2011 06:44:07 +0000</pubDate>
		<dc:creator>Shamim Ahmed</dc:creator>
				<category><![CDATA[Magento]]></category>

		<guid isPermaLink="false">http://shamimcse05.wordpress.com/?p=367</guid>
		<description><![CDATA[&#60;?php    $cats = Mage::getModel('catalog/category')-&#62;load(3)-&#62;getChildrenCategories();    ?&#62;    &#60;ul&#62;    &#60;?php foreach($cats as $category): ?&#62;        &#60;li&#62;            &#60;a href="&#60;?php echo $category-&#62;getUrl() ?&#62;"&#62;&#60;?php echo $category-&#62;getName() ?&#62;&#60;/a&#62;        &#60;/li&#62;    &#60;?php endforeach; ?&#62;    &#60;/ul&#62; in here 3 is parent category ID Filed under: Magento<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=shamimcse05.wordpress.com&amp;blog=1530494&amp;post=367&amp;subd=shamimcse05&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<pre>&lt;?php    $cats = Mage::getModel('catalog/category')-&gt;load(3)-&gt;getChildrenCategories();    ?&gt;    &lt;ul&gt;    &lt;?php foreach($cats as $category): ?&gt;        &lt;li&gt;            &lt;a href="&lt;?php echo $category-&gt;getUrl() ?&gt;"&gt;&lt;?php echo $category-&gt;getName() ?&gt;&lt;/a&gt;        &lt;/li&gt;    &lt;?php endforeach; ?&gt;    &lt;/ul&gt;</pre>
<p><code>in here 3 is parent category ID</code></p>
<br />Filed under: <a href='http://shamimcse05.wordpress.com/category/magento/'>Magento</a>  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/shamimcse05.wordpress.com/367/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/shamimcse05.wordpress.com/367/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/shamimcse05.wordpress.com/367/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/shamimcse05.wordpress.com/367/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/shamimcse05.wordpress.com/367/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/shamimcse05.wordpress.com/367/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/shamimcse05.wordpress.com/367/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/shamimcse05.wordpress.com/367/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/shamimcse05.wordpress.com/367/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/shamimcse05.wordpress.com/367/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/shamimcse05.wordpress.com/367/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/shamimcse05.wordpress.com/367/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/shamimcse05.wordpress.com/367/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/shamimcse05.wordpress.com/367/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=shamimcse05.wordpress.com&amp;blog=1530494&amp;post=367&amp;subd=shamimcse05&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://shamimcse05.wordpress.com/2011/04/28/sorting-categories-in-magento-according-to-the-position-in-admin/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://1.gravatar.com/avatar/72dafd5a104613143b6a82ec27259ee0?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">shamim</media:title>
		</media:content>
	</item>
		<item>
		<title>Searching product in different Category In Magento</title>
		<link>http://shamimcse05.wordpress.com/2011/04/24/searching-product-in-different-category-in-magento/</link>
		<comments>http://shamimcse05.wordpress.com/2011/04/24/searching-product-in-different-category-in-magento/#comments</comments>
		<pubDate>Sun, 24 Apr 2011 09:35:18 +0000</pubDate>
		<dc:creator>Shamim Ahmed</dc:creator>
				<category><![CDATA[Magento]]></category>
		<category><![CDATA[Catalog Search]]></category>
		<category><![CDATA[product]]></category>
		<category><![CDATA[Product Filtering]]></category>
		<category><![CDATA[Search]]></category>

		<guid isPermaLink="false">http://shamimcse05.wordpress.com/?p=364</guid>
		<description><![CDATA[Suppose You want to search a product in specific Category This code will help you. for this you just need to go  catalogSearch and paste this code in form.mini.phtml then you will show the result this above code is only for Displaying Current category and if someone want to search in specific category then you <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=shamimcse05.wordpress.com&amp;blog=1530494&amp;post=364&amp;subd=shamimcse05&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p>Suppose You want to search a product in specific Category This code will help you. for this you just need to go  catalogSearch and paste this code in form.mini.phtml then you will show the result</p>
<p><pre class="brush: php;">

&lt;?php
/**
* Magento
*
* NOTICE OF LICENSE
*
* This source file is subject to the Academic Free License (AFL 3.0)
* that is bundled with this package in the file LICENSE_AFL.txt.
* It is also available through the world-wide-web at this URL:
* http://opensource.org/licenses/afl-3.0.php
* If you did not receive a copy of the license and are unable to
* obtain it through the world-wide-web, please send an email
* to license@magentocommerce.com so we can send you a copy immediately.
*
* DISCLAIMER
*
* Do not edit or add to this file if you wish to upgrade Magento to newer
* versions in the future. If you wish to customize Magento for your
* needs please refer to http://www.magentocommerce.com for more information.
*
* @category   design_default
* @package    Mage
* @copyright  Copyright (c) 2008 Irubin Consulting Inc. DBA Varien (http://www.varien.com)
* @license    http://opensource.org/licenses/afl-3.0.php  Academic Free License (AFL 3.0)
*
*
* @version Edmonds Commerce Quick Search with Top Level Categories
*
*/
$category = Mage::getModel('catalog/category');
if(is_object(Mage::registry('current_category'))){
$current_category_path=Mage::registry('current_category')-&gt;getPathIds();
}else{
$current_category_path = array();
}
$category-&gt;load(Mage::app()-&gt;getStore()-&gt;getRootCategoryId());
$children_string = $category-&gt;getChildren();
$children = explode(',',$children_string);
$extra_options='';
foreach($children as $c){
$selected = (in_array($c, $current_category_path))?'SELECTED':'';
$extra_options.= '&lt;option value=&quot;' . $c . '&quot; ' . $selected . '&gt;' . $category-&gt;load($c)-&gt;getName() . '&lt;/option&gt;' . &quot;\n&quot;;
}
?&gt;
&lt;form id=&quot;search_mini_form&quot; action=&quot;&lt;?php echo $this-&gt;helper('catalogSearch')-&gt;getResultUrl() ?&gt;&quot; method=&quot;get&quot;&gt;
&lt;fieldset&gt;
&lt;legend&gt;&lt;?php echo $this-&gt;__('Search Site') ?&gt;&lt;/legend&gt;
&lt;div&gt;
&lt;input id=&quot;search&quot; type=&quot;text&quot; name=&quot;&lt;?php echo $this-&gt;helper('catalogSearch')-&gt;getQueryParamName() ?&gt;&quot; value=&quot;&lt;?php echo $this-&gt;helper('catalogSearch')-&gt;getEscapedQueryText() ?&gt;&quot; /&gt;
&lt;select name=&quot;cat&quot; id=&quot;cat&quot;&gt;
&lt;option value=&quot;&quot;&gt;All Departments&lt;/option&gt;
&lt;?= $extra_options ?&gt;
&lt;/select&gt;
&lt;input type=&quot;submit&quot; value=&quot;Go&quot; style=&quot;border: 1px solid #808080;&quot; alt=&quot;&lt;?php echo $this-&gt;__('Search') ?&gt;&quot; /&gt;
&lt;div id=&quot;search_autocomplete&quot;&gt;&lt;/div&gt;
&lt;script type=&quot;text/javascript&quot;&gt;
//&lt;![CDATA[
var searchForm = new Varien.searchForm('search_mini_form', 'search', '&lt;?php echo $this-&gt;__('search site...') ?&gt;');
searchForm.initAutocomplete('&lt;?php echo $this-&gt;helper('catalogSearch')-&gt;getSuggestUrl() ?&gt;', 'search_autocomplete');
//]]&gt;
&lt;/script&gt;
&lt;/div&gt;
&lt;/fieldset&gt;
&lt;/form&gt;

</pre></p>
<p>this above code is only for Displaying Current category and if someone want to search in specific category</p>
<p>then you need to change the code like</p>
<p><pre class="brush: php;">

$exclude_array=array(1,2,3);
foreach($children as $c){
if(in_array($c, $exclude_array)){continue;}
$selected = (in_array($c, $current_category_path))?'SELECTED':'';
$extra_options.= '&lt;option value=&quot;' . $c . '&quot; ' . $selected . '&gt;' . $category-&gt;load($c)-&gt;getName() . '&lt;/option&gt;' . &quot;\n&quot;;
}

</pre></p>
<p>on the otherhand if someone want to get all category and subcategory then</p>
<p><pre class="brush: php;">

if($this-&gt;getSubCategories($c)){
foreach($this-&gt;getSubCategories($c) as $sc){
foreach($this-&gt;getSubCategories($sc) as $ssc){
...
}
}
}

</pre></p>
<br />Filed under: <a href='http://shamimcse05.wordpress.com/category/magento/'>Magento</a> Tagged: <a href='http://shamimcse05.wordpress.com/tag/catalog-search/'>Catalog Search</a>, <a href='http://shamimcse05.wordpress.com/tag/magento/'>Magento</a>, <a href='http://shamimcse05.wordpress.com/tag/product/'>product</a>, <a href='http://shamimcse05.wordpress.com/tag/product-filtering/'>Product Filtering</a>, <a href='http://shamimcse05.wordpress.com/tag/search/'>Search</a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/shamimcse05.wordpress.com/364/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/shamimcse05.wordpress.com/364/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/shamimcse05.wordpress.com/364/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/shamimcse05.wordpress.com/364/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/shamimcse05.wordpress.com/364/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/shamimcse05.wordpress.com/364/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/shamimcse05.wordpress.com/364/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/shamimcse05.wordpress.com/364/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/shamimcse05.wordpress.com/364/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/shamimcse05.wordpress.com/364/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/shamimcse05.wordpress.com/364/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/shamimcse05.wordpress.com/364/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/shamimcse05.wordpress.com/364/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/shamimcse05.wordpress.com/364/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=shamimcse05.wordpress.com&amp;blog=1530494&amp;post=364&amp;subd=shamimcse05&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://shamimcse05.wordpress.com/2011/04/24/searching-product-in-different-category-in-magento/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://1.gravatar.com/avatar/72dafd5a104613143b6a82ec27259ee0?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">shamim</media:title>
		</media:content>
	</item>
		<item>
		<title>Adding attribute to the new order notification email in magento.</title>
		<link>http://shamimcse05.wordpress.com/2011/04/07/adding-attribute-to-the-new-order-notification-email-in-magento/</link>
		<comments>http://shamimcse05.wordpress.com/2011/04/07/adding-attribute-to-the-new-order-notification-email-in-magento/#comments</comments>
		<pubDate>Thu, 07 Apr 2011 07:34:43 +0000</pubDate>
		<dc:creator>Shamim Ahmed</dc:creator>
				<category><![CDATA[Magento]]></category>
		<category><![CDATA[new order email]]></category>

		<guid isPermaLink="false">http://shamimcse05.wordpress.com/?p=357</guid>
		<description><![CDATA[Today for purpose of one my freelancing project I have added attribute to new order Email . So i am going to share this. Just you have to work on two file only 1. app-&#62;design-&#62;fronend-&#62;themname-&#62;default-&#62;template-&#62;email-&#62;order-&#62;items.phtml in here you have add column heading then you have to go 2. app-&#62;design-&#62;fronend-&#62;themname-&#62;default-&#62;template-&#62;email-&#62;order-&#62;items-&#62;order-&#62;default.phtml here to add attribute you should <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=shamimcse05.wordpress.com&amp;blog=1530494&amp;post=357&amp;subd=shamimcse05&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p>Today for purpose of one my freelancing project I have added attribute to new order Email . So i am going to share this.</p>
<p>Just you have to work on two file only 1. app-&gt;design-&gt;fronend-&gt;themname-&gt;default-&gt;template-&gt;email-&gt;order-&gt;items.phtml</p>
<p>in here you have add column heading</p>
<p>then you have to go 2. app-&gt;design-&gt;fronend-&gt;themname-&gt;default-&gt;template-&gt;email-&gt;order-&gt;items-&gt;order-&gt;default.phtml</p>
<p>here to add attribute you should have write code like</p>
<p><pre class="brush: php;">

&lt;?php $product = Mage::getModel('catalog/product')-&gt;loadByAttribute('sku', $_item-&gt;getSku(), array('Attribute_code')); ?&gt;
 &lt;?php echo $product-&gt;getData('Attribute_code'); ?&gt;

&amp;nbsp;

</pre></p>
<p>hope it will help you.</p>
<br />Filed under: <a href='http://shamimcse05.wordpress.com/category/magento/'>Magento</a> Tagged: <a href='http://shamimcse05.wordpress.com/tag/magento/'>Magento</a>, <a href='http://shamimcse05.wordpress.com/tag/new-order-email/'>new order email</a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/shamimcse05.wordpress.com/357/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/shamimcse05.wordpress.com/357/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/shamimcse05.wordpress.com/357/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/shamimcse05.wordpress.com/357/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/shamimcse05.wordpress.com/357/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/shamimcse05.wordpress.com/357/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/shamimcse05.wordpress.com/357/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/shamimcse05.wordpress.com/357/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/shamimcse05.wordpress.com/357/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/shamimcse05.wordpress.com/357/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/shamimcse05.wordpress.com/357/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/shamimcse05.wordpress.com/357/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/shamimcse05.wordpress.com/357/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/shamimcse05.wordpress.com/357/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=shamimcse05.wordpress.com&amp;blog=1530494&amp;post=357&amp;subd=shamimcse05&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://shamimcse05.wordpress.com/2011/04/07/adding-attribute-to-the-new-order-notification-email-in-magento/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://1.gravatar.com/avatar/72dafd5a104613143b6a82ec27259ee0?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">shamim</media:title>
		</media:content>
	</item>
		<item>
		<title>Reindexing Problem-Stock Status Index process is working now.Try again later</title>
		<link>http://shamimcse05.wordpress.com/2011/04/07/reindexing-problem-stock-status-index-process-is-working-now-try-again-later/</link>
		<comments>http://shamimcse05.wordpress.com/2011/04/07/reindexing-problem-stock-status-index-process-is-working-now-try-again-later/#comments</comments>
		<pubDate>Thu, 07 Apr 2011 07:25:24 +0000</pubDate>
		<dc:creator>Shamim Ahmed</dc:creator>
				<category><![CDATA[Magento]]></category>
		<category><![CDATA[reindesing problem]]></category>

		<guid isPermaLink="false">http://shamimcse05.wordpress.com/?p=353</guid>
		<description><![CDATA[As my Title of post this common problem in magento.. This is caused by sever execution time or file access permission problem. Today I have solved this problem by a simple task here I have rename the locks folder&#8212;&#8212;&#8212;-var/locks then tried again reindexing problem is solved. Filed under: Magento Tagged: Magento, reindesing problem<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=shamimcse05.wordpress.com&amp;blog=1530494&amp;post=353&amp;subd=shamimcse05&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p>As my Title of post this common problem in magento.. This is caused by sever execution time or file access permission problem. Today I have solved this problem by a simple task</p>
<p>here I have rename the locks folder&#8212;&#8212;&#8212;-var/locks</p>
<p>then tried again reindexing problem is solved.</p>
<br />Filed under: <a href='http://shamimcse05.wordpress.com/category/magento/'>Magento</a> Tagged: <a href='http://shamimcse05.wordpress.com/tag/magento/'>Magento</a>, <a href='http://shamimcse05.wordpress.com/tag/reindesing-problem/'>reindesing problem</a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/shamimcse05.wordpress.com/353/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/shamimcse05.wordpress.com/353/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/shamimcse05.wordpress.com/353/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/shamimcse05.wordpress.com/353/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/shamimcse05.wordpress.com/353/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/shamimcse05.wordpress.com/353/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/shamimcse05.wordpress.com/353/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/shamimcse05.wordpress.com/353/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/shamimcse05.wordpress.com/353/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/shamimcse05.wordpress.com/353/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/shamimcse05.wordpress.com/353/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/shamimcse05.wordpress.com/353/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/shamimcse05.wordpress.com/353/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/shamimcse05.wordpress.com/353/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=shamimcse05.wordpress.com&amp;blog=1530494&amp;post=353&amp;subd=shamimcse05&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://shamimcse05.wordpress.com/2011/04/07/reindexing-problem-stock-status-index-process-is-working-now-try-again-later/feed/</wfw:commentRss>
		<slash:comments>2</slash:comments>
	
		<media:content url="http://1.gravatar.com/avatar/72dafd5a104613143b6a82ec27259ee0?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">shamim</media:title>
		</media:content>
	</item>
	</channel>
</rss>
