subtotal > 0 ) : ?> get_discounts(); if ( $order_discounts ) : $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})"; } ?> get_fees(); if ( ! empty( $fees ) ) : ?> description ) ) { $label = $fee->description; } ?> tax > 0 ) : ?> get_credits(); if ( $credits ) { ?> description ) ) { $label = $credit->description; } ?>
: get_number() ); ?>
: status ) ); ?>
: payment_key ); ?>
: gateway ) ); ?>
: utils->date( $order->date_created, null, true )->toDateTimeString() ) ); ?>
: id ) ); ?>
:
total ), $order->currency ) ); ?>
:
subtotal, $order->currency ) ); ?>
: id ) ); ?>
:
total ), $order->currency ) ); ?>
:
get_items(); if ( empty( $order_items ) ) { return; } ?>

$item ) : ?>
product_id, $item->price_id ); ?>
product_name ); if ( ! empty( $item->status ) && 'complete' !== $item->status ) { echo ' – ' . esc_html( edd_get_status_label( $item->status ) ); } ?>
product_id ); if ( ! empty( $notes ) ) : ?>
status && edd_receipt_show_download_files( $item->product_id, $edd_receipt_args, $item ) ) : ?>
    $file ) : ?>
  • product_id The product ID. * @param int $order->id The order ID. */ do_action( 'edd_order_receipt_files', $filekey, $file, $item->product_id, $order->id ); endforeach; elseif ( edd_is_bundled_product( $item->product_id ) ) : $bundled_products = edd_get_bundled_products( $item->product_id, $item->price_id ); foreach ( $bundled_products as $bundle_item ) : ?>
    • $file ) : ?>
    • product_id The product ID. * @param array $bundle_item The array of information about the bundled item. * @param int $order->id The order ID. */ do_action( 'edd_order_receipt_bundle_files', $filekey, $file, $item->product_id, $bundle_item, $order->id ); endforeach; else : echo '
    • ' . esc_html__( 'No downloadable files found for this bundled item.', 'easy-digital-downloads' ) . '
    • '; endif; ?>
  • ' . esc_html( apply_filters( 'edd_receipt_no_files_found_text', __( 'No downloadable files found.', 'easy-digital-downloads' ), $item->product_id ) ) . ''; endif; ?>
product_id ) ); ?> quantity ); ?> total, $order->currency ) ); ?>