<?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>Magento Tutorial</title>
	<atom:link href="http://magentotutorial.net/feed/" rel="self" type="application/rss+xml" />
	<link>http://magentotutorial.net</link>
	<description>Magento tutorial Blog</description>
	<lastBuildDate>Thu, 16 May 2013 07:58:29 +0000</lastBuildDate>
	<language>en-US</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.4.2</generator>
		<item>
		<title>Magento Community Tutorials #32 &#8211; Theming Magento 8 &#8211; Hiding Default Blocks With Localxml</title>
		<link>http://magentotutorial.net/magento-community-tutorials-32-theming-magento-8-hiding-default-blocks-localxml/</link>
		<comments>http://magentotutorial.net/magento-community-tutorials-32-theming-magento-8-hiding-default-blocks-localxml/#comments</comments>
		<pubDate>Thu, 16 May 2013 07:58:29 +0000</pubDate>
		<dc:creator>Alice</dc:creator>
				<category><![CDATA[Magento Installation]]></category>

		<guid isPermaLink="false">http://magentotutorial.net/?p=1621</guid>
		<description><![CDATA[The 32nd tutorial for Magento Commerce Community Edition and the 8th on Theming Magento. This tutorial shows you how to use a local.xml file to override default blocks built into Magento such as the back to school callouts and various other blocks.]]></description>
			<content:encoded><![CDATA[<p>The 32nd tutorial for Magento Commerce Community Edition and the 8th on Theming Magento. This tutorial shows you how to use a local.xml file to override default blocks built into Magento such as the back to school callouts and various other blocks.</p>
]]></content:encoded>
			<wfw:commentRss>http://magentotutorial.net/magento-community-tutorials-32-theming-magento-8-hiding-default-blocks-localxml/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Use Observer In Magento</title>
		<link>http://magentotutorial.net/observer-magento/</link>
		<comments>http://magentotutorial.net/observer-magento/#comments</comments>
		<pubDate>Thu, 16 May 2013 07:56:29 +0000</pubDate>
		<dc:creator>Alice</dc:creator>
				<category><![CDATA[Magento Installation]]></category>

		<guid isPermaLink="false">http://magentotutorial.net/?p=1617</guid>
		<description><![CDATA[In magento Observer  catch magento events and run your function after that event. Magento events like  checkout_cart_product_add_after,checkout_cart_save_after etc you can get more magento events from Magento Events Cheat Sheet (1.7.0.0) This way of adding custom event before and after save is useful when we just need to add or do something before or after any Magento [...]]]></description>
			<content:encoded><![CDATA[<p style="text-align: justify;">In magento Observer  catch magento events and run your function after that event. Magento events like  checkout_cart_product_add_after,checkout_cart_save_after etc you can get more magento events from <a title="Magento Events Cheat Sheet (1.7.0.0)" href="http://http//www.nicksays.co.uk/magento-events-cheat-sheet-1-7/" onclick="return TrackClick('http%3A%2F%2Fhttp%2F%2Fwww.nicksays.co.uk%2Fmagento-events-cheat-sheet-1-7%2F','Magento+Events+Cheat+Sheet+%281.7.0.0%29')" target="_blank">Magento Events Cheat Sheet (1.7.0.0)</a></p>
<p style="text-align: justify;">This way of adding custom event before and after save is useful when we just need to add or do something before or after any Magento core event. For example, setting some values to some attributes before or after product is saved.</p>
<p style="text-align: justify;">For this, you just need to add add some event observer code in your module’s <strong>YourModule/etc/config.xml</strong>file and add a new observer <strong>YourModule/Model/Observer.php</strong></p>
<p style="text-align: justify;">In the example code below, I have added before and after event hook for customer address and catalog product. Customer address event hooks run before and after saving customer address and catalog product hooks run before and after saving products in admin.</p>
<p style="text-align: justify;"><strong>customer_address_save_before</strong> = runs just before saving customer address<br />
<strong>customer_address_save_after</strong> = runs immediately after saving customer address</p>
<p style="text-align: justify;"><strong>catalog_product_save_before</strong> = runs just before saving product<br />
<strong>catalog_product_save_after</strong> = runs just before saving product</p>
<p style="text-align: justify;">Here’s the code:-</p>
<p style="text-align: justify;"><strong>config.xml</strong></p>
<ol class="linenums" style="text-align: justify;">
<li class="L0"><span class="pun">&lt;</span><span class="pln">global</span><span class="pun">&gt;</span></li>
<li class="L1"><span class="pln">    </span><span class="pun">&lt;</span><span class="pln">events</span><span class="pun">&gt;</span><span class="pln">             </span></li>
<li class="L2"><span class="pln">        </span><span class="pun">&lt;</span><span class="pln">customer_address_save_before</span><span class="pun">&gt;</span></li>
<li class="L3"><span class="pln">            </span><span class="pun">&lt;</span><span class="pln">observers</span><span class="pun">&gt;</span></li>
<li class="L4"><span class="pln">                </span><span class="pun">&lt;</span><span class="pln">yourmodule</span><span class="pun">&gt;</span></li>
<li class="L5"><span class="pln">                    </span><span class="pun">&lt;</span><span class="pln">type</span><span class="pun">&gt;</span><span class="pln">singleton</span><span class="pun">&lt;/</span><span class="pln">type</span><span class="pun">&gt;</span></li>
<li class="L6"><span class="pln">                    </span><span class="pun">&lt;</span><span class="kwd">class</span><span class="pun">&gt;</span><span class="pln">yourmodule</span><span class="pun">/</span><span class="pln">observer</span><span class="pun">&lt;/</span><span class="kwd">class</span><span class="pun">&gt;</span></li>
<li class="L7"><span class="pln">                    </span><span class="pun">&lt;</span><span class="pln">method</span><span class="pun">&gt;</span><span class="pln">customer_address_save_before</span><span class="pun">&lt;/</span><span class="pln">method</span><span class="pun">&gt;</span></li>
<li class="L8"><span class="pln">                </span><span class="pun">&lt;/</span><span class="pln">yourmodule</span><span class="pun">&gt;</span></li>
<li class="L9"><span class="pln">            </span><span class="pun">&lt;/</span><span class="pln">observers</span><span class="pun">&gt;</span></li>
<li class="L0"><span class="pln">        </span><span class="pun">&lt;/</span><span class="pln">customer_address_save_before</span><span class="pun">&gt;</span></li>
<li class="L1"><span class="pln"> </span></li>
<li class="L2"><span class="pln">        </span><span class="pun">&lt;</span><span class="pln">customer_address_save_after</span><span class="pun">&gt;</span></li>
<li class="L3"><span class="pln">            </span><span class="pun">&lt;</span><span class="pln">observers</span><span class="pun">&gt;</span></li>
<li class="L4"><span class="pln">                </span><span class="pun">&lt;</span><span class="pln">yourmodule</span><span class="pun">&gt;</span></li>
<li class="L5"><span class="pln">                    </span><span class="pun">&lt;</span><span class="pln">type</span><span class="pun">&gt;</span><span class="pln">singleton</span><span class="pun">&lt;/</span><span class="pln">type</span><span class="pun">&gt;</span></li>
<li class="L6"><span class="pln">                    </span><span class="pun">&lt;</span><span class="kwd">class</span><span class="pun">&gt;</span><span class="pln">yourmodule</span><span class="pun">/</span><span class="pln">observer</span><span class="pun">&lt;/</span><span class="kwd">class</span><span class="pun">&gt;</span></li>
<li class="L7"><span class="pln">                    </span><span class="pun">&lt;</span><span class="pln">method</span><span class="pun">&gt;</span><span class="pln">customer_address_save_after</span><span class="pun">&lt;/</span><span class="pln">method</span><span class="pun">&gt;</span></li>
<li class="L8"><span class="pln">                </span><span class="pun">&lt;/</span><span class="pln">yourmodule</span><span class="pun">&gt;</span></li>
<li class="L9"><span class="pln">            </span><span class="pun">&lt;/</span><span class="pln">observers</span><span class="pun">&gt;</span></li>
<li class="L0"><span class="pln">        </span><span class="pun">&lt;/</span><span class="pln">customer_address_save_after</span><span class="pun">&gt;</span></li>
<li class="L1"><span class="pln"> </span></li>
<li class="L2"><span class="pln">        </span><span class="pun">&lt;</span><span class="pln">catalog_product_save_before</span><span class="pun">&gt;</span></li>
<li class="L3"><span class="pln">            </span><span class="pun">&lt;</span><span class="pln">observers</span><span class="pun">&gt;</span></li>
<li class="L4"><span class="pln">                </span><span class="pun">&lt;</span><span class="pln">yourmodule</span><span class="pun">&gt;</span></li>
<li class="L5"><span class="pln">                    </span><span class="pun">&lt;</span><span class="pln">type</span><span class="pun">&gt;</span><span class="pln">singleton</span><span class="pun">&lt;/</span><span class="pln">type</span><span class="pun">&gt;</span></li>
<li class="L6"><span class="pln">                    </span><span class="pun">&lt;</span><span class="kwd">class</span><span class="pun">&gt;</span><span class="pln">yourmodule</span><span class="pun">/</span><span class="pln">observer</span><span class="pun">&lt;/</span><span class="kwd">class</span><span class="pun">&gt;</span></li>
<li class="L7"><span class="pln">                    </span><span class="pun">&lt;</span><span class="pln">method</span><span class="pun">&gt;</span><span class="pln">catalog_product_save_before</span><span class="pun">&lt;/</span><span class="pln">method</span><span class="pun">&gt;</span></li>
<li class="L8"><span class="pln">                </span><span class="pun">&lt;/</span><span class="pln">yourmodule</span><span class="pun">&gt;</span></li>
<li class="L9"><span class="pln">            </span><span class="pun">&lt;/</span><span class="pln">observers</span><span class="pun">&gt;</span></li>
<li class="L0"><span class="pln">        </span><span class="pun">&lt;/</span><span class="pln">catalog_product_save_before</span><span class="pun">&gt;</span></li>
<li class="L1"><span class="pln"> </span></li>
<li class="L2"><span class="pln">        </span><span class="pun">&lt;</span><span class="pln">catalog_product_save_after</span><span class="pun">&gt;</span></li>
<li class="L3"><span class="pln">            </span><span class="pun">&lt;</span><span class="pln">observers</span><span class="pun">&gt;</span></li>
<li class="L4"><span class="pln">                </span><span class="pun">&lt;</span><span class="pln">yourmodule</span><span class="pun">&gt;</span></li>
<li class="L5"><span class="pln">                    </span><span class="pun">&lt;</span><span class="pln">type</span><span class="pun">&gt;</span><span class="pln">singleton</span><span class="pun">&lt;/</span><span class="pln">type</span><span class="pun">&gt;</span></li>
<li class="L6"><span class="pln">                    </span><span class="pun">&lt;</span><span class="kwd">class</span><span class="pun">&gt;</span><span class="pln">yourmodule</span><span class="pun">/</span><span class="pln">observer</span><span class="pun">&lt;/</span><span class="kwd">class</span><span class="pun">&gt;</span></li>
<li class="L7"><span class="pln">                    </span><span class="pun">&lt;</span><span class="pln">method</span><span class="pun">&gt;</span><span class="pln">catalog_product_save_after</span><span class="pun">&lt;/</span><span class="pln">method</span><span class="pun">&gt;</span></li>
<li class="L8"><span class="pln">                </span><span class="pun">&lt;/</span><span class="pln">yourmodule</span><span class="pun">&gt;</span></li>
<li class="L9"><span class="pln">            </span><span class="pun">&lt;/</span><span class="pln">observers</span><span class="pun">&gt;</span></li>
<li class="L0"><span class="pln">        </span><span class="pun">&lt;/</span><span class="pln">catalog_product_save_after</span><span class="pun">&gt;</span><span class="pln">    </span></li>
<li class="L1"><span class="pln">    </span><span class="pun">&lt;/</span><span class="pln">events</span><span class="pun">&gt;</span></li>
<li class="L2"><span class="pun">&lt;/</span><span class="pln">global</span><span class="pun">&gt;</span></li>
</ol>
<div style="text-align: justify;"></div>
<div style="text-align: justify;"><span style="color: #666600;"><strong>Observer.php</strong></span></div>
<div style="text-align: justify;"></div>
<div style="text-align: justify;">
<ol class="linenums">
<li class="L0"><span class="kwd">class</span><span class="pln"> </span><span class="typ">YourNamespace_YourModule_Model_Observer</span></li>
<li class="L1"><span class="pun">{</span><span class="pln">  </span></li>
<li class="L2"><span class="pln">    </span><span class="kwd">public</span><span class="pln"> </span><span class="kwd">function</span><span class="pln"> customer_address_save_before</span><span class="pun">(</span><span class="pln">$observer</span><span class="pun">)</span></li>
<li class="L3"><span class="pln">    </span><span class="pun">{</span></li>
<li class="L4"><span class="pln">        $address </span><span class="pun">=</span><span class="pln"> $observer</span><span class="pun">-&gt;</span><span class="pln">getCustomerAddress</span><span class="pun">();</span></li>
<li class="L5"><span class="pln">        </span><span class="com">//echo &#8221;&lt;pre&gt;&#8221;; print_r($address-&gt;getData()); exit;</span></li>
<li class="L6"><span class="pln">        </span><span class="com">// do something here</span></li>
<li class="L7"><span class="pln">    </span><span class="pun">}</span></li>
<li class="L8"><span class="pln"> </span></li>
<li class="L9"><span class="pln">    </span><span class="kwd">public</span><span class="pln"> </span><span class="kwd">function</span><span class="pln"> customer_address_save_after</span><span class="pun">(</span><span class="pln">$observer</span><span class="pun">)</span></li>
<li class="L0"><span class="pln">    </span><span class="pun">{</span></li>
<li class="L1"><span class="pln">        $address </span><span class="pun">=</span><span class="pln"> $observer</span><span class="pun">-&gt;</span><span class="pln">getCustomerAddress</span><span class="pun">();</span><span class="pln">     </span></li>
<li class="L2"><span class="pln">        </span><span class="com">//echo &#8221;&lt;pre&gt;&#8221;; print_r($address-&gt;getData()); exit;</span></li>
<li class="L3"><span class="pln">        </span><span class="com">// do something here</span></li>
<li class="L4"><span class="pln">    </span><span class="pun">}</span></li>
<li class="L5"><span class="pln"> </span></li>
<li class="L6"><span class="pln">    </span><span class="kwd">public</span><span class="pln"> </span><span class="kwd">function</span><span class="pln"> catalog_product_save_before</span><span class="pun">(</span><span class="pln">$observer</span><span class="pun">)</span></li>
<li class="L7"><span class="pln">    </span><span class="pun">{</span></li>
<li class="L8"><span class="pln">        $product </span><span class="pun">=</span><span class="pln"> $observer</span><span class="pun">-&gt;</span><span class="pln">getProduct</span><span class="pun">();</span><span class="pln">     </span></li>
<li class="L9"><span class="pln">        </span><span class="com">//echo &#8221;&lt;pre&gt;&#8221;; print_r($product-&gt;getData()); exit;</span></li>
<li class="L0"><span class="pln">        </span><span class="com">// do something here</span></li>
<li class="L1"><span class="pln">    </span><span class="pun">}</span></li>
<li class="L2"><span class="pln"> </span></li>
<li class="L3"><span class="pln">    </span><span class="kwd">public</span><span class="pln"> </span><span class="kwd">function</span><span class="pln"> catalog_product_save_after</span><span class="pun">(</span><span class="pln">$observer</span><span class="pun">)</span></li>
<li class="L4"><span class="pln">    </span><span class="pun">{</span></li>
<li class="L5"><span class="pln">        $product </span><span class="pun">=</span><span class="pln"> $observer</span><span class="pun">-&gt;</span><span class="pln">getProduct</span><span class="pun">();</span><span class="pln">     </span></li>
<li class="L6"><span class="pln">        </span><span class="com">//echo &#8221;&lt;pre&gt;&#8221;; print_r($product-&gt;getData()); exit;</span></li>
<li class="L7"><span class="pln">        </span><span class="com">// do something here</span></li>
<li class="L8"><span class="pln">    </span><span class="pun">}</span></li>
<li class="L9"><span class="pun">}</span></li>
</ol>
</div>
<p style="text-align: justify;">Similarly, you can add your custom function to other events like <strong>sales_order_save_before</strong>,<strong>sales_order_save_after</strong>, <strong>sales_order_invoice_save_before</strong>, <strong>sales_order_invoice_save_after</strong>, etc.</p>
]]></content:encoded>
			<wfw:commentRss>http://magentotutorial.net/observer-magento/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Magento Community Tutorials #31 &#8211; Theming Magento 7 &#8211; Layout Files Structure</title>
		<link>http://magentotutorial.net/magento-community-tutorials-31-theming-magento-7-layout-files-structure/</link>
		<comments>http://magentotutorial.net/magento-community-tutorials-31-theming-magento-7-layout-files-structure/#comments</comments>
		<pubDate>Thu, 16 May 2013 07:38:59 +0000</pubDate>
		<dc:creator>Alice</dc:creator>
				<category><![CDATA[Magento Installation]]></category>

		<guid isPermaLink="false">http://magentotutorial.net/?p=1615</guid>
		<description><![CDATA[The 31st tutorial for Magento Commerce Community Edition and the 7th on Theming Magento. This tutorial gives a bit more in-depth, but still basic explanation of layout files in Magento.]]></description>
			<content:encoded><![CDATA[<p>The 31st tutorial for Magento Commerce Community Edition and the 7th on Theming Magento. This tutorial gives a bit more in-depth, but still basic explanation of layout files in Magento.</p>
]]></content:encoded>
			<wfw:commentRss>http://magentotutorial.net/magento-community-tutorials-31-theming-magento-7-layout-files-structure/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Get Sub Category List Of Particular Parent Category In Magento</title>
		<link>http://magentotutorial.net/category-list-parent-category-magento/</link>
		<comments>http://magentotutorial.net/category-list-parent-category-magento/#comments</comments>
		<pubDate>Thu, 16 May 2013 07:29:50 +0000</pubDate>
		<dc:creator>Alice</dc:creator>
				<category><![CDATA[Magento Installation]]></category>

		<guid isPermaLink="false">http://magentotutorial.net/?p=1612</guid>
		<description><![CDATA[&#60;select id=&#8220;category&#8221; class=&#8220;myinput-text required-entry widthinput&#8221; name=&#8220;category&#8221;&#62; &#60;?php   $parentid=5; // parent id which you want sub category   $categories=explode(&#8216;,&#8217;,Mage::getModel(&#8216;catalog/category&#8217;)-&#62;load($parentid)-&#62;getChildren());   foreach($categories as $cat){       $category=Mage::getModel(&#8216;catalog/category&#8217;)-&#62;load($cat); ?&#62;    &#60;option value=&#8221;&#60;?php echo $category-&#62;getId();?&#62;&#8220;&#62;&#60;?php echo $category-&#62;getName();?&#62;&#60;/option&#62; &#60;?php } ?&#62; &#60;/select&#62;]]></description>
			<content:encoded><![CDATA[<ol class="linenums">
<li class="L0"><span class="tag">&lt;select</span><span class="pln"> </span><span class="atn">id</span><span class="pun">=</span><span class="atv">&#8220;category&#8221;</span><span class="pln"> </span><span class="atn">class</span><span class="pun">=</span><span class="atv">&#8220;myinput-text required-entry widthinput&#8221;</span><span class="pln"> </span><span class="atn">name</span><span class="pun">=</span><span class="atv">&#8220;category&#8221;</span><span class="tag">&gt;</span></li>
<li class="L1"><span class="pun">&lt;?</span><span class="pln">php</span></li>
<li class="L2"><span class="pln">  $parentid</span><span class="pun">=</span><span class="lit">5</span><span class="pun">;</span><span class="pln"> </span><span class="com">// parent id which you want sub category</span></li>
<li class="L3"><span class="pln">  $categories</span><span class="pun">=</span><span class="pln">explode</span><span class="pun">(</span><span class="str">&#8216;,&#8217;</span><span class="pun">,</span><span class="typ">Mage</span><span class="pun">::</span><span class="pln">getModel</span><span class="pun">(</span><span class="str">&#8216;catalog/category&#8217;</span><span class="pun">)-&gt;</span><span class="pln">load</span><span class="pun">(</span><span class="pln">$parentid</span><span class="pun">)-&gt;</span><span class="pln">getChildren</span><span class="pun">());</span></li>
<li class="L4"><span class="pln">  </span><span class="kwd">foreach</span><span class="pun">(</span><span class="pln">$categories </span><span class="kwd">as</span><span class="pln"> $cat</span><span class="pun">){</span><span class="pln"> </span></li>
<li class="L5"><span class="pln">     $category</span><span class="pun">=</span><span class="typ">Mage</span><span class="pun">::</span><span class="pln">getModel</span><span class="pun">(</span><span class="str">&#8216;catalog/category&#8217;</span><span class="pun">)-&gt;</span><span class="pln">load</span><span class="pun">(</span><span class="pln">$cat</span><span class="pun">);</span></li>
<li class="L6"><span class="pun">?&gt;</span></li>
<li class="L7"><span class="pln">   &lt;option value=&#8221;</span><span class="pun">&lt;?</span><span class="pln">php echo $category</span><span class="pun">-&gt;</span><span class="pln">getId</span><span class="pun">();?&gt;</span><span class="pln">&#8220;&gt;</span><span class="pun">&lt;?</span><span class="pln">php echo $category</span><span class="pun">-&gt;</span><span class="pln">getName</span><span class="pun">();?&gt;</span><span class="tag">&lt;/option&gt;</span></li>
<li class="L8"><span class="pun">&lt;?</span><span class="pln">php </span><span class="pun">}</span><span class="pln"> </span><span class="pun">?&gt;</span></li>
<li class="L9"><span class="tag">&lt;/select&gt;</span></li>
</ol>
]]></content:encoded>
			<wfw:commentRss>http://magentotutorial.net/category-list-parent-category-magento/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Update Product Status (ENABLED/DISABLED) In Magento Programmatically</title>
		<link>http://magentotutorial.net/update-product-status-enableddisabled-magento-programmatically/</link>
		<comments>http://magentotutorial.net/update-product-status-enableddisabled-magento-programmatically/#comments</comments>
		<pubDate>Thu, 16 May 2013 07:24:56 +0000</pubDate>
		<dc:creator>Alice</dc:creator>
				<category><![CDATA[Magento Installation]]></category>
		<category><![CDATA[magento configurable product]]></category>
		<category><![CDATA[magento tutorial for beginners]]></category>

		<guid isPermaLink="false">http://magentotutorial.net/?p=1606</guid>
		<description><![CDATA[$productid=10;// product id which you want to change status;   $storeid=1 // your store id 0 is for default store id Mage::getModel(&#8216;catalog/product_status&#8217;)-&#62;updateProductStatus($productid, $storeid, Mage_Catalog_Model_Product_Status::STATUS_ENABLED);]]></description>
			<content:encoded><![CDATA[<ol class="linenums">
<li class="L0"><span class="pln">$productid</span><span class="pun">=</span><span class="lit">10</span><span class="pun">;</span><span class="com">// product id which you want to change status;</span></li>
<li class="L1"><span class="pln"> </span></li>
<li class="L2"><span class="pln">$storeid</span><span class="pun">=</span><span class="lit">1</span><span class="pln"> </span><span class="com">// your store id 0 is for default store id</span></li>
<li class="L3"><span class="typ">Mage</span><span class="pun">::</span><span class="pln">getModel</span><span class="pun">(</span><span class="str">&#8216;catalog/product_status&#8217;</span><span class="pun">)-&gt;</span><span class="pln">updateProductStatus</span><span class="pun">(</span><span class="pln">$productid</span><span class="pun">,</span><span class="pln"> $storeid</span><span class="pun">,</span><span class="pln"> </span><span class="typ">Mage_Catalog_Model_Product_Status</span><span class="pun">::</span><span class="pln">STATUS_ENABLED</span><span class="pun">);</span></li>
</ol>
<div></div>
<div style="text-align: center;"></div>
<div style="text-align: center;"></div>
<div style="text-align: center;"><span style="color: #666600;"><a href="http://magentotutorial.net/wp-content/uploads/2013/05/d2.jpg" onclick="return TrackClick('http%3A%2F%2Fmagentotutorial.net%2Fwp-content%2Fuploads%2F2013%2F05%2Fd2.jpg','Magento+product+status')"><img class="size-full wp-image-1607" title="Magento product status" src="http://magentotutorial.net/wp-content/uploads/2013/05/d2.jpg" onclick="return TrackClick('http%3A%2F%2Fmagentotutorial.net%2Fwp-content%2Fuploads%2F2013%2F05%2Fd2.jpg','Magento+product+status')" alt="" width="560" height="300" /></a></span></div>
]]></content:encoded>
			<wfw:commentRss>http://magentotutorial.net/update-product-status-enableddisabled-magento-programmatically/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Create Magento Plugin &#8211; Part 1: Magento Plugin&#8217;s structure</title>
		<link>http://magentotutorial.net/create-magento-plugin-part-1-magento-plugins-structure/</link>
		<comments>http://magentotutorial.net/create-magento-plugin-part-1-magento-plugins-structure/#comments</comments>
		<pubDate>Thu, 16 May 2013 03:47:23 +0000</pubDate>
		<dc:creator>Alice</dc:creator>
				<category><![CDATA[Magento tutorials]]></category>

		<guid isPermaLink="false">http://magentotutorial.net/?p=1597</guid>
		<description><![CDATA[In a first tutorial, I promise to create a tutorial that allows you to create a complete module in Magento.  Basic knowledge:  Before you venture into magento, check that you have already a solid foundation in programming. Prerequisite for developing Magento are:  - Have already installed Magento. - Know what the MVC pattern. - Know [...]]]></description>
			<content:encoded><![CDATA[<p style="text-align: justify;"><strong>In a first tutorial, I promise to create a tutorial that allows you to create a complete module in Magento. </strong><br />
<strong>Basic knowledge: </strong><br />
Before you venture into magento, check that you have already a solid foundation in programming.</p>
<p style="text-align: justify;"><strong>Prerequisite for developing Magento are: </strong><br />
- Have already installed Magento.<br />
- Know what the MVC pattern.<br />
- Know the object-oriented PHP (and PHP of course …)<br />
- How does the whole template magento</p>
<h3 style="text-align: justify;">The structure of a Magento module</h3>
<p style="text-align: justify;">In a magneto module there are 2 parties, the « code » and « templates ».</p>
<p style="text-align: justify;"><strong>code </strong>determines the actions that the module will be able to achieve the interraction with the database etc … while <strong>templates </strong>are just the layout of the data sent by code.</p>
<p style="text-align: justify;">Magento, the two parties will be placed at two different locations.</p>
<p style="text-align: justify;">your « code » will be in<br />
<em>/app/code/local/monNameSpace/monNomDeModule/</em></p>
<p style="text-align: justify;">while the « template » of the module will be in:<br />
<em>/app/design/frontend/monRepertoiredeTemplates/monTemplate </em>(for the frontend)</p>
<p style="text-align: justify;">And<br />
<em>/app/design/adminhtml/monRepertoiredeTemplates/monTemplate </em>(for the backend)</p>
<p style="text-align: justify;">The « code » of my template will contain the following elements:<br />
<img class="aligncenter" title="files of a module magento code" src="http://pierrefay.fr/wp-content/uploads/2010/07/01.jpg" alt="the structure of a module magento" width="273" height="130" /><br />
<strong>Block </strong>: Where you go to the « controller » of your block</p>
<p style="text-align: justify;"><strong>Controllers: </strong>the controllers of your module</p>
<p style="text-align: justify;"><strong>Models: </strong>Performers of your module</p>
<p style="text-align: justify;"><strong>Helper: </strong>of your helpers module</p>
<p style="text-align: justify;"><strong>etc: </strong>the configuration of your module</p>
<p style="text-align: justify;"><strong>sql: </strong>SQL query to execute to create your module during the instalation</p>
<h3 style="text-align: justify;">Reminder on blocks:</h3>
<p style="text-align: justify;">Magento, a Block is a piece of your site that walks « alone », you can insert just anywhere. In fact, a block is a kind of « mini controller » that you can add anywhere on your site.</p>
<p style="text-align: justify;">According to the page of your site, you can assign to different templates depending on the view you want to call it.</p>
<h3 style="text-align: justify;">folder / app / code:</h3>
<p style="text-align: justify;">In this folder you will find three folders that contain:</p>
<p style="text-align: justify;"><strong>Community: </strong>the plugins you have recovered (on magentoconnect for example).</p>
<p style="text-align: justify;"><strong>Core: </strong>the default magento modules (especially not EDIT)</p>
<p style="text-align: justify;"><strong>Local: </strong>the modules you have developed</p>
<h3 style="text-align: justify;">Your duties until the next tutorial:</h3>
<p style="text-align: justify;">Try to browse the folders on your site to understand what I tell you. Open the files and try to understand.<br />
Conclusion</p>
<h3 style="text-align: justify;">the tutorial:</h3>
<p style="text-align: justify;">You have seen the structure of modules magento, if you do your homework you should understand a little better.</p>
<p style="text-align: justify;"><strong>Does this sound a bit abstract for the moment? This is normal! </strong>That’s a lot of information at once.</p>
<p style="text-align: justify;">In the next tutorial, we will begin the creation of our first module by creating the Controller.</p>
<p style="text-align: justify;">Do not worry, trust me: we will create a complete module A to Z, step by step. We’ll take it easy and see everything that you seem a bit abstract in the first tutorial gradually become clear as we advance.</p>
]]></content:encoded>
			<wfw:commentRss>http://magentotutorial.net/create-magento-plugin-part-1-magento-plugins-structure/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Magento Files and Folders Structure</title>
		<link>http://magentotutorial.net/magento-files-folders-structure/</link>
		<comments>http://magentotutorial.net/magento-files-folders-structure/#comments</comments>
		<pubDate>Thu, 16 May 2013 02:00:47 +0000</pubDate>
		<dc:creator>Alice</dc:creator>
				<category><![CDATA[Magento tutorials]]></category>
		<category><![CDATA[magento theme tutorials]]></category>
		<category><![CDATA[magento tutorial for beginners]]></category>
		<category><![CDATA[Tutorial Magento]]></category>

		<guid isPermaLink="false">http://magentotutorial.net/?p=1591</guid>
		<description><![CDATA[This part of the Magento tutorial will provide detailed information regarding the Magento&#8217;s default files and folders structure. You will learn more about the functions of main files and folders included in the Magento package. The files and folders included in the main directory are as follows: • .htaccess - contains mod_rewrite rules, which are essential for [...]]]></description>
			<content:encoded><![CDATA[<p style="text-align: justify;">This part of the Magento tutorial will provide detailed information regarding the Magento&#8217;s default files and folders structure.</p>
<p style="text-align: justify;">You will learn more about the functions of main files and folders included in the Magento package.</p>
<p style="text-align: justify;">The files and folders included in the main directory are as follows:</p>
<p style="text-align: justify;">• <em>.htaccess</em> - 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.</p>
<p style="text-align: justify;">• <em>.htaccess.sample</em> - this is a backup of the <em>.htaccess</em> file. If you modify <em>.htaccess</em> it can be used in order to get the default settings.</p>
<p style="text-align: justify;">• <em>404</em> (directory) &#8211; The folder stores the default 404 template and skin for Magento.</p>
<p style="text-align: justify;">• <em>app</em> (directory) &#8211; This folder contains the modules, themes, configuration and translation files. Also there are the template files for the default administration<br />
theme and the installation.</p>
<p style="text-align: justify;">• <em>cron.php</em> - a <a title="cPanel Cron Jobs" href="http://www.siteground.com/tutorials/cpanel_crystal/cron_jobs.htm" onclick="return TrackClick('http%3A%2F%2Fwww.siteground.com%2Ftutorials%2Fcpanel_crystal%2Fcron_jobs.htm','cPanel+Cron+Jobs')" target="_blank">Cron Job</a> should be set for this file. Executing of the file on a defined time period will ensure that the complicated Magento caching system will not affect the web site performance.</p>
<p style="text-align: justify;">• <em>downloader</em> (directory) &#8211; This is the storage of the web downloader files. They are used for the installation and upgrade of Magento through your browser.</p>
<p style="text-align: justify;">• <em>favicon.ico</em> - the default favicon for Magento. A small icon that is shown in the browser&#8217;s tool bar once your web site is loaded.</p>
<p style="text-align: justify;">• <em>index.php</em> - the main index file for Magento.</p>
<p style="text-align: justify;">• <em>index.php.sample</em> - A backup of the default index file. It can be used to revert the changes in a case of a <em>index.php</em>modification.</p>
<p style="text-align: justify;">• <em>js</em> (directory) &#8211; Contains the pre-compiled libraries of the JavaScript code included in Magento.</p>
<p style="text-align: justify;">• <em>lib</em> (directory) &#8211; The Magento core code is located in this folder. It contains the software&#8217;s PHP libraries.</p>
<p style="text-align: justify;">• <em>LICENSE_AFL.txt</em> - The Academic Free License under which the Magento software is distributed.</p>
<p style="text-align: justify;">• <em>LICENSE.txt</em> - The Open Software License under which the Magento software is distributed.</p>
<p style="text-align: justify;">• <em>media</em> (directory) &#8211; This is the storage of the Magento media files &#8211; images out of the box, generated thumbnails, uploaded products images. It is also used as a container for importing images through the mass import/export tools.</p>
<p style="text-align: justify;">• <em>mage</em> (in versions older than 1.4.2.0 this tool was called <em>pear</em>)- The file controls the automatic update through the downloader script and <a title="SSH tutorial" href="http://www.siteground.com/tutorials/ssh/" onclick="return TrackClick('http%3A%2F%2Fwww.siteground.com%2Ftutorials%2Fssh%2F','SSH+tutorial')" target="_blank">SSH</a>. It handles the update of each individual Magento module.</p>
<p style="text-align: justify;">• <em>php.ini.sample</em> - This file contains sample php directives that can be used in order to modify your PHP setup. If you want to alter the default setup edit the file and then rename it to <em>php.ini</em>.</p>
<p style="text-align: justify;">• <em>pkginfo</em> (directory) &#8211; Contains files with information regarding the modules upgrades&#8217; changes.</p>
<p style="text-align: justify;">• <em>report</em> (directory) &#8211; This folder contains the skin of the Magento errors reports.</p>
<p style="text-align: justify;">• <em>skin</em> (directory) &#8211; There are located the themes files &#8211; images, JavaScript files, CSS files, Flash files. Also there can be found the skin files for the installation of skins and administration templates.</p>
<p style="text-align: justify;">• <em>var</em> (directory) &#8211; Cache, sessions, database backups, data exports and cached error reports can be found in this directory.</p>
<p style="text-align: justify;">If you want to modify an existing template or set a new one you should know that the template files are separated in 3 folders:</p>
<p style="text-align: justify;">• <em>/app/design/frontend/default/YOUR_TEMPLATE_NAME/layout/</em> - Contains the <em>.xml</em> files that define which modules should be called by the template files and loaded in defined areas on the site.</p>
<p style="text-align: justify;">• <em>/app/design/frontend/default/YOUR_TEMPLATE_NAME/template/</em> - Contains files and subfolders that structure the final output for the users using the functions located in the <em>layout/</em> folder.</p>
<p style="text-align: justify;">• <em>/skin/frontend/default/YOUR_TEMPLATE_NAME/</em> - Contains the CSS, images, JavaScript and Flash files related to the template.</p>
]]></content:encoded>
			<wfw:commentRss>http://magentotutorial.net/magento-files-folders-structure/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Magento Global Functions</title>
		<link>http://magentotutorial.net/magento-global-functions/</link>
		<comments>http://magentotutorial.net/magento-global-functions/#comments</comments>
		<pubDate>Thu, 16 May 2013 01:42:30 +0000</pubDate>
		<dc:creator>Alice</dc:creator>
				<category><![CDATA[Magento Installation]]></category>
		<category><![CDATA[magento theme tutorials]]></category>
		<category><![CDATA[Magento tutorial]]></category>
		<category><![CDATA[magento tutorial for beginners]]></category>

		<guid isPermaLink="false">http://magentotutorial.net/?p=1580</guid>
		<description><![CDATA[Reinventing the wheel – what a cliche! Of course you don’t do it, at least not intentionally. And you hate being reminded of code reuse on those rare occasions when someone points to a function you wrote, which allegedly does the same as some other function somewhere in the framework. Yet it happens. Sometimes looking [...]]]></description>
			<content:encoded><![CDATA[<p style="text-align: justify;"><span style="color: #000000;">Reinventing the wheel – what a cliche! Of course you don’t do it, at least not intentionally. And you hate being reminded of code reuse on those rare occasions when someone points to a function you wrote, which allegedly does the same as some other function somewhere in the framework. Yet it happens. Sometimes looking for blueprints for the wheel takes longer than hacking it out yourself. Sometimes you might do it just for fun. And sometimes you simply don’t know a ready solution exists buried in some obscure location in your framework. Magento is no exception – it does have some functionality left there by the core programmers, which is used extensively by the system and yet often overlooked by us, shop maintainers and extension developers.</span></p>
<p style="text-align: justify;"><span style="color: #000000;">A few such gems can be found in <strong><em>app/code/core/Mage/Core/functions.php</em></strong>. This file contains no class definition but globally available functions. This file is included early in the application initialization stage in <strong><em>app/Mage.php</em></strong>. Some of its functions may be of little use when developing extensions, since they do core system work. But some can come in handy whenever a trivial task presents itself and you have to:</span></p>
<h4 style="text-align: justify;"><span style="color: #000000;">1. Find out if a Directory is Writable in Magento</span></h4>
<p style="text-align: justify;"><span style="color: #000000;">It is a true rarity, a Magento shop running on Windows. Still, improbable not impossible. Assuming you are in a Linux environment, this task can be easily accomplished by calling <strong><em><tt>is_dir($path)</tt> and <tt>is_writable($path)</tt></em></strong>. Not so simple with Windows hosts. The function <strong><em>is_dir_writeable($dir)</em> </strong>does some additional checks for such cases – by literally trying to write a file into the directory being checked. This function is used by Magento when checking writability of certain paths during a shop installation before creating <tt>var</tt>, <tt>tmp</tt> and <tt>cache</tt> directories. Obviously, it is a well-proven approach – why not use it?</span></p>
<h4 style="text-align: justify;"><span style="color: #000000;">2. Output a Current Date</span></h4>
<p style="text-align: justify;"><span style="color: #000000;">A neat shortcut to generate a MySQL-compatible date string, meet <em><strong>now($dayOnly=false)</strong></em>. Leave the <em><strong><tt>$dayOnly</tt></strong></em> empty or set to false to get a ‘Y-m-d H:i:s’-formatted string, otherwise it will output a short ‘Y-m-d’ representation of the current date.</span></p>
<ol class="linenums" style="text-align: justify;">
<li class="L0"><span style="color: #000000;"><span class="pln">function now</span><span class="pun">(</span><span class="pln">$dayOnly</span><span class="pun">=</span><span class="kwd">false</span><span class="pun">)</span></span></li>
<li class="L1"><span class="pun" style="color: #000000;">{</span></li>
<li class="L2"><span style="color: #000000;"><span class="pln">    </span><span class="kwd">return</span><span class="pln"> date</span><span class="pun">(</span><span class="pln">$dayOnly </span><span class="pun">?</span><span class="pln"> </span><span class="str">&#8216;Y-m-d&#8217;</span><span class="pln"> </span><span class="pun">:</span><span class="pln"> </span><span class="str">&#8216;Y-m-d H:i:s&#8217;</span><span class="pun">);</span></span></li>
<li class="L3"><span class="pun" style="color: #000000;">}</span></li>
</ol>
<div style="text-align: justify;">
<h4><span style="color: #000000;">3. Recursively Delete a Directory in Magento</span></h4>
<p><span style="color: #000000;">Ever needed to delete a deeply nested directory structure? Use <em><strong>mageDelTree($dir)</strong></em>. Magento uses this function to, for instance, clear user sessions when they are stored on disk.</span></p>
<h4><span style="color: #000000;">4. Find out if a Class exists in Magento</span></h4>
<p><span style="color: #000000;">If you need to make sure an external dependency is available in your installation, check it with <em><strong>mageFindClassFile($class)</strong></em>, where the <tt>$class</tt> parameter is a class name, e.g. <tt>ExtPackage_ExtModule_Model_Classname</tt>.</span></p>
<h4><span style="color: #000000;">5. Use an Extended Version of ucwords</span></h4>
<p><span style="color: #000000;">This nifty little function does the same as the regular <tt>ucwords</tt>. And more! If you need to uppercase words in a string that is separated by characters other than whitespace – you can save some extra lines of code here. Say, you have a string<em>modulename_model_classname</em>. Converting it into a valid Magento class name will require just one call</span></p>
<ol class="linenums">
<li class="L0"><span style="color: #000000;"><span class="pln">$className </span><span class="pun">=</span><span class="pln"> uc_words</span><span class="pun">(</span><span class="str">&#8216;modulename_model_classname&#8217;</span><span class="pun">);</span></span></li>
<li class="L1"><span class="com" style="color: #000000;">//$className === Modulename_Model_Classname</span></li>
</ol>
</div>
<div style="text-align: justify;"></div>
<div style="text-align: justify;"><span style="color: #000000;">This function can also swap separators. So if there is a string<em>modulename/model/classname</em> it can be converted into a valid class name by calling</span></div>
<div>
<ol class="linenums" style="text-align: justify;">
<li class="L0"><span style="color: #000000;"><span class="pln">$className </span><span class="pun">=</span><span class="pln"> uc_words</span><span class="pun">(</span><span class="str">&#8216;modulename/model/classname&#8217;</span><span class="pun">,</span><span class="pln"> </span><span class="str">&#8216;_&#8217;</span><span class="pun">,</span><span class="pln"> </span><span class="str">&#8216;/&#8217;</span><span class="pun">);</span></span></li>
<li class="L1"><span class="com" style="color: #000000;">//$className === Modulename_Model_Classname</span></li>
</ol>
<div>
<p>.</p>
<h4 style="text-align: justify;"><span style="color: #000000;">6. Parse a CSV String in Magento</span></h4>
<p style="text-align: justify;"><span style="color: #000000;">Now this kind of task comes fairly often. This function will save you time writing a parser – even if such is simple and takes a minute. But why bother if the function already exists? And it can handle quoted values as well. Check it out:</span></p>
<ol class="linenums" style="text-align: justify;">
<li class="L0"><span style="color: #000000;"><span class="pln">mageParseCsv</span><span class="pun">(</span><span class="pln">$string</span><span class="pun">,</span><span class="pln"> $delimiter</span><span class="pun">=</span><span class="str">&#8216;,&#8217;</span><span class="pun">,</span><span class="pln"> $enclosure</span><span class="pun">=</span><span class="str">&#8216;&#8221;&#8216;</span><span class="pun">,</span><span class="pln"> $escape</span><span class="pun">=</span><span class="str">&#8216;\\&#8217;</span><span class="pun">)</span></span></li>
</ol>
<div style="text-align: justify;"><span style="color: #000000;">The last parameter, however, is redundant and used nowhere in the function.</span></div>
</div>
</div>
]]></content:encoded>
			<wfw:commentRss>http://magentotutorial.net/magento-global-functions/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Symbolic Links in Magento</title>
		<link>http://magentotutorial.net/symbolic-links-magento/</link>
		<comments>http://magentotutorial.net/symbolic-links-magento/#comments</comments>
		<pubDate>Wed, 15 May 2013 02:25:42 +0000</pubDate>
		<dc:creator>Alice</dc:creator>
				<category><![CDATA[Magento tutorials]]></category>
		<category><![CDATA[Magento tutorial]]></category>
		<category><![CDATA[Tutorial Magento]]></category>
		<category><![CDATA[what is magento]]></category>

		<guid isPermaLink="false">http://magentotutorial.net/?p=1575</guid>
		<description><![CDATA[It is surprising how many people don’t know about symbolic links and do not realize how useful they can be. For instance you are running a test server with multiple instances of out shop configured as separate installations. You can easily update the source code by pulling it from a common repository. But what if you [...]]]></description>
			<content:encoded><![CDATA[<p>It is surprising how many people don’t know about symbolic links and do not realize how useful they can be. For instance you are running a test server with multiple instances of out shop configured as separate installations. You can easily update the source code by pulling it from a common repository. But what if you need to update you media files, which normally are not under version control? And what if there are tens of gigabyte of them? You don’t want to copy the files to each installation, instead copy them into one folder and set up symbolic links for the media folders of your test sites:</p>
<p>Creating a symbolic link (syntax):</p>
<ol class="linenums">
<li class="L0"><span class="pln">ln </span><span class="pun">-</span><span class="pln">s </span><span class="pun">[</span><span class="pln">TARGET DIRECTORY OR FILE</span><span class="pun">]</span><span class="pln"> </span><span class="pun">[</span><span class="pln">SHORTCUT</span><span class="pun">]</span></li>
</ol>
<div><span style="color: #666600;">For example:</span></div>
<div>
<ol class="linenums">
<li class="L0"><span class="pln">ln </span><span class="pun">-</span><span class="pln">s </span><span class="pun">/</span><span class="pln">var</span><span class="pun">/</span><span class="pln">media </span><span class="pun">/</span><span class="pln">var</span><span class="pun">/</span><span class="pln">www</span><span class="pun">/</span><span class="pln">vhosts</span><span class="pun">/</span><span class="pln">test01</span><span class="pun">/</span><span class="pln">media</span></li>
<li class="L2"><span class="pln">ln </span><span class="pun">-</span><span class="pln">s </span><span class="pun">/</span><span class="pln">var</span><span class="pun">/</span><span class="pln">media </span><span class="pun">/</span><span class="pln">var</span><span class="pun">/</span><span class="pln">www</span><span class="pun">/</span><span class="pln">vhosts</span><span class="pun">/</span><span class="pln">test02</span><span class="pun">/</span><span class="pln">media</span></li>
</ol>
<div><span style="color: #000000;"><br />
</span></div>
</div>
]]></content:encoded>
			<wfw:commentRss>http://magentotutorial.net/symbolic-links-magento/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>How to set up Promotional Gift extension?</title>
		<link>http://magentotutorial.net/promotional-gift-extension/</link>
		<comments>http://magentotutorial.net/promotional-gift-extension/#comments</comments>
		<pubDate>Tue, 14 May 2013 08:36:34 +0000</pubDate>
		<dc:creator>Alice</dc:creator>
				<category><![CDATA[Magento tutorials]]></category>
		<category><![CDATA[magento theme tutorials]]></category>
		<category><![CDATA[what is magento]]></category>

		<guid isPermaLink="false">http://magentotutorial.net/?p=1555</guid>
		<description><![CDATA[Do you know nearly 90% of free gift receivers said they were “somewhat likely” to buy more frequently from an online store after getting a gift? Instead of offering direct discounts, I’m thinking of an extension that gives you an edge by running marketing programs which offer Customers free gifts when they purchase at your [...]]]></description>
			<content:encoded><![CDATA[<p style="text-align: justify;">Do you know nearly 90% of free gift receivers said they were “somewhat likely” to buy more frequently from an online store after getting a gift? Instead of offering direct discounts, I’m thinking of an extension that gives you an edge by running marketing programs which offer Customers free gifts when they purchase at your store. Moreover store owners can comfortably create rules and reward purchases that reach your set conditions. A great idea for your new product launch campaigns, right? Yesterday I have found out a new extension from <a href="http://magestore.com" onclick="return TrackClick('http%3A%2F%2Fmagestore.com','Mage')">Mage</a>store that satisfies all of our needs about a promotional campaign – Promotional Gift extension.</p>
<p style="text-align: justify;">This brand new module helps you run marketing campaign which offers Customers free gifts when they buy a product at your store. Is there any store that does not want to run such popular campaign?</p>
<p style="text-align: justify;">For example, if your store sells T-shirt, with the extension you can create such marketing campaigns:</p>
<ul style="text-align: justify;">
<li>Buy a Shirt, receive a Cap as a free gift</li>
<li>Buy up to $500, select a free gift:  a Cap or a Belt</li>
<li>Use coupon code received (via mail, or direct&#8230;), get free gift</li>
</ul>
<p style="text-align: justify;"><span style="font-size: 14px; color: #0000ff;"><strong>Features:</strong></span></p>
<p style="text-align: justify;"><span style="font-size: 13px; line-height: 19px;"> <em>This extension enables you to freely create and set rules for promotional gift programs.</em></span></p>
<ul style="text-align: justify;">
<li>There is no limitation on the number of campaigns or the scope of application. In other words, you can give free gifts based on whatever products or order values.</li>
<li>Customers can be enabled to choose free gift they like if the conditions are satisfied.</li>
<li>You can set a limit on the number of Customers entitling to gifts.</li>
<li>Free gifts will be auto-added to cart following purchased products.</li>
<li>The quantity of free gifts is also auto-updated when quantity of main products has been updated.</li>
<li>You can create a coupon code for each program so that Customers can receive gifts when using that coupon on shopping cart page.</li>
<li>This extension supports many product types: Simple product, configurable product, bundle product and grouped product.</li>
</ul>
<p style="text-align: justify;"><em>Offered gifts can be easily configured:</em></p>
<ul style="text-align: justify;">
<li>You can set certain gift(s) attached to a specific product or let Customers select the gift(s) they want from provided free items.</li>
<li>You will also be able to set up how many gifts a buyer could get for each item in your rewarding program.</li>
<li>Customers can select and edit options of gift items.</li>
</ul>
<p style="text-align: justify;"><em>Information of Free Gift programs can be shown on many different pages</em></p>
<ul style="text-align: justify;">
<li>You can give Customers good impression by showing a separate Promotional Gift page showing all Promotional Gift programs and all products with free gifts</li>
<li>Free Gift information can also be shown on product listing pages and product pages</li>
<li>Promotional Gift message slider can be displayed on shopping cart and checkout pages.</li>
</ul>
<p style="text-align: justify;"><strong>Download it here:</strong></p>
<p style="text-align: justify;"><a href="http://www.magestore.com/magento-promotional-gift-extension.html" onclick="return TrackClick('http%3A%2F%2Fwww.magestore.com%2Fmagento-promotional-gift-extension.html','http%3A%2F%2Fwww.magestore.com%2Fmagento-promotional-gift-extension.html')">http://www.magestore.com/magento-promotional-gift-extension.html</a></p>
<p style="text-align: justify;"><strong><a href=": http://demo-extension.magestore.com/promotional-gift/index.php/promotionalgift" onclick="return TrackClick('%3A+http%3A%2F%2Fdemo-extension.magestore.com%2Fpromotional-gift%2Findex.php%2Fpromotionalgift','Demo')">Demo</a>                                   <a href="http://demo-extension.magestore.com/sandbox/promotional-gift/index.php/admin " onclick="return TrackClick('http%3A%2F%2Fdemo-extension.magestore.com%2Fsandbox%2Fpromotional-gift%2Findex.php%2Fadmin','Backend+%C2%A0')"> Backend  </a>                              <a href="http://demo-extension.magestore.com/sandbox/promotional-gift " onclick="return TrackClick('http%3A%2F%2Fdemo-extension.magestore.com%2Fsandbox%2Fpromotional-gift','%C2%A0Frontend')"> Frontend</a></strong></p>
<p style="text-align: justify;">Especially, when buying Promotional Gift Extension you will receive a Promotional Gift: 10 well-designed &#8220;Free gift&#8221; label (note that it will expire on June, 6<sup>th</sup>). Why don&#8217;t you try it to see how this extension really works?</p>
]]></content:encoded>
			<wfw:commentRss>http://magentotutorial.net/promotional-gift-extension/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>
