定制 jro/guest2customer 二次开发

按需修改功能、优化性能、对接业务系统,提供一站式技术支持

邮箱:yvsm@zunyunkeji.com | QQ:316430983 | 微信:yvsm316

jro/guest2customer

Composer 安装命令:

composer require jro/guest2customer

包简介

Automatically create a customer account after guest checkout in Magento 2

README 文档

README

If a Magento2 store allows guest checkout, you can get a lot of orders that are set as a “guest order”, with no account associated. For many sites, that is fine. However, either as part of a marketing strategy, or to assist smooth store administration, some store owners would like to retain guest checkout, but to have all the guest orders associated to actual customer accounts.

There are many extensions to address this need. This extension was developed to achieve three specific goals:

  • Free. This extension is not something you have to pay to use.
  • It works. A key API change starting at Magento 2.4.6 means many extensions that claim to convert guests into customers do not work any more. This was written against the latest version of Magento 2, and it works!
  • It is simple. There are no bundled extra features, and no admin UI. If you enable this module, it will do its one task.

Installation

Simply download using composer, enable the module, and recompile dependency injection:

composer require jro/guest2customer
php bin/magento module:enable Jro_Guest2Customer
php bin/magento setup:di:compile

Features

  • When a guest order is placed, and there is already a customer with the order email address, the order will be associated to the existing account.
  • When a guest order is placed, and there is no matching customer, a new customer will be created and the order associated with it. If the store is set to email new customers with details of how to set their password, this email will be triggered.
  • If a new customer is created, the billing and shipping address of the order will be set as the respective default addresses for the customer.
  • If the order was for an existing customer, the default billing and shipping addresses won't be changed, but the order’s shipping address will be added to the customer’s address book.
  • A message is displayed on screen after successful checkout, informing the customer that either an account has been created or that their order has been linked to their existing account.

As explained above (“it is simple”), no configuration is needed in the admin area to enable these features. Once the module is enabled, these things will happen.

Licence

The extension is licensed under GNU GPLv3. See the COPYING file for details.

Author

James Oakley
magentodev@m3.oakleys.org
https://git.oakleys.org
https://www.oakleys.org.uk

Homepage

The homepage of this extension is https://git.oakleys.org/JamesOakley/magento-guest2customer.

Please use the issue queue there for any support requests, although this extension is provided “as-is” so support is on a goodwill and best-effort basis.

jro/guest2customer 适用场景与选型建议

jro/guest2customer 是一款 基于 PHP 开发的 Composer 扩展包,目前已累计 15 次下载、GitHub Stars 达 0, 最近一次更新时间为 2025 年 05 月 20 日, 在 PHP 生态内属于活跃度较高的组件。

我们在过去多个企业项目中使用过 jro/guest2customer 或与其功能相近的方案,如果你在选型或落地过程中遇到问题,例如 版本兼容、二次改造、私有化封装、与内部系统对接、生产 BUG 排查,欢迎联系我们协助评估。

围绕 jro/guest2customer 我们能提供哪些服务?
定制开发 / 二次开发

基于 jro/guest2customer 在你已有业务上做功能扩展、字段裁剪、UI 适配、与内部账号 / 权限 / 日志系统的深度对接。

BUG 修复 & 性能优化

线上偶发问题、内存泄漏、慢查询、并发异常等排查修复;针对高流量场景做缓存、队列、索引层面的调优。

项目外包 & 长期维护

承接完整的项目从需求 → 设计 → 开发 → 上线 → 长期运维;也可按月提供技术保姆服务。

yvsm@zunyunkeji.com QQ:316430983 微信:yvsm316 西安尊云信息科技 · 专注 PHP / Go / 分布式系统研发

统计信息

  • 总下载量: 15
  • 月度下载量: 0
  • 日度下载量: 0
  • 收藏数: 0
  • 点击次数: 7
  • 依赖项目数: 0
  • 推荐数: 0

GitHub 信息

  • Stars: 0
  • Watchers: 0
  • Forks: 0
  • 开发语言: PHP

其他信息

  • 授权协议: GPL-3.0-or-later
  • 更新时间: 2025-05-20