PATH:
home
/
letacommog
/
aacote
/
wp-content
/
plugins
/
dc-woocommerce-multi-vendor
/
templates
/
shortcode
<?php /** * The template for displaying vendor dashboard * * Override this template by copying it to yourtheme/dc-product-vendor/shortcode/vendor_dashboard.php * * @author WC Marketplace * @package WCMp/Templates * @version 2.3.0 */ if (!defined('ABSPATH')) { // Exit if accessed directly exit; } global $WCMp; do_action('before_wcmp_vendor_dashboard'); //wc_print_notices(); $WCMp->template->get_template('vendor-dashboard/dashboard-header.php'); do_action('wcmp_vendor_dashboard_navigation', array()); $is_single = !is_null($WCMp->endpoints->get_current_endpoint_var()) ? '-single' : ''; ?> <div id="page-wrapper" class="side-collapse-container"> <div id="current-endpoint-title-wrapper" class="current-endpoint-title-wrapper"> <div class="current-endpoint"> <?php echo $WCMp->vendor_hooks->wcmp_create_vendor_dashboard_breadcrumbs($WCMp->endpoints->get_current_endpoint()); ?> </div> </div> <!-- /.row --> <div class="content-padding gray-bkg <?php echo $WCMp->endpoints->get_current_endpoint() ? $WCMp->endpoints->get_current_endpoint().$is_single : 'dashboard'; ?>"> <div class="notice-wrapper"> <?php wc_print_notices(); ?> </div> <div class="row"> <?php $is_block = get_user_meta(get_current_vendor_id(), '_vendor_turn_off', true); if($is_block) { ?> <div class="col-md-12 text-center"> <div class="panel wcmp-suspended-vendor-notice content-padding"> <?php echo apply_filters( 'wcmp_suspended_vendor_dashboard_message', sprintf( __('Your account has been suspended by the admin due to some suspicious activity. Please contact your <a href="mailto:%s">admin</a> for further information.', 'dc-woocommerce-multi-vendor'), get_option('admin_email')) ); ?> </div> </div> <?php } else { do_action('wcmp_vendor_dashboard_content'); }?> </div> </div> </div> <?php $WCMp->template->get_template('vendor-dashboard/dashboard-footer.php'); do_action('after_wcmp_vendor_dashboard');
[+]
..
[-] pending_vendor_dashboard.php
[edit]
[-] vendor_lists.php
[edit]
[-] rejected_vendor_dashboard.php
[edit]
[-] vendor_coupon.php
[edit]
[-] non_vendor_dashboard.php
[edit]
[-] vendor_registration.php
[edit]
[-] vendor_dashboard.php
[edit]