Magento2
- Magento2 Mirasvit家扩展开心方法
-
app/code/Mirasvit/Core/Model/License.php 文件下 public function load($className = '') { return true; }这行必须要为true; private function request() { $params = ; $params = 3; $params = $this-getDomain ...
-
2019-5-22 09:57
- Magento2默认搜索添加SKU或是自定义属性
-
修改文件Magento\Framework\Search\Adapter\Mysql\Query\Builder\Match.php在$matchQuery = $this-fulltextHelper-getMatchQuery(前插入 if ($this-dataHelper-allowExtension()) { $attribute = $this-attributeCol ...
-
2019-5-21 11:34
- Magento2新安装的莫名其妙后台变灰,无法正常使用,是文件验证在做怪 ...
-
magento2.3/2.2/2.1存在部分WINDOWS主机 全新安装后报错提示:page/js/require_js.phtml' in module: '' block's name: 'require.js'修改以下位置文件vendor\Magento\Framework\View\Element\Template\File\Validato ...
-
2019-4-29 15:20
- Magento2.3/2.2/2.1存在部分WINDOWS主机 全新安装后报错
-
Magento2.3/2.2/2.1存在部分WINDOWS主机 全新安装后报错提示:page/js/require_js.phtml' in module: '' block's name: 'require.js'修改以下位置文件vendor\Magento\Framework\View\Element\Template\File\Validato ...
-
2019-3-31 19:12
- Magento任意位置添加CONTAINER,后台可随意添加BLOCK WIDGET
-
container name="product.media.bottom" htmlTag="div" htmlClass="product-media-bottom" as="product.media.bottom" label="product media bottom" after="action-skip-wrapper" block class="Magent
-
2019-3-1 16:29
- Magento2后台图片上传失败的解决方法 File validation failed
-
当用户新安装的PHP时候,如果没有开启以下PHP组件会导致图片无法正常上传PHP组件 fileinfoexif这两个处理图片的组件 ,如果此方法还是提示无法上传,那么估计是版本的BUG。则修改 /vendor/magento/framework/File/Up ...
-
2018-12-18 18:36
- Magento2安装时出现 You do not have the SUPER privilege and binary logging is ena ...
-
magento在安装时进度75%时出现 General error: 1419 You do not have the SUPER privilege and binary logging is enabled (you *might* want to use the less safe log_bin_trust_function_creators variable) in / ...
-
2018-9-13 18:06
- Magento2安装最贴合国人语境的中文语言包
-
目前网上有很多Magento2中文语言包,我尝试过各种版本的中文语言包,大多让人感觉翻译生硬,不够本土化。本语言包基于Crowdin网站上Magento2官方翻译项目生成,并参考第三方中文语言包(Magento2Translations, magep ...
-
2018-9-10 09:11
- Magento2安装扩展及插件时部分主机出现Can't create directory
-
有时候提示的是VAR目录下的子目录,有时候是其它的目录,大多数情况下这类都是由于linux文件权限设置导致的,可以在根目录下,运行以下命令sudo find . -type d -exec chmod 770 {} \; sudo find . -type f -exec c ...
-
2018-8-24 10:29
- magento2 命令行安装插件/扩展
-
FTP上传完插件及扩展,进入SSH运行禁用缓存 php bin/magento cache:disable 3、安装插件 php bin/magento setup:upgrade
-
2018-3-6 11:15
- Magento2.2.2伪静态部分主机无法使用
-
MAGENTO2.2.2社区版本从这一版本开始在.HTACCESS apache伪静态处理文件中添加了针对版本判断的 IfVersion 但是许多本地配置环境并不能很好地支持这一特性。导致开户伪静态后,出现500或是400之类的错误,页面前台及 ...
-
2017-12-31 09:39
- magento2程序添加customer option
-
?php // 初始化程序 require __DIR__ . '\app/bootstrap.php'; $bootstrap = \Magento\Framework\App\Bootstrap::create(BP, $_SERVER); $objectManager = $bootstrap-getObjectManager(); $state = $objectManager- ...
-
2017-9-20 12:52
- magento可用的所有customer option选项示例
-
$options = , , , , , ], ], , , ], ], , , ], ], , , ], ], , , ]; 前台效果示意图
-
2017-9-19 12:04
- Magento快速删除所有除默认根目录分类
-
?phperror_reporting(E_ALL); ini_set('display_errors', '1'); require __DIR__ . '\app/bootstrap.php';$bootstrap = \Magento\Framework\App\Bootstrap::create(BP, $_SERVER);$objectManager = $bootstrap-getOb ...
-
2017-9-14 17:19
- Magento2默认所有模块
-
-
2017-9-13 12:35