Lines:
201 to 249 of 249
</ul> </li> <?php endforeach; else : echo '<li>' . apply_filters( 'edd_receipt_no_files_found_text', __( 'No downloadable files found.', 'easy-digital-downloads' ), $item['id'] ) . '</li>'; endif; ?> </ul> <?php endif; ?> <?php // Allow extensions to extend the product cell do_action( 'edd_purchase_receipt_after_files', $item['id'], $payment->ID, $meta, $price_id ); ?> </td> <?php if ( edd_use_skus() ) : ?> <td><?php echo edd_get_download_sku( $item['id'] ); ?></td> <?php endif; ?> <?php if ( edd_item_quantities_enabled() ) { ?> <td><?php echo $item['quantity']; ?></td> <?php } ?> <td> <?php if( empty( $item['in_bundle'] ) ) : // Only show price when product is not part of a bundle ?> <?php echo edd_currency_filter( edd_format_amount( $item[ 'price' ] ) ); ?> <?php endif; ?> </td> </tr> <?php endif; ?> <?php endforeach; ?> <?php endif; ?> <?php if ( ( $fees = edd_get_payment_fees( $payment->ID, 'item' ) ) ) : ?> <?php foreach( $fees as $fee ) : ?> <tr> <td class="edd_fee_label"><?php echo esc_html( $fee['label'] ); ?></td> <?php if ( edd_item_quantities_enabled() ) : ?> <td></td> <?php endif; ?> <td class="edd_fee_amount"><?php echo edd_currency_filter( edd_format_amount( $fee['amount'] ) ); ?></td> </tr> <?php endforeach; ?> <?php endif; ?> </tbody> </table> <?php endif; ?>
Called by
Invoked by
Calls
1 to 30 of 32
- edd_currency_filter() – Formats the currency display
- edd_format_amount() – Returns a nicely formatted amount.
- edd_get_bundle_item_id() – Retrieve the ID of an item in a bundle.
- edd_get_bundle_item_price_id() – Retrieve the price ID of a bundle item.
- edd_get_bundle_item_title() – Get a fully formatted title of a bundle item
- edd_get_bundled_products() – Retrieves the product IDs of bundled products
- edd_get_cart_item_price_id() – Get cart item price id
- edd_get_download_file_url() – Get Download File Url Constructs a secure file download url for a specific file.
- edd_get_download_files() – Gets all download files for a product
- edd_get_download_sku() – Retrieves a download SKU by ID.
- edd_get_file_name() – Retrieves a file name for a product’s download file
- edd_get_gateway_checkout_label() – Returns the checkout label for the specified gateway
- edd_get_payment_fees() – Retrieves arbitrary fees for the payment
- edd_get_payment_gateway() – Get the gateway associated with a payment
- edd_get_payment_meta_cart_details() – Get the cart_details Key from Payment Meta
- edd_get_payment_meta_user_info() – Get the user_info Key from Payment Meta
- edd_get_payment_meta() – Get Payment Meta for a specific Payment
- edd_get_payment_number() – Get the payment order number
- edd_get_payment_status() – Get Payment Status
- edd_get_payment_user_email() – Get the user email associated with a payment
- edd_get_price_option_name() – Retrieves the name of a variable price option
- edd_get_product_notes() – Get product notes
- edd_has_variable_prices() – Checks to see if a download has variable prices enabled.
- edd_is_bundled_product() – Determines if a product is a bundle
- edd_is_payment_complete() – Checks whether a payment has been marked as complete.
- edd_item_quantities_enabled() – Check if quantities are enabled
- edd_payment_amount() – Get the fully formatted payment amount. The payment amount is retrieved using edd_get_payment_amount() and is then sent through edd_currency_filter() and edd_format_amount() to format the amount correctly.
- edd_payment_subtotal() – Retrieves subtotal for payment (this is the amount before taxes) and then returns a full formatted amount. This function essentially calls edd_get_payment_subtotal()
- edd_payment_tax() – Retrieves taxed amount for payment and then returns a full formatted amount This function essentially calls edd_get_payment_tax()
- edd_receipt_show_download_files() – Show a download’s files in the purchase receipt
Call hooks
1 to 9 of 9
- edd_payment_receipt_after – action
- edd_payment_receipt_after_table – action
- edd_payment_receipt_before – action
- edd_payment_receipt_products_title – filter
- edd_purchase_receipt_after_files – action
- edd_receipt_bundle_files – action
- edd_receipt_files – action
- edd_receipt_no_files_found_text – filter
- edd_user_can_view_receipt_item – filter