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

<channel>
	<title>和钥匙一起学习magento</title>
	<atom:link href="http://www.hellokeykey.com/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.hellokeykey.com</link>
	<description>大家好我是钥匙，欢迎大家来到我的博客学习magento的使用与开发。</description>
	<lastBuildDate>Fri, 10 Feb 2012 03:34:33 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.3.1</generator>
		<item>
		<title>Magento导入多图,自定义选项 （2）</title>
		<link>http://www.hellokeykey.com/magento-import-products-categories-multiple-images-and-custom-options-2/</link>
		<comments>http://www.hellokeykey.com/magento-import-products-categories-multiple-images-and-custom-options-2/#comments</comments>
		<pubDate>Sun, 05 Feb 2012 15:51:23 +0000</pubDate>
		<dc:creator>钥匙</dc:creator>
				<category><![CDATA[magento]]></category>
		<category><![CDATA[magento wiki]]></category>
		<category><![CDATA[magento使用教程]]></category>
		<category><![CDATA[magento导入]]></category>
		<category><![CDATA[Magento批量]]></category>
		<category><![CDATA[Magento批量上传]]></category>

		<guid isPermaLink="false">http://www.hellokeykey.com/?p=2177</guid>
		<description><![CDATA[今天试了下Magento 1.6 批量导入商品代多图和自定义选项，这侧导入是基于我上一篇文章，分享下操作注意事项。 请先阅读我的上一遍文章：Magento导入多图,自定义选项 首先来看下，我导出商店说有商品的设置，下面截图页面为Magento后台 System -&#62; Import/Export -&#62; Dataflow &#8211; Profiles 中的 Profile Wizard 栏目。我先说导出是因为有的人是先批量导出已经有的商品，编辑后再批量更新。 *注意图中的红色部分。 导出的文件，我们需要修改下，修改后的示例：Magento多图自定义选项批量导入CSV示例文件 此文件只是示例，大家根据自己情况来修改下，然后就可以用了。此示例只包含一个自定义属性。 使用编辑器打开（我使用Notepad++），我们可以注意到它的标点特点如下面截图。 我们可以看到如果一个属性的值是两个，要有英文的双引号，其它的属性只有一个值的均没有双引号。 在批量导入的时候，Magento会提示某个属性值是不合法的，但其实不一定是他提示的那个值有问题，可能是他相邻的几个属性的值有问题。这个问题产生有两种可能，一个可能就是编码问题，比如这个值是法语的，德语的，程序无法识别。还有一种可能就是这个双引号的问题，这里大家要注意。 如何导入多个自定义选项？ 示例：Size:drop_down:1,Color:drop_down:1 在CSV中多一列属性既可以增加一个自定义选项。 &#160; 报告有属性值不正确，或者报错怎么回事？ 如报警“Skip import row, required field “sku” not defined”，这不一定是sku的值有问题，有可能是编码原因造成的。 请使用UTF8编码编写您的csv文件，我使用Notepad++的编码转换功能将CSV文件存为UTF8格式，这会减少因为 法语、西班牙语等非英文语种因为编码造成的此类报警。并且当一个属性有多个值的时候，如果有报警属性值不正确，请尝试用英文双引号将值括起来。 &#160; 大家可以使用excel来编辑csv文件，但是大家要使用别的编辑器如“记事本”（我使用Notepad++）来看下文件是否有乱码，是否有的值双引号没有，是否编码有问题，Magento批量导入支持UTF-8 和 ANSI这两种编码。 建议大家一个分类一个CSV文件，这样更好操作些。 如果你要使用Magento批量导入的Dataflow &#8211; Advanced Profiles 本文的Actions XML可以参考此文件：Magento-Actions-xml 转载表明出处：www.hellokeykey.com &#160; &#160;]]></description>
			<content:encoded><![CDATA[<p>今天试了下Magento 1.6 批量导入商品代多图和自定义选项，这侧导入是基于我上一篇文章，分享下操作注意事项。</p>
<p>请先阅读我的上一遍文章：<a title="Magento导入多图，自定义选项" href="http://www.hellokeykey.com/magento-import-products-categories-multiple-images-and-custom-options/" target="_blank">Magento导入多图,自定义选项</a></p>
<p>首先来看下，我导出商店说有商品的设置，下面截图页面为Magento后台 System -&gt; Import/Export -&gt; Dataflow &#8211; Profiles 中的 Profile Wizard 栏目。我先说导出是因为有的人是先批量导出已经有的商品，编辑后再批量更新。</p>
<div id="attachment_2178" class="wp-caption alignnone" style="width: 610px"><a href="http://www.hellokeykey.com/wp-content/uploads/2012/02/Magento-Export-field-mapping.jpg"><img class="size-large wp-image-2178" title="Magento Export field mapping" src="http://www.hellokeykey.com/wp-content/uploads/2012/02/Magento-Export-field-mapping-600x716.jpg" alt="Magento Export field mapping" width="600" height="716" /></a><p class="wp-caption-text">Magento Export field mapping</p></div>
<p>*注意图中的红色部分。</p>
<p>导出的文件，我们需要修改下，修改后的示例：<a href="http://www.hellokeykey.com/wp-content/uploads/2012/02/export_all_products_hellokeykey.csv">Magento多图自定义选项批量导入CSV示例文件</a></p>
<p>此文件只是示例，大家根据自己情况来修改下，然后就可以用了。此示例只包含一个自定义属性。</p>
<p>使用编辑器打开（我使用Notepad++），我们可以注意到它的标点特点如下面截图。</p>
<div id="attachment_2180" class="wp-caption alignnone" style="width: 341px"><a href="http://www.hellokeykey.com/wp-content/uploads/2012/02/Magento%E6%89%B9%E9%87%8F%E5%AF%BC%E5%85%A5CSV%E6%96%87%E4%BB%B6%E7%A4%BA%E4%BE%8B.jpg"><img class="size-full wp-image-2180" title="Magento批量导入CSV文件示例细节" src="http://www.hellokeykey.com/wp-content/uploads/2012/02/Magento%E6%89%B9%E9%87%8F%E5%AF%BC%E5%85%A5CSV%E6%96%87%E4%BB%B6%E7%A4%BA%E4%BE%8B.jpg" alt="Magento批量导入CSV文件示例细节" width="331" height="86" /></a><p class="wp-caption-text">Magento批量导入CSV文件示例细节</p></div>
<p>我们可以看到如果一个属性的值是两个，要有英文的双引号，其它的属性只有一个值的均没有双引号。</p>
<p>在批量导入的时候，Magento会提示某个属性值是不合法的，但其实不一定是他提示的那个值有问题，可能是他相邻的几个属性的值有问题。这个问题产生有两种可能，一个可能就是编码问题，比如这个值是法语的，德语的，程序无法识别。还有一种可能就是这个双引号的问题，这里大家要注意。</p>
<p><strong>如何导入多个自定义选项？</strong><br />
示例：Size:drop_down:1,Color:drop_down:1</p>
<p>在CSV中多一列属性既可以增加一个自定义选项。</p>
<p>&nbsp;</p>
<p><strong>报告有属性值不正确，或者报错怎么回事？</strong></p>
<p>如报警“Skip import row, required field “sku” not defined”，这不一定是sku的值有问题，有可能是编码原因造成的。</p>
<p>请使用UTF8编码编写您的csv文件，我使用Notepad++的编码转换功能将CSV文件存为UTF8格式，这会减少因为 法语、西班牙语等非英文语种因为编码造成的此类报警。并且当一个属性有多个值的时候，如果有报警属性值不正确，请尝试用英文双引号将值括起来。</p>
<p>&nbsp;</p>
<p>大家可以使用excel来编辑csv文件，但是大家要使用别的编辑器如“记事本”（我使用Notepad++）来看下文件是否有乱码，是否有的值双引号没有，是否编码有问题，Magento批量导入支持UTF-8 和 ANSI这两种编码。</p>
<p>建议大家一个分类一个CSV文件，这样更好操作些。</p>
<p>如果你要使用Magento批量导入的Dataflow &#8211; Advanced Profiles</p>
<p>本文的Actions XML可以参考此文件：<a href="http://www.hellokeykey.com/wp-content/uploads/2012/02/Magento-Actions-xml.txt">Magento-Actions-xml</a><br />
<span id="more-2177"></span></p>
<p>转载表明出处：www.hellokeykey.com</p>
<p>&nbsp;</p>
<p>&nbsp;</p>
]]></content:encoded>
			<wfw:commentRss>http://www.hellokeykey.com/magento-import-products-categories-multiple-images-and-custom-options-2/feed/</wfw:commentRss>
		<slash:comments>4</slash:comments>
		</item>
		<item>
		<title>Magento导入多图,自定义选项</title>
		<link>http://www.hellokeykey.com/magento-import-products-categories-multiple-images-and-custom-options/</link>
		<comments>http://www.hellokeykey.com/magento-import-products-categories-multiple-images-and-custom-options/#comments</comments>
		<pubDate>Tue, 10 Jan 2012 17:30:12 +0000</pubDate>
		<dc:creator>钥匙</dc:creator>
				<category><![CDATA[magento]]></category>
		<category><![CDATA[magento wiki]]></category>
		<category><![CDATA[magento使用教程]]></category>
		<category><![CDATA[magento多图]]></category>
		<category><![CDATA[magento批量导入]]></category>
		<category><![CDATA[Magento批量上传]]></category>

		<guid isPermaLink="false">http://www.hellokeykey.com/?p=2165</guid>
		<description><![CDATA[Magento批量导入是很多人关心的问题，因为面对成千上万件商品需要管理，还是批量操作方便些。 对于magento自带的批量导入功能，只能算是基础的导入功能，不包含多张图片与自定义选项（例如：尺码，颜色的选择）的功能。 现在有个插件可以帮助大家完成多张图片与自定义选项的批量导入。 插件地址：http://www.magentocommerce.com/magento-connect/import-products-categories-multiple-images-and-custom-options.html 此插件在插件说明部分详细说明了如何操作并且给出了CSV的示例文件，大家正好可以使用此CSV文件了解批量导入表有哪些属性，如何书写。 CSV文件编辑是要保持文件编码和分号逗号使用规律，建议试验没有问题后再批量的编辑商品，并可以时不时的在测试站测试下。CSV编辑器推荐：http://csved.sjfrancke.nl/ 用着感觉很不错 网上批量导入文章很多，详细操作大家可以google下，有时间我出个视频。 导入的自定义属性，比如导入尺码，存在尺码按照字母顺序排的问题，这是这个插件需要fix的地方。 转载表明出处：www.hellokeykey.com]]></description>
			<content:encoded><![CDATA[<div id="attachment_2166" class="wp-caption alignnone" style="width: 610px"><a href="http://www.hellokeykey.com/wp-content/uploads/2012/01/magento%E6%89%B9%E9%87%8F%E5%AF%BC%E5%85%A5.jpg"><img class="size-full wp-image-2166" title="magento批量导入" src="http://www.hellokeykey.com/wp-content/uploads/2012/01/magento%E6%89%B9%E9%87%8F%E5%AF%BC%E5%85%A5.jpg" alt="magento批量导入" width="600" height="256" /></a><p class="wp-caption-text">magento批量导入</p></div>
<p>Magento批量导入是很多人关心的问题，因为面对成千上万件商品需要管理，还是批量操作方便些。</p>
<p>对于magento自带的批量导入功能，只能算是基础的导入功能，不包含多张图片与自定义选项（例如：尺码，颜色的选择）的功能。</p>
<p>现在有个插件可以帮助大家完成多张图片与自定义选项的批量导入。</p>
<p>插件地址：<a title="Import Products categories, multiple images and custom options " href="http://www.magentocommerce.com/magento-connect/import-products-categories-multiple-images-and-custom-options.html" target="_blank">http://www.magentocommerce.com/magento-connect/import-products-categories-multiple-images-and-custom-options.html</a></p>
<p>此插件在插件说明部分详细说明了如何操作并且给出了CSV的示例文件，大家正好可以使用此CSV文件了解批量导入表有哪些属性，如何书写。</p>
<p>CSV文件编辑是要保持文件编码和分号逗号使用规律，建议试验没有问题后再批量的编辑商品，并可以时不时的在测试站测试下。CSV编辑器推荐：<a title="CSV file editor, for Windows" href="http://csved.sjfrancke.nl/" target="_blank">http://csved.sjfrancke.nl/</a> 用着感觉很不错</p>
<p>网上批量导入文章很多，详细操作大家可以google下，有时间我出个视频。</p>
<p>导入的自定义属性，比如导入尺码，存在尺码按照字母顺序排的问题，这是这个插件需要fix的地方。</p>
<p><span id="more-2165"></span></p>
<p>转载表明出处：www.hellokeykey.com</p>
]]></content:encoded>
			<wfw:commentRss>http://www.hellokeykey.com/magento-import-products-categories-multiple-images-and-custom-options/feed/</wfw:commentRss>
		<slash:comments>13</slash:comments>
		</item>
		<item>
		<title>Magento运行Compilation出错</title>
		<link>http://www.hellokeykey.com/magento-compilation-get-erro/</link>
		<comments>http://www.hellokeykey.com/magento-compilation-get-erro/#comments</comments>
		<pubDate>Tue, 20 Dec 2011 08:07:58 +0000</pubDate>
		<dc:creator>钥匙</dc:creator>
				<category><![CDATA[magento]]></category>
		<category><![CDATA[magento wiki]]></category>
		<category><![CDATA[magento使用教程]]></category>
		<category><![CDATA[magento教程]]></category>
		<category><![CDATA[magento中文教程]]></category>

		<guid isPermaLink="false">http://www.hellokeykey.com/?p=2160</guid>
		<description><![CDATA[今天设置Magento的后台的 run Compilation process 一下子网站就挂了，报警信息如下。Compilation的位置在Magento后台System-&#62;Tools-&#62;Compilation,如上图。Compilation主要是用来加速magento运行，具体内容请大家google“Magento  Compilation” Strict Standards: include_once() [function.include-once]: It is not safe to rely on the system's timezone settings. Please use the date.timezone setting, the TZ environment variable or the date_default_timezone_set() function. In case you used any of those methods and you are still getting this warning, you most likely misspelled the timezone identifier. [...]]]></description>
			<content:encoded><![CDATA[<div id="attachment_2161" class="wp-caption alignnone" style="width: 610px"><a href="http://www.hellokeykey.com/wp-content/uploads/2011/12/Magento-Compilation.gif"><img class="size-full wp-image-2161" title="Magento Compilation" src="http://www.hellokeykey.com/wp-content/uploads/2011/12/Magento-Compilation.gif" alt="Magento Compilation" width="600" height="300" /></a><p class="wp-caption-text">Magento Compilation</p></div>
<p>今天设置Magento的后台的 run Compilation process 一下子网站就挂了，报警信息如下。Compilation的位置在Magento后台System-&gt;Tools-&gt;Compilation,如上图。Compilation主要是用来加速magento运行，具体内容请大家google“Magento  Compilation”</p>
<pre class="brush:xml">Strict Standards: include_once() [function.include-once]: It is not safe to rely on the system's timezone settings. Please use the date.timezone setting, the TZ environment variable or the date_default_timezone_set() function. In case you used any of those methods and you are still getting this warning, you most likely misspelled the timezone identifier. We selected 'America/New_York' for 'EST/-5.0/no DST' instead in /home/magentok/domains/magentokey.com/public_html/app/Mage.php on line 36

Warning: include_once(Mage_Core_functions.php) [function.include-once]: failed to open stream: No such file or directory in /home/magentok/domains/magentokey.com/public_html/app/Mage.php on line 36

Strict Standards: include_once() [function.include-once]: It is not safe to rely on the system's timezone settings. Please use the date.timezone setting, the TZ environment variable or the date_default_timezone_set() function. In case you used any of those methods and you are still getting this warning, you most likely misspelled the timezone identifier. We selected 'America/New_York' for 'EST/-5.0/no DST' instead in /home/magentok/domains/magentokey.com/public_html/app/Mage.php on line 36

Warning: include_once() [function.include]: Failed opening 'Mage_Core_functions.php' for inclusion (include_path='/home/magentok/domains/magentokey.com/public_html/includes/src:.:/usr/local/lib/php') in /home/magentok/domains/magentokey.com/public_html/app/Mage.php on line 36

Strict Standards: include_once() [function.include-once]: It is not safe to rely on the system's timezone settings. Please use the date.timezone setting, the TZ environment variable or the date_default_timezone_set() function. In case you used any of those methods and you are still getting this warning, you most likely misspelled the timezone identifier. We selected 'America/New_York' for 'EST/-5.0/no DST' instead in /home/magentok/domains/magentokey.com/public_html/app/Mage.php on line 37

Warning: include_once(Varien_Autoload.php) [function.include-once]: failed to open stream: No such file or directory in /home/magentok/domains/magentokey.com/public_html/app/Mage.php on line 37

Strict Standards: include_once() [function.include-once]: It is not safe to rely on the system's timezone settings. Please use the date.timezone setting, the TZ environment variable or the date_default_timezone_set() function. In case you used any of those methods and you are still getting this warning, you most likely misspelled the timezone identifier. We selected 'America/New_York' for 'EST/-5.0/no DST' instead in /home/magentok/domains/magentokey.com/public_html/app/Mage.php on line 37

Warning: include_once() [function.include]: Failed opening 'Varien_Autoload.php' for inclusion (include_path='/home/magentok/domains/magentokey.com/public_html/includes/src:.:/usr/local/lib/php') in /home/magentok/domains/magentokey.com/public_html/app/Mage.php on line 37

Strict Standards: main() [function.main]: It is not safe to rely on the system's timezone settings. Please use the date.timezone setting, the TZ environment variable or the date_default_timezone_set() function. In case you used any of those methods and you are still getting this warning, you most likely misspelled the timezone identifier. We selected 'America/New_York' for 'EST/-5.0/no DST' instead in /home/magentok/domains/magentokey.com/public_html/app/Mage.php on line 53

Fatal error: Class 'Varien_Autoload' not found in /home/magentok/domains/magentokey.com/public_html/app/Mage.php on line 53</pre>
<p>之前没有遇到过这个情况，google了一下，也没有找到可行的解决办法，于是留言给simplehelix.com的技术支持，让他们帮我看下，一会儿工夫他们就给解决了，客服留言如下：</p>
<pre class="brush:xml">Hello,

I have fixed the error and the site is now back up. I added a line to your .htaccess for the timezone error. For the remaining errors I did this:

I located this file - /includes/config.php

I then swapped out this:

define('COMPILER_INCLUDE_PATH', dirname(__FILE__).DIRECTORY_SEPARATOR.'src');
#define('COMPILER_COLLECT_PATH', dirname(__FILE__).DIRECTORY_SEPARATOR.'stat');

For this:

#define('COMPILER_INCLUDE_PATH', dirname(__FILE__).DIRECTORY_SEPARATOR.'src');
define('COMPILER_COLLECT_PATH', dirname(__FILE__).DIRECTORY_SEPARATOR.'stat');

Also per a forum post, it was suggested to - "don’t use the ‘enable’ button first, please use the ‘Run compilation process’ button first and then use the ‘enable’ button". I am hoping that will help.

Please let us know if you need any further assistance.

Thank you,</pre>
<p>从客服的留言我们知道他给修改了两处设置，所以大家遇到同样的报警信息可以像客服说的进行修改。客服没有提到的就是网站挂了，大家要在修改后，手动清空缓存文件，再运行。</p>
<p>客服也提到，当我们开启Magento Compilation的时候，记得是先点击‘Run compilation process’ 按钮，然后再点击“enable”。</p>
<p><span id="more-2160"></span></p>
<p>转载标明出处：www.hellokeykey.com</p>
]]></content:encoded>
			<wfw:commentRss>http://www.hellokeykey.com/magento-compilation-get-erro/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>再谈magento手动安装</title>
		<link>http://www.hellokeykey.com/install-magento-by-yourself/</link>
		<comments>http://www.hellokeykey.com/install-magento-by-yourself/#comments</comments>
		<pubDate>Fri, 16 Dec 2011 06:37:47 +0000</pubDate>
		<dc:creator>钥匙</dc:creator>
				<category><![CDATA[magento]]></category>
		<category><![CDATA[magento服务器]]></category>
		<category><![CDATA[magento使用教程]]></category>
		<category><![CDATA[magento安装]]></category>
		<category><![CDATA[magento安装环境]]></category>
		<category><![CDATA[magento中文教程]]></category>

		<guid isPermaLink="false">http://www.hellokeykey.com/?p=2154</guid>
		<description><![CDATA[如上图，magento安装需要的文件有两个，一个是 magento-1.6.1.0.tar.gz   他是magento的安装文件，1.6.1.0标明安装文件是1.6.1.0版本。 magento-sample-data-1.6.1.0.tar.gz  这个文件是magento的演示数据压缩包，演示数据顾名思义，是为了做演示用的，一般不需要安装。如果你需要练习使用magento，或者做模板开发，那么这个演示数据还是很方便的。这个演示数据压缩包解压后，文件中有一个sql文件，如果要装显示数据，那么可以将这个导入数据库，在安装magento的时候使用这个数据库。还有一个media文件夹，就是magento的根目录的media文件，直接用这个media覆盖magento的那个media。这样演示数据和演示数据的商品图片就都有了。 1.解压Magento安装文件，将解压后的文件放到域名的根目录即可，这就完成了Magento安装的文件部署 我们可以看到解压后的magento文件根目录有app文件夹，media文件夹，var文件夹，skin文件夹等很多文件与文件夹。 app中存放了magento的核心文件，和模板结构文件。 skin文件存放的主要是模板样式文件。 media文件夹存放的是网站的商品图片。 var文件夹存放的会是magento的缓存文件和其它文件。 2.然后就是要设置文件权限问题了。 其实大家可以不必管文件权限问题，直接进入magento的安装过程，如果文件权限不对，安装过程会有提示。提示你哪个文件需要写权限就去设置下，然后刷新页面即可。 3.访问域名进入安装页面，设置Magento系统的参数，时间，货币，网站用户名，密码等。最重要的一项就是数据库的设置，要填写设置好的数据库名字，密码，表前缀，表前缀这个东西可以写也可以不写。写了，magento的所有表会有个表前缀。 4.安装完毕，试试吧 网上有我录制的magento安装视频，见我的magento中文视频。 国内外的参考资料也很多，但是都是写的不太好，希望本文是个补充。 magento安装环境见：http://www.magentocommerce.com/system-requirements magento官方的SSH安装见：http://www.magentocommerce.com/wiki/groups/227/installing_magento_via_shell_ssh &#160; 转载标明出处：www.hellokeykey.com &#160; &#160;]]></description>
			<content:encoded><![CDATA[<div id="attachment_2155" class="wp-caption alignnone" style="width: 610px"><a href="http://www.hellokeykey.com/wp-content/uploads/2011/12/magento-install-1.gif"><img class="size-full wp-image-2155" title="再谈magento安装" src="http://www.hellokeykey.com/wp-content/uploads/2011/12/magento-install-1.gif" alt="再谈magento安装" width="600" height="84" /></a><p class="wp-caption-text">再谈magento安装</p></div>
<p>如上图，magento安装需要的文件有两个，一个是 <span style="color: #ff0000;">magento-1.6.1.0.tar.gz</span>   他是magento的安装文件，1.6.1.0标明安装文件是1.6.1.0版本。</p>
<p><span style="color: #ff0000;">magento-sample-data-1.6.1.0.tar.gz</span>  这个文件是magento的演示数据压缩包，演示数据顾名思义，是为了做演示用的，一般不需要安装。如果你需要练习使用magento，或者做模板开发，那么这个演示数据还是很方便的。这个演示数据压缩包解压后，文件中有一个sql文件，如果要装显示数据，那么可以将这个导入数据库，在安装magento的时候使用这个数据库。还有一个media文件夹，就是magento的根目录的media文件，直接用这个media覆盖magento的那个media。这样演示数据和演示数据的商品图片就都有了。</p>
<p>1.解压Magento安装文件，将解压后的文件放到域名的根目录即可，这就完成了Magento安装的文件部署</p>
<p>我们可以看到解压后的magento文件根目录有app文件夹，media文件夹，var文件夹，skin文件夹等很多文件与文件夹。</p>
<p>app中存放了magento的核心文件，和模板结构文件。</p>
<p>skin文件存放的主要是模板样式文件。</p>
<p>media文件夹存放的是网站的商品图片。</p>
<p>var文件夹存放的会是magento的缓存文件和其它文件。</p>
<p>2.然后就是要设置文件权限问题了。</p>
<p>其实大家可以不必管文件权限问题，直接进入magento的安装过程，如果文件权限不对，安装过程会有提示。提示你哪个文件需要写权限就去设置下，然后刷新页面即可。</p>
<p>3.访问域名进入安装页面，设置Magento系统的参数，时间，货币，网站用户名，密码等。最重要的一项就是数据库的设置，要填写设置好的数据库名字，密码，表前缀，表前缀这个东西可以写也可以不写。写了，magento的所有表会有个表前缀。</p>
<p>4.安装完毕，试试吧</p>
<p><span id="more-2154"></span></p>
<p>网上有我录制的magento安装视频，见我的magento中文视频。</p>
<p>国内外的参考资料也很多，但是都是写的不太好，希望本文是个补充。</p>
<p>magento安装环境见：http://www.magentocommerce.com/system-requirements</p>
<p>magento官方的SSH安装见：http://www.magentocommerce.com/wiki/groups/227/installing_magento_via_shell_ssh</p>
<p>&nbsp;</p>
<p>转载标明出处：www.hellokeykey.com</p>
<p>&nbsp;</p>
<p>&nbsp;</p>
]]></content:encoded>
			<wfw:commentRss>http://www.hellokeykey.com/install-magento-by-yourself/feed/</wfw:commentRss>
		<slash:comments>3</slash:comments>
		</item>
		<item>
		<title>使用Magento的api更新tier price</title>
		<link>http://www.hellokeykey.com/update-magento-tier-price-via-api/</link>
		<comments>http://www.hellokeykey.com/update-magento-tier-price-via-api/#comments</comments>
		<pubDate>Tue, 29 Nov 2011 13:10:14 +0000</pubDate>
		<dc:creator>钥匙</dc:creator>
				<category><![CDATA[magento]]></category>
		<category><![CDATA[magento wiki]]></category>
		<category><![CDATA[API]]></category>
		<category><![CDATA[magento中文教程]]></category>

		<guid isPermaLink="false">http://www.hellokeykey.com/?p=2142</guid>
		<description><![CDATA[写了段更新Magento tier price的代码，供初学者参考。此代码主要是用来改变Magento tier price的用户组。代码如下 //初始化Api连接 $proxy = new SoapClient('http://www.网址.com/api/soap/?wsdl'); $sessionId = $proxy-&#62;login('key', '123456'); function changetierprices($sku,$proxy,$sessionId) { // Get tier prices //$sku ='JScd122'; $tierPrices = $proxy-&#62;call($sessionId, 'product_tier_price.info', $sku); //判断是否有tier prices if(count($tierPrices)) { foreach ($tierPrices as $key1=&#62;$value1) { if($value1[customer_group_id] == '1') { //修改tier price的组 $tierPrices[$key1]['customer_group_id'] = 'all'; } } //update $proxy-&#62;call($sessionId, 'product_tier_price.update', array($sku, $tierPrices)); //echo '&#60;p&#62;update&#60;/p&#62;'; [...]]]></description>
			<content:encoded><![CDATA[<div id="attachment_2143" class="wp-caption alignnone" style="width: 610px"><a href="http://www.hellokeykey.com/wp-content/uploads/2011/11/magento-tier-price-API.png"><img class="size-large wp-image-2143" title="magento tier price" src="http://www.hellokeykey.com/wp-content/uploads/2011/11/magento-tier-price-API-600x319.png" alt="magento tier price" width="600" height="319" /></a><p class="wp-caption-text">magento tier price</p></div>
<p>写了段更新Magento tier price的代码，供初学者参考。此代码主要是用来改变Magento tier price的用户组。代码如下</p>
<pre class="brush:php">//初始化Api连接
$proxy = new SoapClient('http://www.网址.com/api/soap/?wsdl');
$sessionId = $proxy-&gt;login('key', '123456');
 function changetierprices($sku,$proxy,$sessionId)
{
	// Get tier prices
	//$sku ='JScd122';
	$tierPrices = $proxy-&gt;call($sessionId, 'product_tier_price.info', $sku);

	//判断是否有tier prices
		 if(count($tierPrices))
		{
			foreach ($tierPrices as $key1=&gt;$value1)
			{
				if($value1[customer_group_id] == '1')
				{
					//修改tier price的组
					$tierPrices[$key1]['customer_group_id'] = 'all';

				}

			}
			//update
			$proxy-&gt;call($sessionId, 'product_tier_price.update', array($sku, $tierPrices));
			//echo '&lt;p&gt;update&lt;/p&gt;';
		}
		else
		{
			echo '&lt;p&gt;this one no tierprice,sku='.$sku.'&lt;/p&gt;';
		} 

}</pre>
<p><span id="more-2142"></span>可以修改代码，一次传入几十个sku将api的更新变成批量操作，会提高效率。</p>
<p>magento官方tier price的Api参考见：<a title="Magento tier price" href="http://www.magentocommerce.com/wiki/doc/webservices-api/api/catalog_product_attribute_tier_price" target="_blank">http://www.magentocommerce.com/wiki/doc/webservices-api/api/catalog_product_attribute_tier_price</a></p>
<p>&nbsp;</p>
<p>转载表明出处：www.hellokeykey.com</p>
]]></content:encoded>
			<wfw:commentRss>http://www.hellokeykey.com/update-magento-tier-price-via-api/feed/</wfw:commentRss>
		<slash:comments>2</slash:comments>
		</item>
		<item>
		<title>在Magento中如何禁用、删除、重装插件？</title>
		<link>http://www.hellokeykey.com/how-to-remove-or-disable-magento-extensions/</link>
		<comments>http://www.hellokeykey.com/how-to-remove-or-disable-magento-extensions/#comments</comments>
		<pubDate>Fri, 25 Nov 2011 08:29:47 +0000</pubDate>
		<dc:creator>钥匙</dc:creator>
				<category><![CDATA[magento]]></category>
		<category><![CDATA[magento wiki]]></category>
		<category><![CDATA[magento使用教程]]></category>
		<category><![CDATA[magento插件]]></category>
		<category><![CDATA[magento教程]]></category>
		<category><![CDATA[magento中文教程]]></category>

		<guid isPermaLink="false">http://www.hellokeykey.com/?p=2122</guid>
		<description><![CDATA[插件卸载对于很多新手来说并不清楚，今天来介绍下如何禁用或者卸载Magento插件。如下的方法都需要刷新magento的缓存，或者操作前禁用magento的缓存。操作完成后，请退出后台，重新登录后台。最重要的一点，在测试网站上练习，不要在自己运行的网站上实验。 1.禁用magento插件 我们在magent后台，最讨厌的就是那个信息的弹窗，就是下图这个东东。 这个消息提示的名字是Notification，也算是magento的一个插件，我们来看下如何关闭他，关闭其它的插件也是这样的一个过程。 我们在后台进入 system -&#62; configuration-&#62;advanced，如下图，找到这个插件，选择disable，保存即可。 &#160; 这是magento后台提供的禁用插件的方式，但是有的时候我们装完插件，网站挂了，连后台都进不去了，这个时候怎么办呢？下面说说人工手动来对插件进行操作。 2.我们可以手动删除magento的插件配置文件，以此来禁用插件。 一般插件的配置文件所在位置为，magento文件根目录/app/etc/modules 文件夹中，寻找有你插件名字的xml文件将其删除，或者查看文件更新日期来帮你判断哪个文件是刚才安装的插件。以此来禁用插件。操作结束后勿忘记手动刷新缓存文件。 3.关于删除插件 当我们禁用了插件后，心中自然不爽，不用的东西留着做些什么，所以想删掉，如上面所说的删除缓存文件外，还需要删除模板的其它文件，这些文件的位置一般在 /app/code 文件中的community文件夹或者local文件夹中，这俩文件夹中的是插件的核心文件，如果插件有模板文件，你还需要进入你的模板文件中，一般是default模板中查找，将其删除掉。 关于删除插件，需要一定的magento插件常识，比如mgento插件的文件结构常识，查看配置文件寻找文件的常识。如果是ftp安装的插件，可以按照原插件文件结构来寻找，如果是magento connect安装的插件就需要自己根据经验来找了。 文件我们可以找到，但是同时我们不要忘了还可能有数据库的表，可能需要同时删除，进入插件的数据库脚本文件中，看下插件是否增加了数据库的表，以此来进行删除。 4.关于重新安装插件，有的时候为了调试插件的目的，需要重新安装插件。重新安装插件，一个是更新文件信息，删除数据库，还有一点就是去删除core_resource中的插件安装记录。这才是毫无痕迹的将一个插件手动删除掉。 寥寥几行字，给大家介绍下magento的插件维护操作，是新手的就用后台的magento connect来操作，这样最省心。做发的，自然要先熟悉magento的插件规范，再进行操作。 &#160; 对于插件，大家大不必因为别人装了一个插件很炫而羡慕，其实够用即可，插件这个东西能少则少，会对网站稳定运行有很大好处。多花时间在营销上，才是王道。 转载标明出处：www.hellokeykey.com]]></description>
			<content:encoded><![CDATA[<div id="attachment_2123" class="wp-caption alignnone" style="width: 610px"><a href="http://www.hellokeykey.com/wp-content/uploads/2011/11/magento-connect.png"><img class="size-full wp-image-2123" title="magento connect" src="http://www.hellokeykey.com/wp-content/uploads/2011/11/magento-connect.png" alt="magento connect" width="600" height="230" /></a><p class="wp-caption-text">magento connect</p></div>
<p>插件卸载对于很多新手来说并不清楚，今天来介绍下如何禁用或者卸载Magento插件。如下的方法都需要刷新magento的缓存，或者操作前禁用magento的缓存。操作完成后，请退出后台，重新登录后台。最重要的一点，在测试网站上练习，不要在自己运行的网站上实验。</p>
<p>1.禁用magento插件</p>
<p>我们在magent后台，最讨厌的就是那个信息的弹窗，就是下图这个东东。</p>
<div id="attachment_2124" class="wp-caption alignnone" style="width: 561px"><a href="http://www.hellokeykey.com/wp-content/uploads/2011/11/magento-notification-block.png"><img class="size-full wp-image-2124" title="magento backend notification" src="http://www.hellokeykey.com/wp-content/uploads/2011/11/magento-notification-block.png" alt="magento backend notification" width="551" height="173" /></a><p class="wp-caption-text">magento backend notification</p></div>
<p>这个消息提示的名字是Notification，也算是magento的一个插件，我们来看下如何关闭他，关闭其它的插件也是这样的一个过程。</p>
<p>我们在后台进入 system -&gt; configuration-&gt;advanced，如下图，找到这个插件，选择disable，保存即可。</p>
<div id="attachment_2126" class="wp-caption alignnone" style="width: 610px"><a href="http://www.hellokeykey.com/wp-content/uploads/2011/11/magento-notification.png"><img class="size-full wp-image-2126" title="magento禁用notification" src="http://www.hellokeykey.com/wp-content/uploads/2011/11/magento-notification.png" alt="magento禁用notification" width="600" height="228" /></a><p class="wp-caption-text">magento禁用notification</p></div>
<p>&nbsp;</p>
<p>这是magento后台提供的禁用插件的方式，但是有的时候我们装完插件，网站挂了，连后台都进不去了，这个时候怎么办呢？下面说说人工手动来对插件进行操作。</p>
<p>2.我们可以手动删除magento的插件配置文件，以此来禁用插件。</p>
<p>一般插件的配置文件所在位置为，magento文件根目录/app/etc/modules 文件夹中，寻找有你插件名字的xml文件将其删除，或者查看文件更新日期来帮你判断哪个文件是刚才安装的插件。以此来禁用插件。操作结束后勿忘记手动刷新缓存文件。</p>
<p>3.关于删除插件</p>
<p>当我们禁用了插件后，心中自然不爽，不用的东西留着做些什么，所以想删掉，如上面所说的删除缓存文件外，还需要删除模板的其它文件，这些文件的位置一般在 /app/code 文件中的community文件夹或者local文件夹中，这俩文件夹中的是插件的核心文件，如果插件有模板文件，你还需要进入你的模板文件中，一般是default模板中查找，将其删除掉。</p>
<p>关于删除插件，需要一定的magento插件常识，比如mgento插件的文件结构常识，查看配置文件寻找文件的常识。如果是ftp安装的插件，可以按照原插件文件结构来寻找，如果是magento connect安装的插件就需要自己根据经验来找了。</p>
<p>文件我们可以找到，但是同时我们不要忘了还可能有数据库的表，可能需要同时删除，进入插件的数据库脚本文件中，看下插件是否增加了数据库的表，以此来进行删除。</p>
<p>4.关于重新安装插件，有的时候为了调试插件的目的，需要重新安装插件。重新安装插件，一个是更新文件信息，删除数据库，还有一点就是去删除core_resource中的插件安装记录。这才是毫无痕迹的将一个插件手动删除掉。</p>
<p><span id="more-2122"></span></p>
<p>寥寥几行字，给大家介绍下magento的插件维护操作，是新手的就用后台的magento connect来操作，这样最省心。做发的，自然要先熟悉magento的插件规范，再进行操作。</p>
<p>&nbsp;</p>
<p>对于插件，大家大不必因为别人装了一个插件很炫而羡慕，其实够用即可，插件这个东西能少则少，会对网站稳定运行有很大好处。多花时间在营销上，才是王道。</p>
<p>转载标明出处：www.hellokeykey.com</p>
]]></content:encoded>
			<wfw:commentRss>http://www.hellokeykey.com/how-to-remove-or-disable-magento-extensions/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>免费Magento模板Quasar</title>
		<link>http://www.hellokeykey.com/free-magento-template-quasar/</link>
		<comments>http://www.hellokeykey.com/free-magento-template-quasar/#comments</comments>
		<pubDate>Mon, 14 Nov 2011 06:08:45 +0000</pubDate>
		<dc:creator>钥匙</dc:creator>
				<category><![CDATA[magento]]></category>
		<category><![CDATA[magento模板]]></category>
		<category><![CDATA[magento免费模板]]></category>

		<guid isPermaLink="false">http://www.hellokeykey.com/?p=2117</guid>
		<description><![CDATA[每个公司想在magento行业先立足，最好的办法就是先提供些免费得magento模板、插件给大家下载，今天推荐一个magento免费模板。 模板名字：Quasar 支持magento版本：1.5.1.0 模板提供公司：rockettheme.com Quasar模板地址：http://www.rockettheme.com/magento-downloads/2068-free-themes-a-extensions Quasar演示地址：http://demo.rockettheme.com/magento/ 转载标明出处：www.hellokeykey.com]]></description>
			<content:encoded><![CDATA[<div id="attachment_2118" class="wp-caption alignnone" style="width: 610px"><a href="http://www.hellokeykey.com/wp-content/uploads/2011/11/quasar.png"><img class="size-large wp-image-2118" title="Quasar Template" src="http://www.hellokeykey.com/wp-content/uploads/2011/11/quasar-600x404.png" alt="Quasar Template" width="600" height="404" /></a><p class="wp-caption-text">Quasar Template</p></div>
<p>每个公司想在magento行业先立足，最好的办法就是先提供些免费得magento模板、插件给大家下载，今天推荐一个magento免费模板。</p>
<p>模板名字：Quasar</p>
<p>支持magento版本：1.5.1.0</p>
<p>模板提供公司：rockettheme.com</p>
<p>Quasar模板地址：<a title="Quasar is the first Free / GPL template released by RocketTheme for Magento" href="%E6%A8%A1%E6%9D%BF%E6%9D%A5%E6%BA%90%EF%BC%9Ahttp://www.rockettheme.com/magento-downloads/2068-free-themes-a-extensions" target="_blank">http://www.rockettheme.com/magento-downloads/2068-free-themes-a-extensions</a></p>
<p>Quasar演示地址：<a title="Quasar Template Demo" href="http://demo.rockettheme.com/magento/" target="_blank">http://demo.rockettheme.com/magento/</a></p>
<p><span id="more-2117"></span></p>
<p>转载标明出处：www.hellokeykey.com</p>
]]></content:encoded>
			<wfw:commentRss>http://www.hellokeykey.com/free-magento-template-quasar/feed/</wfw:commentRss>
		<slash:comments>3</slash:comments>
		</item>
		<item>
		<title>使用命令行刷新Magento索引管理</title>
		<link>http://www.hellokeykey.com/magento-shell-reindex-index-management/</link>
		<comments>http://www.hellokeykey.com/magento-shell-reindex-index-management/#comments</comments>
		<pubDate>Sat, 12 Nov 2011 15:05:02 +0000</pubDate>
		<dc:creator>钥匙</dc:creator>
				<category><![CDATA[magento]]></category>
		<category><![CDATA[magento wiki]]></category>
		<category><![CDATA[magento其它]]></category>
		<category><![CDATA[magento使用教程]]></category>
		<category><![CDATA[magento索引管理]]></category>
		<category><![CDATA[magento开发]]></category>
		<category><![CDATA[magento教程]]></category>
		<category><![CDATA[magento中文教程]]></category>

		<guid isPermaLink="false">http://www.hellokeykey.com/?p=2108</guid>
		<description><![CDATA[当我们网站商品很多的时候，比如有几千件，我们刷新Magento的索引管理（Index Management）经常会失败。那么后台刷新不了，我们还可以通过命令行来刷新。使用命令行来刷新索引管理会极大降低系统消耗，容易成功。 我们来看下步骤，如果你在使用linux服务器，登入你的ssh客户端，切换目录到你magento根文件夹中名字是shell的文件中。 在此文件夹中输入如下命令 php -f indexer.php -- -reindex catalog_url 它的意思是刷新Catalog Url Rewrites即网址重写。成功后会有成功提示，如：Catalog URL Rewrites index was rebuilt successfully 我们来看下有哪些索引管理，可以使用Shell的命令行来刷新，如下 catalog_product_attribute Product Attributes catalog_product_price Product Prices catalog_url Catalog Url Rewrites catalog_product_flat Product Flat Data catalog_category_flat Category Flat Data catalog_category_product Category Products catalogsearch_fulltext Catalog Search Index cataloginventory_stock Stock status 如上分别对应后每项台的索引管理。 命令执行后需要耐心等待一段时间，因你商品数量和你服务器性能决定等待多久。注意命令中reinde前一共是三个英文横线。如有代码错误提示，直接黏贴本文的命令或者 如下参考文章的命令，直接修改执行参数即可。 参考文章：http://inchoo.net/ecommerce/magento/executing-magento-indexer-from-shell/ 转载表明出处：www.hellokeykey.com]]></description>
			<content:encoded><![CDATA[<div id="attachment_2110" class="wp-caption alignnone" style="width: 610px"><a href="http://www.hellokeykey.com/wp-content/uploads/2011/11/magent0-index-management.png"><img class="size-large wp-image-2110" title="magento索引管理" src="http://www.hellokeykey.com/wp-content/uploads/2011/11/magent0-index-management-600x154.png" alt="magento索引管理" width="600" height="154" /></a><p class="wp-caption-text">magento索引管理</p></div>
<p>当我们网站商品很多的时候，比如有几千件，我们刷新Magento的索引管理（Index Management）经常会失败。那么后台刷新不了，我们还可以通过命令行来刷新。使用命令行来刷新索引管理会极大降低系统消耗，容易成功。<br />
我们来看下步骤，如果你在使用linux服务器，登入你的ssh客户端，切换目录到你magento根文件夹中名字是shell的文件中。<br />
在此文件夹中输入如下命令</p>
<pre class="brush:php">php -f indexer.php -- -reindex catalog_url</pre>
<p>它的意思是刷新Catalog Url Rewrites即网址重写。成功后会有成功提示，如：Catalog URL Rewrites index was rebuilt successfully</p>
<div id="attachment_2109" class="wp-caption alignnone" style="width: 610px"><a href="http://www.hellokeykey.com/wp-content/uploads/2011/11/magento-indexer.png"><img class="size-large wp-image-2109" title="magento使用Shell刷新索引管理" src="http://www.hellokeykey.com/wp-content/uploads/2011/11/magento-indexer-600x138.png" alt="magento使用Shell刷新索引管理" width="600" height="138" /></a><p class="wp-caption-text">magento使用Shell刷新索引管理</p></div>
<p>我们来看下有哪些索引管理，可以使用Shell的命令行来刷新，如下</p>
<pre class="brush:shell">catalog_product_attribute     Product Attributes
catalog_product_price         Product Prices
catalog_url                   Catalog Url Rewrites
catalog_product_flat          Product Flat Data
catalog_category_flat         Category Flat Data
catalog_category_product      Category Products
catalogsearch_fulltext        Catalog Search Index
cataloginventory_stock        Stock status</pre>
<p>如上分别对应后每项台的索引管理。</p>
<p>命令执行后需要耐心等待一段时间，因你商品数量和你服务器性能决定等待多久。注意命令中reinde前一共是三个英文横线。如有代码错误提示，直接黏贴本文的命令或者<br />
如下参考文章的命令，直接修改执行参数即可。</p>
<p>参考文章：<a title="Executing Magento Indexer From Shell" href="http://inchoo.net/ecommerce/magento/executing-magento-indexer-from-shell/" target="_blank">http://inchoo.net/ecommerce/magento/executing-magento-indexer-from-shell/</a><br />
<span id="more-2108"></span><br />
转载表明出处：www.hellokeykey.com</p>
]]></content:encoded>
			<wfw:commentRss>http://www.hellokeykey.com/magento-shell-reindex-index-management/feed/</wfw:commentRss>
		<slash:comments>4</slash:comments>
		</item>
		<item>
		<title>分享三个免费的magento模板</title>
		<link>http://www.hellokeykey.com/free-magento-templates-from-web-experiment/</link>
		<comments>http://www.hellokeykey.com/free-magento-templates-from-web-experiment/#comments</comments>
		<pubDate>Tue, 08 Nov 2011 16:02:11 +0000</pubDate>
		<dc:creator>钥匙</dc:creator>
				<category><![CDATA[magento]]></category>
		<category><![CDATA[magento模板]]></category>
		<category><![CDATA[magento免费模板]]></category>
		<category><![CDATA[magento分享]]></category>

		<guid isPermaLink="false">http://www.hellokeykey.com/?p=2098</guid>
		<description><![CDATA[&#160; 今天分享三个免费的magento模板，这三个模板的介绍页面是：http://web-experiment.info/free-magento-templates.html 三个模板下载地址分别为： Bluescale Free Magento Template ： http://web-experiment.info/bluescale-magento-template.html Grayscale Free Magento Template ：http://web-experiment.info/grayscale.html Glam Free Magento Template ： http://web-experiment.info/glamour-magento-template.html 这三个模板还是很不错的，支持magento 1.4 1.5 1.6 版本。 现在免费的magento模板越来越多了，其中有些还是很不错的。有的模板也带有一些很有个性的插件，大家安装的时候注意看安装说明。 转载表明出处：www.hellokeykey.com &#160;]]></description>
			<content:encoded><![CDATA[<p>&nbsp;</p>
<div id="attachment_2100" class="wp-caption alignnone" style="width: 610px"><a href="http://www.hellokeykey.com/wp-content/uploads/2011/11/free-magento-templates.png"><img class="size-large wp-image-2100" title="免费magento模板分享" src="http://www.hellokeykey.com/wp-content/uploads/2011/11/free-magento-templates-600x286.png" alt="免费magento模板分享" width="600" height="286" /></a><p class="wp-caption-text">免费magento模板分享</p></div>
<p>今天分享三个免费的magento模板，这三个模板的介绍页面是：<a title="Free Magento Templates" href="http://web-experiment.info/free-magento-templates.html" target="_blank">http://web-experiment.info/free-magento-templates.html</a></p>
<p>三个模板下载地址分别为：</p>
<p>Bluescale Free Magento Template ： <a title="Bluescale Free Magento Template" href="http://web-experiment.info/bluescale-magento-template.html" target="_blank">http://web-experiment.info/bluescale-magento-template.html</a></p>
<p>Grayscale Free Magento Template ：<a title="Grayscale Free Magento Template" href="http://web-experiment.info/grayscale.html" target="_blank">http://web-experiment.info/grayscale.html</a></p>
<p>Glam Free Magento Template ： <a title="Glam Free Magento Template" href="http://web-experiment.info/glamour-magento-template.html" target="_blank">http://web-experiment.info/glamour-magento-template.html</a></p>
<p>这三个模板还是很不错的，支持magento 1.4 1.5 1.6 版本。</p>
<p>现在免费的magento模板越来越多了，其中有些还是很不错的。有的模板也带有一些很有个性的插件，大家安装的时候注意看安装说明。</p>
<p><span id="more-2098"></span></p>
<p>转载表明出处：www.hellokeykey.com</p>
<p>&nbsp;</p>
]]></content:encoded>
			<wfw:commentRss>http://www.hellokeykey.com/free-magento-templates-from-web-experiment/feed/</wfw:commentRss>
		<slash:comments>6</slash:comments>
		</item>
		<item>
		<title>免费的magento菜单插件Magento Custom Menu</title>
		<link>http://www.hellokeykey.com/magento-custom-menu/</link>
		<comments>http://www.hellokeykey.com/magento-custom-menu/#comments</comments>
		<pubDate>Sun, 30 Oct 2011 10:43:12 +0000</pubDate>
		<dc:creator>钥匙</dc:creator>
				<category><![CDATA[magento]]></category>
		<category><![CDATA[magento插件]]></category>

		<guid isPermaLink="false">http://www.hellokeykey.com/?p=2092</guid>
		<description><![CDATA[现在免费的Magento插件模板越来越多了，今天介绍一个菜单插件，如上图，这个菜单插件的显示效果就是展开二三级目录。此插件有后台可以对其进行设置，大家可以在如下地址下载这个插件和了解设置信息。 http://web-experiment.info/webandpeople-custom-menu-extension.html 这家公司提供的其它免费主题和插件也不错，大家可以看下。 &#160; 对于新手，下载解压后，直接上传覆盖即可。 安装后注意刷新缓存，退出后台再次登录。 转载表明出处：www.hellokeykey.com]]></description>
			<content:encoded><![CDATA[<div id="attachment_2093" class="wp-caption alignnone" style="width: 610px"><a href="http://www.hellokeykey.com/wp-content/uploads/2011/10/custom-menu.png"><img class="size-large wp-image-2093" title="Free Magento Custom Menu" src="http://www.hellokeykey.com/wp-content/uploads/2011/10/custom-menu-600x385.png" alt="Free Magento Custom Menu" width="600" height="385" /></a><p class="wp-caption-text">Free Magento Custom Menu</p></div>
<p>现在免费的Magento插件模板越来越多了，今天介绍一个菜单插件，如上图，这个菜单插件的显示效果就是展开二三级目录。此插件有后台可以对其进行设置，大家可以在如下地址下载这个插件和了解设置信息。</p>
<p><a title="Free Magento Custom Menu" href="http://web-experiment.info/webandpeople-custom-menu-extension.html" target="_blank">http://web-experiment.info/webandpeople-custom-menu-extension.html</a></p>
<p>这家公司提供的其它免费主题和插件也不错，大家可以看下。</p>
<p>&nbsp;</p>
<p>对于新手，下载解压后，直接上传覆盖即可。</p>
<p>安装后注意刷新缓存，退出后台再次登录。</p>
<p><span id="more-2092"></span></p>
<p>转载表明出处：www.hellokeykey.com</p>
]]></content:encoded>
			<wfw:commentRss>http://www.hellokeykey.com/magento-custom-menu/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>magento文件认识与搬家</title>
		<link>http://www.hellokeykey.com/magento-file-and-sql-when-move-out/</link>
		<comments>http://www.hellokeykey.com/magento-file-and-sql-when-move-out/#comments</comments>
		<pubDate>Sat, 08 Oct 2011 14:46:22 +0000</pubDate>
		<dc:creator>钥匙</dc:creator>
				<category><![CDATA[magento]]></category>
		<category><![CDATA[magento wiki]]></category>
		<category><![CDATA[magento使用教程]]></category>
		<category><![CDATA[magento搬家]]></category>
		<category><![CDATA[magento教程]]></category>
		<category><![CDATA[magento文件]]></category>
		<category><![CDATA[magento中文教程]]></category>

		<guid isPermaLink="false">http://www.hellokeykey.com/?p=2079</guid>
		<description><![CDATA[尽管我写过几篇magneto搬家的文章，如《再谈magento搬家》,但是还是很多新手对此很不了解。我想，多写点东西出来，多一点总比少一点好。 新手开始总是会很混乱摸不到头脑，但是坚持下去，多google，多自己尝试，一定会成功的。 我们先来看下magento原始安装包和我们使用了一段时间的magento网站的文件有啥区别 区别如下： 1.根目录的media文件夹会存有网站添加的商品图片。（里面有个文件夹名字是cache，这个文件夹是图片缓存文件，可以删除，magento运行时会自动再次生成。） 2.根目录的var文件夹中的cache和session文件夹中的文件都是缓存，是缓存就意味着你可以随时删除掉。搬家时要记得清除这俩文件中的文件。 3.在app/design/frontend/default/  文件夹和 skin/frontend/default 文件夹存放着你后来安装的模板文件。比如你的模板文件夹名字是 theme110 那么它安装后，模板路径应该是app/design/frontend/default/theme110 和 skin/frontend/default/theme110 。 极特殊情况，你获得的模板文件不在这个文件夹。但是你和原始magento文件对比下skin/frontend/文件夹的内容会发现他的存放位置。 有时模板中也包含插件，是模板的一部分。一般来说，如果模板文件中包含文件app/code/community或者 app/code/local就是说，这个模板带有插件。 4.在app/code/community 和 app/code/local 文件夹中存放着插件的主要文件，插件的配置文件在app/etc/modules中。 5.安装插件要注意，有的插件有模板文件，一般插件的模板文件都在app/design/frontend/default/default 和 skin/frontend/default/default  即default模板中。 6.安装后的magento会出现 app/etc/local.xml 文件，此文件包含magento的配置信息，如数据库地址，数据库用户名，密码，表前缀，网站后台地址的网址等。此文件是magento安装后自动创建的。当magento检测不到此文件存在时，会进入安装页面。所以当我们将我们的网站搬家的时候，我们会将原来网站的local.xml重命名，以便再次让magento进入安装页面，配置新服务器的数据库等信息。 7.magento的数据库存有magento的商品，分类，用户信息，订单信息，以前插件的信息，所以搬家的时候要将整个数据库转移到新的服务器，在magento再次进入安装页面的时候，填写新的数据库信息。 如上所说的介绍，如何来给我们的magento搬家呢？ 1.将原来网站文件中的var文件中的cache和session文件删除，将media中的缓存文件删除。然后将所有文件制作成一个压缩包，以减少文件体积，方便转移。 2.将压缩包转移到新的服务器域名指向的文件夹，解压。 3.确认解压无问题，无文件损坏，文件权限正确（一般文件权限都无问题）。 4.导出magento的数据库，如果使用phpmyadmin导出，参考文章：http://www.hellokeykey.com/magento-export-database-via-phpmyadmin/ 注意：看下你的数据库有无表前缀，在第9步的时候要写上。 5.在新空间创建新的数据库，导入备份的数据文件。 6.将 app/etc/local.xml 文件重命名。 在此文件中也包含数据库表前缀的信息，重命名后打开看下 &#60;resources&#62; &#60;db&#62; &#60;table_prefix&#62;&#60;![CDATA[mage_]]&#62;&#60;/table_prefix&#62; &#60;/db&#62; &#60;default_setup&#62; &#60;connection&#62; &#60;host&#62;&#60;![CDATA[localhost]]&#62;&#60;/host&#62; &#60;username&#62;&#60;![CDATA[chiqingm_mage2]]&#62;&#60;/username&#62; &#60;password&#62;&#60;![CDATA[AcccPuPg654]]&#62;&#60;/password&#62; &#60;dbname&#62;&#60;![CDATA[sdw_mage2]]&#62;&#60;/dbname&#62; &#60;active&#62;1&#60;/active&#62; &#60;/connection&#62; &#60;/default_setup&#62; &#60;/resources&#62; [...]]]></description>
			<content:encoded><![CDATA[<div id="attachment_2080" class="wp-caption alignnone" style="width: 610px"><a href="http://www.hellokeykey.com/wp-content/uploads/2011/10/magento-file-and-sql-when-move-out.jpg"><img class="size-full wp-image-2080" title="magento文件认知与搬家" src="http://www.hellokeykey.com/wp-content/uploads/2011/10/magento-file-and-sql-when-move-out.jpg" alt="magento文件认知与搬家" width="600" height="431" /></a><p class="wp-caption-text">magento文件认知与搬家</p></div>
<p>尽管我写过几篇magneto搬家的文章，如《<a title="再谈magento搬家" href="http://www.hellokeykey.com/talk-about-transfer-magento-again/" target="_blank">再谈magento搬家</a>》,但是还是很多新手对此很不了解。我想，多写点东西出来，多一点总比少一点好。</p>
<p>新手开始总是会很混乱摸不到头脑，但是坚持下去，多google，多自己尝试，一定会成功的。</p>
<div>我们先来看下magento原始安装包和我们使用了一段时间的magento网站的文件有啥区别</div>
<div><span style="color: #ff0000;">区别如下</span>：</div>
<div>1.根目录的media文件夹会存有网站添加的商品图片。（里面有个文件夹名字是cache，这个文件夹是图片缓存文件，可以删除，magento运行时会自动再次生成。）</div>
<div>2.根目录的var文件夹中的cache和session文件夹中的文件都是缓存，是缓存就意味着你可以随时删除掉。搬家时要记得清除这俩文件中的文件。</div>
<div>3.在app/design/frontend/default/  文件夹和 skin/frontend/default 文件夹存放着你后来安装的模板文件。比如你的模板文件夹名字是 theme110 那么它安装后，模板路径应该是app/design/frontend/default/theme110 和 skin/frontend/default/theme110 。</div>
<div>极特殊情况，你获得的模板文件不在这个文件夹。但是你和原始magento文件对比下skin/frontend/文件夹的内容会发现他的存放位置。</div>
<div>有时模板中也包含插件，是模板的一部分。一般来说，如果模板文件中包含文件app/code/community或者 app/code/local就是说，这个模板带有插件。</div>
<div>4.在app/code/community 和 app/code/local 文件夹中存放着插件的主要文件，插件的配置文件在app/etc/modules中。</div>
<div>5.安装插件要注意，有的插件有模板文件，一般插件的模板文件都在app/design/frontend/default/default 和 skin/frontend/default/default  即default模板中。</div>
<div>6.安装后的magento会出现 app/etc/local.xml 文件，此文件包含magento的配置信息，如数据库地址，数据库用户名，密码，表前缀，网站后台地址的网址等。此文件是magento安装后自动创建的。当magento检测不到此文件存在时，会进入安装页面。所以当我们将我们的网站搬家的时候，我们会将原来网站的local.xml重命名，以便再次让magento进入安装页面，配置新服务器的数据库等信息。</div>
<div>7.magento的数据库存有magento的商品，分类，用户信息，订单信息，以前插件的信息，所以搬家的时候要将整个数据库转移到新的服务器，在magento再次进入安装页面的时候，填写新的数据库信息。</div>
<div>如上所说的介绍，<span style="color: #ff0000;">如何来给我们的magento搬家呢？</span></div>
<div><span id="more-2079"></span></div>
<div>1.将原来网站文件中的var文件中的cache和session文件删除，将media中的缓存文件删除。然后将所有文件制作成一个压缩包，以减少文件体积，方便转移。</div>
<div>2.将压缩包转移到新的服务器域名指向的文件夹，解压。</div>
<div>3.确认解压无问题，无文件损坏，文件权限正确（一般文件权限都无问题）。</div>
<div>4.导出magento的数据库，如果使用phpmyadmin导出，参考文章：<a href="http://www.hellokeykey.com/magento-export-database-via-phpmyadmin/" target="_blank">http://www.hellokeykey.com/magento-export-database-via-phpmyadmin/</a></div>
<div><span style="color: #ff0000;">注意：</span>看下你的数据库有无表前缀，在第9步的时候要写上。</div>
<div>5.在新空间创建新的数据库，导入备份的数据文件。</div>
<div>6.将 app/etc/local.xml 文件重命名。</div>
<div>在此文件中也包含数据库表前缀的信息，重命名后打开看下</div>
<div>
<pre class="brush:xml"> &lt;resources&gt;
            &lt;db&gt;
                &lt;table_prefix&gt;&lt;![CDATA[mage_]]&gt;&lt;/table_prefix&gt;
            &lt;/db&gt;
            &lt;default_setup&gt;
                &lt;connection&gt;
                    &lt;host&gt;&lt;![CDATA[localhost]]&gt;&lt;/host&gt;
                    &lt;username&gt;&lt;![CDATA[chiqingm_mage2]]&gt;&lt;/username&gt;
                    &lt;password&gt;&lt;![CDATA[AcccPuPg654]]&gt;&lt;/password&gt;
                    &lt;dbname&gt;&lt;![CDATA[sdw_mage2]]&gt;&lt;/dbname&gt;
                    &lt;active&gt;1&lt;/active&gt;
                &lt;/connection&gt;
            &lt;/default_setup&gt;
        &lt;/resources&gt;</pre>
</div>
<div>
<pre>&lt;table_prefix&gt;&lt;![CDATA[<span style="color: #ff0000;">此处内容为表前缀</span>]]&gt;&lt;/table_prefix&gt;</pre>
<pre>如上代码，此数据库的表前缀是 mage_</pre>
</div>
<div>7.检查var文件夹中的cache和session文件夹是否已经清空。</div>
<div>8.通过网址访问你的网站，进入了magento安装页面。</div>
<div>9.在填写数据库那一步，写上第4步新建的数据库的名称，用户名，密码，表前缀等信息。注意查看你的这个数据库有无表前缀，不然magento会重新建立所有的表。</div>
<div>10.安装结束后，进入后台去刷新下缓存和索引管理。</div>
<div>11.在前台检查是否有异样。如果某些图片显示不正常，检查是否使用了固定的链接，因为域名更换，引起图片无效。</div>
<p>&nbsp;</p>
<p>补充：</p>
<p>1.为什么magento搬家要所有的网站文件一起转移，因为你的magento网站可能在使用过程中，不知不觉的就修改了一些模板文件以外的文件，但是你又无法甄别哪些是改过的。所以所有文件一起搬家是最省心的。</p>
<p>2.一般来说，搬家如果只转移模板文件会有很多问题产生。有些模板或者插件会有文件存放在我上面没有提及的文件夹中，如果你搬家只转移media文件夹还有app与skin下的模板文件就会因为文件没有转移完整出现问题。</p>
<p>3.无论做什么都要先备份下，搬家前就应该对原网站做下备份。如果你使用带有一键备份的空间，这个会很简单。</p>
<p>&nbsp;</p>
<p>转载表明出处:www.hellokeykey.com</p>
<p>&nbsp;</p>
<p>&nbsp;</p>
]]></content:encoded>
			<wfw:commentRss>http://www.hellokeykey.com/magento-file-and-sql-when-move-out/feed/</wfw:commentRss>
		<slash:comments>20</slash:comments>
		</item>
		<item>
		<title>Magento使用phpmyadmin导出数据库</title>
		<link>http://www.hellokeykey.com/magento-export-database-via-phpmyadmin/</link>
		<comments>http://www.hellokeykey.com/magento-export-database-via-phpmyadmin/#comments</comments>
		<pubDate>Sun, 25 Sep 2011 02:17:37 +0000</pubDate>
		<dc:creator>钥匙</dc:creator>
				<category><![CDATA[magento]]></category>
		<category><![CDATA[magento使用教程]]></category>
		<category><![CDATA[magento安装]]></category>
		<category><![CDATA[magento教程]]></category>
		<category><![CDATA[magento中文教程]]></category>
		<category><![CDATA[mysql remote]]></category>

		<guid isPermaLink="false">http://www.hellokeykey.com/?p=2074</guid>
		<description><![CDATA[当使用phpmyadmin导入Magento数据库的时候，经常会出现错误，提示因为foreign key（外键）的原因导入有错误，或者某些表无法导入。这些错误如何可以避免呢？需要在导出数据库的时候做些设置。 在使用phpmyadmin导出的时候，如果可以设置Disable foreign key checks（忽略外键检查）选项可以避免导入时因外键原因导致的错误。如下图处 注： 在文件保存类型处，选择 zipped 压缩文件，可以极大的减少导出的数据库文件的大小。 转载表明出处：www.hellokeykey.com &#160; &#160;]]></description>
			<content:encoded><![CDATA[<p>当使用phpmyadmin导入Magento数据库的时候，经常会出现错误，提示因为foreign key（外键）的原因导入有错误，或者某些表无法导入。这些错误如何可以避免呢？需要在导出数据库的时候做些设置。</p>
<p>在使用phpmyadmin导出的时候，如果可以设置Disable foreign key checks（忽略外键检查）选项可以避免导入时因外键原因导致的错误。如下图处</p>
<div id="attachment_2075" class="wp-caption alignnone" style="width: 610px"><a href="http://www.hellokeykey.com/wp-content/uploads/2011/09/myagento-phpmyadmin.jpg"><img class="size-full wp-image-2075" title="magento使用phpmyadmin导入导出数据" src="http://www.hellokeykey.com/wp-content/uploads/2011/09/myagento-phpmyadmin.jpg" alt="magento使用phpmyadmin导入导出数据" width="600" height="732" /></a><p class="wp-caption-text">magento使用phpmyadmin导入导出数据</p></div>
<p>注： 在文件保存类型处，选择 zipped 压缩文件，可以极大的减少导出的数据库文件的大小。</p>
<p><span id="more-2074"></span></p>
<p>转载表明出处：www.hellokeykey.com</p>
<p>&nbsp;</p>
<p>&nbsp;</p>
]]></content:encoded>
			<wfw:commentRss>http://www.hellokeykey.com/magento-export-database-via-phpmyadmin/feed/</wfw:commentRss>
		<slash:comments>5</slash:comments>
		</item>
	</channel>
</rss>

