Magento后台配置攻略

设置magento后台配置 magento后台配置保存后触发的事件 ...

2017-04-10 · 68 字 · 约 1 分钟

Magento升级脚本常见问题

magento通过自带的升级脚本操作数据库,常见问题的解决方法如下 ...

2017-04-07 · 82 字 · 约 1 分钟

Magento根据订单获取地址信息

根据orderid获取address信息 ...

2017-04-06 · 32 字 · 约 1 分钟

用phpStorm进行magento开发的几个Tips

安装phpcs 安装phpmd 安装magicento插件 只索引有用的文件夹 常用magento代码片段 ...

2017-04-01 · 95 字 · 约 1 分钟

[译]Magento中的12种设计模式

发现一篇介绍magento的设计模式的英文文章,有空的时候翻译了一下 原文地址: http://magenticians.com/12-design-patterns-magento ...

2017-03-30 · 137 字 · 约 1 分钟

[magento]Order对象的save方法执行哪些操作?

保存订单对象时除了更新sales_flat_order表,还会执行下面的一坨子方法: _beforeSave方法 _afterSave方法 order_save_after事件 ...

2017-03-30 · 137 字 · 约 1 分钟

[magento]Order对象的cancel方法会执行哪些操作?

用户下单未付款,用户付款后申请取消,…,这些场景时我们需要取消magento中生成的订单,取消的方式如下: $order->cancel();//取消普通订单 $order->cancelPaidOrder();//取消已付款订单 这种对象的方法实现的具体方式是怎样的呢? ...

2017-03-29 · 264 字 · 约 1 分钟

magento中查看某一段代码生成的sql

查看一段代码运行期间执行的sql语句 便于查看sql性能 ...

2016-10-27 · 69 字 · 约 1 分钟

[译]给用户grid表增加新的column

来源:http://magento.stackexchange.com/questions/5973/adding-columns-to-customer-grid-using-observer-or-overriding-the-customer-grid ...

2016-08-29 · 109 字 · 约 1 分钟

magento报错:Customer website ID must be specified when using the website scope

根据邮件用户名获取顾客对象时,可以用Customer模块自带的loadByEmail方法。 public function loadByEmail($customerEmail) { $this->_getResource()->loadByEmail($this, $customerEmail); return $this; } ...

2016-07-21 · 186 字 · 约 1 分钟