get_discounts(); if ( ! $order_discounts ) { return; } $label = _n( 'Discount', 'Discounts', count( $order_discounts ), 'easy-digital-downloads' ); ?>
:
description; if ( 'percent' === edd_get_discount_type( $order_discount->type_id ) ) { $rate = edd_format_discount_rate( 'percent', edd_get_discount_amount( $order_discount->type_id ) ); $label .= " ({$rate})"; } ?>
total ), $order->currency ) ); ?>