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 · 375 阅读 · 0 评论 -
Magento 2 set up website with sub folder
Magento 2 official document是使用的subdomain, 但是i这次是使用 sub_foldermee233.local/es-ESmee233.local/it-IT1. config at magento backend2. create sub folder in pub/it-IT pub/es-ESfoldermee233/pub/...原创 2020-01-13 18:33:59 · 403 阅读 · 0 评论 -
Magento 2 frontend create a new validation rule 新建前端认证规则
Magento 2 如何新建一个VALIDATION RULE比如输入框中 手机号验证新建模块pestle generate_module Mageplaza HelloWorld 0.0.1pestle generate_route Mageplaza_HelloWorld frontend helloworldpestle generate_view Magepla...原创 2019-12-16 10:40:43 · 221 阅读 · 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 · 312 阅读 · 0 评论 -
Magento 2 virtual type
https://magento.stackexchange.com/questions/33103/what-is-the-difference-between-type-and-virtualtype1. 是什么2. 适用场景1. 是什么\Class1 -》public function __construct(\Class2 $argOfClass1){...}...转载 2019-06-13 15:53:20 · 380 阅读 · 0 评论