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-new-order.php * * @author WC Marketplace * @package dc-product-vendor/Templates * @version 0.0.1 */ if (!defined('ABSPATH')) exit; // Exit if accessed directly global $WCMp; $vendor = get_wcmp_vendor(absint($vendor_id)); do_action( 'woocommerce_email_header', $email_heading, $email ); ?> <p><?php printf(__('A new order was received and marked as processing from %s. Their order is as follows:', 'dc-woocommerce-multi-vendor'), $order->get_billing_first_name() . ' ' . $order->get_billing_last_name()); ?></p> <?php do_action('woocommerce_email_before_order_table', $order, true, false); ?> <table cellspacing="0" cellpadding="6" style="width: 100%; border: 1px solid #eee;" border="1" bordercolor="#eee"> <thead> <tr> <?php do_action('wcmp_before_vendor_order_table_header', $order, $vendor->term_id); ?> <th scope="col" style="text-align:left; border: 1px solid #eee;"><?php _e('Product', 'dc-woocommerce-multi-vendor'); ?></th> <th scope="col" style="text-align:left; border: 1px solid #eee;"><?php _e('Quantity', 'dc-woocommerce-multi-vendor'); ?></th> <th scope="col" style="text-align:left; border: 1px solid #eee;"><?php _e('Commission', 'dc-woocommerce-multi-vendor'); ?></th> <?php do_action('wcmp_after_vendor_order_table_header', $order, $vendor->term_id); ?> </tr> </thead> <tbody> <?php $vendor->vendor_order_item_table($order, $vendor->term_id); ?> </tbody> </table> <?php if (apply_filters('show_cust_order_calulations_field', true, $vendor->id)) { ?> <table cellspacing="0" cellpadding="6" style="width: 100%; border: 1px solid #eee;" border="1" bordercolor="#eee"> <?php $totals = $vendor->wcmp_vendor_get_order_item_totals($order, $vendor->term_id); if ($totals) { foreach ($totals as $total_key => $total) { ?><tr> <th scope="row" colspan="2" style="text-align:left; border: 1px solid #eee;"><?php echo $total['label']; ?></th> <td style="text-align:left; border: 1px solid #eee;"><?php echo $total['value']; ?></td> </tr><?php } } ?> </table> <?php } if (apply_filters('show_cust_address_field', true, $vendor->id)) { ?> <h2><?php _e('Customer Details', 'dc-woocommerce-multi-vendor'); ?></h2> <?php if ($order->get_billing_email()) { ?> <p><strong><?php _e('Customer Name:', 'dc-woocommerce-multi-vendor'); ?></strong> <?php echo $order->get_billing_first_name() . ' ' . $order->get_billing_last_name(); ?></p> <p><strong><?php _e('Email:', 'dc-woocommerce-multi-vendor'); ?></strong> <?php echo $order->get_billing_email(); ?></p> <?php } ?> <?php if ($order->get_billing_phone()) { ?> <p><strong><?php _e('Telephone:', 'dc-woocommerce-multi-vendor'); ?></strong> <?php echo $order->get_billing_phone(); ?></p> <?php } } if (apply_filters('show_cust_billing_address_field', true, $vendor->id)) { ?> <table cellspacing="0" cellpadding="0" style="width: 100%; vertical-align: top;" border="0"> <tr> <td valign="top" width="50%"> <h3><?php _e('Billing Address', 'dc-woocommerce-multi-vendor'); ?></h3> <p><?php echo $order->get_formatted_billing_address(); ?></p> </td> </tr> </table> <?php } ?> <?php if (apply_filters('show_cust_shipping_address_field', true, $vendor->id)) { ?> <?php if (( $shipping = $order->get_formatted_shipping_address())) { ?> <table cellspacing="0" cellpadding="0" style="width: 100%; vertical-align: top;" border="0"> <tr> <td valign="top" width="50%"> <h3><?php _e('Shipping Address', 'dc-woocommerce-multi-vendor'); ?></h3> <p><?php echo $shipping; ?></p> </td> </tr> </table> <?php } } ?> <?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