Support for Drupal 7 is ending on 5 January 2025—it’s time to migrate to Drupal 10! Learn about the many benefits of Drupal 10 and find migration tools in our resource center.
Problem: people use a coupon for a period of time, then an admin deactivates it. The orders that have been completed in the meantime must still display the disabled coupon correctly. Currently the label of the applied coupon is just empty and it is confusing why the amount is substracted from the price.
Proposed solution: always load all coupons for hook_commerce_price_component_type_info() so that even the inactive coupons are registered and get displayed on completed orders.
Comment | File | Size | Author |
---|---|---|---|
commerce-coupon-inactive-price.patch | 674 bytes | klausi | |