integer-net/magento2-regenerate-coupon-uses

Regenerate coupon uses via command line so coupons cannot be used twice.

1.0.0 2023-08-25 06:12 UTC

This package is auto-updated.

Last update: 2024-04-25 07:30:26 UTC


README

Latest Version on Packagist Software License Supported Magento Versions

Regenerate coupon uses via command line so coupons cannot be used twice.

This can be used if the Message Queue consumer sales.rule.update.coupon.usage wasn't running successfully and coupon usages haven't been recorded. Make sure that the consumer runs again after this command has been executed.

Installation

  1. Install it into your Magento 2 project with composer:

    composer require integer-net/magento2-regenerate-coupon-uses
    
  2. Enable module

    bin/magento setup:upgrade
    

Usage

Execute on the command line:

bin/magento coupon:usage:regenerate

Contributing

Please see CONTRIBUTING for details.

Security

If you discover any security related issues, please email avs@integer-net.de instead of using the issue tracker.

Credits

License

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