PATH:
home
/
letacommog
/
aacote
/
wp-content
/
plugins
/
dc-woocommerce-multi-vendor
/
templates
<?php /** * The template for displaying vendor dashboard * * Override this template by copying it to yourtheme/dc-product-vendor/customer_support_details_to_buyer.php * * @author WC Marketplace * @package WCMp/Templates * @version 2.3.0 */ if ( ! defined( 'ABSPATH' ) ) exit; // Exit if accessed directly global $WCMp; ?> <table style="width:100%; color: #737373; border: 1px solid #e4e4e4; background:none;" border="0" cellpadding="8" cellspacing="0"> <tbody> <?php $cc = 0; if( apply_filters('wcmp_vendor_can_overwrite_customer_support', true) ) { foreach ( $vendor_array as $vendor_id => $products) { if(is_user_wcmp_vendor($vendor_id)){ $vendor_meta = get_user_meta( $vendor_id ); // if( ( // isset($vendor_meta['_vendor_customer_phone'][0]) && // isset($vendor_meta['_vendor_customer_email'][0]) && // isset($vendor_meta['_vendor_csd_return_address1'][0]) && // isset($vendor_meta['_vendor_csd_return_city'][0]) && // isset($vendor_meta['_vendor_csd_return_state'][0]) && // isset($vendor_meta['_vendor_csd_return_zip'][0]) // ) // ) { ?> <?php if($cc == 0) { ?> <tr> <th style="padding:10px 10px; background:none; border-right: 1px solid #e4e4e4; border-bottom: 1px solid #e4e4e4; width:100%;" align="left" valign="top"><?php echo __('Vendor Details', 'dc-woocommerce-multi-vendor'); ?></th> </tr> <?php } ?> <tr> <td style="padding:10px 10px; background:none; border-right: 1px solid #e4e4e4; border-bottom: 1px solid #e4e4e4; width:100%;" align="left" valign="top"> <p><strong><?php echo __('Vendor Name', 'dc-woocommerce-multi-vendor');?> </strong><br> <?php echo $vendor_meta['nickname'][0] ?> </p> <p><strong><?php echo __('Product Name', 'dc-woocommerce-multi-vendor');?> </strong> <br> <?php echo $products; ?> </p> <p style="border-bottom:1px solid #eeeeee; padding-bottom:10px"> <strong><?php echo __('Customer Support Details', 'dc-woocommerce-multi-vendor');?></strong></p> <?php if(isset($vendor_meta['_vendor_customer_email'][0])) { ?> <p><strong><?php echo __('Email : ','dc-woocommerce-multi-vendor');?></strong><br> <a style="color:#505050;font-weight:normal;text-decoration:underline" href="mailto:<?php echo $vendor_meta['_vendor_customer_email'][0]; ?>" target="_blank"><?php echo $vendor_meta['_vendor_customer_email'][0]; ?></a> </p> <?php }?> <?php if(isset($vendor_meta['_vendor_customer_phone'][0])) { ?> <p><strong><?php echo __('Phone : ','dc-woocommerce-multi-vendor'); ?></strong> <br> <?php echo $vendor_meta['_vendor_customer_phone'][0]; ?></p> <?php }?> <p><strong><?php echo __('Return Address ', 'dc-woocommerce-multi-vendor');?></strong></p> <p> <?php if(isset($vendor_meta['_vendor_csd_return_address1'][0])) { echo $vendor_meta['_vendor_csd_return_address1'][0]; ?><br> <?php }?> <?php if(isset($vendor_meta['_vendor_csd_return_address2'][0])) { echo $vendor_meta['_vendor_csd_return_address2'][0]; ?><br> <?php }?> <?php if(isset($vendor_meta['_vendor_csd_return_city'][0])) { echo $vendor_meta['_vendor_csd_return_city'][0]; ?><br> <?php }?> <?php if(isset($vendor_meta['_vendor_csd_return_state'][0])) { echo $vendor_meta['_vendor_csd_return_state'][0]; ?><br> <?php }?> <?php if(isset($vendor_meta['_vendor_csd_return_country'][0])) { echo $vendor_meta['_vendor_csd_return_country'][0]; ?><br> <?php }?> <?php if(isset($vendor_meta['_vendor_csd_return_zip'][0])) { echo $vendor_meta['_vendor_csd_return_zip'][0]; } ?> </p> </td> </tr> <?php $cc++; } } } else { ?> <tr> <th style="padding:10px 10px; background:none; border-right: 1px solid #e4e4e4; border-bottom: 1px solid #e4e4e4; width:100%;" align="left" valign="top"><?php echo __('Customer Support Details & Product Return Address', 'dc-woocommerce-multi-vendor'); ?></th> </tr> <tr> <td style="padding:10px 10px; background:none; border-right: 1px solid #e4e4e4; border-bottom: 1px solid #e4e4e4; width:100%;" align="left" valign="top"> <p style="border-bottom:1px solid #eeeeee; padding-bottom:10px"> <strong><?php echo __('Customer Support Details', 'dc-woocommerce-multi-vendor');?></strong></p> <?php if(isset($customer_support_details_settings['csd_email'])) { ?> <p><strong><?php echo __('Email : ','dc-woocommerce-multi-vendor');?></strong><br> <a style="color:#505050;font-weight:normal;text-decoration:underline" href="mailto:<?php echo $customer_support_details_settings['csd_email']; ?>" target="_blank"><?php echo $customer_support_details_settings['csd_email']; ?></a> </p> <?php }?> <?php if(isset($customer_support_details_settings['csd_phone'])) { ?> <p><strong><?php echo __('Phone : ','dc-woocommerce-multi-vendor'); ?></strong> <br> <?php echo $customer_support_details_settings['csd_phone'];?></p> <?php }?> <p><strong><?php echo __('Return Address ', 'dc-woocommerce-multi-vendor');?></strong></p> <p> <?php if(isset($customer_support_details_settings['csd_return_address_1'])) { ?> <?php echo $customer_support_details_settings['csd_return_address_1']; ?><br> <?php }?> <?php if(isset($customer_support_details_settings['csd_return_address_2'])) { ?> <?php echo $customer_support_details_settings['csd_return_address_2']; ?><br> <?php }?> <?php if(isset($customer_support_details_settings['csd_return_city'])) { ?> <?php echo $customer_support_details_settings['csd_return_city'];?> <br> <?php }?> <?php if(isset($customer_support_details_settings['csd_return_state'])) { ?> <?php echo $customer_support_details_settings['csd_return_state']; ?><br> <?php }?> <?php if(isset($customer_support_details_settings['csd_return_country'])) { ?> <?php echo $customer_support_details_settings['csd_return_country'];?><br> <?php }?> <?php if(isset($customer_support_details_settings['csd_return_zipcode'])) { ?> <?php echo $customer_support_details_settings['csd_return_zipcode'];?> <?php }?> </p> </tr> <?php }?> </tbody> </table>
[+]
..
[+]
non-vendor
[-] vendor_message_to_buyer.php
[edit]
[-] archive_vendor_info.php
[edit]
[-] vendor_tab.php
[edit]
[-] template-vendor-dashboard.php
[edit]
[+]
review
[-] customer_support_details_to_buyer.php
[edit]
[+]
widget
[+]
single-product
[+]
vendor-dashboard
[+]
shortcode
[-] vendor_registration_form.php
[edit]
[-] wcmp-customer-qna-form.php
[edit]
[-] wcmp-vendor-review-form.php
[edit]
[-] policies_tab.php
[edit]
[+]
emails
[-] taxonomy-dc_vendor_shop.php
[edit]