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.
The code for the 'Last order is within X minutes' rule component is only checking orders that are set to completed. This doesn't help when the previous order from the user was marked as fraudulent and placed in a pending state.
I feel like an alternative approach would be to add a field in the rule component where 1 or more order statuses can be selected.
Comment | File | Size | Author |
---|---|---|---|
#3 | last_order_is_within_x-2807533-2.patch | 6.25 KB | thejacer87 |
Comments
Comment #3
thejacer87 CreditAttribution: thejacer87 at Acro Commerce commentedadded to latest dev branch
Comment #4
thejacer87 CreditAttribution: thejacer87 at Acro Commerce commentedComment #5
thejacer87 CreditAttribution: thejacer87 at Acro Commerce commentedComment #6
thejacer87 CreditAttribution: thejacer87 at Acro Commerce commented