magento文章
我要做程序达人
努力学习..天天向上...
展开
-
关于magento连接其他数据库
原来来自:Create An External Database Connection in Magentohttp://fishpig.co.uk/magento-tutorials/create-an-external-database-connection-in-magento主要是externaldb_database> c转载 2011-11-01 16:02:03 · 1044 阅读 · 0 评论 -
使用magento的分页
在一个BLOCK的类里面 protected function _prepareLayout(){ parent::_prepareLayout(); $brand_id= $this->getRequest()->getParam('id'); if (is_numeric($brand_id)) { $col原创 2012-02-09 14:54:32 · 3187 阅读 · 0 评论 -
提交数据到paypal时,magento的产品名修改
如果是多个自定义属性的,比如有size, color, 提交订单到paypal时, zen-cart 会把这些属性接到产品名后面, 这样只看paypal的邮件也知道卖了的是什么属性的产品,但magento不会这么做,非要到magento后台看订单详细才知道, 改起来很简单...但找magento的处理文件类很容易头晕..在 /app/code/core/Mage/Paypal/Model/C原创 2013-04-11 17:49:25 · 713 阅读 · 0 评论 -
[转]magento换空间,域名
来自:http://www.phpshare.cn/2011/07/magento%E6%8D%A2%E7%A9%BA%E9%97%B4%EF%BC%8C%E5%9F%9F%E5%90%8D/、把magento的整个目录打包、上传到新服务器,把magento数据库导出,然后在新服务器上导入。在导入数据的时候,有个如下的报错:SQL 查询:–– 限制表 `cata转载 2013-09-16 15:32:35 · 1062 阅读 · 0 评论 -
快速更新MAGENT产品价格
用后台的magento上传功能, 只是要更新价格而已翻译 2014-06-23 11:55:09 · 956 阅读 · 0 评论 -
测试ubuntu安装sphinx及配置集成到magento产品搜索
本机的测试环境为ubuntu版本为13.10, 目的是为magento产品搜索集成sphinx,直接 sudo apt-get install sphinxsearch 就安装成功了, 哈,简单吧...装是装了, 怎么用呢? whereis sphinxsearch找到sphinx的路径,默认在 /etc/sphinxsearchsphinx.conf.sampl原创 2014-03-18 16:52:38 · 1512 阅读 · 0 评论 -
magento的var目录内容跑到/tmp/magento/var下解决
来自:http://luke.edmonds-commerce.co.uk/?p=35翻译 2014-08-15 17:49:27 · 1185 阅读 · 0 评论 -
自定义的模块调用magento默认编辑器WYSIWYG
自定义的模块调用magento默认编辑器WYSIWYG原创 2014-12-02 10:57:28 · 2026 阅读 · 2 评论 -
magento1.X版本在php7出错Function name must be a string
magento1.9在PHP7版本出现的错误:PHP Fatal error: Uncaught Error: Function name must be a string in /app/code/core/Mage/Core/Model/Layout.php, 找到 getOutput函数,把$out .= $this->getBlock($callback[0])->$callb原创 2018-01-26 22:24:38 · 1601 阅读 · 0 评论