?> "> <td class="edd_cart_fee_label"><?php echo esc_html($fee['label']); ?> </td> <td class="edd_cart_fee_amount"><?php echo esc_html(edd_currency_filter(edd_format_amount($fee['amount']))); ?> </td> <td> <?php if (!empty($fee['type']) && 'item' == $fee['type']) { ?> <a href="<?php echo esc_url(edd_remove_cart_fee_url($fee_id)); ?> "><?php esc_html_e('Remove', 'helium'); ?> </a> <?php } ?> </td> </tr> <?php } ?> <?php }
</tr> <?php endforeach; ?> <?php endif; ?> <?php do_action( 'edd_cart_items_middle' ); ?> <!-- Show any cart fees, both positive and negative fees --> <?php if( edd_cart_has_fees() ) : ?> <?php foreach( edd_get_cart_fees() as $fee_id => $fee ) : ?> <tr class="edd_cart_fee" id="edd_cart_fee_<?php echo $fee_id; ?>"> <?php do_action( 'edd_cart_fee_rows_before', $fee_id, $fee ); ?> <td class="edd_cart_fee_label"><?php echo esc_html( $fee['label'] ); ?></td> <td class="edd_cart_fee_amount"><?php echo esc_html( edd_currency_filter( edd_format_amount( $fee['amount'] ) ) ); ?></td> <td> <?php if( ! empty( $fee['type'] ) && 'item' == $fee['type'] ) : ?> <a href="<?php echo esc_url( edd_remove_cart_fee_url( $fee_id ) ); ?>"><?php _e( 'Remove', 'edd' ); ?></a> <?php endif; ?> </td> <?php do_action( 'edd_cart_fee_rows_after', $fee_id, $fee ); ?> </tr> <?php endforeach; ?> <?php endif; ?> <?php do_action( 'edd_cart_items_after' ); ?> </tbody> <tfoot> <?php if( has_action( 'edd_cart_footer_buttons' ) ) : ?>