/magento2-regenerate-coupon-uses

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

Primary LanguagePHPMIT LicenseMIT

IntegerNet_RegenerateCouponUses Magento Module

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.