PATH:
home
/
letacommog
/
aacote
/
wp-content
/
plugins
/
dc-woocommerce-multi-vendor
/
templates
/
emails
<?php /** * The template for displaying demo plugin content. * * Override this template by copying it to yourtheme/dc-product-vendor/emails/vendor-direct-bank.php * * @author WC Marketplace * @package dc-product-vendor/Templates * @version 0.0.1 */ if ( ! defined( 'ABSPATH' ) ) { exit; // Exit if accessed directly } global $WCMp; do_action( 'woocommerce_email_header', $email_heading, $email ); $amount = get_post_meta($transaction_id, 'amount', true) - get_post_meta($transaction_id, 'transfer_charge', true) - get_post_meta($transaction_id, 'gateway_charge', true); ?> <p><?php echo apply_filters( 'wcmp_thankyou_transaction_received_text', sprintf(__( 'Hello,<br>We have received a new withdrawal request for %s from you and your request is being processed.The order details are as follows:', 'dc-woocommerce-multi-vendor'), get_woocommerce_currency().$amount), $transaction_id ); ?></p> <table cellspacing="0" cellpadding="6" style="width: 100%; border: 1px solid #eee;" border="1" bordercolor="#eee"> <thead> <?php $commission_details = $WCMp->transaction->get_transaction_item_details($transaction_id); ?> <tr> <?php if(!empty($commission_details['header'])) { ?> <tr> <?php foreach ( $commission_details['header'] as $header_val ) { ?> <th style="text-align:left;" class="td" scope="col"><?php echo $header_val; ?></th><?php } ?> </tr> <?php } ?> </tr> </thead> <tbody> <?php if(!empty($commission_details['body'])) { foreach ( $commission_details['body'] as $commission_detail ) { ?> <tr> <?php foreach($commission_detail as $details) { foreach($details as $detail_key => $detail) { ?> <td style="text-align:left; vertical-align:middle; border: 1px solid #eee; word-wrap:break-word;" class="td" scope="col"><?php echo $detail; ?></td><?php } } ?> </tr><?php } } if ( $totals = $WCMp->transaction->get_transaction_item_totals($transaction_id, $vendor) ) { foreach ( $totals as $total ) { ?><tr> <td style="text-align:left; vertical-align:middle; border: 1px solid #eee; word-wrap:break-word;" class="td" scope="col" colspan="2" ><?php echo $total['label']; ?></td> <td style="text-align:left; vertical-align:middle; border: 1px solid #eee; word-wrap:break-word;" class="td" scope="col" ><?php echo $total['value']; ?></td> </tr><?php } } ?> </tbody> </table> <?php do_action( 'wcmp_email_footer' ); ?>
[+]
..
[-] vendor-commissions-transaction.php
[edit]
[-] vendor-new-account.php
[edit]
[-] new-product.php
[edit]
[-] admin-new-vendor-account.php
[edit]
[-] admin-widthdrawal-request.php
[edit]
[-] new-admin-product.php
[edit]
[-] rejected-vendor-account.php
[edit]
[-] email-footer.php
[edit]
[-] vendor-orders-stats-report.php
[edit]
[-] vendor-direct-bank.php
[edit]
[-] vendor-new-order.php
[edit]
[-] vendor-contact-widget-email.php
[edit]
[-] vendor-notify-shipped.php
[edit]
[-] approved-vendor-account.php
[edit]
[+]
plain