<?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 Tutorials</title>
	<atom:link href="http://asia-connect.com.vn/tag/magento-tutorials/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>Thu, 16 Jun 2011 04:50:01 +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>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/07/magento-vertical-category-menu/' rel='bookmark' title='Permanent Link: Magento Vertical Category Menu'>Magento Vertical Category Menu</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/07/magento-vertical-category-menu/' rel='bookmark' title='Permanent Link: Magento Vertical Category Menu'>Magento Vertical Category Menu</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>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>1</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>
		<item>
		<title>Display Promotion &amp; Random Products in Magento</title>
		<link>http://asia-connect.com.vn/2009/10/display-promotion-random-products-in-magento/</link>
		<comments>http://asia-connect.com.vn/2009/10/display-promotion-random-products-in-magento/#comments</comments>
		<pubDate>Wed, 14 Oct 2009 03:33:41 +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=979</guid>
		<description><![CDATA[

There are two unused product list blocks in Magento which can be very useful if you push a few buttons, edit few layouts ..
 
1. Promotion
Block located in app\code\core\Mage\Catalog\Block\Product\List\Promotion.php
This is basically built in featured product functionality. It reacts to “promotion” attribute which needs to be created, so let’s click
Catalog-&#62;Attributes-&#62;Manage Attributes-&#62;Create New Attribute
Attribute Code: promotion
Scope: Global
Catalog Input Type for Store Owner: Yes/No

Label: Promotion  (second tab)
Other params can be left alone, but it’s up to you of course. I also labeled it Promotion just for this article.
Now we need to add ...


Related posts:<ol><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><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/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></ol>]]></description>
			<content:encoded><![CDATA[<h2></h2>
<p><img title="Display Promotion &amp; Random Products in Magento" src="http://inchoo.net/wp-content/uploads/2009/08/promotion-and-random.jpg" alt="Display Promotion &amp; Random Products in Magento" width="585" /></p>
<p>There are two unused product list blocks 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> which can be very useful if you push a few buttons, edit few layouts ..</p>
<p><span id="more-2785"> </span></p>
<p><strong>1. Promotion</strong><br />
Block located in app\code\core\Mage\Catalog\Block\Product\List\Promotion.php</p>
<p>This is basically built in featured product functionality. It reacts to “promotion” attribute which needs to be created, so let’s click<br />
Catalog-&gt;Attributes-&gt;Manage Attributes-&gt;Create New Attribute</p>
<p>Attribute Code: promotion<br />
Scope: Global<br />
Catalog Input Type for Store Owner: Yes/No</p>
<p><img title="promotion-and-random-1" src="http://inchoo.net/wp-content/uploads/2009/08/promotion-and-random-1.jpg" alt="promotion-and-random-1" width="471" height="399" /></p>
<p>Label: Promotion  (second tab)</p>
<p>Other params can be left alone, but it’s up to you of course. I also labeled it Promotion just for this article.</p>
<p>Now we need to add created attribute to attribute set, so navigate to<br />
Catalog-&gt;Attributes-&gt;Manage Attribute Sets<br />
select attribute set you’re using and drag promotion to General group for example.</p>
<p><img title="promotion-and-random-2" src="http://inchoo.net/wp-content/uploads/2009/08/promotion-and-random-2.jpg" alt="promotion-and-random-2" width="471" height="399" /></p>
<p>Now when you’re editing your products, there is new “Promotion” option under General tab.</p>
<p><img title="promotion-and-random-3" src="http://inchoo.net/wp-content/uploads/2009/08/promotion-and-random-3.jpg" alt="promotion-and-random-3" width="471" height="399" /></p>
<p>Products on which you select Yes will be shown on promotion block which can be displayed through layouts with</p>
<p>&lt;block type=&#8221;catalog/product_list_promotion&#8221; name=&#8221;product_promotion&#8221; template=&#8221;catalog/product/list.phtml&#8221;/&gt;</p>
<p>or as cms content with</p>
<p>{{block type=&#8217;catalog/product_list_promotion&#8217; template=&#8217;catalog/product/list.phtml&#8217;}}</p>
<p>This attribute should really be included in default attribute set or in Magento sample data.</p>
<p><strong>2. Random</strong><br />
Block located in app\code\core\Mage\Catalog\Block\Product\List\Random.php</p>
<p>This block loads random product collection from current store.</p>
<p>The fastest way to display it would also be something like</p>
<p>&lt;block type=&#8221;catalog/product_list_random&#8221; name=&#8221;product_random&#8221; template=&#8221;catalog/product/list.phtml&#8221;/&gt;</p>
<p>since it also extends product_list block, however, since it is random product listing, that toolbar has no purpose here, so create phtml that will suit your shop needs, based on catalog/product/list.phtml. For example, i’m using similar Random block to display random products in sidebar.</p>
<p>So long, take care, i’m off …</p>
<p style="text-align: right;"><em>By </em><span>Ivan Weiler</span><em> from <a rel="nofollow" href="http://inchoo.net/ecommerce/magento/promotion-and-random/" 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/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><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/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></ol></p>]]></content:encoded>
			<wfw:commentRss>http://asia-connect.com.vn/2009/10/display-promotion-random-products-in-magento/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>NaviGate by MerchantPlus in Magento</title>
		<link>http://asia-connect.com.vn/2009/10/navigate-by-merchantplus-in-magento/</link>
		<comments>http://asia-connect.com.vn/2009/10/navigate-by-merchantplus-in-magento/#comments</comments>
		<pubDate>Sat, 10 Oct 2009 02:25:16 +0000</pubDate>
		<dc:creator>lydh</dc:creator>
				<category><![CDATA[Magento Guide]]></category>
		<category><![CDATA[Magento How To]]></category>
		<category><![CDATA[Magento Tutorials]]></category>

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

Some merchants use NaviGate payment gateway from MerchatPlus because of the lesser costs than its big brother Authorize.net. Interesting this about this payment gateway is its compatibility with Authorize.net. So, if you need to enable it in Magento, you will not have to find someone who will have to write the module from scratch. You just need to use standard Authorize.net module, but with some modifications.
So, to use Navigate, you have to enable Authorize.net module. NaviGate is compatible with Authorize.net’s AIM Integration method. This means that any shopping cart or ...


Related posts:<ol><li><a href='http://asia-connect.com.vn/2009/07/boost-the-speed-of-your-magento-by-235/' rel='bookmark' title='Permanent Link: Boost the speed of your Magento by ~235%'>Boost the speed of your Magento by ~235%</a></li><li><a href='http://asia-connect.com.vn/2009/10/magento-connect/' rel='bookmark' title='Permanent Link: Magento Connect'>Magento Connect</a></li><li><a href='http://asia-connect.com.vn/2009/09/affiliates-for-all-%e2%80%93-magento-integration/' rel='bookmark' title='Permanent Link: Affiliates for all – Magento integration'>Affiliates for all – Magento integration</a></li></ol>]]></description>
			<content:encoded><![CDATA[<h2></h2>
<p><img title="NaviGate by MerchantPlus in Magento" src="http://inchoo.net/wp-content/uploads/2009/07/merchantplus_navigate.png" alt="NaviGate by MerchantPlus in Magento" width="585" /></p>
<p>Some merchants use NaviGate payment gateway from MerchatPlus because of the lesser costs than its big brother Authorize.net. Interesting this about this payment gateway is its compatibility with Authorize.net. So, if you need to enable it 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>, you will not have to find someone who will have to write the module from scratch. You just need to use standard Authorize.net module, but with some modifications.</p>
<p>So, to use Navigate, you have to enable Authorize.net module. NaviGate is compatible with Authorize.net’s AIM Integration method. This means that any shopping cart or online store software that can connect to Authorize.net via this method can connect to NaviGate by following this steps:</p>
<ol>
<li>In the Magento Administration panel, go to Configuration&gt; Payment Methods.</li>
<li>Open the Authorize.net module and update the title as you see fit. Enter your NaviGate username and transaction key, which you generate under “Profile &amp; Settings” in the NaviGate interface.</li>
<li>Change the Gateway URL to: https://gateway.merchantplus.com/cgi-bin/PAWebClient.cgi</li>
<li>Enable Credit Card Verification, if you want to use the CVV code.</li>
<li>Then, go to your source code and open the file: /app/code/core/Mage/Paygate/Model and find the string “setCardCodeResponseCode” . Change the line to:  -&gt;setCardCodeResponseCode($r[38]);</li>
</ol>
<p>Save the file and you should be good!</p>
<p>To assist your integration, MerchantPlus created the following developer tools (you will not need them in our case):</p>
<ul>
<li><a rel="nofollow" href="https://gateway.merchantplus.com/files/MerchantPlus_StoreSense.zip" onclick="javascript:pageTracker._trackPageview('/outbound/article/gateway.merchantplus.com');">NaviGate StoreSense Module </a></li>
<li><a rel="nofollow" href="https://gateway.merchantplus.com/files/orderform.zip" onclick="javascript:pageTracker._trackPageview('/outbound/article/gateway.merchantplus.com');">NaviGate PHP API / Sample Order form</a></li>
</ul>
<p>For more information on the connection API, see Authorize.net’s <a rel="nofollow" href="http://www.authorizenet.com/support/AIM_guide.pdf" onclick="javascript:pageTracker._trackPageview('/outbound/article/www.authorizenet.com');" target="_blank">AIM documentation</a>.</p>
<p style="text-align: right;"><em>By </em><span>Tomislav Bilic</span> <em>from <a rel="nofollow" href="http://inchoo.net/ecommerce/magento/navigate-by-merchantplus-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/boost-the-speed-of-your-magento-by-235/' rel='bookmark' title='Permanent Link: Boost the speed of your Magento by ~235%'>Boost the speed of your Magento by ~235%</a></li><li><a href='http://asia-connect.com.vn/2009/10/magento-connect/' rel='bookmark' title='Permanent Link: Magento Connect'>Magento Connect</a></li><li><a href='http://asia-connect.com.vn/2009/09/affiliates-for-all-%e2%80%93-magento-integration/' rel='bookmark' title='Permanent Link: Affiliates for all – Magento integration'>Affiliates for all – Magento integration</a></li></ol></p>]]></content:encoded>
			<wfw:commentRss>http://asia-connect.com.vn/2009/10/navigate-by-merchantplus-in-magento/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Magento custom emails</title>
		<link>http://asia-connect.com.vn/2009/10/magento-custom-emails/</link>
		<comments>http://asia-connect.com.vn/2009/10/magento-custom-emails/#comments</comments>
		<pubDate>Wed, 07 Oct 2009 02:42:25 +0000</pubDate>
		<dc:creator>lydh</dc:creator>
				<category><![CDATA[Magento Customization]]></category>
		<category><![CDATA[Magento Guide]]></category>
		<category><![CDATA[Magento How To]]></category>
		<category><![CDATA[Magento Programming]]></category>
		<category><![CDATA[Magento Tips]]></category>
		<category><![CDATA[Magento Tutorials]]></category>

		<guid isPermaLink="false">http://asia-connect.com.vn/?p=901</guid>
		<description><![CDATA[
Ever wanted to “just send the email” using the built in email features in Magento? Ever hit the wall trying to do something with Magento? OK, I know the answer to the other one, just had to ask  . Anyhow, sending the emails with Magento turned out to be a process of “just” a few hours of tracing Magento code.
I cant wait for smart comments like, “few hours, huh its so easy…”. Yea, thats the beauty of Magento… few hours of bashing your head against the wall while you ...


Related posts:<ol><li><a href='http://asia-connect.com.vn/2009/10/custom-transactional-emails/' rel='bookmark' title='Permanent Link: Custom Transactional Emails'>Custom Transactional Emails</a></li><li><a href='http://asia-connect.com.vn/2009/09/custom-checkout-cart-%e2%80%93-how-to-send-email-after-successful-checkout/' rel='bookmark' title='Permanent Link: Custom checkout cart – How to send email after successful checkout'>Custom checkout cart – How to send email after successful checkout</a></li><li><a href='http://asia-connect.com.vn/2009/10/how-to-use-wordpress-home-page-in-magento-home-page-cms-page/' rel='bookmark' title='Permanent Link: How to use WordPress home page in Magento home page (CMS page)'>How to use WordPress home page in Magento home page (CMS page)</a></li></ol>]]></description>
			<content:encoded><![CDATA[<p><img title="Magento custom emails" src="http://inchoo.net/wp-content/uploads/2009/06/magento_custom_email.jpg" alt="Magento custom emails" width="585" /></p>
<p>Ever wanted to “just send the email” using the built in email features 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>? Ever hit the wall trying to do something with Magento? OK, I know the answer to the other one, just had to ask <img src="http://inchoo.net/wp-includes/images/smilies/icon_smile.gif" alt=":)" /> . Anyhow, sending the emails with Magento turned out to be a process of “just” a few hours of tracing Magento code.</p>
<p>I cant wait for smart comments like, “few hours, huh its so easy…”. Yea, thats the beauty of Magento… few hours of bashing your head against the wall while you are sipping the 4th cup of coffee until the solution hits you. Interesting do, just when you get the hang of it, Magento gets you this “have you tried this” attitude <img src="http://inchoo.net/wp-includes/images/smilies/icon_smile.gif" alt=":)" /> .</p>
<p>What am I talking about? Scenario: I want to create email template named activecodeline_custom_email1.html, I want to pass few variables to it during runtime, I want to send emails programmaticaly. I dont want to create 56 lines of xml file just to call one template.</p>
<p>Here is how.</p>
<pre class="brush: html;">

...
/*
* Loads the html file named 'custom_email_template1.html' from
* app/locale/en_US/template/email/activecodeline_custom_email1.html
*/
$emailTemplate  = Mage::getModel('core/email_template')
-&gt;loadDefault('custom_email_template1');

//Create an array of variables to assign to template
$emailTemplateVariables = array();
$emailTemplateVariables['myvar1'] = 'Branko';
$emailTemplateVariables['myvar2'] = 'Ajzele';
$emailTemplateVariables['myvar3'] = 'ActiveCodeline';

/**
* The best part &lt;img src=&quot;http://<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>/wp-includes/images/smilies/icon_smile.gif&quot; alt=&quot;:)&quot;&gt;
* Opens the activecodeline_custom_email1.html, throws in the variable array
* and returns the 'parsed' content that you can use as body of email
*/
$processedTemplate = $emailTemplate-&gt;getProcessedTemplate($emailTemplateVariables);

/*
* Or you can send the email directly,
* note getProcessedTemplate is called inside send()
*/
$emailTemplate-&gt;send('john@someemail.com','John Doe', $emailTemplateVariables);
...
</pre>
<p>And here we go again, nothing without xml files <img src="http://inchoo.net/wp-includes/images/smilies/icon_smile.gif" alt=":)" /> -In order for above piece of code to work, you need to add an entry to your config.xml file like shown below.</p>
<pre class="brush: html;">
...
&lt;global&gt;
&lt;template&gt;
&lt;email&gt;
&lt;custom_email_template1 module=&quot;SampleModule1&quot;&gt;
&lt;label&gt;ActiveCodeline custom email module&lt;/label&gt;
&lt;file&gt;activecodeline_custom_email1.html&lt;/file&gt;
&lt;type&gt;html&lt;/type&gt;
&lt;/custom_email_template1&gt;
&lt;/email&gt;
&lt;/template&gt;
&lt;/global&gt;
...
</pre>
<p>And lets not forget the email template itself, app/locale/en_US/template/email/activecodeline_custom_email1.html.</p>
<pre class="brush: html;">
&lt;!--@subject ActiveCodeline custom email module @--&gt;

&lt;div&gt;
&lt;h1&gt;ActiveCodeline custom email example by Branko Ajzele&lt;/h1&gt;
&lt;p&gt;Hi there {{var myvar1}} {{var myvar2}} from {{var myvar3}}. This is just some example template to test custom email module.&lt;/p&gt;
&lt;/div&gt;
</pre>
<p>Hope this was helpful. Cheers.</p>
<p style="text-align: right;"><em>By</em> <span>Branko Ajzele</span> <em>from <a rel="nofollow" href="http://inchoo.net/ecommerce/magento/magento-custom-emails/" onclick="javascript:pageTracker._trackPageview('/outbound/article/inchoo.net');" target="_blank">Inchoo.net</a><br />
</em></p>


<p>Related posts:<ol><li><a href='http://asia-connect.com.vn/2009/10/custom-transactional-emails/' rel='bookmark' title='Permanent Link: Custom Transactional Emails'>Custom Transactional Emails</a></li><li><a href='http://asia-connect.com.vn/2009/09/custom-checkout-cart-%e2%80%93-how-to-send-email-after-successful-checkout/' rel='bookmark' title='Permanent Link: Custom checkout cart – How to send email after successful checkout'>Custom checkout cart – How to send email after successful checkout</a></li><li><a href='http://asia-connect.com.vn/2009/10/how-to-use-wordpress-home-page-in-magento-home-page-cms-page/' rel='bookmark' title='Permanent Link: How to use WordPress home page in Magento home page (CMS page)'>How to use WordPress home page in Magento home page (CMS page)</a></li></ol></p>]]></content:encoded>
			<wfw:commentRss>http://asia-connect.com.vn/2009/10/magento-custom-emails/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
	</channel>
</rss>

