<?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>Asia Connect Technology JSC &#187; Magento Guide</title>
	<atom:link href="http://asia-connect.com.vn/category/magento-guide/feed/" rel="self" type="application/rss+xml" />
	<link>http://asia-connect.com.vn</link>
	<description>The place for connecting you to the success</description>
	<lastBuildDate>Fri, 12 Mar 2010 03:49:02 +0000</lastBuildDate>
	<generator>http://wordpress.org/?v=2.8.2</generator>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<xhtml:meta xmlns:xhtml="http://www.w3.org/1999/xhtml" name="robots" content="noindex" />
		<item>
		<title>Internal Server Error 500 in Magento</title>
		<link>http://asia-connect.com.vn/2009/10/internal-server-error-500-in-magento/</link>
		<comments>http://asia-connect.com.vn/2009/10/internal-server-error-500-in-magento/#comments</comments>
		<pubDate>Thu, 22 Oct 2009 04:14:27 +0000</pubDate>
		<dc:creator>lydh</dc:creator>
				<category><![CDATA[Magento Guide]]></category>
		<category><![CDATA[Magento How To]]></category>
		<category><![CDATA[Magento Tips]]></category>
		<category><![CDATA[Magento Tutorials]]></category>

		<guid isPermaLink="false">http://asia-connect.com.vn/?p=1040</guid>
		<description><![CDATA[

Many of us who started experimenting with this interface and tried to place various values for Base URL, came to a dead end where Magento breaks.  Usually, we get Internal Server Error 500 with each page load. The problem lies in the fact that we can no longer open the Magento administration to correct the error. What needs to be done in such a scenario?
One of our clients wrote me a message today:
I have put www.mydomain.com in a bad spot. I changed the base URL to {{base_URL}} and now im ...


Related posts:<ol><li><a href='http://asia-connect.com.vn/2009/07/configuration-error-on-new-magento-installation/' rel='bookmark' title='Permanent Link: Configuration error on new Magento installation'>Configuration error on new Magento installation</a></li><li><a href='http://asia-connect.com.vn/2009/07/php-extension-error-while-installing-magento/' rel='bookmark' title='Permanent Link: PHP extension error while installing Magento'>PHP extension error while installing Magento</a></li><li><a href='http://asia-connect.com.vn/2009/10/how-to-transfer-large-magento-database-from-live-to-development-server-and-other-way-round/' rel='bookmark' title='Permanent Link: How to transfer large Magento database from live to development server and other way round'>How to transfer large Magento database from live to development server and other way round</a></li></ol>]]></description>
			<content:encoded><![CDATA[<h2></h2>
<p><img title="Internal Server Error 500 in Magento" src="http://inchoo.net/wp-content/uploads/2009/03/error500.png" alt="Internal Server Error 500 in Magento" width="585" /></p>
<p>Many of us who started experimenting with this interface and tried to place various values for <strong>Base URL</strong>, came to a dead end where <a rel="nofollow" href="http://www.magentocommerce.com" onclick="javascript:pageTracker._trackPageview('/outbound/article/www.magentocommerce.com');"  class="alinks_links" onclick="return alinks_click(this);" title="Magento eCommerce"  style="padding-right: 13px; background: url(http://asia-connect.com.vn/wp-content/plugins/alinks/images/external.png) center right no-repeat;" rel="external">Magento</a> breaks.  Usually, we get Internal Server Error 500 with each page load. The problem lies in the fact that we can no longer open the Magento administration to correct the error. What needs to be done in such a scenario?</p>
<p>One of our clients wrote me a message today:</p>
<blockquote><p>I have put www.mydomain.com in a bad spot. I changed the base URL to {{base_URL}} and now im getting a 500 server error on both the front end and the admin panel. I have looked through the database and cannot find the right field to change this value back. Can you point me in the right direction?</p></blockquote>
<p>The client went to System&gt; Configuration&gt; Web&gt; Unsecure and placed an invalid value for <strong>Base URL</strong> field. Beware of this field. Unfortunately, Magento just updates it without any pre-warnings, but change of this specific value can cause Magento to crash.</p>
<p>Usually, we get an error that looks like this:</p>
<blockquote>
<h2>Internal Server Error</h2>
<p>The server encountered an internal error or misconfiguration and was unable to complete your request.</p>
<p>Please contact the server administrator, webmaster@mysite.com and inform them of the time the error occurred, and anything you might have done that may have caused the error.</p>
<p>More information about this error may be available in the server error log.</p>
<p>Additionally, a 404 Not Found error was encountered while trying to use an ErrorDocument to handle the request.</p></blockquote>
<p>The client was on right path to find a solution. We need to open MySQL (usually via php MyAdmin) and find <strong>core_config_data</strong> table. Once there, manually update 2 rows:</p>
<ol>
<li>config_id:3 web/unsecure/base_url =&gt; http://www.mydomain.com/</li>
<li>config_id:4 web/secure/base_url =&gt; https://www.mydomain.com/</li>
</ol>
<p>Everything should work now. Hope this will help someone.</p>
<p style="text-align: right;"><em>By</em> <span>Tomislav Bilic</span><em> from <a rel="nofollow" href="http://inchoo.net/ecommerce/magento/internal-server-error-500-in-magento/" onclick="javascript:pageTracker._trackPageview('/outbound/article/inchoo.net');" target="_blank">Inchoo.net</a></em></p>


<p>Related posts:<ol><li><a href='http://asia-connect.com.vn/2009/07/configuration-error-on-new-magento-installation/' rel='bookmark' title='Permanent Link: Configuration error on new Magento installation'>Configuration error on new Magento installation</a></li><li><a href='http://asia-connect.com.vn/2009/07/php-extension-error-while-installing-magento/' rel='bookmark' title='Permanent Link: PHP extension error while installing Magento'>PHP extension error while installing Magento</a></li><li><a href='http://asia-connect.com.vn/2009/10/how-to-transfer-large-magento-database-from-live-to-development-server-and-other-way-round/' rel='bookmark' title='Permanent Link: How to transfer large Magento database from live to development server and other way round'>How to transfer large Magento database from live to development server and other way round</a></li></ol></p>]]></content:encoded>
			<wfw:commentRss>http://asia-connect.com.vn/2009/10/internal-server-error-500-in-magento/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>Escape from EAV the Magento way</title>
		<link>http://asia-connect.com.vn/2009/10/escape-from-eav-the-magento-way/</link>
		<comments>http://asia-connect.com.vn/2009/10/escape-from-eav-the-magento-way/#comments</comments>
		<pubDate>Wed, 21 Oct 2009 02:49:50 +0000</pubDate>
		<dc:creator>lydh</dc:creator>
				<category><![CDATA[Magento Guide]]></category>
		<category><![CDATA[Magento How To]]></category>
		<category><![CDATA[Magento Programming]]></category>
		<category><![CDATA[Magento Tips]]></category>

		<guid isPermaLink="false">http://asia-connect.com.vn/?p=1035</guid>
		<description><![CDATA[

One of the differences between Magento eCommerce platform and lets say WordPress, when looked from developer point of view, is “avoid raw queries” approach. For a web application, Magento is massive system. His database, although not so massive but surely breathtaking with around 220 tables forces you to use “eye candy” EAV model to do even simple things.
For instance, if I were to tell you that I want you to retrieve 5 simple products from database that have price in the range of 200-600USD you would most likely spent 1-4 ...


Related posts:<ol><li><a href='http://asia-connect.com.vn/2009/07/how-to-install-sample-data-for-magento/' rel='bookmark' title='Permanent Link: How to Install Sample Data for Magento?'>How to Install Sample Data for Magento?</a></li><li><a href='http://asia-connect.com.vn/2009/09/magento-mysql-database-diagram/' rel='bookmark' title='Permanent Link: Magento MySQL database diagram'>Magento MySQL database diagram</a></li><li><a href='http://asia-connect.com.vn/2009/07/improving-magento-speed-performance-with-mysql-query-cache/' rel='bookmark' title='Permanent Link: Improving Magento Speed &#038; Performance With MySQL Query Cache'>Improving Magento Speed &#038; Performance With MySQL Query Cache</a></li></ol>]]></description>
			<content:encoded><![CDATA[<h2></h2>
<p><img title="Escape from EAV the Magento way" src="http://inchoo.net/wp-content/uploads/2009/06/escape.jpg" alt="Escape from EAV the Magento way" width="585" /></p>
<p>One of the differences between <a rel="nofollow" href="http://www.magentocommerce.com" onclick="javascript:pageTracker._trackPageview('/outbound/article/www.magentocommerce.com');"  class="alinks_links" onclick="return alinks_click(this);" title="Magento eCommerce"  style="padding-right: 13px; background: url(http://asia-connect.com.vn/wp-content/plugins/alinks/images/external.png) center right no-repeat;" rel="external">Magento</a> eCommerce platform and lets say WordPress, when looked from developer point of view, is “avoid raw queries” approach. For a web application, Magento is massive system. His database, although not so massive but surely breathtaking with around 220 tables forces you to use “eye candy” EAV model to do even simple things.</p>
<p>For instance, if I were to tell you that I want you to retrieve 5 simple products from database that have price in the range of 200-600USD you would most likely spent 1-4 hours trying to work out the query. In the end you would be lucky if you even get the query that wont break on next Magento upgrade. Let me just remind you on some of the things you need to be careful in example above.</p>
<p>Your query would have to take in consideration the at least the following states: is my product visibility such that it can be seen in Catalog and search result, is my product enabled or disabled, is is out of stock, which website and store view has it been assigned, is it assigned to only one category and that category is disabled by some chance, does it have special price assigned, does it have promotion rules assigned, does it have content (descriptions) for multilingual site assigned.</p>
<p>All of those and more are questions that one has to take into consideration when doing raw database queries. It makes no sense to create query that fetches product and all its appropriate info (price, quantity, description…) if that product is disabled or assigned to category that is disabled. For instance, if you need “featured” product functionality and you manually create raw query that extracts one “featured” product to lets say home page. There you create nice block holding all the necessary info of the product with a link for lets say “Add to cart” or “View product”. Clicking one of those two link would give you most likely 404 if the product is disable or any other condition that enables the product to be shown is disabled.</p>
<p>So basically, raw SQL queries in Magento are a “no no” for most of the time. Too much work and you never know what they will change in future upgrades. Which brings me to this new trend of theirs which I like to call “Escape from EAV”.</p>
<p><a rel="nofollow" title="The Soul is trying to escape from Hell // The Gates of Hell" href="http://en.wikipedia.org/wiki/The_Gates_of_Hell" onclick="javascript:pageTracker._trackPageview('/outbound/article/en.wikipedia.org');" target="_blank"><img title="Gates of Hell" src="http://inchoo.net/wp-content/uploads/2009/06/gates_of_hell.jpg" alt="Gates of Hell" width="310" height="324" /></a>EAV, also know as Entity Attribute Value was suppose to bee (or is) the next big thing in OOP. Anyhow, Magento and his way of EAV have two huge downfalls called LACK OF DOCUMENTATION and WHAT WILL THEY CHANGE IN NEXT UPGRADE. The other day I was working on a Magento shop that had 22 000 products. Almost all of them were simple products, just about 600 were grouped. The store was initially installed on Magento 1.2 version. Site was pretty much 95% complete from both graphic and development perspective. Anyhow, Magento version 1.3.1 was released and on client demand we decide to to upgrade. Important thing to keep in mind is that in version 1.3 Magento introduce “change in philosophy” concerning the EAV model.</p>
<p>Altough EAV sounds great (and really is great for most of the time), it can really slow things down with all those JOINS executed on database. So the Magento team decided to do a little flat tabling. Basically we now have massive data duplication in MySQL where data is taken from various tables and copied int one, the flat table. Flat tables were introduced for both Products and categories, in regards to various website and store views.</p>
<p>Basically Magento has the power to “on the fly” create tables and do the “magical” copying of data from various tables to the flat tables. I assume they were looking for a faster way to “assemble” Product objects in Magento which in turn should boost the speed of collection object i grew so found about. I can live with duplicated data in database, I mean I am not the one writing them down. But let me get back to real world scenario.</p>
<p>As I mentioned, store I have been working on had more than 20 000 products. Due to limitations of both MySQL and PHP failed to do Rebuilt that you can find in System &gt; Configuration &gt; Cache management. This failure caused corrupted data in database. This manifested with “empty” attributes (attributes not showing up in Layered navigation). I resolved the issue by “re saving” all of the 20 000 product with custom script I wrote. After that i noticed the data in flat tables got rebuild as well. This of course took several hours. Magento EAV model seems OK on paper, but with store that hold’s large number of products it simply does not work, at least not in way in which their collection objects are built. Changes introduced in form of flat tables in versions 1.3 should, to some extent, improve work with stores that have large numbers of products. However this improvement seems to come in form of “copy all data from scattered tables to single flat table”.</p>
<p>Solutions like these are nightmare when it comes to upgrading the store that already has large number of products in. System is expected to handle part of the job transparently but it failed, leaving the client with corrupted database.</p>
<p>So, a word of advice for upgrading an existing Magento store: NEVER do it on live site. Let professional developer transfer live site and database to his dev machine, or make a copy on some sub folder on live site. Magento’s extreme out of the box feature rich capabilities, open source philosophy and good marketing have made it extremely popular but be careful, free is such a a loose term.</p>
<p>I am really anxious to see the future path of EAV vs Flat model in Magento.</p>
<p style="text-align: right;"><em>By</em> <span>Branko Ajzele</span> <em>from <a rel="nofollow" href="http://inchoo.net/ecommerce/magento/escape-from-eav-the-magento-way/" onclick="javascript:pageTracker._trackPageview('/outbound/article/inchoo.net');" target="_blank">Inchoo.net</a></em></p>


<p>Related posts:<ol><li><a href='http://asia-connect.com.vn/2009/07/how-to-install-sample-data-for-magento/' rel='bookmark' title='Permanent Link: How to Install Sample Data for Magento?'>How to Install Sample Data for Magento?</a></li><li><a href='http://asia-connect.com.vn/2009/09/magento-mysql-database-diagram/' rel='bookmark' title='Permanent Link: Magento MySQL database diagram'>Magento MySQL database diagram</a></li><li><a href='http://asia-connect.com.vn/2009/07/improving-magento-speed-performance-with-mysql-query-cache/' rel='bookmark' title='Permanent Link: Improving Magento Speed &#038; Performance With MySQL Query Cache'>Improving Magento Speed &#038; Performance With MySQL Query Cache</a></li></ol></p>]]></content:encoded>
			<wfw:commentRss>http://asia-connect.com.vn/2009/10/escape-from-eav-the-magento-way/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Magento block caching</title>
		<link>http://asia-connect.com.vn/2009/10/magento-block-caching/</link>
		<comments>http://asia-connect.com.vn/2009/10/magento-block-caching/#comments</comments>
		<pubDate>Tue, 20 Oct 2009 01:48:05 +0000</pubDate>
		<dc:creator>lydh</dc:creator>
				<category><![CDATA[Magento Guide]]></category>
		<category><![CDATA[Magento Development]]></category>
		<category><![CDATA[Magento Programming]]></category>
		<category><![CDATA[Magento Tips]]></category>

		<guid isPermaLink="false">http://asia-connect.com.vn/?p=1026</guid>
		<description><![CDATA[Recently we were working on speeding up parts of client site which had usual problem of slow page loading caused by complicated configurable products. To solve the problem we were experimenting with extending core Magento caching capabilities.
Magento has built in predifined system of block output caching. Its block abstract has Zend_Cache caching capabilities that can be modified for your own needs. I’m showing here an example of caching whole product view block, however this is just a specific example of how things works, problems are different and requires different approach ...


Related posts:<ol><li><a href='http://asia-connect.com.vn/2009/07/some-custom-blocks-to-help-you-show-products/' rel='bookmark' title='Permanent Link: Some custom Blocks to help you show products'>Some custom Blocks to help you show products</a></li><li><a href='http://asia-connect.com.vn/2009/07/top-3-solutions-when-your-magento-categories-are-not-displaying/' rel='bookmark' title='Permanent Link: Top 3 Solutions when your Magento Categories are not displaying'>Top 3 Solutions when your Magento Categories are not displaying</a></li><li><a href='http://asia-connect.com.vn/2009/09/bestseller-module-with-toolbar-%e2%80%93-magento-1-2-1/' rel='bookmark' title='Permanent Link: Bestseller module (with Toolbar!) – Magento 1.2.1'>Bestseller module (with Toolbar!) – Magento 1.2.1</a></li></ol>]]></description>
			<content:encoded><![CDATA[<p>Recently we were working on speeding up parts of client site which had usual problem of slow page loading caused by complicated configurable products. To solve the problem we were experimenting with extending core <a rel="nofollow" href="http://www.magentocommerce.com" onclick="javascript:pageTracker._trackPageview('/outbound/article/www.magentocommerce.com');"  class="alinks_links" onclick="return alinks_click(this);" title="Magento eCommerce"  style="padding-right: 13px; background: url(http://asia-connect.com.vn/wp-content/plugins/alinks/images/external.png) center right no-repeat;" rel="external">Magento</a> caching capabilities.</p>
<p>Magento has built in predifined system of block output caching. Its block abstract has Zend_Cache caching capabilities that can be modified for your own needs. I’m showing here an example of caching whole product view block, however this is just a specific example of how things works, problems are different and requires different approach and solution.</p>
<p>I will start with some external reading and example itself. There is great article on Magento Wiki about this topic, along with category cache example on Magento forums.</p>
<p>With my Inchoo_BlockCaching.rar example module things should be little easier to understand.</p>
<p>Magento block caching depends of three things:<br />
cache_lifetime =&gt; cache lifetime in seconds<br />
cache_tags =&gt; cache type identifiers primarly used for deleting right cache at the right time<br />
cache_key =&gt; cache identyfier</p>
<p>You can simply inject this data into construtor of any Magento block</p>
<pre class="brush: php;">
protected function _construct()
{
$this-&gt;addData(array(
'cache_lifetime' =&gt; 3600,
'cache_tags'     =&gt; array(Mage_Catalog_Model_Product::CACHE_TAG),
'cache_key'      =&gt; $this-&gt;getProduct()-&gt;getId(),
));
}
</pre>
<p>or if you need some conditional approach like i did in this example define equivalent functions</p>
<pre class="brush: php;">
public function getCacheKey(){}
public function getCacheLifetime(){}
public function getCacheTags(){}
</pre>
<p style="text-align: right;"><em>By</em> <span>Ivan Weiler</span><em> from <a rel="nofollow" href="http://inchoo.net/ecommerce/magento/magento-block-caching/" onclick="javascript:pageTracker._trackPageview('/outbound/article/inchoo.net');" target="_blank">Inchoo.net</a></em></p>
<pre style="text-align: left;"></pre>


<p>Related posts:<ol><li><a href='http://asia-connect.com.vn/2009/07/some-custom-blocks-to-help-you-show-products/' rel='bookmark' title='Permanent Link: Some custom Blocks to help you show products'>Some custom Blocks to help you show products</a></li><li><a href='http://asia-connect.com.vn/2009/07/top-3-solutions-when-your-magento-categories-are-not-displaying/' rel='bookmark' title='Permanent Link: Top 3 Solutions when your Magento Categories are not displaying'>Top 3 Solutions when your Magento Categories are not displaying</a></li><li><a href='http://asia-connect.com.vn/2009/09/bestseller-module-with-toolbar-%e2%80%93-magento-1-2-1/' rel='bookmark' title='Permanent Link: Bestseller module (with Toolbar!) – Magento 1.2.1'>Bestseller module (with Toolbar!) – Magento 1.2.1</a></li></ol></p>]]></content:encoded>
			<wfw:commentRss>http://asia-connect.com.vn/2009/10/magento-block-caching/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Custom Transactional Emails</title>
		<link>http://asia-connect.com.vn/2009/10/custom-transactional-emails/</link>
		<comments>http://asia-connect.com.vn/2009/10/custom-transactional-emails/#comments</comments>
		<pubDate>Mon, 19 Oct 2009 02:40:17 +0000</pubDate>
		<dc:creator>lydh</dc:creator>
				<category><![CDATA[Magento Customization]]></category>
		<category><![CDATA[Magento Guide]]></category>
		<category><![CDATA[Magento Tips]]></category>
		<category><![CDATA[Magento Tutorials]]></category>

		<guid isPermaLink="false">http://asia-connect.com.vn/?p=1021</guid>
		<description><![CDATA[
Since transactional emails are very important for the process of online shopping you need to have them set up just the you want them and the default templates just don’t cut it. You need your own logo, email data and custom verbiage to be consistent with the image of your company.
 
Here how it’s done :
1. Creating custom transactional e-mails via Admin
a) In the admin panel of your magento installation go to:  System-&#62;Transactional Emails
You’ll be presented with a list of default emails.  You’ll need to create a custom email so the only way ...


Related posts:<ol><li><a href='http://asia-connect.com.vn/2009/10/magento-custom-emails/' rel='bookmark' title='Permanent Link: Magento custom emails'>Magento custom emails</a></li><li><a href='http://asia-connect.com.vn/2009/10/free-magento-themes-vs-custom-magento-design/' rel='bookmark' title='Permanent Link: Free Magento Themes vs Custom Magento Design'>Free Magento Themes vs Custom Magento Design</a></li><li><a href='http://asia-connect.com.vn/2009/07/some-custom-blocks-to-help-you-show-products/' rel='bookmark' title='Permanent Link: Some custom Blocks to help you show products'>Some custom Blocks to help you show products</a></li></ol>]]></description>
			<content:encoded><![CDATA[<p><img title="Custom Transactional Emails" src="http://inchoo.net/wp-content/uploads/2009/02/transactional_emails.jpg" alt="Custom Transactional Emails" width="585" /></p>
<p>Since transactional emails are very important for the process of online shopping you need to have them set up just the you want them and the default templates just don’t cut it. You need your own logo, email data and custom verbiage to be consistent with the image of your company.</p>
<p><span id="more-877"> </span></p>
<p>Here how it’s done :</p>
<p>1. Creating custom transactional e-mails via Admin</p>
<p>a) In the admin panel of your <a rel="nofollow" href="http://www.magentocommerce.com" onclick="javascript:pageTracker._trackPageview('/outbound/article/www.magentocommerce.com');"  class="alinks_links" onclick="return alinks_click(this);" title="Magento eCommerce"  style="padding-right: 13px; background: url(http://asia-connect.com.vn/wp-content/plugins/alinks/images/external.png) center right no-repeat;" rel="external">magento</a> installation go to:  System-&gt;Transactional Emails</p>
<p>You’ll be presented with a list of default emails.  You’ll need to create a custom email so the only way to avoid writing our custom templates from scratch is to use the existing code of the template.<br />
<strong>Hint</strong>: If you want to see the template before copying, first click on the “Preview” button on the right.</p>
<p>b) To create the new template click on the “Add new template” above the “Transactional Emails” list. This is the part where Magento helps you with the option to load a deafult template for you to customize. Nice feature indeed.</p>
<p>Once you have loaded the deafult template give it a unique name under the “Template name”  input field by adding a prefix of your own but leaving the deafult name as well. <strong>Example</strong>:  ” mysite :: New account “.</p>
<p>That way you can easily spot them in the long list of default and custom emails.</p>
<p>Afterwards you can easily customize the verbiage and styling within the “Template subject” and “Template content”.</p>
<p>The “Template content” is the body of the message that the user will recieve upon transaction so be sure to change the E-mail, name of the company etc. You’ll need to upload the logo of your company in the images folder of the skin you’re using.</p>
<p>Once you are done with editing, save the changes and repeat the process for the rest of the email templates.</p>
<p>2. Assigning the templates to different stores and storeviews</p>
<p>Assigning is the easiest part. Just go to the System &gt; Configuration &gt; Sales &gt; Sales Emails and select the corresponding template minding the configuration scope.</p>
<p>After you’re done with setting your new templates save the configuration by clicking on the “Save config”.</p>
<p>That’s it. Wise thing to do now would be to check how the emails look when received so make a test purchase to verify everything is the way it should be.</p>
<p style="text-align: right;"><em>By</em> <span>Željko Prša</span> <em> from <a rel="nofollow" href="http://inchoo.net/" onclick="javascript:pageTracker._trackPageview('/outbound/article/inchoo.net');"  class="alinks_links" onclick="return alinks_click(this);" title="inchoo.net"  style="padding-right: 13px; background: url(http://asia-connect.com.vn/wp-content/plugins/alinks/images/external.png) center right no-repeat;" rel="external">Inchoo.net</a></em></p>


<p>Related posts:<ol><li><a href='http://asia-connect.com.vn/2009/10/magento-custom-emails/' rel='bookmark' title='Permanent Link: Magento custom emails'>Magento custom emails</a></li><li><a href='http://asia-connect.com.vn/2009/10/free-magento-themes-vs-custom-magento-design/' rel='bookmark' title='Permanent Link: Free Magento Themes vs Custom Magento Design'>Free Magento Themes vs Custom Magento Design</a></li><li><a href='http://asia-connect.com.vn/2009/07/some-custom-blocks-to-help-you-show-products/' rel='bookmark' title='Permanent Link: Some custom Blocks to help you show products'>Some custom Blocks to help you show products</a></li></ol></p>]]></content:encoded>
			<wfw:commentRss>http://asia-connect.com.vn/2009/10/custom-transactional-emails/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>Magento Connect</title>
		<link>http://asia-connect.com.vn/2009/10/magento-connect/</link>
		<comments>http://asia-connect.com.vn/2009/10/magento-connect/#comments</comments>
		<pubDate>Mon, 19 Oct 2009 02:16:06 +0000</pubDate>
		<dc:creator>lydh</dc:creator>
				<category><![CDATA[Magento Guide]]></category>
		<category><![CDATA[Magento How To]]></category>
		<category><![CDATA[Magento Tips]]></category>
		<category><![CDATA[Magento Tutorials]]></category>

		<guid isPermaLink="false">http://asia-connect.com.vn/?p=1018</guid>
		<description><![CDATA[
One of the first things that really confused me when i start using Magento is Magento connect. I just started learning things, so i was looking for some plugin examples. I visited Magento connect page with extensions and looked for download button, instead i found “Get extension key” one.
If i recall correctly their What is this? explanation wasn’t the same back then .. or i was just so terrified of Magento at start that i didn’t understand anything at that point  I knew i need to paste that key ...


Related posts:<ol><li><a href='http://asia-connect.com.vn/2009/07/packaging-a-magento-extension/' rel='bookmark' title='Permanent Link: Packaging a Magento Extension'>Packaging a Magento Extension</a></li><li><a href='http://asia-connect.com.vn/2009/09/access-denied-in-magento-admin/' rel='bookmark' title='Permanent Link: Access denied in Magento admin'>Access denied in Magento admin</a></li><li><a href='http://asia-connect.com.vn/2009/09/csrf-attack-prevention/' rel='bookmark' title='Permanent Link: CSRF Attack Prevention'>CSRF Attack Prevention</a></li></ol>]]></description>
			<content:encoded><![CDATA[<h2><a rel="nofollow" title="View all posts in Magento" rel="category tag" href="http://inchoo.net/category/ecommerce/magento/" onclick="javascript:pageTracker._trackPageview('/outbound/article/inchoo.net');"></a><img title="Magento Connect" src="http://inchoo.net/wp-content/uploads/2009/03/magento-connect-manager.jpg" alt="Magento Connect" width="585" /></h2>
<p>One of the first things that really confused me when i start using <a rel="nofollow" href="http://www.magentocommerce.com" onclick="javascript:pageTracker._trackPageview('/outbound/article/www.magentocommerce.com');"  class="alinks_links" onclick="return alinks_click(this);" title="Magento eCommerce"  style="padding-right: 13px; background: url(http://asia-connect.com.vn/wp-content/plugins/alinks/images/external.png) center right no-repeat;" rel="external">Magento</a> is Magento connect. I just started learning things, so i was looking for some plugin examples. I visited <a rel="nofollow" href="http://www.magentocommerce.com/magento-connect/" onclick="javascript:pageTracker._trackPageview('/outbound/article/www.magentocommerce.com');" target="_blank">Magento connect</a> page with extensions and looked for download button, instead i found “Get extension key” one.</p>
<p>If i recall correctly their <a rel="nofollow" href="http://www.magentocommerce.com/wiki/what_is_a_magento_connect_extension_key" onclick="javascript:pageTracker._trackPageview('/outbound/article/www.magentocommerce.com');" target="_blank">What is this?</a> explanation wasn’t the same back then .. or i was just so terrified of Magento at start that i didn’t understand anything at that point <img src="http://inchoo.net/wp-includes/images/smilies/icon_wink.gif" alt=";)" /> I knew i need to paste that key somewhere, in something they called my Magento connect manager or Magento downloader, but i didn’t understand where it is.</p>
<p><span id="more-1092"> </span></p>
<p><strong>1. Magento extensions</strong></p>
<p>Visit <a rel="nofollow" href="http://www.magentocommerce.com/magento-connect/" onclick="javascript:pageTracker._trackPageview('/outbound/article/www.magentocommerce.com');" target="_blank">Magento connect</a> page. There are really some great extensions there and many of them are free.<br />
Find extension that interest you, click “Get extension key”, agree with license agreement and get key. Pay attention to Stability description field (stable, alpha, beta).</p>
<p>Also read <a rel="nofollow" href="http://www.magentocommerce.com/wiki/what_is_a_magento_connect_extension_key" onclick="javascript:pageTracker._trackPageview('/outbound/article/www.magentocommerce.com');" target="_blank">What is this?</a> explanation and follow the instructions. Or just navigate to<br />
http://www.yourmagentoshop.ext/downloader in your favorite browser.</p>
<p><img title="magento_connect" src="http://inchoo.net/wp-content/uploads/2009/03/magento_connect.png" alt="magento_connect" width="585" /></p>
<p>If you click Settings tab of your connect manager you will see “Preferred State” option there. If you’re installing extension with different “stability” or you get something similar to</p>
<p>“Failed to download magento-community/xyz within preferred state “stable”, latest release is version 0.1, stability beta .. ”</p>
<p>you should change this option to appropriate one. You should of course be careful with alphas and betas and know what you’re doing.</p>
<p>If you are developer or just interested, ftp to downloader/pearlib/download after you install extension and you’ll find packed downloaded extensions there.</p>
<p><strong>2. Magento upgrade</strong></p>
<p>You can also automatically upgrade your Magento installation through connect manager with key</p>
<p>magento-core/Mage_All_Latest</p>
<p>Enjoy!</p>
<p style="text-align: right;"><em>By</em> <span>Ivan Weiler</span> <em>from <a rel="nofollow" href="http://inchoo.net/" onclick="javascript:pageTracker._trackPageview('/outbound/article/inchoo.net');"  class="alinks_links" onclick="return alinks_click(this);" title="inchoo.net"  style="padding-right: 13px; background: url(http://asia-connect.com.vn/wp-content/plugins/alinks/images/external.png) center right no-repeat;" rel="external">Inchoo.net</a></em></p>


<p>Related posts:<ol><li><a href='http://asia-connect.com.vn/2009/07/packaging-a-magento-extension/' rel='bookmark' title='Permanent Link: Packaging a Magento Extension'>Packaging a Magento Extension</a></li><li><a href='http://asia-connect.com.vn/2009/09/access-denied-in-magento-admin/' rel='bookmark' title='Permanent Link: Access denied in Magento admin'>Access denied in Magento admin</a></li><li><a href='http://asia-connect.com.vn/2009/09/csrf-attack-prevention/' rel='bookmark' title='Permanent Link: CSRF Attack Prevention'>CSRF Attack Prevention</a></li></ol></p>]]></content:encoded>
			<wfw:commentRss>http://asia-connect.com.vn/2009/10/magento-connect/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Simple product with custom options in grouped product in Magento</title>
		<link>http://asia-connect.com.vn/2009/10/simple-product-with-custom-options-in-grouped-product-in-magento/</link>
		<comments>http://asia-connect.com.vn/2009/10/simple-product-with-custom-options-in-grouped-product-in-magento/#comments</comments>
		<pubDate>Sat, 17 Oct 2009 02:36:58 +0000</pubDate>
		<dc:creator>lydh</dc:creator>
				<category><![CDATA[Magento Guide]]></category>
		<category><![CDATA[Magento How To]]></category>
		<category><![CDATA[Magento Tips]]></category>
		<category><![CDATA[Magento Tutorials]]></category>

		<guid isPermaLink="false">http://asia-connect.com.vn/?p=1014</guid>
		<description><![CDATA[
Does the title sound complicated? Grouped Products display several products on one page.  For example – if you’re selling chef’s knives and you have the same knife in four sizes, you can make a grouped product to display all four sizes.  Customers can select the size(s) they want and add to cart from this page.  Another example would be a themed bedroom set – you can create a grouped product and sell the sheets, comforter, and pillow cases all from the same page.
Technically, we create a simple products and after ...


Related posts:<ol><li><a href='http://asia-connect.com.vn/2009/10/adding-simple-tweet-this-for-magento-products/' rel='bookmark' title='Permanent Link: Adding simple Tweet this for Magento products'>Adding simple Tweet this for Magento products</a></li><li><a href='http://asia-connect.com.vn/2009/07/some-custom-blocks-to-help-you-show-products/' rel='bookmark' title='Permanent Link: Some custom Blocks to help you show products'>Some custom Blocks to help you show products</a></li><li><a href='http://asia-connect.com.vn/2009/10/simple-random-banner-rotator-in-magento-using-static-blocks/' rel='bookmark' title='Permanent Link: Simple random banner rotator in Magento using static blocks'>Simple random banner rotator in Magento using static blocks</a></li></ol>]]></description>
			<content:encoded><![CDATA[<p><img title="Simple product with custom options in grouped product in Magento" src="http://inchoo.net/wp-content/uploads/2009/01/grouped-products.png" alt="Simple product with custom options in grouped product in Magento" width="585" /></p>
<p>Does the title sound complicated? <strong>Grouped Products</strong> display several products on one page.  For example – if you’re selling chef’s knives and you have the same knife in four sizes, you can make a <strong>grouped product</strong> to display all four sizes.  Customers can select the size(s) they want and add to cart from this page.  Another example would be a themed bedroom set – you can create a grouped product and sell the sheets, comforter, and pillow cases all from the same page.</p>
<p><img title="Grouped product" src="http://www.magentocommerce.com/images/uploads/grouped_prod_front.gif" alt="" width="371" height="264" />Technically, we create a simple products and after that a grouped products. When we edit the grouped product, we will associate simple products to it.It works very fine, but some of you might have issue if a simple product has custom options. If that’s the case, and if costum options are set as required (default way), the simple product will not be associative to the grouped product. Let’s see what needs to be changed in that case.</p>
<p>On <a rel="nofollow" href="http://www.magentocommerce.com" onclick="javascript:pageTracker._trackPageview('/outbound/article/www.magentocommerce.com');"  class="alinks_links" onclick="return alinks_click(this);" title="Magento eCommerce"  style="padding-right: 13px; background: url(http://asia-connect.com.vn/wp-content/plugins/alinks/images/external.png) center right no-repeat;" rel="external">Magento</a> site, there is a nice tutorial <a rel="nofollow" rel="nofollow" href="http://www.magentocommerce.com/knowledge-base/entry/tutorial-creating-a-grouped-product" onclick="javascript:pageTracker._trackPageview('/outbound/article/www.magentocommerce.com');" target="_blank">how to create a grouped product</a>. Please read it first to become familiar with the process. If you don’t have to assign simple products with custom options to a grouped product, that tutorial will be enough.</p>
<p>In case you wish to have simple products with custom options listed, be sure <strong>you don’t set any of the custom options to be required</strong>.</p>
<p><a href="http://inchoo.net/wp-content/uploads/2009/01/custom-options.png"  rel="nofollow"  onclick="javascript:pageTracker._trackPageview('/outbound/article/inchoo.net');"  class="thickbox noicon" title="Custom Options in Magento"><img title="Custom Options in Magento" src="http://inchoo.net/wp-content/uploads/2009/01/custom-options.png" alt="Custom Options in Magento" width="585" /></a></p>
<p style="text-align: right;"><em>By</em> <span>Tomislav Bilic <em>from <a rel="nofollow" href="http://inchoo.net/ecommerce/magento/simple-product-custom-options-in-grouped-product/" onclick="javascript:pageTracker._trackPageview('/outbound/article/inchoo.net');" target="_blank">Inchoo.net</a></em><br />
</span></p>


<p>Related posts:<ol><li><a href='http://asia-connect.com.vn/2009/10/adding-simple-tweet-this-for-magento-products/' rel='bookmark' title='Permanent Link: Adding simple Tweet this for Magento products'>Adding simple Tweet this for Magento products</a></li><li><a href='http://asia-connect.com.vn/2009/07/some-custom-blocks-to-help-you-show-products/' rel='bookmark' title='Permanent Link: Some custom Blocks to help you show products'>Some custom Blocks to help you show products</a></li><li><a href='http://asia-connect.com.vn/2009/10/simple-random-banner-rotator-in-magento-using-static-blocks/' rel='bookmark' title='Permanent Link: Simple random banner rotator in Magento using static blocks'>Simple random banner rotator in Magento using static blocks</a></li></ol></p>]]></content:encoded>
			<wfw:commentRss>http://asia-connect.com.vn/2009/10/simple-product-with-custom-options-in-grouped-product-in-magento/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Get product review info (independent) of review page</title>
		<link>http://asia-connect.com.vn/2009/10/get-product-review-info-independent-of-review-page/</link>
		<comments>http://asia-connect.com.vn/2009/10/get-product-review-info-independent-of-review-page/#comments</comments>
		<pubDate>Sat, 17 Oct 2009 02:27:44 +0000</pubDate>
		<dc:creator>lydh</dc:creator>
				<category><![CDATA[Magento Guide]]></category>
		<category><![CDATA[Magento How To]]></category>
		<category><![CDATA[Magento Tips]]></category>

		<guid isPermaLink="false">http://asia-connect.com.vn/?p=1011</guid>
		<description><![CDATA[
Here at Inchoo, we are working on a private project, that should see daylight any time soon. One of the requirements we had is to show product review info on pages independent of product review page. Let’s say you wish to show review info on home page for some of the products. After few weeks with working with Magento, one learns how to use the model stuff directly from view files. Although this might not be the “right” way, it’s most definitely the fastest way (and I doubt most of ...


Related posts:<ol><li><a href='http://asia-connect.com.vn/2009/06/get-product-for-specific-store-in-magento/' rel='bookmark' title='Permanent Link: Get Product for a Specific Store in Magento'>Get Product for a Specific Store in Magento</a></li><li><a href='http://asia-connect.com.vn/2009/07/some-custom-blocks-to-help-you-show-products/' rel='bookmark' title='Permanent Link: Some custom Blocks to help you show products'>Some custom Blocks to help you show products</a></li><li><a href='http://asia-connect.com.vn/2009/07/custom-category-menu-navigation-in-magento/' rel='bookmark' title='Permanent Link: Custom category menu navigation in Magento'>Custom category menu navigation in Magento</a></li></ol>]]></description>
			<content:encoded><![CDATA[<p><img title="Get product review info (independent) of review page" src="http://inchoo.net/wp-content/uploads/2009/01/customer-reviews.png" alt="Get product review info (independent) of review page" width="585" /></p>
<p>Here at Inchoo, we are working on a private project, that should see daylight any time soon. One of the requirements we had is to show product review info on pages independent of product review page. Let’s say you wish to show review info on home page for some of the products. After few weeks with working with <a rel="nofollow" href="http://www.magentocommerce.com" onclick="javascript:pageTracker._trackPageview('/outbound/article/www.magentocommerce.com');"  class="alinks_links" onclick="return alinks_click(this);" title="Magento eCommerce"  style="padding-right: 13px; background: url(http://asia-connect.com.vn/wp-content/plugins/alinks/images/external.png) center right no-repeat;" rel="external">Magento</a>, one learns how to use the model stuff directly from view files. Although this might not be the “right” way, it’s most definitely the fastest way (and I doubt most of your clients would prefer any other <img src="http://inchoo.net/wp-includes/images/smilies/icon_smile.gif" alt=":)" /> , especially if it’s some minor modification).</p>
<p>Here is a code to retrieve the product review info:</p>
<p>&lt;?php</p>
<p>$storeId    = Mage::app()-&gt;getStore()-&gt;getId();</p>
<p>$summaryData = Mage::getModel(’review/review_summary’)<br />
-&gt;setStoreId($storeId)<br />
-&gt;load($_product-&gt;getId());</p>
<p>/* @var $summaryData Mage_Review_Model_Review_Summary */</p>
<p>/*</p>
<p>array(<br />
['primary_id'] =&gt; 147<br />
['entity_pk_value'] =&gt; 166<br />
['entity_type'] =&gt; 1<br />
['reviews_count'] =&gt; 1<br />
['rating_summary'] =&gt; 80<br />
['store_id'] =&gt; 1<br />
)<br />
*/</p>
<p>?&gt;</p>
<p>Just be sure to pass it the right product id number. Cheers…</p>
<p style="text-align: right;"><em>By</em> <span>Branko Ajzele <em>from <a rel="nofollow" href="http://inchoo.net/ecommerce/magento/get-product-review-info-independent-of-review-page/" onclick="javascript:pageTracker._trackPageview('/outbound/article/inchoo.net');" target="_blank">Inchoo.net</a></em><br />
</span></p>


<p>Related posts:<ol><li><a href='http://asia-connect.com.vn/2009/06/get-product-for-specific-store-in-magento/' rel='bookmark' title='Permanent Link: Get Product for a Specific Store in Magento'>Get Product for a Specific Store in Magento</a></li><li><a href='http://asia-connect.com.vn/2009/07/some-custom-blocks-to-help-you-show-products/' rel='bookmark' title='Permanent Link: Some custom Blocks to help you show products'>Some custom Blocks to help you show products</a></li><li><a href='http://asia-connect.com.vn/2009/07/custom-category-menu-navigation-in-magento/' rel='bookmark' title='Permanent Link: Custom category menu navigation in Magento'>Custom category menu navigation in Magento</a></li></ol></p>]]></content:encoded>
			<wfw:commentRss>http://asia-connect.com.vn/2009/10/get-product-review-info-independent-of-review-page/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>Manual creation of Google Sitemap in Magento</title>
		<link>http://asia-connect.com.vn/2009/10/manual-creation-of-google-sitemap-in-magento/</link>
		<comments>http://asia-connect.com.vn/2009/10/manual-creation-of-google-sitemap-in-magento/#comments</comments>
		<pubDate>Sat, 17 Oct 2009 02:15:19 +0000</pubDate>
		<dc:creator>lydh</dc:creator>
				<category><![CDATA[Magento Guide]]></category>
		<category><![CDATA[Magento How To]]></category>
		<category><![CDATA[Magento Tips]]></category>
		<category><![CDATA[Magento Tutorials]]></category>

		<guid isPermaLink="false">http://asia-connect.com.vn/?p=1008</guid>
		<description><![CDATA[

Most of you probably know this, but let’s define what the sitemaps are. Sitemaps are a simple way for site creators to give search engines the information about pages on their site that are available for public. Basically, those are just 1 or more XML files that lists URLs for a site along with additional meta informatio about each URL (like last update, how often it changes, its importance relevant to other pages). With this in mind, search engines can be more clever while crawling the site. Click here see ...


Related posts:<ol><li><a href='http://asia-connect.com.vn/2009/07/google-analytics-in-magento/' rel='bookmark' title='Permanent Link: Google Analytics in Magento'>Google Analytics in Magento</a></li><li><a href='http://asia-connect.com.vn/2009/09/figuring-out-magento-object-context/' rel='bookmark' title='Permanent Link: Figuring out Magento object context'>Figuring out Magento object context</a></li><li><a href='http://asia-connect.com.vn/2009/09/disabling-wishlist-functionality/' rel='bookmark' title='Permanent Link: Disabling wishlist functionality'>Disabling wishlist functionality</a></li></ol>]]></description>
			<content:encoded><![CDATA[<h2></h2>
<p><img title="Manual creation of Google Sitemap in Magento" src="http://inchoo.net/wp-content/uploads/2008/09/sitemap_inchoo.png" alt="Manual creation of Google Sitemap in Magento" width="585" /></p>
<p>Most of you probably know this, but let’s define what the sitemaps are. Sitemaps are a simple way for site creators to give search engines the information about pages on their site that are available for public. Basically, those are just 1 or more XML files that lists URLs for a site along with additional meta informatio about each URL (like last update, how often it changes, its importance relevant to other pages). With this in mind, search engines can be more clever while crawling the site. <a rel="nofollow" rel="nofollow" href="http://inchoo.net/sitemap.xml" onclick="javascript:pageTracker._trackPageview('/outbound/article/inchoo.net');">Click here</a> see how sitemap of this site looks like.</p>
<p><span id="more-87"> </span></p>
<p>You will hear the term Google Sitemap a lot, but <a rel="nofollow" href="http://www.sitemaps.org/protocol.php" onclick="javascript:pageTracker._trackPageview('/outbound/article/www.sitemaps.org');" target="_blank">XML Schema for the Sitemap protocol</a> is not related only to Google at all. It can be used in many places, but the most important ones are <a rel="nofollow" title="Google Webmaster Tools" href="http://www.google.com/webmasters/tools/" onclick="javascript:pageTracker._trackPageview('/outbound/article/www.google.com');" target="_blank">Google Webmaster Tools</a> and <a rel="nofollow" title="Yahoo Site Explorer" href="http://siteexplorer.search.yahoo.com/" onclick="javascript:pageTracker._trackPageview('/outbound/article/siteexplorer.search.yahoo.com');" target="_blank">Yahoo! Site Explorer</a>.</p>
<h2>How do we create Google Sitemap in <a rel="nofollow" href="http://www.magentocommerce.com" onclick="javascript:pageTracker._trackPageview('/outbound/article/www.magentocommerce.com');"  class="alinks_links" onclick="return alinks_click(this);" title="Magento eCommerce"  style="padding-right: 13px; background: url(http://asia-connect.com.vn/wp-content/plugins/alinks/images/external.png) center right no-repeat;" rel="external">Magento</a>?</h2>
<h3>1. Sitemap File Configuration</h3>
<p>First we need to create sitemap file in Magento. This is basically pointer to tell Magento where to create sitemap file and how to name it. Log in to Magento Administration and go to:<br />
<strong>Catalog -&gt; Google Sitemap</strong></p>
<p>Check to see if the sitemap file is already present. Lets assume we wish to create sitemap in the URL: <span style="color: #666666;">http://www.yourstore.com</span>/sitemap/sitemap.xml<br />
To do it successfully,</p>
<ol>
<li>FTP to the server</li>
<li>create <strong>sitemap</strong> folder</li>
<li>chmod the folder to 777</li>
</ol>
<p>On some servers, previous steps will not be required, but it is better to create the file first so that Magento can edit it.</p>
<p>Let’s go to Magento administration now and click on “Add Sitemap” button. Just insert the default values.</p>
<p>After this step, we just told Magento where to create sitemap file. It is not yet created.</p>
<h3>2. Configure Sitemap</h3>
<p>Sitemap can be configured from the interface <strong>System -&gt; Configuration -&gt; Catalog-&gt;Google Sitemap</strong>. If you are not sure what does it all mean, check <a rel="nofollow" title="XML Tag Definitions" href="http://www.sitemaps.org/protocol.php#xmlTagDefinitions" onclick="javascript:pageTracker._trackPageview('/outbound/article/www.sitemaps.org');" target="_blank">XML Tag definitions</a> section from “Sitemaps XML format” document.</p>
<h3>3. Create Sitemap Manually</h3>
<p>Looks like Magento folks were thinking that sitemap should only be created by a cron job. Yes, it can be done that way also. Be sure to read Wiki article <a rel="nofollow" title="Learn how to set up Cron Job in Magento" href="http://www.magentocommerce.com/wiki/how_to/how_to_setup_a_cron_job" onclick="javascript:pageTracker._trackPageview('/outbound/article/www.magentocommerce.com');" target="_blank">How to Set Up a Cron Job</a> to get familiar with it. If you are looking for manual creation, quit your search for “Create Sitemap” button. You will not find it. But there is a workaround. You can enter manual URL to execute sitemap creation:</p>
<p><span style="color: #666666;">http://www.yourstore.com</span>/index.php/admin/sitemap/generate/sitemap_id/<strong>[ID of Sitemap from step 1]</strong></p>
<p>Of course, replace the content with square brackets with actual Sitemap ID.</p>
<p style="text-align: right;"><em>By</em> <span>Tomislav Bilic</span><em> from <a rel="nofollow" href="http://inchoo.net/ecommerce/magento/manual-creation-of-google-sitemap-in-magento/" onclick="javascript:pageTracker._trackPageview('/outbound/article/inchoo.net');" target="_blank">Inchoo.net</a></em></p>


<p>Related posts:<ol><li><a href='http://asia-connect.com.vn/2009/07/google-analytics-in-magento/' rel='bookmark' title='Permanent Link: Google Analytics in Magento'>Google Analytics in Magento</a></li><li><a href='http://asia-connect.com.vn/2009/09/figuring-out-magento-object-context/' rel='bookmark' title='Permanent Link: Figuring out Magento object context'>Figuring out Magento object context</a></li><li><a href='http://asia-connect.com.vn/2009/09/disabling-wishlist-functionality/' rel='bookmark' title='Permanent Link: Disabling wishlist functionality'>Disabling wishlist functionality</a></li></ol></p>]]></content:encoded>
			<wfw:commentRss>http://asia-connect.com.vn/2009/10/manual-creation-of-google-sitemap-in-magento/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Designer’s Guide to Magento PDF download</title>
		<link>http://asia-connect.com.vn/2009/10/designer%e2%80%99s-guide-to-magento-pdf-download/</link>
		<comments>http://asia-connect.com.vn/2009/10/designer%e2%80%99s-guide-to-magento-pdf-download/#comments</comments>
		<pubDate>Fri, 16 Oct 2009 02:36:18 +0000</pubDate>
		<dc:creator>lydh</dc:creator>
				<category><![CDATA[Magento Guide]]></category>
		<category><![CDATA[Magento How To]]></category>
		<category><![CDATA[Magento Tips]]></category>
		<category><![CDATA[Magento Tutorials]]></category>

		<guid isPermaLink="false">http://asia-connect.com.vn/?p=1003</guid>
		<description><![CDATA[
After many developed CRE Loaded’s online stores and watching Magento development progress for quite some time, I decided it was time to use Magento with my next client. My starting point for development was official Designer’s guide. I’m the type of guy who likes to have documents nice&#38;clean, so I tried to print it but print was a mess. That’s when I decided to create PDF of the official documentation for easy print. This is probably the best starting tutorial for creating a fresh new Magento template.
Download Designer’s Guide to ...


Related posts:<ol><li><a href='http://asia-connect.com.vn/2009/05/freecms-frontend-feature-download/' rel='bookmark' title='Permanent Link: FreeCMS Frontend Feature Download'>FreeCMS Frontend Feature Download</a></li><li><a href='http://asia-connect.com.vn/2009/09/add-new-reference-in-magento/' rel='bookmark' title='Permanent Link: Add New Reference in Magento'>Add New Reference in Magento</a></li><li><a href='http://asia-connect.com.vn/2009/09/installing-magento-easy-way/' rel='bookmark' title='Permanent Link: Installing Magento easy way'>Installing Magento easy way</a></li></ol>]]></description>
			<content:encoded><![CDATA[<p><img title="Designer’s Guide to Magento PDF download" src="http://inchoo.net/wp-content/uploads/2008/06/designers_guide_download_pdf.png" alt="Designer’s Guide to Magento PDF download" width="585" /></p>
<p>After many developed CRE Loaded’s online stores and watching <a rel="nofollow" href="http://www.magentocommerce.com" onclick="javascript:pageTracker._trackPageview('/outbound/article/www.magentocommerce.com');"  class="alinks_links" onclick="return alinks_click(this);" title="Magento eCommerce"  style="padding-right: 13px; background: url(http://asia-connect.com.vn/wp-content/plugins/alinks/images/external.png) center right no-repeat;" rel="external">Magento</a> development progress for quite some time, I decided it was time to use Magento with my next client. My starting point for development was <a rel="nofollow" title="Designer's guide to Magento" href="http://www.magentocommerce.com/design_guide" onclick="javascript:pageTracker._trackPageview('/outbound/article/www.magentocommerce.com');" target="_blank">official Designer’s guide</a>. I’m the type of guy who likes to have documents nice&amp;clean, so I tried to print it but print was a mess. That’s when I decided to create PDF of the official documentation for easy print. This is probably the best starting tutorial for creating a fresh new Magento template.<br />
Download <a rel="nofollow" href="http://inchoo.net/wp-content/uploads/2008/06/designers_guide_to_magento.pdf" onclick="javascript:pageTracker._trackPageview('/outbound/article/inchoo.net');">Designer’s Guide to Magento PDF</a></p>
<p>I plan to write a short related tutorials in the days of 1st Magento development project, so I invite you to subscribe to RSS if you wish to be posted.</p>
<p style="text-align: right;"><em>By</em> <span>Tomislav Bilic</span><em> from <a rel="nofollow" href="http://inchoo.net/ecommerce/magento/designers-guide-to-magento-pdf-download/" onclick="javascript:pageTracker._trackPageview('/outbound/article/inchoo.net');" target="_blank">Inchoo.net</a></em></p>


<p>Related posts:<ol><li><a href='http://asia-connect.com.vn/2009/05/freecms-frontend-feature-download/' rel='bookmark' title='Permanent Link: FreeCMS Frontend Feature Download'>FreeCMS Frontend Feature Download</a></li><li><a href='http://asia-connect.com.vn/2009/09/add-new-reference-in-magento/' rel='bookmark' title='Permanent Link: Add New Reference in Magento'>Add New Reference in Magento</a></li><li><a href='http://asia-connect.com.vn/2009/09/installing-magento-easy-way/' rel='bookmark' title='Permanent Link: Installing Magento easy way'>Installing Magento easy way</a></li></ol></p>]]></content:encoded>
			<wfw:commentRss>http://asia-connect.com.vn/2009/10/designer%e2%80%99s-guide-to-magento-pdf-download/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Magento, products on sale</title>
		<link>http://asia-connect.com.vn/2009/10/magento-products-on-sale/</link>
		<comments>http://asia-connect.com.vn/2009/10/magento-products-on-sale/#comments</comments>
		<pubDate>Fri, 16 Oct 2009 02:17:07 +0000</pubDate>
		<dc:creator>lydh</dc:creator>
				<category><![CDATA[Magento Guide]]></category>
		<category><![CDATA[Magento How To]]></category>
		<category><![CDATA[Magento Tips]]></category>
		<category><![CDATA[Magento Tutorials]]></category>

		<guid isPermaLink="false">http://asia-connect.com.vn/?p=997</guid>
		<description><![CDATA[
Most of you probably know this, but here’s a little code snippet for every Magento beginner that needs page with products on sale listing.
So, easiest way to accomplish that is to follow these steps…
1) Make CMS page called “Products on sale”, or whatever you wanna call it…
2) Put this code:

{{block type=&#34;core/template&#34; template=&#34;callouts/products_on_sale.phtml&#34;}}

in CMS page you created
3) Make app/design/frontend/default/YOUR_THEME/template/callouts/products_on_sale.phtml
4) Put this code in products_on_sale.phtml

&#60; ?php
$product    = Mage::getModel('catalog/product');
$collection = $product-&#62;getCollection();

foreach ($collection as $product)
{
$result[] = $product-&#62;getId();
}

$j = 0;
$product_ = array();
foreach ($result as $_product_id)
{
$in_stock = 0;

$_product = new Mage_Catalog_Model_Product();
$_product-&#62;load($_product_id);

#var_dump(get_class_methods(get_class($_product)));exit();
$time = time();
if(strtotime($_product-&#62;getSpecialFromDate()) ...


Related posts:<ol><li><a href='http://asia-connect.com.vn/2009/09/more-flexible-approach-for-listing-sale-products-in-magento/' rel='bookmark' title='Permanent Link: More Flexible Approach for Listing Sale Products in Magento'>More Flexible Approach for Listing Sale Products in Magento</a></li><li><a href='http://asia-connect.com.vn/2009/10/adding-simple-tweet-this-for-magento-products/' rel='bookmark' title='Permanent Link: Adding simple Tweet this for Magento products'>Adding simple Tweet this for Magento products</a></li><li><a href='http://asia-connect.com.vn/2009/09/how-to-fix-the-magento-out-of-stock-bug-version-1-1-x/' rel='bookmark' title='Permanent Link: How to fix the Magento Out of stock bug, version 1.1.x'>How to fix the Magento Out of stock bug, version 1.1.x</a></li></ol>]]></description>
			<content:encoded><![CDATA[<p><img title="Magento, products on sale" src="http://inchoo.net/wp-content/uploads/2009/09/magento_products_on_sale.jpg" alt="Magento, products on sale" width="585" /></p>
<p>Most of you probably know this, but here’s a little code snippet for every <a rel="nofollow" href="http://www.magentocommerce.com" onclick="javascript:pageTracker._trackPageview('/outbound/article/www.magentocommerce.com');"  class="alinks_links" onclick="return alinks_click(this);" title="Magento eCommerce"  style="padding-right: 13px; background: url(http://asia-connect.com.vn/wp-content/plugins/alinks/images/external.png) center right no-repeat;" rel="external">Magento</a> beginner that needs page with products on sale listing.<br />
So, easiest way to accomplish that is to follow these steps…</p>
<p>1) Make CMS page called “Products on sale”, or whatever you wanna call it…<br />
2) Put this code:</p>
<pre class="brush: html;">
{{block type=&quot;core/template&quot; template=&quot;callouts/products_on_sale.phtml&quot;}}
</pre>
<p>in CMS page you created<br />
3) Make app/design/frontend/default/YOUR_THEME/template/callouts/products_on_sale.phtml<br />
4) Put this code in products_on_sale.phtml</p>
<pre class="brush: php;">
&lt; ?php
$product    = Mage::getModel('catalog/product');
$collection = $product-&gt;getCollection();

foreach ($collection as $product)
{
$result[] = $product-&gt;getId();
}

$j = 0;
$product_ = array();
foreach ($result as $_product_id)
{
$in_stock = 0;

$_product = new Mage_Catalog_Model_Product();
$_product-&gt;load($_product_id);

#var_dump(get_class_methods(get_class($_product)));exit();
$time = time();
if(strtotime($_product-&gt;getSpecialFromDate()) &lt; time() &amp;amp;amp;amp;amp;amp;amp;amp;&amp;amp;amp;amp;amp;amp;amp;amp; strtotime($_product-&gt;getSpecialToDate()) &gt; time()) {
$product_[$j]['price'] = $_product-&gt;getPrice();
$product_[$j]['special_price'] = $_product-&gt;getSpecialPrice();
$product_[$j]['name'] = $_product-&gt;getName();
$product_[$j]['image'] = $_product-&gt;getSmallImageUrl();
$product_[$j]['url'] = $_product-&gt;getProductUrl();

$in_stock = $_product-&gt;isInStock();
if($in_stock) {
$in_stock = 'In Stock';
}else {
$in_stock = 'Out of Stock';
}

$product_[$j]['in_stock'] = $in_stock;

$j ++;
}
}

if(empty($product_)) {
echo $this-&gt;__('There is no product on sale');
}

foreach($product_ as $item)
{
?&gt;

&lt;div&gt;
&lt;a href=&quot;&lt;?php echo $item['url'];?&gt;&quot;&gt;&lt;img src=&quot;&lt;?php echo $item['image'];?/&gt;&quot; alt=&quot;&lt; ?php echo $item['name'];?&gt;&quot; /&gt;&lt;/a&gt;&lt;br /&gt;
&lt;a href=&quot;&lt;?php echo $item['url'];?&gt;&quot;&gt;&lt; ?php echo $item['name'];?&gt;&lt;/a&gt;&lt;br /&gt;
&lt;span&gt;&lt; ?php echo $item['price'];?&gt;&lt;/span&gt;
&lt;span&gt;&lt; ?php echo $item['special_price'];?&gt;&lt;/span&gt;
&lt;div&gt;&lt; ?php echo $item['in_stock'];?&gt;&lt;/div&gt;
&lt;/div&gt;

&lt; ?php
}
?&gt;
</pre>
<p>Style it at will <img src="http://inchoo.net/wp-includes/images/smilies/icon_wink.gif" alt=";)" /><br />
Enjoy!</p>
<p>P.S. Of course you need to add some products on sale <img src="http://inchoo.net/wp-includes/images/smilies/icon_biggrin.gif" alt=":D" /><br />
<a rel="nofollow" href="http://inchoo.net/wp-content/uploads/2009/09/itemsonsale.zip" onclick="javascript:pageTracker._trackPageview('/outbound/article/inchoo.net');">itemsonsale</a></p>
<p style="text-align: right;"><em>By</em> <span>Tomas Novoselic</span><em> from <a rel="nofollow" href="http://inchoo.net/ecommerce/magento-products-on-sale-lis/" onclick="javascript:pageTracker._trackPageview('/outbound/article/inchoo.net');" target="_blank">Inchoo.net</a><br />
</em></p>
<p><em><br />
</em></p>


<p>Related posts:<ol><li><a href='http://asia-connect.com.vn/2009/09/more-flexible-approach-for-listing-sale-products-in-magento/' rel='bookmark' title='Permanent Link: More Flexible Approach for Listing Sale Products in Magento'>More Flexible Approach for Listing Sale Products in Magento</a></li><li><a href='http://asia-connect.com.vn/2009/10/adding-simple-tweet-this-for-magento-products/' rel='bookmark' title='Permanent Link: Adding simple Tweet this for Magento products'>Adding simple Tweet this for Magento products</a></li><li><a href='http://asia-connect.com.vn/2009/09/how-to-fix-the-magento-out-of-stock-bug-version-1-1-x/' rel='bookmark' title='Permanent Link: How to fix the Magento Out of stock bug, version 1.1.x'>How to fix the Magento Out of stock bug, version 1.1.x</a></li></ol></p>]]></content:encoded>
			<wfw:commentRss>http://asia-connect.com.vn/2009/10/magento-products-on-sale/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>
