discorgento/module-product-last-order

Product Last Order

1.0.3 2023-10-23 15:47 UTC

This package is auto-updated.

Last update: 2024-08-30 01:26:48 UTC


README

Discorgento Product Last Order

Magento 2 Module: Product Last Order

GitHub Stars Latest Version on Packagist Join our Discord

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 🧩

  • 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 ⚙️

Make sure your Magento 2 installation meets the following requirements:

  • Magento 2.x
  • PHP 8.x
  • Composer

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
  1. Use Composer to install the module:
composer require discorgento/module-product-last-order
  1. Enable the module:
php bin/magento module:enable Discorgento_ProductLastOrder
  1. Run the Magento setup upgrade to enable the module and refresh the cache:
php bin/magento setup:upgrade
php bin/magento cache:clean

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

Print Mobile

Support and Contributions 🫵

If you encounter any issues with the module or want to contribute improvements, feel free to open an issue or submit a pull request on the module's repository.

License 🦬

This module is distributed under the GNU General Public License v3.0. Please read the "LICENSE" file for more information.

Author 👤

"Product Last Order" was developed by Discorgento.

🐓

Notes 🗒

  • issues and PRs are welcome in this repo;
  • we want YOU for our community!