You are here

commerce_coupon_usage.api.php in Commerce Coupon 7.2

File

modules/usage/commerce_coupon_usage.api.php
View source
<?php

/**
 * @file
 */

/**
 * Alter the list of commerce_order statuses where the coupon should have its
 * usage tracked.
 *
 *  @see commerce_coupon_usage_tracked_order_statuses().
 */
function hook_commerce_coupon_usage_tracked_order_statuses_alter(&$statuses) {
  $statuses[] = 'shipping_in_progress';
}

Functions

Namesort descending Description
hook_commerce_coupon_usage_tracked_order_statuses_alter Alter the list of commerce_order statuses where the coupon should have its usage tracked.