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

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.6.1
Comparing to
See all releases

Code changes from version 3.6.0 to 3.6.1

assets/css/setup-no-wc.css CHANGED
@@ -322,6 +322,9 @@ body {
322
  .wc-wizard-service-item .wc-wizard-service-name {
323
  padding-left: 20px;
324
  }
 
 
 
325
  .wc-wizard-service-item .dokan-wizard-service-enable {
326
  flex-basis: 0;
327
  min-width: 75px;
322
  .wc-wizard-service-item .wc-wizard-service-name {
323
  padding-left: 20px;
324
  }
325
+ .wc-wizard-service-item .wc-wizard-service-name p {
326
+ text-align: left;
327
+ }
328
  .wc-wizard-service-item .dokan-wizard-service-enable {
329
  flex-basis: 0;
330
  min-width: 75px;
assets/css/setup.css CHANGED
@@ -192,6 +192,9 @@
192
  .wc-wizard-service-item .wc-wizard-service-name {
193
  padding-left: 20px;
194
  }
 
 
 
195
  .wc-wizard-service-item .dokan-wizard-service-enable {
196
  flex-basis: 0;
197
  min-width: 75px;
192
  .wc-wizard-service-item .wc-wizard-service-name {
193
  padding-left: 20px;
194
  }
195
+ .wc-wizard-service-item .wc-wizard-service-name p {
196
+ text-align: left;
197
+ }
198
  .wc-wizard-service-item .dokan-wizard-service-enable {
199
  flex-basis: 0;
200
  min-width: 75px;
assets/css/style.css CHANGED
@@ -2424,7 +2424,7 @@ div.media-sidebar a.edit-attachment {
2424
  white-space: nowrap;
2425
  display: flex;
2426
  align-items: center;
2427
- padding: 10px 10px;
2428
  }
2429
  .dokan-dashboard .dokan-dashboard-content article.dokan-settings-area .dokan-payment-settings-summary div.payment-methods-listing-header > div #vendor-dashboard-payment-settings-toggle-dropdown #vendor-payment-method-drop-down ul li div img {
2430
  width: calc(12px + 1.5vw);
@@ -2536,6 +2536,11 @@ div.media-sidebar a.edit-attachment {
2536
  border-top: 1px #cccccc solid;
2537
  padding: 20px;
2538
  margin: -20px;
 
 
 
 
 
2539
  }
2540
  .dokan-dashboard .dokan-dashboard-content article.dokan-settings-area #payment-form .payment-field-bank > div.dokan-form-group > div .bottom-actions a {
2541
  margin-left: 10px;
@@ -4414,7 +4419,7 @@ div.media-sidebar a.edit-attachment {
4414
  top: 110%;
4415
  left: -20%;
4416
  color: #3E474F;
4417
- width: 300px;
4418
  z-index: 1;
4419
  display: none;
4420
  padding: 1.5em 2em;
2424
  white-space: nowrap;
2425
  display: flex;
2426
  align-items: center;
2427
+ padding: 10px 20px 10px 10px;
2428
  }
2429
  .dokan-dashboard .dokan-dashboard-content article.dokan-settings-area .dokan-payment-settings-summary div.payment-methods-listing-header > div #vendor-dashboard-payment-settings-toggle-dropdown #vendor-payment-method-drop-down ul li div img {
2430
  width: calc(12px + 1.5vw);
2536
  border-top: 1px #cccccc solid;
2537
  padding: 20px;
2538
  margin: -20px;
2539
+ position: relative;
2540
+ }
2541
+ .dokan-dashboard .dokan-dashboard-content article.dokan-settings-area #payment-form .payment-field-bank > div.dokan-form-group > div .bottom-actions button.dokan-btn-danger {
2542
+ position: absolute;
2543
+ right: 20px;
2544
  }
2545
  .dokan-dashboard .dokan-dashboard-content article.dokan-settings-area #payment-form .payment-field-bank > div.dokan-form-group > div .bottom-actions a {
2546
  margin-left: 10px;
4419
  top: 110%;
4420
  left: -20%;
4421
  color: #3E474F;
4422
+ width: 310px;
4423
  z-index: 1;
4424
  display: none;
4425
  padding: 1.5em 2em;
assets/js/dokan.js CHANGED
@@ -2246,13 +2246,32 @@ jQuery(function($) {
2246
  form_data =
2247
  self.serialize() + '&action=dokan_settings&form_id=' + form_id;
2248
 
2249
- self.find('.ajax_prev').append('<span class="dokan-loading"> </span>');
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
2250
  $('.dokan-update-setting-top-button span.dokan-loading').remove();
2251
  $('.dokan-update-setting-top-button').append('<span class="dokan-loading"> </span>');
2252
  $.post(dokan.ajaxurl, form_data, function(resp) {
2253
  self.find('span.dokan-loading').remove();
2254
  $('.dokan-update-setting-top-button span.dokan-loading').remove();
2255
- $('html,body').animate({ scrollTop: 100 });
2256
 
2257
  if (resp.success) {
2258
  // Harcoded Customization for template-settings function
@@ -2268,6 +2287,13 @@ jQuery(function($) {
2268
  if ( dokan && dokan.storeProgressBar ) {
2269
  dokan.storeProgressBar.init();
2270
  }
 
 
 
 
 
 
 
2271
  } else {
2272
  $('.dokan-ajax-response').html(
2273
  $('<div/>', {
@@ -2961,6 +2987,7 @@ jQuery(function($) {
2961
  }
2962
  }
2963
 
 
2964
  ;(function($) {
2965
  var storeLists = {
2966
  /**
2246
  form_data =
2247
  self.serialize() + '&action=dokan_settings&form_id=' + form_id;
2248
 
2249
+ var isDisconnect = false;
2250
+ var selectors = 'input[name="settings[bank][disconnect]"], input[name="settings[paypal][disconnect]"], input[name="settings[skrill][disconnect]"], input[name="settings[dokan_custom][disconnect]"]';
2251
+ if (self.find(selectors).length > 0){
2252
+ isDisconnect = true;
2253
+ var nonce = self.find('input[name="_wpnonce"]').val();
2254
+ self.find('input[type=text]').val('');
2255
+ self.find('textarea').val('');
2256
+ self.find('input[type=checkbox]').prop('checked', false);
2257
+ self.find('#ac_type').prop('selectedIndex', 0);
2258
+
2259
+ self.find('input[name="_wpnonce"').val(nonce);
2260
+ form_data = self.serialize() + '&action=dokan_settings&form_id=' + form_id;
2261
+ }
2262
+
2263
+ if (isDisconnect) {
2264
+ self.find('.ajax_prev.disconnect').append('<span class="dokan-loading"> </span>');
2265
+ } else {
2266
+ self.find('.ajax_prev.save').append('<span class="dokan-loading"> </span>');
2267
+ }
2268
+
2269
  $('.dokan-update-setting-top-button span.dokan-loading').remove();
2270
  $('.dokan-update-setting-top-button').append('<span class="dokan-loading"> </span>');
2271
  $.post(dokan.ajaxurl, form_data, function(resp) {
2272
  self.find('span.dokan-loading').remove();
2273
  $('.dokan-update-setting-top-button span.dokan-loading').remove();
2274
+ $('html,body').animate({ scrollTop: $('.dokan-dashboard-header').offset().top });
2275
 
2276
  if (resp.success) {
2277
  // Harcoded Customization for template-settings function
2287
  if ( dokan && dokan.storeProgressBar ) {
2288
  dokan.storeProgressBar.init();
2289
  }
2290
+
2291
+ selectors = selectors.replaceAll( 'input', 'button' );
2292
+ if (isDisconnect){
2293
+ self.find(selectors).addClass('dokan-hide');
2294
+ } else {
2295
+ self.find(selectors).removeClass('dokan-hide');
2296
+ }
2297
  } else {
2298
  $('.dokan-ajax-response').html(
2299
  $('<div/>', {
2987
  }
2988
  }
2989
 
2990
+
2991
  ;(function($) {
2992
  var storeLists = {
2993
  /**
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.6.0
7
  * Author: weDevs
8
  * Author URI: https://wedevs.com/
9
  * Text Domain: dokan-lite
10
  * WC requires at least: 5.0.0
11
- * WC tested up to: 6.5.1
12
  * Domain Path: /languages/
13
  * License: GPL2
14
  */
@@ -56,7 +56,7 @@ final class WeDevs_Dokan {
56
  *
57
  * @var string
58
  */
59
- public $version = '3.6.0';
60
 
61
  /**
62
  * 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.6.1
7
  * Author: weDevs
8
  * Author URI: https://wedevs.com/
9
  * Text Domain: dokan-lite
10
  * WC requires at least: 5.0.0
11
+ * WC tested up to: 6.6.1
12
  * Domain Path: /languages/
13
  * License: GPL2
14
  */
56
  *
57
  * @var string
58
  */
59
+ public $version = '3.6.1';
60
 
61
  /**
62
  * Instance of self
includes/Admin/Settings.php CHANGED
@@ -416,6 +416,12 @@ class Settings {
416
  'type' => 'file',
417
  'desc' => __( 'Recommended logo size ( 270px X 90px ). If no logo is uploaded, site title is shown by default.', 'dokan-lite' ),
418
  ],
 
 
 
 
 
 
419
  'disable_welcome_wizard' => [
420
  'name' => 'disable_welcome_wizard',
421
  'label' => __( 'Disable Welcome Wizard', 'dokan-lite' ),
416
  'type' => 'file',
417
  'desc' => __( 'Recommended logo size ( 270px X 90px ). If no logo is uploaded, site title is shown by default.', 'dokan-lite' ),
418
  ],
419
+ 'setup_wizard_message' => [
420
+ 'name' => 'setup_wizard_message',
421
+ 'label' => __( 'Vendor Setup Wizard Message', 'dokan-lite' ),
422
+ 'type' => 'wpeditor',
423
+ 'default' => __( 'Thank you for choosing The Marketplace to power your online store! This quick setup wizard will help you configure the basic settings. <strong>It’s completely optional and shouldn’t take longer than two minutes.</strong>', 'dokan-lite' )
424
+ ],
425
  'disable_welcome_wizard' => [
426
  'name' => 'disable_welcome_wizard',
427
  'label' => __( 'Disable Welcome Wizard', 'dokan-lite' ),
includes/Dashboard/Templates/Settings.php CHANGED
@@ -28,6 +28,7 @@ class Settings {
28
  add_action( 'dokan_settings_content_area_header', array( $this, 'render_settings_load_progressbar' ), 20 );
29
  add_action( 'dokan_settings_content_area_header', array( $this, 'render_settings_store_errors' ), 25 );
30
  add_action( 'dokan_settings_content', array( $this, 'render_settings_content' ), 10 );
 
31
  }
32
 
33
  /**
@@ -279,7 +280,15 @@ class Settings {
279
  ]
280
  );
281
 
282
- if ( empty( $method ) || ! isset( $method['callback'] ) || ! is_callable( $method['callback'] ) ) {
 
 
 
 
 
 
 
 
283
  dokan_get_template_part(
284
  'global/dokan-error',
285
  '',
@@ -551,7 +560,9 @@ class Settings {
551
  if ( ! empty( $post_data['settings']['paypal'] ) && isset( $post_data['settings']['paypal']['email'] ) ) {
552
  $email = sanitize_email( $post_data['settings']['paypal']['email'] );
553
 
554
- if ( empty( $email ) ) {
 
 
555
  $error->add( 'dokan_email', __( 'Invalid email', 'dokan-lite' ) );
556
  }
557
  }
@@ -559,31 +570,35 @@ class Settings {
559
  if ( ! empty( $post_data['settings']['skrill'] ) && isset( $post_data['settings']['skrill']['email'] ) ) {
560
  $email = sanitize_email( $post_data['settings']['skrill']['email'] );
561
 
562
- if ( empty( $email ) ) {
 
 
563
  $error->add( 'dokan_email', __( 'Invalid email', 'dokan-lite' ) );
564
  }
565
  }
566
 
567
  if ( ! empty( $post_data['settings']['bank'] ) ) {
568
- if ( empty( $post_data['settings']['bank']['ac_name'] ) ) {
 
 
569
  $error->add( 'dokan_bank_ac_name', __( 'Account holder name is required', 'dokan-lite' ) );
570
  }
571
 
572
- if ( empty( $post_data['settings']['bank']['ac_number'] ) ) {
573
  $error->add( 'dokan_bank_ac_number', __( 'Account number is required', 'dokan-lite' ) );
574
  }
575
 
576
- if ( empty( $post_data['settings']['bank']['routing_number'] ) ) {
577
  $error->add( 'dokan_bank_ac_routing_number', __( 'Routing number is required', 'dokan-lite' ) );
578
  }
579
 
580
- if ( empty( $post_data['settings']['bank']['ac_type'] ) ) {
581
  $error->add( 'dokan_bank_ac_type', __( 'Please select account type', 'dokan-lite' ) );
582
- } else if ( ! in_array( $post_data['settings']['bank']['ac_type'], [ 'personal', 'business' ] ) ) {
583
  $error->add( 'dokan_bank_ac_type', __( 'Invalid Account Type', 'dokan-lite' ) );
584
  }
585
 
586
- if ( empty( $post_data['settings']['bank']['declaration'] ) ) {
587
  $error->add( 'dokan_bank_declaration', __( 'You must attest that the bank account is yours.', 'dokan-lite' ) );
588
  }
589
  }
@@ -732,7 +747,7 @@ class Settings {
732
  'iban' => sanitize_text_field( $bank['iban'] ),
733
  'swift' => sanitize_text_field( $bank['swift'] ),
734
  'ac_type' => sanitize_text_field( $bank['ac_type'] ),
735
- 'declaration' => sanitize_text_field( $bank['declaration'] ),
736
  ];
737
  }
738
 
@@ -889,10 +904,32 @@ class Settings {
889
  $cur_method = dokan_withdraw_get_method( $method_key );
890
 
891
  if ( ! empty( $cur_method ) ) {
 
 
 
 
 
 
 
892
  $methods[ $method_key ] = $cur_method;
893
  }
894
  }
895
 
896
  return $methods;
897
  }
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
898
  }
28
  add_action( 'dokan_settings_content_area_header', array( $this, 'render_settings_load_progressbar' ), 20 );
29
  add_action( 'dokan_settings_content_area_header', array( $this, 'render_settings_store_errors' ), 25 );
30
  add_action( 'dokan_settings_content', array( $this, 'render_settings_content' ), 10 );
31
+ add_filter( 'dokan_payment_method_title', [ $this, 'get_method_frontend_title' ], 10, 2 );
32
  }
33
 
34
  /**
280
  ]
281
  );
282
 
283
+ if ( isset( $_GET['status'] ) && isset( $_GET['message'] ) ) {
284
+ $connect_status = sanitize_text_field( wp_unslash( $_GET['status'] ) );
285
+ $status_message = wp_kses_post( wp_unslash( $_GET['message'] ) );
286
+
287
+ $args['connect_status'] = $connect_status;
288
+ $args['status_message'] = $status_message;
289
+ }
290
+
291
+ if ( ! in_array( $method_key, $payment_method_ids, true ) || empty( $method ) || ! isset( $method['callback'] ) || ! is_callable( $method['callback'] ) ) {
292
  dokan_get_template_part(
293
  'global/dokan-error',
294
  '',
560
  if ( ! empty( $post_data['settings']['paypal'] ) && isset( $post_data['settings']['paypal']['email'] ) ) {
561
  $email = sanitize_email( $post_data['settings']['paypal']['email'] );
562
 
563
+ if ( isset( $post_data['settings']['paypal']['disconnect'] ) ) {
564
+ $post_data['settings']['paypal']['email'] = '';
565
+ } elseif ( empty( $email ) ) {
566
  $error->add( 'dokan_email', __( 'Invalid email', 'dokan-lite' ) );
567
  }
568
  }
570
  if ( ! empty( $post_data['settings']['skrill'] ) && isset( $post_data['settings']['skrill']['email'] ) ) {
571
  $email = sanitize_email( $post_data['settings']['skrill']['email'] );
572
 
573
+ if ( isset( $post_data['settings']['skrill']['disconnect'] ) ) {
574
+ $post_data['settings']['skrill']['email'] = '';
575
+ } elseif ( empty( $email ) ) {
576
  $error->add( 'dokan_email', __( 'Invalid email', 'dokan-lite' ) );
577
  }
578
  }
579
 
580
  if ( ! empty( $post_data['settings']['bank'] ) ) {
581
+ $is_disconnect = isset( $post_data['settings']['bank']['disconnect'] );
582
+
583
+ if ( ! $is_disconnect && empty( $post_data['settings']['bank']['ac_name'] ) ) {
584
  $error->add( 'dokan_bank_ac_name', __( 'Account holder name is required', 'dokan-lite' ) );
585
  }
586
 
587
+ if ( ! $is_disconnect && empty( $post_data['settings']['bank']['ac_number'] ) ) {
588
  $error->add( 'dokan_bank_ac_number', __( 'Account number is required', 'dokan-lite' ) );
589
  }
590
 
591
+ if ( ! $is_disconnect && empty( $post_data['settings']['bank']['routing_number'] ) ) {
592
  $error->add( 'dokan_bank_ac_routing_number', __( 'Routing number is required', 'dokan-lite' ) );
593
  }
594
 
595
+ if ( ! $is_disconnect && empty( $post_data['settings']['bank']['ac_type'] ) ) {
596
  $error->add( 'dokan_bank_ac_type', __( 'Please select account type', 'dokan-lite' ) );
597
+ } else if ( ! $is_disconnect && ! in_array( $post_data['settings']['bank']['ac_type'], [ 'personal', 'business' ] ) ) {
598
  $error->add( 'dokan_bank_ac_type', __( 'Invalid Account Type', 'dokan-lite' ) );
599
  }
600
 
601
+ if ( ! $is_disconnect && empty( $post_data['settings']['bank']['declaration'] ) ) {
602
  $error->add( 'dokan_bank_declaration', __( 'You must attest that the bank account is yours.', 'dokan-lite' ) );
603
  }
604
  }
747
  'iban' => sanitize_text_field( $bank['iban'] ),
748
  'swift' => sanitize_text_field( $bank['swift'] ),
749
  'ac_type' => sanitize_text_field( $bank['ac_type'] ),
750
+ 'declaration' => isset( $bank['declaration'] ) ? sanitize_text_field( $bank['declaration'] ) : '',
751
  ];
752
  }
753
 
904
  $cur_method = dokan_withdraw_get_method( $method_key );
905
 
906
  if ( ! empty( $cur_method ) ) {
907
+ //remove the 'Dokan' prefix from method title
908
+ $method_title = $cur_method['title'];
909
+ if ( 0 === stripos( $method_title, 'Dokan ' ) ) {
910
+ $method_title = substr( $method_title, 6 );
911
+ $cur_method['title'] = $method_title;
912
+ }
913
+
914
  $methods[ $method_key ] = $cur_method;
915
  }
916
  }
917
 
918
  return $methods;
919
  }
920
+
921
+ /**
922
+ * Get Method title to show in frontend
923
+ *
924
+ * @since 3.6.1
925
+ *
926
+ * @return string
927
+ */
928
+ public function get_method_frontend_title( $title, $method ) {
929
+ if ( 0 === stripos( $title, 'Dokan ' ) ) {
930
+ return substr( $title, 6 );
931
+ }
932
+
933
+ return $title;
934
+ }
935
  }
includes/Rewrites.php CHANGED
@@ -56,7 +56,7 @@ class Rewrites {
56
  return;
57
  }
58
 
59
- $crumbs[1] = [ ucwords( $this->custom_store_url ), site_url() . '/' . $this->custom_store_url ];
60
  $crumbs[2] = [ $author, dokan_get_store_url( $seller_info->data->ID ) ];
61
 
62
  return $crumbs;
56
  return;
57
  }
58
 
59
+ $crumbs[1] = [ ucwords( $this->custom_store_url ), get_permalink( dokan_get_option( 'store_listing', 'dokan_pages' ) ) ];
60
  $crumbs[2] = [ $author, dokan_get_store_url( $seller_info->data->ID ) ];
61
 
62
  return $crumbs;
includes/Vendor/SetupWizard.php CHANGED
@@ -147,9 +147,13 @@ class SetupWizard extends DokanSetupWizard {
147
  */
148
  public function dokan_setup_introduction() {
149
  $dashboard_url = dokan_get_navigation_url();
 
 
150
  ?>
151
  <h1><?php esc_attr_e( 'Welcome to the Marketplace!', 'dokan-lite' ); ?></h1>
152
- <p><?php echo wp_kses( __( 'Thank you for choosing The Marketplace to power your online store! This quick setup wizard will help you configure the basic settings. <strong>It’s completely optional and shouldn’t take longer than two minutes.</strong>', 'dokan-lite' ), [ 'strong' => [] ] ); ?></p>
 
 
153
  <p><?php esc_attr_e( 'No time right now? If you don’t want to go through the wizard, you can skip and return to the Store!', 'dokan-lite' ); ?></p>
154
  <p class="wc-setup-actions step">
155
  <a href="<?php echo esc_url( $this->get_next_step_link() ); ?>" class="button-primary button button-large button-next lets-go-btn dokan-btn-theme"><?php esc_attr_e( 'Let\'s Go!', 'dokan-lite' ); ?></a>
@@ -414,6 +418,7 @@ class SetupWizard extends DokanSetupWizard {
414
 
415
  $dokan_settings['payment']['bank'] = array(
416
  'ac_name' => sanitize_text_field( $bank['ac_name'] ),
 
417
  'ac_number' => sanitize_text_field( $bank['ac_number'] ),
418
  'bank_name' => sanitize_text_field( $bank['bank_name'] ),
419
  'bank_addr' => sanitize_text_field( $bank['bank_addr'] ),
@@ -474,4 +479,3 @@ class SetupWizard extends DokanSetupWizard {
474
  <?php
475
  }
476
  }
477
-
147
  */
148
  public function dokan_setup_introduction() {
149
  $dashboard_url = dokan_get_navigation_url();
150
+ $default_message = wp_kses_post( __( '<p>Thank you for choosing The Marketplace to power your online store! This quick setup wizard will help you configure the basic settings. <strong>It’s completely optional and shouldn’t take longer than two minutes.</strong></p>', 'dokan-lite' ) );
151
+ $setup_wizard_message = dokan_get_option( 'setup_wizard_message', 'dokan_general', $default_message );
152
  ?>
153
  <h1><?php esc_attr_e( 'Welcome to the Marketplace!', 'dokan-lite' ); ?></h1>
154
+ <?php if ( ! empty( $setup_wizard_message ) ): ?>
155
+ <div><?php printf( '%s', $setup_wizard_message ); ?></div>
156
+ <?php endif; ?>
157
  <p><?php esc_attr_e( 'No time right now? If you don’t want to go through the wizard, you can skip and return to the Store!', 'dokan-lite' ); ?></p>
158
  <p class="wc-setup-actions step">
159
  <a href="<?php echo esc_url( $this->get_next_step_link() ); ?>" class="button-primary button button-large button-next lets-go-btn dokan-btn-theme"><?php esc_attr_e( 'Let\'s Go!', 'dokan-lite' ); ?></a>
418
 
419
  $dokan_settings['payment']['bank'] = array(
420
  'ac_name' => sanitize_text_field( $bank['ac_name'] ),
421
+ 'ac_type' => sanitize_text_field( $bank['ac_type'] ),
422
  'ac_number' => sanitize_text_field( $bank['ac_number'] ),
423
  'bank_name' => sanitize_text_field( $bank['bank_name'] ),
424
  'bank_addr' => sanitize_text_field( $bank['bank_addr'] ),
479
  <?php
480
  }
481
  }
 
includes/Widgets/StoreOpenClose.php CHANGED
@@ -51,7 +51,7 @@ class StoreOpenClose extends WP_Widget {
51
  }
52
 
53
  $store_info = dokan_get_store_info( $seller_id );
54
- $dokan_store_time = isset( $store_info['dokan_store_time'] ) ? $store_info['dokan_store_time'] : '';
55
  $dokan_store_time_enabled = isset( $store_info['dokan_store_time_enabled'] ) ? $store_info['dokan_store_time_enabled'] : '';
56
  $show_store_open_close = dokan_get_option( 'store_open_close', 'dokan_appearance', 'on' );
57
 
51
  }
52
 
53
  $store_info = dokan_get_store_info( $seller_id );
54
+ $dokan_store_time = isset( $store_info['dokan_store_time'] ) ? $store_info['dokan_store_time'] : [];
55
  $dokan_store_time_enabled = isset( $store_info['dokan_store_time_enabled'] ) ? $store_info['dokan_store_time_enabled'] : '';
56
  $show_store_open_close = dokan_get_option( 'store_open_close', 'dokan_appearance', 'on' );
57
 
includes/Withdraw/functions.php CHANGED
@@ -134,6 +134,16 @@ function dokan_withdraw_method_paypal( $store_settings ) {
134
  </div>
135
  </div>
136
  </div>
 
 
 
 
 
 
 
 
 
 
137
  <?php
138
  }
139
 
@@ -374,10 +384,25 @@ function dokan_withdraw_get_withdrawable_active_methods() {
374
  'dokan_withdraw_withdrawable_payment_methods',
375
  [
376
  'paypal',
377
- 'dokan_custom',
378
  'bank',
379
- 'skrill',
380
  ]
381
  )
382
  );
383
  }
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
134
  </div>
135
  </div>
136
  </div>
137
+ <?php if ( dokan_is_seller_dashboard() ) : ?>
138
+ <div class="dokan-form-group">
139
+ <div class="dokan-w8">
140
+ <input name="dokan_update_payment_settings" type="hidden">
141
+ <button class="ajax_prev disconnect dokan-btn dokan-btn-danger <?php echo empty( $email ) ? 'dokan-hide' : ''; ?>" type="submit" name="settings[paypal][disconnect]">
142
+ <?php esc_attr_e( 'Disconnect', 'dokan-lite' ); ?>
143
+ </button>
144
+ </div>
145
+ </div>
146
+ <?php endif; ?>
147
  <?php
148
  }
149
 
384
  'dokan_withdraw_withdrawable_payment_methods',
385
  [
386
  'paypal',
 
387
  'bank',
 
388
  ]
389
  )
390
  );
391
  }
392
+
393
+ /**
394
+ * Check if a withdrawal method is enabled in Dokan > Settings > Withdraw options
395
+ *
396
+ * @since 3.6.1
397
+ *
398
+ * @param string $method_id The method id of withdraw method
399
+ *
400
+ * @retun bool
401
+ */
402
+ function dokan_is_withdraw_method_enabled( $method_id ) {
403
+ $payment_methods = dokan_withdraw_get_active_methods();
404
+
405
+ return is_array( $payment_methods ) &&
406
+ array_key_exists( $method_id, $payment_methods ) &&
407
+ ! empty( $payment_methods[ $method_id ] );
408
+ }
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.6.0\n"
6
  "Report-Msgid-Bugs-To: https://wedevs.com/contact/\n"
7
- "POT-Creation-Date: 2022-06-14 11:21:04+00:00\n"
8
  "MIME-Version: 1.0\n"
9
  "Content-Type: text/plain; charset=utf-8\n"
10
  "Content-Transfer-Encoding: 8bit\n"
@@ -51,8 +51,8 @@ msgid "Get Pro"
51
  msgstr ""
52
 
53
  #: dokan.php:478 includes/Admin/AdminBar.php:81 includes/Admin/Menu.php:67
54
- #: includes/Dashboard/Templates/Settings.php:59
55
- #: includes/Dashboard/Templates/Settings.php:66 includes/template-tags.php:419
56
  #: src/admin/pages/Settings.vue:4
57
  msgid "Settings"
58
  msgstr ""
@@ -121,7 +121,7 @@ msgid "Dokan"
121
  msgstr ""
122
 
123
  #: includes/Admin/AdminBar.php:54 includes/Admin/Menu.php:45
124
- #: includes/Admin/Settings.php:604 includes/Install/Installer.php:173
125
  #: includes/template-tags.php:388 src/admin/pages/Dashboard.vue:3
126
  msgid "Dashboard"
127
  msgstr ""
@@ -151,7 +151,7 @@ msgstr ""
151
 
152
  #: includes/Admin/Hooks.php:64 includes/Admin/Hooks.php:70
153
  #: includes/Admin/Hooks.php:365 includes/Admin/Hooks.php:387
154
- #: includes/Admin/Settings.php:494 includes/Admin/Settings.php:505
155
  #: includes/Admin/SetupWizard.php:345 includes/Install/Installer.php:109
156
  #: includes/Order/Hooks.php:77 includes/wc-template.php:17
157
  #: includes/wc-template.php:167 includes/wc-template.php:316
@@ -417,7 +417,7 @@ msgstr ""
417
  msgid "You have no permission to get settings value"
418
  msgstr ""
419
 
420
- #: includes/Admin/Settings.php:122 includes/Admin/Settings.php:846
421
  msgid "You are not authorized to perform this action."
422
  msgstr ""
423
 
@@ -519,7 +519,7 @@ msgid ""
519
  "from."
520
  msgstr ""
521
 
522
- #: includes/Admin/Settings.php:358 includes/Admin/Settings.php:781
523
  msgid "Privacy Policy"
524
  msgstr ""
525
 
@@ -589,308 +589,319 @@ msgid ""
589
  msgstr ""
590
 
591
  #: includes/Admin/Settings.php:421
 
 
 
 
 
 
 
 
 
 
 
592
  msgid "Disable Welcome Wizard"
593
  msgstr ""
594
 
595
- #: includes/Admin/Settings.php:422
596
  msgid "Disable welcome wizard for newly registered vendors"
597
  msgstr ""
598
 
599
- #: includes/Admin/Settings.php:425
600
  msgid ""
601
  "If checked, vendors will not be prompted through a guided setup process but "
602
  "redirected straight to the vendor dashboard."
603
  msgstr ""
604
 
605
- #: includes/Admin/Settings.php:435
606
  msgid "Vendor Store Settings"
607
  msgstr ""
608
 
609
- #: includes/Admin/Settings.php:436
610
  msgid "Configure your vendor store settings and setup your store policy for vendor."
611
  msgstr ""
612
 
613
- #: includes/Admin/Settings.php:440
614
  msgid "Store Terms and Conditions"
615
  msgstr ""
616
 
617
- #: includes/Admin/Settings.php:441
618
  msgid "Enable terms and conditions for vendor stores"
619
  msgstr ""
620
 
621
- #: includes/Admin/Settings.php:444
622
  msgid ""
623
  "Prompt terms and condition check for vendors when creating store on your "
624
  "site"
625
  msgstr ""
626
 
627
- #: includes/Admin/Settings.php:449 includes/Vendor/SetupWizard.php:185
628
  #: templates/settings/store-form.php:142
629
  msgid "Store Products Per Page"
630
  msgstr ""
631
 
632
- #: includes/Admin/Settings.php:450
633
  msgid ""
634
  "Set how many products to display per page on the vendor store page. It will "
635
  "affect only if the vendor isn't set this value on their vendor setting page."
636
  msgstr ""
637
 
638
- #: includes/Admin/Settings.php:453
639
  msgid ""
640
  "It will affect the vendor only if they havent set a value on their settings "
641
  "page."
642
  msgstr ""
643
 
644
- #: includes/Admin/Settings.php:463 includes/ReverseWithdrawal/Helper.php:64
645
  msgid "Commission"
646
  msgstr ""
647
 
648
- #: includes/Admin/Settings.php:465
649
  msgid ""
650
  "Define commission types, admin commissions, shipping and tax recipients, "
651
  "and more."
652
  msgstr ""
653
 
654
- #: includes/Admin/Settings.php:469
655
  msgid "Commission Type "
656
  msgstr ""
657
 
658
- #: includes/Admin/Settings.php:470
659
  msgid "Select a commission type for vendor"
660
  msgstr ""
661
 
662
- #: includes/Admin/Settings.php:474
663
  msgid "Select a commission type"
664
  msgstr ""
665
 
666
- #: includes/Admin/Settings.php:479 src/admin/pages/VendorPaymentFields.vue:69
667
  #: src/admin/pages/VendorPaymentFields.vue:78
668
  #: templates/admin-setup-wizard/step-selling.php:31
669
  msgid "Admin Commission"
670
  msgstr ""
671
 
672
- #: includes/Admin/Settings.php:480
673
  msgid "Amount you get from each sale"
674
  msgstr ""
675
 
676
- #: includes/Admin/Settings.php:490
677
  #: templates/admin-setup-wizard/step-store.php:14
678
  msgid "Shipping Fee Recipient"
679
  msgstr ""
680
 
681
- #: includes/Admin/Settings.php:491
682
  msgid "Who will be receiving the shipping fees"
683
  msgstr ""
684
 
685
- #: includes/Admin/Settings.php:495 includes/Admin/Settings.php:506
686
  #: includes/Admin/SetupWizard.php:346
687
  msgid "Admin"
688
  msgstr ""
689
 
690
- #: includes/Admin/Settings.php:501
691
  #: templates/admin-setup-wizard/step-store.php:28
692
  msgid "Tax Fee Recipient"
693
  msgstr ""
694
 
695
- #: includes/Admin/Settings.php:502
696
  msgid "Who will be receiving the tax fees"
697
  msgstr ""
698
 
699
- #: includes/Admin/Settings.php:518 src/admin/pages/Premium.vue:20
700
  #: src/admin/pages/VendorCapabilities.vue:6
701
  msgid "Vendor Capabilities"
702
  msgstr ""
703
 
704
- #: includes/Admin/Settings.php:520
705
  msgid "Configure your multivendor site settings and vendor selling capabilities."
706
  msgstr ""
707
 
708
- #: includes/Admin/Settings.php:524
709
  msgid "New Vendor Product Upload"
710
  msgstr ""
711
 
712
- #: includes/Admin/Settings.php:525
713
  msgid "Allow newly registered vendors to add products"
714
  msgstr ""
715
 
716
- #: includes/Admin/Settings.php:528
717
  msgid ""
718
  "If checked, vendors will have permission to sell immediately after "
719
  "registration. If unchecked, newly registered vendors cannot add products "
720
  "until selling capability is activated manually from Dashboard -> Vendors."
721
  msgstr ""
722
 
723
- #: includes/Admin/Settings.php:533
724
  msgid "Disable Product Popup"
725
  msgstr ""
726
 
727
- #: includes/Admin/Settings.php:534
728
  msgid "Disable add new product in popup view"
729
  msgstr ""
730
 
731
- #: includes/Admin/Settings.php:537
732
  msgid ""
733
  "If disabled, instead of a pop up window vendor will redirect to product "
734
  "page when adding new product."
735
  msgstr ""
736
 
737
- #: includes/Admin/Settings.php:541 src/admin/pages/VendorCapabilities.vue:89
738
  #: templates/admin-setup-wizard/step-selling.php:39
739
  msgid "Order Status Change"
740
  msgstr ""
741
 
742
- #: includes/Admin/Settings.php:542
743
  msgid "Allow vendor to update order status"
744
  msgstr ""
745
 
746
- #: includes/Admin/Settings.php:545
747
  msgid ""
748
  "Checking this will enable sellers to change the order status. If unchecked, "
749
  "only admin can change the order status."
750
  msgstr ""
751
 
752
- #: includes/Admin/Settings.php:563 includes/Admin/SetupWizard.php:474
753
  msgid "Withdraw Methods"
754
  msgstr ""
755
 
756
- #: includes/Admin/Settings.php:564
757
  msgid "Select suitable withdraw methods for vendors"
758
  msgstr ""
759
 
760
- #: includes/Admin/Settings.php:568
761
  msgid "Check to add available payment methods for vendors to withdraw money."
762
  msgstr ""
763
 
764
- #: includes/Admin/Settings.php:573 includes/Admin/SetupWizard.php:511
765
  msgid "Minimum Withdraw Limit"
766
  msgstr ""
767
 
768
- #: includes/Admin/Settings.php:574
769
  msgid ""
770
  "Minimum balance required to make a withdraw request. Leave blank to set no "
771
  "minimum limits."
772
  msgstr ""
773
 
774
- #: includes/Admin/Settings.php:583 includes/Admin/SetupWizard.php:518
775
  msgid "Order Status for Withdraw"
776
  msgstr ""
777
 
778
- #: includes/Admin/Settings.php:584 includes/Admin/SetupWizard.php:535
779
  msgid "Order status for which vendor can make a withdraw request."
780
  msgstr ""
781
 
782
- #: includes/Admin/Settings.php:590
783
  msgid ""
784
  "Select the order status that will allow vendors to make withdraw request. "
785
  "We prefer you select \"completed\", \"processing\"."
786
  msgstr ""
787
 
788
- #: includes/Admin/Settings.php:594
789
  msgid "Exclude COD Payments"
790
  msgstr ""
791
 
792
- #: includes/Admin/Settings.php:595
793
  msgid ""
794
  "If an order is paid with Cash on Delivery (COD), then exclude that payment "
795
  "from vendor balance."
796
  msgstr ""
797
 
798
- #: includes/Admin/Settings.php:605
799
  msgid "Select a page to show vendor dashboard"
800
  msgstr ""
801
 
802
- #: includes/Admin/Settings.php:608 includes/Admin/Settings.php:616
803
- #: includes/Admin/Settings.php:624 includes/Admin/Settings.php:635
804
- #: includes/Admin/Settings.php:776
805
  #. translators: %s: dokan pages
806
  msgid "Select page"
807
  msgstr ""
808
 
809
- #: includes/Admin/Settings.php:613 includes/Install/Installer.php:185
810
  #: templates/global/header-menu.php:46
811
  msgid "My Orders"
812
  msgstr ""
813
 
814
- #: includes/Admin/Settings.php:614
815
  msgid "Select a page to show my orders"
816
  msgstr ""
817
 
818
- #: includes/Admin/Settings.php:621
819
  msgid "Store Listing"
820
  msgstr ""
821
 
822
- #: includes/Admin/Settings.php:622
823
  msgid "Select a page to show all stores"
824
  msgstr ""
825
 
826
- #: includes/Admin/Settings.php:630
827
  msgid "Select where you want to add Dokan pages."
828
  msgstr ""
829
 
830
- #: includes/Admin/Settings.php:631
831
  msgid "Terms and Conditions Page"
832
  msgstr ""
833
 
834
- #: includes/Admin/Settings.php:633
835
  msgid "Select a page to display the Terms and Conditions of your store for Vendors."
836
  msgstr ""
837
 
838
- #: includes/Admin/Settings.php:643
839
  msgid "Store Appearance"
840
  msgstr ""
841
 
842
- #: includes/Admin/Settings.php:644
843
  msgid "Configure your site appearances."
844
  msgstr ""
845
 
846
- #: includes/Admin/Settings.php:648
847
  msgid "Show map on Store Page"
848
  msgstr ""
849
 
850
- #: includes/Admin/Settings.php:649
851
  msgid "Enable map of the store location in the store sidebar"
852
  msgstr ""
853
 
854
- #: includes/Admin/Settings.php:656
855
  #: templates/admin-setup-wizard/step-store.php:42
856
  msgid "Map API Source"
857
  msgstr ""
858
 
859
- #: includes/Admin/Settings.php:657
860
  msgid "Which map API source you want to use in your site?"
861
  msgstr ""
862
 
863
- #: includes/Admin/Settings.php:662 includes/Admin/SetupWizard.php:359
864
  #: src/admin/pages/Premium.vue:388
865
  msgid "Google Maps"
866
  msgstr ""
867
 
868
- #: includes/Admin/Settings.php:663 includes/Admin/SetupWizard.php:360
869
  msgid "Mapbox"
870
  msgstr ""
871
 
872
- #: includes/Admin/Settings.php:668
873
  #: templates/admin-setup-wizard/step-store.php:56
874
  msgid "Google Map API Key"
875
  msgstr ""
876
 
877
- #: includes/Admin/Settings.php:669
878
  msgid ""
879
  "<a href=\"https://developers.google.com/maps/documentation/javascript/\" "
880
  "target=\"_blank\" rel=\"noopener noreferrer\">API Key</a> is needed to "
881
  "display map on store page"
882
  msgstr ""
883
 
884
- #: includes/Admin/Settings.php:671
885
  msgid "Insert Google API Key (with hyperlink) to display store map."
886
  msgstr ""
887
 
888
- #: includes/Admin/Settings.php:675
889
  #: templates/admin-setup-wizard/step-store.php:71
890
  msgid "Mapbox Access Token"
891
  msgstr ""
892
 
893
- #: includes/Admin/Settings.php:676
894
  #: templates/admin-setup-wizard/step-store.php:75
895
  msgid ""
896
  "<a href=\"https://docs.mapbox.com/help/how-mapbox-works/access-tokens/\" "
@@ -898,11 +909,11 @@ msgid ""
898
  "display map on store page"
899
  msgstr ""
900
 
901
- #: includes/Admin/Settings.php:678
902
  msgid "Insert Mapbox Access Token (with hyperlink) to display store map."
903
  msgstr ""
904
 
905
- #: includes/Admin/Settings.php:685
906
  #. translators: 1) Opening anchor tag, 2) Closing anchor tag, 3) Opening anchor
907
  #. tag, 4) Closing anchor tag
908
  msgid ""
@@ -910,136 +921,136 @@ msgid ""
910
  "contact forms. %3$sGet Help%4$s"
911
  msgstr ""
912
 
913
- #: includes/Admin/Settings.php:691
914
  msgid "Google reCAPTCHA Validation"
915
  msgstr ""
916
 
917
- #: includes/Admin/Settings.php:693
918
  msgid "You can successfully connect to your Google reCaptcha account from here."
919
  msgstr ""
920
 
921
- #: includes/Admin/Settings.php:697
922
  msgid "Site Key"
923
  msgstr ""
924
 
925
- #: includes/Admin/Settings.php:698
926
  msgid "Insert Google reCAPTCHA v3 site key."
927
  msgstr ""
928
 
929
- #: includes/Admin/Settings.php:704
930
  msgid "Secret Key"
931
  msgstr ""
932
 
933
- #: includes/Admin/Settings.php:706
934
  msgid "Insert Google reCAPTCHA v3 secret key."
935
  msgstr ""
936
 
937
- #: includes/Admin/Settings.php:713
938
  msgid "Show Contact Form on Store Page"
939
  msgstr ""
940
 
941
- #: includes/Admin/Settings.php:714
942
  msgid "Display a vendor contact form in the store sidebar"
943
  msgstr ""
944
 
945
- #: includes/Admin/Settings.php:721
946
  msgid "Select a store header for your store."
947
  msgstr ""
948
 
949
- #: includes/Admin/Settings.php:722
950
  msgid "Store Header Template"
951
  msgstr ""
952
 
953
- #: includes/Admin/Settings.php:733
954
  msgid "Store Opening Closing Time Widget"
955
  msgstr ""
956
 
957
- #: includes/Admin/Settings.php:734
958
  msgid "Enable store opening & closing time widget in the store sidebar"
959
  msgstr ""
960
 
961
- #: includes/Admin/Settings.php:740
962
  msgid "Enable Store Sidebar From Theme"
963
  msgstr ""
964
 
965
- #: includes/Admin/Settings.php:741
966
  msgid "Enable showing store sidebar from your theme."
967
  msgstr ""
968
 
969
- #: includes/Admin/Settings.php:747
970
  msgid "Hide Vendor Info"
971
  msgstr ""
972
 
973
- #: includes/Admin/Settings.php:756
974
  msgid "Email Address"
975
  msgstr ""
976
 
977
- #: includes/Admin/Settings.php:757 includes/Admin/UserProfile.php:211
978
  #: src/admin/pages/VendorAccountFields.vue:65
979
  #: templates/account/vendor-registration.php:33
980
  #: templates/global/seller-registration-form.php:43
981
  msgid "Phone Number"
982
  msgstr ""
983
 
984
- #: includes/Admin/Settings.php:758
985
  msgid "Store Address"
986
  msgstr ""
987
 
988
- #: includes/Admin/Settings.php:765
989
  msgid "Enable Privacy Policy"
990
  msgstr ""
991
 
992
- #: includes/Admin/Settings.php:767
993
  msgid "Enable privacy policy for vendor store contact form"
994
  msgstr ""
995
 
996
- #: includes/Admin/Settings.php:773
997
  msgid "Privacy Page"
998
  msgstr ""
999
 
1000
- #: includes/Admin/Settings.php:775
1001
  msgid "Select a page to show your privacy policy"
1002
  msgstr ""
1003
 
1004
- #: includes/Admin/Settings.php:783 includes/functions.php:3581
1005
  msgid ""
1006
  "Your personal data will be used to support your experience throughout this "
1007
  "website, to manage access to your account, and for other purposes described "
1008
  "in our [dokan_privacy_policy]"
1009
  msgstr ""
1010
 
1011
- #: includes/Admin/Settings.php:784
1012
  msgid "Customize the Privacy Policy text that will be displayed on your store."
1013
  msgstr ""
1014
 
1015
- #: includes/Admin/Settings.php:858
1016
  msgid "Both section and field params are required."
1017
  msgstr ""
1018
 
1019
- #: includes/Admin/Settings.php:867
1020
  msgid "No filter found to refresh the setting options"
1021
  msgstr ""
1022
 
1023
- #: includes/Admin/Settings.php:899
1024
  msgid "Minimum Withdraw Limit can't be negative value."
1025
  msgstr ""
1026
 
1027
- #: includes/Admin/Settings.php:910
1028
  #: includes/ReverseWithdrawal/Admin/Settings.php:215
1029
  msgid "Validation error"
1030
  msgstr ""
1031
 
1032
- #: includes/Admin/Settings.php:928
1033
  msgid "Data Clear"
1034
  msgstr ""
1035
 
1036
- #: includes/Admin/Settings.php:929
1037
  msgid ""
1038
  "Delete all data and tables related to Dokan and Dokan Pro plugin while "
1039
  "deleting the Dokan plugin."
1040
  msgstr ""
1041
 
1042
- #: includes/Admin/Settings.php:932
1043
  msgid ""
1044
  "Check this to remove Dokan related data and table from the database upon "
1045
  "deleting the plugin. When you delete the Dokan lite version, it will also "
@@ -1095,12 +1106,12 @@ msgid ""
1095
  "mind!"
1096
  msgstr ""
1097
 
1098
- #: includes/Admin/SetupWizard.php:324 includes/Vendor/SetupWizard.php:155
1099
  #: templates/admin-setup-wizard/step-no-wc-introduction.php:54
1100
  msgid "Let's Go!"
1101
  msgstr ""
1102
 
1103
- #: includes/Admin/SetupWizard.php:325 includes/Vendor/SetupWizard.php:156
1104
  msgid "Not right now"
1105
  msgstr ""
1106
 
@@ -1121,14 +1132,14 @@ msgstr ""
1121
 
1122
  #: includes/Admin/SetupWizard.php:540 includes/Admin/SetupWizard.php:623
1123
  #: includes/Admin/SetupWizardWCAdmin.php:232
1124
- #: includes/Vendor/SetupWizard.php:243 includes/Vendor/SetupWizard.php:390
1125
  #: templates/admin-setup-wizard/step-selling.php:53
1126
  #: templates/admin-setup-wizard/step-store.php:102
1127
  msgid "Continue"
1128
  msgstr ""
1129
 
1130
- #: includes/Admin/SetupWizard.php:541 includes/Vendor/SetupWizard.php:244
1131
- #: includes/Vendor/SetupWizard.php:391
1132
  #: templates/admin-setup-wizard/step-selling.php:54
1133
  #: templates/admin-setup-wizard/step-store.php:103
1134
  msgid "Skip this step"
@@ -1300,7 +1311,7 @@ msgid "Not Available"
1300
  msgstr ""
1301
 
1302
  #: includes/Admin/UserProfile.php:87 includes/Privacy.php:226
1303
- #: includes/Vendor/SetupWizard.php:213
1304
  #: src/admin/pages/VendorAddressFields.vue:31
1305
  #: templates/admin-setup-wizard/step-store-wc-fields.php:24
1306
  msgid "Country"
@@ -1488,15 +1499,15 @@ msgstr ""
1488
  msgid "Something wrong, please try again later"
1489
  msgstr ""
1490
 
1491
- #: includes/Ajax.php:108 includes/Dashboard/Templates/Settings.php:308
1492
- #: includes/Dashboard/Templates/Settings.php:312
1493
- #: includes/Dashboard/Templates/Settings.php:326
1494
- #: includes/Dashboard/Templates/Settings.php:338
1495
- #: includes/Dashboard/Templates/Settings.php:350
1496
- #: includes/Dashboard/Templates/Settings.php:389
1497
- #: includes/Dashboard/Templates/Settings.php:455
1498
- #: includes/Dashboard/Templates/Settings.php:496
1499
- #: includes/Dashboard/Templates/Settings.php:546
1500
  #: includes/Dashboard/Templates/Withdraw.php:117
1501
  #: includes/Dashboard/Templates/Withdraw.php:182
1502
  #: includes/Withdraw/Hooks.php:120 includes/Withdraw/Hooks.php:193
@@ -2049,7 +2060,7 @@ msgid ""
2049
  msgstr ""
2050
 
2051
  #: includes/Assets.php:912 templates/settings/header.php:20
2052
- #: templates/settings/payment-manage.php:39
2053
  #: templates/settings/store-form.php:301
2054
  msgid "Update Settings"
2055
  msgstr ""
@@ -2193,8 +2204,8 @@ msgid "You have no permission to view this order"
2193
  msgstr ""
2194
 
2195
  #: includes/Dashboard/Templates/Products.php:196
2196
- #: includes/Dashboard/Templates/Settings.php:145
2197
- #: includes/Dashboard/Templates/Settings.php:156
2198
  #: includes/Shortcodes/Dashboard.php:29 templates/global/no-permission.php:53
2199
  msgid "You have no permission to view this page"
2200
  msgstr ""
@@ -2270,106 +2281,106 @@ msgstr ""
2270
  msgid "Success."
2271
  msgstr ""
2272
 
2273
- #: includes/Dashboard/Templates/Settings.php:62
2274
  msgid "Payment Method"
2275
  msgstr ""
2276
 
2277
- #: includes/Dashboard/Templates/Settings.php:85
2278
  msgid ""
2279
  "These are the withdraw methods available for you. Please update your "
2280
  "payment information below to submit withdraw requests and get your store "
2281
  "payments seamlessly."
2282
  msgstr ""
2283
 
2284
- #: includes/Dashboard/Templates/Settings.php:210
2285
  msgid "No withdraw method is available. Please contact site admin."
2286
  msgstr ""
2287
 
2288
- #: includes/Dashboard/Templates/Settings.php:288
2289
  msgid "Invalid withdraw method. Please contact site admin"
2290
  msgstr ""
2291
 
2292
- #: includes/Dashboard/Templates/Settings.php:322
2293
  msgid "Pemission denied social"
2294
  msgstr ""
2295
 
2296
- #: includes/Dashboard/Templates/Settings.php:334
2297
- #: includes/Dashboard/Templates/Settings.php:346
2298
  msgid "Pemission denied"
2299
  msgstr ""
2300
 
2301
- #: includes/Dashboard/Templates/Settings.php:356
2302
  msgid "Failed to process data, invalid submission"
2303
  msgstr ""
2304
 
2305
- #: includes/Dashboard/Templates/Settings.php:366
2306
  msgid "Your information has been saved successfully"
2307
  msgstr ""
2308
 
2309
- #: includes/Dashboard/Templates/Settings.php:397
2310
- #: includes/Dashboard/Templates/Settings.php:504
2311
  msgid "Store name required"
2312
  msgstr ""
2313
 
2314
- #: includes/Dashboard/Templates/Settings.php:403
2315
- #: includes/Dashboard/Templates/Settings.php:463
2316
- #: includes/Dashboard/Templates/Settings.php:510
2317
  msgid "Store type required"
2318
  msgstr ""
2319
 
2320
- #: includes/Dashboard/Templates/Settings.php:411
2321
- #: includes/Dashboard/Templates/Settings.php:471
2322
- #: includes/Dashboard/Templates/Settings.php:518
2323
- #: includes/Dashboard/Templates/Settings.php:555
2324
- #: includes/Dashboard/Templates/Settings.php:563
2325
  msgid "Invalid email"
2326
  msgstr ""
2327
 
2328
- #: includes/Dashboard/Templates/Settings.php:430
2329
  msgid "Address field for %s is required"
2330
  msgstr ""
2331
 
2332
- #: includes/Dashboard/Templates/Settings.php:569
2333
  msgid "Account holder name is required"
2334
  msgstr ""
2335
 
2336
- #: includes/Dashboard/Templates/Settings.php:573
2337
  msgid "Account number is required"
2338
  msgstr ""
2339
 
2340
- #: includes/Dashboard/Templates/Settings.php:577
2341
  msgid "Routing number is required"
2342
  msgstr ""
2343
 
2344
- #: includes/Dashboard/Templates/Settings.php:581
2345
  msgid "Please select account type"
2346
  msgstr ""
2347
 
2348
- #: includes/Dashboard/Templates/Settings.php:583
2349
  msgid "Invalid Account Type"
2350
  msgstr ""
2351
 
2352
- #: includes/Dashboard/Templates/Settings.php:587
2353
  msgid "You must attest that the bank account is yours."
2354
  msgstr ""
2355
 
2356
- #: includes/Dashboard/Templates/Settings.php:768
2357
  msgid "Book"
2358
  msgstr ""
2359
 
2360
- #: includes/Dashboard/Templates/Settings.php:769
2361
  msgid "Dress"
2362
  msgstr ""
2363
 
2364
- #: includes/Dashboard/Templates/Settings.php:770
2365
  msgid "Electronic"
2366
  msgstr ""
2367
 
2368
- #: includes/Dashboard/Templates/Settings.php:790
2369
  msgid "Bank Account Settings"
2370
  msgstr ""
2371
 
2372
- #: includes/Dashboard/Templates/Settings.php:795
2373
  msgid "Paypal Settings"
2374
  msgstr ""
2375
 
@@ -3252,7 +3263,7 @@ msgstr ""
3252
  msgid "Flickr"
3253
  msgstr ""
3254
 
3255
- #: includes/Privacy.php:224 includes/Vendor/SetupWizard.php:203
3256
  #: src/admin/pages/VendorAddressFields.vue:21
3257
  #: src/admin/pages/VendorAddressFields.vue:22
3258
  #: templates/admin-setup-wizard/step-store-wc-fields.php:51
@@ -3264,7 +3275,7 @@ msgstr ""
3264
  msgid "Postal Code"
3265
  msgstr ""
3266
 
3267
- #: includes/Privacy.php:227 includes/Vendor/SetupWizard.php:221
3268
  #: src/admin/pages/VendorAddressFields.vue:36
3269
  #: src/admin/pages/VendorAddressFields.vue:38
3270
  #: templates/admin-setup-wizard/step-store-wc-fields.php:58
@@ -5190,70 +5201,70 @@ msgstr ""
5190
  msgid "Return to the Marketplace"
5191
  msgstr ""
5192
 
5193
- #: includes/Vendor/SetupWizard.php:151
5194
- msgid "Welcome to the Marketplace!"
5195
- msgstr ""
5196
-
5197
- #: includes/Vendor/SetupWizard.php:152
5198
  msgid ""
5199
- "Thank you for choosing The Marketplace to power your online store! This "
5200
  "quick setup wizard will help you configure the basic settings. <strong>It’s "
5201
- "completely optional and shouldn’t take longer than two minutes.</strong>"
5202
  msgstr ""
5203
 
5204
  #: includes/Vendor/SetupWizard.php:153
 
 
 
 
5205
  msgid ""
5206
  "No time right now? If you don’t want to go through the wizard, you can skip "
5207
  "and return to the Store!"
5208
  msgstr ""
5209
 
5210
- #: includes/Vendor/SetupWizard.php:181
5211
  #: templates/admin-setup-wizard/step-store.php:1
5212
  msgid "Store Setup"
5213
  msgstr ""
5214
 
5215
- #: includes/Vendor/SetupWizard.php:191
5216
  msgid "Street"
5217
  msgstr ""
5218
 
5219
- #: includes/Vendor/SetupWizard.php:197
5220
  #: src/admin/pages/VendorAddressFields.vue:16
5221
  #: src/admin/pages/VendorAddressFields.vue:17
5222
  #: templates/settings/address-form.php:41
5223
  msgid "Street 2"
5224
  msgstr ""
5225
 
5226
- #: includes/Vendor/SetupWizard.php:208
5227
  msgid "Post/Zip Code"
5228
  msgstr ""
5229
 
5230
- #: includes/Vendor/SetupWizard.php:223
5231
  msgid "State Name"
5232
  msgstr ""
5233
 
5234
- #: includes/Vendor/SetupWizard.php:230
5235
  #: src/admin/pages/VendorAccountFields.vue:70
5236
  #: templates/settings/store-form.php:178
5237
  msgid "Email"
5238
  msgstr ""
5239
 
5240
- #: includes/Vendor/SetupWizard.php:234 templates/settings/store-form.php:183
5241
  msgid "Show email address in store"
5242
  msgstr ""
5243
 
5244
- #: includes/Vendor/SetupWizard.php:263
5245
  msgid "Select an option&hellip;"
5246
  msgstr ""
5247
 
5248
- #: includes/Vendor/SetupWizard.php:368
5249
  msgid "Payment Setup"
5250
  msgstr ""
5251
 
5252
- #: includes/Vendor/SetupWizard.php:466
5253
  msgid "Your Store is Ready!"
5254
  msgstr ""
5255
 
5256
- #: includes/Vendor/SetupWizard.php:471
5257
  msgid "Go to your Store Dashboard!"
5258
  msgstr ""
5259
 
@@ -5532,28 +5543,33 @@ msgstr ""
5532
  msgid "Bank Transfer"
5533
  msgstr ""
5534
 
5535
- #: includes/Withdraw/functions.php:132 includes/Withdraw/functions.php:155
5536
  msgid "E-mail"
5537
  msgstr ""
5538
 
5539
- #: includes/Withdraw/functions.php:180
 
 
 
 
 
5540
  msgid "Save"
5541
  msgstr ""
5542
 
5543
- #: includes/Withdraw/functions.php:180
5544
  msgid "Add Account"
5545
  msgstr ""
5546
 
5547
- #: includes/Withdraw/functions.php:298
5548
  msgid "No information found."
5549
  msgstr ""
5550
 
5551
- #: includes/Withdraw/functions.php:304
5552
  #. translators: 1: Email address for withdraw method.
5553
  msgid "( %1$s )"
5554
  msgstr ""
5555
 
5556
- #: includes/Withdraw/functions.php:308
5557
  #. translators: 1: Bank account holder name. 2: Bank name. 1: Bank account
5558
  #. number
5559
  msgid "- %1$s - %2$s - ****%3$s"
@@ -8767,7 +8783,7 @@ msgstr ""
8767
  msgid "This Payment method will become available in 3 days."
8768
  msgstr ""
8769
 
8770
- #: templates/settings/payment-manage.php:10
8771
  msgid "Back"
8772
  msgstr ""
8773
 
@@ -8873,11 +8889,11 @@ msgstr ""
8873
  msgid "Store Closed"
8874
  msgstr ""
8875
 
8876
- #: templates/store-header.php:113
8877
  msgid "Weekly Store Timing"
8878
  msgstr ""
8879
 
8880
- #: templates/store-header.php:124
8881
  msgid "CLOSED"
8882
  msgstr ""
8883
 
2
  # This file is distributed under the GPL2.
3
  msgid ""
4
  msgstr ""
5
+ "Project-Id-Version: Dokan 3.6.1\n"
6
  "Report-Msgid-Bugs-To: https://wedevs.com/contact/\n"
7
+ "POT-Creation-Date: 2022-06-30 05:07:49+00:00\n"
8
  "MIME-Version: 1.0\n"
9
  "Content-Type: text/plain; charset=utf-8\n"
10
  "Content-Transfer-Encoding: 8bit\n"
51
  msgstr ""
52
 
53
  #: dokan.php:478 includes/Admin/AdminBar.php:81 includes/Admin/Menu.php:67
54
+ #: includes/Dashboard/Templates/Settings.php:60
55
+ #: includes/Dashboard/Templates/Settings.php:67 includes/template-tags.php:419
56
  #: src/admin/pages/Settings.vue:4
57
  msgid "Settings"
58
  msgstr ""
121
  msgstr ""
122
 
123
  #: includes/Admin/AdminBar.php:54 includes/Admin/Menu.php:45
124
+ #: includes/Admin/Settings.php:610 includes/Install/Installer.php:173
125
  #: includes/template-tags.php:388 src/admin/pages/Dashboard.vue:3
126
  msgid "Dashboard"
127
  msgstr ""
151
 
152
  #: includes/Admin/Hooks.php:64 includes/Admin/Hooks.php:70
153
  #: includes/Admin/Hooks.php:365 includes/Admin/Hooks.php:387
154
+ #: includes/Admin/Settings.php:500 includes/Admin/Settings.php:511
155
  #: includes/Admin/SetupWizard.php:345 includes/Install/Installer.php:109
156
  #: includes/Order/Hooks.php:77 includes/wc-template.php:17
157
  #: includes/wc-template.php:167 includes/wc-template.php:316
417
  msgid "You have no permission to get settings value"
418
  msgstr ""
419
 
420
+ #: includes/Admin/Settings.php:122 includes/Admin/Settings.php:852
421
  msgid "You are not authorized to perform this action."
422
  msgstr ""
423
 
519
  "from."
520
  msgstr ""
521
 
522
+ #: includes/Admin/Settings.php:358 includes/Admin/Settings.php:787
523
  msgid "Privacy Policy"
524
  msgstr ""
525
 
589
  msgstr ""
590
 
591
  #: includes/Admin/Settings.php:421
592
+ msgid "Vendor Setup Wizard Message"
593
+ msgstr ""
594
+
595
+ #: includes/Admin/Settings.php:423
596
+ msgid ""
597
+ "Thank you for choosing The Marketplace to power your online store! This "
598
+ "quick setup wizard will help you configure the basic settings. <strong>It’s "
599
+ "completely optional and shouldn’t take longer than two minutes.</strong>"
600
+ msgstr ""
601
+
602
+ #: includes/Admin/Settings.php:427
603
  msgid "Disable Welcome Wizard"
604
  msgstr ""
605
 
606
+ #: includes/Admin/Settings.php:428
607
  msgid "Disable welcome wizard for newly registered vendors"
608
  msgstr ""
609
 
610
+ #: includes/Admin/Settings.php:431
611
  msgid ""
612
  "If checked, vendors will not be prompted through a guided setup process but "
613
  "redirected straight to the vendor dashboard."
614
  msgstr ""
615
 
616
+ #: includes/Admin/Settings.php:441
617
  msgid "Vendor Store Settings"
618
  msgstr ""
619
 
620
+ #: includes/Admin/Settings.php:442
621
  msgid "Configure your vendor store settings and setup your store policy for vendor."
622
  msgstr ""
623
 
624
+ #: includes/Admin/Settings.php:446
625
  msgid "Store Terms and Conditions"
626
  msgstr ""
627
 
628
+ #: includes/Admin/Settings.php:447
629
  msgid "Enable terms and conditions for vendor stores"
630
  msgstr ""
631
 
632
+ #: includes/Admin/Settings.php:450
633
  msgid ""
634
  "Prompt terms and condition check for vendors when creating store on your "
635
  "site"
636
  msgstr ""
637
 
638
+ #: includes/Admin/Settings.php:455 includes/Vendor/SetupWizard.php:189
639
  #: templates/settings/store-form.php:142
640
  msgid "Store Products Per Page"
641
  msgstr ""
642
 
643
+ #: includes/Admin/Settings.php:456
644
  msgid ""
645
  "Set how many products to display per page on the vendor store page. It will "
646
  "affect only if the vendor isn't set this value on their vendor setting page."
647
  msgstr ""
648
 
649
+ #: includes/Admin/Settings.php:459
650
  msgid ""
651
  "It will affect the vendor only if they havent set a value on their settings "
652
  "page."
653
  msgstr ""
654
 
655
+ #: includes/Admin/Settings.php:469 includes/ReverseWithdrawal/Helper.php:64
656
  msgid "Commission"
657
  msgstr ""
658
 
659
+ #: includes/Admin/Settings.php:471
660
  msgid ""
661
  "Define commission types, admin commissions, shipping and tax recipients, "
662
  "and more."
663
  msgstr ""
664
 
665
+ #: includes/Admin/Settings.php:475
666
  msgid "Commission Type "
667
  msgstr ""
668
 
669
+ #: includes/Admin/Settings.php:476
670
  msgid "Select a commission type for vendor"
671
  msgstr ""
672
 
673
+ #: includes/Admin/Settings.php:480
674
  msgid "Select a commission type"
675
  msgstr ""
676
 
677
+ #: includes/Admin/Settings.php:485 src/admin/pages/VendorPaymentFields.vue:69
678
  #: src/admin/pages/VendorPaymentFields.vue:78
679
  #: templates/admin-setup-wizard/step-selling.php:31
680
  msgid "Admin Commission"
681
  msgstr ""
682
 
683
+ #: includes/Admin/Settings.php:486
684
  msgid "Amount you get from each sale"
685
  msgstr ""
686
 
687
+ #: includes/Admin/Settings.php:496
688
  #: templates/admin-setup-wizard/step-store.php:14
689
  msgid "Shipping Fee Recipient"
690
  msgstr ""
691
 
692
+ #: includes/Admin/Settings.php:497
693
  msgid "Who will be receiving the shipping fees"
694
  msgstr ""
695
 
696
+ #: includes/Admin/Settings.php:501 includes/Admin/Settings.php:512
697
  #: includes/Admin/SetupWizard.php:346
698
  msgid "Admin"
699
  msgstr ""
700
 
701
+ #: includes/Admin/Settings.php:507
702
  #: templates/admin-setup-wizard/step-store.php:28
703
  msgid "Tax Fee Recipient"
704
  msgstr ""
705
 
706
+ #: includes/Admin/Settings.php:508
707
  msgid "Who will be receiving the tax fees"
708
  msgstr ""
709
 
710
+ #: includes/Admin/Settings.php:524 src/admin/pages/Premium.vue:20
711
  #: src/admin/pages/VendorCapabilities.vue:6
712
  msgid "Vendor Capabilities"
713
  msgstr ""
714
 
715
+ #: includes/Admin/Settings.php:526
716
  msgid "Configure your multivendor site settings and vendor selling capabilities."
717
  msgstr ""
718
 
719
+ #: includes/Admin/Settings.php:530
720
  msgid "New Vendor Product Upload"
721
  msgstr ""
722
 
723
+ #: includes/Admin/Settings.php:531
724
  msgid "Allow newly registered vendors to add products"
725
  msgstr ""
726
 
727
+ #: includes/Admin/Settings.php:534
728
  msgid ""
729
  "If checked, vendors will have permission to sell immediately after "
730
  "registration. If unchecked, newly registered vendors cannot add products "
731
  "until selling capability is activated manually from Dashboard -> Vendors."
732
  msgstr ""
733
 
734
+ #: includes/Admin/Settings.php:539
735
  msgid "Disable Product Popup"
736
  msgstr ""
737
 
738
+ #: includes/Admin/Settings.php:540
739
  msgid "Disable add new product in popup view"
740
  msgstr ""
741
 
742
+ #: includes/Admin/Settings.php:543
743
  msgid ""
744
  "If disabled, instead of a pop up window vendor will redirect to product "
745
  "page when adding new product."
746
  msgstr ""
747
 
748
+ #: includes/Admin/Settings.php:547 src/admin/pages/VendorCapabilities.vue:89
749
  #: templates/admin-setup-wizard/step-selling.php:39
750
  msgid "Order Status Change"
751
  msgstr ""
752
 
753
+ #: includes/Admin/Settings.php:548
754
  msgid "Allow vendor to update order status"
755
  msgstr ""
756
 
757
+ #: includes/Admin/Settings.php:551
758
  msgid ""
759
  "Checking this will enable sellers to change the order status. If unchecked, "
760
  "only admin can change the order status."
761
  msgstr ""
762
 
763
+ #: includes/Admin/Settings.php:569 includes/Admin/SetupWizard.php:474
764
  msgid "Withdraw Methods"
765
  msgstr ""
766
 
767
+ #: includes/Admin/Settings.php:570
768
  msgid "Select suitable withdraw methods for vendors"
769
  msgstr ""
770
 
771
+ #: includes/Admin/Settings.php:574
772
  msgid "Check to add available payment methods for vendors to withdraw money."
773
  msgstr ""
774
 
775
+ #: includes/Admin/Settings.php:579 includes/Admin/SetupWizard.php:511
776
  msgid "Minimum Withdraw Limit"
777
  msgstr ""
778
 
779
+ #: includes/Admin/Settings.php:580
780
  msgid ""
781
  "Minimum balance required to make a withdraw request. Leave blank to set no "
782
  "minimum limits."
783
  msgstr ""
784
 
785
+ #: includes/Admin/Settings.php:589 includes/Admin/SetupWizard.php:518
786
  msgid "Order Status for Withdraw"
787
  msgstr ""
788
 
789
+ #: includes/Admin/Settings.php:590 includes/Admin/SetupWizard.php:535
790
  msgid "Order status for which vendor can make a withdraw request."
791
  msgstr ""
792
 
793
+ #: includes/Admin/Settings.php:596
794
  msgid ""
795
  "Select the order status that will allow vendors to make withdraw request. "
796
  "We prefer you select \"completed\", \"processing\"."
797
  msgstr ""
798
 
799
+ #: includes/Admin/Settings.php:600
800
  msgid "Exclude COD Payments"
801
  msgstr ""
802
 
803
+ #: includes/Admin/Settings.php:601
804
  msgid ""
805
  "If an order is paid with Cash on Delivery (COD), then exclude that payment "
806
  "from vendor balance."
807
  msgstr ""
808
 
809
+ #: includes/Admin/Settings.php:611
810
  msgid "Select a page to show vendor dashboard"
811
  msgstr ""
812
 
813
+ #: includes/Admin/Settings.php:614 includes/Admin/Settings.php:622
814
+ #: includes/Admin/Settings.php:630 includes/Admin/Settings.php:641
815
+ #: includes/Admin/Settings.php:782
816
  #. translators: %s: dokan pages
817
  msgid "Select page"
818
  msgstr ""
819
 
820
+ #: includes/Admin/Settings.php:619 includes/Install/Installer.php:185
821
  #: templates/global/header-menu.php:46
822
  msgid "My Orders"
823
  msgstr ""
824
 
825
+ #: includes/Admin/Settings.php:620
826
  msgid "Select a page to show my orders"
827
  msgstr ""
828
 
829
+ #: includes/Admin/Settings.php:627
830
  msgid "Store Listing"
831
  msgstr ""
832
 
833
+ #: includes/Admin/Settings.php:628
834
  msgid "Select a page to show all stores"
835
  msgstr ""
836
 
837
+ #: includes/Admin/Settings.php:636
838
  msgid "Select where you want to add Dokan pages."
839
  msgstr ""
840
 
841
+ #: includes/Admin/Settings.php:637
842
  msgid "Terms and Conditions Page"
843
  msgstr ""
844
 
845
+ #: includes/Admin/Settings.php:639
846
  msgid "Select a page to display the Terms and Conditions of your store for Vendors."
847
  msgstr ""
848
 
849
+ #: includes/Admin/Settings.php:649
850
  msgid "Store Appearance"
851
  msgstr ""
852
 
853
+ #: includes/Admin/Settings.php:650
854
  msgid "Configure your site appearances."
855
  msgstr ""
856
 
857
+ #: includes/Admin/Settings.php:654
858
  msgid "Show map on Store Page"
859
  msgstr ""
860
 
861
+ #: includes/Admin/Settings.php:655
862
  msgid "Enable map of the store location in the store sidebar"
863
  msgstr ""
864
 
865
+ #: includes/Admin/Settings.php:662
866
  #: templates/admin-setup-wizard/step-store.php:42
867
  msgid "Map API Source"
868
  msgstr ""
869
 
870
+ #: includes/Admin/Settings.php:663
871
  msgid "Which map API source you want to use in your site?"
872
  msgstr ""
873
 
874
+ #: includes/Admin/Settings.php:668 includes/Admin/SetupWizard.php:359
875
  #: src/admin/pages/Premium.vue:388
876
  msgid "Google Maps"
877
  msgstr ""
878
 
879
+ #: includes/Admin/Settings.php:669 includes/Admin/SetupWizard.php:360
880
  msgid "Mapbox"
881
  msgstr ""
882
 
883
+ #: includes/Admin/Settings.php:674
884
  #: templates/admin-setup-wizard/step-store.php:56
885
  msgid "Google Map API Key"
886
  msgstr ""
887
 
888
+ #: includes/Admin/Settings.php:675
889
  msgid ""
890
  "<a href=\"https://developers.google.com/maps/documentation/javascript/\" "
891
  "target=\"_blank\" rel=\"noopener noreferrer\">API Key</a> is needed to "
892
  "display map on store page"
893
  msgstr ""
894
 
895
+ #: includes/Admin/Settings.php:677
896
  msgid "Insert Google API Key (with hyperlink) to display store map."
897
  msgstr ""
898
 
899
+ #: includes/Admin/Settings.php:681
900
  #: templates/admin-setup-wizard/step-store.php:71
901
  msgid "Mapbox Access Token"
902
  msgstr ""
903
 
904
+ #: includes/Admin/Settings.php:682
905
  #: templates/admin-setup-wizard/step-store.php:75
906
  msgid ""
907
  "<a href=\"https://docs.mapbox.com/help/how-mapbox-works/access-tokens/\" "
909
  "display map on store page"
910
  msgstr ""
911
 
912
+ #: includes/Admin/Settings.php:684
913
  msgid "Insert Mapbox Access Token (with hyperlink) to display store map."
914
  msgstr ""
915
 
916
+ #: includes/Admin/Settings.php:691
917
  #. translators: 1) Opening anchor tag, 2) Closing anchor tag, 3) Opening anchor
918
  #. tag, 4) Closing anchor tag
919
  msgid ""
921
  "contact forms. %3$sGet Help%4$s"
922
  msgstr ""
923
 
924
+ #: includes/Admin/Settings.php:697
925
  msgid "Google reCAPTCHA Validation"
926
  msgstr ""
927
 
928
+ #: includes/Admin/Settings.php:699
929
  msgid "You can successfully connect to your Google reCaptcha account from here."
930
  msgstr ""
931
 
932
+ #: includes/Admin/Settings.php:703
933
  msgid "Site Key"
934
  msgstr ""
935
 
936
+ #: includes/Admin/Settings.php:704
937
  msgid "Insert Google reCAPTCHA v3 site key."
938
  msgstr ""
939
 
940
+ #: includes/Admin/Settings.php:710
941
  msgid "Secret Key"
942
  msgstr ""
943
 
944
+ #: includes/Admin/Settings.php:712
945
  msgid "Insert Google reCAPTCHA v3 secret key."
946
  msgstr ""
947
 
948
+ #: includes/Admin/Settings.php:719
949
  msgid "Show Contact Form on Store Page"
950
  msgstr ""
951
 
952
+ #: includes/Admin/Settings.php:720
953
  msgid "Display a vendor contact form in the store sidebar"
954
  msgstr ""
955
 
956
+ #: includes/Admin/Settings.php:727
957
  msgid "Select a store header for your store."
958
  msgstr ""
959
 
960
+ #: includes/Admin/Settings.php:728
961
  msgid "Store Header Template"
962
  msgstr ""
963
 
964
+ #: includes/Admin/Settings.php:739
965
  msgid "Store Opening Closing Time Widget"
966
  msgstr ""
967
 
968
+ #: includes/Admin/Settings.php:740
969
  msgid "Enable store opening & closing time widget in the store sidebar"
970
  msgstr ""
971
 
972
+ #: includes/Admin/Settings.php:746
973
  msgid "Enable Store Sidebar From Theme"
974
  msgstr ""
975
 
976
+ #: includes/Admin/Settings.php:747
977
  msgid "Enable showing store sidebar from your theme."
978
  msgstr ""
979
 
980
+ #: includes/Admin/Settings.php:753
981
  msgid "Hide Vendor Info"
982
  msgstr ""
983
 
984
+ #: includes/Admin/Settings.php:762
985
  msgid "Email Address"
986
  msgstr ""
987
 
988
+ #: includes/Admin/Settings.php:763 includes/Admin/UserProfile.php:211
989
  #: src/admin/pages/VendorAccountFields.vue:65
990
  #: templates/account/vendor-registration.php:33
991
  #: templates/global/seller-registration-form.php:43
992
  msgid "Phone Number"
993
  msgstr ""
994
 
995
+ #: includes/Admin/Settings.php:764
996
  msgid "Store Address"
997
  msgstr ""
998
 
999
+ #: includes/Admin/Settings.php:771
1000
  msgid "Enable Privacy Policy"
1001
  msgstr ""
1002
 
1003
+ #: includes/Admin/Settings.php:773
1004
  msgid "Enable privacy policy for vendor store contact form"
1005
  msgstr ""
1006
 
1007
+ #: includes/Admin/Settings.php:779
1008
  msgid "Privacy Page"
1009
  msgstr ""
1010
 
1011
+ #: includes/Admin/Settings.php:781
1012
  msgid "Select a page to show your privacy policy"
1013
  msgstr ""
1014
 
1015
+ #: includes/Admin/Settings.php:789 includes/functions.php:3581
1016
  msgid ""
1017
  "Your personal data will be used to support your experience throughout this "
1018
  "website, to manage access to your account, and for other purposes described "
1019
  "in our [dokan_privacy_policy]"
1020
  msgstr ""
1021
 
1022
+ #: includes/Admin/Settings.php:790
1023
  msgid "Customize the Privacy Policy text that will be displayed on your store."
1024
  msgstr ""
1025
 
1026
+ #: includes/Admin/Settings.php:864
1027
  msgid "Both section and field params are required."
1028
  msgstr ""
1029
 
1030
+ #: includes/Admin/Settings.php:873
1031
  msgid "No filter found to refresh the setting options"
1032
  msgstr ""
1033
 
1034
+ #: includes/Admin/Settings.php:905
1035
  msgid "Minimum Withdraw Limit can't be negative value."
1036
  msgstr ""
1037
 
1038
+ #: includes/Admin/Settings.php:916
1039
  #: includes/ReverseWithdrawal/Admin/Settings.php:215
1040
  msgid "Validation error"
1041
  msgstr ""
1042
 
1043
+ #: includes/Admin/Settings.php:934
1044
  msgid "Data Clear"
1045
  msgstr ""
1046
 
1047
+ #: includes/Admin/Settings.php:935
1048
  msgid ""
1049
  "Delete all data and tables related to Dokan and Dokan Pro plugin while "
1050
  "deleting the Dokan plugin."
1051
  msgstr ""
1052
 
1053
+ #: includes/Admin/Settings.php:938
1054
  msgid ""
1055
  "Check this to remove Dokan related data and table from the database upon "
1056
  "deleting the plugin. When you delete the Dokan lite version, it will also "
1106
  "mind!"
1107
  msgstr ""
1108
 
1109
+ #: includes/Admin/SetupWizard.php:324 includes/Vendor/SetupWizard.php:159
1110
  #: templates/admin-setup-wizard/step-no-wc-introduction.php:54
1111
  msgid "Let's Go!"
1112
  msgstr ""
1113
 
1114
+ #: includes/Admin/SetupWizard.php:325 includes/Vendor/SetupWizard.php:160
1115
  msgid "Not right now"
1116
  msgstr ""
1117
 
1132
 
1133
  #: includes/Admin/SetupWizard.php:540 includes/Admin/SetupWizard.php:623
1134
  #: includes/Admin/SetupWizardWCAdmin.php:232
1135
+ #: includes/Vendor/SetupWizard.php:247 includes/Vendor/SetupWizard.php:394
1136
  #: templates/admin-setup-wizard/step-selling.php:53
1137
  #: templates/admin-setup-wizard/step-store.php:102
1138
  msgid "Continue"
1139
  msgstr ""
1140
 
1141
+ #: includes/Admin/SetupWizard.php:541 includes/Vendor/SetupWizard.php:248
1142
+ #: includes/Vendor/SetupWizard.php:395
1143
  #: templates/admin-setup-wizard/step-selling.php:54
1144
  #: templates/admin-setup-wizard/step-store.php:103
1145
  msgid "Skip this step"
1311
  msgstr ""
1312
 
1313
  #: includes/Admin/UserProfile.php:87 includes/Privacy.php:226
1314
+ #: includes/Vendor/SetupWizard.php:217
1315
  #: src/admin/pages/VendorAddressFields.vue:31
1316
  #: templates/admin-setup-wizard/step-store-wc-fields.php:24
1317
  msgid "Country"
1499
  msgid "Something wrong, please try again later"
1500
  msgstr ""
1501
 
1502
+ #: includes/Ajax.php:108 includes/Dashboard/Templates/Settings.php:317
1503
+ #: includes/Dashboard/Templates/Settings.php:321
1504
+ #: includes/Dashboard/Templates/Settings.php:335
1505
+ #: includes/Dashboard/Templates/Settings.php:347
1506
+ #: includes/Dashboard/Templates/Settings.php:359
1507
+ #: includes/Dashboard/Templates/Settings.php:398
1508
+ #: includes/Dashboard/Templates/Settings.php:464
1509
+ #: includes/Dashboard/Templates/Settings.php:505
1510
+ #: includes/Dashboard/Templates/Settings.php:555
1511
  #: includes/Dashboard/Templates/Withdraw.php:117
1512
  #: includes/Dashboard/Templates/Withdraw.php:182
1513
  #: includes/Withdraw/Hooks.php:120 includes/Withdraw/Hooks.php:193
2060
  msgstr ""
2061
 
2062
  #: includes/Assets.php:912 templates/settings/header.php:20
2063
+ #: templates/settings/payment-manage.php:45
2064
  #: templates/settings/store-form.php:301
2065
  msgid "Update Settings"
2066
  msgstr ""
2204
  msgstr ""
2205
 
2206
  #: includes/Dashboard/Templates/Products.php:196
2207
+ #: includes/Dashboard/Templates/Settings.php:146
2208
+ #: includes/Dashboard/Templates/Settings.php:157
2209
  #: includes/Shortcodes/Dashboard.php:29 templates/global/no-permission.php:53
2210
  msgid "You have no permission to view this page"
2211
  msgstr ""
2281
  msgid "Success."
2282
  msgstr ""
2283
 
2284
+ #: includes/Dashboard/Templates/Settings.php:63
2285
  msgid "Payment Method"
2286
  msgstr ""
2287
 
2288
+ #: includes/Dashboard/Templates/Settings.php:86
2289
  msgid ""
2290
  "These are the withdraw methods available for you. Please update your "
2291
  "payment information below to submit withdraw requests and get your store "
2292
  "payments seamlessly."
2293
  msgstr ""
2294
 
2295
+ #: includes/Dashboard/Templates/Settings.php:211
2296
  msgid "No withdraw method is available. Please contact site admin."
2297
  msgstr ""
2298
 
2299
+ #: includes/Dashboard/Templates/Settings.php:297
2300
  msgid "Invalid withdraw method. Please contact site admin"
2301
  msgstr ""
2302
 
2303
+ #: includes/Dashboard/Templates/Settings.php:331
2304
  msgid "Pemission denied social"
2305
  msgstr ""
2306
 
2307
+ #: includes/Dashboard/Templates/Settings.php:343
2308
+ #: includes/Dashboard/Templates/Settings.php:355
2309
  msgid "Pemission denied"
2310
  msgstr ""
2311
 
2312
+ #: includes/Dashboard/Templates/Settings.php:365
2313
  msgid "Failed to process data, invalid submission"
2314
  msgstr ""
2315
 
2316
+ #: includes/Dashboard/Templates/Settings.php:375
2317
  msgid "Your information has been saved successfully"
2318
  msgstr ""
2319
 
2320
+ #: includes/Dashboard/Templates/Settings.php:406
2321
+ #: includes/Dashboard/Templates/Settings.php:513
2322
  msgid "Store name required"
2323
  msgstr ""
2324
 
2325
+ #: includes/Dashboard/Templates/Settings.php:412
2326
+ #: includes/Dashboard/Templates/Settings.php:472
2327
+ #: includes/Dashboard/Templates/Settings.php:519
2328
  msgid "Store type required"
2329
  msgstr ""
2330
 
2331
+ #: includes/Dashboard/Templates/Settings.php:420
2332
+ #: includes/Dashboard/Templates/Settings.php:480
2333
+ #: includes/Dashboard/Templates/Settings.php:527
2334
+ #: includes/Dashboard/Templates/Settings.php:566
2335
+ #: includes/Dashboard/Templates/Settings.php:576
2336
  msgid "Invalid email"
2337
  msgstr ""
2338
 
2339
+ #: includes/Dashboard/Templates/Settings.php:439
2340
  msgid "Address field for %s is required"
2341
  msgstr ""
2342
 
2343
+ #: includes/Dashboard/Templates/Settings.php:584
2344
  msgid "Account holder name is required"
2345
  msgstr ""
2346
 
2347
+ #: includes/Dashboard/Templates/Settings.php:588
2348
  msgid "Account number is required"
2349
  msgstr ""
2350
 
2351
+ #: includes/Dashboard/Templates/Settings.php:592
2352
  msgid "Routing number is required"
2353
  msgstr ""
2354
 
2355
+ #: includes/Dashboard/Templates/Settings.php:596
2356
  msgid "Please select account type"
2357
  msgstr ""
2358
 
2359
+ #: includes/Dashboard/Templates/Settings.php:598
2360
  msgid "Invalid Account Type"
2361
  msgstr ""
2362
 
2363
+ #: includes/Dashboard/Templates/Settings.php:602
2364
  msgid "You must attest that the bank account is yours."
2365
  msgstr ""
2366
 
2367
+ #: includes/Dashboard/Templates/Settings.php:783
2368
  msgid "Book"
2369
  msgstr ""
2370
 
2371
+ #: includes/Dashboard/Templates/Settings.php:784
2372
  msgid "Dress"
2373
  msgstr ""
2374
 
2375
+ #: includes/Dashboard/Templates/Settings.php:785
2376
  msgid "Electronic"
2377
  msgstr ""
2378
 
2379
+ #: includes/Dashboard/Templates/Settings.php:805
2380
  msgid "Bank Account Settings"
2381
  msgstr ""
2382
 
2383
+ #: includes/Dashboard/Templates/Settings.php:810
2384
  msgid "Paypal Settings"
2385
  msgstr ""
2386
 
3263
  msgid "Flickr"
3264
  msgstr ""
3265
 
3266
+ #: includes/Privacy.php:224 includes/Vendor/SetupWizard.php:207
3267
  #: src/admin/pages/VendorAddressFields.vue:21
3268
  #: src/admin/pages/VendorAddressFields.vue:22
3269
  #: templates/admin-setup-wizard/step-store-wc-fields.php:51
3275
  msgid "Postal Code"
3276
  msgstr ""
3277
 
3278
+ #: includes/Privacy.php:227 includes/Vendor/SetupWizard.php:225
3279
  #: src/admin/pages/VendorAddressFields.vue:36
3280
  #: src/admin/pages/VendorAddressFields.vue:38
3281
  #: templates/admin-setup-wizard/step-store-wc-fields.php:58
5201
  msgid "Return to the Marketplace"
5202
  msgstr ""
5203
 
5204
+ #: includes/Vendor/SetupWizard.php:150
 
 
 
 
5205
  msgid ""
5206
+ "<p>Thank you for choosing The Marketplace to power your online store! This "
5207
  "quick setup wizard will help you configure the basic settings. <strong>It’s "
5208
+ "completely optional and shouldn’t take longer than two minutes.</strong></p>"
5209
  msgstr ""
5210
 
5211
  #: includes/Vendor/SetupWizard.php:153
5212
+ msgid "Welcome to the Marketplace!"
5213
+ msgstr ""
5214
+
5215
+ #: includes/Vendor/SetupWizard.php:157
5216
  msgid ""
5217
  "No time right now? If you don’t want to go through the wizard, you can skip "
5218
  "and return to the Store!"
5219
  msgstr ""
5220
 
5221
+ #: includes/Vendor/SetupWizard.php:185
5222
  #: templates/admin-setup-wizard/step-store.php:1
5223
  msgid "Store Setup"
5224
  msgstr ""
5225
 
5226
+ #: includes/Vendor/SetupWizard.php:195
5227
  msgid "Street"
5228
  msgstr ""
5229
 
5230
+ #: includes/Vendor/SetupWizard.php:201
5231
  #: src/admin/pages/VendorAddressFields.vue:16
5232
  #: src/admin/pages/VendorAddressFields.vue:17
5233
  #: templates/settings/address-form.php:41
5234
  msgid "Street 2"
5235
  msgstr ""
5236
 
5237
+ #: includes/Vendor/SetupWizard.php:212
5238
  msgid "Post/Zip Code"
5239
  msgstr ""
5240
 
5241
+ #: includes/Vendor/SetupWizard.php:227
5242
  msgid "State Name"
5243
  msgstr ""
5244
 
5245
+ #: includes/Vendor/SetupWizard.php:234
5246
  #: src/admin/pages/VendorAccountFields.vue:70
5247
  #: templates/settings/store-form.php:178
5248
  msgid "Email"
5249
  msgstr ""
5250
 
5251
+ #: includes/Vendor/SetupWizard.php:238 templates/settings/store-form.php:183
5252
  msgid "Show email address in store"
5253
  msgstr ""
5254
 
5255
+ #: includes/Vendor/SetupWizard.php:267
5256
  msgid "Select an option&hellip;"
5257
  msgstr ""
5258
 
5259
+ #: includes/Vendor/SetupWizard.php:372
5260
  msgid "Payment Setup"
5261
  msgstr ""
5262
 
5263
+ #: includes/Vendor/SetupWizard.php:471
5264
  msgid "Your Store is Ready!"
5265
  msgstr ""
5266
 
5267
+ #: includes/Vendor/SetupWizard.php:476
5268
  msgid "Go to your Store Dashboard!"
5269
  msgstr ""
5270
 
5543
  msgid "Bank Transfer"
5544
  msgstr ""
5545
 
5546
+ #: includes/Withdraw/functions.php:132 includes/Withdraw/functions.php:165
5547
  msgid "E-mail"
5548
  msgstr ""
5549
 
5550
+ #: includes/Withdraw/functions.php:142
5551
+ #: templates/settings/bank-payment-method-settings.php:130
5552
+ msgid "Disconnect"
5553
+ msgstr ""
5554
+
5555
+ #: includes/Withdraw/functions.php:190
5556
  msgid "Save"
5557
  msgstr ""
5558
 
5559
+ #: includes/Withdraw/functions.php:190
5560
  msgid "Add Account"
5561
  msgstr ""
5562
 
5563
+ #: includes/Withdraw/functions.php:308
5564
  msgid "No information found."
5565
  msgstr ""
5566
 
5567
+ #: includes/Withdraw/functions.php:314
5568
  #. translators: 1: Email address for withdraw method.
5569
  msgid "( %1$s )"
5570
  msgstr ""
5571
 
5572
+ #: includes/Withdraw/functions.php:318
5573
  #. translators: 1: Bank account holder name. 2: Bank name. 1: Bank account
5574
  #. number
5575
  msgid "- %1$s - %2$s - ****%3$s"
8783
  msgid "This Payment method will become available in 3 days."
8784
  msgstr ""
8785
 
8786
+ #: templates/settings/payment-manage.php:16
8787
  msgid "Back"
8788
  msgstr ""
8789
 
8889
  msgid "Store Closed"
8890
  msgstr ""
8891
 
8892
+ #: templates/store-header.php:116
8893
  msgid "Weekly Store Timing"
8894
  msgstr ""
8895
 
8896
+ #: templates/store-header.php:117
8897
  msgid "CLOSED"
8898
  msgstr ""
8899
 
readme.txt CHANGED
@@ -5,9 +5,9 @@ Tags: WooCommerce multivendor marketplace, multi vendor marketplace, multi selle
5
  Requires at least: 5.4
6
  Tested up to: 6.0
7
  WC requires at least: 5.0.0
8
- WC tested up to: 6.5.1
9
  Requires PHP: 7.0
10
- Stable tag: 3.6.0
11
  License: GPLv2 or later
12
  License URI: http://www.gnu.org/licenses/gpl-2.0.html
13
 
@@ -58,12 +58,9 @@ Hear what reputed WordPress influencer and online business strategist, Darrel Wi
58
 
59
  = SUCCESS STORIES OF PEOPLE WE ARE PROUD TO BE A PART OF =
60
 
61
- 👨 [“This is why we are proud to be using Dokan as with it we are able to give you all the tools to help manage and run a successful business.”](https://wedevs.com/143965/michael-delaneys-story-successful-marketplace/?utm_campaign=dokan-wordpress-org-visitor&utm_medium=learn_more_about_dokan&utm_source=WordPress.org) – Michael Delaney, Owner of [ShoppeRegion](https://shopperregion.com/)
62
 
63
  👨 [“Dokan is a solution for us to provide a fully automized shop-in-shop-system with a very helpful commission-calculation and reports to do all financial details with the vendors.”](https://wedevs.com/blog/173305/a-success-story-of-a-healthcare-marketplace/?utm_campaign=dokan-wordpress-org-visitor&utm_medium=learn_more_about_dokan&utm_source=WordPress.org) - Bernd Payer, Founder [JOSHi](https://www.joshi.at)
64
 
65
- 💁 [“Without Dokan I would not have a Marketplace option and I would be forced to hold stock. Dokan offers me the opportunity to have a drop shipping Marketing and offer Businesses that chance to scale and sell alongside like-minded businesses. It also offers me the opportunity to sell stock without packing and posting on my own.”](https://wedevs.com/blog/271341/dokan-success-story-of-leisa-papa-little-kids-business) - Leisa Papa, [Founder of Little Kids Business](https://www.littlekidsbusiness.com.au/)
66
-
67
  💁 [“The functionality delivers everything that you need to grow your marketplace.”](https://wedevs.com/blog/89525/dokan-customer-dream-multivendor-marketplace/) - [Hawk and Peddle](https://hawkandpeddle.co.uk/)
68
 
69
  [youtube https://www.youtube.com/watch?v=4id-EwbfUko]
@@ -318,6 +315,15 @@ A. Just install and activate the PRO version without deleting the free plugin. A
318
 
319
  = v3.6.0 ( Jun 14, 2022 ) =
320
 
 
 
 
 
 
 
 
 
 
321
  **new:** Added a new filter named ‘dokan_bank_payment_validation_error’ so that payment validation errors can be filtered.
322
  **update:** Entirely redesigned Dokan Admin Settings page
323
  **fix:** WPML translated endpoints not working in payment settings page
5
  Requires at least: 5.4
6
  Tested up to: 6.0
7
  WC requires at least: 5.0.0
8
+ WC tested up to: 6.6.1
9
  Requires PHP: 7.0
10
+ Stable tag: 3.6.1
11
  License: GPLv2 or later
12
  License URI: http://www.gnu.org/licenses/gpl-2.0.html
13
 
58
 
59
  = SUCCESS STORIES OF PEOPLE WE ARE PROUD TO BE A PART OF =
60
 
 
61
 
62
  👨 [“Dokan is a solution for us to provide a fully automized shop-in-shop-system with a very helpful commission-calculation and reports to do all financial details with the vendors.”](https://wedevs.com/blog/173305/a-success-story-of-a-healthcare-marketplace/?utm_campaign=dokan-wordpress-org-visitor&utm_medium=learn_more_about_dokan&utm_source=WordPress.org) - Bernd Payer, Founder [JOSHi](https://www.joshi.at)
63
 
 
 
64
  💁 [“The functionality delivers everything that you need to grow your marketplace.”](https://wedevs.com/blog/89525/dokan-customer-dream-multivendor-marketplace/) - [Hawk and Peddle](https://hawkandpeddle.co.uk/)
65
 
66
  [youtube https://www.youtube.com/watch?v=4id-EwbfUko]
315
 
316
  = v3.6.0 ( Jun 14, 2022 ) =
317
 
318
+ - **fix:** Fixed some empty method names in Payment Methods section of Vendor Dashboard > Withdraw
319
+ - **fix:** Fixed incorrect alignment of withdraw method title in Dokan setup wizard
320
+ - **fix:** Vendor Store breadcrumb URL redirecting to 404 page
321
+ - **update:** Added disconnect button to payment methods
322
+ - **update:** Removed 'Dokan' Prefix from the payment method name under vendor dashboard payment settings page.
323
+ - **update:** Added a new setting to change Vendor Setup Wizard welcome message under Dokan General Settings page.
324
+
325
+ = v3.6.0 ( Jun 14, 2022 ) =
326
+
327
  **new:** Added a new filter named ‘dokan_bank_payment_validation_error’ so that payment validation errors can be filtered.
328
  **update:** Entirely redesigned Dokan Admin Settings page
329
  **fix:** WPML translated endpoints not working in payment settings page
templates/settings/bank-payment-method-settings.php CHANGED
@@ -119,12 +119,16 @@
119
 
120
  <?php if ( ! isset( $_GET['page'] ) || 'dokan-seller-setup' !== $_GET['page'] ) : ?>
121
  <div class="bottom-actions">
122
- <button class="ajax_prev dokan-btn dokan-btn-theme" type="submit" name="dokan_update_payment_settings">
123
  <?php echo esc_html( $save_or_add_btn_text ); ?>
124
  </button>
125
  <a href="<?php echo esc_url( dokan_get_navigation_url( 'settings/payment' ) ); ?>">
126
  <?php esc_html_e( 'Cancel', 'dokan-lite' ); ?>
127
  </a>
 
 
 
 
128
  </div>
129
  <?php endif; ?>
130
  </div>
119
 
120
  <?php if ( ! isset( $_GET['page'] ) || 'dokan-seller-setup' !== $_GET['page'] ) : ?>
121
  <div class="bottom-actions">
122
+ <button class="ajax_prev save dokan-btn dokan-btn-theme" type="submit" name="dokan_update_payment_settings">
123
  <?php echo esc_html( $save_or_add_btn_text ); ?>
124
  </button>
125
  <a href="<?php echo esc_url( dokan_get_navigation_url( 'settings/payment' ) ); ?>">
126
  <?php esc_html_e( 'Cancel', 'dokan-lite' ); ?>
127
  </a>
128
+ <input type="hidden" name="dokan_update_payment_settings">
129
+ <button class="ajax_prev disconnect dokan-btn dokan-btn-danger <?php echo ! empty( $account_name ) ? '' : 'dokan-hide'; ?>" type="submit" name="settings[bank][disconnect]">
130
+ <?php esc_html_e( 'Disconnect', 'dokan-lite' ); ?>
131
+ </button>
132
  </div>
133
  <?php endif; ?>
134
  </div>
templates/settings/payment-manage.php CHANGED
@@ -6,6 +6,12 @@
6
  */
7
  ?>
8
 
 
 
 
 
 
 
9
  <a href="<?php echo esc_url_raw( dokan_get_navigation_url( 'settings/payment' ) ); ?>">
10
  &larr; <?php esc_html_e( 'Back', 'dokan-lite' ); ?>
11
  </a>
@@ -35,7 +41,7 @@
35
 
36
  if ( 'bank' !== $method_key ) : ?>
37
  <div class="dokan-form-group">
38
- <div class="dokan-w4 ajax_prev dokan-text-left">
39
  <input type="submit" name="dokan_update_payment_settings" class="dokan-btn dokan-btn-danger dokan-btn-theme" value="<?php esc_attr_e( 'Update Settings', 'dokan-lite' ); ?>">
40
  </div>
41
  </div>
6
  */
7
  ?>
8
 
9
+ <?php if ( isset( $status_message ) && ! empty( $status_message ) ) : ?>
10
+ <div class="dokan-alert <?php echo ( 'success' === $connect_status ) ? 'dokan-alert-success' : 'dokan-alert-danger'; ?>">
11
+ <?php echo wp_kses_post( $status_message ); ?>
12
+ </div>
13
+ <?php endif; ?>
14
+
15
  <a href="<?php echo esc_url_raw( dokan_get_navigation_url( 'settings/payment' ) ); ?>">
16
  &larr; <?php esc_html_e( 'Back', 'dokan-lite' ); ?>
17
  </a>
41
 
42
  if ( 'bank' !== $method_key ) : ?>
43
  <div class="dokan-form-group">
44
+ <div class="dokan-w4 ajax_prev save dokan-text-left">
45
  <input type="submit" name="dokan_update_payment_settings" class="dokan-btn dokan-btn-danger dokan-btn-theme" value="<?php esc_attr_e( 'Update Settings', 'dokan-lite' ); ?>">
46
  </div>
47
  </div>
templates/store-header-times.php ADDED
@@ -0,0 +1,51 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ <div id="vendor-store-times">
2
+ <div class="store-times-heading">
3
+ <i class="fas fa-calendar-day"></i>
4
+ <h4><?php echo esc_html( $times_heading ); ?></h4>
5
+ </div>
6
+ <?php
7
+ foreach ( $dokan_days as $day_key => $day ) :
8
+ $store_info = ! empty( $dokan_store_times[ $day_key ] ) ? $dokan_store_times[ $day_key ] : [];
9
+ $store_status = ! empty( $store_info['status'] ) ? $store_info['status'] : 'close';
10
+ ?>
11
+ <div class="store-time-tags">
12
+ <div class="store-days <?php echo $today === $day_key ? 'current_day' : ''; ?>"><?php echo esc_html( $day ); ?></div>
13
+ <div class="store-times">
14
+ <?php if ( $store_status === 'close' ) : ?>
15
+ <span class="store-close"><?php echo esc_html( $closed_status ); ?></span>
16
+ <?php endif; ?>
17
+
18
+ <?php
19
+ // Get store times.
20
+ $opening_times = ! empty( $store_info['opening_time'] ) ? $store_info['opening_time'] : [];
21
+
22
+ // If dokan pro doesn't exists then get single item.
23
+ if ( ! dokan()->is_pro_exists() ) {
24
+ $opening_times = ! empty( $opening_times ) && is_array( $opening_times ) ? [ $opening_times[0] ] : [];
25
+ }
26
+
27
+ $times_length = ! empty( $opening_times ) ? count( (array) $opening_times ) : 0;
28
+
29
+ // Get formatted times.
30
+ for ( $index = 0; $index < $times_length; $index++ ) :
31
+ $formatted_opening_time = $current_time->modify( $store_info['opening_time'][ $index ] );
32
+ $formatted_closing_time = $current_time->modify( $store_info['closing_time'][ $index ] );
33
+ $exact_time = '';
34
+
35
+ if ( $today === $day_key && $formatted_opening_time <= $current_time && $formatted_closing_time >= $current_time ) {
36
+ $exact_time = 'current_time';
37
+ }
38
+ ?>
39
+ <span class="store-open <?php echo $exact_time; ?>" href="#">
40
+ <?php
41
+ echo esc_html(
42
+ $formatted_opening_time->format( wc_time_format() ) . ' - ' .
43
+ $formatted_closing_time->format( wc_time_format() )
44
+ );
45
+ ?>
46
+ </span>
47
+ <?php endfor; ?>
48
+ </div>
49
+ </div>
50
+ <?php endforeach; ?>
51
+ </div>
templates/store-header.php CHANGED
@@ -106,57 +106,18 @@ if ( 'layout3' === $profile_layout ) {
106
  <span class='store-notice'><?php echo esc_attr( $store_closed_notice ); ?></span>
107
  <?php endif; ?>
108
 
109
- <span class="fa fa-angle-down"></span>
110
- <div id="vendor-store-times">
111
- <div class="store-times-heading">
112
- <i class="fas fa-calendar-day"></i>
113
- <h4><?php esc_html_e( 'Weekly Store Timing', 'dokan-lite' ); ?></h4>
114
- </div>
115
- <?php
116
- foreach ( dokan_get_translated_days() as $day_key => $day ) :
117
- $store_info = ! empty( $dokan_store_times[ $day_key ] ) ? $dokan_store_times[ $day_key ] : [];
118
- $store_status = ! empty( $store_info['status'] ) ? $store_info['status'] : 'close';
119
- ?>
120
- <div class="store-time-tags">
121
- <div class="store-days <?php echo $today === $day_key ? 'current_day' : ''; ?>"><?php echo esc_html( $day ); ?></div>
122
- <div class="store-times">
123
- <?php if ( $store_status === 'close' ) : ?>
124
- <span class="store-close"><?php esc_html_e( 'CLOSED', 'dokan-lite' ); ?></span>
125
- <?php endif; ?>
126
-
127
- <?php
128
- // Get store times.
129
- $opening_times = ! empty( $store_info['opening_time'] ) ? $store_info['opening_time'] : [];
130
-
131
- // If dokan pro doesn't exists then get single item.
132
- if ( ! dokan()->is_pro_exists() ) {
133
- $opening_times = ! empty( $opening_times ) && is_array( $opening_times ) ? $opening_times[0] : [];
134
- }
135
-
136
- $times_length = ! empty( $opening_times ) ? count( (array) $opening_times ) : 0;
137
-
138
- // Get formatted times.
139
- for ( $index = 0; $index < $times_length; $index++ ) :
140
- $formatted_opening_time = $current_time->modify( $store_info['opening_time'][ $index ] );
141
- $formatted_closing_time = $current_time->modify( $store_info['closing_time'][ $index ] );
142
-
143
- // check if store is open or closed time is valid.
144
- if ( empty( $formatted_opening_time ) || empty( $formatted_closing_time ) ) {
145
- continue;
146
- }
147
-
148
- $exact_time = '';
149
-
150
- if ( $today === $day_key && $formatted_opening_time <= $current_time && $formatted_closing_time >= $current_time ) {
151
- $exact_time = 'current_time';
152
- }
153
- ?>
154
- <span class="store-open <?php echo $exact_time; ?>" href="#"><?php echo esc_html( $formatted_opening_time->format( wc_time_format() ) . ' - ' . $formatted_closing_time->format( wc_time_format() ) ); ?></span>
155
- <?php endfor; ?>
156
- </div>
157
- </div>
158
- <?php endforeach; ?>
159
- </div>
160
  </div>
161
  </li>
162
  <?php endif ?>
106
  <span class='store-notice'><?php echo esc_attr( $store_closed_notice ); ?></span>
107
  <?php endif; ?>
108
 
109
+ <span class="fas fa-angle-down"></span>
110
+ <?php
111
+ // Vendor store times template shown here.
112
+ dokan_get_template_part( 'store-header-times', '', [
113
+ 'today' => $today,
114
+ 'dokan_days' => dokan_get_translated_days(),
115
+ 'current_time' => $current_time,
116
+ 'times_heading' => __( 'Weekly Store Timing', 'dokan-lite' ),
117
+ 'closed_status' => __( 'CLOSED', 'dokan-lite' ),
118
+ 'dokan_store_times' => $dokan_store_times,
119
+ ] );
120
+ ?>
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
121
  </div>
122
  </li>
123
  <?php endif ?>
templates/whats-new.php CHANGED
@@ -3,6 +3,40 @@
3
  * When you are adding new version please follow this sequence for changes: New Feature, New, Improvement, Fix...
4
  */
5
  $changelog = [
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
6
  [
7
  'version' => 'Version 3.6.0',
8
  'released' => '2022-06-14',
3
  * When you are adding new version please follow this sequence for changes: New Feature, New, Improvement, Fix...
4
  */
5
  $changelog = [
6
+ [
7
+ 'version' => 'Version 3.6.1',
8
+ 'released' => '2022-06-30',
9
+ 'changes' => [
10
+ 'Improvement' => [
11
+ [
12
+ 'title' => 'Added disconnect button to payment methods',
13
+ 'description' => '',
14
+ ],
15
+ [
16
+ 'title' => 'Removed \'Dokan\' Prefix from the payment method name under vendor dashboard payment settings page.',
17
+ 'description' => '',
18
+ ],
19
+ [
20
+ 'title' => 'Added a new setting to change Vendor Setup Wizard welcome message under Dokan General Settings page.',
21
+ 'description' => '',
22
+ ],
23
+ ],
24
+ 'Fix' => [
25
+ [
26
+ 'title' => 'Fixed some empty method names in Payment Methods section of Vendor Dashboard > Withdraw',
27
+ 'description' => '',
28
+ ],
29
+ [
30
+ 'title' => 'Fixed incorrect alignment of withdraw method title in Dokan setup wizard',
31
+ 'description' => '',
32
+ ],
33
+ [
34
+ 'title' => 'Vendor Store breadcrumb URL redirecting to 404 page',
35
+ 'description' => '',
36
+ ],
37
+ ],
38
+ ],
39
+ ],
40
  [
41
  'version' => 'Version 3.6.0',
42
  'released' => '2022-06-14',
vendor/autoload.php CHANGED
@@ -4,4 +4,4 @@
4
 
5
  require_once __DIR__ . '/composer/autoload_real.php';
6
 
7
- return ComposerAutoloaderInitfd04c9688cc78d143c2b03290901d3b7::getLoader();
4
 
5
  require_once __DIR__ . '/composer/autoload_real.php';
6
 
7
+ return ComposerAutoloaderInit7226226f059d4484e00be9087fb4407b::getLoader();
vendor/composer/autoload_real.php CHANGED
@@ -2,7 +2,7 @@
2
 
3
  // autoload_real.php @generated by Composer
4
 
5
- class ComposerAutoloaderInitfd04c9688cc78d143c2b03290901d3b7
6
  {
7
  private static $loader;
8
 
@@ -24,15 +24,15 @@ class ComposerAutoloaderInitfd04c9688cc78d143c2b03290901d3b7
24
 
25
  require __DIR__ . '/platform_check.php';
26
 
27
- spl_autoload_register(array('ComposerAutoloaderInitfd04c9688cc78d143c2b03290901d3b7', 'loadClassLoader'), true, true);
28
  self::$loader = $loader = new \Composer\Autoload\ClassLoader(\dirname(\dirname(__FILE__)));
29
- spl_autoload_unregister(array('ComposerAutoloaderInitfd04c9688cc78d143c2b03290901d3b7', 'loadClassLoader'));
30
 
31
  $useStaticLoader = PHP_VERSION_ID >= 50600 && !defined('HHVM_VERSION') && (!function_exists('zend_loader_file_encoded') || !zend_loader_file_encoded());
32
  if ($useStaticLoader) {
33
  require __DIR__ . '/autoload_static.php';
34
 
35
- call_user_func(\Composer\Autoload\ComposerStaticInitfd04c9688cc78d143c2b03290901d3b7::getInitializer($loader));
36
  } else {
37
  $map = require __DIR__ . '/autoload_namespaces.php';
38
  foreach ($map as $namespace => $path) {
@@ -53,12 +53,12 @@ class ComposerAutoloaderInitfd04c9688cc78d143c2b03290901d3b7
53
  $loader->register(true);
54
 
55
  if ($useStaticLoader) {
56
- $includeFiles = Composer\Autoload\ComposerStaticInitfd04c9688cc78d143c2b03290901d3b7::$files;
57
  } else {
58
  $includeFiles = require __DIR__ . '/autoload_files.php';
59
  }
60
  foreach ($includeFiles as $fileIdentifier => $file) {
61
- composerRequirefd04c9688cc78d143c2b03290901d3b7($fileIdentifier, $file);
62
  }
63
 
64
  return $loader;
@@ -70,7 +70,7 @@ class ComposerAutoloaderInitfd04c9688cc78d143c2b03290901d3b7
70
  * @param string $file
71
  * @return void
72
  */
73
- function composerRequirefd04c9688cc78d143c2b03290901d3b7($fileIdentifier, $file)
74
  {
75
  if (empty($GLOBALS['__composer_autoload_files'][$fileIdentifier])) {
76
  $GLOBALS['__composer_autoload_files'][$fileIdentifier] = true;
2
 
3
  // autoload_real.php @generated by Composer
4
 
5
+ class ComposerAutoloaderInit7226226f059d4484e00be9087fb4407b
6
  {
7
  private static $loader;
8
 
24
 
25
  require __DIR__ . '/platform_check.php';
26
 
27
+ spl_autoload_register(array('ComposerAutoloaderInit7226226f059d4484e00be9087fb4407b', 'loadClassLoader'), true, true);
28
  self::$loader = $loader = new \Composer\Autoload\ClassLoader(\dirname(\dirname(__FILE__)));
29
+ spl_autoload_unregister(array('ComposerAutoloaderInit7226226f059d4484e00be9087fb4407b', 'loadClassLoader'));
30
 
31
  $useStaticLoader = PHP_VERSION_ID >= 50600 && !defined('HHVM_VERSION') && (!function_exists('zend_loader_file_encoded') || !zend_loader_file_encoded());
32
  if ($useStaticLoader) {
33
  require __DIR__ . '/autoload_static.php';
34
 
35
+ call_user_func(\Composer\Autoload\ComposerStaticInit7226226f059d4484e00be9087fb4407b::getInitializer($loader));
36
  } else {
37
  $map = require __DIR__ . '/autoload_namespaces.php';
38
  foreach ($map as $namespace => $path) {
53
  $loader->register(true);
54
 
55
  if ($useStaticLoader) {
56
+ $includeFiles = Composer\Autoload\ComposerStaticInit7226226f059d4484e00be9087fb4407b::$files;
57
  } else {
58
  $includeFiles = require __DIR__ . '/autoload_files.php';
59
  }
60
  foreach ($includeFiles as $fileIdentifier => $file) {
61
+ composerRequire7226226f059d4484e00be9087fb4407b($fileIdentifier, $file);
62
  }
63
 
64
  return $loader;
70
  * @param string $file
71
  * @return void
72
  */
73
+ function composerRequire7226226f059d4484e00be9087fb4407b($fileIdentifier, $file)
74
  {
75
  if (empty($GLOBALS['__composer_autoload_files'][$fileIdentifier])) {
76
  $GLOBALS['__composer_autoload_files'][$fileIdentifier] = true;
vendor/composer/autoload_static.php CHANGED
@@ -4,7 +4,7 @@
4
 
5
  namespace Composer\Autoload;
6
 
7
- class ComposerStaticInitfd04c9688cc78d143c2b03290901d3b7
8
  {
9
  public static $files = array (
10
  'b45b351e6b6f7487d819961fef2fda77' => __DIR__ . '/..' . '/jakeasmith/http_build_url/src/http_build_url.php',
@@ -232,9 +232,9 @@ class ComposerStaticInitfd04c9688cc78d143c2b03290901d3b7
232
  public static function getInitializer(ClassLoader $loader)
233
  {
234
  return \Closure::bind(function () use ($loader) {
235
- $loader->prefixLengthsPsr4 = ComposerStaticInitfd04c9688cc78d143c2b03290901d3b7::$prefixLengthsPsr4;
236
- $loader->prefixDirsPsr4 = ComposerStaticInitfd04c9688cc78d143c2b03290901d3b7::$prefixDirsPsr4;
237
- $loader->classMap = ComposerStaticInitfd04c9688cc78d143c2b03290901d3b7::$classMap;
238
 
239
  }, null, ClassLoader::class);
240
  }
4
 
5
  namespace Composer\Autoload;
6
 
7
+ class ComposerStaticInit7226226f059d4484e00be9087fb4407b
8
  {
9
  public static $files = array (
10
  'b45b351e6b6f7487d819961fef2fda77' => __DIR__ . '/..' . '/jakeasmith/http_build_url/src/http_build_url.php',
232
  public static function getInitializer(ClassLoader $loader)
233
  {
234
  return \Closure::bind(function () use ($loader) {
235
+ $loader->prefixLengthsPsr4 = ComposerStaticInit7226226f059d4484e00be9087fb4407b::$prefixLengthsPsr4;
236
+ $loader->prefixDirsPsr4 = ComposerStaticInit7226226f059d4484e00be9087fb4407b::$prefixDirsPsr4;
237
+ $loader->classMap = ComposerStaticInit7226226f059d4484e00be9087fb4407b::$classMap;
238
 
239
  }, null, ClassLoader::class);
240
  }