Magento 添加评论 How to add Magento Product Reviews form anywhere on product page

Product reviews helps in boosting customer’s confidence in your product. No points for guessing why they are one of the primary driving force behind conversion. Amazon is a great example of product reviews where a majority of the products are sold due to efficient reviews posted by their consumers. To show the review form and product

Magento 移除标签 How to remove “Tags” block from a product page

This tutorial will show you how to remove Tags block from Magento product pageЖ There are 2 ways of removing the tagging feature from product pages: Navigate to System -> Configuration -> Advanced tab. Set ‘Mage_Tag’ to ‘Disable’Ж Open the tag.xml under app/design/frontend/default/themeXXX/layout/ folder.Locate this line: ‘catalog_product… Read More

Magento 购物车不能加载付款栏 Magento 1.8 and 1.9 Payment not loading on Checkout

I’ve updated one of my stores to the new version 1.8.0 of Magento and all was great until I try the checkout. On the customer onepage checkout I just stuck on step Shipping Method, I could not get the payment information working. After look in everywhere I found out it was just an update on the

Magento 开启星级评价 How to add the yellow star rating system

It’s a common practice to use ratings for the products in the shopping website. This way visitors can rate the products according to their quality. By collecting rating results, website owners are able to summarize which products are best rated and therefore, provide more selling products. Also, it tends to attract more visitors for the

Linux/Ubuntu: 命令行任务(To-Do List)管理 task – A command line todo manager

安装: sudo apt-get install task $ task add some very important task $ task You can also install vit if you want an alternative UI to this list. There are also some command line tools for managing your agenda. 你也可以安装 VIT 查看内容 sudo apt-get install vit 用法:http://manpages.ubuntu.com/manpages/maverick/man1/task.1.html 官网:http://taskwarrior.org/ 实例: 30 Sec… Read More

论GNU、Linux和GNU/Linux之间的关系

相信很多人看到了这个标题就会产生疑问,这篇文章到底要讲什么东西?在回答这个问题之前,我先提出几个问题? 1. 什么是Linux? 2. 什么是GNU? 3. GNU/Linux是什么玩意儿? 在回答了以上问题后,大家自然也清楚我想说明的问题了。 什么是Linux 相信了解一些IT知识的人都听过Linux这个名词。维基百科上的Linux词条是最经典和最准确的说明(http://zh.wikipedia.org/wiki/Linux),在此直接应用,免去班门弄斧之嫌。 Linux操作系统(Linux),是一种计算机操作系统。Linux操作系统的内核的名字也是“Linux”。Linux操作系统也是自由软件和开放源… Read More

Linux 死机了怎么办

今天在 Linuxgem.org 上面发现一篇很有意思的文章,和大家分享。 {Via http://blog.upsuper.org.cn/what-to-do-if-linux-crash/} Linux 会死机么?我可以很肯定地说,会!要让 Linux 死机很容易,但难的是在死机以后如何安全的让他摆脱死机状态,本文讲述如何从 Linux 的死机状态中挣脱出来。 Linux 死机有很多种情况,最常见的是系统负载过高导致的。如上次介绍的 fork 炸弹就是这个原理,此外还可以运行内存耗用极大的程序(如虚拟机),也会迅速提升系统负载。由于系统负载过高导致的卡死,一定是解决的越快越好!此时必须记住的是,不能再试图依赖任何图形… Read More

Bootstrap 3 移除输入框聚焦线 How to remove border (outline) around text/input boxes?

一般可以用: textarea:focus, input:focus{ outline: 0; } 或者 *:focus { outline: 0; } 来源:http://stackoverflow.com/a/3397158   针对bootstrap可以用一下css来覆盖: .form-control:focus { border-color: inherit; -webkit-box-shadow: none; box-shadow: none; } 来源:http://stackoverflow.com/a/21924857   本文:Bootstrap 3 移除输入框聚焦线 How to remove border (outl… Read More

How to fix “System program problem detected” error on Ubuntu

Remove crash report files The apport system creates crash report files in the /var/crash directory. These crash report files cause the error message to appear everytime Ubuntu boots. $ cd /var/crash $ ls _opt_google_chrome_chrome.1000.crash _usr_lib_chromium-browser_chromium-browser.1000.crash _usr_sbin_ulatencyd.0.crash _usr_share_ap… Read More

Ubuntu: 创建PlayOnLinux快捷键 Create PlayOnLinux Application Desktop

实例一 iTunes 12 iTunes 12.desktop [Desktop Entry] Encoding=UTF-8 Name=iTunes 12 Comment=PlayOnLinux Type=Application Exec=/usr/share/playonlinux/playonlinux --run "iTunes 12" %F Icon=/home/gd/.PlayOnLinux//icones/full_size/iTunes 12 Name[fr_FR]=iTunes 12 StartupWMClass=iTunes.exe Categories=   实例二 Adobe Photoshop CS6 Adob… Read More

Magento 自定义分页代码 How to change pagination design in product listing page in magento

I have worked in the template\catalog\product\list\toolbar.phtml where you can change the total toolbar design. But there have a function <?php echo $this->getPagerHtml() ?> it’s for the pagination. if you want to change pagination html then go to the template\page\html\pager.phtml and you can change it from here.   本文:Magent… Read More