Dokan – Best WooCommerce Multivendor Marketplace Solution – Build Your Own Amazon, eBay, Etsy - Version 3.0.2

Version Description

Download this release

Release Info

Developer tareq1988
Plugin Icon wp plugin Dokan – Best WooCommerce Multivendor Marketplace Solution – Build Your Own Amazon, eBay, Etsy
Version 3.0.2
Comparing to
See all releases

Code changes from version 3.0.1 to 3.0.2

assets/css/style.css CHANGED
@@ -2425,6 +2425,8 @@ div.media-sidebar a.edit-attachment {
2425
  visibility: visible;
2426
  }
2427
  .dokan-product-listing .dokan-product-listing-area table td img {
 
 
2428
  max-width: 48px;
2429
  max-height: 48px;
2430
  }
2425
  visibility: visible;
2426
  }
2427
  .dokan-product-listing .dokan-product-listing-area table td img {
2428
+ width: auto;
2429
+ height: auto;
2430
  max-width: 48px;
2431
  max-height: 48px;
2432
  }
assets/js/dokan.js CHANGED
@@ -997,6 +997,9 @@ jQuery(function($) {
997
  if ( $parent.is( '.taxonomy' ) ) {
998
  $parent.find( 'select, input[type=text]' ).val( '' );
999
  $( 'select.dokan_attribute_taxonomy' ).find( 'option[value="' + $parent.data( 'taxonomy' ) + '"]' ).removeAttr( 'disabled' );
 
 
 
1000
  }
1001
 
1002
  Dokan_Editor.attribute.reArrangeAttribute();
@@ -1469,19 +1472,19 @@ jQuery(function($) {
1469
 
1470
  sale_price_parent_div.remove();
1471
  sale_price_input_div.after( sale_price_input_msg );
1472
-
1473
  sale_price_wrap.val('');
1474
- setTimeout(function(){
1475
  sale_price_parent_div.remove();
1476
  }, 5000);
1477
 
1478
  } else if( parseFloat( product_price ) <= parseFloat( sale_price ) ) {
1479
-
1480
  sale_price_parent_div.remove();
1481
  sale_price_input_div.after( sale_price_input_msg );
1482
-
1483
  sale_price_wrap.val('');
1484
- setTimeout(function(){
1485
  sale_price_parent_div.remove();
1486
  }, 5000);
1487
 
@@ -1490,7 +1493,7 @@ jQuery(function($) {
1490
  sale_price_parent_div.remove();
1491
 
1492
  }
1493
-
1494
  } ,600 ) );
1495
 
1496
  });
@@ -2189,6 +2192,63 @@ jQuery(function($) {
2189
 
2190
  bulkItemsSelection.init();
2191
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
2192
 
2193
  })(jQuery);
2194
 
997
  if ( $parent.is( '.taxonomy' ) ) {
998
  $parent.find( 'select, input[type=text]' ).val( '' );
999
  $( 'select.dokan_attribute_taxonomy' ).find( 'option[value="' + $parent.data( 'taxonomy' ) + '"]' ).removeAttr( 'disabled' );
1000
+ } else {
1001
+ $parent.find( 'select, input[type=text]' ).val( '' );
1002
+ $parent.hide();
1003
  }
1004
 
1005
  Dokan_Editor.attribute.reArrangeAttribute();
1472
 
1473
  sale_price_parent_div.remove();
1474
  sale_price_input_div.after( sale_price_input_msg );
1475
+
1476
  sale_price_wrap.val('');
1477
+ setTimeout(function(){
1478
  sale_price_parent_div.remove();
1479
  }, 5000);
1480
 
1481
  } else if( parseFloat( product_price ) <= parseFloat( sale_price ) ) {
1482
+
1483
  sale_price_parent_div.remove();
1484
  sale_price_input_div.after( sale_price_input_msg );
1485
+
1486
  sale_price_wrap.val('');
1487
+ setTimeout(function(){
1488
  sale_price_parent_div.remove();
1489
  }, 5000);
1490
 
1493
  sale_price_parent_div.remove();
1494
 
1495
  }
1496
+
1497
  } ,600 ) );
1498
 
1499
  });
2192
 
2193
  bulkItemsSelection.init();
2194
 
2195
+
2196
+
2197
+ $( '.product-cat-stack-dokan li.has-children' ).on( 'click', '> a span.caret-icon', function ( e ) {
2198
+ e.preventDefault();
2199
+ var self = $( this ),
2200
+ liHasChildren = self.closest( 'li.has-children' );
2201
+
2202
+ if ( !liHasChildren.find( '> ul.children' ).is( ':visible' ) ) {
2203
+ self.find( 'i.fa' ).addClass( 'fa-rotate-90' );
2204
+ if ( liHasChildren.find( '> ul.children' ).hasClass( 'level-0' ) ) {
2205
+ self.closest( 'a' ).css( { 'borderBottom': 'none' } );
2206
+ }
2207
+ }
2208
+
2209
+ liHasChildren.find( '> ul.children' ).slideToggle( 'fast', function () {
2210
+ if ( !$( this ).is( ':visible' ) ) {
2211
+ self.find( 'i.fa' ).removeClass( 'fa-rotate-90' );
2212
+
2213
+ if ( liHasChildren.find( '> ul.children' ).hasClass( 'level-0' ) ) {
2214
+ self.closest( 'a' ).css( { 'borderBottom': '1px solid #eee' } );
2215
+ }
2216
+ }
2217
+ } );
2218
+ } );
2219
+
2220
+ $( '.store-cat-stack-dokan li.has-children' ).on( 'click', '> a span.caret-icon', function ( e ) {
2221
+ e.preventDefault();
2222
+ var self = $( this ),
2223
+ liHasChildren = self.closest( 'li.has-children' );
2224
+
2225
+ if ( !liHasChildren.find( '> ul.children' ).is( ':visible' ) ) {
2226
+ self.find( 'i.fa' ).addClass( 'fa-rotate-90' );
2227
+ if ( liHasChildren.find( '> ul.children' ).hasClass( 'level-0' ) ) {
2228
+ self.closest( 'a' ).css( { 'borderBottom': 'none' } );
2229
+ }
2230
+ }
2231
+
2232
+ liHasChildren.find( '> ul.children' ).slideToggle( 'fast', function () {
2233
+ if ( !$( this ).is( ':visible' ) ) {
2234
+ self.find( 'i.fa' ).removeClass( 'fa-rotate-90' );
2235
+
2236
+ if ( liHasChildren.find( '> ul.children' ).hasClass( 'level-0' ) ) {
2237
+ self.closest( 'a' ).css( { 'borderBottom': '1px solid #eee' } );
2238
+ }
2239
+ }
2240
+ } );
2241
+ } );
2242
+
2243
+ $(document).ready(function(){
2244
+ var selectedLi = $('#cat-drop-stack ul').find( 'a.selected' );
2245
+ selectedLi.css({ fontWeight: 'bold' });
2246
+
2247
+ selectedLi.parents('ul.children').each( function( i, val ) {
2248
+ $( val ).css({ display: 'block' });
2249
+ });
2250
+ });
2251
+
2252
 
2253
  })(jQuery);
2254
 
