<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:wfw="http://wellformedweb.org/CommentAPI/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
	xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
	>

<channel>
	<title>Decrypt Web &#187; Magento</title>
	<atom:link href="http://blog.decryptweb.com/category/magento/feed/" rel="self" type="application/rss+xml" />
	<link>http://blog.decryptweb.com</link>
	<description>Open Source Web Solutions</description>
	<lastBuildDate>Sat, 24 Jul 2010 05:58:28 +0000</lastBuildDate>
	<generator>http://wordpress.org/?v=2.9.2</generator>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
			<item>
		<title>Catalog Product Model</title>
		<link>http://blog.decryptweb.com/magento-catalog-product-model/</link>
		<comments>http://blog.decryptweb.com/magento-catalog-product-model/#comments</comments>
		<pubDate>Tue, 29 Jun 2010 16:01:46 +0000</pubDate>
		<dc:creator>DWRoot</dc:creator>
				<category><![CDATA[Magento]]></category>
		<category><![CDATA[Catalog]]></category>
		<category><![CDATA[Model]]></category>
		<category><![CDATA[Product]]></category>

		<guid isPermaLink="false">http://blog.decryptweb.com/?p=179</guid>
		<description><![CDATA[While working in Magento, you might have seen that there are various model defined like sales,catalog etc.
I am writing here a script for working with catalog product model.

&#60;?php
$model = Mage::getModel('catalog/product') //get product model

//get product collection
$collection = $model-&#62;getCollection()
            -&#62;addStoreFilter()    //store filter
  [...]]]></description>
		<wfw:commentRss>http://blog.decryptweb.com/magento-catalog-product-model/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Mail in Magento</title>
		<link>http://blog.decryptweb.com/mail-in-magento/</link>
		<comments>http://blog.decryptweb.com/mail-in-magento/#comments</comments>
		<pubDate>Sun, 06 Jun 2010 05:03:18 +0000</pubDate>
		<dc:creator>DWRoot</dc:creator>
				<category><![CDATA[Magento]]></category>
		<category><![CDATA[Mail]]></category>
		<category><![CDATA[zend]]></category>

		<guid isPermaLink="false">http://blog.decryptweb.com/?p=176</guid>
		<description><![CDATA[While working in Magento eCommerce, many times need arises to send mail from within custom modules.
Magento is based on Zend, Zend has a class defined for doing this.
I am listing here the method for sending mail.

&#60;?php
$to_email = ‘test@test.com’;
$to_name = ‘to name’;
$subject = ‘Mail Testing’;
$Body = “Sending mail from magento”;
$sender_email = “sender@sender.com”;
$sender_name = “Sender Name”;

$mail = [...]]]></description>
		<wfw:commentRss>http://blog.decryptweb.com/mail-in-magento/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Get Product ID and Product Name in Magento</title>
		<link>http://blog.decryptweb.com/product-id-and-product-name/</link>
		<comments>http://blog.decryptweb.com/product-id-and-product-name/#comments</comments>
		<pubDate>Wed, 24 Feb 2010 13:48:43 +0000</pubDate>
		<dc:creator>DWRoot</dc:creator>
				<category><![CDATA[Magento]]></category>
		<category><![CDATA[Variables]]></category>

		<guid isPermaLink="false">http://blog.decryptweb.com/?p=122</guid>
		<description><![CDATA[In Magento eCommerce while working with catalog model, There arise the need to fetch product details from product id.
We can get all product details if we have product id.
But sometimes we only have product name, so we need to get product id for getting product details.
I am listing here both the method.
1) Product details from [...]]]></description>
		<wfw:commentRss>http://blog.decryptweb.com/product-id-and-product-name/feed/</wfw:commentRss>
		<slash:comments>3</slash:comments>
		</item>
		<item>
		<title>Develop,Package and Install Magento Module/Extension</title>
		<link>http://blog.decryptweb.com/install-magento-module/</link>
		<comments>http://blog.decryptweb.com/install-magento-module/#comments</comments>
		<pubDate>Wed, 17 Feb 2010 09:59:12 +0000</pubDate>
		<dc:creator>DWRoot</dc:creator>
				<category><![CDATA[Magento]]></category>
		<category><![CDATA[Extensions]]></category>
		<category><![CDATA[Install]]></category>
		<category><![CDATA[Modules]]></category>

		<guid isPermaLink="false">http://blog.decryptweb.com/?p=115</guid>
		<description><![CDATA[This is very useful for those who are working in Magento eCommerce. After making an module
(I will post the method to develop a module within few days). 
You can also refer this link for time being  Develop Custom Magento Module for creating module. 
You have to package the module after developing which is explained [...]]]></description>
		<wfw:commentRss>http://blog.decryptweb.com/install-magento-module/feed/</wfw:commentRss>
		<slash:comments>8</slash:comments>
		</item>
		<item>
		<title>Queries in Magento</title>
		<link>http://blog.decryptweb.com/magento-queries/</link>
		<comments>http://blog.decryptweb.com/magento-queries/#comments</comments>
		<pubDate>Thu, 21 Jan 2010 12:42:48 +0000</pubDate>
		<dc:creator>DWRoot</dc:creator>
				<category><![CDATA[Magento]]></category>
		<category><![CDATA[Connection]]></category>
		<category><![CDATA[MySQL]]></category>
		<category><![CDATA[Queries]]></category>

		<guid isPermaLink="false">http://blog.decryptweb.com/?p=82</guid>
		<description><![CDATA[I am describing here the method for executing custom MySQL queries in Magento.

&#60;?php
   //select query
   $read = Mage::getSingleton('core/resource')-&#62;getConnection('core_read');
//make connection
    $qry = &#34;select name FROM user_data WHERE id=1 LIMIT 1 &#34;; //query
    $res = $read-&#62;fetchRow($qry); //fetch row
    $name = $res['name']; //outputs name

  [...]]]></description>
		<wfw:commentRss>http://blog.decryptweb.com/magento-queries/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Blocks in Magento eCommerce</title>
		<link>http://blog.decryptweb.com/magento-blocks/</link>
		<comments>http://blog.decryptweb.com/magento-blocks/#comments</comments>
		<pubDate>Wed, 20 Jan 2010 14:13:30 +0000</pubDate>
		<dc:creator>DWRoot</dc:creator>
				<category><![CDATA[Magento]]></category>
		<category><![CDATA[Blocks]]></category>

		<guid isPermaLink="false">http://blog.decryptweb.com/?p=63</guid>
		<description><![CDATA[If you are using Magento Ecommerce, you might have created &#8216;Static Blocks&#8217; for integrating custom functionality.
I am listing here the method to create CMS Blocks.
Suppose you want a custom box to be displayed on right column.
1) Go to admin section there is menu &#8216;Static Blocks&#8217; in &#8216;CMS&#8217;.
2) Click &#8216;Add New Block&#8217;.
3) Fill in the fields
 [...]]]></description>
		<wfw:commentRss>http://blog.decryptweb.com/magento-blocks/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Magento Essentials</title>
		<link>http://blog.decryptweb.com/magento-essentials/</link>
		<comments>http://blog.decryptweb.com/magento-essentials/#comments</comments>
		<pubDate>Thu, 14 Jan 2010 06:01:48 +0000</pubDate>
		<dc:creator>DWRoot</dc:creator>
				<category><![CDATA[Magento]]></category>
		<category><![CDATA[Currency]]></category>
		<category><![CDATA[Path]]></category>
		<category><![CDATA[Store]]></category>
		<category><![CDATA[Symbol]]></category>
		<category><![CDATA[Variables]]></category>
		<category><![CDATA[Website]]></category>

		<guid isPermaLink="false">http://blog.decryptweb.com/?p=31</guid>
		<description><![CDATA[I am listing below important variable used in Magento.

&#60;?php
echo Mage::app()-&#62;getFrontController()-&#62;getRequest()-&#62;getHttpHost();
//displays host name

echo Mage::getBaseDir();  //gives  physical path of the sites root directory

echo $this-&#62;getSkinURL(); //gives  relative path of the sites default skin folder

echo Mage::getBaseURL(); //gives  relative path of the site

echo Mage::getURL(); //gives  relative path of the site

echo $customerEntityType = Mage::getModel('eav/entity')-&#62;setType('customer')-&#62;getTypeId();
//customer type

$website = [...]]]></description>
		<wfw:commentRss>http://blog.decryptweb.com/magento-essentials/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Connect different database from Magento</title>
		<link>http://blog.decryptweb.com/connect-database-magento/</link>
		<comments>http://blog.decryptweb.com/connect-database-magento/#comments</comments>
		<pubDate>Wed, 13 Jan 2010 15:12:28 +0000</pubDate>
		<dc:creator>DWRoot</dc:creator>
				<category><![CDATA[Magento]]></category>
		<category><![CDATA[Database]]></category>
		<category><![CDATA[MySQL]]></category>

		<guid isPermaLink="false">http://blog.decryptweb.com/?p=14</guid>
		<description><![CDATA[Some of you might have worked on Magento.
I am listing here points for connecting another database from Magento.
1) Suppose your database for Magento Project is named ‘magento’.
2) There is one other database named ‘wp’.
3) For using this database inside Magento, you need to setup connection in ‘config.xml’ file which resides in ‘urmagentodirectory/app/etc’
4) In ‘config.xml’ there [...]]]></description>
		<wfw:commentRss>http://blog.decryptweb.com/connect-database-magento/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>
