You are here

function hook_commerce_coupon_granted_amount_alter in Commerce Coupon 7

Alter the granted amount in the log-type coupon views.

Parameters

$amount: Textual value representing the amount discounted.

$coupon: Coupon applied

$order: Order discounted

Related topics

1 invocation of hook_commerce_coupon_granted_amount_alter()
commerce_coupon_handler_field_coupon_granted_amount::render in includes/views/handlers/commerce_coupon_handler_field_coupon_granted_amount.inc
Render the field.

File

./commerce_coupon.api.php, line 39
Hooks provided by Commerce Coupon module.

Code

function hook_commerce_coupon_granted_amount_alter($amount, $coupon, $order) {
}