<?xml version='1.0' encoding='UTF-8'?><?xml-stylesheet href="http://www.blogger.com/styles/atom.css" type="text/css"?><feed xmlns='http://www.w3.org/2005/Atom' xmlns:openSearch='http://a9.com/-/spec/opensearchrss/1.0/' xmlns:blogger='http://schemas.google.com/blogger/2008' xmlns:georss='http://www.georss.org/georss' xmlns:gd="http://schemas.google.com/g/2005" xmlns:thr='http://purl.org/syndication/thread/1.0'><id>tag:blogger.com,1999:blog-562392500751603694</id><updated>2025-11-06T15:52:43.322+05:30</updated><title type='text'>Magentocommerce Blog</title><subtitle type='html'>This Blog is for helping those people who faces some problems in php magento e-commerce CMS.We will share our experience in magento by creating posts on different topics.</subtitle><link rel='http://schemas.google.com/g/2005#feed' type='application/atom+xml' href='http://magentocommerceblog.blogspot.com/feeds/posts/default'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/562392500751603694/posts/default?redirect=false'/><link rel='alternate' type='text/html' href='http://magentocommerceblog.blogspot.com/'/><link rel='hub' href='http://pubsubhubbub.appspot.com/'/><link rel='next' type='application/atom+xml' href='http://www.blogger.com/feeds/562392500751603694/posts/default?start-index=26&amp;max-results=25&amp;redirect=false'/><author><name>rajthegr8</name><uri>http://www.blogger.com/profile/01079405664071562642</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='24' src='http://2.bp.blogspot.com/_HACkVIGIr8A/S6oSyca0NYI/AAAAAAAAAAs/VgYr6rvWNRo/S220/08032010(003).jpg'/></author><generator version='7.00' uri='http://www.blogger.com'>Blogger</generator><openSearch:totalResults>35</openSearch:totalResults><openSearch:startIndex>1</openSearch:startIndex><openSearch:itemsPerPage>25</openSearch:itemsPerPage><entry><id>tag:blogger.com,1999:blog-562392500751603694.post-6595493021905286178</id><published>2014-03-07T17:59:00.000+05:30</published><updated>2014-03-07T18:14:23.871+05:30</updated><title type='text'>How to open native map app from the mobile browser</title><content type='html'>&lt;div dir=&quot;ltr&quot; style=&quot;text-align: left;&quot; trbidi=&quot;on&quot;&gt;

If we need in our mobile web application a link to open google map app of mobile phone to view an address, then, we can make use of html hyperlink tag for it. But,the method of opening google mag app in different devices are different. For iphone/iOS, android phones,windows phones,blackberry, all have different code to call map app from mobile browser.
&lt;br&gt;
&lt;strong&gt;For example we want to find location &amp;quot;New Delhi&amp;quot;,&lt;/strong&gt;
&lt;br&gt;
&lt;pre class=&quot;prettyprint&quot;&gt;
For Desktop:&lt;br&gt;
&amp;lt;a href=&amp;quot;http://maps.google.com?q=New%20Delhi&amp;quot;&amp;gt;Find Us&amp;lt;/a&amp;gt;
&lt;/pre&gt;
&lt;br&gt;
&lt;pre class=&quot;prettyprint&quot;&gt;
For iPhone:&lt;br&gt;
An iPhone would actually hijack this URL and open the map app automatically.&lt;br&gt;
But it would not plot the route. To plot the route we&amp;#39;d need to modify the URL to:&lt;br&gt;
&amp;lt;a href=&amp;quot;http://maps.google.com/?saddr=Current%20Location&amp;daddr= New%20Delhi&amp;quot;&amp;gt;Find Us&amp;lt;/a&amp;gt;
&lt;/pre&gt;
&lt;br&gt;
Here we are setting the source address to &amp;quot;Current Location&amp;quot; and the destination address to our store. If you&amp;#39;d like more information about constructing query strings for Google Maps take a look at &lt;a href=&quot;http://querystring.org/google-maps-query-string-parameters/&quot;&gt;http://querystring.org&lt;/a&gt;. In my experience anything you can do with them on Google Maps will work in the iPhone app.
&lt;br&gt;
&lt;pre class=&quot;prettyprint&quot;&gt;
For Android:&lt;br&gt;
Instead of simply hijacking URLs to Google Maps like the iPhone,
Android is employing the geo: protocol which relates the specific intent 
to find a geographic location.
For information on the geo: protocol and other &amp;#39;intents&amp;#39; 
take a look at the following link. &lt;br&gt;
http://developer.android.com/guide/appendix/g-app-intents.html
&lt;br&gt;
Here is how we&amp;#39;ll construct our URL for Android.&lt;br&gt;
&amp;lt;a href=&amp;quot;geo:New%20Delhi&amp;quot;&amp;gt;Find Us&amp;lt;/a&amp;gt;
&lt;br&gt;&lt;/pre&gt;&lt;/div&gt;&lt;a href=&quot;http://magentocommerceblog.blogspot.com/2014/03/how-to-open-native-map-app-from-mobile.html#more&quot;&gt;Read more »&lt;/a&gt;</content><link rel='replies' type='application/atom+xml' href='http://magentocommerceblog.blogspot.com/feeds/6595493021905286178/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://magentocommerceblog.blogspot.com/2014/03/how-to-open-native-map-app-from-mobile.html#comment-form' title='2 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/562392500751603694/posts/default/6595493021905286178'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/562392500751603694/posts/default/6595493021905286178'/><link rel='alternate' type='text/html' href='http://magentocommerceblog.blogspot.com/2014/03/how-to-open-native-map-app-from-mobile.html' title='How to open native map app from the mobile browser'/><author><name>rajthegr8</name><uri>http://www.blogger.com/profile/01079405664071562642</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='24' src='http://2.bp.blogspot.com/_HACkVIGIr8A/S6oSyca0NYI/AAAAAAAAAAs/VgYr6rvWNRo/S220/08032010(003).jpg'/></author><thr:total>2</thr:total></entry><entry><id>tag:blogger.com,1999:blog-562392500751603694.post-7489863265974952516</id><published>2012-12-06T13:43:00.001+05:30</published><updated>2012-12-06T13:43:03.993+05:30</updated><title type='text'>How to Get Store ID in Magento</title><content type='html'>Many times during coding we require the store ID of the magento store, We can get this by using the below code in magento :&lt;br/&gt;

&lt;pre class=&quot;prettyprint&quot;&gt;
 Mage::app()-&gt;getStore()-&gt;getStoreId();
 OR
 $this-&gt;helper(’core’)-&gt;getStoreId();
&lt;/pre&gt;

