
magento2
davissuperman
这个作者很懒,什么都没留下…
展开
专栏收录文章
- 默认排序
- 最新发布
- 最早发布
- 最多阅读
- 最少阅读
-
magento 2 di.xml etc/ etc/area_code/ 区别
在开发过程中,写了di.xml,放入 etc/frontent/ 是工作的, 但是放入 etc/下 是不工作的 <?xml version="1.0"?> <config xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:noNamespaceSchemaLocation="urn:magento:framew...原创 2020-03-06 07:34:28 · 448 阅读 · 0 评论 -
Magento 2 set up website with sub folder
Magento 2 official document是使用的subdomain, 但是i这次是使用 sub_folder mee233.local/es-ES mee233.local/it-IT 1. config at magento backend 2. create sub folder in pub/it-IT pub/es-ES foldermee233/pub/...原创 2020-01-13 18:33:59 · 510 阅读 · 0 评论 -
Magento 2 frontend create a new validation rule 新建前端认证规则
Magento 2 如何新建一个VALIDATION RULE 比如输入框中 手机号验证 新建模块 pestle generate_module Mageplaza HelloWorld 0.0.1 pestle generate_route Mageplaza_HelloWorld frontend helloworld pestle generate_view Magepla...原创 2019-12-16 10:40:43 · 278 阅读 · 0 评论 -
Magento2 create new customer programmtically
Create new php file in Magento 2 root folder i.e create_new_customer.php. Include bootstrap.php which contains all the Magento class. Check whether the email address is already registered or not. I...转载 2018-11-27 17:24:45 · 355 阅读 · 0 评论 -
Magento 2 virtual type
https://magento.stackexchange.com/questions/33103/what-is-the-difference-between-type-and-virtualtype 1. 是什么 2. 适用场景 1. 是什么 \Class1 -》 public function __construct(\Class2 $argOfClass1){...} ...转载 2019-06-13 15:53:20 · 440 阅读 · 0 评论