PATH:
home
/
letacommog
/
aacote
/
wp-content
/
plugins
/
dc-woocommerce-multi-vendor
/
templates
/
emails
/
plain
<?php /** * The template for displaying demo plugin content. * * Override this template by copying it to yourtheme/dc-product-vendor/emails/plain/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 ) ); echo $email_heading . "\n\n"; echo sprintf( __( 'A new order was received and marked as completed from %s. Their order is as follows:', 'dc-woocommerce-multi-vendor' ), $order->get_billing_first_name() . ' ' . $order->get_billing_last_name() ) . "\n\n"; echo "****************************************************\n\n"; do_action( 'woocommerce_email_before_order_table', $order, $sent_to_admin, $plain_text ); echo sprintf( __( 'Order Number: %s', 'dc-woocommerce-multi-vendor'), $order->get_order_number() ) . "\n"; echo sprintf( __( 'Order Link: %s', 'dc-woocommerce-multi-vendor'), admin_url( 'post.php?post=' . $order->get_id() . '&action=edit' ) ) . "\n"; echo sprintf( __( 'Order Date: %s', 'dc-woocommerce-multi-vendor'), date_i18n( __( 'jS F Y', 'dc-woocommerce-multi-vendor' ), strtotime( $order->get_date_created() ) ) ) . "\n"; do_action( 'woocommerce_email_order_meta', $order, $sent_to_admin, $plain_text ); $vendor->plain_vendor_order_item_table($order, $vendor->term_id); echo "----------\n\n"; if(apply_filters('show_cust_order_calulations_field', true, $vendor->id)) { $totals = $vendor->wcmp_vendor_get_order_item_totals($order, $vendor->term_id); if ( $totals ) { foreach ( $totals as $total ) { echo $total['label'] . "\t " . $total['value'] . "\n"; } } } echo "\n****************************************************\n\n"; do_action( 'woocommerce_email_after_order_table', $order, $sent_to_admin, $plain_text ); if(apply_filters('show_cust_address_field', true, $vendor->id)) { echo __( 'Customer Details', 'dc-woocommerce-multi-vendor' ) . "\n"; if ( $order->get_billing_email() ) echo __( 'Email:', 'dc-woocommerce-multi-vendor' ); echo $order->get_billing_email() . "\n"; if ( $order->get_billing_phone() ) echo __( 'Telephone:', 'dc-woocommerce-multi-vendor' ); ?> <?php echo $order->get_billing_phone() . "\n"; } if(apply_filters('show_cust_billing_address_field', true, $vendor->id)) { echo "\n" . __( 'Billing Address', 'dc-woocommerce-multi-vendor' ) . ":\n"; echo $order->get_formatted_billing_address() . "\n\n"; } if(apply_filters('show_cust_shipping_address_field', true, $vendor->id)) { if ( get_option( 'woocommerce_ship_to_billing_address_only' ) == 'no' && ( $shipping = $order->get_formatted_shipping_address() ) ) { echo __( 'Shipping Address', 'dc-woocommerce-multi-vendor' ) . ":\n"; echo $shipping . "\n\n"; } } echo "\n****************************************************\n\n"; echo apply_filters( 'wcmp_email_footer_text', get_option( 'wcmp_email_footer_text' ) );
[+]
..
[-] vendor-new-order.php
[edit]
[-] admin-widthdrawal-request.php
[edit]
[-] vendor-commissions-transaction.php
[edit]
[-] vendor-notify-shipped.php
[edit]
[-] rejected-vendor-account.php
[edit]
[-] admin-new-vendor-account.php
[edit]
[-] vendor-direct-bank.php
[edit]
[-] vendor-orders-stats-report.php
[edit]
[-] approved-vendor-account.php
[edit]
[-] new-admin-product.php
[edit]
[-] vendor-contact-widget-email.php
[edit]
[-] vendor-new-account.php
[edit]
[-] new-product.php
[edit]