Download the PHP package haroone/module-link-guest-order-to-customer without Composer

On this page you can find all versions of the php package haroone/module-link-guest-order-to-customer. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.

FAQ

After the download, you have to make one include require_once('vendor/autoload.php');. After that you have to import the classes with use statements.

Example:
If you use only one package a project is not needed. But if you use more then one package, without a project it is not possible to import the classes with use statements.

In general, it is recommended to use always a project to download your libraries. In an application normally there is more than one library needed.
Some PHP packages are not free to download and because of that hosted in private repositories. In this case some credentials are needed to access such packages. Please use the auth.json textarea to insert credentials, if a package is coming from a private repository. You can look here for more information.

  • Some hosting areas are not accessible by a terminal or SSH. Then it is not possible to use Composer.
  • To use Composer is sometimes complicated. Especially for beginners.
  • Composer needs much resources. Sometimes they are not available on a simple webspace.
  • If you are using private repositories you don't need to share your credentials. You can set up everything on our site and then you provide a simple download link to your team member.
  • Simplify your Composer build process. Use our own command line tool to download the vendor folder as binary. This makes your build process faster and you don't need to expose your credentials for private repositories.
Please rate this library. Is it a good library?

Informations about the package module-link-guest-order-to-customer

Link Guest Order to Customer for Magento 2

Package quality Packagist

Link an eligible guest order to the matching customer account in Magento Admin.

A free, open-source Magento extension built and maintained by Haroone.

Contribute

Installation

Composer installation

Install the latest stable release from Packagist:

Manual installation

Download or clone the repository into:

Then run from the Magento root:

No database tables are added. Reindexing and static-content deployment are not required for this module.

Updating an existing installation

Review the GitHub release notes before updating and use the store's normal maintenance and deployment process in production.

For a Composer installation, update only this package and confirm the resolved version:

For a manual installation, back up the current app/code/Haroone/LinkGuestOrderToCustomer directory outside app/code. Replace the existing directory with the files from the latest release ZIP, and then run:

Replace the entire manual-installation directory instead of merging old and new release files. Run setup:upgrade, DI compilation, static-content deployment or reindexing only when the relevant release notes require them. The current v1.0.2 release does not require those additional steps.

Migrating from the legacy package

The renamed package starts at version 1.0.1. If haroone/module-guest-order-link or Haroone_GuestOrderLink is already installed, follow the complete legacy-package migration guide so Magento never loads both module identities during the change. The rename does not change sales or customer data.

Why this module exists

A shopper can place an order as a guest and later create an account with the same email address. Magento does not automatically associate every previous guest order with the new account. As a result, a signed-in customer may be unable to find the order under My Account > My Orders.

This module gives an authorized Admin user a controlled way to link a specific guest order to its exact matching customer account. It does not link historical orders in bulk or let an Admin choose an arbitrary customer.

What it does

Eligibility and safety

The action is available only for an unassigned guest order with an email address and exactly one matching customer account in Magento's configured global or per-website account-sharing scope. The Admin role must also have the module permission.

The same checks run when the confirmation page opens and again when the POST request is submitted. A stale page therefore cannot bypass the rules.

The module deliberately does not:

After linking, storefront visibility still follows Magento's normal order-status configuration. The confirmation page warns the Admin when the current status is not visible on the storefront, but the module does not change that global setting.

Requirements

The package constraints begin with Magento 2.4.4-era component versions and continue through compatible newer releases. Composer checks these requirements during installation and rejects incompatible Magento or PHP combinations.

Admin usage

  1. Open Sales > Orders.
  2. Open an unassigned guest order.
  3. Click Link to Customer Account next to Edit.
  4. Check the order and matched account on the confirmation page.
  5. Click Link to Customer Account.
  6. Confirm the order is assigned to the customer. If the order status is storefront-visible, confirm it also appears under My Account > My Orders.

Grant access under:

Development and verification

Run the unit suite from a Magento root with development dependencies:

The repository's package-quality workflow validates Composer metadata, PHP syntax, XML, privacy checks and the Linux release archive. The separate Magento workflow installs a clean Magento instance and runs unit tests, coding standards, PHPStan, DI compilation and integration tests when COMPOSER_AUTH is configured.

See:

Privacy and security

The module sends no data outside Magento. Its private order-history comment contains only the trusted Admin display name. Structured application logs contain entity IDs only and never include customer names, email addresses, Admin names, submitted form values or exception objects.

Report security issues privately as described in SECURITY.md. Do not put customer data, credentials, order exports or vulnerabilities in a public issue.

Support and Magento services

Haroone is an ecommerce engineering company specializing in Magento. The team works on custom modules, checkout and Admin workflows, migrations and upgrades, integrations, performance, technical SEO and ongoing production support.

Use GitHub Issues for reproducible product bugs and feature requests. If the problem belongs to one store rather than the open-source package, contact Haroone privately with the store context.

License

Released under the MIT License. Copyright © 2026 Haroone.com.


All versions of module-link-guest-order-to-customer with dependencies

PHP Build Version
Package Version
Requires php Version ^8.1
magento/framework Version ^103.0.4
magento/module-backend Version ^102.0.4
magento/module-customer Version ^103.0.4
magento/module-sales Version ^103.0.4
magento/module-store Version ^101.1.4
magento/module-user Version ^101.2.4
Composer command for our command line client (download client) This client runs in each environment. You don't need a specific PHP version etc. The first 20 API calls are free. Standard composer command

The package haroone/module-link-guest-order-to-customer contains the following files

Loading the files please wait ...