摘要: 在Magento根目录执行: php bin/magento admin:user:create 该命令可以接受 --admin-user、--admin-email、--admin-firstname、--admin-lastname 参数: php bin/magento admin:user: 阅读全文
posted @ 2022-02-17 23:08 万博云计算 阅读(123) 评论(0) 推荐(0) 编辑
摘要: 该教程基于 Mageplaza_Smtp 插件 登录magento2后台,进入后台配置界面 STORES -> Configuration: 找到 Mageplaza_Smtp 配置项: 在右侧的 SMTP Configuration Options 按如下方式填写: Host 点击右侧“Load 阅读全文
posted @ 2022-02-17 23:05 万博云计算 阅读(331) 评论(0) 推荐(0) 编辑
摘要: 初次接触Magento2的小伙伴,在网站搭建完毕之后,不知道如何设置网站首页内容, 下面由万博云计算来为大家讲解一下如何设置首页内容: 对于一个电商网站来说,首页会有千万种变化,不可能有统一格式,所以Magento2的首页采用了CMS Page(静态页),想要改变首页的内容,就要找到对应的CMS P 阅读全文
posted @ 2022-02-17 22:38 万博云计算 阅读(330) 评论(0) 推荐(0) 编辑
摘要: 新安装的Magento2网站,默认的订单号是 1000000001、1000000002、1000000003 这样的纯数字,可能不太美观,下面万博云计算来为大家简单介绍一下如何修改Magento2的订单号格式: 首先获取当前Store View的订单序号表的元数据: 以Default Store 阅读全文
posted @ 2022-02-17 22:35 万博云计算 阅读(217) 评论(0) 推荐(0) 编辑
摘要: Magento2里的订单号,由 Quote 对象的reserveOrderId方法生成: Magento\Quote\Model\Quote::reserveOrderId() /** * Generate new increment order id and associate it with c 阅读全文
posted @ 2022-02-17 10:12 万博云计算 阅读(154) 评论(0) 推荐(0) 编辑