<?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 eCommerce</title>
	<atom:link href="http://asia-connect.com.vn/category/magento-ecommerce/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>Magento SEO Development</title>
		<link>http://asia-connect.com.vn/2009/07/magento-seo-development/</link>
		<comments>http://asia-connect.com.vn/2009/07/magento-seo-development/#comments</comments>
		<pubDate>Fri, 17 Jul 2009 03:32:25 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[Magento Customization]]></category>
		<category><![CDATA[Magento SEO]]></category>
		<category><![CDATA[Magento eCommerce]]></category>
		<category><![CDATA[Magento Development]]></category>
		<category><![CDATA[Magento Programming]]></category>
		<category><![CDATA[Magento SEO Tips]]></category>
		<category><![CDATA[Magento Tips]]></category>
		<category><![CDATA[Magento Tricks]]></category>

		<guid isPermaLink="false">http://asia-connect.com.vn/?p=399</guid>
		<description><![CDATA[Magento Commerce is certainly an “SEO-friendly” shopping cart &#8211; but just like much of its brethren, there is still room for improvement. Granted, it has come along to fix some of the issues we pointed out in our first Magento review, and a few in the community have put together some extensions to further that along.  Yoast has even gone so far as to creating a beginner’s SEO guide for Magento which does a great job of covering some of the basic setup points for those setting up a Magento ...


Related posts:<ol><li><a href='http://asia-connect.com.vn/2009/07/magento-ecommerce-customization-custom-design-development/' rel='bookmark' title='Permanent Link: Magento eCommerce Customization, Custom Design Development'>Magento eCommerce Customization, Custom Design Development</a></li><li><a href='http://asia-connect.com.vn/2009/09/changing-product-tabs-from-javascript-to-css-2/' rel='bookmark' title='Permanent Link: Changing Product Tabs from JavaScript to CSS'>Changing Product Tabs from JavaScript to CSS</a></li><li><a href='http://asia-connect.com.vn/2009/07/seo-for-magento-web-sites/' rel='bookmark' title='Permanent Link: SEO for Magento Web Sites'>SEO for Magento Web Sites</a></li></ol>]]></description>
			<content:encoded><![CDATA[<p><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> Commerce is certainly an “SEO-friendly” shopping cart &#8211; but just like much of its brethren, there is still room for improvement. Granted, it has come along to fix some of the issues we pointed out in our <a rel="nofollow" href="http://www.blueacorn.com/blog/shopping-carts/magento-commerce-a-first-look/" onclick="javascript:pageTracker._trackPageview('/outbound/article/www.blueacorn.com');">first Magento review</a>, and a few in the community have put together some extensions to further that along.  <a rel="nofollow" onclick="javascript:pageTracker._trackPageview('/outgoing/yoast.com/articles/magento-seo/');" href="http://yoast.com/articles/magento-seo/" onclick="javascript:pageTracker._trackPageview('/outbound/article/yoast.com');" target="_blank">Yoast</a> has even gone so far as to creating a beginner’s SEO guide for Magento which does a great job of covering some of the basic setup points for those setting up a Magento store that might not be attune to some of the intricacies with SEO on an eCommerce platform.  But we actually take that a step further with some additional tips and tricks that we utilize to ensure our Magento projects are search engine optimized.  I’ll try to avoid regurgitating the steps already recommended in the Yoast guide, and focus more on some of the additional steps we take when optimizing a Magento theme for SEO.</p>
<h2>Magento SEO Theme</h2>
<p>We start off with using the <a rel="nofollow" onclick="javascript:pageTracker._trackPageview('/outgoing/www.magentocommerce.com/extension/974/yoast-blank-seo-theme');" href="http://www.magentocommerce.com/extension/974/yoast-blank-seo-theme" onclick="javascript:pageTracker._trackPageview('/outbound/article/www.magentocommerce.com');" target="_blank">Blank SEO Theme</a>, which takes the blank theme (which we’d typically start from) and improves some items with more semantic coding, cleaning the header, and some no-following. We also go through the already detailed steps of:</p>
<ul>
<li>re-routing non www traffic to www</li>
<li>301ing /index.php to the root</li>
<li>implement <a rel="nofollow" onclick="javascript:pageTracker._trackPageview('/outgoing/www.magentocommerce.com/module/906/canonical-url-s-for-magento');" href="http://www.magentocommerce.com/module/906/canonical-url-s-for-magento" onclick="javascript:pageTracker._trackPageview('/outbound/article/www.magentocommerce.com');" target="_blank">canonical URL extension</a></li>
<li>generate XML sitemap</li>
</ul>
<p>At this point, there are a few other recommended changes we make to the base theme that haven’t yet been detailed.  First, we remove the table-based layout for the product grid, we prefer using div blocks to organize our products and allows for cleaner code.  We also make a few changes to the semantics of the header tags actually used in that theme.  I’ve seen many SEOs do the same thing, they make the logo an h1 tag, title it with some keyphrases, and use it on every page of the site.  While this may semantically help keep your site structured, my opinion is that you’re doing yourself a dis-service by practicing this technique.  The h1 tag should be unique on every page, and <a rel="nofollow" onclick="javascript:pageTracker._trackPageview('/outgoing/www.viget.com/inspire/ending-the-great-h1-debate/');" href="http://www.viget.com/inspire/ending-the-great-h1-debate/" onclick="javascript:pageTracker._trackPageview('/outbound/article/www.viget.com');" target="_blank">should only be used</a> when providing value to the user.  The blank SEO theme makes the logo an h1 on the homepage, and an h4 on all subsequent pages.  Which in itself is a comprimise, but does break the <a rel="nofollow" onclick="javascript:pageTracker._trackPageview('/outgoing/www.flexewebs.com/semantix/semantic-uses-of-h1-h2-h6-html-tags/');" href="http://www.flexewebs.com/semantix/semantic-uses-of-h1-h2-h6-html-tags/" onclick="javascript:pageTracker._trackPageview('/outbound/article/www.flexewebs.com');" target="_blank">semantics</a> of the page, because on subsequent pages, the h4 appears before the h1.  If you do not have a “natural heading” on the homepage, I might recommend wrapping the logo in one there and only there, but if you do, then, there is no purposed for the logo being wrapped in an h1.</p>
<p>In addition to this, we also go through and no-follow layered navigation links, sorting and paging links, wishlist, compare, as well as any other necessary links.</p>
<h2>Magento Pagination</h2>
<p>We wrote up a pretty exhaustive article on the issues of <a rel="nofollow" href="http://www.blueacorn.com/blog/search-engine-optimization-seo/michael-keaton-stars-in-multiplicity-ii-ecommerce-pagination/" onclick="javascript:pageTracker._trackPageview('/outbound/article/www.blueacorn.com');" target="_blank">eCommerce pagination</a> and a few methods to remedy any duplicate content issues that may arise from that.  Like most other eCommerce platforms, Magento’s pagination techniques presents the same set of issues.  Without redeveloping the entire pagination system (not yet at least), we make a few tweaks to how the existing pagination works in two primary ways.  First, we alter the title tag of each page to prefix “Page [2] of…” so that each page contains a unique title tag.  In addition, you may not even notice it, but there is actually a duplicate URL for your first page.  Follow me in this process, browse to a category with multiple pages, advance to any page greater than one, and notice the link back to page 1 &#8211; it appends a querystring parameter for page one instead of using the default URL.  For example, if we sell blue acorns (goodbye blue widgets), our page URL might be /products/blue-acorns where each subsequent page being /products/blue-acorns?p=2, the pagination actually links back to page one as /products/blue-acorns?p=1 &#8211; creating an exact duplicate of /products/blue-acorns.  We resolve this by adding a nofollow attribute to the page 1 link.  An even better solution would be to change the pagination model so that it does not use the p=1 querystring parameter.</p>
<h2>SEO for multi-store Magento implementations</h2>
<p>One of the great capabilities of Magento is its inherit ability to support multiple web stores. Through one administration and one interface, you can manage all of your orders, all of your products, everything.  Many online retailers setup multiple niche storefronts that may sell overlapping products, and Magento provides an excellent interface for doing so.  However, be careful in how you setup your product data.  If you sell the same products on multiple sites, and use the same exact information on each site, you’re walking a fine line between duplicating yourself, especially seeing that all of your multiple sites will most likely be setup on the same IP block depending on your host.  So it would be easy for a search engine to tell that these sites are not only related, but really, one in the same.</p>
<p>This is more of a tip for those of you running multiple sites on Magento than it is a Magento-specific tweak, but I highly recommend mixing up the data on each site.  Don’t use the same titles, headers, and descriptions and even price on each site.  I realize this takes a great deal of effort to maintain, but if the whole reason to run multiple sites is an attempt to achieve greater “reach” in the search engines, you’d be shooting yourself in the foot if you just used the same data on each site.  You’d be better off building up the authority of one single domain than setting up multiple sites and hindering each of them.</p>
<h2>301ing disabled products</h2>
<p>Consider this scenario.  You sell a great, useful amazing product, everyone loves it.  They love it so much that the product goes viral and you’ve got thousands of inbound links to it.  A year later, the product is no longer available, and you disable it from your website.  What then happens to users that click on those links?  What happens to search engines the next time they spider your site?  What happens to all that link juice being passed to that page?  The answer to all of the above is… 404</p>
<p>This is a pretty common issue we come across with eCommerce platforms, when products are disabled, and a user tries to go to that now defunct URL, they get a 404 error.  While we do recommend customizing your “not found” pages to at least include a search or related pages, what would be more effective from an SEO perspective, and a user’s perspective is if they got directed to another page that was related to the product that is no longer available.  What we do is actually create a means for which Magento administrators can setup a “redirect to” product (or category) so that when a product is disabled, instead of the user (or search engine) getting a 404, they actually get taken to a product that might have replaced it, a related product, or even the parent category if you no longer carry that product.  This will help retain any search engine positioning that product was getting, preserve any link juice that was being passed to that page, as well as creating a better user experience.  A win all the way around.</p>
<h2>SEO and eCommerce Platforms</h2>
<p>All in all, while you might be thinking to yourself, “wow, Magento really isn’t SEO friendly” &#8211; don’t let this article confuse you.  Magento IS search engine friendly, just as much as the next eCommerce platform.  The reality is, almost all eCommerce platforms we work with have the same issues.  And when it comes down to it, the platform itself only does so much for you.  A search engine optimizer needs a platform that allows them to have the freedom to exercise on-site optimization, and Magento does just that.  The biggest sales pitch by eCommerce platforms right now is that they are “the most SEO friendly” &#8211; yet I’ve yet to come across one that stands out any more than the rest.  In reality, most platforms have matured to the point that the tools needed to manage an SEO friendly site is all (or mostly) there, and there are only minor variances that separate one from the next.  But we’ll save that discussion for another time.</p>


<p>Related posts:<ol><li><a href='http://asia-connect.com.vn/2009/07/magento-ecommerce-customization-custom-design-development/' rel='bookmark' title='Permanent Link: Magento eCommerce Customization, Custom Design Development'>Magento eCommerce Customization, Custom Design Development</a></li><li><a href='http://asia-connect.com.vn/2009/09/changing-product-tabs-from-javascript-to-css-2/' rel='bookmark' title='Permanent Link: Changing Product Tabs from JavaScript to CSS'>Changing Product Tabs from JavaScript to CSS</a></li><li><a href='http://asia-connect.com.vn/2009/07/seo-for-magento-web-sites/' rel='bookmark' title='Permanent Link: SEO for Magento Web Sites'>SEO for Magento Web Sites</a></li></ol></p>]]></content:encoded>
			<wfw:commentRss>http://asia-connect.com.vn/2009/07/magento-seo-development/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Magento &#8211; Filter by multiple categories</title>
		<link>http://asia-connect.com.vn/2009/07/magento-filter-by-multiple-categories/</link>
		<comments>http://asia-connect.com.vn/2009/07/magento-filter-by-multiple-categories/#comments</comments>
		<pubDate>Tue, 07 Jul 2009 10:12:49 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[Magento eCommerce]]></category>

		<guid isPermaLink="false">http://asia-connect.com.vn/?p=357</guid>
		<description><![CDATA[We know that we can call a block to show products in your home page or in any  CMS page. We MUST specify category ID:

{{block type=”catalog/product_list”  category_id=”5″
template=”catalog/product/list.phtml”}}
Now, what if I want to show products from multiple categories or simply show  all my products?
Well, here’s what I did. I  created a custom module to extend some core classes, and I did it this way:
Activate custom module
app/etc/modules/ModuleName_All.xml

&#60;?xml version=&#34;1.0&#34;?&#62;&#60;/pre&#62;
&#60;config&#62;
&#60;modules&#62;
&#60;ModuleName_Catalog&#62;
&#60;active&#62;true&#60;/active&#62;
&#60;codePool&#62;local&#60;/codePool&#62;
&#60;/ModuleName_Catalog&#62;
&#60;/modules&#62;
&#60;/config&#62;


Set up the module
Here, we set up our blocks and extend our Colletion class.
app/code/local/ModuleName/Catalog/etc/config.xml

&#60;?xml version=&#34;1.0&#34;?&#62;
&#60;config&#62;
&#60;modules&#62;
&#60;ModuleName_Catalog&#62;
&#60;version&#62;0.1.0&#60;/version&#62;
&#60;/ModuleName_Catalog&#62;
&#60;/modules&#62;
&#60;global&#62;
&#60;blocks&#62;
&#60;ModuleName_catalog&#62;
&#60;class&#62;ModuleName_Catalog_Block&#60;/class&#62;
&#60;/ModuleName_catalog&#62;
&#60;/blocks&#62;
&#60;models&#62;
&#60;catalog_resource_eav_mysql4&#62;
&#60;rewrite&#62;
&#60;product_collection&#62;
ModuleName_Catalog_Model_Resource_Eav_Mysql4_Product_Collection
&#60;/product_collection&#62;
&#60;/rewrite&#62;
&#60;/catalog_resource_eav_mysql4&#62;
&#60;/models&#62;
&#60;/global&#62;
&#60;/config&#62;

Listcategories class
app/code/local/ModuleName/Catalog/Block/Product/Listcategories.php

class ModuleName_Catalog_Block_Product_Listcategories
extends Mage_Catalog_Block_Product_List{

//same function from Mage_Catalog_Block_Product_List
protected ...


Related posts:<ol><li><a href='http://asia-connect.com.vn/2009/07/magento-menu-customization-with-product-list/' rel='bookmark' title='Permanent Link: Magento Menu Customization with Product List'>Magento Menu Customization with Product List</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/06/secret-feature-of-magento-13-sharing-same-route-name-for-different-modules/' rel='bookmark' title='Permanent Link: Secret feature of Magento 1.3: Sharing same route name for different modules!'>Secret feature of Magento 1.3: Sharing same route name for different modules!</a></li></ol>]]></description>
			<content:encoded><![CDATA[<p>We know that we can call a block to show products in your home page or in any  CMS page. We MUST specify category ID:</p>
<div class="entry">
<p>{{block type=”catalog/product_list”  category_id=”5″<br />
template=”catalog/product/list.phtml”}}</p>
<p>Now, what if I want to show products from multiple categories or simply show  all my products?</p>
<p>Well, here’s what I did. I  created a custom module to extend some core classes, and I did it this way:</p>
<h4>Activate custom module</h4>
<p>app/etc/modules/ModuleName_All.xml</p>
<pre class="brush: xml;">
&lt;?xml version=&quot;1.0&quot;?&gt;&lt;/pre&gt;
&lt;config&gt;
&lt;modules&gt;
&lt;ModuleName_Catalog&gt;
&lt;active&gt;true&lt;/active&gt;
&lt;codePool&gt;local&lt;/codePool&gt;
&lt;/ModuleName_Catalog&gt;
&lt;/modules&gt;
&lt;/config&gt;
</pre>
</div>
<h4>Set up the module</h4>
<p>Here, we set up our blocks and extend our Colletion class.</p>
<p>app/code/local/ModuleName/Catalog/etc/config.xml</p>
<pre class="brush: xml;">
&lt;?xml version=&quot;1.0&quot;?&gt;
&lt;config&gt;
&lt;modules&gt;
&lt;ModuleName_Catalog&gt;
&lt;version&gt;0.1.0&lt;/version&gt;
&lt;/ModuleName_Catalog&gt;
&lt;/modules&gt;
&lt;global&gt;
&lt;blocks&gt;
&lt;ModuleName_catalog&gt;
&lt;class&gt;ModuleName_Catalog_Block&lt;/class&gt;
&lt;/ModuleName_catalog&gt;
&lt;/blocks&gt;
&lt;models&gt;
&lt;catalog_resource_eav_mysql4&gt;
&lt;rewrite&gt;
&lt;product_collection&gt;
ModuleName_Catalog_Model_Resource_Eav_Mysql4_Product_Collection
&lt;/product_collection&gt;
&lt;/rewrite&gt;
&lt;/catalog_resource_eav_mysql4&gt;
&lt;/models&gt;
&lt;/global&gt;
&lt;/config&gt;
</pre>
<h4>Listcategories class</h4>
<p>app/code/local/ModuleName/Catalog/Block/Product/Listcategories.php</p>
<pre class="brush: php;">
class ModuleName_Catalog_Block_Product_Listcategories
extends Mage_Catalog_Block_Product_List{

//same function from Mage_Catalog_Block_Product_List
protected function _getProductCollection(){

// get simple product collection
$this-&gt;_productCollection = Mage::getModel('catalog/product')-&gt;getCollection();
$this-&gt;_productCollection-&gt;addAttributeToSelect('*');

// if we receive categories parameter we filter with our custom function addCategoriesFilter
// currently there's a addCategoryFilter, but only accepts 1 category
// if no param is passed, simply show everything
if($this-&gt;getCategories()!=&quot;&quot;)
$this-&gt;_productCollection-&gt;addCategoriesFilter($this-&gt;getCategories());

return $this-&gt;_productCollection;
}
}
</pre>
<h4>function addCategoriesFilter</h4>
<p>Now, we have to extend  Mage/Catalog/Model/Resource/Eav/Mysql4/Product/Collection class and add the  <strong>addCategoriesFilter</strong> function:</p>
<p>app/code/local/ModuleName/Catalog/Model/Resource/Eav/Mysql4/Product/Collection.php</p>
<pre class="brush: php;">class ModuleName_Catalog_Model_Resource_Eav_Mysql4_Product_Collection
extends Mage_Catalog_Model_Resource_Eav_Mysql4_Product_Collection{

public function addCategoriesFilter($categories){

$alias = 'cat_index';
$categoryCondition = $this-&gt;getConnection()-&gt;quoteInto(
$alias.'.product_id=e.entity_id AND '.$alias.'.store_id=? AND ',
$this-&gt;getStoreId()
);

$categoryCondition.= $alias.'.category_id IN ('.$categories.')';

$this-&gt;getSelect()-&gt;joinInner(
array($alias =&gt; $this-&gt;getTable('catalog/category_product_index')),
$categoryCondition,
array('position'=&gt;'position')
);

$this-&gt;_categoryIndexJoined = true;
$this-&gt;_joinFields['position'] = array('table'=&gt;$alias, 'field'=&gt;'position' );

return $this;

}
}
</pre>
<p>Now on a CMS page you call your block this way:</p>
<pre class="brush: html;">

{{block type=”ModuleName_catalog/product_listcategories”  categories=”14,16,18″
template=”catalog/product/list.phtml”}}
</pre>


<p>Related posts:<ol><li><a href='http://asia-connect.com.vn/2009/07/magento-menu-customization-with-product-list/' rel='bookmark' title='Permanent Link: Magento Menu Customization with Product List'>Magento Menu Customization with Product List</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/06/secret-feature-of-magento-13-sharing-same-route-name-for-different-modules/' rel='bookmark' title='Permanent Link: Secret feature of Magento 1.3: Sharing same route name for different modules!'>Secret feature of Magento 1.3: Sharing same route name for different modules!</a></li></ol></p>]]></content:encoded>
			<wfw:commentRss>http://asia-connect.com.vn/2009/07/magento-filter-by-multiple-categories/feed/</wfw:commentRss>
		<slash:comments>7</slash:comments>
		</item>
		<item>
		<title>How to change URL key for category from Global into Storeview</title>
		<link>http://asia-connect.com.vn/2009/07/how-to-change-url-key-for-category-from-global-into-storeview/</link>
		<comments>http://asia-connect.com.vn/2009/07/how-to-change-url-key-for-category-from-global-into-storeview/#comments</comments>
		<pubDate>Fri, 03 Jul 2009 04:03:24 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[Magento eCommerce]]></category>

		<guid isPermaLink="false">http://asia-connect.com.vn/?p=321</guid>
		<description><![CDATA[When you use multi-languages, You want category url for each language is difference.
Example:
For category is Electronics
you want in the English it will is www.yourmagentosite.com/electronics
However in the other language( French example) it will be www.yourmagentosite.com/frenchname.
However in magento: the url key for category is always is Global. So when you change it for a storeview, it will be changed for all storeviews.
The url_key in manager attribute only apply for products, so change it will don&#8217;t work for category.
So we need to change in the database:
Please goto the eav_attribute and you will see ...


Related posts:<ol><li><a href='http://asia-connect.com.vn/2009/09/connect2mage-wordpress-plugin-for-easy-magento-database-connection/' rel='bookmark' title='Permanent Link: connect2MAGE | WordPress plugin for easy Magento database connection'>connect2MAGE | WordPress plugin for easy Magento database connection</a></li><li><a href='http://asia-connect.com.vn/2009/06/how-to-show-category-products-on-homepage/' rel='bookmark' title='Permanent Link: How to show Category Products on Homepage'>How to show Category Products on Homepage</a></li><li><a href='http://asia-connect.com.vn/2009/06/error-when-upload-images-for-products-in-magento/' rel='bookmark' title='Permanent Link: Error when upload images for Products in Magento'>Error when upload images for Products in Magento</a></li></ol>]]></description>
			<content:encoded><![CDATA[<p>When you use multi-languages, You want category url for each language is difference.<br />
Example:<br />
For category is Electronics<br />
you want in the English it will is www.yourmagentosite.com/electronics<br />
However in the other language( French example) it will be www.yourmagentosite.com/frenchname.<br />
However 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>: the url key for category is always is Global. So when you change it for a storeview, it will be changed for all storeviews.<br />
The url_key in manager attribute only apply for products, so change it will don&#8217;t work for category.<br />
So we need to change in the database:<br />
Please goto the eav_attribute and you will see the url_key.<br />
example in magento 1.3. I saw url_key for category is 33, so I run this SQL:<br />
UPDATE eav_attribute SET is_global = &#8216;0&#8242; WHERE eav_attribute.attribute_id =33<br />
and it work fine.</p>


<p>Related posts:<ol><li><a href='http://asia-connect.com.vn/2009/09/connect2mage-wordpress-plugin-for-easy-magento-database-connection/' rel='bookmark' title='Permanent Link: connect2MAGE | WordPress plugin for easy Magento database connection'>connect2MAGE | WordPress plugin for easy Magento database connection</a></li><li><a href='http://asia-connect.com.vn/2009/06/how-to-show-category-products-on-homepage/' rel='bookmark' title='Permanent Link: How to show Category Products on Homepage'>How to show Category Products on Homepage</a></li><li><a href='http://asia-connect.com.vn/2009/06/error-when-upload-images-for-products-in-magento/' rel='bookmark' title='Permanent Link: Error when upload images for Products in Magento'>Error when upload images for Products in Magento</a></li></ol></p>]]></content:encoded>
			<wfw:commentRss>http://asia-connect.com.vn/2009/07/how-to-change-url-key-for-category-from-global-into-storeview/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>How to add SSL-support in Magento</title>
		<link>http://asia-connect.com.vn/2009/06/how-to-add-ssl-support-in-magento/</link>
		<comments>http://asia-connect.com.vn/2009/06/how-to-add-ssl-support-in-magento/#comments</comments>
		<pubDate>Sun, 28 Jun 2009 00:56:19 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[Magento eCommerce]]></category>

		<guid isPermaLink="false">http://asia-connect.com.vn/?p=304</guid>
		<description><![CDATA[We have got many requests lately about how to add SSL (https)-support in Magento. Here is instructions on how to add SSL-support to a Magento-installation.
Who needs SSL?
SSL is important for stores who want their customers to be sure everything they enter in the Account-area and Checkout-area is encrypted along the way from their browser to your server. Stores with payment-gateways where the customer type in their creditcard-information directly in Magento and is not transferred to a secure page at the creditcard-providers servers will also need SSL.
So what do I need ...


Related posts:<ol><li><a href='http://asia-connect.com.vn/2009/08/installing-magento-on-godaddy-hosting/' rel='bookmark' title='Permanent Link: Installing Magento on GoDaddy Hosting'>Installing Magento on GoDaddy Hosting</a></li><li><a href='http://asia-connect.com.vn/2009/10/internal-server-error-500-in-magento/' rel='bookmark' title='Permanent Link: Internal Server Error 500 in Magento'>Internal Server Error 500 in Magento</a></li></ol>]]></description>
			<content:encoded><![CDATA[<p>We have got many requests lately about how to add SSL (https)-support 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>. Here is instructions on how to add SSL-support to a Magento-installation.</p>
<p><strong>Who needs SSL?</strong><br />
SSL is important for stores who want their customers to be sure everything they enter in the <strong>Account-area</strong> and <strong>Checkout-area</strong> is encrypted along the way from their browser to your server. Stores with payment-gateways where the customer type in their creditcard-information <em>directly </em>in Magento and is <em>not </em>transferred to a secure page at the creditcard-providers servers will also need SSL.</p>
<p><strong>So what do I need to get started?</strong><br />
First of all, setting up an SSL-certificate <em>can </em>be complicated depending on your hosting-company’s facilities and it can also mess up the Magento-store &#8211; so make sure you know what you are doing at any time. We do NOT take any responsibility for the setup, blabla. You know the deal.</p>
<p>So, back to what you need. First of all you of course need <strong>a valid SSL-certificate</strong>. You also need <strong>a dedicated  IP-address</strong> on the server you’re running Magento on. And last, you need proper access to the Magento-server (SSH-access).</p>
<p><strong>Step 1: Get the SSL-certificate and install it</strong><br />
There are many companies offering SSL-certificated. Some cost a lot of money (those displaying your company’s name in <span style="color: #339966;">green text</span> in the left side of the URL in the browser &#8211; which most Online banks use. The cheaper ones, which are just fine for your needs offer a plain, secure certificated. <a rel="nofollow" href="http://www.rapidssl.com/" onclick="javascript:pageTracker._trackPageview('/outbound/article/www.rapidssl.com');" target="_blank">RapidSSL</a> is a company who sell the cheap ones, which works perfectly well.</p>
<p>Installing the certificate is different on most hosting-systems so this you’d need to check with your hosting-provider or <a rel="nofollow" href="http://www.google.com/search?ie=UTF-8&amp;oe=UTF-8&amp;sourceid=navclient&amp;gfns=1&amp;q=install+ssl+certificate" onclick="javascript:pageTracker._trackPageview('/outbound/article/www.google.com');" target="_blank">give Google a  try</a>.</p>
<p><strong>Step 2: Get your own IP-address</strong><br />
If you’re not very much into servers, Apache and hosting in general I’d recommend you just asked your hosting-provider to give you a dedicated IP address for your particular site. Tell you are going to use SSL and they should know what you’re talking about. Most hosting-providers charge a few extra bucks per month for a dedicated IP address and as long as they’re not talking about tens of dollars every month it should be fine.</p>
<p>One important thing with the dedicated IP address is that it makes thing much easier if you get the IP set up on your domain before  you install Magento, as you’d most likely need to move Magento to a new location on the server if you decide to add SSL at a later time.</p>
<p><strong>Step 3: Adding SSL-support in Magento</strong><br />
Ok, this is maybe the easiest part. First you should, depending on your server-setup, symlink your “secure” directory to your “public” directory. SSH into your server and &#8211; if you are using DirectAdmin &#8211; go to the following folder:<br />
./domains/yourdomain.com/</p>
<p>Now type “ls -l” and you should see a list of the folders. Now type the following command:<br />
“ln -s private_html public_html”</p>
<p>This command might need be run as ‘root’ so make sure you have proper access to your box.</p>
<p><strong>Alternative in DirectAdmin:</strong><br />
If you have the proper permissions in DirectAdmin you can go to Domain Setup -&gt; Click your domain, and then enable “Make private_html symbolic link to public_html”. Click on Save and it should be symlinked automatically.</p>
<p>Now you must log into Magento Admin -&gt; System -&gt; Settings -&gt; Web and make sure the Secure Base URL is set to http<em>s</em>://www.yourstore.com (the Unsecure URL must not be changed to https).</p>
<p><strong>Congratulations! If you’ve done everything correct you should now see that you automatically get https in the address-bar on both the Account-pages and Checkout-pages.</strong></p>
<p style="text-align: right;"><em>From silverthemes.com</em></p>


<p>Related posts:<ol><li><a href='http://asia-connect.com.vn/2009/08/installing-magento-on-godaddy-hosting/' rel='bookmark' title='Permanent Link: Installing Magento on GoDaddy Hosting'>Installing Magento on GoDaddy Hosting</a></li><li><a href='http://asia-connect.com.vn/2009/10/internal-server-error-500-in-magento/' rel='bookmark' title='Permanent Link: Internal Server Error 500 in Magento'>Internal Server Error 500 in Magento</a></li></ol></p>]]></content:encoded>
			<wfw:commentRss>http://asia-connect.com.vn/2009/06/how-to-add-ssl-support-in-magento/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Magento and Wordpress</title>
		<link>http://asia-connect.com.vn/2009/06/magento-and-wordpress/</link>
		<comments>http://asia-connect.com.vn/2009/06/magento-and-wordpress/#comments</comments>
		<pubDate>Sun, 28 Jun 2009 00:48:14 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[Magento eCommerce]]></category>

		<guid isPermaLink="false">http://asia-connect.com.vn/?p=299</guid>
		<description><![CDATA[With the latest release of Magento 1.3, there really is no escaping the fact that Magento is the number one software for your eCommerce site. With it’s flexibility and scalability there is very little you can’t get Magento to do in an eCommerce environment. Granted, the CMS options could be and perhaps should be a bit more flexible compared to the rest, but they do the trick. There only one thing Magento can’t do and that is blog.
Where Magento is becoming the dominant software for eCommerce websites, is WordPress already ...


Related posts:<ol><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><li><a href='http://asia-connect.com.vn/2009/09/connect2mage-wordpress-plugin-for-easy-magento-database-connection/' rel='bookmark' title='Permanent Link: connect2MAGE | WordPress plugin for easy Magento database connection'>connect2MAGE | WordPress plugin for easy Magento database connection</a></li><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></ol>]]></description>
			<content:encoded><![CDATA[<p>With the latest release of <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> 1.3, there really is no escaping the fact that Magento is the number one software for your eCommerce site. With it’s flexibility and scalability there is very little you can’t get Magento to do in an eCommerce environment. Granted, the CMS options could be and perhaps should be a bit more flexible compared to the rest, but they do the trick. There only one thing Magento can’t do and that is blog.</p>
<p>Where Magento is becoming the dominant software for eCommerce websites, is WordPress already the <a rel="nofollow" href="http://www.google.com/trends?q=wordpress%2C+blogger%2C+drupal&amp;ctab=0&amp;geo=all&amp;date=all&amp;sort=0" onclick="javascript:pageTracker._trackPageview('/outbound/article/www.google.com');" target="_blank">most popular</a> blogging software out there, and with good reason. WordPress can be used in a number of different ways but using WordPress as CMS plus blog engine is what is does best.</p>
<h4><img class="size-medium wp-image-115 alignright" title="icon_big" src="http://www.silverthemes.com/blog/wp-content/uploads/2009/04/icon_big-300x267.png" alt="icon_big" width="200" /></h4>
<p>So if you’re serious about the online presence of your web shop you should want to take a look at combining Magento and WordPress.</p>
<h4>Advantages of integrating Magento with WordPress</h4>
<p>There are a couple of advantages of integrating Magento with WordPress:</p>
<p>- With WordPress added to your store you give your customers and regular visitors the ability to interact with you more than when you would just offer products.<br />
- Instead of just offering products you have the possibility to offer extra value by providing interesting links of interest in your field, which in effect establishes you or your web shop as an authority on your subject.<br />
- An added WordPress blog gives you the opportunity to work on your search engine optimization (SEO). Linking to your products in right way will not only make sure your visitors know what’s going on and what you find important but the Search Engines will know this just as well! To learn more about SEO visit this article on Magento SEO by Yoast.</p>
<h4>Thing to consider when looking at integrating Magento with WordPress</h4>
<p>Let’s say you’re still working on releasing your Magento website, or better yet when you have yet to install Magento. You will have to figure out what to do with your url and your installations of Magento and WordPress. Here are a couple of things to consider:</p>
<p>- Depending on the size of your shop you could install your Magento installation in a subfolder (http://www.yourdomain.com/shop) or sub domain even(http://shop.yourdomain.com) and let WordPress handle the root of your domain with it’s static pages and have the blog functionality work as your news section.<br />
- When you have a larger shop you might want to install Magento in the root of your domain and use WordPress as a subfolder called /blog, /news or something of your choosing.<br />
- Try and go for matching themes on your Magento and WordPress installation as much as possible.<br />
- When you really want to create a large community combined with your web shop, do consider a variation of WordPress called BuddyPress. BuddyPress enables you to have your own social network combined with a large site. Although this may seem like a step too far in most cases this is definitely worth checking out when you are building a large online store.</p>
<h4>How to integrate WordPress into your Magento store</h4>
<p>Straight out of the box Magento can not communicate with WordPress and vice versa. So it’s up to you to make them share information. Right now there are two ways of going about that.</p>
<p>The first is immediately the easiest one. Lazymonk wrote a <a rel="nofollow" href="http://www.magentocommerce.com/extension/296/lazzymonks-wordpress-integration" onclick="javascript:pageTracker._trackPageview('/outbound/article/www.magentocommerce.com');" target="_blank">Magento extension for WordPress integration</a>. This extension allows you to integrate WordPress into your Magento installation if, and only if both your installations <span style="text-decoration: underline;">are installed in the same database</span>. For installation details check out the plugins page.</p>
<p>The second way of going about this involves you tweaking a bit of code in your Magento Theme. We’ll use the RSS import function of Magento to import the latest articles via your WordPress feed output.</p>
<p>What we need to do is create a file which will contain the code used to import the RSS. Let’s give that file a name something like import_blog.phtml and the following code into that:</p>
<pre><code>&lt; ?php $channel = new Zend_Feed_Rss('http://www.yourdomain/feed'); ?&gt;
&lt;div class="block block-latest-news"&gt;
&lt;div class="block-title"&gt;
&lt;h2&gt;&lt; ?php echo $this-&gt;__('Latest Articles form the Blog') ?&gt;&lt;/h2&gt;
&lt;/div&gt;
&lt;div class="block-content"&gt;
&lt;ol id="graybox-latest-news"&gt;
&lt; ?php foreach ($channel as $item): ?&gt;
&lt;li&gt;&lt;a href="&lt;?php echo $item-&gt;link; ?&gt;"&gt;&lt; ?php echo $item-&gt;title; ?&gt;&lt;/a&gt;&lt;/li&gt;
&lt; ?php endforeach; ?&gt;
&lt;/ol&gt;
&lt;/div&gt;
&lt;/div&gt;</code></pre>
<p>Place this file in your themes folder so it will look like so: <em>app/design/frontend/default/name_of_your_theme/template/callouts/blog_import.phtml</em></p>
<p>All you would have to do is call for this newly created file in your Magento theme. Most themes have a column on the right so let’s assume that’s where you want to import your latest blog posts. You would need a code similar to this one:</p>
<pre><code>&lt;reference name="right"&gt;
&lt;block type="core/template" name="right.permanent.callout" template="callouts/right_col.phtml"/&gt;
&lt;block type="core/template" name="right.latest.news" template="callouts/blog_import.phtml"/&gt;
&lt;/reference&gt;</code></pre>
<p>Be sure to add this code to your catalog.xml located in <em>app/design/frontend/default/name_of_your_theme/layout/catalog.xml</em></p>
<p>Please note that in the code you can change things like <em>Latest Articles from the Blog</em> to anything you like. Also, for better handling and tracking of your feed you can use Feedburner to deliver your feed. You would then use the feed url specified by Feedburner in the first code.</p>


<p>Related posts:<ol><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><li><a href='http://asia-connect.com.vn/2009/09/connect2mage-wordpress-plugin-for-easy-magento-database-connection/' rel='bookmark' title='Permanent Link: connect2MAGE | WordPress plugin for easy Magento database connection'>connect2MAGE | WordPress plugin for easy Magento database connection</a></li><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></ol></p>]]></content:encoded>
			<wfw:commentRss>http://asia-connect.com.vn/2009/06/magento-and-wordpress/feed/</wfw:commentRss>
		<slash:comments>7</slash:comments>
		</item>
		<item>
		<title>Adding your Logo to your Magento Store</title>
		<link>http://asia-connect.com.vn/2009/06/adding-your-logo-to-your-magento-store/</link>
		<comments>http://asia-connect.com.vn/2009/06/adding-your-logo-to-your-magento-store/#comments</comments>
		<pubDate>Sun, 28 Jun 2009 00:42:09 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[Magento eCommerce]]></category>

		<guid isPermaLink="false">http://asia-connect.com.vn/?p=296</guid>
		<description><![CDATA[
Adding your logo to Magento is probably one of the easiest procedures there are.
You will need to have your own logo, whether its a .GIF, .JPG or .PNG. We will recommend you use a .PNG as its transparency works great for the web.
All you will need to do is overwrite the current logo (if your using a .GIF image) in ‘skin/frontend/default/images/logo.gif’.
If you are however, using a .PNG image or any other format then just place it in ‘skin/frontend/default/images/‘.
Once you’ve done that go ahead into your Magento Backend, for example: ‘http://yourdomain.com/admin/‘ ...


Related posts:<ol><li><a href='http://asia-connect.com.vn/2009/06/adding-links-to-your-top-menu/' rel='bookmark' title='Permanent Link: Adding Links to your Top Menu'>Adding Links to your Top Menu</a></li><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/how-to-install-magento-themes/' rel='bookmark' title='Permanent Link: How to install magento themes?'>How to install magento themes?</a></li></ol>]]></description>
			<content:encoded><![CDATA[<div class="entry">
<p>Adding your logo to <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 probably one of the easiest procedures there are.</p>
<p>You will need to have your own logo, whether its a .<strong>GIF</strong>, .<strong>JPG </strong>or .<strong>PNG</strong>. We will recommend you use a .<strong>PNG </strong>as its transparency works great for the web.</p>
<p>All you will need to do is overwrite the current logo (if your using a .GIF image) in ‘<span style="color: #008000;">skin/frontend/default/images/logo.gif’</span>.</p>
<p>If you are however, using a .PNG image or any other format then just place it in ‘<span style="color: #008000;">skin/frontend/default/images/</span>‘.</p>
<p>Once you’ve done that go ahead into your Magento Backend, for example: ‘<span style="color: #808000;">http://yourdomain.com/admin/</span>‘ and go to <strong>System &gt; Configuration</strong>. Select the ‘<strong>Design</strong>‘ tab and scroll down and select the ‘<strong>Header</strong>‘ tab. You will see something that looks like this:</p>
<p><img class="alignnone size-full wp-image-33" title="logo1" src="http://hellothemes.com/blog/wp-content/uploads/2009/05/logo1.jpg" alt="logo1" width="630" height="250" /></p>
<p>Change <span style="color: #008000;">‘images/logo.gif</span>‘ to ‘<span style="color: #008000;">images/logo.png</span>‘. Logo Alt Image represents the text that will display when you hover over the logo image. Type in your store name, this is good for <strong>Search Engines</strong>.</p>
<p>Hope that helped and stay tuned!</p>
<p style="text-align: right;"><em>From hellothemes.com</em></p>
</div>


<p>Related posts:<ol><li><a href='http://asia-connect.com.vn/2009/06/adding-links-to-your-top-menu/' rel='bookmark' title='Permanent Link: Adding Links to your Top Menu'>Adding Links to your Top Menu</a></li><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/how-to-install-magento-themes/' rel='bookmark' title='Permanent Link: How to install magento themes?'>How to install magento themes?</a></li></ol></p>]]></content:encoded>
			<wfw:commentRss>http://asia-connect.com.vn/2009/06/adding-your-logo-to-your-magento-store/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Magento Templates Installation Guide</title>
		<link>http://asia-connect.com.vn/2009/06/magento-templates-installation-guide/</link>
		<comments>http://asia-connect.com.vn/2009/06/magento-templates-installation-guide/#comments</comments>
		<pubDate>Sun, 28 Jun 2009 00:39:17 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[Magento eCommerce]]></category>

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


No related posts.


No related posts.]]></description>
			<content:encoded><![CDATA[<p><object width="425" height="344" data="http://www.youtube.com/v/RxZKNisYiUQ&amp;hl=en&amp;fs=1&amp;" type="application/x-shockwave-flash"><param name="allowFullScreen" value="true" /><param name="allowscriptaccess" value="always" /><param name="src" value="http://www.youtube.com/v/RxZKNisYiUQ&amp;hl=en&amp;fs=1&amp;" /><param name="allowfullscreen" value="true" /></object></p>


<p>No related posts.</p>]]></content:encoded>
			<wfw:commentRss>http://asia-connect.com.vn/2009/06/magento-templates-installation-guide/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Adding Links to your Top Menu</title>
		<link>http://asia-connect.com.vn/2009/06/adding-links-to-your-top-menu/</link>
		<comments>http://asia-connect.com.vn/2009/06/adding-links-to-your-top-menu/#comments</comments>
		<pubDate>Sun, 28 Jun 2009 00:37:37 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[Magento eCommerce]]></category>

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

Many people wonder how you go by adding additional links to your Category menu items on Magento. This is another straight forward tutorial and will break it down for you to make it as simple as possible.
To get started you will need to locate and open “app/design/frontend/default/&#60;yourtheme&#62;/template/catalog/navigation/top.phtml” file. Once opened, scroll down and you will see something that sort of look like this:
&#60;ul id="nav"&#62;
	&#60;li&#62;&#60;a href="&#60;?php echo $this-&#62;getUrl('')?&#62;"&#62;&#60;span&#62;
        &#60;?php echo $this-&#62;__('Homepage') ?&#62;&#60;/span&#62;&#60;/a&#62;&#60;/li&#62;
        &#60;?php foreach ($this-&#62;getStoreCategories() as $_category): ...


Related posts:<ol><li><a href='http://asia-connect.com.vn/2009/07/adding-links-to-magento-menu-bar/' rel='bookmark' title='Permanent Link: Adding Links to Magento Menu Bar'>Adding Links to Magento Menu Bar</a></li><li><a href='http://asia-connect.com.vn/2009/10/magento-navigation-how-to-customize-very-helpful-information/' rel='bookmark' title='Permanent Link: Magento Navigation, how to customize very helpful information?'>Magento Navigation, how to customize very helpful information?</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[<div class="entry">
<div class="entry">
<p>Many people wonder how you go by adding additional links to your Category menu items 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>. This is another straight forward tutorial and will break it down for you to make it as simple as possible.</p>
<p>To get started you will need to locate and open “<strong>app/design/frontend/default/&lt;yourtheme&gt;/template/catalog/navigation/top.phtml</strong>” file. Once opened, scroll down and you will see something that sort of look like this:</p>
<pre><code>&lt;ul id="nav"&gt;
	<strong><span style="color: #3366ff;">&lt;li&gt;&lt;a href="&lt;?php echo $this-&gt;getUrl('')?&gt;"&gt;&lt;span&gt;
        &lt;?php echo $this-&gt;__('Homepage') ?&gt;&lt;/span&gt;&lt;/a&gt;&lt;/li&gt;</span></strong>
        &lt;?php foreach ($this-&gt;getStoreCategories() as $_category): ?&gt;
        &lt;?php echo $this-&gt;drawItem($_category) ?&gt;
        &lt;?php endforeach ?&gt;
&lt;/ul&gt;</code></pre>
<p>As you can see the Homepage link is an additional link I have added as an example. Now I will show you what it will look like to add a new additional link after the categorie links are shown:</p>
<pre><code>&lt;ul id="nav"&gt;
	&lt;li&gt;&lt;a href="&lt;?php echo $this-&gt;getUrl('')?&gt;"&gt;&lt;span&gt;
        &lt;?php echo $this-&gt;__('Homepage') ?&gt;&lt;/span&gt;&lt;/a&gt;&lt;/li&gt;
        &lt;?php foreach ($this-&gt;getStoreCategories() as $_category): ?&gt;
        &lt;?php echo $this-&gt;drawItem($_category) ?&gt;
        &lt;?php endforeach ?&gt;
<span style="color: #ff0000;">        <strong>&lt;li&gt;&lt;a href="http://yourdomain.com/"&gt;&lt;span&gt;
        &lt;?php echo $this-&gt;__('New Link Here') ?&gt;&lt;/span&gt;&lt;/a&gt;&lt;/li&gt;</strong></span>
&lt;/ul&gt;</code></pre>
<p>This way you can now change “<strong>http://yourdomain.com</strong>” to destination you would like to choose aswell as ‘New Link Here’ to the name of the link you would like to use.</p>
<p>To remove any of the additional links just delete the starting and ending tags of the links, for example:</p>
<pre><code>&lt;ul id="nav"&gt;
        &lt;?php foreach ($this-&gt;getStoreCategories() as $_category): ?&gt;
        &lt;?php echo $this-&gt;drawItem($_category) ?&gt;
        &lt;?php endforeach ?&gt;
&lt;/ul&gt;</code></pre>
</div>
<p style="text-align: right;"><em>From hellothemes.com</em></p>
</div>


<p>Related posts:<ol><li><a href='http://asia-connect.com.vn/2009/07/adding-links-to-magento-menu-bar/' rel='bookmark' title='Permanent Link: Adding Links to Magento Menu Bar'>Adding Links to Magento Menu Bar</a></li><li><a href='http://asia-connect.com.vn/2009/10/magento-navigation-how-to-customize-very-helpful-information/' rel='bookmark' title='Permanent Link: Magento Navigation, how to customize very helpful information?'>Magento Navigation, how to customize very helpful information?</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/06/adding-links-to-your-top-menu/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>How to show Category Products on Homepage</title>
		<link>http://asia-connect.com.vn/2009/06/how-to-show-category-products-on-homepage/</link>
		<comments>http://asia-connect.com.vn/2009/06/how-to-show-category-products-on-homepage/#comments</comments>
		<pubDate>Sun, 28 Jun 2009 00:32:57 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[Magento eCommerce]]></category>

		<guid isPermaLink="false">http://asia-connect.com.vn/?p=288</guid>
		<description><![CDATA[
Another major question people ask is how to add a Category Products on the homepage. This again, is a very simple task and I will once again explain how it all works.
When you purchase one of our themes you will see a folder name called “code” and inside that folder a file called “homepage_code.txt” this can by the way be ignored if you aren’t actually using one of our themes.
This piece of coding is what should be added in your “Content” area by going to CMS &#62; Manage Pages &#62; ...


Related posts:<ol><li><a href='http://asia-connect.com.vn/2009/07/tips-for-creating-dynamic-category-landing-pages/' rel='bookmark' title='Permanent Link: Tips For Creating Dynamic Category Landing Pages'>Tips For Creating Dynamic Category Landing Pages</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-filter-by-multiple-categories/' rel='bookmark' title='Permanent Link: Magento &#8211; Filter by multiple categories'>Magento &#8211; Filter by multiple categories</a></li></ol>]]></description>
			<content:encoded><![CDATA[<div class="entry">
<p>Another major question people ask is how to add a Category Products on the homepage. This again, is a very simple task and I will once again explain how it all works.</p>
<p>When you purchase one of our themes you will see a folder name called “<strong>code</strong>” and inside that folder a file called “<strong>homepage_code.txt</strong>” this can by the way be ignored if you aren’t actually using one of our themes.</p>
<p>This piece of coding is what should be added in your “Content” area by going to CMS &gt; Manage Pages &gt; Homepage:</p>
<pre><code>&lt;h2&gt;Your Homepage Title Here&lt;/h2&gt;
{{block type="catalog/product_list" category_id="<span style="color: #ff0000;">3</span>"
template="catalog/product/list.phtml"}}</code></pre>
<p>Go ahead and copy and paste this piece of coding in your content area. As you can see the number “3″ is marked red as an example, due to the fact that this is the only thing that needs to be changed when showing a specific categories product.</p>
<p>Now go ahead and go to Catalog &gt; Manage Categories, select one of your categories from the left hand side of the page. When selected you will see an ID number show up for the category, for example “<strong>Your Category (ID: 10)</strong>“. As you can now see the ID number of this category is “10″. Now go back to CMS &gt; Manage Pages &gt; Homepage and in your content area change “3″ to “10″:</p>
<pre><code>&lt;h2&gt;Your Homepage Title Here&lt;/h2&gt;
{{block type="catalog/product_list" category_id="<span style="color: #ff0000;">10</span>"
template="catalog/product/list.phtml"}}</code></pre>
<p>Now save your page and check out your homepage!</p>
<p>Hope that helped!</p>
<p style="text-align: right;"><em>From hellothemes.com</em></p>
</div>


<p>Related posts:<ol><li><a href='http://asia-connect.com.vn/2009/07/tips-for-creating-dynamic-category-landing-pages/' rel='bookmark' title='Permanent Link: Tips For Creating Dynamic Category Landing Pages'>Tips For Creating Dynamic Category Landing Pages</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-filter-by-multiple-categories/' rel='bookmark' title='Permanent Link: Magento &#8211; Filter by multiple categories'>Magento &#8211; Filter by multiple categories</a></li></ol></p>]]></content:encoded>
			<wfw:commentRss>http://asia-connect.com.vn/2009/06/how-to-show-category-products-on-homepage/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Secret feature of Magento 1.3: Sharing same route name for different modules!</title>
		<link>http://asia-connect.com.vn/2009/06/secret-feature-of-magento-13-sharing-same-route-name-for-different-modules/</link>
		<comments>http://asia-connect.com.vn/2009/06/secret-feature-of-magento-13-sharing-same-route-name-for-different-modules/#comments</comments>
		<pubDate>Sun, 28 Jun 2009 00:28:34 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[Magento eCommerce]]></category>

		<guid isPermaLink="false">http://asia-connect.com.vn/?p=285</guid>
		<description><![CDATA[I have already talked about flexible architecture of Magento Commerce in my previous posts. As Magento allows to customize its default behavior without touching and modifying the existing code, we can override any of the existing class by defining our own in our out of the box extensions. I have also played with Magento by creating variety of extensions, and believe me, it was a real fun of programming. Magento allowed me to change everything I desired.
But I was still feeling that something is missing! And that missing thing was ...


Related posts:<ol><li><a href='http://asia-connect.com.vn/2009/06/overriding-controllers-and-actions-in-magento/' rel='bookmark' title='Permanent Link: Overriding Controllers and Actions in Magento'>Overriding Controllers and Actions in Magento</a></li><li><a href='http://asia-connect.com.vn/2009/07/magento-customize-modules-extension-development/' rel='bookmark' title='Permanent Link: Magento Customize Modules Extension Development'>Magento Customize Modules Extension Development</a></li><li><a href='http://asia-connect.com.vn/2009/10/observer-pitfalls-of-building-serious-modules-in-magento/' rel='bookmark' title='Permanent Link: Observer pitfalls of building serious modules in Magento'>Observer pitfalls of building serious modules in Magento</a></li></ol>]]></description>
			<content:encoded><![CDATA[<p>I have already talked about flexible architecture of <a rel="nofollow" href="http://www.magentocommerce.com/" onclick="javascript:pageTracker._trackPageview('/outbound/article/www.magentocommerce.com');">Magento Commerce</a> in my previous posts. As <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> allows to customize its default behavior without touching and modifying the existing code, we can override any of the existing class by defining our own in our out of the box extensions. I have also played with Magento by creating variety of extensions, and believe me, it was a real fun of programming. Magento allowed me to change everything I desired.</p>
<p>But I was still feeling that something is missing! And that missing thing was provision for <strong><em>sharing of route names</em></strong> which is now available since Magento 1.3 released yesterday. Now, the first question may arise here that &#8220;what is sharing of route names?&#8221;. &#8216;Sharing of route names&#8217; is not a functional feature. So if you&#8217;ll try to find it in <a rel="nofollow" href="http://www.magentocommerce.com/features" onclick="javascript:pageTracker._trackPageview('/outbound/article/www.magentocommerce.com');">Magento features list</a>, you may be disappointed. Actually it is a feature for developers. It is not even mentioned in <a rel="nofollow" href="http://www.magentocommerce.com/download/release_notes#Release%20Notes%20-%20Magento%201.3.0%20%28March%2030,%202009%29" onclick="javascript:pageTracker._trackPageview('/outbound/article/www.magentocommerce.com');">Magento 1.3 Release Notes</a>. I found this secret feature in newer version of Magento when I was roaming inside the code to search the difference between 1.2 and 1.3. Let me explain this feature in more detail.</p>
<p>Sometimes, I was supposed to develop extensions which required extra pages or forms in existing modules. For example, adding extra features to Admin Panel. I needed some extra controllers and actions for Admin Panel. This seems OK. I could easily create a local module for it as explained in this <a rel="nofollow" href="http://www.magentocommerce.com/wiki/how_to_create_an_admin_form_module" onclick="javascript:pageTracker._trackPageview('/outbound/article/www.magentocommerce.com');">Wiki</a>. But an uncomfortable part in this way is this configuration:</p>
<pre><code>&lt;admin&gt;
 &lt;routers&gt;
   &lt;sintax&gt;
     &lt;use&gt;admin&lt;/use&gt;
     &lt;args&gt;
       &lt;module&gt;Mage_Sintax&lt;/module&gt;
       &lt;frontName&gt;sintax&lt;/frontName&gt;
     &lt;/args&gt;
   &lt;/sintax&gt;
 &lt;/routers&gt;
&lt;/admin&gt;</code></pre>
<p>Here, all URLs of my additional pages will be started by /sintax/ while all other admin panel pages will be started by /admin/. I am forced to use other routes for my additional modules. I cannot just add more URLs to &#8216;admin&#8217; route! This can be fare for Admin Panel pages as they will never be visible by public. But what if I want to add more pages to frontend? If I add any extra page to &#8216;catalog&#8217; module, I can&#8217;t define URLs for my pages starting with /catalog/. I have to define a route something like /mycatalog/ which I don&#8217;t like!</p>
<p>One solution for this to use URL rewrite from /catalog/mypage/ to /mycatalog/mypage/. But unfortunately, URL helpers will still generate URLs like /mycatalog/mypage/.</p>
<p>The problem with the older version of Magento was mapping one to one relationthip with module front name to module real name i.e. &#8216;catalog&#8217; =&gt; &#8216;Mage_Catalog&#8217;, &#8216;admin&#8217; =&gt; &#8216;Mage_Adminhtml&#8217; etc. So I could not map my additional module to existing front name. But Magento 1.3 allows to map additional modules to existing front names. How? Just by changing router configuration for module shown above to the following:</p>
<pre><code>&lt;admin&gt;
 &lt;routers&gt;
   &lt;adminhtml&gt;
     &lt;args&gt;
       &lt;modules&gt;
         &lt;sintax before="Mage_Adminhtml"&gt;Mage_Sintax&lt;/sintax&gt;
       &lt;/modules&gt;
     &lt;/args&gt;
   &lt;/adminhtml&gt;
 &lt;/routers&gt;
&lt;/admin&gt;</code>
</pre>
<p>This configutation will add Mage_Sintax module to admin frontname. An attribute before can be added to give more priority then existing module in finding controllers. For example in this case, /admin/catalog/ URL will call a controller class Mage_Sintax_CatalogController, if it is defined and if not then it will call Mage_Adminhtml_CatalogController. Similarly, after attribute will assign less priority then the existing module. We can add as many modules as we need to the same front name using this way.</p>
<p>Sounds good? Then try it yourself&#8230;!</p>
<p style="text-align: right;"><em>From web-magician.blogspot.com</em></p>


<p>Related posts:<ol><li><a href='http://asia-connect.com.vn/2009/06/overriding-controllers-and-actions-in-magento/' rel='bookmark' title='Permanent Link: Overriding Controllers and Actions in Magento'>Overriding Controllers and Actions in Magento</a></li><li><a href='http://asia-connect.com.vn/2009/07/magento-customize-modules-extension-development/' rel='bookmark' title='Permanent Link: Magento Customize Modules Extension Development'>Magento Customize Modules Extension Development</a></li><li><a href='http://asia-connect.com.vn/2009/10/observer-pitfalls-of-building-serious-modules-in-magento/' rel='bookmark' title='Permanent Link: Observer pitfalls of building serious modules in Magento'>Observer pitfalls of building serious modules in Magento</a></li></ol></p>]]></content:encoded>
			<wfw:commentRss>http://asia-connect.com.vn/2009/06/secret-feature-of-magento-13-sharing-same-route-name-for-different-modules/feed/</wfw:commentRss>
		<slash:comments>2</slash:comments>
		</item>
	</channel>
</rss>
