Magento表运费设置方法

8月 4, 2011

Magento 默认启用的是固定运费(Flat Rate),但是有时候我们需要按照重量来计算快递费,所以,我们 […]

Read the full article →

PHP面向对象之this 关键字

7月 20, 2011

PHP5中为解决变量的命名冲突和不确定性问题,引入关键字“$this”代表其所在当前对象。 $this在构造函 […]

Read the full article →

Firebug Console 与命令行全集

7月 16, 2011

Console API 当打开 firebug (也包括 Chrome 等浏览器的自带调试工具),window […]

Read the full article →

Magento购物车为空显示不同的主题模板

7月 15, 2011

当购物车的数量为空的时候,magentonotes.com/checkout/cart/index/ 页面默认 […]

Read the full article →

如何修改、扩展并重写Magento代码

7月 14, 2011

作为一个开发者的你,肯定要修改Magento代码去适应你的业务需求,但是在很多时候我们不希望修改Magento […]

Read the full article →

Magento后台管理同时删除产品和产品图片

7月 13, 2011

Magento默认删除产品的时候,产品不会同时被删除,这样的话, 如果经常要删除产品,服务器上会保存很多没用的 […]

Read the full article →

清空Magento缓存的几种方法

7月 12, 2011

一般来说,我们安装Magento插件、定义模板,都需要清除Magento缓存,一般来说可以通过后台界面里的Sy […]

Read the full article →

Magento根据模块选项来设置不同的模板

7月 11, 2011

Magento后台可以通过disable/enable来启用和禁用model,同样,我们可以模块的配置选项来设 […]

Read the full article →

使用wget递归下载URL下的所有文件

6月 27, 2011

示例: wget -c -r -nd -np -k -L -p -A c,h www.magentonotes […]

Read the full article →

Linux通过shell命令获取当前机器mac地址

6月 24, 2011

#方法1 ip link show eth0 | awk ‘/ether/ {print $2}’ #方法2 […]

Read the full article →