assets/js/vue-admin.js CHANGED
@@ -444,7 +444,7 @@ if (false) {(function () {
444
  'vendorInfo.user_login': function vendorInfoUser_login(value) {
445
  this.checkUsername();
446
  },
447
- 'vendorInfo.user_email': function vendorInfoUser_email(value) {
448
  this.checkEmail();
449
  }
450
  },
@@ -573,7 +573,7 @@ if (false) {(function () {
573
  searchEmail: function searchEmail() {
574
  var _this4 = this;
575
 
576
- var userEmail = this.vendorInfo.user_email;
577
 
578
  if (!userEmail) {
579
  return;
@@ -581,7 +581,7 @@ if (false) {(function () {
581
 
582
  this.emailAvailabilityText = this.__('Searching...', 'dokan-lite');
583
  dokan.api.get("/stores/check", {
584
- user_email: userEmail
585
  }).then(function (response) {
586
  if (response.available) {
587
  _this4.emailAvailable = true;
@@ -2190,27 +2190,27 @@ var render = function() {
2190
  {
2191
  name: "model",
2192
  rawName: "v-model",
2193
- value: _vm.vendorInfo.user_email,
2194
- expression: "vendorInfo.user_email"
2195
  }
2196
  ],
2197
  class: {
2198
  "dokan-form-input": true,
2199
- "has-error": _vm.getError("user_email")
2200
  },
2201
  attrs: {
2202
  type: "email",
2203
- placeholder: _vm.getError("user_email")
2204
  ? _vm.__("Email is required", "dokan-lite")
2205
  : _vm.__("store@email.com", "dokan-lite")
2206
  },
2207
- domProps: { value: _vm.vendorInfo.user_email },
2208
  on: {
2209
  input: function($event) {
2210
  if ($event.target.composing) {
2211
  return
2212
  }
2213
- _vm.$set(_vm.vendorInfo, "user_email", $event.target.value)
2214
  }
2215
  }
2216
  }),
@@ -4602,7 +4602,7 @@ var Currency = dokan_get_lib('Currency');
4602
  }
4603
  }, {
4604
  "title": "WC Booking Integration",
4605
- "url": "https:\/\/wedevs.com\/dokan\/modules\/woocommerce-booking-integration\/",
4606
  "starter": {
4607
  "type": "icon",
4608
  "value": dokan.urls.assetsUrl + '/images/premium/unavailable@2x.png'
@@ -6163,7 +6163,7 @@ var Loading = dokan_get_lib('Loading');
6163
  user_pass: '',
6164
  store_url: '',
6165
  user_login: '',
6166
- user_email: '',
6167
  user_nicename: '',
6168
  notify_vendor: true,
6169
  phone: '',
@@ -6203,7 +6203,7 @@ var Loading = dokan_get_lib('Loading');
6203
  country: ''
6204
  }
6205
  },
6206
- requiredFields: ['store_name', 'user_login', 'user_email'],
6207
  errors: [],
6208
  storeAvailable: false,
6209
  userNameAvailable: false,
444
  'vendorInfo.user_login': function vendorInfoUser_login(value) {
445
  this.checkUsername();
446
  },
447
+ 'vendorInfo.email': function vendorInfoEmail(value) {
448
  this.checkEmail();
449
  }
450
  },
573
  searchEmail: function searchEmail() {
574
  var _this4 = this;
575
 
576
+ var userEmail = this.vendorInfo.email;
577
 
578
  if (!userEmail) {
579
  return;
581
 
582
  this.emailAvailabilityText = this.__('Searching...', 'dokan-lite');
583
  dokan.api.get("/stores/check", {
584
+ email: userEmail
585
  }).then(function (response) {
586
  if (response.available) {
587
  _this4.emailAvailable = true;
2190
  {
2191
  name: "model",
2192
  rawName: "v-model",
2193
+ value: _vm.vendorInfo.email,
2194
+ expression: "vendorInfo.email"
2195
  }
2196
  ],
2197
  class: {
2198
  "dokan-form-input": true,
2199
+ "has-error": _vm.getError("email")
2200
  },
2201
  attrs: {
2202
  type: "email",
2203
+ placeholder: _vm.getError("email")
2204
  ? _vm.__("Email is required", "dokan-lite")
2205
  : _vm.__("store@email.com", "dokan-lite")
2206
  },
2207
+ domProps: { value: _vm.vendorInfo.email },
2208
  on: {
2209
  input: function($event) {
2210
  if ($event.target.composing) {
2211
  return
2212
  }
2213
+ _vm.$set(_vm.vendorInfo, "email", $event.target.value)
2214
  }
2215
  }
2216
  }),
4602
  }
4603
  }, {
4604
  "title": "WC Booking Integration",
4605
+ "url": "https:\/\/wedevs.com\/dokan\/extensions\/woocommerce-booking-integration\/",
4606
  "starter": {
4607
  "type": "icon",
4608
  "value": dokan.urls.assetsUrl + '/images/premium/unavailable@2x.png'
6163
  user_pass: '',
6164
  store_url: '',
6165
  user_login: '',
6166
+ email: '',
6167
  user_nicename: '',
6168
  notify_vendor: true,
6169
  phone: '',
6203
  country: ''
6204
  }
6205
  },
6206
+ requiredFields: ['store_name', 'user_login', 'email'],
6207
  errors: [],
6208
  storeAvailable: false,
6209
  userNameAvailable: false,
assets/js/vue-bootstrap.js CHANGED
@@ -444,7 +444,7 @@ if (false) {(function () {
444
  'vendorInfo.user_login': function vendorInfoUser_login(value) {
445
  this.checkUsername();
446
  },
447
- 'vendorInfo.user_email': function vendorInfoUser_email(value) {
448
  this.checkEmail();
449
  }
450
  },
@@ -573,7 +573,7 @@ if (false) {(function () {
573
  searchEmail: function searchEmail() {
574
  var _this4 = this;
575
 
576
- var userEmail = this.vendorInfo.user_email;
577
 
578
  if (!userEmail) {
579
  return;
@@ -581,7 +581,7 @@ if (false) {(function () {
581
 
582
  this.emailAvailabilityText = this.__('Searching...', 'dokan-lite');
583
  dokan.api.get("/stores/check", {
584
- user_email: userEmail
585
  }).then(function (response) {
586
  if (response.available) {
587
  _this4.emailAvailable = true;
@@ -2185,27 +2185,27 @@ var render = function() {
2185
  {
2186
  name: "model",
2187
  rawName: "v-model",
2188
- value: _vm.vendorInfo.user_email,
2189
- expression: "vendorInfo.user_email"
2190
  }
2191
  ],
2192
  class: {
2193
  "dokan-form-input": true,
2194
- "has-error": _vm.getError("user_email")
2195
  },
2196
  attrs: {
2197
  type: "email",
2198
- placeholder: _vm.getError("user_email")
2199
  ? _vm.__("Email is required", "dokan-lite")
2200
  : _vm.__("store@email.com", "dokan-lite")
2201
  },
2202
- domProps: { value: _vm.vendorInfo.user_email },
2203
  on: {
2204
  input: function($event) {
2205
  if ($event.target.composing) {
2206
  return
2207
  }
2208
- _vm.$set(_vm.vendorInfo, "user_email", $event.target.value)
2209
  }
2210
  }
2211
  }),
444
  'vendorInfo.user_login': function vendorInfoUser_login(value) {
445
  this.checkUsername();
446
  },
447
+ 'vendorInfo.email': function vendorInfoEmail(value) {
448
  this.checkEmail();
449
  }
450
  },
573
  searchEmail: function searchEmail() {
574
  var _this4 = this;
575
 
576
+ var userEmail = this.vendorInfo.email;
577
 
578
  if (!userEmail) {
579
  return;
581
 
582
  this.emailAvailabilityText = this.__('Searching...', 'dokan-lite');
583
  dokan.api.get("/stores/check", {
584
+ email: userEmail
585
  }).then(function (response) {
586
  if (response.available) {
587
  _this4.emailAvailable = true;
2185
  {
2186
  name: "model",
2187
  rawName: "v-model",
2188
+ value: _vm.vendorInfo.email,
2189
+ expression: "vendorInfo.email"
2190
  }
2191
  ],
2192
  class: {
2193
  "dokan-form-input": true,
2194
+ "has-error": _vm.getError("email")
2195
  },
2196
  attrs: {
2197
  type: "email",
2198
+ placeholder: _vm.getError("email")
2199
  ? _vm.__("Email is required", "dokan-lite")
2200
  : _vm.__("store@email.com", "dokan-lite")
2201
  },
2202
+ domProps: { value: _vm.vendorInfo.email },
2203
  on: {
2204
  input: function($event) {
2205
  if ($event.target.composing) {
2206
  return
2207
  }
2208
+ _vm.$set(_vm.vendorInfo, "email", $event.target.value)
2209
  }
2210
  }
2211
  }),
dokan.php CHANGED
@@ -3,12 +3,12 @@
3
  Plugin Name: Dokan
4
  Plugin URI: https://wordpress.org/plugins/dokan-lite/
5
  Description: An e-commerce marketplace plugin for WordPress. Powered by WooCommerce and weDevs.
6
- Version: 3.0.1
7
  Author: weDevs
8
  Author URI: https://wedevs.com/
9
  Text Domain: dokan-lite
10
  WC requires at least: 3.0
11
- WC tested up to: 3.9.1
12
  Domain Path: /languages/
13
  License: GPL2
14
  */
@@ -54,7 +54,7 @@ final class WeDevs_Dokan {
54
  *
55
  * @var string
56
  */
57
- public $version = '3.0.1';
58
 
59
  /**
60
  * Instance of self
3
  Plugin Name: Dokan
4
  Plugin URI: https://wordpress.org/plugins/dokan-lite/
5
  Description: An e-commerce marketplace plugin for WordPress. Powered by WooCommerce and weDevs.
6
+ Version: 3.0.2
7
  Author: weDevs
8
  Author URI: https://wedevs.com/
9
  Text Domain: dokan-lite
10
  WC requires at least: 3.0
11
+ WC tested up to: 4.0.1
12
  Domain Path: /languages/
13
  License: GPL2
14
  */
54
  *
55
  * @var string
56
  */
57
+ public $version = '3.0.2';
58
 
59
  /**
60
  * Instance of self
includes/Abstracts/DokanRESTController.php CHANGED
@@ -448,4 +448,23 @@ abstract class DokanRESTController extends WP_REST_Controller {
448
  return $response;
449
  }
450
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
451
  }
448
  return $response;
449
  }
450
 
451
+ /**
452
+ * Add meta query.
453
+ *
454
+ * @since 3.0.2
455
+ *
456
+ * @param array $args Query args.
457
+ * @param array $meta_query Meta query.
458
+ *
459
+ * @return array
460
+ */
461
+ protected function add_meta_query( $args, $meta_query ) {
462
+ if ( empty( $args['meta_query'] ) ) {
463
+ $args['meta_query'] = array();
464
+ }
465
+
466
+ $args['meta_query'][] = $meta_query;
467
+
468
+ return $args['meta_query'];
469
+ }
470
  }
includes/Admin/SetupWizard.php CHANGED
@@ -26,6 +26,10 @@ class SetupWizard {
26
  * Hook in tabs.
27
  */
28
  public function __construct() {
 
 
 
 
29
  if ( current_user_can( 'manage_woocommerce' ) ) {
30
  add_action( 'admin_menu', array( $this, 'admin_menus' ) );
31
  add_action( 'admin_init', array( $this, 'setup_wizard' ), 99 );
@@ -41,6 +45,21 @@ class SetupWizard {
41
  }
42
  }
43
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
44
  /**
45
  * Enqueue scripts & styles
46
  *
@@ -437,44 +456,23 @@ class SetupWizard {
437
  <tr>
438
  <td colspan="2">
439
  <ul class="wc-wizard-payment-gateways wc-wizard-services">
440
- <li class="wc-wizard-service-item">
441
- <div class="wc-wizard-service-name">
442
- <p><?php esc_html_e( 'PayPal', 'dokan-lite' ); ?></p>
443
- </div>
444
- <div class="wc-wizard-service-description">
445
- <?php esc_html_e( 'Enable PayPal for your vendor as a withdraw method', 'dokan-lite' ); ?>
446
- </div>
447
- <div class="dokan-wizard-service-enable">
448
- <input type="checkbox" name="withdraw_methods[paypal]" id="withdraw_methods[paypal]" class="switch-input" value="paypal" checked>
449
- <label for="withdraw_methods[paypal]" class="switch-label"></label>
450
- </div>
451
- </li>
452
-
453
- <li class="wc-wizard-service-item <?php echo ( array_key_exists( 'paypal', $withdraw_methods ) ) ? 'checked="checked"' : ''; ?>">
454
- <div class="wc-wizard-service-name">
455
- <p><?php esc_html_e( 'Bank', 'dokan-lite' ); ?></p>
456
- </div>
457
- <div class="wc-wizard-service-description">
458
- <?php esc_html_e( 'Enable bank transfer for your vendor as a withdraw method', 'dokan-lite' ); ?>
459
- </div>
460
- <div class="dokan-wizard-service-enable">
461
- <input type="checkbox" name="withdraw_methods[bank]" id="withdraw_methods[bank]" value="bank" class="switch-input" checked>
462
- <label for="withdraw_methods[bank]" class="switch-label"></label>
463
- </div>
464
- </li>
465
-
466
- <li class="wc-wizard-service-item <?php echo ( array_key_exists( 'paypal', $withdraw_methods ) ) ? 'checked="checked"' : ''; ?>">
467
- <div class="wc-wizard-service-name">
468
- <p><?php esc_html_e( 'Skrill', 'dokan-lite' ); ?></p>
469
- </div>
470
- <div class="wc-wizard-service-description">
471
- <?php esc_html_e( 'Enable skrill for your vendor as a withdraw method', 'dokan-lite' ); ?>
472
- </div>
473
- <div class="dokan-wizard-service-enable">
474
- <input type="checkbox" name="withdraw_methods[skrill]" id="withdraw_methods[skrill]" value="skrill" class="switch-input" checked>
475
- <label for="withdraw_methods[skrill]" class="switch-label"></label>
476
- </div>
477
- </li>
478
 
479
  <?php
480
  /**
26
  * Hook in tabs.
27
  */
28
  public function __construct() {
29
+ if ( ! dokan()->has_woocommerce() ) {
30
+ add_filter( 'user_has_cap', [ $this, 'set_user_cap' ] );
31
+ }
32
+
33
  if ( current_user_can( 'manage_woocommerce' ) ) {
34
  add_action( 'admin_menu', array( $this, 'admin_menus' ) );
35
  add_action( 'admin_init', array( $this, 'setup_wizard' ), 99 );
45
  }
46
  }
47
 
48
+ /**
49
+ * Give manage_woocommerce cap to admin if not there.
50
+ *
51
+ * @param array $caps
52
+ *
53
+ * @return array
54
+ */
55
+ public function set_user_cap( $caps ) {
56
+ if ( ! empty( $caps[ 'manage_options' ] ) ) {
57
+ $caps[ 'manage_woocommerce' ] = true;
58
+ }
59
+
60
+ return $caps;
61
+ }
62
+
63
  /**
64
  * Enqueue scripts & styles
65
  *
456
  <tr>
457
  <td colspan="2">
458
  <ul class="wc-wizard-payment-gateways wc-wizard-services">
459
+ <?php foreach ( dokan_withdraw_register_methods() as $key => $method ): ?>
460
+ <li class="wc-wizard-service-item <?php echo ( in_array( $key, array_values( $withdraw_methods ) ) ) ? 'checked="checked"' : ''; ?>">
461
+ <div class="wc-wizard-service-name">
462
+ <p><?php echo $method['title']; ?></p>
463
+ </div>
464
+ <div class="wc-wizard-service-description">
465
+ <?php printf(
466
+ esc_html__( 'Enable %s for your vendor as a withdraw method', 'dokan-lite' ),
467
+ $method['title']
468
+ ); ?>
469
+ </div>
470
+ <div class="dokan-wizard-service-enable">
471
+ <input type="checkbox" name="withdraw_methods[<?php esc_attr_e( $key ); ?>]" id="withdraw_methods[<?php esc_attr_e( $key ); ?>]" class="switch-input" value="<?php esc_attr_e( $key ); ?>" <?php echo ( in_array( $key, array_values( $withdraw_methods ) ) ) ? 'checked="checked"' : ''; ?>>
472
+ <label for="withdraw_methods[<?php esc_attr_e( $key ); ?>]" class="switch-label"></label>
473
+ </div>
474
+ </li>
475
+ <?php endforeach ?>
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
476
 
477
  <?php
478
  /**
includes/Ajax.php CHANGED
@@ -959,6 +959,8 @@ class Ajax {
959
  'method' => 'paypal'
960
  );
961
 
 
 
962
  dokan()->withdraw->export( $args )->csv();
963
  }
964
  }
959
  'method' => 'paypal'
960
  );
961
 
962
+ $args = apply_filters( 'dokan_withdraw_export_csv_args', $args );
963
+
964
  dokan()->withdraw->export( $args )->csv();
965
  }
966
  }
includes/Dashboard/Templates/Orders.php CHANGED
@@ -65,9 +65,12 @@ class Orders {
65
 
66
  if ( wp_verify_nonce( $_nonce, 'dokan_view_order' ) && current_user_can( 'dokan_view_order' ) ) {
67
  dokan_get_template_part( 'orders/details' );
 
 
68
  } else {
69
  dokan_get_template_part( 'global/dokan-error', '', array( 'deleted' => false, 'message' => __( 'You have no permission to view this order', 'dokan-lite' ) ) );
70
  }
 
71
  } else {
72
  dokan_get_template_part( 'orders/date-export' );
73
  dokan_get_template_part( 'orders/listing' );
65
 
66
  if ( wp_verify_nonce( $_nonce, 'dokan_view_order' ) && current_user_can( 'dokan_view_order' ) ) {
67
  dokan_get_template_part( 'orders/details' );
68
+ } else if ( isset ( $_REQUEST['_view_mode'] ) && 'email' == $_REQUEST['_view_mode'] && current_user_can( 'dokan_view_order' ) ) {
69
+ dokan_get_template_part( 'orders/details' );
70
  } else {
71
  dokan_get_template_part( 'global/dokan-error', '', array( 'deleted' => false, 'message' => __( 'You have no permission to view this order', 'dokan-lite' ) ) );
72
  }
73
+
74
  } else {
75
  dokan_get_template_part( 'orders/date-export' );
76
  dokan_get_template_part( 'orders/listing' );
includes/Emails/Manager.php CHANGED
@@ -89,6 +89,7 @@ class Manager {
89
  $wc_emails['Dokan_Email_Withdraw_Approved'] = new WithdrawApproved();
90
  $wc_emails['Dokan_Email_Withdraw_Cancelled'] = new WithdrawCancelled();
91
  $wc_emails['Dokan_Email_Contact_Seller'] = new ContactSeller();
 
92
 
93
  return apply_filters( 'dokan_email_classes', $wc_emails );
94
  }
@@ -115,7 +116,8 @@ class Manager {
115
  'new-seller-registered.php',
116
  'withdraw-new.php',
117
  'withdraw-cancel.php',
118
- 'withdraw-approve.php'
 
119
  )
120
  );
121
 
89
  $wc_emails['Dokan_Email_Withdraw_Approved'] = new WithdrawApproved();
90
  $wc_emails['Dokan_Email_Withdraw_Cancelled'] = new WithdrawCancelled();
91
  $wc_emails['Dokan_Email_Contact_Seller'] = new ContactSeller();
92
+ $wc_emails['Dokan_Email_New_Order'] = new VendorNewOrder();
93
 
94
  return apply_filters( 'dokan_email_classes', $wc_emails );
95
  }
116
  'new-seller-registered.php',
117
  'withdraw-new.php',
118
  'withdraw-cancel.php',
119
+ 'withdraw-approve.php',
120
+ 'vendor-new-order.php'
121
  )
122
  );
123
 
includes/Emails/VendorNewOrder.php ADDED
@@ -0,0 +1,194 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ <?php
2
+
3
+ namespace WeDevs\Dokan\Emails;
4
+
5
+ use WC_Email;
6
+
7
+ /**
8
+ * New Order Email.
9
+ *
10
+ * An email sent to the admin when a new order is received/paid for.
11
+ *
12
+ * @class VendorNewOrder
13
+ * @version 2.6.8
14
+ * @package Dokan/Classes/Emails
15
+ * @author weDevs
16
+ * @extends WC_Email
17
+ */
18
+ class VendorNewOrder extends WC_Email {
19
+
20
+ /**
21
+ * Constructor.
22
+ */
23
+ public function __construct() {
24
+ $this->id = 'dokan_vendor_new_order';
25
+ $this->title = __( 'Dokan Vendor New Order', 'dokan-lite' );
26
+ $this->description = __( 'New order emails are sent to chosen recipient(s) when a new order is received.', 'dokan-lite' );
27
+ $this->template_html = 'emails/vendor-new-order.php';
28
+ $this->template_plain = 'emails/plain/vendor-new-order.php';
29
+ $this->template_base = DOKAN_DIR.'/templates/';
30
+ $this->placeholders = array(
31
+ '{site_title}' => $this->get_blogname(),
32
+ '{order_date}' => '',
33
+ '{order_number}' => '',
34
+ );
35
+
36
+ // Triggers for this email.
37
+ add_action( 'woocommerce_order_status_pending_to_processing_notification', array( $this, 'trigger' ), 10, 2 );
38
+ add_action( 'woocommerce_order_status_pending_to_completed_notification', array( $this, 'trigger' ), 10, 2 );
39
+ add_action( 'woocommerce_order_status_pending_to_on-hold_notification', array( $this, 'trigger' ), 10, 2 );
40
+ add_action( 'woocommerce_order_status_failed_to_processing_notification', array( $this, 'trigger' ), 10, 2 );
41
+ add_action( 'woocommerce_order_status_failed_to_completed_notification', array( $this, 'trigger' ), 10, 2 );
42
+ add_action( 'woocommerce_order_status_failed_to_on-hold_notification', array( $this, 'trigger' ), 10, 2 );
43
+
44
+ // Call parent constructor.
45
+ parent::__construct();
46
+
47
+ // Other settings.
48
+ $this->recipient = 'vendor@ofthe.product';
49
+ }
50
+
51
+ /**
52
+ * Get email subject.
53
+ *
54
+ * @since 3.1.0
55
+ * @return string
56
+ */
57
+ public function get_default_subject() {
58
+ return __( '[{site_title}] New customer order ({order_number}) - {order_date}', 'dokan-lite' );
59
+ }
60
+
61
+ /**
62
+ * Get email heading.
63
+ *
64
+ * @since 3.1.0
65
+ * @return string
66
+ */
67
+ public function get_default_heading() {
68
+ return __( 'New Customer Order: #{order_number}', 'dokan-lite' );
69
+ }
70
+
71
+ /**
72
+ * Trigger the sending of this email.
73
+ *
74
+ * @param int $order_id The Order ID.
75
+ * @param array $order.
76
+ */
77
+ public function trigger( $order_id, $order = false ) {
78
+
79
+ if ( ! $this->is_enabled() ) {
80
+ return;
81
+ }
82
+
83
+ $this->setup_locale();
84
+ if ( $order_id && ! is_a( $order, 'WC_Order' ) ) {
85
+ $order = wc_get_order( $order_id );
86
+ }
87
+
88
+ if ( is_a( $order, 'WC_Order' ) ) {
89
+ $this->object = $order;
90
+ $this->placeholders['{order_date}'] = wc_format_datetime( $this->object->get_date_created() );
91
+ $this->placeholders['{order_number}'] = $this->object->get_order_number();
92
+ }
93
+
94
+ $sellers = dokan_get_seller_id_by_order( $order_id );
95
+ if ( empty( $sellers ) ) {
96
+ return;
97
+ }
98
+
99
+ // check has sub order
100
+ if ( ! dokan_is_sub_order( $order_id ) ) {
101
+ foreach ($sellers as $seller) {
102
+ $seller_info = get_userdata( $seller );
103
+ $seller_email = $seller_info->user_email;
104
+ $this->order_info = dokan_get_vendor_order_details( $order_id, $seller );
105
+ $this->send( $seller_email, $this->get_subject(), $this->get_content(), $this->get_headers(), $this->get_attachments() );
106
+ }
107
+ } else {
108
+ $seller_info = get_userdata( $sellers );
109
+ $seller_email = $seller_info->user_email;
110
+ $this->order_info = dokan_get_vendor_order_details( $order_id, $sellers );
111
+ $this->send( $seller_email, $this->get_subject(), $this->get_content(), $this->get_headers(), $this->get_attachments() );
112
+ }
113
+ $this->restore_locale();
114
+ }
115
+
116
+ /**
117
+ * Get content html.
118
+ *
119
+ * @access public
120
+ * @return string
121
+ */
122
+ public function get_content_html() {
123
+ return wc_get_template_html(
124
+ $this->template_html, array(
125
+ 'order' => $this->object,
126
+ 'email_heading' => $this->get_heading(),
127
+ 'sent_to_admin' => true,
128
+ 'plain_text' => false,
129
+ 'email' => $this,
130
+ 'order_info' => $this->order_info,
131
+ ), 'dokan' ,$this->template_base
132
+ );
133
+ }
134
+
135
+ /**
136
+ * Get content plain.
137
+ *
138
+ * @access public
139
+ * @return string
140
+ */
141
+ public function get_content_plain() {
142
+ return wc_get_template_html(
143
+ $this->template_plain, array(
144
+ 'order' => $this->object,
145
+ 'email_heading' => $this->get_heading(),
146
+ 'sent_to_admin' => true,
147
+ 'plain_text' => true,
148
+ 'email' => $this,
149
+ 'order_info' => $this->order_info,
150
+ ), 'dokan/', $this->template_base
151
+ );
152
+ }
153
+
154
+ /**
155
+ * Initialise settings form fields.
156
+ */
157
+ public function init_form_fields() {
158
+ $this->form_fields = array(
159
+ 'enabled' => array(
160
+ 'title' => __( 'Enable/Disable', 'dokan-lite' ),
161
+ 'type' => 'checkbox',
162
+ 'label' => __( 'Enable this email notification', 'dokan-lite' ),
163
+ 'default' => 'yes',
164
+ ),
165
+ 'subject' => array(
166
+ 'title' => __( 'Subject', 'dokan-lite' ),
167
+ 'type' => 'text',
168
+ 'desc_tip' => true,
169
+ /* translators: %s: list of placeholders */
170
+ 'description' => sprintf( __( 'Available placeholders: %s', 'dokan-lite' ), '<code>{site_title}, {order_date}, {order_number}</code>' ),
171
+ 'placeholder' => $this->get_default_subject(),
172
+ 'default' => '',
173
+ ),
174
+ 'heading' => array(
175
+ 'title' => __( 'Email heading', 'dokan-lite' ),
176
+ 'type' => 'text',
177
+ 'desc_tip' => true,
178
+ /* translators: %s: list of placeholders */
179
+ 'description' => sprintf( __( 'Available placeholders: %s', 'dokan-lite' ), '<code>{site_title}, {order_date}, {order_number}</code>' ),
180
+ 'placeholder' => $this->get_default_heading(),
181
+ 'default' => '',
182
+ ),
183
+ 'email_type' => array(
184
+ 'title' => __( 'Email type', 'dokan-lite' ),
185
+ 'type' => 'select',
186
+ 'description' => __( 'Choose which format of email to send.', 'dokan-lite' ),
187
+ 'default' => 'html',
188
+ 'class' => 'email_type wc-enhanced-select',
189
+ 'options' => $this->get_email_type_options(),
190
+ 'desc_tip' => true,
191
+ ),
192
+ );
193
+ }
194
+ }
includes/Privacy.php CHANGED
@@ -46,11 +46,10 @@ class Privacy extends WC_Abstract_Privacy {
46
  */
47
  public function get_privacy_message() {
48
  $content = '
49
- <div contenteditable="false">' .
50
- '<p class="wp-policy-help">' .
51
- __( 'This sample privacy policy includes the basics around what personal data your multivendor store may be collecting, storing and sharing, as well as who may have access to that data. Depending on what settings are enabled and which additional plugins are used, the specific information shared by your store will vary. We recommend consulting with a lawyer when deciding what information to disclose on your privacy policy.', 'dokan-lite' ) .
52
- '</p>' .
53
- '</div>' .
54
  '<p>' . __( 'We collect information about you during the checkout process on our store.', 'dokan-lite' ) . '</p>' .
55
  '<h2>' . __( 'What we collect and store', 'dokan-lite' ) . '</h2>' .
56
  '<p>' . __( 'While you visit our site, we’ll track:', 'dokan-lite' ) . '</p>' .
@@ -61,9 +60,7 @@ class Privacy extends WC_Abstract_Privacy {
61
  '<li>' . __( 'Shipping address: we’ll ask you to enter this so we can, for instance, estimate shipping before you place an order, and send you the order!', 'dokan-lite' ) . '</li>' .
62
  '</ul>' .
63
  '<p>' . __( 'We’ll also use cookies to keep track of cart contents while you’re browsing our site.', 'dokan-lite' ) . '</p>' .
64
- '<div contenteditable="false">' .
65
- '<p class="wp-policy-help">' . __( 'Note: you may want to further detail your cookie policy, and link to that section from here.', 'dokan-lite' ) . '</p>' .
66
- '</div>' .
67
  '<p>' . __( 'When you purchase from us, we’ll ask you to provide information including your name, billing address, shipping address, email address, phone number, credit card/payment details and optional account information like username and password. We’ll use this information for purposes, such as, to:', 'dokan-lite' ) . '</p>' .
68
  '<ul>' .
69
  '<li>' . __( 'Send you information about your account and order', 'dokan-lite' ) . '</li>' .
@@ -85,19 +82,14 @@ class Privacy extends WC_Abstract_Privacy {
85
  '</ul>' .
86
  '<p>' . __( 'Our team members have access to this information to help fulfill orders, process refunds and support you.', 'dokan-lite' ) . '</p>' .
87
  '<h2>' . __( 'What we share with others', 'dokan-lite' ) . '</h2>' .
88
- '<div contenteditable="false">' .
89
- '<p class="wp-policy-help">' . __( 'In this section you should list who you’re sharing data with, and for what purpose. This could include, but may not be limited to, analytics, marketing, payment gateways, shipping providers, and third party embeds.', 'dokan-lite' ) . '</p>' .
90
- '</div>' .
91
  '<p>' . __( 'We share information with third parties who help us provide our orders and store services to you; for example --', 'dokan-lite' ) . '</p>' .
92
  '<h3>' . __( 'Payments', 'dokan-lite' ) . '</h3>' .
93
- '<div contenteditable="false">' .
94
- '<p class="wp-policy-help">' . __( 'In this subsection you should list which third party payment processors you’re using to take payments on your store since these may handle customer data. We’ve included PayPal as an example, but you should remove this if you’re not using PayPal.', 'dokan-lite' ) . '</p>' .
95
- '</div>' .
96
  '<p>' . __( 'We accept payments through PayPal. When processing payments, some of your data will be passed to PayPal, including information required to process or support the payment, such as the purchase total and billing information.', 'dokan-lite' ) . '</p>' .
97
  '<p>' . __( 'Please see the <a href="https://www.paypal.com/us/webapps/mpp/ua/privacy-full">PayPal Privacy Policy</a> for more details.', 'dokan-lite' ) . '</p>'.
98
  '<h3>' . __( 'Modules', 'dokan-lite' ) . '</h3>' .
99
- '<div contenteditable="false">' .
100
- '<p class="wp-policy-help">' . __( 'Dokan has premium modules that perform specific and special purpose tasks. Each of the modules collect additional information. Also third party extensions and integrations collect data that is applicable to the each of their individual privacy policy.', 'dokan-lite' ) . '</p>' .
101
  '</div>';
102
 
103
  return apply_filters( 'dokan_privacy_policy_content', $content );
@@ -148,10 +140,11 @@ class Privacy extends WC_Abstract_Privacy {
148
 
149
  if ( $user instanceof WP_User ) {
150
  $data_to_export[] = array(
151
- 'group_id' => 'dokan_vendor',
152
- 'group_label' => __( 'Vendor Data', 'dokan-lite' ),
153
- 'item_id' => 'user',
154
- 'data' => $this->get_vendor_personal_data( $user ),
 
155
  );
156
  }
157
 
46
  */
47
  public function get_privacy_message() {
48
  $content = '
49
+ <div class="wp-suggested-text">' .
50
+ '<p class="privacy-policy-tutorial">' .
51
+ __( 'This sample privacy policy includes the basics around what personal data your multivendor store may be collecting, storing and sharing, as well as who may have access to that data. Depending on what settings are enabled and which additional plugins are used, the specific information shared by your store will vary. We recommend consulting with a lawyer when deciding what information to disclose on your privacy policy.', 'dokan-lite' ) .
52
+ '</p>' .
 
53
  '<p>' . __( 'We collect information about you during the checkout process on our store.', 'dokan-lite' ) . '</p>' .
54
  '<h2>' . __( 'What we collect and store', 'dokan-lite' ) . '</h2>' .
55
  '<p>' . __( 'While you visit our site, we’ll track:', 'dokan-lite' ) . '</p>' .
60
  '<li>' . __( 'Shipping address: we’ll ask you to enter this so we can, for instance, estimate shipping before you place an order, and send you the order!', 'dokan-lite' ) . '</li>' .
61
  '</ul>' .
62
  '<p>' . __( 'We’ll also use cookies to keep track of cart contents while you’re browsing our site.', 'dokan-lite' ) . '</p>' .
63
+ '<p class="privacy-policy-tutorial">' . __( 'Note: you may want to further detail your cookie policy, and link to that section from here.', 'dokan-lite' ) . '</p>' .
 
 
64
  '<p>' . __( 'When you purchase from us, we’ll ask you to provide information including your name, billing address, shipping address, email address, phone number, credit card/payment details and optional account information like username and password. We’ll use this information for purposes, such as, to:', 'dokan-lite' ) . '</p>' .
65
  '<ul>' .
66
  '<li>' . __( 'Send you information about your account and order', 'dokan-lite' ) . '</li>' .
82
  '</ul>' .
83
  '<p>' . __( 'Our team members have access to this information to help fulfill orders, process refunds and support you.', 'dokan-lite' ) . '</p>' .
84
  '<h2>' . __( 'What we share with others', 'dokan-lite' ) . '</h2>' .
85
+ '<p class="privacy-policy-tutorial">' . __( 'In this section you should list who you’re sharing data with, and for what purpose. This could include, but may not be limited to, analytics, marketing, payment gateways, shipping providers, and third party embeds.', 'dokan-lite' ) . '</p>' .
 
 
86
  '<p>' . __( 'We share information with third parties who help us provide our orders and store services to you; for example --', 'dokan-lite' ) . '</p>' .
87
  '<h3>' . __( 'Payments', 'dokan-lite' ) . '</h3>' .
88
+ '<p class="privacy-policy-tutorial">' . __( 'In this subsection you should list which third party payment processors you’re using to take payments on your store since these may handle customer data. We’ve included PayPal as an example, but you should remove this if you’re not using PayPal.', 'dokan-lite' ) . '</p>' .
 
 
89
  '<p>' . __( 'We accept payments through PayPal. When processing payments, some of your data will be passed to PayPal, including information required to process or support the payment, such as the purchase total and billing information.', 'dokan-lite' ) . '</p>' .
90
  '<p>' . __( 'Please see the <a href="https://www.paypal.com/us/webapps/mpp/ua/privacy-full">PayPal Privacy Policy</a> for more details.', 'dokan-lite' ) . '</p>'.
91
  '<h3>' . __( 'Modules', 'dokan-lite' ) . '</h3>' .
92
+ '<p class="privacy-policy-tutorial">' . __( 'Dokan has premium modules that perform specific and special purpose tasks. Each of the modules collect additional information. Also third party extensions and integrations collect data that is applicable to the each of their individual privacy policy.', 'dokan-lite' ) . '</p>' .
 
93
  '</div>';
94
 
95
  return apply_filters( 'dokan_privacy_policy_content', $content );
140
 
141
  if ( $user instanceof WP_User ) {
142
  $data_to_export[] = array(
143
+ 'group_id' => 'dokan_vendor',
144
+ 'group_label' => __( 'Vendor Data', 'dokan-lite' ),
145
+ 'group_description' => __( 'Dokan vendor personal data.', 'dokan-lite' ),
146
+ 'item_id' => 'user',
147
+ 'data' => $this->get_vendor_personal_data( $user ),
148
  );
149
  }
150
 
includes/Product/Manager.php CHANGED
@@ -336,7 +336,7 @@ class Manager {
336
  }
337
 
338
  // Set featured image id
339
- if ( isset( $args['featured_image_id'] ) ) {
340
  $product->set_image_id( $args['featured_image_id'] );
341
  }
342
 
@@ -378,6 +378,67 @@ class Manager {
378
  return $product;
379
  }
380
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
381
  /**
382
  * Update product data
383
  *
336
  }
337
 
338
  // Set featured image id
339
+ if ( ! empty( $args['featured_image_id'] ) ) {
340
  $product->set_image_id( $args['featured_image_id'] );
341
  }
342
 
378
  return $product;
379
  }
380
 
381
+ /**
382
+ * Save default attributes.
383
+ *
384
+ * @since 3.0.0
385
+ *
386
+ * @param WC_Product $product Product instance.
387
+ * @param WP_REST_Request $request Request data.
388
+ * @return WC_Product
389
+ */
390
+ public function save_default_attributes( $product, $request ) {
391
+ if ( isset( $request['default_attributes'] ) && is_array( $request['default_attributes'] ) ) {
392
+
393
+ $attributes = $product->get_attributes();
394
+ $default_attributes = array();
395
+
396
+ foreach ( $request['default_attributes'] as $attribute ) {
397
+ $attribute_id = 0;
398
+ $attribute_name = '';
399
+
400
+ // Check ID for global attributes or name for product attributes.
401
+ if ( ! empty( $attribute['id'] ) ) {
402
+ $attribute_id = absint( $attribute['id'] );
403
+ $attribute_name = wc_attribute_taxonomy_name_by_id( $attribute_id );
404
+ } elseif ( ! empty( $attribute['name'] ) ) {
405
+ $attribute_name = sanitize_title( $attribute['name'] );
406
+ }
407
+
408
+ if ( ! $attribute_id && ! $attribute_name ) {
409
+ continue;
410
+ }
411
+
412
+ if ( isset( $attributes[ $attribute_name ] ) ) {
413
+ $_attribute = $attributes[ $attribute_name ];
414
+
415
+ if ( $_attribute['is_variation'] ) {
416
+ $value = isset( $attribute['option'] ) ? wc_clean( stripslashes( $attribute['option'] ) ) : '';
417
+
418
+ if ( ! empty( $_attribute['is_taxonomy'] ) ) {
419
+ // If dealing with a taxonomy, we need to get the slug from the name posted to the API.
420
+ $term = get_term_by( 'name', $value, $attribute_name );
421
+
422
+ if ( $term && ! is_wp_error( $term ) ) {
423
+ $value = $term->slug;
424
+ } else {
425
+ $value = sanitize_title( $value );
426
+ }
427
+ }
428
+
429
+ if ( $value ) {
430
+ $default_attributes[ $attribute_name ] = $value;
431
+ }
432
+ }
433
+ }
434
+ }
435
+
436
+ $product->set_default_attributes( $default_attributes );
437
+ }
438
+
439
+ return $product;
440
+ }
441
+
442
  /**
443
  * Update product data
444
  *
includes/Product/functions.php CHANGED
@@ -84,12 +84,12 @@ function dokan_save_product( $args ) {
84
  $post_data = [
85
  'id' => $is_updating ? $post_arr['ID'] : '',
86
  'name' => $post_arr['post_title'],
87
- 'type' => 'simple',
88
  'description' => $post_arr['post_content'],
89
  'short_description' => $post_arr['post_excerpt'],
90
  'status' => $post_status,
91
- 'featured_image_id' => absint( $data['feat_image_id'] ),
92
- 'gallery_image_ids' => array_filter( explode( ',', wc_clean( $data['product_image_gallery'] ) ) ),
93
  'tags' => array_map( 'absint', (array) $data['product_tag'] ),
94
  'categories' => $cat_ids,
95
  'regular_price' => $data['_regular_price'] === '' ? '' : wc_format_decimal( $data['_regular_price'] ),
84
  $post_data = [
85
  'id' => $is_updating ? $post_arr['ID'] : '',
86
  'name' => $post_arr['post_title'],
87
+ 'type' => ! empty( $data['product_type'] ) ? $data['product_type'] : 'simple',
88
  'description' => $post_arr['post_content'],
89
  'short_description' => $post_arr['post_excerpt'],
90
  'status' => $post_status,
91
+ 'featured_image_id' => ! empty( $data['feat_image_id'] ) ? absint( $data['feat_image_id'] ) : '',
92
+ 'gallery_image_ids' => ! empty( $data['product_image_gallery'] ) ? array_filter( explode( ',', wc_clean( $data['product_image_gallery'] ) ) ) : [],
93
  'tags' => array_map( 'absint', (array) $data['product_tag'] ),
94
  'categories' => $cat_ids,
95
  'regular_price' => $data['_regular_price'] === '' ? '' : wc_format_decimal( $data['_regular_price'] ),
includes/REST/Manager.php CHANGED
@@ -99,6 +99,12 @@ class Manager {
99
  unset( $data['store_open_close'] );
100
  }
101
 
 
 
 
 
 
 
102
  if ( empty( $data['show_email'] ) ) {
103
  unset( $data['email'] );
104
  }
99
  unset( $data['store_open_close'] );
100
  }
101
 
102
+ $vendor_id = ! empty( $data['id'] ) ? absint( $data['id'] ) : 0;
103
+
104
+ if ( current_user_can( 'manage_woocommerce' ) || $vendor_id === absint( dokan_get_current_user_id() ) ) {
105
+ return $data;
106
+ }
107
+
108
  if ( empty( $data['show_email'] ) ) {
109
  unset( $data['email'] );
110
  }
includes/REST/StoreController.php CHANGED
@@ -679,14 +679,14 @@ class StoreController extends WP_REST_Controller {
679
  }
680
 
681
  // check whether email is available or not
682
- if ( ! empty( $params['user_email'] ) ) {
683
- $user_email = $params['user_email'];
684
 
685
  if ( ! is_email( $user_email ) ) {
686
  $response = [
687
- 'user_email' => $user_email,
688
- 'available' => false,
689
- 'message' => __( 'This email address is not valid', 'dokan-lite' )
690
  ];
691
 
692
  return rest_ensure_response( $response );
@@ -694,7 +694,7 @@ class StoreController extends WP_REST_Controller {
694
 
695
  if ( email_exists( $user_email ) ) {
696
  $response = [
697
- 'user_email' => $user_email,
698
  'available' => false
699
  ];
700
 
@@ -702,7 +702,7 @@ class StoreController extends WP_REST_Controller {
702
  }
703
 
704
  $response = [
705
- 'user_email' => $user_email,
706
  'available' => true
707
  ];
708
 
679
  }
680
 
681
  // check whether email is available or not
682
+ if ( ! empty( $params['email'] ) ) {
683
+ $user_email = $params['email'];
684
 
685
  if ( ! is_email( $user_email ) ) {
686
  $response = [
687
+ 'email' => $user_email,
688
+ 'available' => false,
689
+ 'message' => __( 'This email address is not valid', 'dokan-lite' )
690
  ];
691
 
692
  return rest_ensure_response( $response );
694
 
695
  if ( email_exists( $user_email ) ) {
696
  $response = [
697
+ 'email' => $user_email,
698
  'available' => false
699
  ];
700
 
702
  }
703
 
704
  $response = [
705
+ 'email' => $user_email,
706
  'available' => true
707
  ];
708
 
includes/Shortcodes/VendorRegistration.php CHANGED
@@ -15,8 +15,7 @@ class VendorRegistration extends DokanShortcode {
15
  */
16
  public function render_shortcode( $atts ) {
17
  if ( is_user_logged_in() ) {
18
- esc_html_e( 'You are already logged in', 'dokan-lite' );
19
- return;
20
  }
21
 
22
  dokan()->scripts->load_form_validate_script();
15
  */
16
  public function render_shortcode( $atts ) {
17
  if ( is_user_logged_in() ) {
18
+ return esc_html__( 'You are already logged in', 'dokan-lite' );
 
19
  }
20
 
21
  dokan()->scripts->load_form_validate_script();
includes/Vendor/Manager.php CHANGED
@@ -132,6 +132,11 @@ class Manager {
132
  'user_pass' => wp_generate_password(),
133
  ];
134
 
 
 
 
 
 
135
  $vendor_data = wp_parse_args( $data, $defaults );
136
  $vendor_id = wp_insert_user( $vendor_data );
137
 
@@ -252,16 +257,15 @@ class Manager {
252
  );
253
  }
254
 
255
- if ( ! empty( $data['user_email'] ) ) {
256
-
257
- if ( ! is_email( $data['user_email'] ) ) {
258
  return new WP_Error( 'invalid_email', __( 'Email is not valid', 'dokan-lite' ) );
259
  }
260
 
261
  wp_update_user(
262
  array(
263
  'ID' => $vendor->get_id(),
264
- 'user_email' => sanitize_email( $data['user_email'] ),
265
  )
266
  );
267
  }
132
  'user_pass' => wp_generate_password(),
133
  ];
134
 
135
+ if ( ! empty( $data['email'] ) ) {
136
+ $data['user_email'] = $data['email'];
137
+ unset( $data['email'] );
138
+ }
139
+
140
  $vendor_data = wp_parse_args( $data, $defaults );
141
  $vendor_id = wp_insert_user( $vendor_data );
142
 
257
  );
258
  }
259
 
260
+ if ( ! empty( $data['email'] ) ) {
261
+ if ( ! is_email( $data['email'] ) ) {
 
262
  return new WP_Error( 'invalid_email', __( 'Email is not valid', 'dokan-lite' ) );
263
  }
264
 
265
  wp_update_user(
266
  array(
267
  'ID' => $vendor->get_id(),
268
+ 'user_email' => sanitize_email( $data['email'] ),
269
  )
270
  );
271
  }
includes/Widgets/ProductCategoryMenu.php CHANGED
@@ -35,7 +35,7 @@ class ProductCategoryMenu extends WP_Widget {
35
  echo $args['before_title'] . $title . $args['after_title']; // phpcs:ignore WordPress.XSS.EscapeOutput.OutputNotEscaped
36
 
37
  ?>
38
- <div id="cat-drop-stack">
39
  <?php
40
  $args = apply_filters( 'dokan_category_widget', array(
41
  'hide_empty' => false,
@@ -56,33 +56,6 @@ class ProductCategoryMenu extends WP_Widget {
56
  echo "</ul>";
57
  ?>
58
  </div>
59
- <script>
60
- ( function ( $ ) {
61
-
62
- $( '#cat-drop-stack li.has-children' ).on( 'click', '> a span.caret-icon', function ( e ) {
63
- e.preventDefault();
64
- var self = $( this ),
65
- liHasChildren = self.closest( 'li.has-children' );
66
-
67
- if ( !liHasChildren.find( '> ul.children' ).is( ':visible' ) ) {
68
- self.find( 'i.fa' ).addClass( 'fa-rotate-90' );
69
- if ( liHasChildren.find( '> ul.children' ).hasClass( 'level-0' ) ) {
70
- self.closest( 'a' ).css( { 'borderBottom': 'none' } );
71
- }
72
- }
73
-
74
- liHasChildren.find( '> ul.children' ).slideToggle( 'fast', function () {
75
- if ( !$( this ).is( ':visible' ) ) {
76
- self.find( 'i.fa' ).removeClass( 'fa-rotate-90' );
77
-
78
- if ( liHasChildren.find( '> ul.children' ).hasClass( 'level-0' ) ) {
79
- self.closest( 'a' ).css( { 'borderBottom': '1px solid #eee' } );
80
- }
81
- }
82
- } );
83
- } );
84
- } )( jQuery );
85
- </script>
86
  <?php
87
 
88
  echo $after_widget; // phpcs:ignore WordPress.XSS.EscapeOutput.OutputNotEscaped
35
  echo $args['before_title'] . $title . $args['after_title']; // phpcs:ignore WordPress.XSS.EscapeOutput.OutputNotEscaped
36
 
37
  ?>
38
+ <div id="cat-drop-stack" class="product-cat-stack-dokan">
39
  <?php
40
  $args = apply_filters( 'dokan_category_widget', array(
41
  'hide_empty' => false,
56
  echo "</ul>";
57
  ?>
58
  </div>
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
59
  <?php
60
 
61
  echo $after_widget; // phpcs:ignore WordPress.XSS.EscapeOutput.OutputNotEscaped
includes/Widgets/StoreCategoryMenu.php CHANGED
@@ -44,46 +44,6 @@ class StoreCategoryMenu extends WP_Widget {
44
 
45
  dokan_store_category_menu( $seller_id, $title );
46
 
47
- ?>
48
- <script>
49
- ( function ( $ ) {
50
-
51
- $( '#cat-drop-stack li.has-children' ).on( 'click', '> a span.caret-icon', function ( e ) {
52
- e.preventDefault();
53
- var self = $( this ),
54
- liHasChildren = self.closest( 'li.has-children' );
55
-
56
- if ( !liHasChildren.find( '> ul.children' ).is( ':visible' ) ) {
57
- self.find( 'i.fa' ).addClass( 'fa-rotate-90' );
58
- if ( liHasChildren.find( '> ul.children' ).hasClass( 'level-0' ) ) {
59
- self.closest( 'a' ).css( { 'borderBottom': 'none' } );
60
- }
61
- }
62
-
63
- liHasChildren.find( '> ul.children' ).slideToggle( 'fast', function () {
64
- if ( !$( this ).is( ':visible' ) ) {
65
- self.find( 'i.fa' ).removeClass( 'fa-rotate-90' );
66
-
67
- if ( liHasChildren.find( '> ul.children' ).hasClass( 'level-0' ) ) {
68
- self.closest( 'a' ).css( { 'borderBottom': '1px solid #eee' } );
69
- }
70
- }
71
- } );
72
- } );
73
-
74
- $(document).ready(function(){
75
- var selectedLi = $('#cat-drop-stack ul').find( 'a.selected' );
76
- selectedLi.css({ fontWeight: 'bold' });
77
-
78
- selectedLi.parents('ul.children').each( function( i, val ) {
79
- $( val ).css({ display: 'block' });
80
- });
81
- });
82
- } )( jQuery );
83
- </script>
84
-
85
- <?php
86
-
87
  echo $after_widget; // phpcs:ignore WordPress.XSS.EscapeOutput.OutputNotEscaped
88
  }
89
 
44
 
45
  dokan_store_category_menu( $seller_id, $title );
46
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
47
  echo $after_widget; // phpcs:ignore WordPress.XSS.EscapeOutput.OutputNotEscaped
48
  }
49
 
includes/Widgets/StoreLocation.php CHANGED
@@ -46,10 +46,10 @@ class StoreLocation extends WP_Widget {
46
  $store_info = dokan_get_store_info( get_query_var( 'author' ) );
47
  $map_location = isset( $store_info['location'] ) ? esc_attr( $store_info['location'] ) : '';
48
 
49
- if ( empty( $map_location ) ) {
50
  return;
51
  }
52
-
53
  echo $before_widget; // phpcs:ignore WordPress.XSS.EscapeOutput.OutputNotEscaped
54
 
55
  if ( ! empty( $title ) ) {
46
  $store_info = dokan_get_store_info( get_query_var( 'author' ) );
47
  $map_location = isset( $store_info['location'] ) ? esc_attr( $store_info['location'] ) : '';
48
 
49
+ if ( empty( $map_location ) || ! dokan_has_map_api_key() ) {
50
  return;
51
  }
52
+
53
  echo $before_widget; // phpcs:ignore WordPress.XSS.EscapeOutput.OutputNotEscaped
54
 
55
  if ( ! empty( $title ) ) {
includes/functions.php CHANGED
@@ -2114,9 +2114,9 @@ function dokan_get_shipping_processing_times() {
2114
  $times = array(
2115
  '' => __( 'Ready to ship in...', 'dokan-lite' ),
2116
  '1' => __( '1 business day', 'dokan-lite' ),
2117
- '2' => __( '1-2 business day', 'dokan-lite' ),
2118
- '3' => __( '1-3 business day', 'dokan-lite' ),
2119
- '4' => __( '3-5 business day', 'dokan-lite' ),
2120
  '5' => __( '1-2 weeks', 'dokan-lite' ),
2121
  '6' => __( '2-3 weeks', 'dokan-lite' ),
2122
  '7' => __( '3-4 weeks', 'dokan-lite' ),
@@ -2142,45 +2142,30 @@ function dokan_get_processing_time_value( $index ) {
2142
  }
2143
 
2144
  /**
2145
- * Adds seller email to the new order notification email
2146
- *
2147
- * @param string $admin_email
2148
- * @param WC_Order $order
2149
  *
 
 
2150
  * @return array
2151
  */
2152
- function dokan_wc_email_recipient_add_seller( $email, $order ) {
2153
-
2154
- if ( $order ) {
2155
- $order_id = $order->get_id();
2156
-
2157
- if ( get_post_meta( $order_id, 'has_sub_order', true ) ) {
2158
- return $email;
2159
- }
2160
-
2161
- $sellers = dokan_get_seller_id_by_order( $order_id );
2162
-
2163
- if ( $sellers ) {
2164
- $seller = get_userdata( $sellers );
2165
- $seller_email = $seller->user_email;
2166
-
2167
- if ( ! wp_get_post_parent_id( $order_id ) ) {
2168
- if ( $email != $seller_email ) {
2169
- $email .= ',' . $seller_email;
2170
- }
2171
- } else {
2172
- if ( $email != $seller_email ) {
2173
- $email = $seller_email;
2174
- }
2175
- }
2176
  }
2177
  }
2178
 
2179
- return apply_filters( 'dokan_email_recipient_new_order', $email );
2180
  }
2181
 
2182
- add_filter( 'woocommerce_email_recipient_new_order', 'dokan_wc_email_recipient_add_seller', 10, 2 );
2183
-
2184
  /**
2185
  * Send email to seller and admin when there is no product in stock or low stock
2186
  *
@@ -2956,6 +2941,30 @@ function dokan_get_all_caps() {
2956
  return apply_filters( 'dokan_get_all_cap', $capabilities );
2957
  }
2958
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
2959
  /**
2960
  * Merge user defined arguments into defaults array.
2961
  *
@@ -3421,7 +3430,7 @@ function dokan_is_store_listing() {
3421
  if ( ! $found ) {
3422
  $post = get_post( $page_id );
3423
 
3424
- if ( $post && false !== strpos( $post->post_content, '[dokan-stores]' ) ) {
3425
  $found = true;
3426
  }
3427
  }
@@ -3773,3 +3782,20 @@ function dokan_generate_ratings( $rating, $stars ) {
3773
  function dokan_met_minimum_php_version_for_wc( $required_version = '7.0' ) {
3774
  return apply_filters( 'dokan_met_minimum_php_version_for_wc', version_compare( PHP_VERSION, $required_version, '>=' ), $required_version );
3775
  }
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
2114
  $times = array(
2115
  '' => __( 'Ready to ship in...', 'dokan-lite' ),
2116
  '1' => __( '1 business day', 'dokan-lite' ),
2117
+ '2' => __( '1-2 business days', 'dokan-lite' ),
2118
+ '3' => __( '1-3 business days', 'dokan-lite' ),
2119
+ '4' => __( '3-5 business days', 'dokan-lite' ),
2120
  '5' => __( '1-2 weeks', 'dokan-lite' ),
2121
  '6' => __( '2-3 weeks', 'dokan-lite' ),
2122
  '7' => __( '3-4 weeks', 'dokan-lite' ),
2142
  }
2143
 
2144
  /**
2145
+ * Dokan get vendor order details by order ID
 
 
 
2146
  *
2147
+ * @param int $order
2148
+ * @param int $vendor_id
2149
  * @return array
2150
  */
2151
+ function dokan_get_vendor_order_details( $order_id, $vendor_id ) {
2152
+ $order = wc_get_order( $order_id );
2153
+ $info = array();
2154
+ $order_info = array();
2155
+ foreach ( $order->get_items( 'line_item' ) as $item ) {
2156
+ $product_id = $item->get_product()->get_id();
2157
+ $author_id = get_post_field( 'post_author', $product_id );
2158
+ if ( $vendor_id == $author_id ) {
2159
+ $info['product'] = $item['name'];
2160
+ $info['quantity'] = $item['quantity'];
2161
+ $info['total'] = $item['total'];
2162
+ array_push( $order_info, $info );
 
 
 
 
 
 
 
 
 
 
 
 
2163
  }
2164
  }
2165
 
2166
+ return apply_filters( 'dokan_get_vendor_order_details', $order_info, $order_id, $vendor_id );
2167
  }
2168
 
 
 
2169
  /**
2170
  * Send email to seller and admin when there is no product in stock or low stock
2171
  *
2941
  return apply_filters( 'dokan_get_all_cap', $capabilities );
2942
  }
2943
 
2944
+ /**
2945
+ * Get translated capability
2946
+ *
2947
+ * @since 3.0.2
2948
+ *
2949
+ * @param string $cap
2950
+ *
2951
+ * @return string
2952
+ */
2953
+ function dokan_get_all_cap_labels( $cap ) {
2954
+ $caps = apply_filters( 'dokan_get_all_cap_labels', [
2955
+ 'overview' => __( 'Overview', 'dokan-lite' ),
2956
+ 'report' => __( 'Report', 'dokan-lite' ),
2957
+ 'order' => __( 'Order', 'dokan-lite' ),
2958
+ 'coupon' => __( 'Coupon', 'dokan-lite' ),
2959
+ 'review' => __( 'Review', 'dokan-lite' ),
2960
+ 'withdraw' => __( 'Withdraw', 'dokan-lite' ),
2961
+ 'product' => __( 'Product', 'dokan-lite' ),
2962
+ 'menu' => __( 'Menu', 'dokan-lite' ),
2963
+ ] );
2964
+
2965
+ return ! empty( $caps[ $cap ] ) ? $caps[ $cap ] : '';
2966
+ }
2967
+
2968
  /**
2969
  * Merge user defined arguments into defaults array.
2970
  *
3430
  if ( ! $found ) {
3431
  $post = get_post( $page_id );
3432
 
3433
+ if ( $post && false !== strpos( $post->post_content, '[dokan-stores' ) ) {
3434
  $found = true;
3435
  }
3436
  }
3782
  function dokan_met_minimum_php_version_for_wc( $required_version = '7.0' ) {
3783
  return apply_filters( 'dokan_met_minimum_php_version_for_wc', version_compare( PHP_VERSION, $required_version, '>=' ), $required_version );
3784
  }
3785
+
3786
+ /**
3787
+ * Checks if Dokan settings has map api key
3788
+ *
3789
+ * @since 3.0.2
3790
+ *
3791
+ * @return bool
3792
+ */
3793
+ function dokan_has_map_api_key() {
3794
+ $dokan_appearance = get_option( 'dokan_appearance', array() );
3795
+ if( 'google_maps' === $dokan_appearance['map_api_source'] && ! empty( $dokan_appearance['gmap_api_key'] ) ) {
3796
+ return true;
3797
+ } else if( 'mapbox' === $dokan_appearance['map_api_source'] && ! empty( $dokan_appearance['mapbox_access_token'] ) ) {
3798
+ return true;
3799
+ }
3800
+ return false;
3801
+ }
includes/template-tags.php CHANGED
@@ -514,7 +514,7 @@ if ( ! function_exists( 'dokan_store_category_menu' ) ) :
514
  */
515
  function dokan_store_category_menu( $seller_id, $title = '' ) {
516
  ?>
517
- <div id="cat-drop-stack">
518
  <?php
519
  global $wpdb;
520
  $categories = get_transient( 'dokan-store-category-'.$seller_id );
514
  */
515
  function dokan_store_category_menu( $seller_id, $title = '' ) {
516
  ?>
517
+ <div id="cat-drop-stack" class="store-cat-stack-dokan">
518
  <?php
519
  global $wpdb;
520
  $categories = get_transient( 'dokan-store-category-'.$seller_id );
languages/dokan-lite.pot CHANGED
@@ -2,9 +2,9 @@
2
  # This file is distributed under the GPL2.
3
  msgid ""
4
  msgstr ""
5
- "Project-Id-Version: Dokan 3.0.1\n"
6
  "Report-Msgid-Bugs-To: https://wedevs.com/contact/\n"
7
- "POT-Creation-Date: 2020-02-07 06:31:35+00:00\n"
8
  "MIME-Version: 1.0\n"
9
  "Content-Type: text/plain; charset=utf-8\n"
10
  "Content-Transfer-Encoding: 8bit\n"
@@ -500,7 +500,7 @@ msgid "Page %s"
500
  msgstr ""
501
 
502
  #: includes/Dashboard/Templates/Dashboard.php:101
503
- #: includes/Order/functions.php:490 includes/admin/SetupWizard.php:506
504
  #: templates/dashboard/orders-widget.php:26
505
  msgid "Completed"
506
  msgstr ""
@@ -511,7 +511,7 @@ msgid "Pending"
511
  msgstr ""
512
 
513
  #: includes/Dashboard/Templates/Dashboard.php:111
514
- #: includes/Order/functions.php:505 includes/admin/SetupWizard.php:512
515
  #: templates/dashboard/orders-widget.php:36 templates/orders/listing.php:138
516
  msgid "Processing"
517
  msgstr ""
@@ -530,7 +530,7 @@ msgstr ""
530
  msgid "On Hold"
531
  msgstr ""
532
 
533
- #: includes/Dashboard/Templates/Orders.php:69
534
  msgid "You have no permission to view this order"
535
  msgstr ""
536
 
@@ -709,7 +709,7 @@ msgstr ""
709
  #: includes/Install/Installer.php:93 includes/admin/Hooks.php:78
710
  #: includes/admin/Hooks.php:84 includes/admin/Hooks.php:367
711
  #: includes/admin/Hooks.php:384 includes/admin/Settings.php:340
712
- #: includes/admin/Settings.php:348 includes/admin/SetupWizard.php:319
713
  #: includes/wc-template.php:17 includes/wc-template.php:150
714
  #: includes/wc-template.php:292 templates/my-orders.php:31
715
  msgid "Vendor"
@@ -747,7 +747,7 @@ msgstr ""
747
  msgid "Pending Payment"
748
  msgstr ""
749
 
750
- #: includes/Order/functions.php:500 includes/admin/SetupWizard.php:518
751
  msgid "On-hold"
752
  msgstr ""
753
 
@@ -888,7 +888,7 @@ msgstr ""
888
  msgid "Dokan"
889
  msgstr ""
890
 
891
- #: includes/Privacy.php:33 includes/Privacy.php:36 includes/Privacy.php:152
892
  msgid "Vendor Data"
893
  msgstr ""
894
 
@@ -902,55 +902,55 @@ msgid ""
902
  "what information to disclose on your privacy policy."
903
  msgstr ""
904
 
905
- #: includes/Privacy.php:54
906
  msgid "We collect information about you during the checkout process on our store."
907
  msgstr ""
908
 
909
- #: includes/Privacy.php:55
910
  msgid "What we collect and store"
911
  msgstr ""
912
 
913
- #: includes/Privacy.php:56
914
  msgid "While you visit our site, we’ll track:"
915
  msgstr ""
916
 
917
- #: includes/Privacy.php:58
918
  msgid ""
919
  "Stores you’ve viewed: we’ll use this to, for example, show you vendor "
920
  "stores you’ve recently viewed"
921
  msgstr ""
922
 
923
- #: includes/Privacy.php:59
924
  msgid ""
925
  "Products you’ve viewed: we’ll use this to, for example, show you products "
926
  "you’ve recently viewed"
927
  msgstr ""
928
 
929
- #: includes/Privacy.php:60
930
  msgid ""
931
  "Location, IP address and browser type: we’ll use this for purposes like "
932
  "estimating taxes and shipping"
933
  msgstr ""
934
 
935
- #: includes/Privacy.php:61
936
  msgid ""
937
  "Shipping address: we’ll ask you to enter this so we can, for instance, "
938
  "estimate shipping before you place an order, and send you the order!"
939
  msgstr ""
940
 
941
- #: includes/Privacy.php:63
942
  msgid ""
943
  "We’ll also use cookies to keep track of cart contents while you’re browsing "
944
  "our site."
945
  msgstr ""
946
 
947
- #: includes/Privacy.php:65
948
  msgid ""
949
  "Note: you may want to further detail your cookie policy, and link to that "
950
  "section from here."
951
  msgstr ""
952
 
953
- #: includes/Privacy.php:67
954
  msgid ""
955
  "When you purchase from us, we’ll ask you to provide information including "
956
  "your name, billing address, shipping address, email address, phone number, "
@@ -958,41 +958,41 @@ msgid ""
958
  "and password. We’ll use this information for purposes, such as, to:"
959
  msgstr ""
960
 
961
- #: includes/Privacy.php:69
962
  msgid "Send you information about your account and order"
963
  msgstr ""
964
 
965
- #: includes/Privacy.php:70
966
  msgid "Respond to your requests, including refunds and complaints"
967
  msgstr ""
968
 
969
- #: includes/Privacy.php:71
970
  msgid "Process payments and prevent fraud"
971
  msgstr ""
972
 
973
- #: includes/Privacy.php:72
974
  msgid "Set up your account for our store"
975
  msgstr ""
976
 
977
- #: includes/Privacy.php:73
978
  msgid "Comply with any legal obligations we have, such as calculating taxes"
979
  msgstr ""
980
 
981
- #: includes/Privacy.php:74
982
  msgid "Improve our store offerings"
983
  msgstr ""
984
 
985
- #: includes/Privacy.php:75
986
  msgid "Send you marketing messages, if you choose to receive them"
987
  msgstr ""
988
 
989
- #: includes/Privacy.php:77
990
  msgid ""
991
  "If you create an account, we will store your name, address, email and phone "
992
  "number, which will be used to populate the checkout for future orders."
993
  msgstr ""
994
 
995
- #: includes/Privacy.php:78
996
  msgid ""
997
  "We generally store information about you for as long as we need the "
998
  "information for the purposes for which we collect and use it, and we are "
@@ -1001,60 +1001,60 @@ msgid ""
1001
  "includes your name, email address and billing and shipping addresses."
1002
  msgstr ""
1003
 
1004
- #: includes/Privacy.php:79
1005
  msgid "We will also store comments or reviews, if you choose to leave them."
1006
  msgstr ""
1007
 
1008
- #: includes/Privacy.php:80
1009
  msgid "Who on our team has access"
1010
  msgstr ""
1011
 
1012
- #: includes/Privacy.php:81
1013
  msgid ""
1014
  "Members of our team have access to the information you provide us. For "
1015
  "example, both Administrators and Shop Managers can access:"
1016
  msgstr ""
1017
 
1018
- #: includes/Privacy.php:83
1019
  msgid ""
1020
  "Order information like what was purchased, when it was purchased and where "
1021
  "it should be sent, and"
1022
  msgstr ""
1023
 
1024
- #: includes/Privacy.php:84
1025
  msgid ""
1026
  "Customer information like your name, email address, and billing and "
1027
  "shipping information."
1028
  msgstr ""
1029
 
1030
- #: includes/Privacy.php:86
1031
  msgid ""
1032
  "Our team members have access to this information to help fulfill orders, "
1033
  "process refunds and support you."
1034
  msgstr ""
1035
 
1036
- #: includes/Privacy.php:87
1037
  msgid "What we share with others"
1038
  msgstr ""
1039
 
1040
- #: includes/Privacy.php:89
1041
  msgid ""
1042
  "In this section you should list who you’re sharing data with, and for what "
1043
  "purpose. This could include, but may not be limited to, analytics, "
1044
  "marketing, payment gateways, shipping providers, and third party embeds."
1045
  msgstr ""
1046
 
1047
- #: includes/Privacy.php:91
1048
  msgid ""
1049
  "We share information with third parties who help us provide our orders and "
1050
  "store services to you; for example --"
1051
  msgstr ""
1052
 
1053
- #: includes/Privacy.php:92
1054
  msgid "Payments"
1055
  msgstr ""
1056
 
1057
- #: includes/Privacy.php:94
1058
  msgid ""
1059
  "In this subsection you should list which third party payment processors "
1060
  "you’re using to take payments on your store since these may handle customer "
@@ -1062,25 +1062,25 @@ msgid ""
1062
  "you’re not using PayPal."
1063
  msgstr ""
1064
 
1065
- #: includes/Privacy.php:96
1066
  msgid ""
1067
  "We accept payments through PayPal. When processing payments, some of your "
1068
  "data will be passed to PayPal, including information required to process or "
1069
  "support the payment, such as the purchase total and billing information."
1070
  msgstr ""
1071
 
1072
- #: includes/Privacy.php:97
1073
  msgid ""
1074
  "Please see the <a "
1075
  "href=\"https://www.paypal.com/us/webapps/mpp/ua/privacy-full\">PayPal "
1076
  "Privacy Policy</a> for more details."
1077
  msgstr ""
1078
 
1079
- #: includes/Privacy.php:98
1080
  msgid "Modules"
1081
  msgstr ""
1082
 
1083
- #: includes/Privacy.php:100
1084
  msgid ""
1085
  "Dokan has premium modules that perform specific and special purpose tasks. "
1086
  "Each of the modules collect additional information. Also third party "
@@ -1088,21 +1088,25 @@ msgid ""
1088
  "their individual privacy policy."
1089
  msgstr ""
1090
 
1091
- #: includes/Privacy.php:180 src/admin/pages/VendorAccountFields.vue:43
 
 
 
 
1092
  #: src/admin/pages/VendorAccountFields.vue:49
1093
- #: templates/settings/store-form.php:116
1094
  msgid "Store Name"
1095
  msgstr ""
1096
 
1097
- #: includes/Privacy.php:181
1098
  msgid "Social"
1099
  msgstr ""
1100
 
1101
- #: includes/Privacy.php:182
1102
  msgid "Phone"
1103
  msgstr ""
1104
 
1105
- #: includes/Privacy.php:183 src/admin/components/Mapbox.vue:8
1106
  #: src/admin/pages/AddVendor.vue:73 src/admin/pages/VendorAddressFields.vue:4
1107
  #: templates/admin-setup-wizard/step-store-wc-fields.php:33
1108
  #: templates/maps/mapbox-with-search.php:5
@@ -1110,66 +1114,66 @@ msgstr ""
1110
  msgid "Address"
1111
  msgstr ""
1112
 
1113
- #: includes/Privacy.php:184
1114
  msgid "GEO Locations"
1115
  msgstr ""
1116
 
1117
- #: includes/Privacy.php:185
1118
  msgid "Banner Url"
1119
  msgstr ""
1120
 
1121
- #: includes/Privacy.php:186
1122
  msgid "Gravatar Url"
1123
  msgstr ""
1124
 
1125
- #: includes/Privacy.php:201 includes/functions.php:2333
1126
  #: src/admin/pages/VendorSocialFields.vue:11
1127
  msgid "Facebook"
1128
  msgstr ""
1129
 
1130
- #: includes/Privacy.php:202 includes/functions.php:2337
1131
  #: src/admin/pages/VendorSocialFields.vue:21
1132
  msgid "Google Plus"
1133
  msgstr ""
1134
 
1135
- #: includes/Privacy.php:203 includes/functions.php:2341
1136
  #: src/admin/pages/VendorSocialFields.vue:26
1137
  msgid "Twitter"
1138
  msgstr ""
1139
 
1140
- #: includes/Privacy.php:204 includes/functions.php:2345
1141
  #: src/admin/pages/VendorSocialFields.vue:41
1142
  msgid "Pinterest"
1143
  msgstr ""
1144
 
1145
- #: includes/Privacy.php:205 src/admin/pages/VendorSocialFields.vue:36
1146
  msgid "Linkedin"
1147
  msgstr ""
1148
 
1149
- #: includes/Privacy.php:206 includes/functions.php:2353
1150
  #: src/admin/pages/VendorSocialFields.vue:31
1151
  msgid "Youtube"
1152
  msgstr ""
1153
 
1154
- #: includes/Privacy.php:207 includes/functions.php:2357
1155
  #: src/admin/pages/VendorSocialFields.vue:46
1156
  msgid "Instagram"
1157
  msgstr ""
1158
 
1159
- #: includes/Privacy.php:208 includes/functions.php:2361
1160
  #: src/admin/pages/VendorSocialFields.vue:16
1161
  msgid "Flickr"
1162
  msgstr ""
1163
 
1164
- #: includes/Privacy.php:223 includes/admin/UserProfile.php:149
1165
  msgid "Address 1"
1166
  msgstr ""
1167
 
1168
- #: includes/Privacy.php:224 includes/admin/UserProfile.php:156
1169
  msgid "Address 2"
1170
  msgstr ""
1171
 
1172
- #: includes/Privacy.php:225 includes/Vendor/SetupWizard.php:203
1173
  #: src/admin/pages/VendorAddressFields.vue:21
1174
  #: src/admin/pages/VendorAddressFields.vue:22
1175
  #: templates/admin-setup-wizard/step-store-wc-fields.php:51
@@ -1177,17 +1181,17 @@ msgstr ""
1177
  msgid "City"
1178
  msgstr ""
1179
 
1180
- #: includes/Privacy.php:226
1181
  msgid "Postal Code"
1182
  msgstr ""
1183
 
1184
- #: includes/Privacy.php:227 includes/Vendor/SetupWizard.php:213
1185
  #: includes/admin/UserProfile.php:88 src/admin/pages/VendorAddressFields.vue:31
1186
  #: templates/admin-setup-wizard/step-store-wc-fields.php:24
1187
  msgid "Country"
1188
  msgstr ""
1189
 
1190
- #: includes/Privacy.php:228 includes/Vendor/SetupWizard.php:221
1191
  #: src/admin/pages/VendorAddressFields.vue:36
1192
  #: src/admin/pages/VendorAddressFields.vue:38
1193
  #: templates/admin-setup-wizard/step-store-wc-fields.php:58
@@ -1195,56 +1199,56 @@ msgstr ""
1195
  msgid "State"
1196
  msgstr ""
1197
 
1198
- #: includes/Privacy.php:278
1199
  msgid "Bank Details"
1200
  msgstr ""
1201
 
1202
- #: includes/Privacy.php:280 src/admin/pages/VendorPaymentFields.vue:10
1203
  #: src/admin/pages/VendorPaymentFields.vue:11
1204
  msgid "Account Name"
1205
  msgstr ""
1206
 
1207
- #: includes/Privacy.php:281 src/admin/pages/VendorPaymentFields.vue:15
1208
  msgid "Account Number"
1209
  msgstr ""
1210
 
1211
- #: includes/Privacy.php:282 src/admin/pages/VendorPaymentFields.vue:20
1212
  #: src/admin/pages/VendorPaymentFields.vue:21
1213
  msgid "Bank Name"
1214
  msgstr ""
1215
 
1216
- #: includes/Privacy.php:283 src/admin/pages/VendorPaymentFields.vue:25
1217
  #: src/admin/pages/VendorPaymentFields.vue:26
1218
  msgid "Bank Address"
1219
  msgstr ""
1220
 
1221
- #: includes/Privacy.php:284 includes/admin/UserProfile.php:275
1222
  #: src/admin/pages/VendorPaymentFields.vue:30
1223
  msgid "Routing Number"
1224
  msgstr ""
1225
 
1226
- #: includes/Privacy.php:285 includes/Withdraw/functions.php:203
1227
  #: src/admin/pages/VendorPaymentFields.vue:35
1228
  msgid "IBAN"
1229
  msgstr ""
1230
 
1231
- #: includes/Privacy.php:286
1232
  msgid "Swift Code"
1233
  msgstr ""
1234
 
1235
- #: includes/Privacy.php:297 src/admin/pages/VendorPaymentFields.vue:55
1236
  msgid "PayPal Email"
1237
  msgstr ""
1238
 
1239
- #: includes/Privacy.php:302
1240
  msgid "Skrill Email"
1241
  msgstr ""
1242
 
1243
- #: includes/Privacy.php:373
1244
  msgid "Vendor %s data is removed."
1245
  msgstr ""
1246
 
1247
- #: includes/Product/Manager.php:392
1248
  msgid "No product ID found for updating"
1249
  msgstr ""
1250
 
@@ -1334,6 +1338,7 @@ msgstr ""
1334
 
1335
  #: includes/Product/functions.php:184 includes/admin/SetupWizardNoWC.php:183
1336
  #: includes/admin/SetupWizardWCAdmin.php:84
 
1337
  msgid "Shipping"
1338
  msgstr ""
1339
 
@@ -1494,7 +1499,8 @@ msgstr ""
1494
 
1495
  #: includes/REST/AdminReportController.php:138
1496
  #: templates/dashboard/orders-widget.php:21
1497
- #: templates/dashboard/products-widget.php:26 templates/my-orders.php:30
 
1498
  #: templates/orders/order-fee-html.php:17 templates/sub-orders.php:28
1499
  msgid "Total"
1500
  msgstr ""
@@ -2591,19 +2597,19 @@ msgstr ""
2591
  msgid "Update is not required."
2592
  msgstr ""
2593
 
2594
- #: includes/Vendor/Manager.php:174
2595
  msgid "Unable to create vendor"
2596
  msgstr ""
2597
 
2598
- #: includes/Vendor/Manager.php:258
2599
  msgid "Email is not valid"
2600
  msgstr ""
2601
 
2602
- #: includes/Vendor/SetupWizard.php:70 includes/admin/SetupWizard.php:126
2603
  msgid "Introduction"
2604
  msgstr ""
2605
 
2606
- #: includes/Vendor/SetupWizard.php:75 includes/admin/SetupWizard.php:130
2607
  #: includes/template-tags.php:368
2608
  msgid "Store"
2609
  msgstr ""
@@ -2613,7 +2619,7 @@ msgstr ""
2613
  msgid "Payment"
2614
  msgstr ""
2615
 
2616
- #: includes/Vendor/SetupWizard.php:85 includes/admin/SetupWizard.php:150
2617
  msgid "Ready!"
2618
  msgstr ""
2619
 
@@ -2642,12 +2648,12 @@ msgid ""
2642
  "and return to the Store!"
2643
  msgstr ""
2644
 
2645
- #: includes/Vendor/SetupWizard.php:155 includes/admin/SetupWizard.php:298
2646
  #: templates/admin-setup-wizard/step-no-wc-introduction.php:54
2647
  msgid "Let's Go!"
2648
  msgstr ""
2649
 
2650
- #: includes/Vendor/SetupWizard.php:156 includes/admin/SetupWizard.php:299
2651
  msgid "Not right now"
2652
  msgstr ""
2653
 
@@ -2656,7 +2662,7 @@ msgstr ""
2656
  msgid "Store Setup"
2657
  msgstr ""
2658
 
2659
- #: includes/Vendor/SetupWizard.php:185 templates/settings/store-form.php:126
2660
  msgid "Store Product Per Page"
2661
  msgstr ""
2662
 
@@ -2681,16 +2687,16 @@ msgstr ""
2681
 
2682
  #: includes/Vendor/SetupWizard.php:230
2683
  #: src/admin/pages/VendorAccountFields.vue:69
2684
- #: templates/settings/store-form.php:156
2685
  msgid "Email"
2686
  msgstr ""
2687
 
2688
- #: includes/Vendor/SetupWizard.php:234 templates/settings/store-form.php:161
2689
  msgid "Show email address in store"
2690
  msgstr ""
2691
 
2692
  #: includes/Vendor/SetupWizard.php:243 includes/Vendor/SetupWizard.php:396
2693
- #: includes/admin/SetupWizard.php:528 includes/admin/SetupWizard.php:580
2694
  #: includes/admin/SetupWizardWCAdmin.php:232
2695
  #: templates/admin-setup-wizard/step-selling.php:53
2696
  #: templates/admin-setup-wizard/step-store.php:100
@@ -2698,7 +2704,7 @@ msgid "Continue"
2698
  msgstr ""
2699
 
2700
  #: includes/Vendor/SetupWizard.php:244 includes/Vendor/SetupWizard.php:397
2701
- #: includes/admin/SetupWizard.php:529
2702
  #: templates/admin-setup-wizard/step-selling.php:54
2703
  #: templates/admin-setup-wizard/step-store.php:101
2704
  msgid "Skip this step"
@@ -2802,7 +2808,7 @@ msgstr ""
2802
  msgid "Could not delete withdraw"
2803
  msgstr ""
2804
 
2805
- #: includes/Withdraw/functions.php:12 includes/admin/SetupWizard.php:442
2806
  msgid "PayPal"
2807
  msgstr ""
2808
 
@@ -2839,8 +2845,9 @@ msgid "Swift code"
2839
  msgstr ""
2840
 
2841
  #: includes/admin/AdminBar.php:54 includes/admin/Menu.php:32
2842
- #: includes/admin/Menu.php:43 includes/admin/SetupWizard.php:140
2843
- #: includes/template-tags.php:345 templates/withdraw/header.php:11
 
2844
  msgid "Withdraw"
2845
  msgstr ""
2846
 
@@ -3140,7 +3147,7 @@ msgid "Who will be receiving the Shipping fees"
3140
  msgstr ""
3141
 
3142
  #: includes/admin/Settings.php:340 includes/admin/Settings.php:348
3143
- #: includes/admin/SetupWizard.php:320
3144
  msgid "Admin"
3145
  msgstr ""
3146
 
@@ -3182,7 +3189,7 @@ msgstr ""
3182
  msgid "Allow/Disallow vendor to update order status"
3183
  msgstr ""
3184
 
3185
- #: includes/admin/Settings.php:394 includes/admin/SetupWizard.php:435
3186
  msgid "Withdraw Methods"
3187
  msgstr ""
3188
 
@@ -3190,7 +3197,7 @@ msgstr ""
3190
  msgid "Select suitable Withdraw methods for Vendors"
3191
  msgstr ""
3192
 
3193
- #: includes/admin/Settings.php:402 includes/admin/SetupWizard.php:493
3194
  msgid "Minimum Withdraw Limit"
3195
  msgstr ""
3196
 
@@ -3254,11 +3261,11 @@ msgstr ""
3254
  msgid "Which Map API source you want to use in your site?"
3255
  msgstr ""
3256
 
3257
- #: includes/admin/Settings.php:459 includes/admin/SetupWizard.php:332
3258
  msgid "Google Maps"
3259
  msgstr ""
3260
 
3261
- #: includes/admin/Settings.php:460 includes/admin/SetupWizard.php:333
3262
  msgid "Mapbox"
3263
  msgstr ""
3264
 
@@ -3331,137 +3338,121 @@ msgstr ""
3331
  msgid "Select a page to show your privacy policy"
3332
  msgstr ""
3333
 
3334
- #: includes/admin/Settings.php:540 includes/functions.php:3488
3335
  msgid ""
3336
  "Your personal data will be used to support your experience throughout this "
3337
  "website, to manage access to your account, and for other purposes described "
3338
  "in our [dokan_privacy_policy]"
3339
  msgstr ""
3340
 
3341
- #: includes/admin/SetupWizard.php:135 includes/admin/UserProfile.php:294
3342
  msgid "Selling"
3343
  msgstr ""
3344
 
3345
- #: includes/admin/SetupWizard.php:145
3346
  msgid "Recommended"
3347
  msgstr ""
3348
 
3349
- #: includes/admin/SetupWizard.php:227
3350
  msgid "Dokan &rsaquo; Setup Wizard"
3351
  msgstr ""
3352
 
3353
- #: includes/admin/SetupWizard.php:247 includes/admin/SetupWizardNoWC.php:96
3354
  msgid "Return to the WordPress Dashboard"
3355
  msgstr ""
3356
 
3357
- #: includes/admin/SetupWizard.php:294
3358
  #: templates/admin-setup-wizard/step-no-wc-introduction.php:2
3359
  msgid "Welcome to the world of Dokan!"
3360
  msgstr ""
3361
 
3362
- #: includes/admin/SetupWizard.php:295
3363
  msgid ""
3364
  "Thank you for choosing Dokan to power your online marketplace! This quick "
3365
  "setup wizard will help you configure the basic settings. <strong>It’s "
3366
  "completely optional and shouldn’t take longer than three minutes.</strong>"
3367
  msgstr ""
3368
 
3369
- #: includes/admin/SetupWizard.php:296
3370
  msgid ""
3371
  "No time right now? If you don’t want to go through the wizard, you can skip "
3372
  "and return to the WordPress dashboard. Come back anytime if you change your "
3373
  "mind!"
3374
  msgstr ""
3375
 
3376
- #: includes/admin/SetupWizard.php:431
3377
  msgid "Withdraw Setup"
3378
  msgstr ""
3379
 
3380
- #: includes/admin/SetupWizard.php:445
3381
- msgid "Enable PayPal for your vendor as a withdraw method"
3382
- msgstr ""
3383
-
3384
- #: includes/admin/SetupWizard.php:455
3385
- msgid "Bank"
3386
- msgstr ""
3387
-
3388
- #: includes/admin/SetupWizard.php:458
3389
- msgid "Enable bank transfer for your vendor as a withdraw method"
3390
  msgstr ""
3391
 
3392
- #: includes/admin/SetupWizard.php:468
3393
- msgid "Skrill"
3394
- msgstr ""
3395
-
3396
- #: includes/admin/SetupWizard.php:471
3397
- msgid "Enable skrill for your vendor as a withdraw method"
3398
- msgstr ""
3399
-
3400
- #: includes/admin/SetupWizard.php:496
3401
  msgid ""
3402
  "Minimum balance required to make a withdraw request ( Leave it blank to set "
3403
  "no limits )"
3404
  msgstr ""
3405
 
3406
- #: includes/admin/SetupWizard.php:500
3407
  msgid "Order Status for Withdraw"
3408
  msgstr ""
3409
 
3410
- #: includes/admin/SetupWizard.php:523
3411
  msgid "Order status for which vendor can make a withdraw request."
3412
  msgstr ""
3413
 
3414
- #: includes/admin/SetupWizard.php:545
3415
  msgid "Recommended for All Dokan Marketplaces"
3416
  msgstr ""
3417
 
3418
- #: includes/admin/SetupWizard.php:547
3419
  msgid "Enhance your store with these recommended features."
3420
  msgstr ""
3421
 
3422
- #: includes/admin/SetupWizard.php:557 includes/admin/SetupWizard.php:561
3423
- #: includes/admin/SetupWizard.php:604
3424
  msgid "WooCommerce Conversion Tracking"
3425
  msgstr ""
3426
 
3427
- #: includes/admin/SetupWizard.php:558
3428
  msgid "Track conversions on your WooCommerce store like a pro!"
3429
  msgstr ""
3430
 
3431
- #: includes/admin/SetupWizard.php:560
3432
  msgid "WooCommerce Conversion Tracking logo"
3433
  msgstr ""
3434
 
3435
- #: includes/admin/SetupWizard.php:568 includes/admin/SetupWizard.php:572
3436
- #: includes/admin/SetupWizard.php:615
3437
  msgid "weForms"
3438
  msgstr ""
3439
 
3440
- #: includes/admin/SetupWizard.php:569
3441
  msgid "Best Contact Form Plugin for WordPress."
3442
  msgstr ""
3443
 
3444
- #: includes/admin/SetupWizard.php:571
3445
  msgid "weForms logo"
3446
  msgstr ""
3447
 
3448
- #: includes/admin/SetupWizard.php:675
3449
  msgid "Your Marketplace is Ready!"
3450
  msgstr ""
3451
 
3452
- #: includes/admin/SetupWizard.php:680
3453
  msgid "Visit Dokan Dashboard"
3454
  msgstr ""
3455
 
3456
- #: includes/admin/SetupWizard.php:681
3457
  msgid "More Settings"
3458
  msgstr ""
3459
 
3460
- #: includes/admin/SetupWizard.php:782
3461
  msgid "The following plugins will be installed and activated for you:"
3462
  msgstr ""
3463
 
3464
- #: includes/admin/SetupWizard.php:914
3465
  msgid "Contact Admin"
3466
  msgstr ""
3467
 
@@ -3562,7 +3553,7 @@ msgstr ""
3562
  msgid "Banner"
3563
  msgstr ""
3564
 
3565
- #: includes/admin/UserProfile.php:118 templates/settings/store-form.php:74
3566
  msgid "Upload banner"
3567
  msgstr ""
3568
 
@@ -3711,6 +3702,7 @@ msgstr ""
3711
  #: includes/emails/ContactSeller.php:131 includes/emails/NewProduct.php:159
3712
  #: includes/emails/NewProductPending.php:151 includes/emails/NewSeller.php:136
3713
  #: includes/emails/ProductPublished.php:144
 
3714
  #: includes/emails/VendorWithdrawRequest.php:144
3715
  #: includes/emails/WithdrawApproved.php:140
3716
  #: includes/emails/WithdrawCancelled.php:140
@@ -3720,6 +3712,7 @@ msgstr ""
3720
  #: includes/emails/ContactSeller.php:133 includes/emails/NewProduct.php:161
3721
  #: includes/emails/NewProductPending.php:153 includes/emails/NewSeller.php:138
3722
  #: includes/emails/ProductPublished.php:146
 
3723
  #: includes/emails/VendorWithdrawRequest.php:146
3724
  #: includes/emails/WithdrawApproved.php:142
3725
  #: includes/emails/WithdrawCancelled.php:142
@@ -3729,6 +3722,7 @@ msgstr ""
3729
  #: includes/emails/ContactSeller.php:138 includes/emails/NewProduct.php:173
3730
  #: includes/emails/NewProductPending.php:165 includes/emails/NewSeller.php:150
3731
  #: includes/emails/ProductPublished.php:151
 
3732
  #: includes/emails/VendorWithdrawRequest.php:158
3733
  #: includes/emails/WithdrawApproved.php:146
3734
  #: includes/emails/WithdrawCancelled.php:146
@@ -3741,6 +3735,8 @@ msgstr ""
3741
  #: includes/emails/NewProductPending.php:178 includes/emails/NewSeller.php:154
3742
  #: includes/emails/NewSeller.php:163 includes/emails/ProductPublished.php:155
3743
  #: includes/emails/ProductPublished.php:164
 
 
3744
  #: includes/emails/VendorWithdrawRequest.php:162
3745
  #: includes/emails/VendorWithdrawRequest.php:171
3746
  #: includes/emails/WithdrawApproved.php:150
@@ -3754,6 +3750,7 @@ msgstr ""
3754
  #: includes/emails/ContactSeller.php:147 includes/emails/NewProduct.php:182
3755
  #: includes/emails/NewProductPending.php:174 includes/emails/NewSeller.php:159
3756
  #: includes/emails/ProductPublished.php:160
 
3757
  #: includes/emails/VendorWithdrawRequest.php:167
3758
  #: includes/emails/WithdrawApproved.php:155
3759
  #: includes/emails/WithdrawCancelled.php:155
@@ -3763,6 +3760,7 @@ msgstr ""
3763
  #: includes/emails/ContactSeller.php:156 includes/emails/NewProduct.php:191
3764
  #: includes/emails/NewProductPending.php:183 includes/emails/NewSeller.php:168
3765
  #: includes/emails/ProductPublished.php:169
 
3766
  #: includes/emails/VendorWithdrawRequest.php:176
3767
  #: includes/emails/WithdrawApproved.php:164
3768
  #: includes/emails/WithdrawCancelled.php:164
@@ -3772,45 +3770,46 @@ msgstr ""
3772
  #: includes/emails/ContactSeller.php:158 includes/emails/NewProduct.php:193
3773
  #: includes/emails/NewProductPending.php:185 includes/emails/NewSeller.php:170
3774
  #: includes/emails/ProductPublished.php:171
 
3775
  #: includes/emails/VendorWithdrawRequest.php:178
3776
  #: includes/emails/WithdrawApproved.php:166
3777
  #: includes/emails/WithdrawCancelled.php:166
3778
  msgid "Choose which format of email to send."
3779
  msgstr ""
3780
 
3781
- #: includes/emails/Manager.php:195
3782
  msgid "\"%s\" sent you a message from your \"%s\" store"
3783
  msgstr ""
3784
 
3785
- #: includes/emails/Manager.php:244
3786
  msgid "[%s] Refund Request %s"
3787
  msgstr ""
3788
 
3789
- #: includes/emails/Manager.php:278
3790
  msgid "[%s] New Refund Request"
3791
  msgstr ""
3792
 
3793
- #: includes/emails/Manager.php:335
3794
  msgid "[%s] New Withdraw Request"
3795
  msgstr ""
3796
 
3797
- #: includes/emails/Manager.php:357
3798
  msgid "[%s] Your Withdraw Request has been approved"
3799
  msgstr ""
3800
 
3801
- #: includes/emails/Manager.php:380
3802
  msgid "[%s] Your Withdraw Request has been cancelled"
3803
  msgstr ""
3804
 
3805
- #: includes/emails/Manager.php:419
3806
  msgid "[%s] New Vendor Registered"
3807
  msgstr ""
3808
 
3809
- #: includes/emails/Manager.php:472
3810
  msgid "[%s] New Product Added"
3811
  msgstr ""
3812
 
3813
- #: includes/emails/Manager.php:512
3814
  msgid "[%s] Your product has been approved!"
3815
  msgstr ""
3816
 
@@ -3900,6 +3899,24 @@ msgstr ""
3900
  msgid "{product_title} - is published"
3901
  msgstr ""
3902
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
3903
  #: includes/emails/VendorWithdrawRequest.php:24
3904
  msgid "Dokan New Withdrawal Request"
3905
  msgstr ""
@@ -4049,15 +4066,15 @@ msgid "1 business day"
4049
  msgstr ""
4050
 
4051
  #: includes/functions.php:2117
4052
- msgid "1-2 business day"
4053
  msgstr ""
4054
 
4055
  #: includes/functions.php:2118
4056
- msgid "1-3 business day"
4057
  msgstr ""
4058
 
4059
  #: includes/functions.php:2119
4060
- msgid "3-5 business day"
4061
  msgstr ""
4062
 
4063
  #: includes/functions.php:2120
@@ -4080,237 +4097,268 @@ msgstr ""
4080
  msgid "6-8 weeks"
4081
  msgstr ""
4082
 
4083
- #: includes/functions.php:2242
4084
  msgid "All dates"
4085
  msgstr ""
4086
 
4087
- #: includes/functions.php:2257
4088
  #. translators: 1: month name, 2: 4-digit year
4089
  msgid "%1$s %2$d"
4090
  msgstr ""
4091
 
4092
- #: includes/functions.php:2349
4093
  msgid "LinkedIn"
4094
  msgstr ""
4095
 
4096
- #: includes/functions.php:2627
4097
  msgid "Dokan Store Sidebar"
4098
  msgstr ""
4099
 
4100
- #: includes/functions.php:2897
4101
  msgid "View sales overview"
4102
  msgstr ""
4103
 
4104
- #: includes/functions.php:2898
4105
  msgid "View sales report chart"
4106
  msgstr ""
4107
 
4108
- #: includes/functions.php:2899
4109
  msgid "View announcement"
4110
  msgstr ""
4111
 
4112
- #: includes/functions.php:2900
4113
  msgid "View order report"
4114
  msgstr ""
4115
 
4116
- #: includes/functions.php:2901
4117
  msgid "View review report"
4118
  msgstr ""
4119
 
4120
- #: includes/functions.php:2902
4121
  msgid "View product status report"
4122
  msgstr ""
4123
 
4124
- #: includes/functions.php:2905
4125
  msgid "View overview report"
4126
  msgstr ""
4127
 
4128
- #: includes/functions.php:2906
4129
  msgid "View daily sales report"
4130
  msgstr ""
4131
 
4132
- #: includes/functions.php:2907
4133
  msgid "View top selling report"
4134
  msgstr ""
4135
 
4136
- #: includes/functions.php:2908
4137
  msgid "View top earning report"
4138
  msgstr ""
4139
 
4140
- #: includes/functions.php:2909
4141
  msgid "View statement report"
4142
  msgstr ""
4143
 
4144
- #: includes/functions.php:2912
4145
  msgid "View order"
4146
  msgstr ""
4147
 
4148
- #: includes/functions.php:2913
4149
  msgid "Manage order"
4150
  msgstr ""
4151
 
4152
- #: includes/functions.php:2914
4153
  msgid "Manage order note"
4154
  msgstr ""
4155
 
4156
- #: includes/functions.php:2915
4157
  msgid "Manage refund"
4158
  msgstr ""
4159
 
4160
- #: includes/functions.php:2919
4161
  msgid "Add coupon"
4162
  msgstr ""
4163
 
4164
- #: includes/functions.php:2920
4165
  msgid "Edit coupon"
4166
  msgstr ""
4167
 
4168
- #: includes/functions.php:2921
4169
  msgid "Delete coupon"
4170
  msgstr ""
4171
 
4172
- #: includes/functions.php:2924
4173
  msgid "View reviews"
4174
  msgstr ""
4175
 
4176
- #: includes/functions.php:2925
4177
  msgid "Manage reviews"
4178
  msgstr ""
4179
 
4180
- #: includes/functions.php:2929
4181
  msgid "Manage withdraw"
4182
  msgstr ""
4183
 
4184
- #: includes/functions.php:2932
4185
  msgid "Add product"
4186
  msgstr ""
4187
 
4188
- #: includes/functions.php:2933
4189
  msgid "Edit product"
4190
  msgstr ""
4191
 
4192
- #: includes/functions.php:2934
4193
  msgid "Delete product"
4194
  msgstr ""
4195
 
4196
- #: includes/functions.php:2935
4197
  msgid "View product"
4198
  msgstr ""
4199
 
4200
- #: includes/functions.php:2936
4201
  msgid "Duplicate product"
4202
  msgstr ""
4203
 
4204
- #: includes/functions.php:2937
4205
  msgid "Import product"
4206
  msgstr ""
4207
 
4208
- #: includes/functions.php:2938
4209
  msgid "Export product"
4210
  msgstr ""
4211
 
4212
- #: includes/functions.php:2941
4213
  msgid "View overview menu"
4214
  msgstr ""
4215
 
4216
- #: includes/functions.php:2942
4217
  msgid "View product menu"
4218
  msgstr ""
4219
 
4220
- #: includes/functions.php:2943
4221
  msgid "View order menu"
4222
  msgstr ""
4223
 
4224
- #: includes/functions.php:2944
4225
  msgid "View coupon menu"
4226
  msgstr ""
4227
 
4228
- #: includes/functions.php:2945
4229
  msgid "View report menu"
4230
  msgstr ""
4231
 
4232
- #: includes/functions.php:2946
4233
  msgid "Vuew review menu"
4234
  msgstr ""
4235
 
4236
- #: includes/functions.php:2947
4237
  msgid "View withdraw menu"
4238
  msgstr ""
4239
 
4240
- #: includes/functions.php:2948
4241
  msgid "View store settings menu"
4242
  msgstr ""
4243
 
4244
- #: includes/functions.php:2949
4245
  msgid "View payment settings menu"
4246
  msgstr ""
4247
 
4248
- #: includes/functions.php:2950
4249
  msgid "View shipping settings menu"
4250
  msgstr ""
4251
 
4252
- #: includes/functions.php:2951
4253
  msgid "View social settings menu"
4254
  msgstr ""
4255
 
4256
- #: includes/functions.php:2952
4257
  msgid "View seo settings menu"
4258
  msgstr ""
4259
 
4260
- #: includes/functions.php:3129
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
4261
  msgid "Saturday"
4262
  msgstr ""
4263
 
4264
- #: includes/functions.php:3132
4265
  msgid "Sunday"
4266
  msgstr ""
4267
 
4268
- #: includes/functions.php:3135
4269
  msgid "Monday"
4270
  msgstr ""
4271
 
4272
- #: includes/functions.php:3138
4273
  msgid "Tuesday"
4274
  msgstr ""
4275
 
4276
- #: includes/functions.php:3141
4277
  msgid "Wednesday"
4278
  msgstr ""
4279
 
4280
- #: includes/functions.php:3144
4281
  msgid "Thursday"
4282
  msgstr ""
4283
 
4284
- #: includes/functions.php:3147
4285
  msgid "Friday"
4286
  msgstr ""
4287
 
4288
- #: includes/functions.php:3150
4289
  msgid "Off Day"
4290
  msgstr ""
4291
 
4292
- #: includes/functions.php:3468
4293
  msgid "privacy policy"
4294
  msgstr ""
4295
 
4296
- #: includes/functions.php:3512 src/admin/pages/VendorPaymentFields.vue:140
4297
  #: src/admin/pages/VendorPaymentFields.vue:144
4298
  msgid "Flat"
4299
  msgstr ""
4300
 
4301
- #: includes/functions.php:3513 src/admin/pages/VendorPaymentFields.vue:141
4302
  msgid "Percentage"
4303
  msgstr ""
4304
 
4305
- #: includes/functions.php:3529
4306
  msgid "Please Login to Continue"
4307
  msgstr ""
4308
 
4309
- #: includes/functions.php:3697
4310
  msgid "Unable to fetch plugin information from wordpress.org for %s."
4311
  msgstr ""
4312
 
4313
- #: includes/functions.php:3709
4314
  msgid "Unable to install %s from wordpress.org"
4315
  msgstr ""
4316
 
@@ -4482,8 +4530,8 @@ msgid "Best Selling Product"
4482
  msgstr ""
4483
 
4484
  #: includes/widgets/BestSellingProducts.php:65
4485
- #: includes/widgets/ProductCategoryMenu.php:119
4486
- #: includes/widgets/StoreCategoryMenu.php:122
4487
  #: includes/widgets/StoreContactForm.php:120
4488
  #: includes/widgets/StoreLocation.php:104
4489
  #: includes/widgets/StoreOpenClose.php:111
@@ -4509,7 +4557,7 @@ msgstr ""
4509
  msgid "Dokan product category menu"
4510
  msgstr ""
4511
 
4512
- #: includes/widgets/ProductCategoryMenu.php:113
4513
  msgid "Product Category"
4514
  msgstr ""
4515
 
@@ -4522,7 +4570,7 @@ msgid "Dokan: Store Category Menu"
4522
  msgstr ""
4523
 
4524
  #: includes/widgets/StoreCategoryMenu.php:33
4525
- #: includes/widgets/StoreCategoryMenu.php:116 templates/store-sidebar.php:15
4526
  msgid "Store Product Category"
4527
  msgstr ""
4528
 
@@ -4745,10 +4793,6 @@ msgstr ""
4745
  msgid "Thank you for subscribing!"
4746
  msgstr ""
4747
 
4748
- #: src/admin/pages/Dashboard.vue:103
4749
- msgid "Overview"
4750
- msgstr ""
4751
-
4752
  #: src/admin/pages/Help.vue:3
4753
  msgid "Help"
4754
  msgstr ""
@@ -5224,12 +5268,6 @@ msgstr ""
5224
  msgid "Pageview"
5225
  msgstr ""
5226
 
5227
- #: templates/dashboard/big-counter-widget.php:29 templates/my-orders.php:27
5228
- #: templates/orders/details.php:21 templates/orders/listing.php:51
5229
- #: templates/orders/listing.php:70 templates/sub-orders.php:25
5230
- msgid "Order"
5231
- msgstr ""
5232
-
5233
  #: templates/dashboard/edit-account.php:47
5234
  msgid "Edit Account Details"
5235
  msgstr ""
@@ -5392,6 +5430,11 @@ msgstr ""
5392
  msgid "has been approved by one of our admin, congrats!"
5393
  msgstr ""
5394
 
 
 
 
 
 
5395
  #: templates/emails/plain/withdraw-approve.php:20
5396
  #: templates/emails/withdraw-approve.php:21
5397
  msgid "Your withdraw request has been approved, congrats!"
@@ -5435,6 +5478,41 @@ msgstr ""
5435
  msgid "To Edit product click : <a href=\"%s\">here</a>"
5436
  msgstr ""
5437
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
5438
  #: templates/emails/withdraw-approve.php:26
5439
  #: templates/emails/withdraw-cancel.php:26
5440
  msgid "Amount : "
@@ -6041,14 +6119,6 @@ msgid ""
6041
  "colors, quality etc"
6042
  msgstr ""
6043
 
6044
- #: templates/products/new-product-single.php:195
6045
- #: templates/products/new-product.php:156
6046
- #: templates/products/products-listing-row.php:77
6047
- #: templates/products/products-listing.php:95
6048
- #: templates/products/tmpl-add-product-popup.php:57
6049
- msgid "Price"
6050
- msgstr ""
6051
-
6052
  #: templates/products/new-product-single.php:200
6053
  msgid " You Earn : "
6054
  msgstr ""
@@ -6338,39 +6408,39 @@ msgstr ""
6338
  msgid "No withdraw method is available. Please contact site admin."
6339
  msgstr ""
6340
 
6341
- #: templates/settings/store-form.php:87
6342
  msgid "Upload a banner for your store. Banner size is (%sx%s) pixels."
6343
  msgstr ""
6344
 
6345
- #: templates/settings/store-form.php:100
6346
  msgid "Profile Picture"
6347
  msgstr ""
6348
 
6349
- #: templates/settings/store-form.php:110
6350
  msgid "Upload Photo"
6351
  msgstr ""
6352
 
6353
- #: templates/settings/store-form.php:119
6354
  msgid "store name"
6355
  msgstr ""
6356
 
6357
- #: templates/settings/store-form.php:149
6358
  msgid "Phone No"
6359
  msgstr ""
6360
 
6361
- #: templates/settings/store-form.php:151
6362
  msgid "+123456.."
6363
  msgstr ""
6364
 
6365
- #: templates/settings/store-form.php:168
6366
  msgid "More products"
6367
  msgstr ""
6368
 
6369
- #: templates/settings/store-form.php:173
6370
  msgid "Enable tab on product single page view"
6371
  msgstr ""
6372
 
6373
- #: templates/settings/store-form.php:181
6374
  msgid "Map"
6375
  msgstr ""
6376
 
@@ -6505,10 +6575,6 @@ msgstr ""
6505
  msgid "Withdraw Amount"
6506
  msgstr ""
6507
 
6508
- #: templates/withdraw/request-form.php:27
6509
- msgid "Payment Method"
6510
- msgstr ""
6511
-
6512
  #: templates/withdraw/request-form.php:42
6513
  msgid "Submit Request"
6514
  msgstr ""
@@ -6584,62 +6650,62 @@ msgctxt "number of pages"
6584
  msgid "of"
6585
  msgstr ""
6586
 
6587
- #: includes/admin/SetupWizard.php:57
6588
  msgctxt "enhanced select"
6589
  msgid "One result is available, press enter to select it."
6590
  msgstr ""
6591
 
6592
- #: includes/admin/SetupWizard.php:58
6593
  msgctxt "enhanced select"
6594
  msgid "%qty% results are available, use up and down arrow keys to navigate."
6595
  msgstr ""
6596
 
6597
- #: includes/admin/SetupWizard.php:59
6598
  msgctxt "enhanced select"
6599
  msgid "No matches found"
6600
  msgstr ""
6601
 
6602
- #: includes/admin/SetupWizard.php:60
6603
  msgctxt "enhanced select"
6604
  msgid "Loading failed"
6605
  msgstr ""
6606
 
6607
- #: includes/admin/SetupWizard.php:61
6608
  msgctxt "enhanced select"
6609
  msgid "Please enter 1 or more characters"
6610
  msgstr ""
6611
 
6612
- #: includes/admin/SetupWizard.php:62
6613
  msgctxt "enhanced select"
6614
  msgid "Please enter %qty% or more characters"
6615
  msgstr ""
6616
 
6617
- #: includes/admin/SetupWizard.php:63
6618
  msgctxt "enhanced select"
6619
  msgid "Please delete 1 character"
6620
  msgstr ""
6621
 
6622
- #: includes/admin/SetupWizard.php:64
6623
  msgctxt "enhanced select"
6624
  msgid "Please delete %qty% characters"
6625
  msgstr ""
6626
 
6627
- #: includes/admin/SetupWizard.php:65
6628
  msgctxt "enhanced select"
6629
  msgid "You can only select 1 item"
6630
  msgstr ""
6631
 
6632
- #: includes/admin/SetupWizard.php:66
6633
  msgctxt "enhanced select"
6634
  msgid "You can only select %qty% items"
6635
  msgstr ""
6636
 
6637
- #: includes/admin/SetupWizard.php:67
6638
  msgctxt "enhanced select"
6639
  msgid "Loading more results&hellip;"
6640
  msgstr ""
6641
 
6642
- #: includes/admin/SetupWizard.php:68
6643
  msgctxt "enhanced select"
6644
  msgid "Searching&hellip;"
6645
  msgstr ""
2
  # This file is distributed under the GPL2.
3
  msgid ""
4
  msgstr ""
5
+ "Project-Id-Version: Dokan 3.0.2\n"
6
  "Report-Msgid-Bugs-To: https://wedevs.com/contact/\n"
7
+ "POT-Creation-Date: 2020-03-23 06:25:51+00:00\n"
8
  "MIME-Version: 1.0\n"
9
  "Content-Type: text/plain; charset=utf-8\n"
10
  "Content-Transfer-Encoding: 8bit\n"
500
  msgstr ""
501
 
502
  #: includes/Dashboard/Templates/Dashboard.php:101
503
+ #: includes/Order/functions.php:490 includes/admin/SetupWizard.php:504
504
  #: templates/dashboard/orders-widget.php:26
505
  msgid "Completed"
506
  msgstr ""
511
  msgstr ""
512
 
513
  #: includes/Dashboard/Templates/Dashboard.php:111
514
+ #: includes/Order/functions.php:505 includes/admin/SetupWizard.php:510
515
  #: templates/dashboard/orders-widget.php:36 templates/orders/listing.php:138
516
  msgid "Processing"
517
  msgstr ""
530
  msgid "On Hold"
531
  msgstr ""
532
 
533
+ #: includes/Dashboard/Templates/Orders.php:71
534
  msgid "You have no permission to view this order"
535
  msgstr ""
536
 
709
  #: includes/Install/Installer.php:93 includes/admin/Hooks.php:78
710
  #: includes/admin/Hooks.php:84 includes/admin/Hooks.php:367
711
  #: includes/admin/Hooks.php:384 includes/admin/Settings.php:340
712
+ #: includes/admin/Settings.php:348 includes/admin/SetupWizard.php:338
713
  #: includes/wc-template.php:17 includes/wc-template.php:150
714
  #: includes/wc-template.php:292 templates/my-orders.php:31
715
  msgid "Vendor"
747
  msgid "Pending Payment"
748
  msgstr ""
749
 
750
+ #: includes/Order/functions.php:500 includes/admin/SetupWizard.php:516
751
  msgid "On-hold"
752
  msgstr ""
753
 
888
  msgid "Dokan"
889
  msgstr ""
890
 
891
+ #: includes/Privacy.php:33 includes/Privacy.php:36 includes/Privacy.php:144
892
  msgid "Vendor Data"
893
  msgstr ""
894
 
902
  "what information to disclose on your privacy policy."
903
  msgstr ""
904
 
905
+ #: includes/Privacy.php:53
906
  msgid "We collect information about you during the checkout process on our store."
907
  msgstr ""
908
 
909
+ #: includes/Privacy.php:54
910
  msgid "What we collect and store"
911
  msgstr ""
912
 
913
+ #: includes/Privacy.php:55
914
  msgid "While you visit our site, we’ll track:"
915
  msgstr ""
916
 
917
+ #: includes/Privacy.php:57
918
  msgid ""
919
  "Stores you’ve viewed: we’ll use this to, for example, show you vendor "
920
  "stores you’ve recently viewed"
921
  msgstr ""
922
 
923
+ #: includes/Privacy.php:58
924
  msgid ""
925
  "Products you’ve viewed: we’ll use this to, for example, show you products "
926
  "you’ve recently viewed"
927
  msgstr ""
928
 
929
+ #: includes/Privacy.php:59
930
  msgid ""
931
  "Location, IP address and browser type: we’ll use this for purposes like "
932
  "estimating taxes and shipping"
933
  msgstr ""
934
 
935
+ #: includes/Privacy.php:60
936
  msgid ""
937
  "Shipping address: we’ll ask you to enter this so we can, for instance, "
938
  "estimate shipping before you place an order, and send you the order!"
939
  msgstr ""
940
 
941
+ #: includes/Privacy.php:62
942
  msgid ""
943
  "We’ll also use cookies to keep track of cart contents while you’re browsing "
944
  "our site."
945
  msgstr ""
946
 
947
+ #: includes/Privacy.php:63
948
  msgid ""
949
  "Note: you may want to further detail your cookie policy, and link to that "
950
  "section from here."
951
  msgstr ""
952
 
953
+ #: includes/Privacy.php:64
954
  msgid ""
955
  "When you purchase from us, we’ll ask you to provide information including "
956
  "your name, billing address, shipping address, email address, phone number, "
958
  "and password. We’ll use this information for purposes, such as, to:"
959
  msgstr ""
960
 
961
+ #: includes/Privacy.php:66
962
  msgid "Send you information about your account and order"
963
  msgstr ""
964
 
965
+ #: includes/Privacy.php:67
966
  msgid "Respond to your requests, including refunds and complaints"
967
  msgstr ""
968
 
969
+ #: includes/Privacy.php:68
970
  msgid "Process payments and prevent fraud"
971
  msgstr ""
972
 
973
+ #: includes/Privacy.php:69
974
  msgid "Set up your account for our store"
975
  msgstr ""
976
 
977
+ #: includes/Privacy.php:70
978
  msgid "Comply with any legal obligations we have, such as calculating taxes"
979
  msgstr ""
980
 
981
+ #: includes/Privacy.php:71
982
  msgid "Improve our store offerings"
983
  msgstr ""
984
 
985
+ #: includes/Privacy.php:72
986
  msgid "Send you marketing messages, if you choose to receive them"
987
  msgstr ""
988
 
989
+ #: includes/Privacy.php:74
990
  msgid ""
991
  "If you create an account, we will store your name, address, email and phone "
992
  "number, which will be used to populate the checkout for future orders."
993
  msgstr ""
994
 
995
+ #: includes/Privacy.php:75
996
  msgid ""
997
  "We generally store information about you for as long as we need the "
998
  "information for the purposes for which we collect and use it, and we are "
1001
  "includes your name, email address and billing and shipping addresses."
1002
  msgstr ""
1003
 
1004
+ #: includes/Privacy.php:76
1005
  msgid "We will also store comments or reviews, if you choose to leave them."
1006
  msgstr ""
1007
 
1008
+ #: includes/Privacy.php:77
1009
  msgid "Who on our team has access"
1010
  msgstr ""
1011
 
1012
+ #: includes/Privacy.php:78
1013
  msgid ""
1014
  "Members of our team have access to the information you provide us. For "
1015
  "example, both Administrators and Shop Managers can access:"
1016
  msgstr ""
1017
 
1018
+ #: includes/Privacy.php:80
1019
  msgid ""
1020
  "Order information like what was purchased, when it was purchased and where "
1021
  "it should be sent, and"
1022
  msgstr ""
1023
 
1024
+ #: includes/Privacy.php:81
1025
  msgid ""
1026
  "Customer information like your name, email address, and billing and "
1027
  "shipping information."
1028
  msgstr ""
1029
 
1030
+ #: includes/Privacy.php:83
1031
  msgid ""
1032
  "Our team members have access to this information to help fulfill orders, "
1033
  "process refunds and support you."
1034
  msgstr ""
1035
 
1036
+ #: includes/Privacy.php:84
1037
  msgid "What we share with others"
1038
  msgstr ""
1039
 
1040
+ #: includes/Privacy.php:85
1041
  msgid ""
1042
  "In this section you should list who you’re sharing data with, and for what "
1043
  "purpose. This could include, but may not be limited to, analytics, "
1044
  "marketing, payment gateways, shipping providers, and third party embeds."
1045
  msgstr ""
1046
 
1047
+ #: includes/Privacy.php:86
1048
  msgid ""
1049
  "We share information with third parties who help us provide our orders and "
1050
  "store services to you; for example --"
1051
  msgstr ""
1052
 
1053
+ #: includes/Privacy.php:87
1054
  msgid "Payments"
1055
  msgstr ""
1056
 
1057
+ #: includes/Privacy.php:88
1058
  msgid ""
1059
  "In this subsection you should list which third party payment processors "
1060
  "you’re using to take payments on your store since these may handle customer "
1062
  "you’re not using PayPal."
1063
  msgstr ""
1064
 
1065
+ #: includes/Privacy.php:89
1066
  msgid ""
1067
  "We accept payments through PayPal. When processing payments, some of your "
1068
  "data will be passed to PayPal, including information required to process or "
1069
  "support the payment, such as the purchase total and billing information."
1070
  msgstr ""
1071
 
1072
+ #: includes/Privacy.php:90
1073
  msgid ""
1074
  "Please see the <a "
1075
  "href=\"https://www.paypal.com/us/webapps/mpp/ua/privacy-full\">PayPal "
1076
  "Privacy Policy</a> for more details."
1077
  msgstr ""
1078
 
1079
+ #: includes/Privacy.php:91
1080
  msgid "Modules"
1081
  msgstr ""
1082
 
1083
+ #: includes/Privacy.php:92
1084
  msgid ""
1085
  "Dokan has premium modules that perform specific and special purpose tasks. "
1086
  "Each of the modules collect additional information. Also third party "
1088
  "their individual privacy policy."
1089
  msgstr ""
1090
 
1091
+ #: includes/Privacy.php:145
1092
+ msgid "Dokan vendor personal data."
1093
+ msgstr ""
1094
+
1095
+ #: includes/Privacy.php:173 src/admin/pages/VendorAccountFields.vue:43
1096
  #: src/admin/pages/VendorAccountFields.vue:49
1097
+ #: templates/settings/store-form.php:115
1098
  msgid "Store Name"
1099
  msgstr ""
1100
 
1101
+ #: includes/Privacy.php:174
1102
  msgid "Social"
1103
  msgstr ""
1104
 
1105
+ #: includes/Privacy.php:175
1106
  msgid "Phone"
1107
  msgstr ""
1108
 
1109
+ #: includes/Privacy.php:176 src/admin/components/Mapbox.vue:8
1110
  #: src/admin/pages/AddVendor.vue:73 src/admin/pages/VendorAddressFields.vue:4
1111
  #: templates/admin-setup-wizard/step-store-wc-fields.php:33
1112
  #: templates/maps/mapbox-with-search.php:5
1114
  msgid "Address"
1115
  msgstr ""
1116
 
1117
+ #: includes/Privacy.php:177
1118
  msgid "GEO Locations"
1119
  msgstr ""
1120
 
1121
+ #: includes/Privacy.php:178
1122
  msgid "Banner Url"
1123
  msgstr ""
1124
 
1125
+ #: includes/Privacy.php:179
1126
  msgid "Gravatar Url"
1127
  msgstr ""
1128
 
1129
+ #: includes/Privacy.php:194 includes/functions.php:2318
1130
  #: src/admin/pages/VendorSocialFields.vue:11
1131
  msgid "Facebook"
1132
  msgstr ""
1133
 
1134
+ #: includes/Privacy.php:195 includes/functions.php:2322
1135
  #: src/admin/pages/VendorSocialFields.vue:21
1136
  msgid "Google Plus"
1137
  msgstr ""
1138
 
1139
+ #: includes/Privacy.php:196 includes/functions.php:2326
1140
  #: src/admin/pages/VendorSocialFields.vue:26
1141
  msgid "Twitter"
1142
  msgstr ""
1143
 
1144
+ #: includes/Privacy.php:197 includes/functions.php:2330
1145
  #: src/admin/pages/VendorSocialFields.vue:41
1146
  msgid "Pinterest"
1147
  msgstr ""
1148
 
1149
+ #: includes/Privacy.php:198 src/admin/pages/VendorSocialFields.vue:36
1150
  msgid "Linkedin"
1151
  msgstr ""
1152
 
1153
+ #: includes/Privacy.php:199 includes/functions.php:2338
1154
  #: src/admin/pages/VendorSocialFields.vue:31
1155
  msgid "Youtube"
1156
  msgstr ""
1157
 
1158
+ #: includes/Privacy.php:200 includes/functions.php:2342
1159
  #: src/admin/pages/VendorSocialFields.vue:46
1160
  msgid "Instagram"
1161
  msgstr ""
1162
 
1163
+ #: includes/Privacy.php:201 includes/functions.php:2346
1164
  #: src/admin/pages/VendorSocialFields.vue:16
1165
  msgid "Flickr"
1166
  msgstr ""
1167
 
1168
+ #: includes/Privacy.php:216 includes/admin/UserProfile.php:149
1169
  msgid "Address 1"
1170
  msgstr ""
1171
 
1172
+ #: includes/Privacy.php:217 includes/admin/UserProfile.php:156
1173
  msgid "Address 2"
1174
  msgstr ""
1175
 
1176
+ #: includes/Privacy.php:218 includes/Vendor/SetupWizard.php:203
1177
  #: src/admin/pages/VendorAddressFields.vue:21
1178
  #: src/admin/pages/VendorAddressFields.vue:22
1179
  #: templates/admin-setup-wizard/step-store-wc-fields.php:51
1181
  msgid "City"
1182
  msgstr ""
1183
 
1184
+ #: includes/Privacy.php:219
1185
  msgid "Postal Code"
1186
  msgstr ""
1187
 
1188
+ #: includes/Privacy.php:220 includes/Vendor/SetupWizard.php:213
1189
  #: includes/admin/UserProfile.php:88 src/admin/pages/VendorAddressFields.vue:31
1190
  #: templates/admin-setup-wizard/step-store-wc-fields.php:24
1191
  msgid "Country"
1192
  msgstr ""
1193
 
1194
+ #: includes/Privacy.php:221 includes/Vendor/SetupWizard.php:221
1195
  #: src/admin/pages/VendorAddressFields.vue:36
1196
  #: src/admin/pages/VendorAddressFields.vue:38
1197
  #: templates/admin-setup-wizard/step-store-wc-fields.php:58
1199
  msgid "State"
1200
  msgstr ""
1201
 
1202
+ #: includes/Privacy.php:271
1203
  msgid "Bank Details"
1204
  msgstr ""
1205
 
1206
+ #: includes/Privacy.php:273 src/admin/pages/VendorPaymentFields.vue:10
1207
  #: src/admin/pages/VendorPaymentFields.vue:11
1208
  msgid "Account Name"
1209
  msgstr ""
1210
 
1211
+ #: includes/Privacy.php:274 src/admin/pages/VendorPaymentFields.vue:15
1212
  msgid "Account Number"
1213
  msgstr ""
1214
 
1215
+ #: includes/Privacy.php:275 src/admin/pages/VendorPaymentFields.vue:20
1216
  #: src/admin/pages/VendorPaymentFields.vue:21
1217
  msgid "Bank Name"
1218
  msgstr ""
1219
 
1220
+ #: includes/Privacy.php:276 src/admin/pages/VendorPaymentFields.vue:25
1221
  #: src/admin/pages/VendorPaymentFields.vue:26
1222
  msgid "Bank Address"
1223
  msgstr ""
1224
 
1225
+ #: includes/Privacy.php:277 includes/admin/UserProfile.php:275
1226
  #: src/admin/pages/VendorPaymentFields.vue:30
1227
  msgid "Routing Number"
1228
  msgstr ""
1229
 
1230
+ #: includes/Privacy.php:278 includes/Withdraw/functions.php:203
1231
  #: src/admin/pages/VendorPaymentFields.vue:35
1232
  msgid "IBAN"
1233
  msgstr ""
1234
 
1235
+ #: includes/Privacy.php:279
1236
  msgid "Swift Code"
1237
  msgstr ""
1238
 
1239
+ #: includes/Privacy.php:290 src/admin/pages/VendorPaymentFields.vue:55
1240
  msgid "PayPal Email"
1241
  msgstr ""
1242
 
1243
+ #: includes/Privacy.php:295
1244
  msgid "Skrill Email"
1245
  msgstr ""
1246
 
1247
+ #: includes/Privacy.php:366
1248
  msgid "Vendor %s data is removed."
1249
  msgstr ""
1250
 
1251
+ #: includes/Product/Manager.php:453
1252
  msgid "No product ID found for updating"
1253
  msgstr ""
1254
 
1338
 
1339
  #: includes/Product/functions.php:184 includes/admin/SetupWizardNoWC.php:183
1340
  #: includes/admin/SetupWizardWCAdmin.php:84
1341
+ #: templates/emails/vendor-new-order.php:91
1342
  msgid "Shipping"
1343
  msgstr ""
1344
 
1499
 
1500
  #: includes/REST/AdminReportController.php:138
1501
  #: templates/dashboard/orders-widget.php:21
1502
+ #: templates/dashboard/products-widget.php:26
1503
+ #: templates/emails/vendor-new-order.php:120 templates/my-orders.php:30
1504
  #: templates/orders/order-fee-html.php:17 templates/sub-orders.php:28
1505
  msgid "Total"
1506
  msgstr ""
2597
  msgid "Update is not required."
2598
  msgstr ""
2599
 
2600
+ #: includes/Vendor/Manager.php:179
2601
  msgid "Unable to create vendor"
2602
  msgstr ""
2603
 
2604
+ #: includes/Vendor/Manager.php:262
2605
  msgid "Email is not valid"
2606
  msgstr ""
2607
 
2608
+ #: includes/Vendor/SetupWizard.php:70 includes/admin/SetupWizard.php:145
2609
  msgid "Introduction"
2610
  msgstr ""
2611
 
2612
+ #: includes/Vendor/SetupWizard.php:75 includes/admin/SetupWizard.php:149
2613
  #: includes/template-tags.php:368
2614
  msgid "Store"
2615
  msgstr ""
2619
  msgid "Payment"
2620
  msgstr ""
2621
 
2622
+ #: includes/Vendor/SetupWizard.php:85 includes/admin/SetupWizard.php:169
2623
  msgid "Ready!"
2624
  msgstr ""
2625
 
2648
  "and return to the Store!"
2649
  msgstr ""
2650
 
2651
+ #: includes/Vendor/SetupWizard.php:155 includes/admin/SetupWizard.php:317
2652
  #: templates/admin-setup-wizard/step-no-wc-introduction.php:54
2653
  msgid "Let's Go!"
2654
  msgstr ""
2655
 
2656
+ #: includes/Vendor/SetupWizard.php:156 includes/admin/SetupWizard.php:318
2657
  msgid "Not right now"
2658
  msgstr ""
2659
 
2662
  msgid "Store Setup"
2663
  msgstr ""
2664
 
2665
+ #: includes/Vendor/SetupWizard.php:185 templates/settings/store-form.php:125
2666
  msgid "Store Product Per Page"
2667
  msgstr ""
2668
 
2687
 
2688
  #: includes/Vendor/SetupWizard.php:230
2689
  #: src/admin/pages/VendorAccountFields.vue:69
2690
+ #: templates/settings/store-form.php:155
2691
  msgid "Email"
2692
  msgstr ""
2693
 
2694
+ #: includes/Vendor/SetupWizard.php:234 templates/settings/store-form.php:160
2695
  msgid "Show email address in store"
2696
  msgstr ""
2697
 
2698
  #: includes/Vendor/SetupWizard.php:243 includes/Vendor/SetupWizard.php:396
2699
+ #: includes/admin/SetupWizard.php:526 includes/admin/SetupWizard.php:578
2700
  #: includes/admin/SetupWizardWCAdmin.php:232
2701
  #: templates/admin-setup-wizard/step-selling.php:53
2702
  #: templates/admin-setup-wizard/step-store.php:100
2704
  msgstr ""
2705
 
2706
  #: includes/Vendor/SetupWizard.php:244 includes/Vendor/SetupWizard.php:397
2707
+ #: includes/admin/SetupWizard.php:527
2708
  #: templates/admin-setup-wizard/step-selling.php:54
2709
  #: templates/admin-setup-wizard/step-store.php:101
2710
  msgid "Skip this step"
2808
  msgid "Could not delete withdraw"
2809
  msgstr ""
2810
 
2811
+ #: includes/Withdraw/functions.php:12
2812
  msgid "PayPal"
2813
  msgstr ""
2814
 
2845
  msgstr ""
2846
 
2847
  #: includes/admin/AdminBar.php:54 includes/admin/Menu.php:32
2848
+ #: includes/admin/Menu.php:43 includes/admin/SetupWizard.php:159
2849
+ #: includes/functions.php:2960 includes/template-tags.php:345
2850
+ #: templates/withdraw/header.php:11
2851
  msgid "Withdraw"
2852
  msgstr ""
2853
 
3147
  msgstr ""
3148
 
3149
  #: includes/admin/Settings.php:340 includes/admin/Settings.php:348
3150
+ #: includes/admin/SetupWizard.php:339
3151
  msgid "Admin"
3152
  msgstr ""
3153
 
3189
  msgid "Allow/Disallow vendor to update order status"
3190
  msgstr ""
3191
 
3192
+ #: includes/admin/Settings.php:394 includes/admin/SetupWizard.php:454
3193
  msgid "Withdraw Methods"
3194
  msgstr ""
3195
 
3197
  msgid "Select suitable Withdraw methods for Vendors"
3198
  msgstr ""
3199
 
3200
+ #: includes/admin/Settings.php:402 includes/admin/SetupWizard.php:491
3201
  msgid "Minimum Withdraw Limit"
3202
  msgstr ""
3203
 
3261
  msgid "Which Map API source you want to use in your site?"
3262
  msgstr ""
3263
 
3264
+ #: includes/admin/Settings.php:459 includes/admin/SetupWizard.php:351
3265
  msgid "Google Maps"
3266
  msgstr ""
3267
 
3268
+ #: includes/admin/Settings.php:460 includes/admin/SetupWizard.php:352
3269
  msgid "Mapbox"
3270
  msgstr ""
3271
 
3338
  msgid "Select a page to show your privacy policy"
3339
  msgstr ""
3340
 
3341
+ #: includes/admin/Settings.php:540 includes/functions.php:3497
3342
  msgid ""
3343
  "Your personal data will be used to support your experience throughout this "
3344
  "website, to manage access to your account, and for other purposes described "
3345
  "in our [dokan_privacy_policy]"
3346
  msgstr ""
3347
 
3348
+ #: includes/admin/SetupWizard.php:154 includes/admin/UserProfile.php:294
3349
  msgid "Selling"
3350
  msgstr ""
3351
 
3352
+ #: includes/admin/SetupWizard.php:164
3353
  msgid "Recommended"
3354
  msgstr ""
3355
 
3356
+ #: includes/admin/SetupWizard.php:246
3357
  msgid "Dokan &rsaquo; Setup Wizard"
3358
  msgstr ""
3359
 
3360
+ #: includes/admin/SetupWizard.php:266 includes/admin/SetupWizardNoWC.php:96
3361
  msgid "Return to the WordPress Dashboard"
3362
  msgstr ""
3363
 
3364
+ #: includes/admin/SetupWizard.php:313
3365
  #: templates/admin-setup-wizard/step-no-wc-introduction.php:2
3366
  msgid "Welcome to the world of Dokan!"
3367
  msgstr ""
3368
 
3369
+ #: includes/admin/SetupWizard.php:314
3370
  msgid ""
3371
  "Thank you for choosing Dokan to power your online marketplace! This quick "
3372
  "setup wizard will help you configure the basic settings. <strong>It’s "
3373
  "completely optional and shouldn’t take longer than three minutes.</strong>"
3374
  msgstr ""
3375
 
3376
+ #: includes/admin/SetupWizard.php:315
3377
  msgid ""
3378
  "No time right now? If you don’t want to go through the wizard, you can skip "
3379
  "and return to the WordPress dashboard. Come back anytime if you change your "
3380
  "mind!"
3381
  msgstr ""
3382
 
3383
+ #: includes/admin/SetupWizard.php:450
3384
  msgid "Withdraw Setup"
3385
  msgstr ""
3386
 
3387
+ #: includes/admin/SetupWizard.php:466
3388
+ msgid "Enable %s for your vendor as a withdraw method"
 
 
 
 
 
 
 
 
3389
  msgstr ""
3390
 
3391
+ #: includes/admin/SetupWizard.php:494
 
 
 
 
 
 
 
 
3392
  msgid ""
3393
  "Minimum balance required to make a withdraw request ( Leave it blank to set "
3394
  "no limits )"
3395
  msgstr ""
3396
 
3397
+ #: includes/admin/SetupWizard.php:498
3398
  msgid "Order Status for Withdraw"
3399
  msgstr ""
3400
 
3401
+ #: includes/admin/SetupWizard.php:521
3402
  msgid "Order status for which vendor can make a withdraw request."
3403
  msgstr ""
3404
 
3405
+ #: includes/admin/SetupWizard.php:543
3406
  msgid "Recommended for All Dokan Marketplaces"
3407
  msgstr ""
3408
 
3409
+ #: includes/admin/SetupWizard.php:545
3410
  msgid "Enhance your store with these recommended features."
3411
  msgstr ""
3412
 
3413
+ #: includes/admin/SetupWizard.php:555 includes/admin/SetupWizard.php:559
3414
+ #: includes/admin/SetupWizard.php:602
3415
  msgid "WooCommerce Conversion Tracking"
3416
  msgstr ""
3417
 
3418
+ #: includes/admin/SetupWizard.php:556
3419
  msgid "Track conversions on your WooCommerce store like a pro!"
3420
  msgstr ""
3421
 
3422
+ #: includes/admin/SetupWizard.php:558
3423
  msgid "WooCommerce Conversion Tracking logo"
3424
  msgstr ""
3425
 
3426
+ #: includes/admin/SetupWizard.php:566 includes/admin/SetupWizard.php:570
3427
+ #: includes/admin/SetupWizard.php:613
3428
  msgid "weForms"
3429
  msgstr ""
3430
 
3431
+ #: includes/admin/SetupWizard.php:567
3432
  msgid "Best Contact Form Plugin for WordPress."
3433
  msgstr ""
3434
 
3435
+ #: includes/admin/SetupWizard.php:569
3436
  msgid "weForms logo"
3437
  msgstr ""
3438
 
3439
+ #: includes/admin/SetupWizard.php:673
3440
  msgid "Your Marketplace is Ready!"
3441
  msgstr ""
3442
 
3443
+ #: includes/admin/SetupWizard.php:678
3444
  msgid "Visit Dokan Dashboard"
3445
  msgstr ""
3446
 
3447
+ #: includes/admin/SetupWizard.php:679
3448
  msgid "More Settings"
3449
  msgstr ""
3450
 
3451
+ #: includes/admin/SetupWizard.php:780
3452
  msgid "The following plugins will be installed and activated for you:"
3453
  msgstr ""
3454
 
3455
+ #: includes/admin/SetupWizard.php:912
3456
  msgid "Contact Admin"
3457
  msgstr ""
3458
 
3553
  msgid "Banner"
3554
  msgstr ""
3555
 
3556
+ #: includes/admin/UserProfile.php:118 templates/settings/store-form.php:73
3557
  msgid "Upload banner"
3558
  msgstr ""
3559
 
3702
  #: includes/emails/ContactSeller.php:131 includes/emails/NewProduct.php:159
3703
  #: includes/emails/NewProductPending.php:151 includes/emails/NewSeller.php:136
3704
  #: includes/emails/ProductPublished.php:144
3705
+ #: includes/emails/VendorNewOrder.php:160
3706
  #: includes/emails/VendorWithdrawRequest.php:144
3707
  #: includes/emails/WithdrawApproved.php:140
3708
  #: includes/emails/WithdrawCancelled.php:140
3712
  #: includes/emails/ContactSeller.php:133 includes/emails/NewProduct.php:161
3713
  #: includes/emails/NewProductPending.php:153 includes/emails/NewSeller.php:138
3714
  #: includes/emails/ProductPublished.php:146
3715
+ #: includes/emails/VendorNewOrder.php:162
3716
  #: includes/emails/VendorWithdrawRequest.php:146
3717
  #: includes/emails/WithdrawApproved.php:142
3718
  #: includes/emails/WithdrawCancelled.php:142
3722
  #: includes/emails/ContactSeller.php:138 includes/emails/NewProduct.php:173
3723
  #: includes/emails/NewProductPending.php:165 includes/emails/NewSeller.php:150
3724
  #: includes/emails/ProductPublished.php:151
3725
+ #: includes/emails/VendorNewOrder.php:166
3726
  #: includes/emails/VendorWithdrawRequest.php:158
3727
  #: includes/emails/WithdrawApproved.php:146
3728
  #: includes/emails/WithdrawCancelled.php:146
3735
  #: includes/emails/NewProductPending.php:178 includes/emails/NewSeller.php:154
3736
  #: includes/emails/NewSeller.php:163 includes/emails/ProductPublished.php:155
3737
  #: includes/emails/ProductPublished.php:164
3738
+ #: includes/emails/VendorNewOrder.php:170
3739
+ #: includes/emails/VendorNewOrder.php:179
3740
  #: includes/emails/VendorWithdrawRequest.php:162
3741
  #: includes/emails/VendorWithdrawRequest.php:171
3742
  #: includes/emails/WithdrawApproved.php:150
3750
  #: includes/emails/ContactSeller.php:147 includes/emails/NewProduct.php:182
3751
  #: includes/emails/NewProductPending.php:174 includes/emails/NewSeller.php:159
3752
  #: includes/emails/ProductPublished.php:160
3753
+ #: includes/emails/VendorNewOrder.php:175
3754
  #: includes/emails/VendorWithdrawRequest.php:167
3755
  #: includes/emails/WithdrawApproved.php:155
3756
  #: includes/emails/WithdrawCancelled.php:155
3760
  #: includes/emails/ContactSeller.php:156 includes/emails/NewProduct.php:191
3761
  #: includes/emails/NewProductPending.php:183 includes/emails/NewSeller.php:168
3762
  #: includes/emails/ProductPublished.php:169
3763
+ #: includes/emails/VendorNewOrder.php:184
3764
  #: includes/emails/VendorWithdrawRequest.php:176
3765
  #: includes/emails/WithdrawApproved.php:164
3766
  #: includes/emails/WithdrawCancelled.php:164
3770
  #: includes/emails/ContactSeller.php:158 includes/emails/NewProduct.php:193
3771
  #: includes/emails/NewProductPending.php:185 includes/emails/NewSeller.php:170
3772
  #: includes/emails/ProductPublished.php:171
3773
+ #: includes/emails/VendorNewOrder.php:186
3774
  #: includes/emails/VendorWithdrawRequest.php:178
3775
  #: includes/emails/WithdrawApproved.php:166
3776
  #: includes/emails/WithdrawCancelled.php:166
3777
  msgid "Choose which format of email to send."
3778
  msgstr ""
3779
 
3780
+ #: includes/emails/Manager.php:197
3781
  msgid "\"%s\" sent you a message from your \"%s\" store"
3782
  msgstr ""
3783
 
3784
+ #: includes/emails/Manager.php:246
3785
  msgid "[%s] Refund Request %s"
3786
  msgstr ""
3787
 
3788
+ #: includes/emails/Manager.php:280
3789
  msgid "[%s] New Refund Request"
3790
  msgstr ""
3791
 
3792
+ #: includes/emails/Manager.php:337
3793
  msgid "[%s] New Withdraw Request"
3794
  msgstr ""
3795
 
3796
+ #: includes/emails/Manager.php:359
3797
  msgid "[%s] Your Withdraw Request has been approved"
3798
  msgstr ""
3799
 
3800
+ #: includes/emails/Manager.php:382
3801
  msgid "[%s] Your Withdraw Request has been cancelled"
3802
  msgstr ""
3803
 
3804
+ #: includes/emails/Manager.php:421
3805
  msgid "[%s] New Vendor Registered"
3806
  msgstr ""
3807
 
3808
+ #: includes/emails/Manager.php:474
3809
  msgid "[%s] New Product Added"
3810
  msgstr ""
3811
 
3812
+ #: includes/emails/Manager.php:514
3813
  msgid "[%s] Your product has been approved!"
3814
  msgstr ""
3815
 
3899
  msgid "{product_title} - is published"
3900
  msgstr ""
3901
 
3902
+ #: includes/emails/VendorNewOrder.php:25
3903
+ msgid "Dokan Vendor New Order"
3904
+ msgstr ""
3905
+
3906
+ #: includes/emails/VendorNewOrder.php:26
3907
+ msgid ""
3908
+ "New order emails are sent to chosen recipient(s) when a new order is "
3909
+ "received."
3910
+ msgstr ""
3911
+
3912
+ #: includes/emails/VendorNewOrder.php:58
3913
+ msgid "[{site_title}] New customer order ({order_number}) - {order_date}"
3914
+ msgstr ""
3915
+
3916
+ #: includes/emails/VendorNewOrder.php:68
3917
+ msgid "New Customer Order: #{order_number}"
3918
+ msgstr ""
3919
+
3920
  #: includes/emails/VendorWithdrawRequest.php:24
3921
  msgid "Dokan New Withdrawal Request"
3922
  msgstr ""
4066
  msgstr ""
4067
 
4068
  #: includes/functions.php:2117
4069
+ msgid "1-2 business days"
4070
  msgstr ""
4071
 
4072
  #: includes/functions.php:2118
4073
+ msgid "1-3 business days"
4074
  msgstr ""
4075
 
4076
  #: includes/functions.php:2119
4077
+ msgid "3-5 business days"
4078
  msgstr ""
4079
 
4080
  #: includes/functions.php:2120
4097
  msgid "6-8 weeks"
4098
  msgstr ""
4099
 
4100
+ #: includes/functions.php:2227
4101
  msgid "All dates"
4102
  msgstr ""
4103
 
4104
+ #: includes/functions.php:2242
4105
  #. translators: 1: month name, 2: 4-digit year
4106
  msgid "%1$s %2$d"
4107
  msgstr ""
4108
 
4109
+ #: includes/functions.php:2334
4110
  msgid "LinkedIn"
4111
  msgstr ""
4112
 
4113
+ #: includes/functions.php:2612
4114
  msgid "Dokan Store Sidebar"
4115
  msgstr ""
4116
 
4117
+ #: includes/functions.php:2882
4118
  msgid "View sales overview"
4119
  msgstr ""
4120
 
4121
+ #: includes/functions.php:2883
4122
  msgid "View sales report chart"
4123
  msgstr ""
4124
 
4125
+ #: includes/functions.php:2884
4126
  msgid "View announcement"
4127
  msgstr ""
4128
 
4129
+ #: includes/functions.php:2885
4130
  msgid "View order report"
4131
  msgstr ""
4132
 
4133
+ #: includes/functions.php:2886
4134
  msgid "View review report"
4135
  msgstr ""
4136
 
4137
+ #: includes/functions.php:2887
4138
  msgid "View product status report"
4139
  msgstr ""
4140
 
4141
+ #: includes/functions.php:2890
4142
  msgid "View overview report"
4143
  msgstr ""
4144
 
4145
+ #: includes/functions.php:2891
4146
  msgid "View daily sales report"
4147
  msgstr ""
4148
 
4149
+ #: includes/functions.php:2892
4150
  msgid "View top selling report"
4151
  msgstr ""
4152
 
4153
+ #: includes/functions.php:2893
4154
  msgid "View top earning report"
4155
  msgstr ""
4156
 
4157
+ #: includes/functions.php:2894
4158
  msgid "View statement report"
4159
  msgstr ""
4160
 
4161
+ #: includes/functions.php:2897
4162
  msgid "View order"
4163
  msgstr ""
4164
 
4165
+ #: includes/functions.php:2898
4166
  msgid "Manage order"
4167
  msgstr ""
4168
 
4169
+ #: includes/functions.php:2899
4170
  msgid "Manage order note"
4171
  msgstr ""
4172
 
4173
+ #: includes/functions.php:2900
4174
  msgid "Manage refund"
4175
  msgstr ""
4176
 
4177
+ #: includes/functions.php:2904
4178
  msgid "Add coupon"
4179
  msgstr ""
4180
 
4181
+ #: includes/functions.php:2905
4182
  msgid "Edit coupon"
4183
  msgstr ""
4184
 
4185
+ #: includes/functions.php:2906
4186
  msgid "Delete coupon"
4187
  msgstr ""
4188
 
4189
+ #: includes/functions.php:2909
4190
  msgid "View reviews"
4191
  msgstr ""
4192
 
4193
+ #: includes/functions.php:2910
4194
  msgid "Manage reviews"
4195
  msgstr ""
4196
 
4197
+ #: includes/functions.php:2914
4198
  msgid "Manage withdraw"
4199
  msgstr ""
4200
 
4201
+ #: includes/functions.php:2917
4202
  msgid "Add product"
4203
  msgstr ""
4204
 
4205
+ #: includes/functions.php:2918
4206
  msgid "Edit product"
4207
  msgstr ""
4208
 
4209
+ #: includes/functions.php:2919
4210
  msgid "Delete product"
4211
  msgstr ""
4212
 
4213
+ #: includes/functions.php:2920
4214
  msgid "View product"
4215
  msgstr ""
4216
 
4217
+ #: includes/functions.php:2921
4218
  msgid "Duplicate product"
4219
  msgstr ""
4220
 
4221
+ #: includes/functions.php:2922
4222
  msgid "Import product"
4223
  msgstr ""
4224
 
4225
+ #: includes/functions.php:2923
4226
  msgid "Export product"
4227
  msgstr ""
4228
 
4229
+ #: includes/functions.php:2926
4230
  msgid "View overview menu"
4231
  msgstr ""
4232
 
4233
+ #: includes/functions.php:2927
4234
  msgid "View product menu"
4235
  msgstr ""
4236
 
4237
+ #: includes/functions.php:2928
4238
  msgid "View order menu"
4239
  msgstr ""
4240
 
4241
+ #: includes/functions.php:2929
4242
  msgid "View coupon menu"
4243
  msgstr ""
4244
 
4245
+ #: includes/functions.php:2930
4246
  msgid "View report menu"
4247
  msgstr ""
4248
 
4249
+ #: includes/functions.php:2931
4250
  msgid "Vuew review menu"
4251
  msgstr ""
4252
 
4253
+ #: includes/functions.php:2932
4254
  msgid "View withdraw menu"
4255
  msgstr ""
4256
 
4257
+ #: includes/functions.php:2933
4258
  msgid "View store settings menu"
4259
  msgstr ""
4260
 
4261
+ #: includes/functions.php:2934
4262
  msgid "View payment settings menu"
4263
  msgstr ""
4264
 
4265
+ #: includes/functions.php:2935
4266
  msgid "View shipping settings menu"
4267
  msgstr ""
4268
 
4269
+ #: includes/functions.php:2936
4270
  msgid "View social settings menu"
4271
  msgstr ""
4272
 
4273
+ #: includes/functions.php:2937
4274
  msgid "View seo settings menu"
4275
  msgstr ""
4276
 
4277
+ #: includes/functions.php:2955 src/admin/pages/Dashboard.vue:103
4278
+ msgid "Overview"
4279
+ msgstr ""
4280
+
4281
+ #: includes/functions.php:2956
4282
+ msgid "Report"
4283
+ msgstr ""
4284
+
4285
+ #: includes/functions.php:2957 templates/dashboard/big-counter-widget.php:29
4286
+ #: templates/my-orders.php:27 templates/orders/details.php:21
4287
+ #: templates/orders/listing.php:51 templates/orders/listing.php:70
4288
+ #: templates/sub-orders.php:25
4289
+ msgid "Order"
4290
+ msgstr ""
4291
+
4292
+ #: includes/functions.php:2958
4293
+ msgid "Coupon"
4294
+ msgstr ""
4295
+
4296
+ #: includes/functions.php:2959
4297
+ msgid "Review"
4298
+ msgstr ""
4299
+
4300
+ #: includes/functions.php:2961 templates/emails/vendor-new-order.php:47
4301
+ msgid "Product"
4302
+ msgstr ""
4303
+
4304
+ #: includes/functions.php:2962
4305
+ msgid "Menu"
4306
+ msgstr ""
4307
+
4308
+ #: includes/functions.php:3138
4309
  msgid "Saturday"
4310
  msgstr ""
4311
 
4312
+ #: includes/functions.php:3141
4313
  msgid "Sunday"
4314
  msgstr ""
4315
 
4316
+ #: includes/functions.php:3144
4317
  msgid "Monday"
4318
  msgstr ""
4319
 
4320
+ #: includes/functions.php:3147
4321
  msgid "Tuesday"
4322
  msgstr ""
4323
 
4324
+ #: includes/functions.php:3150
4325
  msgid "Wednesday"
4326
  msgstr ""
4327
 
4328
+ #: includes/functions.php:3153
4329
  msgid "Thursday"
4330
  msgstr ""
4331
 
4332
+ #: includes/functions.php:3156
4333
  msgid "Friday"
4334
  msgstr ""
4335
 
4336
+ #: includes/functions.php:3159
4337
  msgid "Off Day"
4338
  msgstr ""
4339
 
4340
+ #: includes/functions.php:3477
4341
  msgid "privacy policy"
4342
  msgstr ""
4343
 
4344
+ #: includes/functions.php:3521 src/admin/pages/VendorPaymentFields.vue:140
4345
  #: src/admin/pages/VendorPaymentFields.vue:144
4346
  msgid "Flat"
4347
  msgstr ""
4348
 
4349
+ #: includes/functions.php:3522 src/admin/pages/VendorPaymentFields.vue:141
4350
  msgid "Percentage"
4351
  msgstr ""
4352
 
4353
+ #: includes/functions.php:3538
4354
  msgid "Please Login to Continue"
4355
  msgstr ""
4356
 
4357
+ #: includes/functions.php:3706
4358
  msgid "Unable to fetch plugin information from wordpress.org for %s."
4359
  msgstr ""
4360
 
4361
+ #: includes/functions.php:3718
4362
  msgid "Unable to install %s from wordpress.org"
4363
  msgstr ""
4364
 
4530
  msgstr ""
4531
 
4532
  #: includes/widgets/BestSellingProducts.php:65
4533
+ #: includes/widgets/ProductCategoryMenu.php:92
4534
+ #: includes/widgets/StoreCategoryMenu.php:82
4535
  #: includes/widgets/StoreContactForm.php:120
4536
  #: includes/widgets/StoreLocation.php:104
4537
  #: includes/widgets/StoreOpenClose.php:111
4557
  msgid "Dokan product category menu"
4558
  msgstr ""
4559
 
4560
+ #: includes/widgets/ProductCategoryMenu.php:86
4561
  msgid "Product Category"
4562
  msgstr ""
4563
 
4570
  msgstr ""
4571
 
4572
  #: includes/widgets/StoreCategoryMenu.php:33
4573
+ #: includes/widgets/StoreCategoryMenu.php:76 templates/store-sidebar.php:15
4574
  msgid "Store Product Category"
4575
  msgstr ""
4576
 
4793
  msgid "Thank you for subscribing!"
4794
  msgstr ""
4795
 
 
 
 
 
4796
  #: src/admin/pages/Help.vue:3
4797
  msgid "Help"
4798
  msgstr ""
5268
  msgid "Pageview"
5269
  msgstr ""
5270
 
 
 
 
 
 
 
5271
  #: templates/dashboard/edit-account.php:47
5272
  msgid "Edit Account Details"
5273
  msgstr ""
5430
  msgid "has been approved by one of our admin, congrats!"
5431
  msgstr ""
5432
 
5433
+ #: templates/emails/plain/vendor-new-order.php:16
5434
+ #: templates/emails/vendor-new-order.php:31
5435
+ msgid "You have received an order from %s."
5436
+ msgstr ""
5437
+
5438
  #: templates/emails/plain/withdraw-approve.php:20
5439
  #: templates/emails/withdraw-approve.php:21
5440
  msgid "Your withdraw request has been approved, congrats!"
5478
  msgid "To Edit product click : <a href=\"%s\">here</a>"
5479
  msgstr ""
5480
 
5481
+ #: templates/emails/vendor-new-order.php:38
5482
+ #. translators: %s: Order ID.
5483
+ msgid "[Order #%s]"
5484
+ msgstr ""
5485
+
5486
+ #: templates/emails/vendor-new-order.php:48
5487
+ msgid "Quantity"
5488
+ msgstr ""
5489
+
5490
+ #: templates/emails/vendor-new-order.php:49
5491
+ #: templates/products/new-product-single.php:195
5492
+ #: templates/products/new-product.php:156
5493
+ #: templates/products/products-listing-row.php:77
5494
+ #: templates/products/products-listing.php:95
5495
+ #: templates/products/tmpl-add-product-popup.php:57
5496
+ msgid "Price"
5497
+ msgstr ""
5498
+
5499
+ #: templates/emails/vendor-new-order.php:71
5500
+ msgid "Subtotal"
5501
+ msgstr ""
5502
+
5503
+ #: templates/emails/vendor-new-order.php:81
5504
+ msgid "Discount"
5505
+ msgstr ""
5506
+
5507
+ #: templates/emails/vendor-new-order.php:101
5508
+ msgid "Tax"
5509
+ msgstr ""
5510
+
5511
+ #: templates/emails/vendor-new-order.php:111
5512
+ #: templates/withdraw/request-form.php:27
5513
+ msgid "Payment Method"
5514
+ msgstr ""
5515
+
5516
  #: templates/emails/withdraw-approve.php:26
5517
  #: templates/emails/withdraw-cancel.php:26
5518
  msgid "Amount : "
6119
  "colors, quality etc"
6120
  msgstr ""
6121
 
 
 
 
 
 
 
 
 
6122
  #: templates/products/new-product-single.php:200
6123
  msgid " You Earn : "
6124
  msgstr ""
6408
  msgid "No withdraw method is available. Please contact site admin."
6409
  msgstr ""
6410
 
6411
+ #: templates/settings/store-form.php:86
6412
  msgid "Upload a banner for your store. Banner size is (%sx%s) pixels."
6413
  msgstr ""
6414
 
6415
+ #: templates/settings/store-form.php:99
6416
  msgid "Profile Picture"
6417
  msgstr ""
6418
 
6419
+ #: templates/settings/store-form.php:109
6420
  msgid "Upload Photo"
6421
  msgstr ""
6422
 
6423
+ #: templates/settings/store-form.php:118
6424
  msgid "store name"
6425
  msgstr ""
6426
 
6427
+ #: templates/settings/store-form.php:148
6428
  msgid "Phone No"
6429
  msgstr ""
6430
 
6431
+ #: templates/settings/store-form.php:150
6432
  msgid "+123456.."
6433
  msgstr ""
6434
 
6435
+ #: templates/settings/store-form.php:167
6436
  msgid "More products"
6437
  msgstr ""
6438
 
6439
+ #: templates/settings/store-form.php:172
6440
  msgid "Enable tab on product single page view"
6441
  msgstr ""
6442
 
6443
+ #: templates/settings/store-form.php:180
6444
  msgid "Map"
6445
  msgstr ""
6446
 
6575
  msgid "Withdraw Amount"
6576
  msgstr ""
6577
 
 
 
 
 
6578
  #: templates/withdraw/request-form.php:42
6579
  msgid "Submit Request"
6580
  msgstr ""
6650
  msgid "of"
6651
  msgstr ""
6652
 
6653
+ #: includes/admin/SetupWizard.php:76
6654
  msgctxt "enhanced select"
6655
  msgid "One result is available, press enter to select it."
6656
  msgstr ""
6657
 
6658
+ #: includes/admin/SetupWizard.php:77
6659
  msgctxt "enhanced select"
6660
  msgid "%qty% results are available, use up and down arrow keys to navigate."
6661
  msgstr ""
6662
 
6663
+ #: includes/admin/SetupWizard.php:78
6664
  msgctxt "enhanced select"
6665
  msgid "No matches found"
6666
  msgstr ""
6667
 
6668
+ #: includes/admin/SetupWizard.php:79
6669
  msgctxt "enhanced select"
6670
  msgid "Loading failed"
6671
  msgstr ""
6672
 
6673
+ #: includes/admin/SetupWizard.php:80
6674
  msgctxt "enhanced select"
6675
  msgid "Please enter 1 or more characters"
6676
  msgstr ""
6677
 
6678
+ #: includes/admin/SetupWizard.php:81
6679
  msgctxt "enhanced select"
6680
  msgid "Please enter %qty% or more characters"
6681
  msgstr ""
6682
 
6683
+ #: includes/admin/SetupWizard.php:82
6684
  msgctxt "enhanced select"
6685
  msgid "Please delete 1 character"
6686
  msgstr ""
6687
 
6688
+ #: includes/admin/SetupWizard.php:83
6689
  msgctxt "enhanced select"
6690
  msgid "Please delete %qty% characters"
6691
  msgstr ""
6692
 
6693
+ #: includes/admin/SetupWizard.php:84
6694
  msgctxt "enhanced select"
6695
  msgid "You can only select 1 item"
6696
  msgstr ""
6697
 
6698
+ #: includes/admin/SetupWizard.php:85
6699
  msgctxt "enhanced select"
6700
  msgid "You can only select %qty% items"
6701
  msgstr ""
6702
 
6703
+ #: includes/admin/SetupWizard.php:86
6704
  msgctxt "enhanced select"
6705
  msgid "Loading more results&hellip;"
6706
  msgstr ""
6707
 
6708
+ #: includes/admin/SetupWizard.php:87
6709
  msgctxt "enhanced select"
6710
  msgid "Searching&hellip;"
6711
  msgstr ""
package.json CHANGED
@@ -1,6 +1,6 @@
1
  {
2
  "name": "dokan",
3
- "version": "3.0.1",
4
  "description": "A WordPress marketplace plugin",
5
  "author": "weDevs",
6
  "license": "GPL",
1
  {
2
  "name": "dokan",
3
+ "version": "3.0.2",
4
  "description": "A WordPress marketplace plugin",
5
  "author": "weDevs",
6
  "license": "GPL",
readme.txt CHANGED
@@ -5,9 +5,9 @@ Tags: WooCommerce multivendor marketplace, multi vendor marketplace, multi selle
5
  Requires at least: 4.4
6
  Tested up to: 5.3.2
7
  WC requires at least: 3.0
8
- WC tested up to: 3.9.1
9
  Requires PHP: 5.6
10
- Stable tag: 3.0.1
11
  License: GPLv2 or later
12
  License URI: http://www.gnu.org/licenses/gpl-2.0.html
13
 
@@ -17,7 +17,7 @@ The pioneer multi-vendor plugin for WordPress. Start your own marketplace in min
17
 
18
  = DOKAN MULTIVENDOR MARKETPLACE PLUGIN FOR WORDPRESS =
19
 
20
- 👉 Official Free Demo Link: [Official Demo](https://wedevs.com/dokan/demo)
21
  👉 Learn More About Dokan(PRO): [All The Features of Dokan](https://wedevs.com/dokan/features/)
22
 
23
  = POWERED BY WooCommerce =
@@ -291,6 +291,27 @@ A. Just install and activate the PRO version without deleting the free plugin. A
291
 
292
  == Changelog ==
293
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
294
  = v3.0.1 (February 07, 2020) =
295
 
296
  - **Fix:** Fixed yoast seo causing conflict issue in single store page
5
  Requires at least: 4.4
6
  Tested up to: 5.3.2
7
  WC requires at least: 3.0
8
+ WC tested up to: 4.0.1
9
  Requires PHP: 5.6
10
+ Stable tag: 3.0.2
11
  License: GPLv2 or later
12
  License URI: http://www.gnu.org/licenses/gpl-2.0.html
13
 
17
 
18
  = DOKAN MULTIVENDOR MARKETPLACE PLUGIN FOR WORDPRESS =
19
 
20
+ 👉 Official Free Demo Link: [Official Demo](https://dokan.wedevsdemos.com/)
21
  👉 Learn More About Dokan(PRO): [All The Features of Dokan](https://wedevs.com/dokan/features/)
22
 
23
  = POWERED BY WooCommerce =
291
 
292
  == Changelog ==
293
 
294
+ = v3.0.2 (March 23, 2020) =
295
+
296
+ - **Fix:** Unable to remove attributes in vendor product edit page #637
297
+ - **Fix:** Feature image is not saving on quick edit
298
+ - **Fix:** Vendor image issue #769
299
+ - **Fix:** Set vendor eamil on new vendor creation #787
300
+ - **Fix:** Return content from shotcode instead of being outputting #752
301
+ - **Fix:** Map still showing on vendor dashabord settings page even if there is no API key
302
+ - **Fix:** Product type not saving when quick edit #767
303
+ - **Fix:** Render withdraw methods dynamically in setup wizard #771
304
+ - **Fix:** Show vendor email to admin and actual vendor #773
305
+ - **Fix:** Product type error in dokan_save_product function
306
+ - **Fix:** Admin is unable to see the setup wizard on new dokan installation when WooCommerce is not installed #783
307
+ - **Fix:** Add missing add_meta_query method in dokan REST API #788
308
+ - **Fix:** Only render map if api key is availabe in store settings page #774
309
+ - **Feat:** Add dokan_get_all_cap_labels function #781
310
+ - **Improvement:** Added group description to exporters and updated privacy policy guide to drop use of deprecated classes #755
311
+ - **Improvement:** dokan_get_shipping_processing_times function #785
312
+ - **Improvement:** Add filter on withdraw export csv args #786
313
+ - **Improvement:** Get correct product thumbnail size in vendor product list page #795
314
+
315
  = v3.0.1 (February 07, 2020) =
316
 
317
  - **Fix:** Fixed yoast seo causing conflict issue in single store page
templates/emails/plain/vendor-new-order.php ADDED
@@ -0,0 +1,24 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ <?php
2
+ /**
3
+ * New Order Email ( plain text )
4
+ *
5
+ * An email sent to the vendor when a new order is created by customer.
6
+ *
7
+ * @class VendorNewOrder
8
+ * @version 2.6.8
9
+ *
10
+ */
11
+
12
+ if ( ! defined( 'ABSPATH' ) ) {
13
+ exit;
14
+ }
15
+ echo "= " . $email_heading . " =\n\n";
16
+ echo sprintf( __( 'You have received an order from %s.', 'dokan-lite' ), $order->get_formatted_billing_full_name() ) . "\n\n";
17
+ echo "=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=\n\n";
18
+ /**
19
+ * @hooked WC_Emails::customer_details() Shows customer details
20
+ * @hooked WC_Emails::email_address() Shows email address
21
+ */
22
+ do_action( 'woocommerce_email_customer_details', $order, $sent_to_admin, $plain_text, $email );
23
+ echo "\n=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=\n\n";
24
+ echo apply_filters( 'woocommerce_email_footer_text', get_option( 'woocommerce_email_footer_text' ) );
templates/emails/vendor-new-order.php ADDED
@@ -0,0 +1,145 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ <?php
2
+ /**
3
+ * New Order Email.
4
+ *
5
+ * An email sent to the vendor when a new order is created by customer.
6
+ *
7
+ * @class VendorNewOrder
8
+ * @version 2.6.8
9
+ *
10
+ */
11
+
12
+ if ( ! defined( 'ABSPATH' ) ) {
13
+ exit;
14
+ }
15
+
16
+ $text_align = is_rtl() ? 'right' : 'left';
17
+
18
+ /**
19
+ * @hooked WC_Emails::email_header() Output the email header
20
+ */
21
+ do_action( 'woocommerce_email_header', $email_heading, $email );
22
+
23
+ $order_url = esc_url( add_query_arg( array(
24
+ 'order_id' => $order->get_order_number(),
25
+ '_view_mode' => 'email',
26
+ 'permission' => '1',
27
+ ), dokan_get_navigation_url( 'orders' ) ) );
28
+
29
+ ?>
30
+
31
+ <p><?php printf( __( 'You have received an order from %s.', 'dokan-lite' ), $order->get_formatted_billing_full_name() ); ?></p>
32
+
33
+ <h2>
34
+ <?php
35
+ $before = '<a class="link" href="' . esc_url( $order_url ) . '">';
36
+ $after = '</a>';
37
+ /* translators: %s: Order ID. */
38
+ echo wp_kses_post( $before . sprintf( __( '[Order #%s]', 'dokan-lite' ) . $after . ' (<time datetime="%s">%s</time>)', $order->get_order_number(), $order->get_date_created()->format( 'c' ), wc_format_datetime( $order->get_date_created() ) ) );
39
+ ?>
40
+ </h2>
41
+
42
+
43
+ <div style="margin-bottom: 40px;">
44
+ <table class="td" cellspacing="0" cellpadding="6" style="width: 100%; font-family: 'Helvetica Neue', Helvetica, Roboto, Arial, sans-serif;" border="1">
45
+ <thead>
46
+ <tr>
47
+ <th class="td" scope="col" style="text-align:<?php echo esc_attr( $text_align ); ?>;"><?php esc_html_e( 'Product', 'dokan-lite' ); ?></th>
48
+ <th class="td" scope="col" style="text-align:<?php echo esc_attr( $text_align ); ?>;"><?php esc_html_e( 'Quantity', 'dokan-lite' ); ?></th>
49
+ <th class="td" scope="col" style="text-align:<?php echo esc_attr( $text_align ); ?>;"><?php esc_html_e( 'Price', 'dokan-lite' ); ?></th>
50
+ </tr>
51
+ </thead>
52
+
53
+ <tbody>
54
+
55
+ <?php $total_price = array(); ?>
56
+ <?php foreach ( $order_info as $value ) : ?>
57
+ <tr class="order_item">
58
+ <?php foreach ( $value as $key => $info ) :?>
59
+ <?php
60
+ if ( $key == 'total' ) {
61
+ array_push( $total_price, $info );
62
+ }
63
+ ?>
64
+
65
+ <td class="td" style="text-align: left;vertical-align: middle;font-family: 'Helvetica Neue', Helvetica, Roboto, Arial, sans-serif;color: #636363;border: 1px solid #e5e5e5;padding: 12px"><?php echo $info; ?></td>
66
+ <?php endforeach; ?>
67
+ </tr>
68
+ <?php endforeach; ?>
69
+
70
+ <tr>
71
+ <th class="td" scope="row" colspan="2" style="text-align: left;color: #636363;border: 1px solid #e5e5e5;vertical-align: middle;padding: 12px"><?php esc_attr_e( 'Subtotal', 'dokan-lite' ); ?>:
72
+ </th>
73
+
74
+ <td class="td" style="text-align: left;color: #636363;border: 1px solid #e5e5e5;vertical-align: middle;padding: 12px">
75
+ <?php echo $order->get_subtotal_to_display(); ?>
76
+ </td>
77
+ </tr>
78
+
79
+ <?php if ( $order->get_discount_total() ) : ?>
80
+ <tr>
81
+ <th class="td" scope="row" colspan="2" style="text-align: left;color: #636363;border: 1px solid #e5e5e5;vertical-align: middle;padding: 12px"><?php esc_attr_e( 'Discount', 'dokan-lite' ); ?>:
82
+ </th>
83
+
84
+ <td class="td" style="text-align: left;color: #636363;border: 1px solid #e5e5e5;vertical-align: middle;padding: 12px">
85
+ <?php echo '-' . $order->get_discount_to_display(); ?>
86
+ </td>
87
+ </tr>
88
+ <?php endif; ?>
89
+
90
+ <tr>
91
+ <th class="td" scope="row" colspan="2" style="text-align: left;color: #636363;border: 1px solid #e5e5e5;vertical-align: middle;padding: 12px"><?php esc_attr_e( 'Shipping', 'dokan-lite' ); ?>:
92
+ </th>
93
+
94
+ <td class="td" style="text-align: left;color: #636363;border: 1px solid #e5e5e5;vertical-align: middle;padding: 12px">
95
+ <?php echo $order->get_shipping_to_display(); ?>
96
+ </td>
97
+ </tr>
98
+
99
+ <?php if ( $order->get_total_tax() ) : ?>
100
+ <tr>
101
+ <th class="td" scope="row" colspan="2" style="text-align: left;color: #636363;border: 1px solid #e5e5e5;vertical-align: middle;padding: 12px"><?php esc_attr_e( 'Tax', 'dokan-lite' ); ?>:
102
+ </th>
103
+
104
+ <td class="td" style="text-align: left;color: #636363;border: 1px solid #e5e5e5;vertical-align: middle;padding: 12px">
105
+ <?php echo wc_price( $order->get_total_tax() ); ?>
106
+ </td>
107
+ </tr>
108
+ <?php endif; ?>
109
+
110
+ <tr>
111
+ <th class="td" scope="row" colspan="2" style="text-align: left;color: #636363;border: 1px solid #e5e5e5;vertical-align: middle;padding: 12px"><?php esc_attr_e( 'Payment Method', 'dokan-lite' ); ?>:
112
+ </th>
113
+
114
+ <td class="td" style="text-align: left;color: #636363;border: 1px solid #e5e5e5;vertical-align: middle;padding: 12px">
115
+ <?php echo esc_attr( $order->get_payment_method_title() ); ?>
116
+ </td>
117
+ </tr>
118
+
119
+ <tr>
120
+ <th class="td" scope="row" colspan="2" style="text-align: left;color: #636363;border: 1px solid #e5e5e5;vertical-align: middle;padding: 12px"><?php esc_attr_e( 'Total', 'dokan-lite' ); ?>:
121
+ </th>
122
+
123
+ <td class="td" style="text-align: left;color: #636363;border: 1px solid #e5e5e5;vertical-align: middle;padding: 12px">
124
+ <?php echo $order->get_formatted_order_total(); ?>
125
+ </td>
126
+ </tr>
127
+
128
+ </tbody>
129
+
130
+ </table>
131
+
132
+
133
+ </div>
134
+
135
+ <?php
136
+ /**
137
+ * @hooked WC_Emails::customer_details() Shows customer details
138
+ * @hooked WC_Emails::email_address() Shows email address
139
+ */
140
+ do_action( 'woocommerce_email_customer_details', $order, $sent_to_admin, $plain_text, $email );
141
+
142
+ /**
143
+ * @hooked WC_Emails::email_footer() Output the email footer
144
+ */
145
+ do_action( 'woocommerce_email_footer', $email );
templates/products/products-listing-row.php CHANGED
@@ -32,9 +32,9 @@
32
  </td>
33
  <td data-title="<?php esc_attr_e( 'Image', 'dokan-lite' ); ?>">
34
  <?php if ( current_user_can( 'dokan_edit_product' ) ): ?>
35
- <a href="<?php echo esc_url( dokan_edit_product_url( $post->ID ) ); ?>"><?php echo wp_kses( $product->get_image(), $img_kses ); ?></a>
36
  <?php else: ?>
37
- <?php echo wp_kses( $product->get_image(), $img_kses ); ?>
38
  <?php endif ?>
39
  </td>
40
  <td data-title="<?php esc_attr_e( 'Name', 'dokan-lite' ); ?>">
32
  </td>
33
  <td data-title="<?php esc_attr_e( 'Image', 'dokan-lite' ); ?>">
34
  <?php if ( current_user_can( 'dokan_edit_product' ) ): ?>
35
+ <a href="<?php echo esc_url( dokan_edit_product_url( $post->ID ) ); ?>"><?php echo wp_kses( $product->get_image( 'thumbnail' ), $img_kses ); ?></a>
36
  <?php else: ?>
37
+ <?php echo wp_kses( $product->get_image( 'thumbnail' ), $img_kses ); ?>
38
  <?php endif ?>
39
  </td>
40
  <td data-title="<?php esc_attr_e( 'Name', 'dokan-lite' ); ?>">
templates/settings/store-form.php CHANGED
@@ -50,7 +50,6 @@
50
  $dokan_store_time_enabled = isset( $profile_info['dokan_store_time_enabled'] ) ? $profile_info['dokan_store_time_enabled'] : '';
51
  $dokan_store_open_notice = isset( $profile_info['dokan_store_open_notice'] ) ? $profile_info['dokan_store_open_notice'] : '';
52
  $dokan_store_close_notice = isset( $profile_info['dokan_store_close_notice'] ) ? $profile_info['dokan_store_close_notice'] : '';
53
-
54
  ?>
55
  <?php do_action( 'dokan_settings_before_form', $current_user, $profile_info ); ?>
56
 
@@ -176,7 +175,7 @@
176
  </div>
177
  </div>
178
 
179
-
180
  <div class="dokan-form-group">
181
  <label class="dokan-w3 dokan-control-label" for="setting_map"><?php esc_html_e( 'Map', 'dokan-lite' ); ?></label>
182
 
@@ -189,6 +188,7 @@
189
  ?>
190
  </div> <!-- col.md-4 -->
191
  </div> <!-- .dokan-form-group -->
 
192
 
193
  <!--terms and conditions enable or not -->
194
  <?php
50
  $dokan_store_time_enabled = isset( $profile_info['dokan_store_time_enabled'] ) ? $profile_info['dokan_store_time_enabled'] : '';
51
  $dokan_store_open_notice = isset( $profile_info['dokan_store_open_notice'] ) ? $profile_info['dokan_store_open_notice'] : '';
52
  $dokan_store_close_notice = isset( $profile_info['dokan_store_close_notice'] ) ? $profile_info['dokan_store_close_notice'] : '';
 
53
  ?>
54
  <?php do_action( 'dokan_settings_before_form', $current_user, $profile_info ); ?>
55
 
175
  </div>
176
  </div>
177
 
178
+ <?php if ( dokan_has_map_api_key() ) { ?>
179
  <div class="dokan-form-group">
180
  <label class="dokan-w3 dokan-control-label" for="setting_map"><?php esc_html_e( 'Map', 'dokan-lite' ); ?></label>
181
 
188
  ?>
189
  </div> <!-- col.md-4 -->
190
  </div> <!-- .dokan-form-group -->
191
+ <?php } ?>
192
 
193
  <!--terms and conditions enable or not -->
194
  <?php
vendor/autoload.php CHANGED
@@ -4,4 +4,4 @@
4
 
5
  require_once __DIR__ . '/composer/autoload_real.php';
6
 
7
- return ComposerAutoloaderInit8bc0b3a6d9089b38a86e8cbf20228744::getLoader();
4
 
5
  require_once __DIR__ . '/composer/autoload_real.php';
6
 
7
+ return ComposerAutoloaderInit7bd51a58648b9e0e707345ee63c2b00b::getLoader();
vendor/composer/autoload_classmap.php CHANGED
@@ -45,6 +45,7 @@ return array(
45
  'WeDevs\\Dokan\\Emails\\NewProductPending' => $baseDir . '/includes/Emails/NewProductPending.php',
46
  'WeDevs\\Dokan\\Emails\\NewSeller' => $baseDir . '/includes/Emails/NewSeller.php',
47
  'WeDevs\\Dokan\\Emails\\ProductPublished' => $baseDir . '/includes/Emails/ProductPublished.php',
 
48
  'WeDevs\\Dokan\\Emails\\VendorWithdrawRequest' => $baseDir . '/includes/Emails/VendorWithdrawRequest.php',
49
  'WeDevs\\Dokan\\Emails\\WithdrawApproved' => $baseDir . '/includes/Emails/WithdrawApproved.php',
50
  'WeDevs\\Dokan\\Emails\\WithdrawCancelled' => $baseDir . '/includes/Emails/WithdrawCancelled.php',
45
  'WeDevs\\Dokan\\Emails\\NewProductPending' => $baseDir . '/includes/Emails/NewProductPending.php',
46
  'WeDevs\\Dokan\\Emails\\NewSeller' => $baseDir . '/includes/Emails/NewSeller.php',
47
  'WeDevs\\Dokan\\Emails\\ProductPublished' => $baseDir . '/includes/Emails/ProductPublished.php',
48
+ 'WeDevs\\Dokan\\Emails\\VendorNewOrder' => $baseDir . '/includes/Emails/VendorNewOrder.php',
49
  'WeDevs\\Dokan\\Emails\\VendorWithdrawRequest' => $baseDir . '/includes/Emails/VendorWithdrawRequest.php',
50
  'WeDevs\\Dokan\\Emails\\WithdrawApproved' => $baseDir . '/includes/Emails/WithdrawApproved.php',
51
  'WeDevs\\Dokan\\Emails\\WithdrawCancelled' => $baseDir . '/includes/Emails/WithdrawCancelled.php',
vendor/composer/autoload_real.php CHANGED
@@ -2,7 +2,7 @@
2
 
3
  // autoload_real.php @generated by Composer
4
 
5
- class ComposerAutoloaderInit8bc0b3a6d9089b38a86e8cbf20228744
6
  {
7
  private static $loader;
8
 
@@ -19,15 +19,15 @@ class ComposerAutoloaderInit8bc0b3a6d9089b38a86e8cbf20228744
19
  return self::$loader;
20
  }
21
 
22
- spl_autoload_register(array('ComposerAutoloaderInit8bc0b3a6d9089b38a86e8cbf20228744', 'loadClassLoader'), true, true);
23
  self::$loader = $loader = new \Composer\Autoload\ClassLoader();
24
- spl_autoload_unregister(array('ComposerAutoloaderInit8bc0b3a6d9089b38a86e8cbf20228744', 'loadClassLoader'));
25
 
26
  $useStaticLoader = PHP_VERSION_ID >= 50600 && !defined('HHVM_VERSION') && (!function_exists('zend_loader_file_encoded') || !zend_loader_file_encoded());
27
  if ($useStaticLoader) {
28
  require_once __DIR__ . '/autoload_static.php';
29
 
30
- call_user_func(\Composer\Autoload\ComposerStaticInit8bc0b3a6d9089b38a86e8cbf20228744::getInitializer($loader));
31
  } else {
32
  $map = require __DIR__ . '/autoload_namespaces.php';
33
  foreach ($map as $namespace => $path) {
2
 
3
  // autoload_real.php @generated by Composer
4
 
5
+ class ComposerAutoloaderInit7bd51a58648b9e0e707345ee63c2b00b
6
  {
7
  private static $loader;
8
 
19
  return self::$loader;
20
  }
21
 
22
+ spl_autoload_register(array('ComposerAutoloaderInit7bd51a58648b9e0e707345ee63c2b00b', 'loadClassLoader'), true, true);
23
  self::$loader = $loader = new \Composer\Autoload\ClassLoader();
24
+ spl_autoload_unregister(array('ComposerAutoloaderInit7bd51a58648b9e0e707345ee63c2b00b', 'loadClassLoader'));
25
 
26
  $useStaticLoader = PHP_VERSION_ID >= 50600 && !defined('HHVM_VERSION') && (!function_exists('zend_loader_file_encoded') || !zend_loader_file_encoded());
27
  if ($useStaticLoader) {
28
  require_once __DIR__ . '/autoload_static.php';
29
 
30
+ call_user_func(\Composer\Autoload\ComposerStaticInit7bd51a58648b9e0e707345ee63c2b00b::getInitializer($loader));
31
  } else {
32
  $map = require __DIR__ . '/autoload_namespaces.php';
33
  foreach ($map as $namespace => $path) {
vendor/composer/autoload_static.php CHANGED
@@ -4,7 +4,7 @@
4
 
5
  namespace Composer\Autoload;
6
 
7
- class ComposerStaticInit8bc0b3a6d9089b38a86e8cbf20228744
8
  {
9
  public static $prefixLengthsPsr4 = array (
10
  'W' =>
@@ -68,6 +68,7 @@ class ComposerStaticInit8bc0b3a6d9089b38a86e8cbf20228744
68
  'WeDevs\\Dokan\\Emails\\NewProductPending' => __DIR__ . '/../..' . '/includes/Emails/NewProductPending.php',
69
  'WeDevs\\Dokan\\Emails\\NewSeller' => __DIR__ . '/../..' . '/includes/Emails/NewSeller.php',
70
  'WeDevs\\Dokan\\Emails\\ProductPublished' => __DIR__ . '/../..' . '/includes/Emails/ProductPublished.php',
 
71
  'WeDevs\\Dokan\\Emails\\VendorWithdrawRequest' => __DIR__ . '/../..' . '/includes/Emails/VendorWithdrawRequest.php',
72
  'WeDevs\\Dokan\\Emails\\WithdrawApproved' => __DIR__ . '/../..' . '/includes/Emails/WithdrawApproved.php',
73
  'WeDevs\\Dokan\\Emails\\WithdrawCancelled' => __DIR__ . '/../..' . '/includes/Emails/WithdrawCancelled.php',
@@ -162,9 +163,9 @@ class ComposerStaticInit8bc0b3a6d9089b38a86e8cbf20228744
162
  public static function getInitializer(ClassLoader $loader)
163
  {
164
  return \Closure::bind(function () use ($loader) {
165
- $loader->prefixLengthsPsr4 = ComposerStaticInit8bc0b3a6d9089b38a86e8cbf20228744::$prefixLengthsPsr4;
166
- $loader->prefixDirsPsr4 = ComposerStaticInit8bc0b3a6d9089b38a86e8cbf20228744::$prefixDirsPsr4;
167
- $loader->classMap = ComposerStaticInit8bc0b3a6d9089b38a86e8cbf20228744::$classMap;
168
 
169
  }, null, ClassLoader::class);
170
  }
4
 
5
  namespace Composer\Autoload;
6
 
7
+ class ComposerStaticInit7bd51a58648b9e0e707345ee63c2b00b
8
  {
9
  public static $prefixLengthsPsr4 = array (
10
  'W' =>
68
  'WeDevs\\Dokan\\Emails\\NewProductPending' => __DIR__ . '/../..' . '/includes/Emails/NewProductPending.php',
69
  'WeDevs\\Dokan\\Emails\\NewSeller' => __DIR__ . '/../..' . '/includes/Emails/NewSeller.php',
70
  'WeDevs\\Dokan\\Emails\\ProductPublished' => __DIR__ . '/../..' . '/includes/Emails/ProductPublished.php',
71
+ 'WeDevs\\Dokan\\Emails\\VendorNewOrder' => __DIR__ . '/../..' . '/includes/Emails/VendorNewOrder.php',
72
  'WeDevs\\Dokan\\Emails\\VendorWithdrawRequest' => __DIR__ . '/../..' . '/includes/Emails/VendorWithdrawRequest.php',
73
  'WeDevs\\Dokan\\Emails\\WithdrawApproved' => __DIR__ . '/../..' . '/includes/Emails/WithdrawApproved.php',
74
  'WeDevs\\Dokan\\Emails\\WithdrawCancelled' => __DIR__ . '/../..' . '/includes/Emails/WithdrawCancelled.php',
163
  public static function getInitializer(ClassLoader $loader)
164
  {
165
  return \Closure::bind(function () use ($loader) {
166
+ $loader->prefixLengthsPsr4 = ComposerStaticInit7bd51a58648b9e0e707345ee63c2b00b::$prefixLengthsPsr4;
167
+ $loader->prefixDirsPsr4 = ComposerStaticInit7bd51a58648b9e0e707345ee63c2b00b::$prefixDirsPsr4;
168
+ $loader->classMap = ComposerStaticInit7bd51a58648b9e0e707345ee63c2b00b::$classMap;
169
 
170
  }, null, ClassLoader::class);
171
  }