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.
1. Create a Fixed discount with a code. In our case its limited to one role.
2. Enter the code in the discount box in the check out pane
3. Click 'calculate discount'
4. Discount is calculated and applied. Appears in totals box
5. Click 'review order'
6. Discount is applied again. Appears twice in order summary box. This can result in order total going negative.
If you don't click 'calculate discounts' discount is applied once when you click 'review order'.
The discount should only ever be applied once. If its calculated when you click 'calculate discounts' it should not be applied again.
Comments