</content><link rel='replies' type='application/atom+xml' href='http://magentocommerceblog.blogspot.com/feeds/7489863265974952516/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://magentocommerceblog.blogspot.com/2012/12/how-to-get-store-id-in-magento.html#comment-form' title='2 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/562392500751603694/posts/default/7489863265974952516'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/562392500751603694/posts/default/7489863265974952516'/><link rel='alternate' type='text/html' href='http://magentocommerceblog.blogspot.com/2012/12/how-to-get-store-id-in-magento.html' title='How to Get Store ID in Magento'/><author><name>rajthegr8</name><uri>http://www.blogger.com/profile/01079405664071562642</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='24' src='http://2.bp.blogspot.com/_HACkVIGIr8A/S6oSyca0NYI/AAAAAAAAAAs/VgYr6rvWNRo/S220/08032010(003).jpg'/></author><thr:total>2</thr:total></entry><entry><id>tag:blogger.com,1999:blog-562392500751603694.post-8441985764092721718</id><published>2012-12-06T13:30:00.002+05:30</published><updated>2012-12-06T13:34:30.502+05:30</updated><title type='text'>Install Magento in Ubuntu</title><content type='html'>To install magento in Ubuntu, first Open the terminal to run the commands.&lt;br&gt;
Navigate to the directory (Inside www folder) where you need to install Magento.&lt;br&gt;
&lt;pre class=&quot;prettyprint&quot;&gt;
$ cd /var/www 
&lt;/pre&gt;
Download magento 1.7.0.0 files by using the following command:&lt;br&gt;
&lt;pre class=&quot;prettyprint&quot;&gt;
$ wget http://www.magentocommerce.com/downloads/assets/1.7.0.0/magento-1.7.0.0-alpha1.tar.gz
&lt;/pre&gt;
After the downloading process completes, just decompress the downloaded file:&lt;br&gt;
&lt;pre class=&quot;prettyprint&quot;&gt;
$ tar -zxvf magento-1.7.0.0-alpha1.tar.gz
&lt;/pre&gt;
Now you can find a new folder “magento”. Just get into it.&lt;br&gt;
&lt;pre class=&quot;prettyprint&quot;&gt;
$cd magento
&lt;/pre&gt;
Then set permissions for some folders like media, var and app/etc to 777:&lt;br&gt;
&lt;pre class=&quot;prettyprint&quot;&gt;
$ chmod -R 777 media var
$ chmod 777 app/etc
&lt;/pre&gt;                  &lt;a href=&quot;http://magentocommerceblog.blogspot.com/2012/12/install-magento-in-ubuntu.html#more&quot;&gt;Read more »&lt;/a&gt;</content><link rel='replies' type='application/atom+xml' href='http://magentocommerceblog.blogspot.com/feeds/8441985764092721718/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://magentocommerceblog.blogspot.com/2012/12/install-magento-in-ubuntu.html#comment-form' title='2 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/562392500751603694/posts/default/8441985764092721718'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/562392500751603694/posts/default/8441985764092721718'/><link rel='alternate' type='text/html' href='http://magentocommerceblog.blogspot.com/2012/12/install-magento-in-ubuntu.html' title='Install Magento in Ubuntu'/><author><name>rajthegr8</name><uri>http://www.blogger.com/profile/01079405664071562642</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='24' src='http://2.bp.blogspot.com/_HACkVIGIr8A/S6oSyca0NYI/AAAAAAAAAAs/VgYr6rvWNRo/S220/08032010(003).jpg'/></author><thr:total>2</thr:total></entry><entry><id>tag:blogger.com,1999:blog-562392500751603694.post-4454346854788242947</id><published>2012-10-31T16:55:00.000+05:30</published><updated>2012-10-31T16:56:13.652+05:30</updated><title type='text'>Get All Items &amp; Totals In Magento Shopping Cart</title><content type='html'>This blog will show you how to get all items in a shopping cart and totals in a magento store :
&lt;pre class=&quot;prettyprint&quot;&gt;
 $items = Mage::getSingleton(&amp;#39;checkout/session&amp;#39;)-&gt;getQuote()-&gt;getAllItems();
 foreach($items as $item) {
    echo &amp;#39;Product ID: &amp;#39;.$item-&gt;getProductId();
    echo &amp;#39;Product Name: &amp;#39;.$item-&gt;getName();
    echo &amp;#39;Product Sku: &amp;#39;.$item-&gt;getSku();
    echo &amp;#39;Product Quantity: &amp;#39;.$item-&gt;getQty();
    echo &amp;#39;Product Price: &amp;#39;.$item-&gt;getPrice();
&lt;/pre&gt;&lt;a href=&quot;http://magentocommerceblog.blogspot.com/2012/10/get-all-items-totals-in-magento.html#more&quot;&gt;Read more »&lt;/a&gt;</content><link rel='replies' type='application/atom+xml' href='http://magentocommerceblog.blogspot.com/feeds/4454346854788242947/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://magentocommerceblog.blogspot.com/2012/10/get-all-items-totals-in-magento.html#comment-form' title='6 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/562392500751603694/posts/default/4454346854788242947'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/562392500751603694/posts/default/4454346854788242947'/><link rel='alternate' type='text/html' href='http://magentocommerceblog.blogspot.com/2012/10/get-all-items-totals-in-magento.html' title='Get All Items &amp; Totals In Magento Shopping Cart'/><author><name>rajthegr8</name><uri>http://www.blogger.com/profile/01079405664071562642</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='24' src='http://2.bp.blogspot.com/_HACkVIGIr8A/S6oSyca0NYI/AAAAAAAAAAs/VgYr6rvWNRo/S220/08032010(003).jpg'/></author><thr:total>6</thr:total></entry><entry><id>tag:blogger.com,1999:blog-562392500751603694.post-8304710431516397532</id><published>2012-10-31T16:39:00.003+05:30</published><updated>2012-10-31T16:41:07.980+05:30</updated><title type='text'>Price Currency Conversion in Magento</title><content type='html'>This article is to show you how to convert price amount from one currency of the shop to another currency.
&lt;br /&gt;

&lt;pre class=&quot;prettyprint&quot;&gt;
// Currency conversion rates have to be available in the target currency
$fromCur = ‘USD’; // currency code to convert from – usually your base currency
$toCur = ‘EUR’; // currency to convert to
$price = Mage::helper(‘directory’)-&gt;
currencyConvert(1000, $fromCur, $toCur);
// if you want it rounded:
$converted_final_price = Mage::app()-&gt;getStore()-&gt;roundPrice($price);
&lt;/pre&gt;</content><link rel='replies' type='application/atom+xml' href='http://magentocommerceblog.blogspot.com/feeds/8304710431516397532/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://magentocommerceblog.blogspot.com/2012/10/price-currency-conversion-in-magento.html#comment-form' title='2 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/562392500751603694/posts/default/8304710431516397532'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/562392500751603694/posts/default/8304710431516397532'/><link rel='alternate' type='text/html' href='http://magentocommerceblog.blogspot.com/2012/10/price-currency-conversion-in-magento.html' title='Price Currency Conversion in Magento'/><author><name>rajthegr8</name><uri>http://www.blogger.com/profile/01079405664071562642</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='24' src='http://2.bp.blogspot.com/_HACkVIGIr8A/S6oSyca0NYI/AAAAAAAAAAs/VgYr6rvWNRo/S220/08032010(003).jpg'/></author><thr:total>2</thr:total></entry><entry><id>tag:blogger.com,1999:blog-562392500751603694.post-7882236495079114284</id><published>2012-10-31T16:11:00.003+05:30</published><updated>2012-10-31T16:11:45.684+05:30</updated><title type='text'>How to show Category List in Magento</title><content type='html'>You can show all categories present in magento.&lt;br&gt;There are different methods to get the category list. Below are some possible methods:-&lt;br&gt;&lt;span style=&quot;font-weight:bold;&quot;&gt;Get all categories&lt;/span&gt;&lt;br&gt;The following code will fetch all categories (both active and inactive) that are present in your Magento Shop.&lt;br&gt;&lt;pre class=&quot;prettyprint&quot;&gt;&lt;span style=&quot;font-weight:bold;&quot;&gt;$categories = Mage::getModel(&amp;#39;catalog/category&amp;#39;)&lt;br&gt;                    -&gt;getCollection()&lt;br&gt;                    -&gt;addAttributeToSelect(&amp;#39;*&amp;#39;);&lt;/span&gt;&lt;/pre&gt;&lt;br&gt;&lt;span style=&quot;font-weight:bold;&quot;&gt;Get all active categories:&lt;/span&gt;&lt;a href=&quot;http://magentocommerceblog.blogspot.com/2012/10/how-to-show-category-list-in-magento.html#more&quot;&gt;Read more »&lt;/a&gt;</content><link rel='replies' type='application/atom+xml' href='http://magentocommerceblog.blogspot.com/feeds/7882236495079114284/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://magentocommerceblog.blogspot.com/2012/10/how-to-show-category-list-in-magento.html#comment-form' title='2 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/562392500751603694/posts/default/7882236495079114284'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/562392500751603694/posts/default/7882236495079114284'/><link rel='alternate' type='text/html' href='http://magentocommerceblog.blogspot.com/2012/10/how-to-show-category-list-in-magento.html' title='How to show Category List in Magento'/><author><name>rajthegr8</name><uri>http://www.blogger.com/profile/01079405664071562642</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='24' src='http://2.bp.blogspot.com/_HACkVIGIr8A/S6oSyca0NYI/AAAAAAAAAAs/VgYr6rvWNRo/S220/08032010(003).jpg'/></author><thr:total>2</thr:total></entry><entry><id>tag:blogger.com,1999:blog-562392500751603694.post-2579013355587657174</id><published>2012-09-27T09:54:00.002+05:30</published><updated>2012-09-27T09:56:29.856+05:30</updated><title type='text'>Emulation process in Magento</title><content type='html'>Recently,I had a task to send an custom transactional e-mail from admin panel on some event.And the email template was same as used in the frontend store. So, I was trying to make use of the same block and phtml of frontend theme to call in that email. But,i found that that,we cannot call frontend phtml files in the emails sending from admin.&lt;br&gt;
There is a concept of emulation in magento which allow us to do the same.By using this method we can make use of frontend template files to call in mails sending from Admin.
&lt;br&gt;
This feature is available in magento 1.5 &amp; above version.By using &lt;strong&gt;Emulation model a.k.a. Mage_Core_Model_App_Emulation class &lt;/strong&gt; , we can emulate stores in magento.
&lt;br&gt;
Code to be used:
&lt;pre class=&quot;prettyprint&quot;&gt;
$appEmulation = Mage::getSingleton(&amp;#39;core/app_emulation&amp;#39;);
//Start environment emulation of the specified store
$initialEnvironmentInfo = $appEmulation-&gt;startEnvironmentEmulation($storeId);
/*
 * Any code thrown here will be executed as we are currently running that store
 * with applied locale, design and similar
 */
//Stop environment emulation and restore original store
$appEmulation-&gt;stopEnvironmentEmulation($initialEnvironmentInfo);
&lt;/pre&gt;

You will need something similar also,when you want to send custom transactional e-mail for all stores at the same time as cronjob. However,&lt;strong&gt; the problem is that e-mail had {{block}} inside and block template needed to respect different theme set for each store.&lt;/strong&gt;&lt;a href=&quot;http://magentocommerceblog.blogspot.com/2012/09/emulation-process-in-magento.html#more&quot;&gt;Read more »&lt;/a&gt;</content><link rel='replies' type='application/atom+xml' href='http://magentocommerceblog.blogspot.com/feeds/2579013355587657174/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://magentocommerceblog.blogspot.com/2012/09/emulation-process-in-magento.html#comment-form' title='3 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/562392500751603694/posts/default/2579013355587657174'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/562392500751603694/posts/default/2579013355587657174'/><link rel='alternate' type='text/html' href='http://magentocommerceblog.blogspot.com/2012/09/emulation-process-in-magento.html' title='Emulation process in Magento'/><author><name>rajthegr8</name><uri>http://www.blogger.com/profile/01079405664071562642</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='24' src='http://2.bp.blogspot.com/_HACkVIGIr8A/S6oSyca0NYI/AAAAAAAAAAs/VgYr6rvWNRo/S220/08032010(003).jpg'/></author><thr:total>3</thr:total></entry><entry><id>tag:blogger.com,1999:blog-562392500751603694.post-6408019892112993221</id><published>2012-09-23T01:57:00.003+05:30</published><updated>2012-09-23T01:57:53.526+05:30</updated><title type='text'>Debugging Magento Code with Net Beans IDE</title><content type='html'>&lt;div dir=&quot;ltr&quot; style=&quot;text-align: left;&quot; trbidi=&quot;on&quot;&gt;
&lt;br&gt;
Mostly people are aware of how the xdebug is used on debugging PHP applications. However there can be people out there, alone, killing their eyes trying to find out which class called which functions etc. Here is a quick tip for you! Especially if you are trying to find your way with Magento!
 &lt;br&gt;&lt;br&gt;
 NetBeans is a great IDE with it’s support to PHP!By using NetBeans and xdebug, we can freely and easily debug our PHP applications. However as the web evolved, there are not anymore php files to debug but there are “user friendly” urls to debug. So you cannot give the filename to NetBeans and say debug! because most of the web applications out there are now MVC based as this is the new trend in the PHP world. MVC means, one file -index.php dispatches all the requests. So how to debug using friendly urls.
 &lt;br&gt;&lt;br&gt;
Well you can use your NetBeans IDE to listen requests coming from your browser. That’s what NetBeans does when you click on debug button, which opens the start page (index.php) with a get variable like: ?XDEBUG_SESSION_START=netbeans-xdebug. This value (netbeans-xdebug) can change from your NetBeans configuration (click on preferences and choose the PHP tab). When this parameter is given, you can send any request to the NetBeans and it will listen!
&lt;br&gt;&lt;br&gt; 
All you need to do:&lt;br&gt;&lt;/div&gt;&lt;a href=&quot;http://magentocommerceblog.blogspot.com/2012/09/debugging-magento-code-with-net-beans.html#more&quot;&gt;Read more »&lt;/a&gt;</content><link rel='replies' type='application/atom+xml' href='http://magentocommerceblog.blogspot.com/feeds/6408019892112993221/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://magentocommerceblog.blogspot.com/2012/09/debugging-magento-code-with-net-beans.html#comment-form' title='2 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/562392500751603694/posts/default/6408019892112993221'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/562392500751603694/posts/default/6408019892112993221'/><link rel='alternate' type='text/html' href='http://magentocommerceblog.blogspot.com/2012/09/debugging-magento-code-with-net-beans.html' title='Debugging Magento Code with Net Beans IDE'/><author><name>rajthegr8</name><uri>http://www.blogger.com/profile/01079405664071562642</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='24' src='http://2.bp.blogspot.com/_HACkVIGIr8A/S6oSyca0NYI/AAAAAAAAAAs/VgYr6rvWNRo/S220/08032010(003).jpg'/></author><thr:total>2</thr:total></entry><entry><id>tag:blogger.com,1999:blog-562392500751603694.post-647860350971308282</id><published>2012-09-23T01:37:00.003+05:30</published><updated>2012-09-23T01:41:28.120+05:30</updated><title type='text'>How to use a external Script to run Magento Code.</title><content type='html'>To make any external script to perform any task we need to include ‘app/Mage.php‘ of our Magento installation. Then, we can use the code of magento in that external script.&lt;br&gt;For example, to fetch Product data from Magento shop in any external script.&lt;br&gt;&lt;pre class=&quot;prettyprint&quot;&gt;&lt;br&gt;/**&lt;br&gt; * Include Mage.php of your Magento installation&lt;br&gt; */&lt;br&gt;require_once(&amp;quot;../magento/app/Mage.php&amp;quot;);&lt;br&gt;&lt;br&gt;Mage::app(&amp;#39;default&amp;#39;); &lt;br&gt;/**&lt;br&gt; * To get Product Data&lt;br&gt; * For example productId is &amp;#39;11&amp;#39;&lt;br&gt; */&lt;br&gt;$productId = 11;&lt;br&gt;$product = Mage::getModel(&amp;#39;catalog/product&amp;#39;)-&gt;load($productId);  &lt;br&gt;/**&lt;br&gt; *To Print name,,sku, price and quantity of the product&lt;br&gt; */&lt;br&gt;echo &amp;quot;Name: &amp;quot;.$product-&gt;getName();&lt;br&gt;echo &amp;quot;Sku: &amp;quot;.$product-&gt;geSku();&lt;br&gt;echo &amp;quot;Price: &amp;quot;.$product-&gt;getPrice();&lt;br&gt;echo &amp;quot;Quantity: &amp;quot;.$product-&gt;getStockItem()-&gt;getQty();&lt;br&gt;&lt;/pre&gt;&lt;a href=&quot;http://magentocommerceblog.blogspot.com/2012/09/how-to-use-external-script-to-run.html#more&quot;&gt;Read more »&lt;/a&gt;</content><link rel='replies' type='application/atom+xml' href='http://magentocommerceblog.blogspot.com/feeds/647860350971308282/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://magentocommerceblog.blogspot.com/2012/09/how-to-use-external-script-to-run.html#comment-form' title='12 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/562392500751603694/posts/default/647860350971308282'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/562392500751603694/posts/default/647860350971308282'/><link rel='alternate' type='text/html' href='http://magentocommerceblog.blogspot.com/2012/09/how-to-use-external-script-to-run.html' title='How to use a external Script to run Magento Code.'/><author><name>rajthegr8</name><uri>http://www.blogger.com/profile/01079405664071562642</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='24' src='http://2.bp.blogspot.com/_HACkVIGIr8A/S6oSyca0NYI/AAAAAAAAAAs/VgYr6rvWNRo/S220/08032010(003).jpg'/></author><thr:total>12</thr:total></entry><entry><id>tag:blogger.com,1999:blog-562392500751603694.post-1874513331865028740</id><published>2012-09-23T01:25:00.000+05:30</published><updated>2012-09-23T01:25:03.586+05:30</updated><title type='text'>Insert ,Update ,Delete and Select Records from Database Tables in Magento</title><content type='html'>You can select,insert,update and delete data in the Magento wby using their models concept. &lt;br&gt;For example,a table named ‘testdata‘ with the following fields:-&lt;pre class=&quot;prettyprint&quot;&gt;id : int, auto increment, primary key&lt;br&gt;firstname: varchar&lt;br&gt;lastname: varchar&lt;br&gt; &lt;/pre&gt;&lt;a href=&quot;http://magentocommerceblog.blogspot.com/2012/09/insert-update-delete-and-select-records.html#more&quot;&gt;Read more »&lt;/a&gt;</content><link rel='replies' type='application/atom+xml' href='http://magentocommerceblog.blogspot.com/feeds/1874513331865028740/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://magentocommerceblog.blogspot.com/2012/09/insert-update-delete-and-select-records.html#comment-form' title='6 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/562392500751603694/posts/default/1874513331865028740'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/562392500751603694/posts/default/1874513331865028740'/><link rel='alternate' type='text/html' href='http://magentocommerceblog.blogspot.com/2012/09/insert-update-delete-and-select-records.html' title='Insert ,Update ,Delete and Select Records from Database Tables in Magento'/><author><name>rajthegr8</name><uri>http://www.blogger.com/profile/01079405664071562642</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='24' src='http://2.bp.blogspot.com/_HACkVIGIr8A/S6oSyca0NYI/AAAAAAAAAAs/VgYr6rvWNRo/S220/08032010(003).jpg'/></author><thr:total>6</thr:total></entry><entry><id>tag:blogger.com,1999:blog-562392500751603694.post-1277961374916019999</id><published>2012-09-23T00:42:00.001+05:30</published><updated>2012-09-23T00:45:20.286+05:30</updated><title type='text'>How to add Category Attributes in Magento</title><content type='html'>We can add attributes to categories by running sql query in our database ,but this is not a good way of doing. We can use better way that is, set up scripts feature of magento.&lt;br&gt;
We can create a custom module and add a mysql set up file inside below location:&lt;br&gt;
CustomNamespace/CustomModule/sql/custommodule_setup/
&lt;br&gt;Add the following code inside it to add category attributes :&lt;br&gt;

&lt;pre class=&quot;prettyprint&quot;&gt;$installer = $this;&lt;br&gt;$setup = new Mage_Eav_Model_Entity_Setup(&amp;#39;core_setup&amp;#39;);&lt;br&gt;$installer-&gt;startSetup(); &lt;br&gt;$setup-&gt;addAttribute(&amp;#39;catalog_category&amp;#39;, &amp;#39;custom_category_attribute&amp;#39;, array(&lt;br&gt;    &amp;#39;group&amp;#39;         =&gt; &amp;#39;General&amp;#39;,&lt;br&gt;    &amp;#39;input&amp;#39;         =&gt; &amp;#39;text&amp;#39;,&lt;br&gt;    &amp;#39;type&amp;#39;          =&gt; &amp;#39;varchar&amp;#39;,&lt;br&gt;    &amp;#39;label&amp;#39;         =&gt; &amp;#39;Custom New Category Attribute&amp;#39;,&lt;br&gt;    &amp;#39;backend&amp;#39;       =&gt; &amp;#39;&amp;#39;,&lt;br&gt;    &amp;#39;visible&amp;#39;       =&gt; 1,&lt;br&gt;    &amp;#39;required&amp;#39;      =&gt; 0,&lt;br&gt;    &amp;#39;user_defined&amp;#39; =&gt; 1,&lt;br&gt;    &amp;#39;global&amp;#39;        =&gt; Mage_Catalog_Model_Resource_Eav_Attribute::SCOPE_GLOBAL,&lt;br&gt;)); &lt;br&gt;$installer-&gt;endSetup();&lt;/pre&gt;&lt;br&gt;
&lt;a href=&quot;http://magentocommerceblog.blogspot.com/2012/09/how-to-add-category-attributes-in.html#more&quot;&gt;Read more »&lt;/a&gt;</content><link rel='replies' type='application/atom+xml' href='http://magentocommerceblog.blogspot.com/feeds/1277961374916019999/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://magentocommerceblog.blogspot.com/2012/09/how-to-add-category-attributes-in.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/562392500751603694/posts/default/1277961374916019999'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/562392500751603694/posts/default/1277961374916019999'/><link rel='alternate' type='text/html' href='http://magentocommerceblog.blogspot.com/2012/09/how-to-add-category-attributes-in.html' title='How to add Category Attributes in Magento'/><author><name>rajthegr8</name><uri>http://www.blogger.com/profile/01079405664071562642</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='24' src='http://2.bp.blogspot.com/_HACkVIGIr8A/S6oSyca0NYI/AAAAAAAAAAs/VgYr6rvWNRo/S220/08032010(003).jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-562392500751603694.post-2522234495812519385</id><published>2012-09-23T00:21:00.003+05:30</published><updated>2012-09-23T00:27:35.540+05:30</updated><title type='text'>How to add breadcrumb in magento</title><content type='html'>Breadcrumb is necessary for making website pages user navigation friendly.
It can be printed out in any of the php or phtml pages by below code:

We can also add our own breadcrumbs as per our requirements in our custom module.A method defined in mage &lt;span style= &quot;color:blue;&quot;&gt;&amp;quot;Mage_Page_Block_Html_Breadcrumbs&amp;quot; Class&lt;/span&gt;.We can use it to add crumb:&lt;br&gt;
addCrumb ($crumbName, $crumbInfo, $after=false)
&lt;br&gt;
There are two ways to add crumb i.e. one by xml layout and another by using code:
&lt;br&gt;
By using code we can add breadcrumb like this:
&lt;pre class=&quot;prettyprint&quot;&gt;$breadcrumbs = $this-&gt;getLayout()-&gt;getBlock(&amp;#39;breadcrumbs&amp;#39;);&lt;br&gt;$breadcrumbs-&gt;addCrumb(&amp;#39;home&amp;#39;,array(&amp;#39;label&amp;#39;=&gt;Mage::helper(&amp;#39;cms&amp;#39;)-&gt;__(&amp;#39;Home&amp;#39;),                   &amp;#39;title&amp;#39;=&gt;Mage::helper(&amp;#39;cms&amp;#39;)-&gt;__(&amp;#39;Home Page&amp;#39;),&lt;br&gt;           &amp;#39;link&amp;#39;=&gt;Mage::getBaseUrl()));&lt;/pre&gt;&lt;a href=&quot;http://magentocommerceblog.blogspot.com/2012/09/how-to-add-breadcrumb-in-magento.html#more&quot;&gt;Read more »&lt;/a&gt;</content><link rel='replies' type='application/atom+xml' href='http://magentocommerceblog.blogspot.com/feeds/2522234495812519385/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://magentocommerceblog.blogspot.com/2012/09/how-to-add-breadcrumb-in-magento.html#comment-form' title='1 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/562392500751603694/posts/default/2522234495812519385'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/562392500751603694/posts/default/2522234495812519385'/><link rel='alternate' type='text/html' href='http://magentocommerceblog.blogspot.com/2012/09/how-to-add-breadcrumb-in-magento.html' title='How to add breadcrumb in magento'/><author><name>rajthegr8</name><uri>http://www.blogger.com/profile/01079405664071562642</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='24' src='http://2.bp.blogspot.com/_HACkVIGIr8A/S6oSyca0NYI/AAAAAAAAAAs/VgYr6rvWNRo/S220/08032010(003).jpg'/></author><thr:total>1</thr:total></entry><entry><id>tag:blogger.com,1999:blog-562392500751603694.post-8958589459042504050</id><published>2012-08-23T20:37:00.002+05:30</published><updated>2012-08-23T20:50:01.830+05:30</updated><title type='text'>Elastic Load Balancing with Sticky Sessions</title><content type='html'>
Before starting the post,i would like to explain about sticky session,&lt;br&gt;
&lt;b&gt;What is Session Affinity (Sticky Sessions)?&lt;/b&gt; &lt;br&gt;

When you only have one application server talking to your clients life is easy:&lt;br&gt; all the session contexts can be stored in that application server’s memory for fast retrieval. But in the world of highly available and scalable applications there’s likely to be more than one application server fulfilling requests, behind a load balancer. The load balancer routes the first request to an application server, who stores the session context in its own memory and gives the client back a cookie. The next request from the same client will contain the cookie – and, if the same application server gets the request again, the application will rediscover the session context. But what happens if that client’s next request instead gets routed to a different application server? That application server will not have the session context in its memory – even though the request contains the cookie, the application can’t discover the context.
&lt;br&gt;&lt;br&gt;
If you’re willing to modify your application you can overcome this problem. You can store the session context in a shared location, visible to all application servers: the database or memcached, for example. All application servers will then be able to lookup the cookie in the central, shared location and discover the context. Until now, this was the approach you needed to take in order to retain the session context behind an Elastic Load Balancer.
&lt;br&gt;&lt;br&gt;
But not all applications can be modified in this way. And not all developers want to modify existing applications. Instead of modifying the application, you need the load balancer to route the same client to the same application server. Once the client’s request has been routed to the correct application server, that application server can lookup the session cookie in its own memory and recover the conversational context.
&lt;br&gt;&lt;br&gt;
&lt;strong&gt;That’s what sticky sessions are:&lt;/strong&gt;&lt;br&gt; the load balancer routing the same client to the same application server. And that’s why they’re so important: If the load balancer supports sticky sessions then you don’t need to modify your application to remember client session context.
&lt;br&gt;&lt;br&gt;
&lt;b&gt;&lt;span style=&quot;font-size:18px;&quot;&gt;&amp;quot;How to Use ELB with Sticky Sessions with Existing Applications&lt;/span&gt;&lt;/b&gt;
&lt;br&gt;&lt;br&gt;
The key to managing ELB sticky sessions is the duration of the stickiness: how long the client should consistently be routed to the same back-end instance. Too short, and the session context will be lost, forcing the client to login again. Too long, and the load balancer will not be able to distribute requests equally across the application servers.
&lt;br&gt;&lt;br&gt;&lt;a href=&quot;http://magentocommerceblog.blogspot.com/2012/08/elastic-load-balancing-with-sticky.html#more&quot;&gt;Read more »&lt;/a&gt;</content><link rel='replies' type='application/atom+xml' href='http://magentocommerceblog.blogspot.com/feeds/8958589459042504050/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://magentocommerceblog.blogspot.com/2012/08/elastic-load-balancing-with-sticky.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/562392500751603694/posts/default/8958589459042504050'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/562392500751603694/posts/default/8958589459042504050'/><link rel='alternate' type='text/html' href='http://magentocommerceblog.blogspot.com/2012/08/elastic-load-balancing-with-sticky.html' title='Elastic Load Balancing with Sticky Sessions'/><author><name>rajthegr8</name><uri>http://www.blogger.com/profile/01079405664071562642</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='24' src='http://2.bp.blogspot.com/_HACkVIGIr8A/S6oSyca0NYI/AAAAAAAAAAs/VgYr6rvWNRo/S220/08032010(003).jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-562392500751603694.post-1241798426082182951</id><published>2012-08-18T11:28:00.002+05:30</published><updated>2012-08-18T11:32:20.822+05:30</updated><title type='text'>How to get all associated products to a configurable product in Magento</title><content type='html'>Configurable product is the product which is created by some Associated product, If you have an configurable product and you want to get list of all associated product and it&amp;#39;s attribute then, follow the below code:You must have your configurable product Id, My configurable product Id is 10 &lt;pre class=&quot;prettyprint&quot;&gt; 
$proId=10; //Use your Configurable product Id
$_product = new Mage_Catalog_Model_Product();&lt;/pre&gt;&lt;a href=&quot;http://magentocommerceblog.blogspot.com/2012/08/how-to-get-all-associated-products-to.html#more&quot;&gt;Read more »&lt;/a&gt;</content><link rel='replies' type='application/atom+xml' href='http://magentocommerceblog.blogspot.com/feeds/1241798426082182951/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://magentocommerceblog.blogspot.com/2012/08/how-to-get-all-associated-products-to.html#comment-form' title='2 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/562392500751603694/posts/default/1241798426082182951'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/562392500751603694/posts/default/1241798426082182951'/><link rel='alternate' type='text/html' href='http://magentocommerceblog.blogspot.com/2012/08/how-to-get-all-associated-products-to.html' title='How to get all associated products to a configurable product in Magento'/><author><name>rajthegr8</name><uri>http://www.blogger.com/profile/01079405664071562642</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='24' src='http://2.bp.blogspot.com/_HACkVIGIr8A/S6oSyca0NYI/AAAAAAAAAAs/VgYr6rvWNRo/S220/08032010(003).jpg'/></author><thr:total>2</thr:total></entry><entry><id>tag:blogger.com,1999:blog-562392500751603694.post-5929014566682041327</id><published>2012-08-18T11:07:00.002+05:30</published><updated>2012-08-18T11:09:52.092+05:30</updated><title type='text'>How to change Admin URL Path?</title><content type='html'>I will show you, how you can change the admin url. &lt;span style=&quot;font-weight:bold;&quot;&gt;Let’s say from ‘admin‘ to ‘administrater‘&lt;/span&gt;. So, the new admin URL will be http://www.magento.com/administrater/&lt;br&gt;Here is how we do it:-&lt;a href=&quot;http://magentocommerceblog.blogspot.com/2012/08/how-to-change-admin-url-path.html#more&quot;&gt;Read more »&lt;/a&gt;</content><link rel='replies' type='application/atom+xml' href='http://magentocommerceblog.blogspot.com/feeds/5929014566682041327/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://magentocommerceblog.blogspot.com/2012/08/how-to-change-admin-url-path.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/562392500751603694/posts/default/5929014566682041327'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/562392500751603694/posts/default/5929014566682041327'/><link rel='alternate' type='text/html' href='http://magentocommerceblog.blogspot.com/2012/08/how-to-change-admin-url-path.html' title='How to change Admin URL Path?'/><author><name>rajthegr8</name><uri>http://www.blogger.com/profile/01079405664071562642</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='24' src='http://2.bp.blogspot.com/_HACkVIGIr8A/S6oSyca0NYI/AAAAAAAAAAs/VgYr6rvWNRo/S220/08032010(003).jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-562392500751603694.post-1732590141203449339</id><published>2012-04-11T22:56:00.006+05:30</published><updated>2012-04-11T23:15:33.173+05:30</updated><title type='text'>How to setup MySQL Master-Slave Replication on magento</title><content type='html'>This is an article to show you ,how you can set MySql Master-slave replication in magento for scalability ,handle failover and performance.&lt;br&gt;You will have to use Slave database for read (select queries) Operations and Master database for write( insert and update queries).&lt;br&gt;Make changes in the following config file of magento:&lt;br&gt;&lt;span style=&quot;font-weight:bold;&quot;&gt;app/etc/local.xml&lt;/span&gt;&lt;pre class=&quot;prettyprint&quot;&gt;&lt;br&gt;&amp;lt;default_setup&amp;gt;&lt;br&gt;    &amp;lt;connection&amp;gt;&lt;br&gt;        &amp;lt;host&amp;gt;&amp;lt;![CDATA[Master-host]]&amp;gt;&amp;lt;/host&amp;gt;&lt;br&gt;        &amp;lt;username&amp;gt;&amp;lt;![CDATA[user]]&amp;gt;&amp;lt;/username&amp;gt;&lt;br&gt;        &amp;lt;password&amp;gt;&amp;lt;![CDATA[pass]]&amp;gt;&amp;lt;/password&amp;gt;&lt;br&gt;        &amp;lt;dbname&amp;gt;&amp;lt;![CDATA[magentodb]]&amp;gt;&amp;lt;/dbname&amp;gt;&lt;br&gt;        &amp;lt;active&amp;gt;1&amp;lt;/active&amp;gt;&lt;br&gt;    &amp;lt;/connection&amp;gt;&lt;br&gt;&amp;lt;/default_setup&amp;gt;&lt;/pre&gt;&lt;a href=&quot;http://magentocommerceblog.blogspot.com/2012/04/how-to-setup-mysql-master-slave.html#more&quot;&gt;Read more »&lt;/a&gt;</content><link rel='replies' type='application/atom+xml' href='http://magentocommerceblog.blogspot.com/feeds/1732590141203449339/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://magentocommerceblog.blogspot.com/2012/04/how-to-setup-mysql-master-slave.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/562392500751603694/posts/default/1732590141203449339'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/562392500751603694/posts/default/1732590141203449339'/><link rel='alternate' type='text/html' href='http://magentocommerceblog.blogspot.com/2012/04/how-to-setup-mysql-master-slave.html' title='How to setup MySQL Master-Slave Replication on magento'/><author><name>rajthegr8</name><uri>http://www.blogger.com/profile/01079405664071562642</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='24' src='http://2.bp.blogspot.com/_HACkVIGIr8A/S6oSyca0NYI/AAAAAAAAAAs/VgYr6rvWNRo/S220/08032010(003).jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-562392500751603694.post-3006008980592312046</id><published>2012-03-17T22:54:00.003+05:30</published><updated>2012-03-17T23:11:29.248+05:30</updated><title type='text'>Integrate Memcached in Magento</title><content type='html'>Integrate memcache in your magento application which will increase the speed of Magento page loads as much as possible..In this this article i will tell you how you can do it.&lt;br&gt;Magento has built in support of memcached ,you only need to enabled it by making some changes in the configuration file.&lt;br&gt;Memcached is a high-performance memory object caching system that is designed to speed page loads on dynamic content websites. Magento supports Memcached for caching many objects, but it is not enabled by default and will require some simple changes to your configured local.xml file to use.&lt;br&gt;&lt;br&gt;First, be sure that Memcached is installed and running on your server. It by default listens on port 11211. A ‘netstat’ will verify that you do indeed have a Memcached listening socket on port 11211 indicating that is it running. Configuring Memcached to listen on localhost is recommended as it would be a security risk allowing any external sources access Memcached directly if it were to be listening on an external ip that wasn’t firewalled.&lt;br&gt;&lt;br&gt;You also need to be sure that Memcached support is loaded into PHP. A view on a phpinfo() page can verify this, just look for the ‘Memcache’ block in the phpinfo and be sure it is ‘enabled’.&lt;br&gt;&lt;br&gt;To enable Memcached within Magento, you will need to add the following block of code to your &lt;span style=&quot;font-weight:bold;&quot;&gt;app/etc/local.xml&lt;/span&gt; file: &lt;a href=&quot;http://magentocommerceblog.blogspot.com/2012/03/integrate-memcached-in-magento.html#more&quot;&gt;Read more »&lt;/a&gt;</content><link rel='replies' type='application/atom+xml' href='http://magentocommerceblog.blogspot.com/feeds/3006008980592312046/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://magentocommerceblog.blogspot.com/2012/03/integrate-memcached-in-magento.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/562392500751603694/posts/default/3006008980592312046'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/562392500751603694/posts/default/3006008980592312046'/><link rel='alternate' type='text/html' href='http://magentocommerceblog.blogspot.com/2012/03/integrate-memcached-in-magento.html' title='Integrate Memcached in Magento'/><author><name>rajthegr8</name><uri>http://www.blogger.com/profile/01079405664071562642</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='24' src='http://2.bp.blogspot.com/_HACkVIGIr8A/S6oSyca0NYI/AAAAAAAAAAs/VgYr6rvWNRo/S220/08032010(003).jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-562392500751603694.post-4752288134787882963</id><published>2011-12-14T23:38:00.000+05:30</published><updated>2011-12-27T22:51:09.320+05:30</updated><title type='text'>Call Static Blocks From Any PHTML File in Magento</title><content type='html'>In this article i am going to show you...How to call a static block from any template(.phtml) file in Magento.You can easily call any static block from template (phtml) file. At first, you have to create a static block from admin, &lt;span style=&quot;font-weight:bold;&quot;&gt;CMS-&gt;Static Blocks&lt;/span&gt; .&lt;br /&gt;Let us suppose, you created a static block with the identifier footer_links.&lt;br /&gt;Now, you can call the static block from any phtml file with the help of following code:&lt;br /&gt;&lt;pre class=&quot;prettyprint&quot;&gt;&amp;lt;?php echo $this-&gt;getLayout()-&gt;createBlock(&#39;cms/block&#39;)&lt;br /&gt;-&gt;setBlockId(&#39;footer_links&#39;)-&gt;toHTML();?&amp;gt;&lt;/pre&gt;</content><link rel='replies' type='application/atom+xml' href='http://magentocommerceblog.blogspot.com/feeds/4752288134787882963/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://magentocommerceblog.blogspot.com/2011/12/call-static-blocks-from-any-phtml-file.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/562392500751603694/posts/default/4752288134787882963'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/562392500751603694/posts/default/4752288134787882963'/><link rel='alternate' type='text/html' href='http://magentocommerceblog.blogspot.com/2011/12/call-static-blocks-from-any-phtml-file.html' title='Call Static Blocks From Any PHTML File in Magento'/><author><name>rajthegr8</name><uri>http://www.blogger.com/profile/01079405664071562642</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='24' src='http://2.bp.blogspot.com/_HACkVIGIr8A/S6oSyca0NYI/AAAAAAAAAAs/VgYr6rvWNRo/S220/08032010(003).jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-562392500751603694.post-5702312116478843992</id><published>2011-12-11T01:35:00.000+05:30</published><updated>2011-12-13T23:53:26.336+05:30</updated><title type='text'>Use any SMTP to send mail in Magento</title><content type='html'>This article will explain how to create an extension to send all the emails through gmail or other servers.I have created an module to set up an email account from admin.&lt;br&gt;I have made use of &lt;span style=&quot;font-weight:bold;&quot;&gt;&amp;quot;Zend_Mail_Transport_Smtp&amp;quot;&lt;/span&gt; class to make it possible.&lt;a href=&quot;http://magentocommerceblog.blogspot.com/2011/12/send-mail-through-gmail-or-other-server.html#more&quot;&gt;Read more »&lt;/a&gt;</content><link rel='replies' type='application/atom+xml' href='http://magentocommerceblog.blogspot.com/feeds/5702312116478843992/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://magentocommerceblog.blogspot.com/2011/12/send-mail-through-gmail-or-other-server.html#comment-form' title='17 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/562392500751603694/posts/default/5702312116478843992'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/562392500751603694/posts/default/5702312116478843992'/><link rel='alternate' type='text/html' href='http://magentocommerceblog.blogspot.com/2011/12/send-mail-through-gmail-or-other-server.html' title='Use any SMTP to send mail in Magento'/><author><name>rajthegr8</name><uri>http://www.blogger.com/profile/01079405664071562642</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='24' src='http://2.bp.blogspot.com/_HACkVIGIr8A/S6oSyca0NYI/AAAAAAAAAAs/VgYr6rvWNRo/S220/08032010(003).jpg'/></author><thr:total>17</thr:total></entry><entry><id>tag:blogger.com,1999:blog-562392500751603694.post-2648497411250414161</id><published>2011-12-09T14:53:00.000+05:30</published><updated>2011-12-13T23:59:12.245+05:30</updated><title type='text'>Magento Files and Folders Structure</title><content type='html'>This part of the Magento tutorial will provide detailed information regarding the Magento&amp;#39;s default files and folders structure.&lt;br&gt;You will learn more about the functions of main files and folders included in the Magento package.&lt;br&gt;The files and folders included in the main directory are as follows:&lt;br&gt;&lt;span style=&quot;font-weight:bold;&quot;&gt;• .htaccess&lt;/span&gt; - contains mod_rewrite rules, which are essential for the Search Engine Friendly URLs. There you can also find standard web server and php directives that can improve your web site performance.&lt;br&gt;&lt;span style=&quot;font-weight:bold;&quot;&gt;• .htaccess.sample&lt;/span&gt; - this is a backup of the .htaccess file. If you modify .htaccess it can be used in order to get the default settings.&lt;br&gt;&lt;span style=&quot;font-weight:bold;&quot;&gt;• 404 (directory)&lt;/span&gt; - The folder stores the default 404 template and skin for Magento.&lt;br&gt;&lt;span style=&quot;font-weight:bold;&quot;&gt;• app (directory)&lt;/span&gt; - This folder contains the modules, themes, configuration and translation files. Also there are the template files for the default administration&lt;br&gt;theme and the installation.&lt;a href=&quot;http://magentocommerceblog.blogspot.com/2011/12/magento-files-and-folders-structure.html#more&quot;&gt;Read more »&lt;/a&gt;</content><link rel='replies' type='application/atom+xml' href='http://magentocommerceblog.blogspot.com/feeds/2648497411250414161/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://magentocommerceblog.blogspot.com/2011/12/magento-files-and-folders-structure.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/562392500751603694/posts/default/2648497411250414161'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/562392500751603694/posts/default/2648497411250414161'/><link rel='alternate' type='text/html' href='http://magentocommerceblog.blogspot.com/2011/12/magento-files-and-folders-structure.html' title='Magento Files and Folders Structure'/><author><name>rajthegr8</name><uri>http://www.blogger.com/profile/01079405664071562642</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='24' src='http://2.bp.blogspot.com/_HACkVIGIr8A/S6oSyca0NYI/AAAAAAAAAAs/VgYr6rvWNRo/S220/08032010(003).jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-562392500751603694.post-7757584718778790969</id><published>2011-12-09T14:43:00.000+05:30</published><updated>2011-12-13T23:59:44.307+05:30</updated><title type='text'>Common issues with importing/exporting</title><content type='html'>You can import/export data by using megento inbuilt import/export feature.&lt;br&gt;Go to &lt;span style=&quot;font-weight:bold;&quot;&gt;System-&gt;Import/Export-&gt;Dataflow-Profiles. &lt;/span&gt; However, during the import and the export procedures different issues can occur.&lt;br&gt;The most common ones are as follows:&lt;br&gt;&lt;span style=&quot;font-weight:bold;&quot;&gt;• Incorrect CSV file formatting &lt;/span&gt;- A bad formatting of a CSV file can cause a failed data import or missing rows after the import. The issue occurs more often with CSV files that with MS Excel since CSV is more prone to data failures due to a bad formatting.&lt;a href=&quot;http://magentocommerceblog.blogspot.com/2011/12/common-issues-with-importingexporting.html#more&quot;&gt;Read more »&lt;/a&gt;</content><link rel='replies' type='application/atom+xml' href='http://magentocommerceblog.blogspot.com/feeds/7757584718778790969/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://magentocommerceblog.blogspot.com/2011/12/common-issues-with-importingexporting.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/562392500751603694/posts/default/7757584718778790969'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/562392500751603694/posts/default/7757584718778790969'/><link rel='alternate' type='text/html' href='http://magentocommerceblog.blogspot.com/2011/12/common-issues-with-importingexporting.html' title='Common issues with importing/exporting'/><author><name>rajthegr8</name><uri>http://www.blogger.com/profile/01079405664071562642</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='24' src='http://2.bp.blogspot.com/_HACkVIGIr8A/S6oSyca0NYI/AAAAAAAAAAs/VgYr6rvWNRo/S220/08032010(003).jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-562392500751603694.post-306604495690163288</id><published>2011-12-09T14:12:00.000+05:30</published><updated>2011-12-14T00:00:19.635+05:30</updated><title type='text'>Magento Transfer From One Server To Another</title><content type='html'>This tutorial provides detailed information how to move a Magento store from one host to another (or to a different hosting account).&lt;br&gt;&lt;span style=&quot;font-weight:bold;&quot;&gt;MySQL database backup:-&lt;/span&gt;&lt;br&gt;PhpMyAdmin included by default in cPanel for your account. In other cases you will have to use the same tool or a similar one that is capable of exporting your MySQL database. Detailed information how to perform a MySQL backup you can find in MySQL Tutorial.&lt;br&gt;Alternatively if you don’t have phpMyAdmin installed but you have shell access you can use mysqldump tool. The syntax is as follow&lt;br&gt;&lt;span style=&quot;font-weight:bold;&quot;&gt;mysqldump -h HOST -u USER -p DATABASENAME &gt; FILENAME.sql&lt;/span&gt;&lt;br&gt;Where:&lt;br&gt;&lt;span style=&quot;font-weight:bold;&quot;&gt;HOST&lt;/span&gt; is the database server hostname or it can be omitted if you are running the MySQL server locally.&lt;br&gt;&lt;span style=&quot;font-weight:bold;&quot;&gt;USER&lt;/span&gt; - a user with full privileges to the Magento database.&lt;br&gt;&lt;span style=&quot;font-weight:bold;&quot;&gt;DATABASENAME&lt;/span&gt; - is the full name of the database which Magento is running.&lt;br&gt;&lt;span style=&quot;font-weight:bold;&quot;&gt;FILENAME&lt;/span&gt; - can be anything you find suitable for the backup file.&lt;br&gt;Also if you have Plesk, DirectAdmin or any other web hosting management tool- you can look at the available options. Many panels allow you to dump the database with just a few clicks. For example cPanel does have an option for this.&lt;br&gt;&lt;a href=&quot;http://magentocommerceblog.blogspot.com/2011/12/magento-move-magento-transfer.html#more&quot;&gt;Read more »&lt;/a&gt;</content><link rel='replies' type='application/atom+xml' href='http://magentocommerceblog.blogspot.com/feeds/306604495690163288/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://magentocommerceblog.blogspot.com/2011/12/magento-move-magento-transfer.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/562392500751603694/posts/default/306604495690163288'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/562392500751603694/posts/default/306604495690163288'/><link rel='alternate' type='text/html' href='http://magentocommerceblog.blogspot.com/2011/12/magento-move-magento-transfer.html' title='Magento Transfer From One Server To Another'/><author><name>rajthegr8</name><uri>http://www.blogger.com/profile/01079405664071562642</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='24' src='http://2.bp.blogspot.com/_HACkVIGIr8A/S6oSyca0NYI/AAAAAAAAAAs/VgYr6rvWNRo/S220/08032010(003).jpg'/></author><media:thumbnail xmlns:media="http://search.yahoo.com/mrss/" url="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEivBt2A6gzno-2HoQ48UeUpiACTn8lll2qv0tmdU83e12rKx6LnR0X85CH5gxKDWVgYR5UxsFDjXZI0mB_AnJdaYr-z5cCcFvY9WwxxZUDJlNC6q9P4V19HiVn_A-v_ih-GhBVEueYywv92/s72-c/magentomove01.jpg" height="72" width="72"/><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-562392500751603694.post-2843480528847938158</id><published>2011-12-09T14:02:00.000+05:30</published><updated>2011-12-14T00:00:47.192+05:30</updated><title type='text'>Magento Google Analytics</title><content type='html'>Google Analytics is a free Google service which allows the webmasters and web site administrators to monitor their web sites&amp;#39; traffic and conversion ratio.&lt;br&gt;Magento supports two types of tracking:&lt;br&gt;&lt;span style=&quot;font-weight:bold;&quot;&gt;Page View Tracking:&lt;/span&gt; Lists the origin from which your web store visitors linked to your store.&lt;br&gt;&lt;span style=&quot;font-weight:bold;&quot;&gt;E-commerce Tracking:&lt;/span&gt; Lists the customers that make purchases and what they buy.&lt;br&gt;First you need to sign up at &lt;a href=&quot;http://www.google.com/analytics/sign_up.html&quot;&gt;http://www.google.com/analytics/sign_up.html&lt;/a&gt;. You will receive a Google Analytics account number. Write it down since you will need it for the Magento configuration.&lt;a href=&quot;http://magentocommerceblog.blogspot.com/2011/12/magento-google-analytics.html#more&quot;&gt;Read more »&lt;/a&gt;</content><link rel='replies' type='application/atom+xml' href='http://magentocommerceblog.blogspot.com/feeds/2843480528847938158/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://magentocommerceblog.blogspot.com/2011/12/magento-google-analytics.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/562392500751603694/posts/default/2843480528847938158'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/562392500751603694/posts/default/2843480528847938158'/><link rel='alternate' type='text/html' href='http://magentocommerceblog.blogspot.com/2011/12/magento-google-analytics.html' title='Magento Google Analytics'/><author><name>rajthegr8</name><uri>http://www.blogger.com/profile/01079405664071562642</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='24' src='http://2.bp.blogspot.com/_HACkVIGIr8A/S6oSyca0NYI/AAAAAAAAAAs/VgYr6rvWNRo/S220/08032010(003).jpg'/></author><media:thumbnail xmlns:media="http://search.yahoo.com/mrss/" url="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEi0LS5S_ZGQT2t6rPo_UTBA6SgkgdjW-YLk0t_IzJADRsGy0ObPlwcUZaFcl_4ZtVTQNT9_Kl9VTkqMG8Gyo9cY-sxDbBEi5poA6dFf2mAf9XOuFR9uAg9tAmsK4LCfvxD9QyxTr87sCjkc/s72-c/46.jpg" height="72" width="72"/><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-562392500751603694.post-1647035691521681992</id><published>2011-12-09T13:55:00.000+05:30</published><updated>2011-12-14T00:01:19.228+05:30</updated><title type='text'>How to manage order emails</title><content type='html'>As I have mentioned in the &lt;span style=&quot;font-weight:bold;&quot;&gt;&lt;a href=&quot;http://magentocommerceblog.blogspot.com/2011/12/how-to-configure-magento-order-options.html&quot;&gt;Magento order options section&lt;/a&gt;&lt;/span&gt;, Magento has a very nice built-in email functionality called Sales Emails which allows you to manage the emails you send to your customers when an order is processed. Before you configure your emails, you might want to add new email templates. You can do this from the admin area &gt; System &gt; Transactional Emails.&lt;br&gt;Now let&amp;#39;s take a closer look at each of the options in Sales Emails:&lt;br&gt;&lt;a href=&quot;http://magentocommerceblog.blogspot.com/2011/12/how-to-manage-order-emails.html#more&quot;&gt;Read more »&lt;/a&gt;</content><link rel='replies' type='application/atom+xml' href='http://magentocommerceblog.blogspot.com/feeds/1647035691521681992/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://magentocommerceblog.blogspot.com/2011/12/how-to-manage-order-emails.html#comment-form' title='1 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/562392500751603694/posts/default/1647035691521681992'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/562392500751603694/posts/default/1647035691521681992'/><link rel='alternate' type='text/html' href='http://magentocommerceblog.blogspot.com/2011/12/how-to-manage-order-emails.html' title='How to manage order emails'/><author><name>rajthegr8</name><uri>http://www.blogger.com/profile/01079405664071562642</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='24' src='http://2.bp.blogspot.com/_HACkVIGIr8A/S6oSyca0NYI/AAAAAAAAAAs/VgYr6rvWNRo/S220/08032010(003).jpg'/></author><thr:total>1</thr:total></entry><entry><id>tag:blogger.com,1999:blog-562392500751603694.post-4188307206899946916</id><published>2011-12-08T20:51:00.000+05:30</published><updated>2011-12-14T00:01:55.655+05:30</updated><title type='text'>Magento Features</title><content type='html'>The large array of the Magento features is one of the main benefits of Magento. Through them you can easily develop and manage a successful online store. Magento features like different payment engines and shipping options along with the international support and high security using a private SSL certificate will make your shop an attractive place for e-commerce.&lt;br&gt;&lt;br&gt;&lt;span style=&quot;font-weight:bold;&quot;&gt;Magento main features include:&lt;/span&gt;&lt;a href=&quot;http://magentocommerceblog.blogspot.com/2011/12/magento-features.html#more&quot;&gt;Read more »&lt;/a&gt;</content><link rel='replies' type='application/atom+xml' href='http://magentocommerceblog.blogspot.com/feeds/4188307206899946916/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://magentocommerceblog.blogspot.com/2011/12/magento-features.html#comment-form' title='2 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/562392500751603694/posts/default/4188307206899946916'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/562392500751603694/posts/default/4188307206899946916'/><link rel='alternate' type='text/html' href='http://magentocommerceblog.blogspot.com/2011/12/magento-features.html' title='Magento Features'/><author><name>rajthegr8</name><uri>http://www.blogger.com/profile/01079405664071562642</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='24' src='http://2.bp.blogspot.com/_HACkVIGIr8A/S6oSyca0NYI/AAAAAAAAAAs/VgYr6rvWNRo/S220/08032010(003).jpg'/></author><thr:total>2</thr:total></entry></feed>