$customer = Mage::getModel('customer/customer');//$customer = new
原创 2015-11-18 02:37:06
62阅读
当数据量较大时 后台索引的速度往往过慢导致异常当然使用shell更新索引,,操作起来也更简单快捷,
原创 2023-05-19 14:05:42
33阅读
Shell#php indexer.php info
原创 2013-10-26 10:11:37
908阅读
I am running a Magento Store and have created a seperate login outside
原创 2015-12-22 03:02:04
201阅读
关于如何去掉magento网址烦人的index.php及解决出现的404error错误
原创 2014-02-26 14:23:04
2158阅读
1点赞
3评论
通常我们创建一个cms page之后,在后台可以借助magento自带的编辑器进行一些简单的变量插入,但是如果页面内容比较复杂并且有很多自定义变量的时候,比如我们需要从db取一些数据或者对数据进行复杂处理时,自带的编辑器就无能为力了;一个比较好的方法就是创建自己的phtml,例如创建page.phtml: app/design/frontend/default/yourtheme/template/page/page.phtml 然后在后台cms page的content里合适位置写入以下内容: {{block type="core/template" template=&
转载 2013-04-03 20:03:00
95阅读
2评论
IntroductionBeing a PHP developer, you are no way hiding from PHP’s date() function.In case of Magento, makes an usage of timezone which is configured from the backend (System > Configurati...
原创 2023-05-05 14:24:05
92阅读
magento索引管理当我们网站商品很多的时候,比如有几千件,我们刷新Magento的索引管理(Index Management)经常会失败。那么后台
原创 2023-05-09 11:04:02
106阅读
The structure of a Magento themeThe files in a Magento theme are divided into two main dir
原创 2023-05-14 23:17:27
74阅读
addAttribu to the WHERE part of the MySQL query used to extract a product collection from t...
原创 2012-09-19 11:48:10
88阅读
The private SSL certificate is an important upgrade to yata goes thro...
原创 2023-05-12 22:16:23
106阅读
PHP编码规范magento 2核心开发团队使用PSR-1: 基本的编码标准 和 PSR-2: 编码风格指南标准开发。 Magento 2推荐开发者开发和定制扩展也使用这些标准。类名解析标准例子: $this->get(ClassName::class); $this->get(\Magento\Path\To\Class::class);...
[Magento]给Magento提速的方法[复制链接]1、安装Fooman Speedster插件插件官方地址:htt
转载 2011-08-15 13:38:00
161阅读
2评论
**Magento 2简介** Magento是一个开源的电子商务平台,被许多公司用来搭建在线商店。Magento 2是Magento的第二个主要版本,相比于之前的版本,Magento 2提供了更多功能和改进。 **实现Magento 2的步骤** 下面是实现Magento 2的基本步骤,以及每一步需要做的事情和相应的代码示例: | 步骤 | 操作 | |------------|----
原创 2024-05-28 11:32:15
25阅读
PHP编码规范magento 2核心开发团队使用PSR-1: 基本的编码标准 和 PSR-2: 编码风格指南标准开发。 Magento 2推荐开发者开发和定制扩展也使用这些标准。类名解析标准例子: $this->get(ClassName::class); $this->get(\Magento\Path\To\Class::class);...
php
原创 2018-07-27 06:30:59
255阅读
Magento安装完毕之后,我们会发现无论是在产品还是分类的URL地址之前,都有一个非常恶心的index.php。这种URL格式自己看
原创 2023-05-09 11:10:44
89阅读
  产品页面的选项卡功能。看上去好看一点。 http://www.magentocommerce.com/magento-connect/themes/magento-easytabs.html KEY:  http://connect20.magentocommerce.com/community/magento_easy_tabs
原创 2012-08-27 23:51:56
421阅读
对于小型网站来说,80%的时间花在修改主题上。 m2的页面布局都是用XML来控制的,非常灵活和方便。主题的目录在:app/design下面。app/design/adminhtml是后台的主题app/design/frontend是前台的主题后台主题不需要动,用默认的就行,没几个人去改后台主题。 我们只需要改前台主题,我们在网上买的主题都是前台主题。主题路径为:app/design/fronten
转载 2021-02-28 20:19:50
229阅读
2评论
for the more visually oriented Magento_MVC.pdf.Code Organized in ModulesMagento organizes its code into individual Modules. In a t
原创 2023-05-09 11:10:10
103阅读
1.Use following code<?php$mail = Mage::getModel('core/email');$mail->setToName('Your Name');$mail->setToEmail('Youe Email');$mail->setBody('Mail Text / Mail Content');$mail-&gt...
原创 2023-04-03 23:06:30
165阅读
  • 1
  • 2
  • 3
  • 4
  • 5