PHPackages                             discorgento/module-product-last-order - PHPackages - PHPackages  [Skip to content](#main-content)[PHPackages](/)[Directory](/)[Categories](/categories)[Trending](/trending)[Leaderboard](/leaderboard)[Changelog](/changelog)[Analyze](/analyze)[Collections](/collections)[Log in](/login)[Sign up](/register)

1. [Directory](/)
2. /
3. discorgento/module-product-last-order

ActiveMagento2-module

discorgento/module-product-last-order
=====================================

Product Last Order

1.0.5(1y ago)3738101GPL-3.0PHPPHP &gt;=8.0

Since Jul 28Pushed 1y ago2 watchersCompare

[ Source](https://github.com/discorgento/module-product-last-order)[ Packagist](https://packagist.org/packages/discorgento/module-product-last-order)[ RSS](/packages/discorgento-module-product-last-order/feed)WikiDiscussions main Synced 1mo ago

READMEChangelog (6)Dependencies (1)Versions (7)Used By (1)

[![Discorgento Product Last Order](docs/header.png)](docs/header.png)

Magento 2 Module: Product Last Order

 [![GitHub Stars](https://camo.githubusercontent.com/3a78b55fa34b665eef91324c2b02f9ce5a8d4bc34cb563ea77079768618d6f40/68747470733a2f2f696d672e736869656c64732e696f2f6769746875622f73746172732f646973636f7267656e746f2f6d6f64756c652d70726f647563742d6c6173742d6f726465723f7374796c653d736f6369616c)](https://github.com/discorgento/module-product-last-order/stargazers) [![Latest Version on Packagist](https://camo.githubusercontent.com/b9fb0271468faf3a51d59a9d7ecc9b38385db5fd5b09a799e8e1e040a9e8316e/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f762f646973636f7267656e746f2f6d6f64756c652d70726f647563742d6c6173742d6f72646572)](https://packagist.org/packages/discorgento/module-product-last-order) [![Join our Discord](https://camo.githubusercontent.com/c448784fc6c083dd1207f1fa1f0b89cf402e27bdb1a717cf558d4f56c3da4ecf/68747470733a2f2f696d672e736869656c64732e696f2f646973636f72642f3736383635333234383930323333323432383f636f6c6f723d253233373238396439266c6162656c3d446973636f7264)](https://discorgento.com/discord)

Overview 💭
----------

[](#overview-)

The "Product Last Order" module is an extension for Magento 2 developed by Discorgento that generates a personalized message to the customer when they access a product that has been previously purchased. The message informs the customer that they have already bought this item and also displays the date of the purchase. Additionally, the module adds a "Order Details" link that, when clicked, redirects the customer to the corresponding Order Details page, providing all the details of the accessed order.

Features 🧩
----------

[](#features-)

- Generates a personalized message for products previously purchased by the customer.
- Displays the date of the product purchase.
- Adds an "Order Details" link to redirect the customer to the Order Details page.

System Requirements ⚙️
----------------------

[](#system-requirements-️)

Make sure your Magento 2 installation meets the following requirements:

- Magento 2.x
- PHP 8.x
- Composer

Installation 🔧
--------------

[](#installation-)

You can install the "Product Last Order" module via Composer. To do this, execute the following commands in the terminal:

1. Navigate to the root of your Magento 2 project:

```
cd /path/to/your/magento2/project
```

2. Use Composer to install the module:

```
composer require discorgento/module-product-last-order
```

3. Enable the module:

```
php bin/magento module:enable Discorgento_ProductLastOrder
```

4. Run the Magento setup upgrade to enable the module and refresh the cache:

```
php bin/magento setup:upgrade
php bin/magento cache:clean
```

Usage 🥤
-------

[](#usage-)

After the installation, the module will automatically generate the personalized message on products that have been previously purchased by the customer. The message will be displayed on the product detail page.

By clicking on the "Order Details" link in the message, the customer will be redirected to the corresponding Order Details page, where they can access all the information about the order.

[![Print Desktop](docs/print-desktop.png)](docs/print-desktop.png)

[![Print Mobile](docs/print-mobile.png)](docs/print-mobile.png)

Support and Contributions 🫵
---------------------------

[](#support-and-contributions-)

If you encounter any issues with the module or want to contribute improvements, feel free to open an [issue](https://github.com/discorgento/module-product-last-order/issue) or submit a [pull request](https://github.com/discorgento/module-product-last-order/pulls) on the [module's repository](https://github.com/discorgento/module-product-last-order).

License 🦬
---------

[](#license-)

This module is distributed under the [GNU General Public License v3.0](https://github.com/discorgento/module-product-last-order/blob/main/LICENSE.txt). Please read the "LICENSE" file for more information.

Author 👤
--------

[](#author-)

"Product Last Order" was developed by [Discorgento](https://www.discorgento.com).

🐓

Notes 🗒
-------

[](#notes-)

- issues and PRs are welcome in this repo;
- we want **YOU** for [our community](https://discorgento.com/discord)!

###  Health Score

34

—

LowBetter than 77% of packages

Maintenance37

Infrequent updates — may be unmaintained

Popularity20

Limited adoption so far

Community19

Small or concentrated contributor base

Maturity53

Maturing project, gaining track record

 Bus Factor1

Top contributor holds 51.1% of commits — single point of failure

How is this calculated?**Maintenance (25%)** — Last commit recency, latest release date, and issue-to-star ratio. Uses a 2-year decay window.

**Popularity (30%)** — Total and monthly downloads, GitHub stars, and forks. Logarithmic scaling prevents top-heavy scores.

**Community (15%)** — Contributors, dependents, forks, watchers, and maintainers. Measures real ecosystem engagement.

**Maturity (30%)** — Project age, version count, PHP version support, and release stability.

###  Release Activity

Cadence

Every ~108 days

Total

5

Last Release

588d ago

### Community

Maintainers

![](https://avatars.githubusercontent.com/u/2486808?v=4)[Jonatan Machado](/maintainers/jonatanaxe)[@jonatanaxe](https://github.com/jonatanaxe)

---

Top Contributors

[![jonatanaxe](https://avatars.githubusercontent.com/u/2486808?v=4)](https://github.com/jonatanaxe "jonatanaxe (23 commits)")[![maria-axe](https://avatars.githubusercontent.com/u/80163994?v=4)](https://github.com/maria-axe "maria-axe (17 commits)")[![mage2pratik](https://avatars.githubusercontent.com/u/33807558?v=4)](https://github.com/mage2pratik "mage2pratik (2 commits)")[![manuelcanepa](https://avatars.githubusercontent.com/u/10290593?v=4)](https://github.com/manuelcanepa "manuelcanepa (2 commits)")[![iaugusto-ironplane](https://avatars.githubusercontent.com/u/172038827?v=4)](https://github.com/iaugusto-ironplane "iaugusto-ironplane (1 commits)")

---

Tags

hacktoberfestmagentomagento2

### Embed Badge

![Health badge](/badges/discorgento-module-product-last-order/health.svg)

```
[![Health](https://phpackages.com/badges/discorgento-module-product-last-order/health.svg)](https://phpackages.com/packages/discorgento-module-product-last-order)
```

###  Alternatives

[fastly/magento2

Fastly CDN Module for Magento 2.4.x

1564.2M1](/packages/fastly-magento2)[mage-os/module-automatic-translation

Automatic AI content translation for Mage-OS.

277.1k](/packages/mage-os-module-automatic-translation)[zepgram/module-rest

Technical module to industrialize API REST call with dependency injection pattern using Guzzle library

1326.2k](/packages/zepgram-module-rest)[graycore/magento2-graphql-introspection-cache

1015.2k](/packages/graycore-magento2-graphql-introspection-cache)[mage-os/mageos-common-async-events

Send REST requests to external endpoints asynchronously. This module implements the most common events like order creation and customer change.

147.7k2](/packages/mage-os-mageos-common-async-events)[mage-os/module-inventory-reservations-grid

Add a grid with the list of inventory reservations.

126.8k](/packages/mage-os-module-inventory-reservations-grid)

PHPackages © 2026

[Directory](/)[Categories](/categories)[Trending](/trending)[Changelog](/changelog)[Analyze](/analyze)
