Version Description
Download this release
Release Info
Developer | digitalchild |
Plugin | WC Vendors |
Version | 2.1.6 |
Comparing to | |
See all releases |
Code changes from version 2.1.5 to 2.1.6
- changelog.txt +16 -0
- class-wc-vendors.php +5 -5
- classes/admin/class-admin-menus.php +5 -6
- classes/admin/class-setup-wizard.php +14 -0
- classes/admin/class-wcv-admin-setup.php +3 -0
- classes/admin/settings/class-wcv-settings-capabilities.php +1 -1
- classes/admin/views/setup/ready.php +31 -16
- classes/class-install.php +92 -1
- classes/front/dashboard/class-vendor-dashboard.php +7 -5
- classes/includes/wcv-update-functions.php +12 -5
- languages/wc-vendors.pot +188 -60
- package.json +1 -1
- readme.txt +15 -4
changelog.txt
CHANGED
@@ -1,5 +1,17 @@
|
|
1 |
Changelog for WC Vendors Marketplace
|
2 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
3 |
Version 2.1.5
|
4 |
|
5 |
* Added: Quantity to the commissions table
|
@@ -10,6 +22,10 @@ Version 2.1.5
|
|
10 |
* Updated: language file (#532)
|
11 |
* Fixed: Put description below textarea for settings pages (#536)
|
12 |
|
|
|
|
|
|
|
|
|
13 |
Version 2.1.4
|
14 |
|
15 |
* Added: Filter to modify terms error message
|
1 |
Changelog for WC Vendors Marketplace
|
2 |
|
3 |
+
Version 2.1.6
|
4 |
+
|
5 |
+
* Added: newsletter signup in setup wizard
|
6 |
+
* Added: New vendor capabilities
|
7 |
+
* Updated: Tested to 5.2.0 alpha
|
8 |
+
* Updated: Language files
|
9 |
+
* Fixed: Saving some shortcodes get Update failed notice in Gutenberg #540
|
10 |
+
* Fixed: Commission table issue in Firefox #539
|
11 |
+
* Fixed: Incorrect link for listing edit products
|
12 |
+
* Fixed: Several language references
|
13 |
+
|
14 |
+
|
15 |
Version 2.1.5
|
16 |
|
17 |
* Added: Quantity to the commissions table
|
22 |
* Updated: language file (#532)
|
23 |
* Fixed: Put description below textarea for settings pages (#536)
|
24 |
|
25 |
+
Templates Updated:
|
26 |
+
templates/dashboard/links.php
|
27 |
+
templates/dashboard/navigation.php
|
28 |
+
|
29 |
Version 2.1.4
|
30 |
|
31 |
* Added: Filter to modify terms error message
|
class-wc-vendors.php
CHANGED
@@ -7,18 +7,18 @@
|
|
7 |
* Author URI: https://www.wcvendors.com
|
8 |
* GitHub Plugin URI: https://github.com/wcvendors/wcvendors
|
9 |
*
|
10 |
-
* Version: 2.1.
|
11 |
* Requires at least: 4.4.0
|
12 |
-
* Tested up to: 5.
|
13 |
* WC requires at least: 3.3.0
|
14 |
-
* WC tested up to: 3.5.
|
15 |
*
|
16 |
* Text Domain: wc-vendors
|
17 |
* Domain Path: /languages/
|
18 |
*
|
19 |
* @category Plugin
|
20 |
* @copyright Copyright © 2012 Matt Gates
|
21 |
-
* @copyright Copyright ©
|
22 |
* @author Matt Gates, WC Vendors
|
23 |
* @package WCVendors
|
24 |
* @license GPL2
|
@@ -97,7 +97,7 @@ if ( wcv_is_woocommerce_activated() ) {
|
|
97 |
*/
|
98 |
class WC_Vendors {
|
99 |
|
100 |
-
public $version = '2.1.
|
101 |
|
102 |
/**
|
103 |
* @var
|
7 |
* Author URI: https://www.wcvendors.com
|
8 |
* GitHub Plugin URI: https://github.com/wcvendors/wcvendors
|
9 |
*
|
10 |
+
* Version: 2.1.6
|
11 |
* Requires at least: 4.4.0
|
12 |
+
* Tested up to: 5.1
|
13 |
* WC requires at least: 3.3.0
|
14 |
+
* WC tested up to: 3.5.6
|
15 |
*
|
16 |
* Text Domain: wc-vendors
|
17 |
* Domain Path: /languages/
|
18 |
*
|
19 |
* @category Plugin
|
20 |
* @copyright Copyright © 2012 Matt Gates
|
21 |
+
* @copyright Copyright © 2019 WC Vendors
|
22 |
* @author Matt Gates, WC Vendors
|
23 |
* @package WCVendors
|
24 |
* @license GPL2
|
97 |
*/
|
98 |
class WC_Vendors {
|
99 |
|
100 |
+
public $version = '2.1.6';
|
101 |
|
102 |
/**
|
103 |
* @var
|
classes/admin/class-admin-menus.php
CHANGED
@@ -205,15 +205,14 @@ class WCVendors_Admin_Menus {
|
|
205 |
}
|
206 |
|
207 |
echo '<style type="text/css">';
|
208 |
-
echo '.wp-list-table .column-
|
209 |
-
echo '.wp-list-table .column-
|
210 |
-
echo '.wp-list-table .column-order_id { width: 5%; }';
|
211 |
echo '.wp-list-table .column-vendor_id { width: 12%; }';
|
212 |
echo '.wp-list-table .column-total_due { width: 10%;}';
|
213 |
-
echo '.wp-list-table .column-total_shipping { width:
|
214 |
echo '.wp-list-table .column-tax { width: 5%;}';
|
215 |
-
echo '.wp-list-table .column-totals { width:
|
216 |
-
echo '.wp-list-table .column-status { width:
|
217 |
echo '.wp-list-table .column-time { width: 10%;}';
|
218 |
echo '</style>';
|
219 |
|
205 |
}
|
206 |
|
207 |
echo '<style type="text/css">';
|
208 |
+
echo '.wp-list-table .column-qty { width: 8%; }';
|
209 |
+
echo '.wp-list-table .column-order_id { width: 8%; }';
|
|
|
210 |
echo '.wp-list-table .column-vendor_id { width: 12%; }';
|
211 |
echo '.wp-list-table .column-total_due { width: 10%;}';
|
212 |
+
echo '.wp-list-table .column-total_shipping { width: 8%;}';
|
213 |
echo '.wp-list-table .column-tax { width: 5%;}';
|
214 |
+
echo '.wp-list-table .column-totals { width: 6%;}';
|
215 |
+
echo '.wp-list-table .column-status { width: 7%;}';
|
216 |
echo '.wp-list-table .column-time { width: 10%;}';
|
217 |
echo '</style>';
|
218 |
|
classes/admin/class-setup-wizard.php
CHANGED
@@ -235,6 +235,19 @@ class WCVendors_Admin_Setup_Wizard {
|
|
235 |
return $user_email;
|
236 |
}
|
237 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
238 |
/**
|
239 |
* Initial "marketplace setup" step.
|
240 |
* Vendor registration, taxes and shipping
|
@@ -387,6 +400,7 @@ class WCVendors_Admin_Setup_Wizard {
|
|
387 |
flush_rewrite_rules();
|
388 |
|
389 |
$user_email = $this->get_current_user_email();
|
|
|
390 |
$forums = 'https://wordpress.org/support/plugin/wc-vendors';
|
391 |
$docs_url = 'https://docs.wcvendors.com/?utm_source=setup_wizard&utm_medium=plugin&utm_campaign=setup_complete';
|
392 |
$help_text = sprintf(
|
235 |
return $user_email;
|
236 |
}
|
237 |
|
238 |
+
/**
|
239 |
+
* Helper method to retrieve the current user's firt name
|
240 |
+
*
|
241 |
+
* @return string Email address
|
242 |
+
*/
|
243 |
+
protected function get_current_user_firstname() {
|
244 |
+
|
245 |
+
$current_user = wp_get_current_user();
|
246 |
+
$first_name = $current_user->user_firstname;
|
247 |
+
|
248 |
+
return $first_name;
|
249 |
+
}
|
250 |
+
|
251 |
/**
|
252 |
* Initial "marketplace setup" step.
|
253 |
* Vendor registration, taxes and shipping
|
400 |
flush_rewrite_rules();
|
401 |
|
402 |
$user_email = $this->get_current_user_email();
|
403 |
+
$first_name = $this->get_current_user_firstname();
|
404 |
$forums = 'https://wordpress.org/support/plugin/wc-vendors';
|
405 |
$docs_url = 'https://docs.wcvendors.com/?utm_source=setup_wizard&utm_medium=plugin&utm_campaign=setup_complete';
|
406 |
$help_text = sprintf(
|
classes/admin/class-wcv-admin-setup.php
CHANGED
@@ -148,6 +148,9 @@ class WCV_Admin_Setup {
|
|
148 |
)
|
149 |
);
|
150 |
|
|
|
|
|
|
|
151 |
echo '<div class="updated inline"><p>' . __( 'WC Vendor roles successfully reset.', 'wc-vendors' ) . '</p></div>';
|
152 |
|
153 |
} // reset_vendor_roles()
|
148 |
)
|
149 |
);
|
150 |
|
151 |
+
// Reset the capabilities
|
152 |
+
WCVendors_Install::create_capabilities();
|
153 |
+
|
154 |
echo '<div class="updated inline"><p>' . __( 'WC Vendor roles successfully reset.', 'wc-vendors' ) . '</p></div>';
|
155 |
|
156 |
} // reset_vendor_roles()
|
classes/admin/settings/class-wcv-settings-capabilities.php
CHANGED
@@ -189,7 +189,7 @@ if ( ! class_exists( 'WCVendors_Settings_Capabilities', false ) ) :
|
|
189 |
),
|
190 |
|
191 |
array(
|
192 |
-
'title' => __( 'Customer
|
193 |
'desc' => sprintf( __( 'Allow %s to view customer shipping name fields', 'wc-vendors' ), wcv_get_vendor_name( false, false ) ),
|
194 |
'id' => 'wcvendors_capability_order_customer_shipping_name',
|
195 |
'default' => 'yes',
|
189 |
),
|
190 |
|
191 |
array(
|
192 |
+
'title' => __( 'Customer Shipping Name', 'wc-vendors' ),
|
193 |
'desc' => sprintf( __( 'Allow %s to view customer shipping name fields', 'wc-vendors' ), wcv_get_vendor_name( false, false ) ),
|
194 |
'id' => 'wcvendors_capability_order_customer_shipping_name',
|
195 |
'default' => 'yes',
|
classes/admin/views/setup/ready.php
CHANGED
@@ -11,31 +11,46 @@ if ( ! defined( 'ABSPATH' ) ) {
|
|
11 |
|
12 |
<h1><?php esc_html_e( 'Your marketplace is ready!', 'wc-vendors' ); ?></h1>
|
13 |
|
14 |
-
|
15 |
-
|
16 |
-
|
17 |
-
|
18 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
19 |
class="newsletter-form-email"
|
20 |
type="email"
|
21 |
value="<?php echo esc_attr( $user_email ); ?>"
|
22 |
name="EMAIL"
|
23 |
placeholder="<?php esc_attr_e( 'Email address', 'wc-vendors' ); ?>"
|
24 |
required
|
25 |
-
|
26 |
-
|
27 |
-
|
28 |
-
|
29 |
-
|
30 |
-
|
31 |
-
|
32 |
-
|
33 |
-
|
34 |
-
|
35 |
</div>
|
|
|
|
|
|
|
|
|
|
|
|
|
36 |
</form>
|
37 |
</div>
|
38 |
-
|
39 |
<ul class="wcv-wizard-next-steps">
|
40 |
<li class="wcv-wizard-next-step-item">
|
41 |
<div class="wcv-wizard-next-step-description">
|
11 |
|
12 |
<h1><?php esc_html_e( 'Your marketplace is ready!', 'wc-vendors' ); ?></h1>
|
13 |
|
14 |
+
<div class="wcvendors-message wcvendors-newsletter">
|
15 |
+
<script type='text/javascript' src='//s3.amazonaws.com/downloads.mailchimp.com/js/mc-validate.js'></script><script type='text/javascript'>(function($) {window.fnames = new Array(); window.ftypes = new Array();fnames[0]='EMAIL';ftypes[0]='email';fnames[1]='FNAME';ftypes[1]='text';fnames[2]='LNAME';ftypes[2]='text';fnames[3]='ADDRESS';ftypes[3]='address';fnames[4]='PHONE';ftypes[4]='phone';}(jQuery));var $mcj = jQuery.noConflict(true);</script>
|
16 |
+
<p><?php esc_html_e( 'Subscribe to our newsletter! Get product updates, marketplace tips, information and more.', 'wc-vendors' ); ?></p>
|
17 |
+
<form action="https://wcvendors.us20.list-manage.com/subscribe/post?u=c70c537d05355fa9ec97e8134&id=462e6aa9c6" method="post" id="mc-embedded-subscribe-form" name="mc-embedded-subscribe-form" class="validate" target="_blank" novalidate>
|
18 |
+
<div class="newsletter-form-container">
|
19 |
+
<input
|
20 |
+
class="newsletter-form-email"
|
21 |
+
type="text"
|
22 |
+
value="<?php echo esc_attr( $first_name ); ?>"
|
23 |
+
name="FNAME"
|
24 |
+
placeholder="<?php esc_attr_e( 'First name', 'wc-vendors' ); ?>"
|
25 |
+
required
|
26 |
+
>
|
27 |
+
<input
|
28 |
class="newsletter-form-email"
|
29 |
type="email"
|
30 |
value="<?php echo esc_attr( $user_email ); ?>"
|
31 |
name="EMAIL"
|
32 |
placeholder="<?php esc_attr_e( 'Email address', 'wc-vendors' ); ?>"
|
33 |
required
|
34 |
+
>
|
35 |
+
<p class="wcv-setup-actions step newsletter-form-button-container">
|
36 |
+
<button
|
37 |
+
type="submit"
|
38 |
+
value="<?php esc_html_e( 'Subscribe me', 'wc-vendors' ); ?>"
|
39 |
+
name="subscribe"
|
40 |
+
id="mc-embedded-subscribe"
|
41 |
+
class="button-primary button newsletter-form-button"
|
42 |
+
><?php esc_html_e( 'Subscribe me', 'wc-vendors' ); ?></button>
|
43 |
+
</p>
|
44 |
</div>
|
45 |
+
<div id="mce-responses" class="clear">
|
46 |
+
<div class="response" id="mce-error-response" style="display:none"></div>
|
47 |
+
<div class="response" id="mce-success-response" style="display:none"></div>
|
48 |
+
</div>
|
49 |
+
<!-- real people should not fill this in and expect good things - do not remove this or risk form bot signups-->
|
50 |
+
<div style="position: absolute; left: -5000px;" aria-hidden="true"><input type="text" name="b_c70c537d05355fa9ec97e8134_462e6aa9c6" tabindex="-1" value=""></div>
|
51 |
</form>
|
52 |
</div>
|
53 |
+
|
54 |
<ul class="wcv-wizard-next-steps">
|
55 |
<li class="wcv-wizard-next-step-item">
|
56 |
<div class="wcv-wizard-next-step-description">
|
classes/class-install.php
CHANGED
@@ -27,6 +27,9 @@ class WCVendors_Install {
|
|
27 |
'2.1.4' => array(
|
28 |
'wcv_can_view_customer_shipping_name_option',
|
29 |
),
|
|
|
|
|
|
|
30 |
);
|
31 |
|
32 |
|
@@ -143,7 +146,7 @@ class WCVendors_Install {
|
|
143 |
}
|
144 |
|
145 |
/**
|
146 |
-
* Add the new
|
147 |
*
|
148 |
* @return bool
|
149 |
*/
|
@@ -184,6 +187,35 @@ class WCVendors_Install {
|
|
184 |
'view_woocommerce_reports' => false,
|
185 |
)
|
186 |
);
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
187 |
}
|
188 |
|
189 |
|
@@ -492,7 +524,66 @@ class WCVendors_Install {
|
|
492 |
}
|
493 |
}
|
494 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
495 |
|
|
|
496 |
}
|
497 |
|
498 |
WCVendors_Install::init();
|
27 |
'2.1.4' => array(
|
28 |
'wcv_can_view_customer_shipping_name_option',
|
29 |
),
|
30 |
+
'2.1.6' => array(
|
31 |
+
'wcv_add_vendor_caps',
|
32 |
+
),
|
33 |
);
|
34 |
|
35 |
|
146 |
}
|
147 |
|
148 |
/**
|
149 |
+
* Add the new vendor role
|
150 |
*
|
151 |
* @return bool
|
152 |
*/
|
187 |
'view_woocommerce_reports' => false,
|
188 |
)
|
189 |
);
|
190 |
+
|
191 |
+
self::create_capabilities();
|
192 |
+
}
|
193 |
+
|
194 |
+
/**
|
195 |
+
* Create the new capabilities for vendors
|
196 |
+
*
|
197 |
+
* @since 2.1.6
|
198 |
+
*/
|
199 |
+
public static function create_capabilities(){
|
200 |
+
|
201 |
+
global $wp_roles;
|
202 |
+
|
203 |
+
if ( class_exists( 'WP_Roles' ) && ! isset( $wp_roles ) ) {
|
204 |
+
$wp_roles = new WP_Roles();
|
205 |
+
}
|
206 |
+
|
207 |
+
$capabilities = array();
|
208 |
+
$all_cap = self::get_vendor_caps();
|
209 |
+
|
210 |
+
foreach ( $all_cap as $key => $cap ) {
|
211 |
+
$capabilities = array_merge( $capabilities, array_keys( $cap ) );
|
212 |
+
}
|
213 |
+
|
214 |
+
foreach ( $capabilities as $key => $capability ) {
|
215 |
+
$wp_roles->add_cap( 'vendor', $capability );
|
216 |
+
$wp_roles->add_cap( 'administrator', $capability );
|
217 |
+
$wp_roles->add_cap( 'shop_manager', $capability );
|
218 |
+
}
|
219 |
}
|
220 |
|
221 |
|
524 |
}
|
525 |
}
|
526 |
|
527 |
+
/**
|
528 |
+
* Define the new capabilties for vendors
|
529 |
+
*
|
530 |
+
* @since 2.1.6
|
531 |
+
*/
|
532 |
+
public static function get_vendor_caps() {
|
533 |
+
|
534 |
+
$capabilities = array(
|
535 |
+
'dashboard' => array(
|
536 |
+
'wcv_view_sales_overview' => __( 'View sales overview', 'wc-vendors' ),
|
537 |
+
'wcv_view_sales_report_chart' => __( 'View sales report chart', 'wc-vendors' ),
|
538 |
+
'wcv_view_vendor_notice' => __( 'View vendor notices', 'wc-vendors' ),
|
539 |
+
'wcv_view_order_report' => __( 'View order report', 'wc-vendors' ),
|
540 |
+
'wcv_view_order_overview' => __( 'View order overview', 'wc-vendors' ),
|
541 |
+
'wcv_view_review_reports' => __( 'View ratings report', 'wc-vendors' ),
|
542 |
+
'wcv_view_product_status_report' => __( 'View product status report', 'wc-vendors' ),
|
543 |
+
),
|
544 |
+
'order' => array(
|
545 |
+
'wcv_view_order' => __( 'View order', 'wc-vendors' ),
|
546 |
+
'wcv_add_order_note' => __( 'Add order notes', 'wc-vendors' ),
|
547 |
+
'wcv_view_order_note' => __( 'View order notes', 'wc-vendors' ),
|
548 |
+
'wcv_manage_order_export' => __( 'Export orders', 'wc-vendors' ),
|
549 |
+
),
|
550 |
+
'order_customer' => array(
|
551 |
+
'wcv_view_name' => __( 'View customer name', 'wc-vendors' ),
|
552 |
+
'wcv_view_email' => __( 'View customer email address', 'wc-vendors' ),
|
553 |
+
'wcv_view_phone' => __( 'View customer phone number', 'wc-vendors' ),
|
554 |
+
'wcv_view_shipping_name' => __( 'View customer shipping name', 'wc-vendors' ),
|
555 |
+
'wcv_view_shipping' => __( 'View customer shipping address fields', 'wc-vendors' ),
|
556 |
+
'wcv_view_billing' => __( 'View customer billing address fields', 'wc-vendors' ),
|
557 |
+
'wcv_view_email' => __( 'View customer shipping name', 'wc-vendors' ),
|
558 |
+
),
|
559 |
+
'product' => array(
|
560 |
+
'wcv_add_product' => __( 'Add product', 'wc-vendors' ),
|
561 |
+
'wcv_edit_product' => __( 'Edit product', 'wc-vendors' ),
|
562 |
+
'wcv_edit_product_published' => __( 'Edit published product', 'wc-vendors' ),
|
563 |
+
'wcv_publish_product' => __( 'Publish product directly without approval', 'wc-vendors' ),
|
564 |
+
'wcv_delete_product' => __( 'Delete product', 'wc-vendors' ),
|
565 |
+
'wcv_duplicate_product' => __( 'Duplicate product', 'wc-vendors' ),
|
566 |
+
'wcv_view_product' => __( 'View product', 'wc-vendors' ),
|
567 |
+
|
568 |
+
),
|
569 |
+
// Not used yet
|
570 |
+
'report' => array(
|
571 |
+
'wcv_view_overview_report' => __( 'View overview report', 'wc-vendors' ),
|
572 |
+
'wcv_view_daily_sale_report' => __( 'View daily sales report', 'wc-vendors' ),
|
573 |
+
'wcv_view_top_selling_report' => __( 'View top selling report', 'wc-vendors' ),
|
574 |
+
'wcv_view_top_earning_report' => __( 'View top earning report', 'wc-vendors' ),
|
575 |
+
),
|
576 |
+
'menu' => array(
|
577 |
+
'wcv_view_dashboard_menu' => __( 'View dashboard menu', 'wc-vendors' ),
|
578 |
+
'wcv_view_product_menu' => __( 'View product menu', 'wc-vendors' ),
|
579 |
+
'wcv_view_order_menu' => __( 'View order menu', 'wc-vendors' ),
|
580 |
+
'wcv_view_store_settings_menu' => __( 'View store settings menu', 'wc-vendors' ),
|
581 |
+
),
|
582 |
+
);
|
583 |
+
|
584 |
+
return apply_filters( 'wcv_get_vendor_caps', $capabilities );
|
585 |
|
586 |
+
}
|
587 |
}
|
588 |
|
589 |
WCVendors_Install::init();
|
classes/front/dashboard/class-vendor-dashboard.php
CHANGED
@@ -220,6 +220,8 @@ class WCV_Vendor_Dashboard {
|
|
220 |
* @return unknown
|
221 |
*/
|
222 |
public function display_vendor_products( $atts ) {
|
|
|
|
|
223 |
global $start_date, $end_date;
|
224 |
|
225 |
$start_date = WC()->session->get( 'wcv_order_start_date', strtotime( current_time( 'Y-M' ) . '-01' ) );
|
@@ -228,7 +230,7 @@ class WCV_Vendor_Dashboard {
|
|
228 |
$can_view_orders = wc_string_to_bool( get_option( 'wcvendors_capability_orders_enabled', 'no' ) );
|
229 |
|
230 |
if ( ! $this->can_view_vendor_page() ) {
|
231 |
-
return
|
232 |
}
|
233 |
|
234 |
extract(
|
@@ -265,7 +267,6 @@ class WCV_Vendor_Dashboard {
|
|
265 |
}
|
266 |
}
|
267 |
|
268 |
-
ob_start();
|
269 |
do_action( 'wcvendors_before_dashboard' );
|
270 |
|
271 |
wc_print_notices();
|
@@ -348,7 +349,7 @@ class WCV_Vendor_Dashboard {
|
|
348 |
'target' => '_top',
|
349 |
);
|
350 |
$items['edit_link'] = array(
|
351 |
-
'url' => admin_url( '
|
352 |
'label' => esc_html__( 'Edit Products', 'wc-vendors' ),
|
353 |
'target' => '_top',
|
354 |
);
|
@@ -388,8 +389,10 @@ class WCV_Vendor_Dashboard {
|
|
388 |
public function display_vendor_settings( $atts ) {
|
389 |
global $woocommerce;
|
390 |
|
|
|
|
|
391 |
if ( ! $this->can_view_vendor_page() ) {
|
392 |
-
return
|
393 |
}
|
394 |
|
395 |
extract(
|
@@ -409,7 +412,6 @@ class WCV_Vendor_Dashboard {
|
|
409 |
$shop_page = WCV_Vendors::get_vendor_shop_page( wp_get_current_user()->user_login );
|
410 |
$global_html = wc_string_to_bool( get_option( 'wcvendors_display_shop_description_html', 'no' ) );
|
411 |
|
412 |
-
ob_start();
|
413 |
wc_get_template(
|
414 |
'settings.php',
|
415 |
array(
|
220 |
* @return unknown
|
221 |
*/
|
222 |
public function display_vendor_products( $atts ) {
|
223 |
+
ob_start();
|
224 |
+
|
225 |
global $start_date, $end_date;
|
226 |
|
227 |
$start_date = WC()->session->get( 'wcv_order_start_date', strtotime( current_time( 'Y-M' ) . '-01' ) );
|
230 |
$can_view_orders = wc_string_to_bool( get_option( 'wcvendors_capability_orders_enabled', 'no' ) );
|
231 |
|
232 |
if ( ! $this->can_view_vendor_page() ) {
|
233 |
+
return ob_get_clean();
|
234 |
}
|
235 |
|
236 |
extract(
|
267 |
}
|
268 |
}
|
269 |
|
|
|
270 |
do_action( 'wcvendors_before_dashboard' );
|
271 |
|
272 |
wc_print_notices();
|
349 |
'target' => '_top',
|
350 |
);
|
351 |
$items['edit_link'] = array(
|
352 |
+
'url' => admin_url( 'edit.php?post_type=product' ),
|
353 |
'label' => esc_html__( 'Edit Products', 'wc-vendors' ),
|
354 |
'target' => '_top',
|
355 |
);
|
389 |
public function display_vendor_settings( $atts ) {
|
390 |
global $woocommerce;
|
391 |
|
392 |
+
ob_start();
|
393 |
+
|
394 |
if ( ! $this->can_view_vendor_page() ) {
|
395 |
+
return ob_get_clean();
|
396 |
}
|
397 |
|
398 |
extract(
|
412 |
$shop_page = WCV_Vendors::get_vendor_shop_page( wp_get_current_user()->user_login );
|
413 |
$global_html = wc_string_to_bool( get_option( 'wcvendors_display_shop_description_html', 'no' ) );
|
414 |
|
|
|
415 |
wc_get_template(
|
416 |
'settings.php',
|
417 |
array(
|
classes/includes/wcv-update-functions.php
CHANGED
@@ -117,7 +117,6 @@ function wcv_enable_legacy_emails() {
|
|
117 |
* @since 2.0.0
|
118 |
*/
|
119 |
function wcv_update_200_db_version() {
|
120 |
-
|
121 |
WCVendors_Install::update_db_version();
|
122 |
}
|
123 |
|
@@ -136,7 +135,6 @@ function wcv_update_db_version() {
|
|
136 |
* @since 2.0.11
|
137 |
*/
|
138 |
function wcv_add_hide_become_a_vendor_link_option() {
|
139 |
-
|
140 |
add_option( 'wcvendors_become_a_vendor_my_account_link_visibility', 'yes' );
|
141 |
}
|
142 |
|
@@ -147,7 +145,6 @@ function wcv_add_hide_become_a_vendor_link_option() {
|
|
147 |
* @since 2.0.11
|
148 |
*/
|
149 |
function wcv_add_terms_and_conditions_visibility_option() {
|
150 |
-
|
151 |
add_option( 'wcvendors_terms_and_conditions_visibility', 'yes' );
|
152 |
}
|
153 |
|
@@ -158,7 +155,6 @@ function wcv_add_terms_and_conditions_visibility_option() {
|
|
158 |
* @since 2.1.1
|
159 |
*/
|
160 |
function wcv_redirect_wp_registration_to_woocommerce_myaccount() {
|
161 |
-
|
162 |
add_option( 'wcvendors_redirect_wp_registration_to_woocommerce_myaccount', 'no' );
|
163 |
}
|
164 |
|
@@ -170,6 +166,17 @@ function wcv_redirect_wp_registration_to_woocommerce_myaccount() {
|
|
170 |
* @version 2.1.4
|
171 |
*/
|
172 |
function wcv_can_view_customer_shipping_name_option() {
|
173 |
-
|
174 |
add_option( 'wcvendors_capability_order_customer_shipping_name', 'yes' );
|
175 |
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
117 |
* @since 2.0.0
|
118 |
*/
|
119 |
function wcv_update_200_db_version() {
|
|
|
120 |
WCVendors_Install::update_db_version();
|
121 |
}
|
122 |
|
135 |
* @since 2.0.11
|
136 |
*/
|
137 |
function wcv_add_hide_become_a_vendor_link_option() {
|
|
|
138 |
add_option( 'wcvendors_become_a_vendor_my_account_link_visibility', 'yes' );
|
139 |
}
|
140 |
|
145 |
* @since 2.0.11
|
146 |
*/
|
147 |
function wcv_add_terms_and_conditions_visibility_option() {
|
|
|
148 |
add_option( 'wcvendors_terms_and_conditions_visibility', 'yes' );
|
149 |
}
|
150 |
|
155 |
* @since 2.1.1
|
156 |
*/
|
157 |
function wcv_redirect_wp_registration_to_woocommerce_myaccount() {
|
|
|
158 |
add_option( 'wcvendors_redirect_wp_registration_to_woocommerce_myaccount', 'no' );
|
159 |
}
|
160 |
|
166 |
* @version 2.1.4
|
167 |
*/
|
168 |
function wcv_can_view_customer_shipping_name_option() {
|
|
|
169 |
add_option( 'wcvendors_capability_order_customer_shipping_name', 'yes' );
|
170 |
}
|
171 |
+
|
172 |
+
|
173 |
+
/**
|
174 |
+
* Add new vendor capabilities to the system (currently unused)
|
175 |
+
*
|
176 |
+
* @return void
|
177 |
+
* @since 2.1.6
|
178 |
+
* @version 2.1.6
|
179 |
+
*/
|
180 |
+
function wcv_add_vendor_caps(){
|
181 |
+
WCVendors_Install::create_capbailities();
|
182 |
+
}
|
languages/wc-vendors.pot
CHANGED
@@ -52,86 +52,214 @@ msgstr ""
|
|
52 |
msgid "Payment total: %s"
|
53 |
msgstr ""
|
54 |
|
55 |
-
#: classes/class-install.php:
|
56 |
msgid "Pending %s"
|
57 |
msgstr ""
|
58 |
|
59 |
-
#: classes/class-install.php:
|
60 |
msgid "%s"
|
61 |
msgstr ""
|
62 |
|
63 |
-
#: classes/class-install.php:
|
64 |
msgctxt "Page slug"
|
65 |
msgid "vendor_dashboard"
|
66 |
msgstr ""
|
67 |
|
68 |
-
#: classes/class-install.php:
|
69 |
msgctxt "Page title"
|
70 |
msgid "%s Dashboard"
|
71 |
msgstr ""
|
72 |
|
73 |
-
#: classes/class-install.php:
|
74 |
msgctxt "Page slug"
|
75 |
msgid "vendors"
|
76 |
msgstr ""
|
77 |
|
78 |
-
#: classes/class-install.php:
|
79 |
msgctxt "Page title"
|
80 |
msgid "%s"
|
81 |
msgstr ""
|
82 |
|
83 |
-
#: classes/class-install.php:
|
84 |
msgctxt "Page slug"
|
85 |
msgid "shop_settings"
|
86 |
msgstr ""
|
87 |
|
88 |
-
#: classes/class-install.php:
|
89 |
msgctxt "Page title"
|
90 |
msgid "Shop Settings"
|
91 |
msgstr ""
|
92 |
|
93 |
-
#: classes/class-install.php:
|
94 |
msgctxt "Page slug"
|
95 |
msgid "product_orders"
|
96 |
msgstr ""
|
97 |
|
98 |
-
#: classes/class-install.php:
|
99 |
msgctxt "Page title"
|
100 |
msgid "Orders"
|
101 |
msgstr ""
|
102 |
|
103 |
-
#: classes/class-install.php:
|
104 |
msgid "View WC Vendors settings"
|
105 |
msgstr ""
|
106 |
|
107 |
-
#: classes/class-install.php:
|
108 |
msgid "Settings"
|
109 |
msgstr ""
|
110 |
|
111 |
-
#: classes/class-install.php:
|
112 |
msgid "View WC Vendors documentation"
|
113 |
msgstr ""
|
114 |
|
115 |
-
#: classes/class-install.php:
|
116 |
msgid "Docs"
|
117 |
msgstr ""
|
118 |
|
119 |
-
#: classes/class-install.php:
|
120 |
msgid "Visit community forums"
|
121 |
msgstr ""
|
122 |
|
123 |
-
#: classes/class-install.php:
|
124 |
msgid "Free support"
|
125 |
msgstr ""
|
126 |
|
127 |
-
#: classes/class-install.php:
|
128 |
msgid "Buy premium customer support"
|
129 |
msgstr ""
|
130 |
|
131 |
-
#: classes/class-install.php:
|
132 |
msgid "Premium support"
|
133 |
msgstr ""
|
134 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
135 |
#: classes/class-vendor-post-types.php:37
|
136 |
msgid "%s Orders"
|
137 |
msgstr ""
|
@@ -145,7 +273,7 @@ msgctxt "Order date parsed by strftime"
|
|
145 |
msgid "%1$b %2$d, %Y @ %I:%M %p"
|
146 |
msgstr ""
|
147 |
|
148 |
-
#: classes/admin/class-admin-menus.php:46, classes/admin/class-admin-menus.php:47, classes/admin/class-admin-reports.php:40, classes/admin/class-wcv-admin-setup.php:
|
149 |
msgid "WC Vendors"
|
150 |
msgstr ""
|
151 |
|
@@ -153,7 +281,7 @@ msgstr ""
|
|
153 |
msgid "WC Vendors Extensions"
|
154 |
msgstr ""
|
155 |
|
156 |
-
#: classes/admin/class-admin-menus.php:64, classes/admin/views/setup/ready.php:
|
157 |
msgid "Extensions"
|
158 |
msgstr ""
|
159 |
|
@@ -318,7 +446,7 @@ msgid "Ready!"
|
|
318 |
msgstr ""
|
319 |
|
320 |
#. translators: %1$s: link to videos, %2$s: link to docs
|
321 |
-
#: classes/admin/class-setup-wizard.php:
|
322 |
msgid "Don't forget to check our <a href=\"%1$s\" target=\"_blank\">documentation</a> to learn more about setting up WC Vendors and if you need help, be sure to visit our <a href=\"%2$s\" target=\"_blank\">free support forums</a>."
|
323 |
msgstr ""
|
324 |
|
@@ -521,39 +649,39 @@ msgstr ""
|
|
521 |
msgid "The changes you made will be lost if you navigate away from this page."
|
522 |
msgstr ""
|
523 |
|
524 |
-
#: classes/admin/class-wcv-admin-settings.php:
|
525 |
msgid "Select a page…"
|
526 |
msgstr ""
|
527 |
|
528 |
-
#: classes/admin/class-wcv-admin-settings.php:
|
529 |
msgid "Choose a country…"
|
530 |
msgstr ""
|
531 |
|
532 |
-
#: classes/admin/class-wcv-admin-settings.php:
|
533 |
msgid "Country"
|
534 |
msgstr ""
|
535 |
|
536 |
-
#: classes/admin/class-wcv-admin-settings.php:
|
537 |
msgid "Choose countries…"
|
538 |
msgstr ""
|
539 |
|
540 |
-
#: classes/admin/class-wcv-admin-settings.php:
|
541 |
msgid "Select all"
|
542 |
msgstr ""
|
543 |
|
544 |
-
#: classes/admin/class-wcv-admin-settings.php:
|
545 |
msgid "Select none"
|
546 |
msgstr ""
|
547 |
|
548 |
-
#: classes/admin/class-wcv-admin-settings.php:
|
549 |
msgid "Update %s"
|
550 |
msgstr ""
|
551 |
|
552 |
-
#: classes/admin/class-wcv-admin-settings.php:
|
553 |
msgid "Add %s"
|
554 |
msgstr ""
|
555 |
|
556 |
-
#: classes/admin/class-wcv-admin-settings.php:
|
557 |
msgid "Upload an image for the %s"
|
558 |
msgstr ""
|
559 |
|
@@ -589,20 +717,20 @@ msgstr ""
|
|
589 |
msgid "This will reset wcvendors back to defaults. This DELETES ALL YOUR Settings."
|
590 |
msgstr ""
|
591 |
|
592 |
-
#: classes/admin/class-wcv-admin-setup.php:
|
593 |
msgid "WC Vendor roles successfully reset."
|
594 |
msgstr ""
|
595 |
|
596 |
-
#: classes/admin/class-wcv-admin-setup.php:
|
597 |
msgid "WC Vendors was successfully reset. All settings have been reset."
|
598 |
msgstr ""
|
599 |
|
600 |
#. translators: 1: WooCommerce 2:: five stars
|
601 |
-
#: classes/admin/class-wcv-admin-setup.php:
|
602 |
msgid "If you like %1$s please leave us a %2$s rating. A huge thanks in advance!"
|
603 |
msgstr ""
|
604 |
|
605 |
-
#: classes/admin/class-wcv-admin-setup.php:
|
606 |
msgid "Thanks :)"
|
607 |
msgstr ""
|
608 |
|
@@ -754,19 +882,19 @@ msgstr ""
|
|
754 |
msgid "Submit"
|
755 |
msgstr ""
|
756 |
|
757 |
-
#: templates/dashboard/links.php:22, classes/front/dashboard/class-vendor-dashboard.php:
|
758 |
msgid "View Your Store"
|
759 |
msgstr ""
|
760 |
|
761 |
-
#: templates/dashboard/links.php:23, classes/admin/settings/class-wcv-settings-display.php:238, classes/front/dashboard/class-vendor-dashboard.php:
|
762 |
msgid "Store Settings"
|
763 |
msgstr ""
|
764 |
|
765 |
-
#: templates/dashboard/links.php:27, classes/front/dashboard/class-vendor-dashboard.php:
|
766 |
msgid "Add New Product"
|
767 |
msgstr ""
|
768 |
|
769 |
-
#: templates/dashboard/links.php:29, classes/front/dashboard/class-vendor-dashboard.php:
|
770 |
msgid "Edit Products"
|
771 |
msgstr ""
|
772 |
|
@@ -915,10 +1043,6 @@ msgstr ""
|
|
915 |
msgid "Product image"
|
916 |
msgstr ""
|
917 |
|
918 |
-
#: templates/orders/csv-export.php:22
|
919 |
-
msgid "Export orders"
|
920 |
-
msgstr ""
|
921 |
-
|
922 |
#: templates/orders/orders.php:113
|
923 |
msgid "Comments (%s)"
|
924 |
msgstr ""
|
@@ -1483,7 +1607,7 @@ msgid "Allow %s to view customer name fields"
|
|
1483 |
msgstr ""
|
1484 |
|
1485 |
#: classes/admin/settings/class-wcv-settings-capabilities.php:192
|
1486 |
-
msgid "Customer
|
1487 |
msgstr ""
|
1488 |
|
1489 |
#: classes/admin/settings/class-wcv-settings-capabilities.php:193
|
@@ -2169,7 +2293,7 @@ msgstr ""
|
|
2169 |
msgid "Zip"
|
2170 |
msgstr ""
|
2171 |
|
2172 |
-
#: classes/front/orders/class-orders.php:218, classes/admin/views/setup/ready.php:
|
2173 |
msgid "Email address"
|
2174 |
msgstr ""
|
2175 |
|
@@ -2598,67 +2722,71 @@ msgstr ""
|
|
2598 |
msgid "Your marketplace is ready!"
|
2599 |
msgstr ""
|
2600 |
|
2601 |
-
#: classes/admin/views/setup/ready.php:
|
2602 |
msgid "Subscribe to our newsletter! Get product updates, marketplace tips, information and more."
|
2603 |
msgstr ""
|
2604 |
|
2605 |
-
#: classes/admin/views/setup/ready.php:
|
|
|
|
|
|
|
|
|
2606 |
msgid "Subscribe me"
|
2607 |
msgstr ""
|
2608 |
|
2609 |
-
#: classes/admin/views/setup/ready.php:
|
2610 |
msgid "Next step"
|
2611 |
msgstr ""
|
2612 |
|
2613 |
-
#: classes/admin/views/setup/ready.php:
|
2614 |
msgid "Upgrade to Pro!"
|
2615 |
msgstr ""
|
2616 |
|
2617 |
-
#: classes/admin/views/setup/ready.php:
|
2618 |
msgid "Upgrade today to extend the features of your marketplace."
|
2619 |
msgstr ""
|
2620 |
|
2621 |
-
#: classes/admin/views/setup/ready.php:
|
2622 |
msgid "Features"
|
2623 |
msgstr ""
|
2624 |
|
2625 |
-
#: classes/admin/views/setup/ready.php:
|
2626 |
msgid "Complete frontend dashboard for vendors"
|
2627 |
msgstr ""
|
2628 |
|
2629 |
-
#: classes/admin/views/setup/ready.php:
|
2630 |
msgid "Flat rate & table rate shipping module"
|
2631 |
msgstr ""
|
2632 |
|
2633 |
-
#: classes/admin/views/setup/ready.php:
|
2634 |
msgid "Coupons, ratings, reports, orders and more."
|
2635 |
msgstr ""
|
2636 |
|
2637 |
-
#: classes/admin/views/setup/ready.php:
|
2638 |
msgid "Advanced commissions"
|
2639 |
msgstr ""
|
2640 |
|
2641 |
-
#: classes/admin/views/setup/ready.php:
|
2642 |
msgid "Premium support & updates"
|
2643 |
msgstr ""
|
2644 |
|
2645 |
-
#: classes/admin/views/setup/ready.php:
|
2646 |
msgid "Upgrade Now"
|
2647 |
msgstr ""
|
2648 |
|
2649 |
-
#: classes/admin/views/setup/ready.php:
|
2650 |
msgid "Extend your marketplace"
|
2651 |
msgstr ""
|
2652 |
|
2653 |
-
#: classes/admin/views/setup/ready.php:
|
2654 |
msgid "Extend your marketplace today with a variety of extensions from us and 3rd party developers."
|
2655 |
msgstr ""
|
2656 |
|
2657 |
-
#: classes/admin/views/setup/ready.php:
|
2658 |
msgid "View Extensions"
|
2659 |
msgstr ""
|
2660 |
|
2661 |
-
#: classes/admin/views/setup/ready.php:
|
2662 |
msgid "Need Help?"
|
2663 |
msgstr ""
|
2664 |
|
52 |
msgid "Payment total: %s"
|
53 |
msgstr ""
|
54 |
|
55 |
+
#: classes/class-install.php:158, classes/admin/class-wcv-admin-setup.php:143
|
56 |
msgid "Pending %s"
|
57 |
msgstr ""
|
58 |
|
59 |
+
#: classes/class-install.php:172, classes/admin/class-admin-reports.php:207, classes/admin/class-admin-reports.php:530, classes/admin/class-product-meta.php:270, classes/admin/class-setup-wizard.php:349, classes/admin/class-wcv-admin-setup.php:138, classes/admin/class-wcv-admin-setup.php:300, classes/admin/class-wcv-commissions-csv-exporter.php:45, classes/admin/class-wcv-commissions-page.php:130, classes/admin/class-wcv-commissions-sum-csv-exporter.php:43, classes/admin/settings/class-wcv-settings-display.php:113, classes/admin/settings/class-wcv-settings-display.php:121, classes/admin/settings/class-wcv-settings-display.php:213
|
60 |
msgid "%s"
|
61 |
msgstr ""
|
62 |
|
63 |
+
#: classes/class-install.php:256
|
64 |
msgctxt "Page slug"
|
65 |
msgid "vendor_dashboard"
|
66 |
msgstr ""
|
67 |
|
68 |
+
#: classes/class-install.php:258
|
69 |
msgctxt "Page title"
|
70 |
msgid "%s Dashboard"
|
71 |
msgstr ""
|
72 |
|
73 |
+
#: classes/class-install.php:264
|
74 |
msgctxt "Page slug"
|
75 |
msgid "vendors"
|
76 |
msgstr ""
|
77 |
|
78 |
+
#: classes/class-install.php:266
|
79 |
msgctxt "Page title"
|
80 |
msgid "%s"
|
81 |
msgstr ""
|
82 |
|
83 |
+
#: classes/class-install.php:274
|
84 |
msgctxt "Page slug"
|
85 |
msgid "shop_settings"
|
86 |
msgstr ""
|
87 |
|
88 |
+
#: classes/class-install.php:275
|
89 |
msgctxt "Page title"
|
90 |
msgid "Shop Settings"
|
91 |
msgstr ""
|
92 |
|
93 |
+
#: classes/class-install.php:280
|
94 |
msgctxt "Page slug"
|
95 |
msgid "product_orders"
|
96 |
msgstr ""
|
97 |
|
98 |
+
#: classes/class-install.php:281
|
99 |
msgctxt "Page title"
|
100 |
msgid "Orders"
|
101 |
msgstr ""
|
102 |
|
103 |
+
#: classes/class-install.php:480
|
104 |
msgid "View WC Vendors settings"
|
105 |
msgstr ""
|
106 |
|
107 |
+
#: classes/class-install.php:480, templates/dashboard/settings/settings.php:17
|
108 |
msgid "Settings"
|
109 |
msgstr ""
|
110 |
|
111 |
+
#: classes/class-install.php:498
|
112 |
msgid "View WC Vendors documentation"
|
113 |
msgstr ""
|
114 |
|
115 |
+
#: classes/class-install.php:498
|
116 |
msgid "Docs"
|
117 |
msgstr ""
|
118 |
|
119 |
+
#: classes/class-install.php:499
|
120 |
msgid "Visit community forums"
|
121 |
msgstr ""
|
122 |
|
123 |
+
#: classes/class-install.php:499
|
124 |
msgid "Free support"
|
125 |
msgstr ""
|
126 |
|
127 |
+
#: classes/class-install.php:500
|
128 |
msgid "Buy premium customer support"
|
129 |
msgstr ""
|
130 |
|
131 |
+
#: classes/class-install.php:500
|
132 |
msgid "Premium support"
|
133 |
msgstr ""
|
134 |
|
135 |
+
#: classes/class-install.php:536
|
136 |
+
msgid "View sales overview"
|
137 |
+
msgstr ""
|
138 |
+
|
139 |
+
#: classes/class-install.php:537
|
140 |
+
msgid "View sales report chart"
|
141 |
+
msgstr ""
|
142 |
+
|
143 |
+
#: classes/class-install.php:538
|
144 |
+
msgid "View vendor notices"
|
145 |
+
msgstr ""
|
146 |
+
|
147 |
+
#: classes/class-install.php:539
|
148 |
+
msgid "View order report"
|
149 |
+
msgstr ""
|
150 |
+
|
151 |
+
#: classes/class-install.php:540
|
152 |
+
msgid "View order overview"
|
153 |
+
msgstr ""
|
154 |
+
|
155 |
+
#: classes/class-install.php:541
|
156 |
+
msgid "View ratings report"
|
157 |
+
msgstr ""
|
158 |
+
|
159 |
+
#: classes/class-install.php:542
|
160 |
+
msgid "View product status report"
|
161 |
+
msgstr ""
|
162 |
+
|
163 |
+
#: classes/class-install.php:545
|
164 |
+
msgid "View order"
|
165 |
+
msgstr ""
|
166 |
+
|
167 |
+
#: classes/class-install.php:546
|
168 |
+
msgid "Add order notes"
|
169 |
+
msgstr ""
|
170 |
+
|
171 |
+
#: classes/class-install.php:547
|
172 |
+
msgid "View order notes"
|
173 |
+
msgstr ""
|
174 |
+
|
175 |
+
#: classes/class-install.php:548, templates/orders/csv-export.php:22
|
176 |
+
msgid "Export orders"
|
177 |
+
msgstr ""
|
178 |
+
|
179 |
+
#: classes/class-install.php:551
|
180 |
+
msgid "View customer name"
|
181 |
+
msgstr ""
|
182 |
+
|
183 |
+
#: classes/class-install.php:552
|
184 |
+
msgid "View customer email address"
|
185 |
+
msgstr ""
|
186 |
+
|
187 |
+
#: classes/class-install.php:553
|
188 |
+
msgid "View customer phone number"
|
189 |
+
msgstr ""
|
190 |
+
|
191 |
+
#: classes/class-install.php:554, classes/class-install.php:557
|
192 |
+
msgid "View customer shipping name"
|
193 |
+
msgstr ""
|
194 |
+
|
195 |
+
#: classes/class-install.php:555
|
196 |
+
msgid "View customer shipping address fields"
|
197 |
+
msgstr ""
|
198 |
+
|
199 |
+
#: classes/class-install.php:556
|
200 |
+
msgid "View customer billing address fields"
|
201 |
+
msgstr ""
|
202 |
+
|
203 |
+
#: classes/class-install.php:560
|
204 |
+
msgid "Add product"
|
205 |
+
msgstr ""
|
206 |
+
|
207 |
+
#: classes/class-install.php:561
|
208 |
+
msgid "Edit product"
|
209 |
+
msgstr ""
|
210 |
+
|
211 |
+
#: classes/class-install.php:562
|
212 |
+
msgid "Edit published product"
|
213 |
+
msgstr ""
|
214 |
+
|
215 |
+
#: classes/class-install.php:563
|
216 |
+
msgid "Publish product directly without approval"
|
217 |
+
msgstr ""
|
218 |
+
|
219 |
+
#: classes/class-install.php:564
|
220 |
+
msgid "Delete product"
|
221 |
+
msgstr ""
|
222 |
+
|
223 |
+
#: classes/class-install.php:565
|
224 |
+
msgid "Duplicate product"
|
225 |
+
msgstr ""
|
226 |
+
|
227 |
+
#: classes/class-install.php:566
|
228 |
+
msgid "View product"
|
229 |
+
msgstr ""
|
230 |
+
|
231 |
+
#: classes/class-install.php:571
|
232 |
+
msgid "View overview report"
|
233 |
+
msgstr ""
|
234 |
+
|
235 |
+
#: classes/class-install.php:572
|
236 |
+
msgid "View daily sales report"
|
237 |
+
msgstr ""
|
238 |
+
|
239 |
+
#: classes/class-install.php:573
|
240 |
+
msgid "View top selling report"
|
241 |
+
msgstr ""
|
242 |
+
|
243 |
+
#: classes/class-install.php:574
|
244 |
+
msgid "View top earning report"
|
245 |
+
msgstr ""
|
246 |
+
|
247 |
+
#: classes/class-install.php:577
|
248 |
+
msgid "View dashboard menu"
|
249 |
+
msgstr ""
|
250 |
+
|
251 |
+
#: classes/class-install.php:578
|
252 |
+
msgid "View product menu"
|
253 |
+
msgstr ""
|
254 |
+
|
255 |
+
#: classes/class-install.php:579
|
256 |
+
msgid "View order menu"
|
257 |
+
msgstr ""
|
258 |
+
|
259 |
+
#: classes/class-install.php:580
|
260 |
+
msgid "View store settings menu"
|
261 |
+
msgstr ""
|
262 |
+
|
263 |
#: classes/class-vendor-post-types.php:37
|
264 |
msgid "%s Orders"
|
265 |
msgstr ""
|
273 |
msgid "%1$b %2$d, %Y @ %I:%M %p"
|
274 |
msgstr ""
|
275 |
|
276 |
+
#: classes/admin/class-admin-menus.php:46, classes/admin/class-admin-menus.php:47, classes/admin/class-admin-reports.php:40, classes/admin/class-wcv-admin-setup.php:265, classes/admin/views/html-vendor-meta.php:1
|
277 |
msgid "WC Vendors"
|
278 |
msgstr ""
|
279 |
|
281 |
msgid "WC Vendors Extensions"
|
282 |
msgstr ""
|
283 |
|
284 |
+
#: classes/admin/class-admin-menus.php:64, classes/admin/views/setup/ready.php:82
|
285 |
msgid "Extensions"
|
286 |
msgstr ""
|
287 |
|
446 |
msgstr ""
|
447 |
|
448 |
#. translators: %1$s: link to videos, %2$s: link to docs
|
449 |
+
#: classes/admin/class-setup-wizard.php:408
|
450 |
msgid "Don't forget to check our <a href=\"%1$s\" target=\"_blank\">documentation</a> to learn more about setting up WC Vendors and if you need help, be sure to visit our <a href=\"%2$s\" target=\"_blank\">free support forums</a>."
|
451 |
msgstr ""
|
452 |
|
649 |
msgid "The changes you made will be lost if you navigate away from this page."
|
650 |
msgstr ""
|
651 |
|
652 |
+
#: classes/admin/class-wcv-admin-settings.php:445, classes/admin/class-wcv-admin-settings.php:473, classes/includes/class-functions.php:63
|
653 |
msgid "Select a page…"
|
654 |
msgstr ""
|
655 |
|
656 |
+
#: classes/admin/class-wcv-admin-settings.php:497
|
657 |
msgid "Choose a country…"
|
658 |
msgstr ""
|
659 |
|
660 |
+
#: classes/admin/class-wcv-admin-settings.php:497, classes/admin/class-wcv-admin-settings.php:523
|
661 |
msgid "Country"
|
662 |
msgstr ""
|
663 |
|
664 |
+
#: classes/admin/class-wcv-admin-settings.php:523
|
665 |
msgid "Choose countries…"
|
666 |
msgstr ""
|
667 |
|
668 |
+
#: classes/admin/class-wcv-admin-settings.php:531
|
669 |
msgid "Select all"
|
670 |
msgstr ""
|
671 |
|
672 |
+
#: classes/admin/class-wcv-admin-settings.php:531
|
673 |
msgid "Select none"
|
674 |
msgstr ""
|
675 |
|
676 |
+
#: classes/admin/class-wcv-admin-settings.php:549
|
677 |
msgid "Update %s"
|
678 |
msgstr ""
|
679 |
|
680 |
+
#: classes/admin/class-wcv-admin-settings.php:549, classes/admin/class-wcv-admin-settings.php:549
|
681 |
msgid "Add %s"
|
682 |
msgstr ""
|
683 |
|
684 |
+
#: classes/admin/class-wcv-admin-settings.php:549
|
685 |
msgid "Upload an image for the %s"
|
686 |
msgstr ""
|
687 |
|
717 |
msgid "This will reset wcvendors back to defaults. This DELETES ALL YOUR Settings."
|
718 |
msgstr ""
|
719 |
|
720 |
+
#: classes/admin/class-wcv-admin-setup.php:154
|
721 |
msgid "WC Vendor roles successfully reset."
|
722 |
msgstr ""
|
723 |
|
724 |
+
#: classes/admin/class-wcv-admin-setup.php:168
|
725 |
msgid "WC Vendors was successfully reset. All settings have been reset."
|
726 |
msgstr ""
|
727 |
|
728 |
#. translators: 1: WooCommerce 2:: five stars
|
729 |
+
#: classes/admin/class-wcv-admin-setup.php:264
|
730 |
msgid "If you like %1$s please leave us a %2$s rating. A huge thanks in advance!"
|
731 |
msgstr ""
|
732 |
|
733 |
+
#: classes/admin/class-wcv-admin-setup.php:266
|
734 |
msgid "Thanks :)"
|
735 |
msgstr ""
|
736 |
|
882 |
msgid "Submit"
|
883 |
msgstr ""
|
884 |
|
885 |
+
#: templates/dashboard/links.php:22, classes/front/dashboard/class-vendor-dashboard.php:335
|
886 |
msgid "View Your Store"
|
887 |
msgstr ""
|
888 |
|
889 |
+
#: templates/dashboard/links.php:23, classes/admin/settings/class-wcv-settings-display.php:238, classes/front/dashboard/class-vendor-dashboard.php:339
|
890 |
msgid "Store Settings"
|
891 |
msgstr ""
|
892 |
|
893 |
+
#: templates/dashboard/links.php:27, classes/front/dashboard/class-vendor-dashboard.php:348
|
894 |
msgid "Add New Product"
|
895 |
msgstr ""
|
896 |
|
897 |
+
#: templates/dashboard/links.php:29, classes/front/dashboard/class-vendor-dashboard.php:353
|
898 |
msgid "Edit Products"
|
899 |
msgstr ""
|
900 |
|
1043 |
msgid "Product image"
|
1044 |
msgstr ""
|
1045 |
|
|
|
|
|
|
|
|
|
1046 |
#: templates/orders/orders.php:113
|
1047 |
msgid "Comments (%s)"
|
1048 |
msgstr ""
|
1607 |
msgstr ""
|
1608 |
|
1609 |
#: classes/admin/settings/class-wcv-settings-capabilities.php:192
|
1610 |
+
msgid "Customer Shipping Name"
|
1611 |
msgstr ""
|
1612 |
|
1613 |
#: classes/admin/settings/class-wcv-settings-capabilities.php:193
|
2293 |
msgid "Zip"
|
2294 |
msgstr ""
|
2295 |
|
2296 |
+
#: classes/front/orders/class-orders.php:218, classes/admin/views/setup/ready.php:32
|
2297 |
msgid "Email address"
|
2298 |
msgstr ""
|
2299 |
|
2722 |
msgid "Your marketplace is ready!"
|
2723 |
msgstr ""
|
2724 |
|
2725 |
+
#: classes/admin/views/setup/ready.php:16
|
2726 |
msgid "Subscribe to our newsletter! Get product updates, marketplace tips, information and more."
|
2727 |
msgstr ""
|
2728 |
|
2729 |
+
#: classes/admin/views/setup/ready.php:24
|
2730 |
+
msgid "First name"
|
2731 |
+
msgstr ""
|
2732 |
+
|
2733 |
+
#: classes/admin/views/setup/ready.php:38, classes/admin/views/setup/ready.php:42
|
2734 |
msgid "Subscribe me"
|
2735 |
msgstr ""
|
2736 |
|
2737 |
+
#: classes/admin/views/setup/ready.php:57
|
2738 |
msgid "Next step"
|
2739 |
msgstr ""
|
2740 |
|
2741 |
+
#: classes/admin/views/setup/ready.php:58
|
2742 |
msgid "Upgrade to Pro!"
|
2743 |
msgstr ""
|
2744 |
|
2745 |
+
#: classes/admin/views/setup/ready.php:59
|
2746 |
msgid "Upgrade today to extend the features of your marketplace."
|
2747 |
msgstr ""
|
2748 |
|
2749 |
+
#: classes/admin/views/setup/ready.php:60
|
2750 |
msgid "Features"
|
2751 |
msgstr ""
|
2752 |
|
2753 |
+
#: classes/admin/views/setup/ready.php:62
|
2754 |
msgid "Complete frontend dashboard for vendors"
|
2755 |
msgstr ""
|
2756 |
|
2757 |
+
#: classes/admin/views/setup/ready.php:63
|
2758 |
msgid "Flat rate & table rate shipping module"
|
2759 |
msgstr ""
|
2760 |
|
2761 |
+
#: classes/admin/views/setup/ready.php:64
|
2762 |
msgid "Coupons, ratings, reports, orders and more."
|
2763 |
msgstr ""
|
2764 |
|
2765 |
+
#: classes/admin/views/setup/ready.php:65
|
2766 |
msgid "Advanced commissions"
|
2767 |
msgstr ""
|
2768 |
|
2769 |
+
#: classes/admin/views/setup/ready.php:66
|
2770 |
msgid "Premium support & updates"
|
2771 |
msgstr ""
|
2772 |
|
2773 |
+
#: classes/admin/views/setup/ready.php:74
|
2774 |
msgid "Upgrade Now"
|
2775 |
msgstr ""
|
2776 |
|
2777 |
+
#: classes/admin/views/setup/ready.php:81
|
2778 |
msgid "Extend your marketplace"
|
2779 |
msgstr ""
|
2780 |
|
2781 |
+
#: classes/admin/views/setup/ready.php:83
|
2782 |
msgid "Extend your marketplace today with a variety of extensions from us and 3rd party developers."
|
2783 |
msgstr ""
|
2784 |
|
2785 |
+
#: classes/admin/views/setup/ready.php:90
|
2786 |
msgid "View Extensions"
|
2787 |
msgstr ""
|
2788 |
|
2789 |
+
#: classes/admin/views/setup/ready.php:96
|
2790 |
msgid "Need Help?"
|
2791 |
msgstr ""
|
2792 |
|
package.json
CHANGED
@@ -1,6 +1,6 @@
|
|
1 |
{
|
2 |
"name": "wc-vendors",
|
3 |
-
"version": "2.1.
|
4 |
"private": true,
|
5 |
"dependencies": {},
|
6 |
"devDependencies": {
|
1 |
{
|
2 |
"name": "wc-vendors",
|
3 |
+
"version": "2.1.6",
|
4 |
"private": true,
|
5 |
"dependencies": {},
|
6 |
"devDependencies": {
|
readme.txt
CHANGED
@@ -1,13 +1,13 @@
|
|
1 |
=== WC Vendors Marketplace - The Multivendor Marketplace Solution for WooCommerce ===
|
2 |
-
Contributors: digitalchild, benwcv
|
3 |
Tags: best marketplace, multi vendor marketplace, multi vendor, multi seller, woocommerce vendor, woocommerce marketplace, product vendors, vendor, vendors, wc multivendor, commissions, commission rate
|
4 |
Donate link: https://www.wcvendors.com/
|
5 |
Author URI: https://www.wcvendors.com/
|
6 |
Plugin URI: https://www.wcvendors.com/
|
7 |
Requires at least: 4.4.0
|
8 |
Requires PHP: 5.6
|
9 |
-
Tested up to: 5.
|
10 |
-
Stable tag: 2.1.
|
11 |
License: GPLv2 or later
|
12 |
|
13 |
The number one most downloaded marketplace plugin for WooCommerce. Now you can allow anyone to open a store on your WooCommerce site!
|
@@ -97,7 +97,7 @@ See our full comparison of free vs pro here <a href="https://www.wcvendors.com/h
|
|
97 |
|
98 |
= Translations =
|
99 |
|
100 |
-
We currently ship WC Vendors Marketplace
|
101 |
|
102 |
* English
|
103 |
* Austrian German
|
@@ -157,6 +157,17 @@ WC Vendors Marketplace does not work with multisite WordPress. There are no plan
|
|
157 |
|
158 |
== Changelog ==
|
159 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
160 |
= Version 2.1.5 - 9th of February 2019 =
|
161 |
|
162 |
* Added: Quantity to the commissions table
|
1 |
=== WC Vendors Marketplace - The Multivendor Marketplace Solution for WooCommerce ===
|
2 |
+
Contributors: digitalchild, benwcv
|
3 |
Tags: best marketplace, multi vendor marketplace, multi vendor, multi seller, woocommerce vendor, woocommerce marketplace, product vendors, vendor, vendors, wc multivendor, commissions, commission rate
|
4 |
Donate link: https://www.wcvendors.com/
|
5 |
Author URI: https://www.wcvendors.com/
|
6 |
Plugin URI: https://www.wcvendors.com/
|
7 |
Requires at least: 4.4.0
|
8 |
Requires PHP: 5.6
|
9 |
+
Tested up to: 5.1
|
10 |
+
Stable tag: 2.1.6
|
11 |
License: GPLv2 or later
|
12 |
|
13 |
The number one most downloaded marketplace plugin for WooCommerce. Now you can allow anyone to open a store on your WooCommerce site!
|
97 |
|
98 |
= Translations =
|
99 |
|
100 |
+
We currently ship WC Vendors Marketplace free with the following language translations. If you would like translate WC Vendors Marketplace into your language we would be more than happy to include it in our next release. Please use https://translate.wordpress.org/locale/en/default/wp-plugins/wc-vendors
|
101 |
|
102 |
* English
|
103 |
* Austrian German
|
157 |
|
158 |
== Changelog ==
|
159 |
|
160 |
+
= Version 2.1.6 - 18th March 2019 =
|
161 |
+
|
162 |
+
* Added: newsletter signup in setup wizard
|
163 |
+
* Added: New vendor capabilities
|
164 |
+
* Updated: Tested to 5.2.0 alpha
|
165 |
+
* Updated: Language files
|
166 |
+
* Fixed: Saving some shortcodes get Update failed notice in Gutenberg #540
|
167 |
+
* Fixed: Commission table issue in Firefox #539
|
168 |
+
* Fixed: Incorrect link for listing edit products
|
169 |
+
* Fixed: Several language references
|
170 |
+
|
171 |
= Version 2.1.5 - 9th of February 2019 =
|
172 |
|
173 |
* Added: Quantity to the commissions table
|