培训时间:1个月。总学习时间1个月,自学时间20天,面对面指导时间10天。
培训内容:1.Magento模板制作 2.独立工作技能培训 3.seo实用技能
老师:钥匙本人
费用:3500元
面对面指导时间安排方式任选一种:1.工作日:10天现场学习 2.周末:8天时间
学习方式:自学 + 现场面对面指导
第一期招收数量:2–4人
学习地点:北京市通州区怡乐南街(地铁公交方便)
咨询:QQ 493835927 钥匙
大家好我是钥匙,欢迎大家来到我的博客学习magento的使用与开发。
培训时间:1个月。总学习时间1个月,自学时间20天,面对面指导时间10天。
培训内容:1.Magento模板制作 2.独立工作技能培训 3.seo实用技能
老师:钥匙本人
费用:3500元
面对面指导时间安排方式任选一种:1.工作日:10天现场学习 2.周末:8天时间
学习方式:自学 + 现场面对面指导
第一期招收数量:2–4人
学习地点:北京市通州区怡乐南街(地铁公交方便)
咨询:QQ 493835927 钥匙
推荐网站网址:http://themeforest.net/category/ecommerce/magento
推荐理由:
1.模板版本更新很快,新的模板也多
2.大多数模板支持各个magento版本
3.大多数模板支持ipad和iphone浏览
4.模板使用说明很详细,方便小白用户
5.有的模板带有一页结账和品牌插件
6.大多数模板代码都很靠谱,标明SEO优化过的模板会有相应的代码优化
7.除了magento模板,其它开源软件的模板也很多也可以在此购买。
注意:模板购买前,可以先看下模板特点介绍,然后看下模板的详细介绍和demo
自己购买,可以使用双币种信用卡直接购买,购买和下载都很方便。
安装Magento语言包后,Magento的翻译文件依据语言不同,分成不同文件夹存放在 app/locale文件夹下,如下图
每个文件夹是一个语言包,打开可以看到很多CSV文件,打开以后可以看到类似如下格式的内容
"Currently Shopping by:","Actualmente Comprando en:" "Custom Design","Diseño Personalizado" "Custom Options","Opciones Personalizadas" "Custom options","Opciones de personalización" "Customer Group","Grupo de Clientes
左边是magento英文原文,右边是翻译后的,使用UTF8编码来编辑这些语言文件,以此来修改翻译不当的内容。
保存后,记得刷新magento缓存,来查看修改结果。
要想找到自己需要找的翻译内容,可能不太好找,需要查找多个CSV文件才能找到。如果所有的文件都没有你需要找的内容,你可以在某个CSV文件中自己添加一条。
如上就是一般的修改magento翻译的方法。
有的时候,可能我们通过修改编辑文件解决不了你的问题。(也可以试试magento在线翻译。什么是在线翻译?见我的视频:http://www.hellokeykey.com/magento-transfer-online/)这可能和你的模板代码有一定的关系。
magento原始模板原先自带的图片处理会有白边,就是图片比例不符合代码中的尺寸时,magento会自动resize图片尺寸,并且自动加上白边。
其实去掉白边好搞,增加去白边的代码即可,如下
$this->helper('catalog/image')->init($_product, 'small_image')->constrainOnly(TRUE)->keepAspectRatio(TRUE)->keepFrame(FALSE)->resize(210);
keepFrame(FALSE)这个是控制白边的,参数false就是不带白边。resize控制图片的比例,单独一个数字,如上面 200,是将图片搞成200*200的尺寸,这个只有在有白边的时候才有效,没有白边了这个resize就不太管用了,会按照实际比例缩放图片,你可以试试。
对于很多人来说也许去掉白边就够用了,但是有的时候有变态的情况,比如图片比例是1:5甚至1:10,尼玛 – – ! 怎么会有这么变态的图片比例,这会将你的布局搞的乱七八糟。如果你有这个情况,又想控制图片的最大宽高的话,看这篇博文会有所帮助。
首先我们将magento的图片的白边去掉了,下一步就是使图片自适应到你设置的大小,即使比例差别很大,也自适应下,图片不超出你指定的长宽。相当于,你设置了图片的最大宽度,最大高度。这样对于你布局来说,会好狠多。
jquery有很多图片缩放,自适应的插件,我找到的这个是我自己认为比较合适的 http://imgscale.kjmeath.com/,当然大家也可以找自己喜欢的,或者更满足大家自己需求的js插件。
看插件的说明,他要求在图片的外层有个div或者什么的是block类型的html标签,并且css中写上宽高。
推荐几个Magento模板网站,有的网站会提供免费模板,大家可以看下。最近疏于更新博客,所以这几天多补充几篇,感谢大家的关注和支持。谢谢
1. 三个免费模板 http://web-experiment.info/free-magento-templates.htm
2. 比较有名的怪兽模板,有名意味着“撞衫” http://www.templatemonster.com/magento-themes.php
3.随便找到的一家 http://galathemes.com/magento-themes.html
4.hello家也是很早的一家,盗版泛滥 http://www.hellothemes.com/
5. 另一家 http://www.emthemes.com/
6.宇宙里最强大的magento开发公司,值得信赖,无论模板还是插件 http://ecommerce.aheadworks.com/magento-themes-and-templates.html
7. 模板俱乐部 http://www.rockettheme.com/magento 什么样的商家,敢这么干?太相信中国人了
Magento加入收藏夹错误 Call to a member function setItems…
我将magento 1.5的模板用到1.7上,在点击将商品加入收藏夹的时候产生了这个错误提示,无法将商品加入收藏夹。
这是由于模板不适用于当前Magento版本引起的,google下,见此页有修改的答案:http://www.magentocommerce.com/boards/viewthread/280193/
即是将你模板文件中 wshlist.xml中的
<block type="wishlist/customer_wishlist" name="customer.wishlist" template="wishlist/view.phtml"/>
修改为
<block type="wishlist/customer_wishlist" name="customer.wishlist" template="wishlist/view.phtml"> <action method="setTitle" translate="title"> <title>My Wishlist</title> </action> <block type="wishlist/customer_wishlist_items" name="customer.wishlist.items" as="items" template="wishlist/item/list.phtml"> <block type="wishlist/customer_wishlist_item_column_image" name="customer.wishlist.item.image" template="wishlist/item/column/image.phtml" /> <block type="wishlist/customer_wishlist_item_column_comment" name="customer.wishlist.item.info" template="wishlist/item/column/info.phtml"> <action method="setTitle" translate="title"> <title>Product Details and Comment</title> </action> </block> <block type="wishlist/customer_wishlist_item_column_cart" name="customer.wishlist.item.cart" template="wishlist/item/column/cart.phtml"> <action method="setTitle" translate="title"> <title>Add to Cart</title> </action> <block type="wishlist/customer_wishlist_item_options" name="customer.wishlist.item.options" /> </block> <block type="wishlist/customer_wishlist_item_column_remove" name="customer.wishlist.item.remove" template="wishlist/item/column/remove.phtml" /> </block> <block type="core/text_list" name="customer.wishlist.buttons" as="control_buttons"> <block type="wishlist/customer_wishlist_button" name="customer.wishlist.button.share" template="wishlist/button/share.phtml" /> <block type="wishlist/customer_wishlist_button" name="customer.wishlist.button.toCart" template="wishlist/button/tocart.phtml" /> <block type="wishlist/customer_wishlist_button" name="customer.wishlist.button.update" template="wishlist/button/update.phtml" /> </block> </block>
请根据本文的提示,根据实际情况做出修改。
每个公司想在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/
今天分享三个免费的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模板越来越多了,其中有些还是很不错的。有的模板也带有一些很有个性的插件,大家安装的时候注意看安装说明。
最近花力气做了个magento模板,先给朋友网店用上,看看效果,此模板取名为“2011”,方便记忆。
此模板的demo地址为:http://www.hellokeykey.com/magento-demo/index.php/
此magento模板尽管还不算是尽善尽美,但是已经算是比较好的杂货类模板了,属于仿兰亭magento模板。在此magento模板制作过程中,我刻意对页面细节做了seo优化,让magento发挥其强大的seo功能。
此模板在我心中更像是一个基础模板,可以以此模板为基础扩展出很多风格的magento模板。
希望大家从各个方面多多提意见,我会继续改进此模板。