krombox / module-downloadable-links-sync
Magento 2 module to sync links for placed orders
Installs: 0
Dependents: 0
Suggesters: 0
Security: 0
Stars: 0
Watchers: 1
Forks: 0
Open Issues: 0
Type:magento2-module
Requires
- php: >=8.0
- magento/framework: ^102.0|^103.0
This package is not auto-updated.
Last update: 2024-11-01 14:49:44 UTC
README
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
- PHP >= 8.0
Donate
Credits
License
The MIT License (MIT). Please see License File for more information.