krombox/module-downloadable-links-sync

Magento 2 module to sync links for placed orders

1.0.0 2024-10-16 14:50 UTC

This package is not auto-updated.

Last update: 2024-11-01 14:49:44 UTC


README

Latest Version Software License Total Downloads

This module lets you sync new, edited, and deleted product downloadable links to existing orders. Example: Your store has product A with a downloadable link, "link #1." There are several orders containing that product. After some time you decided to add "link #2" and change the title for the initial link to "link #1 extended". By clicking Sync links button on the product edit page or by saving the product(depending on settings) your links will be synchronized with the existing orders.

The module uses Magento`s message queue to process the links sync. AMQP(RabbitMQ) or DB connection is used depend on configuration.

Installation

To install, use composer:

composer require krombox/module-downloadable-links-sync
bin/magento module:enable Krombox_DownloadableLinksSync
bin/magento setup:upgrade

Usage

To handle the queue either CRON or CLI command needs to be run bin/magento queue:consumers:start krombox.downloadable_links.sync --max-messages=1

Prerequirements

  1. PHP >= 8.0

Donate

paypal

Credits

License

The MIT License (MIT). Please see License File for more information.