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

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

Code changes from version 3.2.12 to 3.2.13

assets/js/dokan.js CHANGED
@@ -785,6 +785,7 @@ jQuery(function($) {
785
  if ( ! $found ) data.unshift( tag );
786
  },
787
  minimumInputLength: 2,
 
788
  ajax: {
789
  url: dokan.ajaxurl,
790
  dataType: 'json',
@@ -1020,7 +1021,7 @@ jQuery(function($) {
1020
  value = self.val();
1021
 
1022
  if ( value == '' ) {
1023
- self.closest( 'li' ).find( 'strong' ).html( 'Attribute Name' );
1024
  } else {
1025
  self.closest( 'li' ).find( 'strong' ).html( value );
1026
  }
785
  if ( ! $found ) data.unshift( tag );
786
  },
787
  minimumInputLength: 2,
788
+ maximumSelectionLength: dokan.maximum_tags_select_length !== undefined ? dokan.maximum_tags_select_length : -1,
789
  ajax: {
790
  url: dokan.ajaxurl,
791
  dataType: 'json',
1021
  value = self.val();
1022
 
1023
  if ( value == '' ) {
1024
+ self.closest( 'li' ).find( 'strong' ).html( dokan.i18n_attribute_label );
1025
  } else {
1026
  self.closest( 'li' ).find( 'strong' ).html( value );
1027
  }
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.2.12
7
  * Author: weDevs
8
  * Author URI: https://wedevs.com/
9
  * Text Domain: dokan-lite
10
  * WC requires at least: 3.0
11
- * WC tested up to: 5.6.0
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.2.12';
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.2.13
7
  * Author: weDevs
8
  * Author URI: https://wedevs.com/
9
  * Text Domain: dokan-lite
10
  * WC requires at least: 3.0
11
+ * WC tested up to: 5.7.1
12
  * Domain Path: /languages/
13
  * License: GPL2
14
  */
56
  *
57
  * @var string
58
  */
59
+ public $version = '3.2.13';
60
 
61
  /**
62
  * Instance of self
includes/Admin/Hooks.php CHANGED
@@ -93,54 +93,62 @@ class Hooks {
93
  /**
94
  * Adds custom column on dokan admin shop order table
95
  *
96
- * @global type $post
97
- * @global type $woocommerce
98
- * @global \WC_Order $the_order
99
- *
100
- * @param type $col
101
  *
102
  * @return void
103
  */
104
  public function shop_order_custom_columns( $col ) {
 
 
 
 
105
  global $post, $the_order;
106
 
107
- if ( empty( $the_order ) || $the_order->get_id() != $post->ID ) {
108
  $the_order = new \WC_Order( $post->ID );
109
  }
110
 
111
  if ( ! current_user_can( 'manage_woocommerce' ) ) {
112
- return $col;
 
 
 
 
113
  }
114
 
 
115
  switch ( $col ) {
116
  case 'order_number':
117
  if ( $post->post_parent !== 0 ) {
118
- echo '<strong>';
119
- echo esc_html__( '&nbsp;Sub Order of', 'dokan-lite' );
120
- printf( ' <a href="%s">#%s</a>', esc_url( admin_url( 'post.php?action=edit&post=' . $post->post_parent ) ), esc_html( $post->post_parent ) );
121
- echo '</strong>';
122
  }
123
  break;
124
 
125
  case 'suborder':
126
- $has_sub = get_post_meta( $post->ID, 'has_sub_order', true );
127
-
128
- if ( $has_sub == '1' ) {
129
- printf( '<a href="#" class="show-sub-orders" data-class="parent-%1$d" data-show="%2$s" data-hide="%3$s">%2$s</a>', esc_attr( $post->ID ), esc_attr__( 'Show Sub-Orders', 'dokan-lite' ), esc_attr__( 'Hide Sub-Orders', 'dokan-lite' ) );
130
  }
131
  break;
132
 
133
  case 'seller':
134
- $has_sub = get_post_meta( $post->ID, 'has_sub_order', true );
 
135
 
136
- if ( $has_sub != '1' && $seller = get_user_by( 'id', dokan_get_seller_id_by_order( $post->ID ) ) ) {
137
- printf( '<a href="%s">%s</a>', esc_url( admin_url( 'edit.php?post_type=shop_order&vendor_id=' . $seller->ID ) ), esc_html( $seller->display_name ) );
138
  } else {
139
- esc_html_e( '(no name)', 'dokan-lite' );
140
  }
141
 
142
  break;
143
  }
 
 
 
 
144
  }
145
 
146
  /**
93
  /**
94
  * Adds custom column on dokan admin shop order table
95
  *
96
+ * @param string $col
 
 
 
 
97
  *
98
  * @return void
99
  */
100
  public function shop_order_custom_columns( $col ) {
101
+ /**
102
+ * @global \WP_Post $post
103
+ * @global \WC_Order $the_order
104
+ */
105
  global $post, $the_order;
106
 
107
+ if ( empty( $the_order ) || $the_order->get_id() !== $post->ID ) {
108
  $the_order = new \WC_Order( $post->ID );
109
  }
110
 
111
  if ( ! current_user_can( 'manage_woocommerce' ) ) {
112
+ return;
113
+ }
114
+
115
+ if ( ! in_array( $col, [ 'order_number', 'suborder', 'seller' ], true ) ) {
116
+ return;
117
  }
118
 
119
+ $output = '';
120
  switch ( $col ) {
121
  case 'order_number':
122
  if ( $post->post_parent !== 0 ) {
123
+ $output = '<strong>';
124
+ $output .= esc_html__( '&nbsp;Sub Order of', 'dokan-lite' );
125
+ $output .= sprintf( ' <a href="%s">#%s</a>', esc_url( admin_url( 'post.php?action=edit&post=' . $post->post_parent ) ), esc_html( $post->post_parent ) );
126
+ $output .= '</strong>';
127
  }
128
  break;
129
 
130
  case 'suborder':
131
+ if ( '1' === $the_order->get_meta( 'has_sub_order', true ) ) {
132
+ $output = sprintf( '<a href="#" class="show-sub-orders" data-class="parent-%1$d" data-show="%2$s" data-hide="%3$s">%2$s</a>', esc_attr( $post->ID ), esc_attr__( 'Show Sub-Orders', 'dokan-lite' ), esc_attr__( 'Hide Sub-Orders', 'dokan-lite' ) );
 
 
133
  }
134
  break;
135
 
136
  case 'seller':
137
+ $has_sub = $the_order->get_meta( 'has_sub_order', true );
138
+ $seller = get_user_by( 'id', dokan_get_seller_id_by_order( $post->ID ) );
139
 
140
+ if ( $has_sub !== '1' && $seller ) {
141
+ $output = sprintf( '<a href="%s">%s</a>', esc_url( admin_url( 'edit.php?post_type=shop_order&vendor_id=' . $seller->ID ) ), esc_html( $seller->display_name ) );
142
  } else {
143
+ $output = esc_html__( '(no name)', 'dokan-lite' );
144
  }
145
 
146
  break;
147
  }
148
+
149
+ if ( ! empty( $output ) ) {
150
+ echo apply_filters( "dokan_manage_shop_order_custom_columns_{$col}", $output, $the_order );
151
+ }
152
  }
153
 
154
  /**
includes/Assets.php CHANGED
@@ -414,22 +414,30 @@ class Assets {
414
  }
415
 
416
  $default_script = [
417
- 'ajaxurl' => admin_url( 'admin-ajax.php' ),
418
- 'nonce' => wp_create_nonce( 'dokan_reviews' ),
419
- 'ajax_loader' => DOKAN_PLUGIN_ASSEST . '/images/ajax-loader.gif',
420
- 'seller' => [
421
  'available' => __( 'Available', 'dokan-lite' ),
422
  'notAvailable' => __( 'Not Available', 'dokan-lite' ),
423
  ],
424
- 'delete_confirm' => __( 'Are you sure?', 'dokan-lite' ),
425
- 'wrong_message' => __( 'Something went wrong. Please try again.', 'dokan-lite' ),
426
- 'vendor_percentage' => dokan_get_seller_percentage( dokan_get_current_user_id() ),
427
- 'commission_type' => dokan_get_commission_type( dokan_get_current_user_id() ),
428
- 'rounding_precision' => wc_get_rounding_precision(),
429
- 'mon_decimal_point' => wc_get_price_decimal_separator(),
430
- 'product_types' => apply_filters( 'dokan_product_types', [ 'simple' ] ),
431
- 'loading_img' => DOKAN_PLUGIN_ASSEST . '/images/loading.gif',
432
  'store_product_search_nonce' => wp_create_nonce( 'dokan_store_product_search_nonce' ),
 
 
 
 
 
 
 
 
433
  ];
434
 
435
  $localize_script = apply_filters( 'dokan_localized_args', $default_script );
@@ -726,6 +734,7 @@ class Assets {
726
  'i18n_searching' => __( 'Searching&hellip;', 'dokan-lite' ),
727
  'i18n_ok_text' => __( 'OK', 'dokan-lite' ),
728
  'i18n_cancel_text' => __( 'Cancel', 'dokan-lite' ),
 
729
  'i18n_date_format' => get_option( 'date_format' ),
730
  'dokan_banner_added_alert_msg' => __( 'Are you sure? You have uploaded banner but didn\'t click the Update Settings button!', 'dokan-lite' ),
731
  ];
414
  }
415
 
416
  $default_script = [
417
+ 'ajaxurl' => admin_url( 'admin-ajax.php' ),
418
+ 'nonce' => wp_create_nonce( 'dokan_reviews' ),
419
+ 'ajax_loader' => DOKAN_PLUGIN_ASSEST . '/images/ajax-loader.gif',
420
+ 'seller' => [
421
  'available' => __( 'Available', 'dokan-lite' ),
422
  'notAvailable' => __( 'Not Available', 'dokan-lite' ),
423
  ],
424
+ 'delete_confirm' => __( 'Are you sure?', 'dokan-lite' ),
425
+ 'wrong_message' => __( 'Something went wrong. Please try again.', 'dokan-lite' ),
426
+ 'vendor_percentage' => dokan_get_seller_percentage( dokan_get_current_user_id() ),
427
+ 'commission_type' => dokan_get_commission_type( dokan_get_current_user_id() ),
428
+ 'rounding_precision' => wc_get_rounding_precision(),
429
+ 'mon_decimal_point' => wc_get_price_decimal_separator(),
430
+ 'product_types' => apply_filters( 'dokan_product_types', [ 'simple' ] ),
431
+ 'loading_img' => DOKAN_PLUGIN_ASSEST . '/images/loading.gif',
432
  'store_product_search_nonce' => wp_create_nonce( 'dokan_store_product_search_nonce' ),
433
+ /**
434
+ * Filter of maximun a vendor can add tags.
435
+ *
436
+ * @since 3.3.7
437
+ *
438
+ * @param integer default -1
439
+ */
440
+ 'maximum_tags_select_length' => apply_filters( 'dokan_product_tags_select_max_length', -1 ), // Filter of maximun a vendor can add tags
441
  ];
442
 
443
  $localize_script = apply_filters( 'dokan_localized_args', $default_script );
734
  'i18n_searching' => __( 'Searching&hellip;', 'dokan-lite' ),
735
  'i18n_ok_text' => __( 'OK', 'dokan-lite' ),
736
  'i18n_cancel_text' => __( 'Cancel', 'dokan-lite' ),
737
+ 'i18n_attribute_label' => __( 'Attribute Name', 'dokan-lite' ),
738
  'i18n_date_format' => get_option( 'date_format' ),
739
  'dokan_banner_added_alert_msg' => __( 'Are you sure? You have uploaded banner but didn\'t click the Update Settings button!', 'dokan-lite' ),
740
  ];
includes/Dashboard/Templates/Orders.php CHANGED
@@ -71,7 +71,7 @@ class Orders {
71
  dokan_get_template_part( 'global/dokan-error', '', array( 'deleted' => false, 'message' => __( 'You have no permission to view this order', 'dokan-lite' ) ) );
72
  }
73
 
74
- } else {
75
  dokan_get_template_part( 'orders/date-export' );
76
  dokan_get_template_part( 'orders/listing' );
77
  }
@@ -81,26 +81,27 @@ class Orders {
81
  * Export user orders to CSV format
82
  *
83
  * @since 1.4
 
 
84
  *
85
  * @return void
86
  */
87
  function handle_order_export() {
88
- if ( ! is_user_logged_in() ) {
89
  return;
90
  }
91
 
92
- if ( ! dokan_is_user_seller( get_current_user_id() ) ) {
 
93
  return;
94
  }
95
 
96
- $post_data = wp_unslash( $_POST );
97
-
98
- if ( ! isset( $post_data['dokan_vendor_order_export_nonce'] ) || ! wp_verify_nonce( sanitize_key( $post_data['dokan_vendor_order_export_nonce'] ), 'dokan_vendor_order_export_action' ) ) {
99
  return;
100
  }
101
 
102
- if ( isset( $post_data['dokan_order_export_all'] ) ) {
103
-
104
  $filename = 'Orders-' . time();
105
  header( 'Content-Type: application/csv; charset=' . get_option( 'blog_charset' ) );
106
  header( "Content-Disposition: attachment; filename=$filename.csv" );
@@ -110,24 +111,28 @@ class Orders {
110
  exit();
111
  }
112
 
113
- if ( isset( $post_data['dokan_order_export_filtered'] ) ) {
114
- $get_data = wp_unslash( $_GET );
115
- $customer_id = isset( $get_data['customer_id'] ) ? $get_data['customer_id'] : null;
116
 
117
  $filename = 'Orders-' . time();
118
  header( 'Content-Type: application/csv; charset=' . get_option( 'blog_charset' ) );
119
  header( "Content-Disposition: attachment; filename=$filename.csv" );
120
 
121
- $order_date = ( isset( $post_data['order_date'] ) ) ? sanitize_text_field( $post_data['order_date'] ) : null;
122
- $order_status = ( isset( $post_data['order_status'] ) ) ? sanitize_text_field( $post_data['order_status'] ) : 'all';
123
 
124
  $user_orders = dokan_get_seller_orders( dokan_get_current_user_id(), $order_status, $order_date, 10000000, 0, $customer_id );
125
  dokan_order_csv_export( $user_orders );
126
  exit();
127
  }
128
 
129
- // Allow dev to create custom CSV
130
- do_action('dokan_after_handle_order_export', $post_data);
 
 
 
 
 
131
  }
132
 
133
- }
71
  dokan_get_template_part( 'global/dokan-error', '', array( 'deleted' => false, 'message' => __( 'You have no permission to view this order', 'dokan-lite' ) ) );
72
  }
73
 
74
+ } else {
75
  dokan_get_template_part( 'orders/date-export' );
76
  dokan_get_template_part( 'orders/listing' );
77
  }
81
  * Export user orders to CSV format
82
  *
83
  * @since 1.4
84
+ * @since 3.2.13 dokan_export_order permission check added
85
+ * for vendor staff
86
  *
87
  * @return void
88
  */
89
  function handle_order_export() {
90
+ if ( ! isset( $_POST['dokan_vendor_order_export_nonce'] ) || ! wp_verify_nonce( sanitize_key( wp_unslash( $_POST['dokan_vendor_order_export_nonce'] ) ), 'dokan_vendor_order_export_action' ) ) {
91
  return;
92
  }
93
 
94
+ // return if is not vendor or vendor staff
95
+ if ( ! dokan_is_user_seller( dokan_get_current_user_id() ) ) {
96
  return;
97
  }
98
 
99
+ // return if current user is vendor staff and don't have proper permission
100
+ if ( current_user_can( 'vendor_staff' ) && ! current_user_can( 'dokan_export_order' ) ) {
 
101
  return;
102
  }
103
 
104
+ if ( isset( $_POST['dokan_order_export_all'] ) ) {
 
105
  $filename = 'Orders-' . time();
106
  header( 'Content-Type: application/csv; charset=' . get_option( 'blog_charset' ) );
107
  header( "Content-Disposition: attachment; filename=$filename.csv" );
111
  exit();
112
  }
113
 
114
+ if ( isset( $_POST['dokan_order_export_filtered'] ) ) {
115
+ $customer_id = isset( $_GET['customer_id'] ) ? absint( wp_unslash( $_GET['customer_id'] ) ) : 0;
 
116
 
117
  $filename = 'Orders-' . time();
118
  header( 'Content-Type: application/csv; charset=' . get_option( 'blog_charset' ) );
119
  header( "Content-Disposition: attachment; filename=$filename.csv" );
120
 
121
+ $order_date = ( isset( $_POST['order_date'] ) ) ? sanitize_text_field( wp_unslash( $_POST['order_date'] ) ) : null;
122
+ $order_status = ( isset( $_POST['order_status'] ) ) ? sanitize_text_field( wp_unslash( $_POST['order_status'] ) ) : 'all';
123
 
124
  $user_orders = dokan_get_seller_orders( dokan_get_current_user_id(), $order_status, $order_date, 10000000, 0, $customer_id );
125
  dokan_order_csv_export( $user_orders );
126
  exit();
127
  }
128
 
129
+ /**
130
+ * Just after exporting the csv file
131
+ *
132
+ * @since 3.2.13 removed hook argument
133
+ * use $_POST superglobal to access post data
134
+ */
135
+ do_action( 'dokan_after_handle_order_export' );
136
  }
137
 
138
+ }
includes/Dashboard/Templates/Products.php CHANGED
@@ -426,6 +426,22 @@ class Products {
426
  $errors[] = __( 'I swear this is not your product!', 'dokan-lite' );
427
  }
428
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
429
  self::$errors = apply_filters( 'dokan_can_edit_product', $errors );
430
 
431
  if ( ! self::$errors ) {
@@ -437,7 +453,7 @@ class Products {
437
  'post_status' => $post_status,
438
  'comment_status' => isset( $postdata['_enable_reviews'] ) ? 'open' : 'closed',
439
  ) );
440
-
441
  if ( $post_slug ) {
442
  $product_info['post_name'] = wp_unique_post_slug( $post_slug, $post_id, $post_status, 'product', 0 );
443
  }
426
  $errors[] = __( 'I swear this is not your product!', 'dokan-lite' );
427
  }
428
 
429
+ if ( isset( $postdata['product_tag'] ) ) {
430
+ /**
431
+ * Filter of maximun a vendor can add tags.
432
+ *
433
+ * @since 3.3.7
434
+ *
435
+ * @param integer default -1
436
+ */
437
+ $maximum_tags_select_length = apply_filters( 'dokan_product_tags_select_max_length', -1 );
438
+
439
+ // Setting limitation for how many product tags that vendor can input.
440
+ if ( $maximum_tags_select_length !== -1 && count( $postdata['product_tag'] ) !== 0 && count( $postdata['product_tag'] ) > $maximum_tags_select_length ) {
441
+ $errors[] = sprintf( __( 'You can only select %s tags', 'dokan-lite' ), number_format_i18n( $maximum_tags_select_length ) );
442
+ }
443
+ }
444
+
445
  self::$errors = apply_filters( 'dokan_can_edit_product', $errors );
446
 
447
  if ( ! self::$errors ) {
453
  'post_status' => $post_status,
454
  'comment_status' => isset( $postdata['_enable_reviews'] ) ? 'open' : 'closed',
455
  ) );
456
+
457
  if ( $post_slug ) {
458
  $product_info['post_name'] = wp_unique_post_slug( $post_slug, $post_id, $post_status, 'product', 0 );
459
  }
includes/Dashboard/Templates/Settings.php CHANGED
@@ -607,6 +607,8 @@ class Settings {
607
 
608
  $dokan_settings = array_merge( $prev_dokan_settings, $dokan_settings );
609
 
 
 
610
  update_user_meta( $store_id, 'dokan_profile_settings', $dokan_settings );
611
 
612
  do_action( 'dokan_store_profile_saved', $store_id, $dokan_settings );
607
 
608
  $dokan_settings = array_merge( $prev_dokan_settings, $dokan_settings );
609
 
610
+ $dokan_settings = apply_filters( 'dokan_store_profile_settings_args', $dokan_settings, $store_id );
611
+
612
  update_user_meta( $store_id, 'dokan_profile_settings', $dokan_settings );
613
 
614
  do_action( 'dokan_store_profile_saved', $store_id, $dokan_settings );
includes/Product/Hooks.php CHANGED
@@ -21,6 +21,7 @@ class Hooks {
21
  add_action( 'dokan_bulk_product_status_change', [ $this, 'bulk_product_delete' ], 10, 2 );
22
  add_action( 'dokan_store_profile_frame_after', [ $this, 'store_products_orderby' ], 10, 2 );
23
  add_action( 'wp_ajax_dokan_store_product_search_action', [ $this, 'store_product_search_action' ], 10, 2 );
 
24
  }
25
 
26
  /**
21
  add_action( 'dokan_bulk_product_status_change', [ $this, 'bulk_product_delete' ], 10, 2 );
22
  add_action( 'dokan_store_profile_frame_after', [ $this, 'store_products_orderby' ], 10, 2 );
23
  add_action( 'wp_ajax_dokan_store_product_search_action', [ $this, 'store_product_search_action' ], 10, 2 );
24
+ add_action( 'wp_ajax_nopriv_dokan_store_product_search_action', [ $this, 'store_product_search_action' ], 10, 2 );
25
  }
26
 
27
  /**
includes/Product/functions.php CHANGED
@@ -98,6 +98,21 @@ function dokan_save_product( $args ) {
98
  }
99
 
100
  if ( isset( $data['product_tag'] ) ) {
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
101
  $post_data['tags'] = array_map( 'absint', (array) $data['product_tag'] );
102
  }
103
 
98
  }
99
 
100
  if ( isset( $data['product_tag'] ) ) {
101
+ /**
102
+ * Filter of maximun a vendor can add tags.
103
+ *
104
+ * @since 3.3.7
105
+ *
106
+ * @param integer default -1
107
+ */
108
+ $maximum_tags_select_length = apply_filters( 'dokan_product_tags_select_max_length', -1 );
109
+
110
+ // Setting limitation for how many product tags that vendor can input.
111
+ if ( $maximum_tags_select_length !== -1 && count( $data['product_tag'] ) !== 0 && count( $data['product_tag'] ) > $maximum_tags_select_length ) {
112
+ /* translators: %s: maximum tag length */
113
+ return new WP_Error( 'tags-limit', sprintf( __( 'You can only select %s tags', 'dokan-lite' ), number_format_i18n( $maximum_tags_select_length ) ) );
114
+ }
115
+
116
  $post_data['tags'] = array_map( 'absint', (array) $data['product_tag'] );
117
  }
118
 
includes/functions.php CHANGED
@@ -2968,8 +2968,8 @@ function dokan_get_all_caps() {
2968
  'dokan_manage_order' => __( 'Manage order', 'dokan-lite' ),
2969
  'dokan_manage_order_note' => __( 'Manage order note', 'dokan-lite' ),
2970
  'dokan_manage_refund' => __( 'Manage refund', 'dokan-lite' ),
 
2971
  ],
2972
-
2973
  'coupon' => [
2974
  'dokan_add_coupon' => __( 'Add coupon', 'dokan-lite' ),
2975
  'dokan_edit_coupon' => __( 'Edit coupon', 'dokan-lite' ),
@@ -3980,7 +3980,7 @@ function dokan_is_vendor_info_hidden( $option = null ) {
3980
  * Function current_datetime() compatibility for wp version < 5.3
3981
  *
3982
  * @since 3.1.1
3983
- * @throws Exception
3984
  * @return DateTimeImmutable
3985
  */
3986
  function dokan_current_datetime() {
@@ -4041,9 +4041,9 @@ function dokan_wp_timezone_string() {
4041
  *
4042
  * @param string|timestamp $date the date string or timestamp
4043
  * @param string|bool $format date format string or false for default WordPress date
 
4044
  * @since 3.1.1
4045
  *
4046
- * @throws Exception
4047
  * @return string|false The date, translated if locale specifies it. False on invalid timestamp input.
4048
  */
4049
  function dokan_format_date( $date = '', $format = false ) {
2968
  'dokan_manage_order' => __( 'Manage order', 'dokan-lite' ),
2969
  'dokan_manage_order_note' => __( 'Manage order note', 'dokan-lite' ),
2970
  'dokan_manage_refund' => __( 'Manage refund', 'dokan-lite' ),
2971
+ 'dokan_export_order' => __( 'Export order', 'dokan-lite' ),
2972
  ],
 
2973
  'coupon' => [
2974
  'dokan_add_coupon' => __( 'Add coupon', 'dokan-lite' ),
2975
  'dokan_edit_coupon' => __( 'Edit coupon', 'dokan-lite' ),
3980
  * Function current_datetime() compatibility for wp version < 5.3
3981
  *
3982
  * @since 3.1.1
3983
+ *
3984
  * @return DateTimeImmutable
3985
  */
3986
  function dokan_current_datetime() {
4041
  *
4042
  * @param string|timestamp $date the date string or timestamp
4043
  * @param string|bool $format date format string or false for default WordPress date
4044
+ *
4045
  * @since 3.1.1
4046
  *
 
4047
  * @return string|false The date, translated if locale specifies it. False on invalid timestamp input.
4048
  */
4049
  function dokan_format_date( $date = '', $format = false ) {
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.2.12\n"
6
  "Report-Msgid-Bugs-To: https://wedevs.com/contact/\n"
7
- "POT-Creation-Date: 2021-09-13 04:05:52+00:00\n"
8
  "MIME-Version: 1.0\n"
9
  "Content-Type: text/plain; charset=utf-8\n"
10
  "Content-Transfer-Encoding: 8bit\n"
@@ -135,7 +135,7 @@ msgid "Visit Vendor Dashboard"
135
  msgstr ""
136
 
137
  #: includes/Admin/Hooks.php:64 includes/Admin/Hooks.php:70
138
- #: includes/Admin/Hooks.php:357 includes/Admin/Hooks.php:379
139
  #: includes/Admin/Settings.php:417 includes/Admin/Settings.php:428
140
  #: includes/Admin/SetupWizard.php:345 includes/Install/Installer.php:93
141
  #: includes/wc-template.php:17 includes/wc-template.php:167
@@ -152,23 +152,23 @@ msgstr ""
152
  msgid "Sub Order"
153
  msgstr ""
154
 
155
- #: includes/Admin/Hooks.php:119
156
  msgid "&nbsp;Sub Order of"
157
  msgstr ""
158
 
159
- #: includes/Admin/Hooks.php:129
160
  msgid "Show Sub-Orders"
161
  msgstr ""
162
 
163
- #: includes/Admin/Hooks.php:129
164
  msgid "Hide Sub-Orders"
165
  msgstr ""
166
 
167
- #: includes/Admin/Hooks.php:139
168
  msgid "(no name)"
169
  msgstr ""
170
 
171
- #: includes/Admin/Hooks.php:328
172
  msgid "Toggle Sub-orders"
173
  msgstr ""
174
 
@@ -884,7 +884,7 @@ msgid "Payment"
884
  msgstr ""
885
 
886
  #: includes/Admin/SetupWizardNoWC.php:182
887
- #: includes/Admin/SetupWizardWCAdmin.php:84 includes/Product/functions.php:205
888
  #: src/admin/pages/VendorCapabilities.vue:59
889
  msgid "Shipping"
890
  msgstr ""
@@ -1225,7 +1225,7 @@ msgstr ""
1225
  msgid "Delete"
1226
  msgstr ""
1227
 
1228
- #: includes/Ajax.php:520 includes/Product/Hooks.php:35
1229
  #: includes/Vendor/UserSwitch.php:122
1230
  msgid "Error: Nonce verification failed"
1231
  msgstr ""
@@ -1256,7 +1256,7 @@ msgstr ""
1256
  msgid "id param is required"
1257
  msgstr ""
1258
 
1259
- #: includes/Assets.php:424 includes/Product/functions.php:469
1260
  msgid "Are you sure?"
1261
  msgstr ""
1262
 
@@ -1264,113 +1264,113 @@ msgstr ""
1264
  msgid "Something went wrong. Please try again."
1265
  msgstr ""
1266
 
1267
- #: includes/Assets.php:516
1268
  msgid "This field is required"
1269
  msgstr ""
1270
 
1271
- #: includes/Assets.php:517
1272
  msgid "Please fix this field."
1273
  msgstr ""
1274
 
1275
- #: includes/Assets.php:518
1276
  msgid "Please enter a valid email address."
1277
  msgstr ""
1278
 
1279
- #: includes/Assets.php:519
1280
  msgid "Please enter a valid URL."
1281
  msgstr ""
1282
 
1283
- #: includes/Assets.php:520
1284
  msgid "Please enter a valid date."
1285
  msgstr ""
1286
 
1287
- #: includes/Assets.php:521
1288
  msgid "Please enter a valid date (ISO)."
1289
  msgstr ""
1290
 
1291
- #: includes/Assets.php:522
1292
  msgid "Please enter a valid number."
1293
  msgstr ""
1294
 
1295
- #: includes/Assets.php:523
1296
  msgid "Please enter only digits."
1297
  msgstr ""
1298
 
1299
- #: includes/Assets.php:524
1300
  msgid "Please enter a valid credit card number."
1301
  msgstr ""
1302
 
1303
- #: includes/Assets.php:525
1304
  msgid "Please enter the same value again."
1305
  msgstr ""
1306
 
1307
- #: includes/Assets.php:526
1308
  msgid "Please enter no more than {0} characters."
1309
  msgstr ""
1310
 
1311
- #: includes/Assets.php:527
1312
  msgid "Please enter at least {0} characters."
1313
  msgstr ""
1314
 
1315
- #: includes/Assets.php:528
1316
  msgid "Please enter a value between {0} and {1} characters long."
1317
  msgstr ""
1318
 
1319
- #: includes/Assets.php:529
1320
  msgid "Please enter a value between {0} and {1}."
1321
  msgstr ""
1322
 
1323
- #: includes/Assets.php:530
1324
  msgid "Please enter a value less than or equal to {0}."
1325
  msgstr ""
1326
 
1327
- #: includes/Assets.php:531
1328
  msgid "Please enter a value greater than or equal to {0}."
1329
  msgstr ""
1330
 
1331
- #: includes/Assets.php:653
1332
  msgid "Upload featured image"
1333
  msgstr ""
1334
 
1335
- #: includes/Assets.php:654
1336
  msgid "Choose a file"
1337
  msgstr ""
1338
 
1339
- #: includes/Assets.php:655
1340
  msgid "Add Images to Product Gallery"
1341
  msgstr ""
1342
 
1343
- #: includes/Assets.php:656
1344
  msgid "Set featured image"
1345
  msgstr ""
1346
 
1347
- #: includes/Assets.php:657 includes/woo-views/html-product-download.php:8
1348
  msgid "Insert file URL"
1349
  msgstr ""
1350
 
1351
- #: includes/Assets.php:658
1352
  msgid "Add to gallery"
1353
  msgstr ""
1354
 
1355
- #: includes/Assets.php:659
1356
  msgid "Sorry, this attribute option already exists, Try a different one."
1357
  msgstr ""
1358
 
1359
- #: includes/Assets.php:660
1360
  msgid ""
1361
  "Warning! This product will not have any variations if this option is not "
1362
  "checked."
1363
  msgstr ""
1364
 
1365
- #: includes/Assets.php:661
1366
  msgid "Enter a name for the new attribute term:"
1367
  msgstr ""
1368
 
1369
- #: includes/Assets.php:662
1370
  msgid "Remove this attribute?"
1371
  msgstr ""
1372
 
1373
- #: includes/Assets.php:671
1374
  #. translators: %d: max linked variation.
1375
  msgid ""
1376
  "Are you sure you want to link all variations? This will create a new "
@@ -1378,185 +1378,185 @@ msgid ""
1378
  "(max %d per run)."
1379
  msgstr ""
1380
 
1381
- #: includes/Assets.php:672
1382
  msgid "Enter a value"
1383
  msgstr ""
1384
 
1385
- #: includes/Assets.php:673
1386
  msgid "Variation menu order (determines position in the list of variations)"
1387
  msgstr ""
1388
 
1389
- #: includes/Assets.php:674
1390
  msgid "Enter a value (fixed or %)"
1391
  msgstr ""
1392
 
1393
- #: includes/Assets.php:675
1394
  msgid "Are you sure you want to delete all variations? This cannot be undone."
1395
  msgstr ""
1396
 
1397
- #: includes/Assets.php:676
1398
  msgid "Last warning, are you sure?"
1399
  msgstr ""
1400
 
1401
- #: includes/Assets.php:677
1402
  msgid "Choose an image"
1403
  msgstr ""
1404
 
1405
- #: includes/Assets.php:678
1406
  msgid "Set variation image"
1407
  msgstr ""
1408
 
1409
- #: includes/Assets.php:679
1410
  msgid "variation added"
1411
  msgstr ""
1412
 
1413
- #: includes/Assets.php:680
1414
  msgid "variations added"
1415
  msgstr ""
1416
 
1417
- #: includes/Assets.php:681
1418
  msgid "No variations added"
1419
  msgstr ""
1420
 
1421
- #: includes/Assets.php:682
1422
  msgid "Are you sure you want to remove this variation?"
1423
  msgstr ""
1424
 
1425
- #: includes/Assets.php:683
1426
  msgid "Sale start date (YYYY-MM-DD format or leave blank)"
1427
  msgstr ""
1428
 
1429
- #: includes/Assets.php:684
1430
  msgid "Sale end date (YYYY-MM-DD format or leave blank)"
1431
  msgstr ""
1432
 
1433
- #: includes/Assets.php:685
1434
  msgid "Save changes before changing page?"
1435
  msgstr ""
1436
 
1437
- #: includes/Assets.php:686
1438
  msgid "%qty% variation"
1439
  msgstr ""
1440
 
1441
- #: includes/Assets.php:687
1442
  msgid "%qty% variations"
1443
  msgstr ""
1444
 
1445
- #: includes/Assets.php:688
1446
  msgid "No Result Found"
1447
  msgstr ""
1448
 
1449
- #: includes/Assets.php:689
1450
  msgid "Please insert value less than the regular price!"
1451
  msgstr ""
1452
 
1453
- #: includes/Assets.php:691 includes/Assets.php:862
1454
  #. translators: %s: decimal
1455
  msgid "Please enter with one decimal point (%s) without thousand separators."
1456
  msgstr ""
1457
 
1458
- #: includes/Assets.php:693 includes/Assets.php:864
1459
  #. translators: %s: price decimal separator
1460
  msgid ""
1461
  "Please enter with one monetary decimal point (%s) without thousand "
1462
  "separators and currency symbols."
1463
  msgstr ""
1464
 
1465
- #: includes/Assets.php:694 includes/Assets.php:865
1466
  msgid "Please enter in country code with two capital letters."
1467
  msgstr ""
1468
 
1469
- #: includes/Assets.php:695 includes/Assets.php:866
1470
  msgid "Please enter in a value less than the regular price."
1471
  msgstr ""
1472
 
1473
- #: includes/Assets.php:696 includes/Assets.php:867
1474
  msgid ""
1475
  "This product has produced sales and may be linked to existing orders. Are "
1476
  "you sure you want to delete it?"
1477
  msgstr ""
1478
 
1479
- #: includes/Assets.php:697 includes/Assets.php:868
1480
  msgid ""
1481
  "This action cannot be reversed. Are you sure you wish to erase personal "
1482
  "data from the selected orders?"
1483
  msgstr ""
1484
 
1485
- #: includes/Assets.php:707
1486
  msgid "Select and Crop"
1487
  msgstr ""
1488
 
1489
- #: includes/Assets.php:708
1490
  msgid "Choose Image"
1491
  msgstr ""
1492
 
1493
- #: includes/Assets.php:709
1494
  msgid "Product title is required"
1495
  msgstr ""
1496
 
1497
- #: includes/Assets.php:710
1498
  msgid "Product category is required"
1499
  msgstr ""
1500
 
1501
- #: includes/Assets.php:711
1502
  msgid "Product created successfully"
1503
  msgstr ""
1504
 
1505
- #: includes/Assets.php:715
1506
  msgid "One result is available, press enter to select it."
1507
  msgstr ""
1508
 
1509
- #: includes/Assets.php:716
1510
  msgid "%qty% results are available, use up and down arrow keys to navigate."
1511
  msgstr ""
1512
 
1513
- #: includes/Assets.php:717
1514
  msgid "No matches found"
1515
  msgstr ""
1516
 
1517
- #: includes/Assets.php:718
1518
  msgid "Loading failed"
1519
  msgstr ""
1520
 
1521
- #: includes/Assets.php:719
1522
  msgid "Please enter 1 or more characters"
1523
  msgstr ""
1524
 
1525
- #: includes/Assets.php:720
1526
  msgid "Please enter %qty% or more characters"
1527
  msgstr ""
1528
 
1529
- #: includes/Assets.php:721
1530
  msgid "Please delete 1 character"
1531
  msgstr ""
1532
 
1533
- #: includes/Assets.php:722
1534
  msgid "Please delete %qty% characters"
1535
  msgstr ""
1536
 
1537
- #: includes/Assets.php:723
1538
  msgid "You can only select 1 item"
1539
  msgstr ""
1540
 
1541
- #: includes/Assets.php:724
1542
  msgid "You can only select %qty% items"
1543
  msgstr ""
1544
 
1545
- #: includes/Assets.php:725
1546
  msgid "Loading more results&hellip;"
1547
  msgstr ""
1548
 
1549
- #: includes/Assets.php:726
1550
  msgid "Searching&hellip;"
1551
  msgstr ""
1552
 
1553
- #: includes/Assets.php:727
1554
  msgid "OK"
1555
  msgstr ""
1556
 
1557
- #: includes/Assets.php:728 includes/Product/functions.php:282
1558
  #: templates/my-orders.php:83 templates/orders/details.php:204
1559
- #: templates/products/new-product-single.php:222
1560
  #: templates/products/new-product.php:170
1561
  #: templates/products/tmpl-add-product-popup.php:68
1562
  #: templates/store-lists-filter.php:83
@@ -1565,7 +1565,11 @@ msgstr ""
1565
  msgid "Cancel"
1566
  msgstr ""
1567
 
1568
- #: includes/Assets.php:730
 
 
 
 
1569
  msgid ""
1570
  "Are you sure? You have uploaded banner but didn't click the Update Settings "
1571
  "button!"
@@ -1709,7 +1713,7 @@ msgid "Bulk Actions"
1709
  msgstr ""
1710
 
1711
  #: includes/Dashboard/Templates/Products.php:214
1712
- #: includes/Product/functions.php:459
1713
  msgid "Delete Permanently"
1714
  msgstr ""
1715
 
@@ -1744,6 +1748,12 @@ msgstr ""
1744
  msgid "I swear this is not your product!"
1745
  msgstr ""
1746
 
 
 
 
 
 
 
1747
  #: includes/Dashboard/Templates/Settings.php:62
1748
  msgid "Payment Settings"
1749
  msgstr ""
@@ -1790,15 +1800,15 @@ msgstr ""
1790
  msgid "Address field for %s is required"
1791
  msgstr ""
1792
 
1793
- #: includes/Dashboard/Templates/Settings.php:628
1794
  msgid "Book"
1795
  msgstr ""
1796
 
1797
- #: includes/Dashboard/Templates/Settings.php:629
1798
  msgid "Dress"
1799
  msgstr ""
1800
 
1801
- #: includes/Dashboard/Templates/Settings.php:630
1802
  msgid "Electronic"
1803
  msgstr ""
1804
 
@@ -2686,24 +2696,24 @@ msgstr ""
2686
  msgid "Vendor %s data is removed."
2687
  msgstr ""
2688
 
2689
- #: includes/Product/Hooks.php:42
2690
  msgid "Products not found with this search"
2691
  msgstr ""
2692
 
2693
- #: includes/Product/Hooks.php:130
2694
  msgid "SKU:"
2695
  msgstr ""
2696
 
2697
- #: includes/Product/Hooks.php:167
2698
  msgid "Enter product name"
2699
  msgstr ""
2700
 
2701
- #: includes/Product/Hooks.php:169 includes/Product/functions.php:335
2702
  #: templates/products/listing-filter.php:68
2703
  msgid "Search"
2704
  msgstr ""
2705
 
2706
- #: includes/Product/Hooks.php:172
2707
  msgid "Shop order"
2708
  msgstr ""
2709
 
@@ -2711,25 +2721,25 @@ msgstr ""
2711
  msgid "No product ID found for updating"
2712
  msgstr ""
2713
 
2714
- #: includes/Product/functions.php:174
2715
  msgid ""
2716
  "Before you can add a variation you need to add some variation attributes on "
2717
  "the <strong>Attributes</strong> section"
2718
  msgstr ""
2719
 
2720
- #: includes/Product/functions.php:184
2721
  msgid "Add variation"
2722
  msgstr ""
2723
 
2724
- #: includes/Product/functions.php:185
2725
  msgid "Create variations from all attributes"
2726
  msgstr ""
2727
 
2728
- #: includes/Product/functions.php:186
2729
  msgid "Delete all variations"
2730
  msgstr ""
2731
 
2732
- #: includes/Product/functions.php:187 templates/my-orders.php:29
2733
  #: templates/orders/listing.php:57 templates/orders/listing.php:92
2734
  #: templates/products/products-listing-row.php:58
2735
  #: templates/products/products-listing.php:100 templates/sub-orders.php:42
@@ -2737,198 +2747,198 @@ msgstr ""
2737
  msgid "Status"
2738
  msgstr ""
2739
 
2740
- #: includes/Product/functions.php:188
2741
  msgid "Toggle &quot;Enabled&quot;"
2742
  msgstr ""
2743
 
2744
- #: includes/Product/functions.php:189
2745
  msgid "Toggle &quot;Downloadable&quot;"
2746
  msgstr ""
2747
 
2748
- #: includes/Product/functions.php:190
2749
  msgid "Toggle &quot;Virtual&quot;"
2750
  msgstr ""
2751
 
2752
- #: includes/Product/functions.php:192
2753
  msgid "Pricing"
2754
  msgstr ""
2755
 
2756
- #: includes/Product/functions.php:193
2757
  msgid "Set regular prices"
2758
  msgstr ""
2759
 
2760
- #: includes/Product/functions.php:194
2761
  msgid "Increase regular prices (fixed amount or percentage)"
2762
  msgstr ""
2763
 
2764
- #: includes/Product/functions.php:195
2765
  msgid "Decrease regular prices (fixed amount or percentage)"
2766
  msgstr ""
2767
 
2768
- #: includes/Product/functions.php:196
2769
  msgid "Set sale prices"
2770
  msgstr ""
2771
 
2772
- #: includes/Product/functions.php:197
2773
  msgid "Increase sale prices (fixed amount or percentage)"
2774
  msgstr ""
2775
 
2776
- #: includes/Product/functions.php:198
2777
  msgid "Decrease sale prices (fixed amount or percentage)"
2778
  msgstr ""
2779
 
2780
- #: includes/Product/functions.php:199
2781
  msgid "Set scheduled sale dates"
2782
  msgstr ""
2783
 
2784
- #: includes/Product/functions.php:201 templates/products/inventory.php:3
2785
  msgid "Inventory"
2786
  msgstr ""
2787
 
2788
- #: includes/Product/functions.php:202
2789
  msgid "Toggle &quot;Manage stock&quot;"
2790
  msgstr ""
2791
 
2792
- #: includes/Product/functions.php:203
2793
  #: templates/products/products-listing-row.php:73
2794
  #: templates/products/products-listing.php:105
2795
  msgid "Stock"
2796
  msgstr ""
2797
 
2798
- #: includes/Product/functions.php:206
2799
  msgid "Length"
2800
  msgstr ""
2801
 
2802
- #: includes/Product/functions.php:207
2803
  msgid "Width"
2804
  msgstr ""
2805
 
2806
- #: includes/Product/functions.php:208
2807
  msgid "Height"
2808
  msgstr ""
2809
 
2810
- #: includes/Product/functions.php:209
2811
  msgid "Weight"
2812
  msgstr ""
2813
 
2814
- #: includes/Product/functions.php:211
2815
  msgid "Downloadable products"
2816
  msgstr ""
2817
 
2818
- #: includes/Product/functions.php:212
2819
  msgid "Download limit"
2820
  msgstr ""
2821
 
2822
- #: includes/Product/functions.php:213
2823
  msgid "Download expiry"
2824
  msgstr ""
2825
 
2826
- #: includes/Product/functions.php:217
2827
  msgid "Go"
2828
  msgstr ""
2829
 
2830
- #: includes/Product/functions.php:224
2831
  msgid ""
2832
  "Default Form Values: These are the attributes that will be pre-selected on "
2833
  "the frontend."
2834
  msgstr ""
2835
 
2836
- #: includes/Product/functions.php:242
2837
  msgid "No default"
2838
  msgstr ""
2839
 
2840
- #: includes/Product/functions.php:281
2841
  msgid "Save Variations"
2842
  msgstr ""
2843
 
2844
- #: includes/Product/functions.php:288
2845
  #. translators: number of items
2846
  msgid "%s item"
2847
  msgid_plural "%s items"
2848
  msgstr[0] ""
2849
  msgstr[1] ""
2850
 
2851
- #: includes/Product/functions.php:293
2852
  msgid "Expand"
2853
  msgstr ""
2854
 
2855
- #: includes/Product/functions.php:293 src/admin/components/ColorPicker.vue:31
2856
  #: src/upgrade/App.vue:49 templates/orders/details.php:361
2857
- #: templates/settings/store-form.php:262
2858
  msgid "Close"
2859
  msgstr ""
2860
 
2861
- #: includes/Product/functions.php:296
2862
  msgid "Go to the first page"
2863
  msgstr ""
2864
 
2865
- #: includes/Product/functions.php:297
2866
  msgid "Go to the previous page"
2867
  msgstr ""
2868
 
2869
- #: includes/Product/functions.php:299
2870
  msgid "Select Page"
2871
  msgstr ""
2872
 
2873
- #: includes/Product/functions.php:300
2874
  msgid "Current page"
2875
  msgstr ""
2876
 
2877
- #: includes/Product/functions.php:307
2878
  msgid "Go to the next page"
2879
  msgstr ""
2880
 
2881
- #: includes/Product/functions.php:308
2882
  msgid "Go to the last page"
2883
  msgstr ""
2884
 
2885
- #: includes/Product/functions.php:333
2886
  msgid "Visible"
2887
  msgstr ""
2888
 
2889
- #: includes/Product/functions.php:334
2890
  msgid "Catalog"
2891
  msgstr ""
2892
 
2893
- #: includes/Product/functions.php:336
2894
  #: templates/products/new-product-single.php:119
2895
  msgid "Hidden"
2896
  msgstr ""
2897
 
2898
- #: includes/Product/functions.php:451
2899
  msgid "Edit"
2900
  msgstr ""
2901
 
2902
- #: includes/Product/functions.php:475 templates/my-orders.php:88
2903
  #: templates/orders/listing.php:169 templates/sub-orders.php:82
2904
  msgid "View"
2905
  msgstr ""
2906
 
2907
- #: includes/Product/functions.php:564
2908
  msgid "Default sorting"
2909
  msgstr ""
2910
 
2911
- #: includes/Product/functions.php:565
2912
  msgid "Sort by popularity"
2913
  msgstr ""
2914
 
2915
- #: includes/Product/functions.php:566
2916
  msgid "Sort by average rating"
2917
  msgstr ""
2918
 
2919
- #: includes/Product/functions.php:567
2920
  msgid "Sort by latest"
2921
  msgstr ""
2922
 
2923
- #: includes/Product/functions.php:568
2924
  msgid "Sort by price: low to high"
2925
  msgstr ""
2926
 
2927
- #: includes/Product/functions.php:569
2928
  msgid "Sort by price: high to low"
2929
  msgstr ""
2930
 
2931
- #: includes/Product/functions.php:577
2932
  msgid "Relevance"
2933
  msgstr ""
2934
 
@@ -4131,11 +4141,11 @@ msgstr ""
4131
 
4132
  #: includes/Vendor/SetupWizard.php:230
4133
  #: src/admin/pages/VendorAccountFields.vue:70
4134
- #: templates/settings/store-form.php:159
4135
  msgid "Email"
4136
  msgstr ""
4137
 
4138
- #: includes/Vendor/SetupWizard.php:234 templates/settings/store-form.php:164
4139
  msgid "Show email address in store"
4140
  msgstr ""
4141
 
@@ -4222,11 +4232,11 @@ msgstr[1] ""
4222
  msgid "Rated %s out of %d"
4223
  msgstr ""
4224
 
4225
- #: includes/Vendor/Vendor.php:976 templates/settings/store-form.php:285
4226
  msgid "Store is open"
4227
  msgstr ""
4228
 
4229
- #: includes/Vendor/Vendor.php:990 templates/settings/store-form.php:293
4230
  msgid "Store is closed"
4231
  msgstr ""
4232
 
@@ -4461,7 +4471,7 @@ msgstr ""
4461
  msgid "Products"
4462
  msgstr ""
4463
 
4464
- #: includes/functions.php:1282 templates/settings/store-form.php:204
4465
  msgid "Terms and Conditions"
4466
  msgstr ""
4467
 
@@ -4626,6 +4636,10 @@ msgstr ""
4626
  msgid "Manage refund"
4627
  msgstr ""
4628
 
 
 
 
 
4629
  #: includes/functions.php:2974
4630
  msgid "Add coupon"
4631
  msgstr ""
@@ -6452,7 +6466,7 @@ msgstr ""
6452
 
6453
  #: templates/emails/vendor-completed-order.php:48
6454
  #: templates/emails/vendor-new-order.php:48
6455
- #: templates/products/new-product-single.php:200
6456
  #: templates/products/new-product.php:159
6457
  #: templates/products/products-listing-row.php:82
6458
  #: templates/products/products-listing.php:106
@@ -6635,11 +6649,11 @@ msgstr ""
6635
  msgid "Filter"
6636
  msgstr ""
6637
 
6638
- #: templates/orders/date-export.php:49
6639
  msgid "Export All"
6640
  msgstr ""
6641
 
6642
- #: templates/orders/date-export.php:50
6643
  msgid "Export Filtered"
6644
  msgstr ""
6645
 
@@ -7004,8 +7018,15 @@ msgstr ""
7004
  msgid "Allow only one quantity of this product to be bought in a single order"
7005
  msgstr ""
7006
 
 
 
 
 
 
 
 
7007
  #: templates/products/listing-filter.php:25
7008
- #: templates/products/new-product-single.php:271
7009
  #: templates/products/new-product.php:207
7010
  #: templates/products/tmpl-add-product-popup.php:102
7011
  msgid "- Select a category -"
@@ -7070,49 +7091,49 @@ msgstr ""
7070
  msgid "Please enter product title!"
7071
  msgstr ""
7072
 
7073
- #: templates/products/new-product-single.php:184
7074
  msgid "Product Type"
7075
  msgstr ""
7076
 
7077
- #: templates/products/new-product-single.php:184
7078
  msgid ""
7079
  "Choose Variable if your product has multiple attributes - like sizes, "
7080
  "colors, quality etc"
7081
  msgstr ""
7082
 
7083
- #: templates/products/new-product-single.php:205
7084
  msgid " You Earn : "
7085
  msgstr ""
7086
 
7087
- #: templates/products/new-product-single.php:214
7088
- #: templates/products/new-product-single.php:227
7089
  msgid "0.00"
7090
  msgstr ""
7091
 
7092
- #: templates/products/new-product-single.php:220
7093
  #: templates/products/new-product.php:168
7094
  #: templates/products/tmpl-add-product-popup.php:66
7095
  msgid "Discounted Price"
7096
  msgstr ""
7097
 
7098
- #: templates/products/new-product-single.php:221
7099
  #: templates/products/new-product.php:169
7100
  #: templates/products/tmpl-add-product-popup.php:67
7101
  msgid "Schedule"
7102
  msgstr ""
7103
 
7104
- #: templates/products/new-product-single.php:234
7105
  msgid "Product price can't be less than the vendor fee!"
7106
  msgstr ""
7107
 
7108
- #: templates/products/new-product-single.php:241
7109
  #: templates/products/new-product.php:183
7110
  #: templates/products/tmpl-add-product-popup.php:81
7111
  msgid "From"
7112
  msgstr ""
7113
 
7114
- #: templates/products/new-product-single.php:242
7115
- #: templates/products/new-product-single.php:249
7116
  #: templates/products/new-product.php:184
7117
  #: templates/products/new-product.php:191
7118
  #: templates/products/tmpl-add-product-popup.php:82
@@ -7120,72 +7141,72 @@ msgstr ""
7120
  msgid "YYYY-MM-DD"
7121
  msgstr ""
7122
 
7123
- #: templates/products/new-product-single.php:248
7124
  #: templates/products/new-product.php:190
7125
  #: templates/products/tmpl-add-product-popup.php:88
7126
  msgid "To"
7127
  msgstr ""
7128
 
7129
- #: templates/products/new-product-single.php:259
7130
- #: templates/products/new-product-single.php:293
7131
  msgid "Category"
7132
  msgstr ""
7133
 
7134
- #: templates/products/new-product-single.php:288
7135
  msgid "Please choose a category!"
7136
  msgstr ""
7137
 
7138
- #: templates/products/new-product-single.php:314
7139
  #: templates/products/new-product.php:249
7140
  #: templates/products/tmpl-add-product-popup.php:140
7141
  msgid "Select product category"
7142
  msgstr ""
7143
 
7144
- #: templates/products/new-product-single.php:320
7145
  #: templates/products/new-product.php:255
7146
  #: templates/products/tmpl-add-product-popup.php:146
7147
  msgid "Tags"
7148
  msgstr ""
7149
 
7150
- #: templates/products/new-product-single.php:325
7151
  #: templates/products/new-product.php:79
7152
  #: templates/products/tmpl-add-product-popup.php:19
7153
  msgid "Select tags/Add tags"
7154
  msgstr ""
7155
 
7156
- #: templates/products/new-product-single.php:325
7157
  #: templates/products/new-product.php:79
7158
  #: templates/products/tmpl-add-product-popup.php:19
7159
  msgid "Select product tags"
7160
  msgstr ""
7161
 
7162
- #: templates/products/new-product-single.php:362
7163
  #: templates/products/tmpl-add-product-popup.php:25
7164
  msgid "Upload a product cover image"
7165
  msgstr ""
7166
 
7167
- #: templates/products/new-product-single.php:393
7168
  #: templates/products/new-product.php:133
7169
  msgid "Delete image"
7170
  msgstr ""
7171
 
7172
- #: templates/products/new-product-single.php:399
7173
  #: templates/products/new-product.php:140
7174
  #: templates/products/tmpl-add-product-popup.php:39
7175
  msgid "Add gallery image"
7176
  msgstr ""
7177
 
7178
- #: templates/products/new-product-single.php:415
7179
  msgid "Short Description"
7180
  msgstr ""
7181
 
7182
- #: templates/products/new-product-single.php:420
7183
  #: templates/products/new-product.php:264
7184
  msgid "Description"
7185
  msgstr ""
7186
 
7187
- #: templates/products/new-product-single.php:436
7188
- #: templates/products/new-product-single.php:437
7189
  msgid "Save Product"
7190
  msgstr ""
7191
 
@@ -7264,10 +7285,6 @@ msgstr ""
7264
  msgid "External/Affiliate"
7265
  msgstr ""
7266
 
7267
- #: templates/products/products-listing-row.php:114
7268
- msgid "Simple"
7269
- msgstr ""
7270
-
7271
  #: templates/products/products-listing-row.php:117
7272
  msgid "Variable"
7273
  msgstr ""
@@ -7371,7 +7388,7 @@ msgid "State "
7371
  msgstr ""
7372
 
7373
  #: templates/settings/header.php:20 templates/settings/payment.php:45
7374
- #: templates/settings/store-form.php:303
7375
  msgid "Update Settings"
7376
  msgstr ""
7377
 
@@ -7395,51 +7412,51 @@ msgstr ""
7395
  msgid "store name"
7396
  msgstr ""
7397
 
7398
- #: templates/settings/store-form.php:148
7399
  msgid "Phone No"
7400
  msgstr ""
7401
 
7402
- #: templates/settings/store-form.php:150
7403
  msgid "+123456.."
7404
  msgstr ""
7405
 
7406
- #: templates/settings/store-form.php:171
7407
  msgid "More products"
7408
  msgstr ""
7409
 
7410
- #: templates/settings/store-form.php:176
7411
  msgid "Enable tab on product single page view"
7412
  msgstr ""
7413
 
7414
- #: templates/settings/store-form.php:184
7415
  msgid "Map"
7416
  msgstr ""
7417
 
7418
- #: templates/settings/store-form.php:208
7419
  msgid "Show terms and conditions in store page"
7420
  msgstr ""
7421
 
7422
- #: templates/settings/store-form.php:214
7423
  msgid "TOC Details"
7424
  msgstr ""
7425
 
7426
- #: templates/settings/store-form.php:234
7427
  msgid "Store Opening Closing Time"
7428
  msgstr ""
7429
 
7430
- #: templates/settings/store-form.php:241
7431
  msgid "Show store opening closing time widget in store page"
7432
  msgstr ""
7433
 
7434
- #: templates/settings/store-form.php:265 templates/store-lists-loop.php:45
7435
  msgid "Open"
7436
  msgstr ""
7437
 
7438
- #: templates/settings/store-form.php:282
7439
  msgid "Store Open Notice"
7440
  msgstr ""
7441
 
7442
- #: templates/settings/store-form.php:290
7443
  msgid "Store Close Notice"
7444
  msgstr ""
7445
 
@@ -7660,7 +7677,7 @@ msgctxt "enhanced select"
7660
  msgid "Searching&hellip;"
7661
  msgstr ""
7662
 
7663
- #: includes/Product/functions.php:305
7664
  msgctxt "number of pages"
7665
  msgid "of"
7666
  msgstr ""
2
  # This file is distributed under the GPL2.
3
  msgid ""
4
  msgstr ""
5
+ "Project-Id-Version: Dokan 3.2.13\n"
6
  "Report-Msgid-Bugs-To: https://wedevs.com/contact/\n"
7
+ "POT-Creation-Date: 2021-09-30 11:03:26+00:00\n"
8
  "MIME-Version: 1.0\n"
9
  "Content-Type: text/plain; charset=utf-8\n"
10
  "Content-Transfer-Encoding: 8bit\n"
135
  msgstr ""
136
 
137
  #: includes/Admin/Hooks.php:64 includes/Admin/Hooks.php:70
138
+ #: includes/Admin/Hooks.php:365 includes/Admin/Hooks.php:387
139
  #: includes/Admin/Settings.php:417 includes/Admin/Settings.php:428
140
  #: includes/Admin/SetupWizard.php:345 includes/Install/Installer.php:93
141
  #: includes/wc-template.php:17 includes/wc-template.php:167
152
  msgid "Sub Order"
153
  msgstr ""
154
 
155
+ #: includes/Admin/Hooks.php:124
156
  msgid "&nbsp;Sub Order of"
157
  msgstr ""
158
 
159
+ #: includes/Admin/Hooks.php:132
160
  msgid "Show Sub-Orders"
161
  msgstr ""
162
 
163
+ #: includes/Admin/Hooks.php:132
164
  msgid "Hide Sub-Orders"
165
  msgstr ""
166
 
167
+ #: includes/Admin/Hooks.php:143
168
  msgid "(no name)"
169
  msgstr ""
170
 
171
+ #: includes/Admin/Hooks.php:336
172
  msgid "Toggle Sub-orders"
173
  msgstr ""
174
 
884
  msgstr ""
885
 
886
  #: includes/Admin/SetupWizardNoWC.php:182
887
+ #: includes/Admin/SetupWizardWCAdmin.php:84 includes/Product/functions.php:220
888
  #: src/admin/pages/VendorCapabilities.vue:59
889
  msgid "Shipping"
890
  msgstr ""
1225
  msgid "Delete"
1226
  msgstr ""
1227
 
1228
+ #: includes/Ajax.php:520 includes/Product/Hooks.php:36
1229
  #: includes/Vendor/UserSwitch.php:122
1230
  msgid "Error: Nonce verification failed"
1231
  msgstr ""
1256
  msgid "id param is required"
1257
  msgstr ""
1258
 
1259
+ #: includes/Assets.php:424 includes/Product/functions.php:484
1260
  msgid "Are you sure?"
1261
  msgstr ""
1262
 
1264
  msgid "Something went wrong. Please try again."
1265
  msgstr ""
1266
 
1267
+ #: includes/Assets.php:524
1268
  msgid "This field is required"
1269
  msgstr ""
1270
 
1271
+ #: includes/Assets.php:525
1272
  msgid "Please fix this field."
1273
  msgstr ""
1274
 
1275
+ #: includes/Assets.php:526
1276
  msgid "Please enter a valid email address."
1277
  msgstr ""
1278
 
1279
+ #: includes/Assets.php:527
1280
  msgid "Please enter a valid URL."
1281
  msgstr ""
1282
 
1283
+ #: includes/Assets.php:528
1284
  msgid "Please enter a valid date."
1285
  msgstr ""
1286
 
1287
+ #: includes/Assets.php:529
1288
  msgid "Please enter a valid date (ISO)."
1289
  msgstr ""
1290
 
1291
+ #: includes/Assets.php:530
1292
  msgid "Please enter a valid number."
1293
  msgstr ""
1294
 
1295
+ #: includes/Assets.php:531
1296
  msgid "Please enter only digits."
1297
  msgstr ""
1298
 
1299
+ #: includes/Assets.php:532
1300
  msgid "Please enter a valid credit card number."
1301
  msgstr ""
1302
 
1303
+ #: includes/Assets.php:533
1304
  msgid "Please enter the same value again."
1305
  msgstr ""
1306
 
1307
+ #: includes/Assets.php:534
1308
  msgid "Please enter no more than {0} characters."
1309
  msgstr ""
1310
 
1311
+ #: includes/Assets.php:535
1312
  msgid "Please enter at least {0} characters."
1313
  msgstr ""
1314
 
1315
+ #: includes/Assets.php:536
1316
  msgid "Please enter a value between {0} and {1} characters long."
1317
  msgstr ""
1318
 
1319
+ #: includes/Assets.php:537
1320
  msgid "Please enter a value between {0} and {1}."
1321
  msgstr ""
1322
 
1323
+ #: includes/Assets.php:538
1324
  msgid "Please enter a value less than or equal to {0}."
1325
  msgstr ""
1326
 
1327
+ #: includes/Assets.php:539
1328
  msgid "Please enter a value greater than or equal to {0}."
1329
  msgstr ""
1330
 
1331
+ #: includes/Assets.php:661
1332
  msgid "Upload featured image"
1333
  msgstr ""
1334
 
1335
+ #: includes/Assets.php:662
1336
  msgid "Choose a file"
1337
  msgstr ""
1338
 
1339
+ #: includes/Assets.php:663
1340
  msgid "Add Images to Product Gallery"
1341
  msgstr ""
1342
 
1343
+ #: includes/Assets.php:664
1344
  msgid "Set featured image"
1345
  msgstr ""
1346
 
1347
+ #: includes/Assets.php:665 includes/woo-views/html-product-download.php:8
1348
  msgid "Insert file URL"
1349
  msgstr ""
1350
 
1351
+ #: includes/Assets.php:666
1352
  msgid "Add to gallery"
1353
  msgstr ""
1354
 
1355
+ #: includes/Assets.php:667
1356
  msgid "Sorry, this attribute option already exists, Try a different one."
1357
  msgstr ""
1358
 
1359
+ #: includes/Assets.php:668
1360
  msgid ""
1361
  "Warning! This product will not have any variations if this option is not "
1362
  "checked."
1363
  msgstr ""
1364
 
1365
+ #: includes/Assets.php:669
1366
  msgid "Enter a name for the new attribute term:"
1367
  msgstr ""
1368
 
1369
+ #: includes/Assets.php:670
1370
  msgid "Remove this attribute?"
1371
  msgstr ""
1372
 
1373
+ #: includes/Assets.php:679
1374
  #. translators: %d: max linked variation.
1375
  msgid ""
1376
  "Are you sure you want to link all variations? This will create a new "
1378
  "(max %d per run)."
1379
  msgstr ""
1380
 
1381
+ #: includes/Assets.php:680
1382
  msgid "Enter a value"
1383
  msgstr ""
1384
 
1385
+ #: includes/Assets.php:681
1386
  msgid "Variation menu order (determines position in the list of variations)"
1387
  msgstr ""
1388
 
1389
+ #: includes/Assets.php:682
1390
  msgid "Enter a value (fixed or %)"
1391
  msgstr ""
1392
 
1393
+ #: includes/Assets.php:683
1394
  msgid "Are you sure you want to delete all variations? This cannot be undone."
1395
  msgstr ""
1396
 
1397
+ #: includes/Assets.php:684
1398
  msgid "Last warning, are you sure?"
1399
  msgstr ""
1400
 
1401
+ #: includes/Assets.php:685
1402
  msgid "Choose an image"
1403
  msgstr ""
1404
 
1405
+ #: includes/Assets.php:686
1406
  msgid "Set variation image"
1407
  msgstr ""
1408
 
1409
+ #: includes/Assets.php:687
1410
  msgid "variation added"
1411
  msgstr ""
1412
 
1413
+ #: includes/Assets.php:688
1414
  msgid "variations added"
1415
  msgstr ""
1416
 
1417
+ #: includes/Assets.php:689
1418
  msgid "No variations added"
1419
  msgstr ""
1420
 
1421
+ #: includes/Assets.php:690
1422
  msgid "Are you sure you want to remove this variation?"
1423
  msgstr ""
1424
 
1425
+ #: includes/Assets.php:691
1426
  msgid "Sale start date (YYYY-MM-DD format or leave blank)"
1427
  msgstr ""
1428
 
1429
+ #: includes/Assets.php:692
1430
  msgid "Sale end date (YYYY-MM-DD format or leave blank)"
1431
  msgstr ""
1432
 
1433
+ #: includes/Assets.php:693
1434
  msgid "Save changes before changing page?"
1435
  msgstr ""
1436
 
1437
+ #: includes/Assets.php:694
1438
  msgid "%qty% variation"
1439
  msgstr ""
1440
 
1441
+ #: includes/Assets.php:695
1442
  msgid "%qty% variations"
1443
  msgstr ""
1444
 
1445
+ #: includes/Assets.php:696
1446
  msgid "No Result Found"
1447
  msgstr ""
1448
 
1449
+ #: includes/Assets.php:697
1450
  msgid "Please insert value less than the regular price!"
1451
  msgstr ""
1452
 
1453
+ #: includes/Assets.php:699 includes/Assets.php:871
1454
  #. translators: %s: decimal
1455
  msgid "Please enter with one decimal point (%s) without thousand separators."
1456
  msgstr ""
1457
 
1458
+ #: includes/Assets.php:701 includes/Assets.php:873
1459
  #. translators: %s: price decimal separator
1460
  msgid ""
1461
  "Please enter with one monetary decimal point (%s) without thousand "
1462
  "separators and currency symbols."
1463
  msgstr ""
1464
 
1465
+ #: includes/Assets.php:702 includes/Assets.php:874
1466
  msgid "Please enter in country code with two capital letters."
1467
  msgstr ""
1468
 
1469
+ #: includes/Assets.php:703 includes/Assets.php:875
1470
  msgid "Please enter in a value less than the regular price."
1471
  msgstr ""
1472
 
1473
+ #: includes/Assets.php:704 includes/Assets.php:876
1474
  msgid ""
1475
  "This product has produced sales and may be linked to existing orders. Are "
1476
  "you sure you want to delete it?"
1477
  msgstr ""
1478
 
1479
+ #: includes/Assets.php:705 includes/Assets.php:877
1480
  msgid ""
1481
  "This action cannot be reversed. Are you sure you wish to erase personal "
1482
  "data from the selected orders?"
1483
  msgstr ""
1484
 
1485
+ #: includes/Assets.php:715
1486
  msgid "Select and Crop"
1487
  msgstr ""
1488
 
1489
+ #: includes/Assets.php:716
1490
  msgid "Choose Image"
1491
  msgstr ""
1492
 
1493
+ #: includes/Assets.php:717
1494
  msgid "Product title is required"
1495
  msgstr ""
1496
 
1497
+ #: includes/Assets.php:718
1498
  msgid "Product category is required"
1499
  msgstr ""
1500
 
1501
+ #: includes/Assets.php:719
1502
  msgid "Product created successfully"
1503
  msgstr ""
1504
 
1505
+ #: includes/Assets.php:723
1506
  msgid "One result is available, press enter to select it."
1507
  msgstr ""
1508
 
1509
+ #: includes/Assets.php:724
1510
  msgid "%qty% results are available, use up and down arrow keys to navigate."
1511
  msgstr ""
1512
 
1513
+ #: includes/Assets.php:725
1514
  msgid "No matches found"
1515
  msgstr ""
1516
 
1517
+ #: includes/Assets.php:726
1518
  msgid "Loading failed"
1519
  msgstr ""
1520
 
1521
+ #: includes/Assets.php:727
1522
  msgid "Please enter 1 or more characters"
1523
  msgstr ""
1524
 
1525
+ #: includes/Assets.php:728
1526
  msgid "Please enter %qty% or more characters"
1527
  msgstr ""
1528
 
1529
+ #: includes/Assets.php:729
1530
  msgid "Please delete 1 character"
1531
  msgstr ""
1532
 
1533
+ #: includes/Assets.php:730
1534
  msgid "Please delete %qty% characters"
1535
  msgstr ""
1536
 
1537
+ #: includes/Assets.php:731
1538
  msgid "You can only select 1 item"
1539
  msgstr ""
1540
 
1541
+ #: includes/Assets.php:732
1542
  msgid "You can only select %qty% items"
1543
  msgstr ""
1544
 
1545
+ #: includes/Assets.php:733
1546
  msgid "Loading more results&hellip;"
1547
  msgstr ""
1548
 
1549
+ #: includes/Assets.php:734
1550
  msgid "Searching&hellip;"
1551
  msgstr ""
1552
 
1553
+ #: includes/Assets.php:735
1554
  msgid "OK"
1555
  msgstr ""
1556
 
1557
+ #: includes/Assets.php:736 includes/Product/functions.php:297
1558
  #: templates/my-orders.php:83 templates/orders/details.php:204
1559
+ #: templates/products/new-product-single.php:220
1560
  #: templates/products/new-product.php:170
1561
  #: templates/products/tmpl-add-product-popup.php:68
1562
  #: templates/store-lists-filter.php:83
1565
  msgid "Cancel"
1566
  msgstr ""
1567
 
1568
+ #: includes/Assets.php:737
1569
+ msgid "Attribute Name"
1570
+ msgstr ""
1571
+
1572
+ #: includes/Assets.php:739
1573
  msgid ""
1574
  "Are you sure? You have uploaded banner but didn't click the Update Settings "
1575
  "button!"
1713
  msgstr ""
1714
 
1715
  #: includes/Dashboard/Templates/Products.php:214
1716
+ #: includes/Product/functions.php:474
1717
  msgid "Delete Permanently"
1718
  msgstr ""
1719
 
1748
  msgid "I swear this is not your product!"
1749
  msgstr ""
1750
 
1751
+ #: includes/Dashboard/Templates/Products.php:441
1752
+ #: includes/Product/functions.php:113
1753
+ #. translators: %s: maximum tag length
1754
+ msgid "You can only select %s tags"
1755
+ msgstr ""
1756
+
1757
  #: includes/Dashboard/Templates/Settings.php:62
1758
  msgid "Payment Settings"
1759
  msgstr ""
1800
  msgid "Address field for %s is required"
1801
  msgstr ""
1802
 
1803
+ #: includes/Dashboard/Templates/Settings.php:630
1804
  msgid "Book"
1805
  msgstr ""
1806
 
1807
+ #: includes/Dashboard/Templates/Settings.php:631
1808
  msgid "Dress"
1809
  msgstr ""
1810
 
1811
+ #: includes/Dashboard/Templates/Settings.php:632
1812
  msgid "Electronic"
1813
  msgstr ""
1814
 
2696
  msgid "Vendor %s data is removed."
2697
  msgstr ""
2698
 
2699
+ #: includes/Product/Hooks.php:43
2700
  msgid "Products not found with this search"
2701
  msgstr ""
2702
 
2703
+ #: includes/Product/Hooks.php:131
2704
  msgid "SKU:"
2705
  msgstr ""
2706
 
2707
+ #: includes/Product/Hooks.php:168
2708
  msgid "Enter product name"
2709
  msgstr ""
2710
 
2711
+ #: includes/Product/Hooks.php:170 includes/Product/functions.php:350
2712
  #: templates/products/listing-filter.php:68
2713
  msgid "Search"
2714
  msgstr ""
2715
 
2716
+ #: includes/Product/Hooks.php:173
2717
  msgid "Shop order"
2718
  msgstr ""
2719
 
2721
  msgid "No product ID found for updating"
2722
  msgstr ""
2723
 
2724
+ #: includes/Product/functions.php:189
2725
  msgid ""
2726
  "Before you can add a variation you need to add some variation attributes on "
2727
  "the <strong>Attributes</strong> section"
2728
  msgstr ""
2729
 
2730
+ #: includes/Product/functions.php:199
2731
  msgid "Add variation"
2732
  msgstr ""
2733
 
2734
+ #: includes/Product/functions.php:200
2735
  msgid "Create variations from all attributes"
2736
  msgstr ""
2737
 
2738
+ #: includes/Product/functions.php:201
2739
  msgid "Delete all variations"
2740
  msgstr ""
2741
 
2742
+ #: includes/Product/functions.php:202 templates/my-orders.php:29
2743
  #: templates/orders/listing.php:57 templates/orders/listing.php:92
2744
  #: templates/products/products-listing-row.php:58
2745
  #: templates/products/products-listing.php:100 templates/sub-orders.php:42
2747
  msgid "Status"
2748
  msgstr ""
2749
 
2750
+ #: includes/Product/functions.php:203
2751
  msgid "Toggle &quot;Enabled&quot;"
2752
  msgstr ""
2753
 
2754
+ #: includes/Product/functions.php:204
2755
  msgid "Toggle &quot;Downloadable&quot;"
2756
  msgstr ""
2757
 
2758
+ #: includes/Product/functions.php:205
2759
  msgid "Toggle &quot;Virtual&quot;"
2760
  msgstr ""
2761
 
2762
+ #: includes/Product/functions.php:207
2763
  msgid "Pricing"
2764
  msgstr ""
2765
 
2766
+ #: includes/Product/functions.php:208
2767
  msgid "Set regular prices"
2768
  msgstr ""
2769
 
2770
+ #: includes/Product/functions.php:209
2771
  msgid "Increase regular prices (fixed amount or percentage)"
2772
  msgstr ""
2773
 
2774
+ #: includes/Product/functions.php:210
2775
  msgid "Decrease regular prices (fixed amount or percentage)"
2776
  msgstr ""
2777
 
2778
+ #: includes/Product/functions.php:211
2779
  msgid "Set sale prices"
2780
  msgstr ""
2781
 
2782
+ #: includes/Product/functions.php:212
2783
  msgid "Increase sale prices (fixed amount or percentage)"
2784
  msgstr ""
2785
 
2786
+ #: includes/Product/functions.php:213
2787
  msgid "Decrease sale prices (fixed amount or percentage)"
2788
  msgstr ""
2789
 
2790
+ #: includes/Product/functions.php:214
2791
  msgid "Set scheduled sale dates"
2792
  msgstr ""
2793
 
2794
+ #: includes/Product/functions.php:216 templates/products/inventory.php:3
2795
  msgid "Inventory"
2796
  msgstr ""
2797
 
2798
+ #: includes/Product/functions.php:217
2799
  msgid "Toggle &quot;Manage stock&quot;"
2800
  msgstr ""
2801
 
2802
+ #: includes/Product/functions.php:218
2803
  #: templates/products/products-listing-row.php:73
2804
  #: templates/products/products-listing.php:105
2805
  msgid "Stock"
2806
  msgstr ""
2807
 
2808
+ #: includes/Product/functions.php:221
2809
  msgid "Length"
2810
  msgstr ""
2811
 
2812
+ #: includes/Product/functions.php:222
2813
  msgid "Width"
2814
  msgstr ""
2815
 
2816
+ #: includes/Product/functions.php:223
2817
  msgid "Height"
2818
  msgstr ""
2819
 
2820
+ #: includes/Product/functions.php:224
2821
  msgid "Weight"
2822
  msgstr ""
2823
 
2824
+ #: includes/Product/functions.php:226
2825
  msgid "Downloadable products"
2826
  msgstr ""
2827
 
2828
+ #: includes/Product/functions.php:227
2829
  msgid "Download limit"
2830
  msgstr ""
2831
 
2832
+ #: includes/Product/functions.php:228
2833
  msgid "Download expiry"
2834
  msgstr ""
2835
 
2836
+ #: includes/Product/functions.php:232
2837
  msgid "Go"
2838
  msgstr ""
2839
 
2840
+ #: includes/Product/functions.php:239
2841
  msgid ""
2842
  "Default Form Values: These are the attributes that will be pre-selected on "
2843
  "the frontend."
2844
  msgstr ""
2845
 
2846
+ #: includes/Product/functions.php:257
2847
  msgid "No default"
2848
  msgstr ""
2849
 
2850
+ #: includes/Product/functions.php:296
2851
  msgid "Save Variations"
2852
  msgstr ""
2853
 
2854
+ #: includes/Product/functions.php:303
2855
  #. translators: number of items
2856
  msgid "%s item"
2857
  msgid_plural "%s items"
2858
  msgstr[0] ""
2859
  msgstr[1] ""
2860
 
2861
+ #: includes/Product/functions.php:308
2862
  msgid "Expand"
2863
  msgstr ""
2864
 
2865
+ #: includes/Product/functions.php:308 src/admin/components/ColorPicker.vue:31
2866
  #: src/upgrade/App.vue:49 templates/orders/details.php:361
2867
+ #: templates/settings/store-form.php:263
2868
  msgid "Close"
2869
  msgstr ""
2870
 
2871
+ #: includes/Product/functions.php:311
2872
  msgid "Go to the first page"
2873
  msgstr ""
2874
 
2875
+ #: includes/Product/functions.php:312
2876
  msgid "Go to the previous page"
2877
  msgstr ""
2878
 
2879
+ #: includes/Product/functions.php:314
2880
  msgid "Select Page"
2881
  msgstr ""
2882
 
2883
+ #: includes/Product/functions.php:315
2884
  msgid "Current page"
2885
  msgstr ""
2886
 
2887
+ #: includes/Product/functions.php:322
2888
  msgid "Go to the next page"
2889
  msgstr ""
2890
 
2891
+ #: includes/Product/functions.php:323
2892
  msgid "Go to the last page"
2893
  msgstr ""
2894
 
2895
+ #: includes/Product/functions.php:348
2896
  msgid "Visible"
2897
  msgstr ""
2898
 
2899
+ #: includes/Product/functions.php:349
2900
  msgid "Catalog"
2901
  msgstr ""
2902
 
2903
+ #: includes/Product/functions.php:351
2904
  #: templates/products/new-product-single.php:119
2905
  msgid "Hidden"
2906
  msgstr ""
2907
 
2908
+ #: includes/Product/functions.php:466
2909
  msgid "Edit"
2910
  msgstr ""
2911
 
2912
+ #: includes/Product/functions.php:490 templates/my-orders.php:88
2913
  #: templates/orders/listing.php:169 templates/sub-orders.php:82
2914
  msgid "View"
2915
  msgstr ""
2916
 
2917
+ #: includes/Product/functions.php:579
2918
  msgid "Default sorting"
2919
  msgstr ""
2920
 
2921
+ #: includes/Product/functions.php:580
2922
  msgid "Sort by popularity"
2923
  msgstr ""
2924
 
2925
+ #: includes/Product/functions.php:581
2926
  msgid "Sort by average rating"
2927
  msgstr ""
2928
 
2929
+ #: includes/Product/functions.php:582
2930
  msgid "Sort by latest"
2931
  msgstr ""
2932
 
2933
+ #: includes/Product/functions.php:583
2934
  msgid "Sort by price: low to high"
2935
  msgstr ""
2936
 
2937
+ #: includes/Product/functions.php:584
2938
  msgid "Sort by price: high to low"
2939
  msgstr ""
2940
 
2941
+ #: includes/Product/functions.php:592
2942
  msgid "Relevance"
2943
  msgstr ""
2944
 
4141
 
4142
  #: includes/Vendor/SetupWizard.php:230
4143
  #: src/admin/pages/VendorAccountFields.vue:70
4144
+ #: templates/settings/store-form.php:160
4145
  msgid "Email"
4146
  msgstr ""
4147
 
4148
+ #: includes/Vendor/SetupWizard.php:234 templates/settings/store-form.php:165
4149
  msgid "Show email address in store"
4150
  msgstr ""
4151
 
4232
  msgid "Rated %s out of %d"
4233
  msgstr ""
4234
 
4235
+ #: includes/Vendor/Vendor.php:976 templates/settings/store-form.php:286
4236
  msgid "Store is open"
4237
  msgstr ""
4238
 
4239
+ #: includes/Vendor/Vendor.php:990 templates/settings/store-form.php:294
4240
  msgid "Store is closed"
4241
  msgstr ""
4242
 
4471
  msgid "Products"
4472
  msgstr ""
4473
 
4474
+ #: includes/functions.php:1282 templates/settings/store-form.php:205
4475
  msgid "Terms and Conditions"
4476
  msgstr ""
4477
 
4636
  msgid "Manage refund"
4637
  msgstr ""
4638
 
4639
+ #: includes/functions.php:2971
4640
+ msgid "Export order"
4641
+ msgstr ""
4642
+
4643
  #: includes/functions.php:2974
4644
  msgid "Add coupon"
4645
  msgstr ""
6466
 
6467
  #: templates/emails/vendor-completed-order.php:48
6468
  #: templates/emails/vendor-new-order.php:48
6469
+ #: templates/products/new-product-single.php:198
6470
  #: templates/products/new-product.php:159
6471
  #: templates/products/products-listing-row.php:82
6472
  #: templates/products/products-listing.php:106
6649
  msgid "Filter"
6650
  msgstr ""
6651
 
6652
+ #: templates/orders/date-export.php:50
6653
  msgid "Export All"
6654
  msgstr ""
6655
 
6656
+ #: templates/orders/date-export.php:51
6657
  msgid "Export Filtered"
6658
  msgstr ""
6659
 
7018
  msgid "Allow only one quantity of this product to be bought in a single order"
7019
  msgstr ""
7020
 
7021
+ #: templates/products/listing-filter.php:12
7022
+ #: templates/products/new-product-single.php:176
7023
+ #: templates/products/products-listing-row.php:114
7024
+ #: templates/products/products-listing.php:118
7025
+ msgid "Simple"
7026
+ msgstr ""
7027
+
7028
  #: templates/products/listing-filter.php:25
7029
+ #: templates/products/new-product-single.php:269
7030
  #: templates/products/new-product.php:207
7031
  #: templates/products/tmpl-add-product-popup.php:102
7032
  msgid "- Select a category -"
7091
  msgid "Please enter product title!"
7092
  msgstr ""
7093
 
7094
+ #: templates/products/new-product-single.php:182
7095
  msgid "Product Type"
7096
  msgstr ""
7097
 
7098
+ #: templates/products/new-product-single.php:182
7099
  msgid ""
7100
  "Choose Variable if your product has multiple attributes - like sizes, "
7101
  "colors, quality etc"
7102
  msgstr ""
7103
 
7104
+ #: templates/products/new-product-single.php:203
7105
  msgid " You Earn : "
7106
  msgstr ""
7107
 
7108
+ #: templates/products/new-product-single.php:212
7109
+ #: templates/products/new-product-single.php:225
7110
  msgid "0.00"
7111
  msgstr ""
7112
 
7113
+ #: templates/products/new-product-single.php:218
7114
  #: templates/products/new-product.php:168
7115
  #: templates/products/tmpl-add-product-popup.php:66
7116
  msgid "Discounted Price"
7117
  msgstr ""
7118
 
7119
+ #: templates/products/new-product-single.php:219
7120
  #: templates/products/new-product.php:169
7121
  #: templates/products/tmpl-add-product-popup.php:67
7122
  msgid "Schedule"
7123
  msgstr ""
7124
 
7125
+ #: templates/products/new-product-single.php:232
7126
  msgid "Product price can't be less than the vendor fee!"
7127
  msgstr ""
7128
 
7129
+ #: templates/products/new-product-single.php:239
7130
  #: templates/products/new-product.php:183
7131
  #: templates/products/tmpl-add-product-popup.php:81
7132
  msgid "From"
7133
  msgstr ""
7134
 
7135
+ #: templates/products/new-product-single.php:240
7136
+ #: templates/products/new-product-single.php:247
7137
  #: templates/products/new-product.php:184
7138
  #: templates/products/new-product.php:191
7139
  #: templates/products/tmpl-add-product-popup.php:82
7141
  msgid "YYYY-MM-DD"
7142
  msgstr ""
7143
 
7144
+ #: templates/products/new-product-single.php:246
7145
  #: templates/products/new-product.php:190
7146
  #: templates/products/tmpl-add-product-popup.php:88
7147
  msgid "To"
7148
  msgstr ""
7149
 
7150
+ #: templates/products/new-product-single.php:257
7151
+ #: templates/products/new-product-single.php:291
7152
  msgid "Category"
7153
  msgstr ""
7154
 
7155
+ #: templates/products/new-product-single.php:286
7156
  msgid "Please choose a category!"
7157
  msgstr ""
7158
 
7159
+ #: templates/products/new-product-single.php:312
7160
  #: templates/products/new-product.php:249
7161
  #: templates/products/tmpl-add-product-popup.php:140
7162
  msgid "Select product category"
7163
  msgstr ""
7164
 
7165
+ #: templates/products/new-product-single.php:318
7166
  #: templates/products/new-product.php:255
7167
  #: templates/products/tmpl-add-product-popup.php:146
7168
  msgid "Tags"
7169
  msgstr ""
7170
 
7171
+ #: templates/products/new-product-single.php:323
7172
  #: templates/products/new-product.php:79
7173
  #: templates/products/tmpl-add-product-popup.php:19
7174
  msgid "Select tags/Add tags"
7175
  msgstr ""
7176
 
7177
+ #: templates/products/new-product-single.php:323
7178
  #: templates/products/new-product.php:79
7179
  #: templates/products/tmpl-add-product-popup.php:19
7180
  msgid "Select product tags"
7181
  msgstr ""
7182
 
7183
+ #: templates/products/new-product-single.php:360
7184
  #: templates/products/tmpl-add-product-popup.php:25
7185
  msgid "Upload a product cover image"
7186
  msgstr ""
7187
 
7188
+ #: templates/products/new-product-single.php:391
7189
  #: templates/products/new-product.php:133
7190
  msgid "Delete image"
7191
  msgstr ""
7192
 
7193
+ #: templates/products/new-product-single.php:397
7194
  #: templates/products/new-product.php:140
7195
  #: templates/products/tmpl-add-product-popup.php:39
7196
  msgid "Add gallery image"
7197
  msgstr ""
7198
 
7199
+ #: templates/products/new-product-single.php:413
7200
  msgid "Short Description"
7201
  msgstr ""
7202
 
7203
+ #: templates/products/new-product-single.php:418
7204
  #: templates/products/new-product.php:264
7205
  msgid "Description"
7206
  msgstr ""
7207
 
7208
+ #: templates/products/new-product-single.php:434
7209
+ #: templates/products/new-product-single.php:435
7210
  msgid "Save Product"
7211
  msgstr ""
7212
 
7285
  msgid "External/Affiliate"
7286
  msgstr ""
7287
 
 
 
 
 
7288
  #: templates/products/products-listing-row.php:117
7289
  msgid "Variable"
7290
  msgstr ""
7388
  msgstr ""
7389
 
7390
  #: templates/settings/header.php:20 templates/settings/payment.php:45
7391
+ #: templates/settings/store-form.php:304
7392
  msgid "Update Settings"
7393
  msgstr ""
7394
 
7412
  msgid "store name"
7413
  msgstr ""
7414
 
7415
+ #: templates/settings/store-form.php:149
7416
  msgid "Phone No"
7417
  msgstr ""
7418
 
7419
+ #: templates/settings/store-form.php:151
7420
  msgid "+123456.."
7421
  msgstr ""
7422
 
7423
+ #: templates/settings/store-form.php:172
7424
  msgid "More products"
7425
  msgstr ""
7426
 
7427
+ #: templates/settings/store-form.php:177
7428
  msgid "Enable tab on product single page view"
7429
  msgstr ""
7430
 
7431
+ #: templates/settings/store-form.php:185
7432
  msgid "Map"
7433
  msgstr ""
7434
 
7435
+ #: templates/settings/store-form.php:209
7436
  msgid "Show terms and conditions in store page"
7437
  msgstr ""
7438
 
7439
+ #: templates/settings/store-form.php:215
7440
  msgid "TOC Details"
7441
  msgstr ""
7442
 
7443
+ #: templates/settings/store-form.php:235
7444
  msgid "Store Opening Closing Time"
7445
  msgstr ""
7446
 
7447
+ #: templates/settings/store-form.php:242
7448
  msgid "Show store opening closing time widget in store page"
7449
  msgstr ""
7450
 
7451
+ #: templates/settings/store-form.php:266 templates/store-lists-loop.php:45
7452
  msgid "Open"
7453
  msgstr ""
7454
 
7455
+ #: templates/settings/store-form.php:283
7456
  msgid "Store Open Notice"
7457
  msgstr ""
7458
 
7459
+ #: templates/settings/store-form.php:291
7460
  msgid "Store Close Notice"
7461
  msgstr ""
7462
 
7677
  msgid "Searching&hellip;"
7678
  msgstr ""
7679
 
7680
+ #: includes/Product/functions.php:320
7681
  msgctxt "number of pages"
7682
  msgid "of"
7683
  msgstr ""
readme.txt CHANGED
@@ -5,9 +5,9 @@ Tags: WooCommerce multivendor marketplace, multi vendor marketplace, multi selle
5
  Requires at least: 4.4
6
  Tested up to: 5.8.1
7
  WC requires at least: 3.0
8
- WC tested up to: 5.6.0
9
  Requires PHP: 5.6
10
- Stable tag: 3.2.12
11
  License: GPLv2 or later
12
  License URI: http://www.gnu.org/licenses/gpl-2.0.html
13
 
@@ -292,6 +292,14 @@ A. Just install and activate the PRO version without deleting the free plugin. A
292
 
293
  == Changelog ==
294
 
 
 
 
 
 
 
 
 
295
  = v3.2.12 ( Sep 13, 2021 ) =
296
 
297
  - ***new*** Withdraw details keep save as log
5
  Requires at least: 4.4
6
  Tested up to: 5.8.1
7
  WC requires at least: 3.0
8
+ WC tested up to: 5.7.1
9
  Requires PHP: 5.6
10
+ Stable tag: 3.2.13
11
  License: GPLv2 or later
12
  License URI: http://www.gnu.org/licenses/gpl-2.0.html
13
 
292
 
293
  == Changelog ==
294
 
295
+ = v3.2.13 ( Sep 30, 2021 ) =
296
+
297
+ **fix:** fixed warning on product listing page due to filter data type mismatch
298
+ **update:** added dynamic filter named: dokan_manage_shop_order_custom_columns_%s hook under shop_order_custom_columns method
299
+ **feat:** Set limitation for how many product tags that vendor can input, admin can set tag limit via filter hook: dokan_product_tags_select_max_length
300
+ **fix:** fixed localization issue on attribute label
301
+ **fix:** fixed Single store product search not working for logged out users
302
+
303
  = v3.2.12 ( Sep 13, 2021 ) =
304
 
305
  - ***new*** Withdraw details keep save as log
templates/orders/date-export.php CHANGED
@@ -41,17 +41,19 @@ $order_status = isset( $_GET['order_status'] ) ? sanitize_key( $_GET['order_stat
41
  </div>
42
  </form>
43
 
44
- <form action="" method="POST" class="dokan-right">
45
- <div class="dokan-form-group">
46
- <?php
47
- wp_nonce_field( 'dokan_vendor_order_export_action', 'dokan_vendor_order_export_nonce' );
48
- ?>
49
- <input type="submit" name="dokan_order_export_all" class="dokan-btn dokan-btn-sm dokan-btn-danger dokan-btn-theme" value="<?php esc_attr_e( 'Export All', 'dokan-lite' ); ?>">
50
- <input type="submit" name="dokan_order_export_filtered" class="dokan-btn dokan-btn-sm dokan-btn-danger dokan-btn-theme" value="<?php esc_attr_e( 'Export Filtered', 'dokan-lite' ); ?>">
51
- <input type="hidden" name="order_date" value="<?php echo esc_attr( $filter_date ); ?>">
52
- <input type="hidden" name="order_status" value="<?php echo esc_attr( $order_status ); ?>">
53
- </div>
54
- </form>
 
 
55
 
56
  <div class="dokan-clearfix"></div>
57
- </div>
41
  </div>
42
  </form>
43
 
44
+ <?php if ( current_user_can( 'seller' ) || current_user_can( 'dokan_export_order' ) ) : ?>
45
+ <form action="" method="POST" class="dokan-right">
46
+ <div class="dokan-form-group">
47
+ <?php
48
+ wp_nonce_field( 'dokan_vendor_order_export_action', 'dokan_vendor_order_export_nonce' );
49
+ ?>
50
+ <input type="submit" name="dokan_order_export_all" class="dokan-btn dokan-btn-sm dokan-btn-danger dokan-btn-theme" value="<?php esc_attr_e( 'Export All', 'dokan-lite' ); ?>">
51
+ <input type="submit" name="dokan_order_export_filtered" class="dokan-btn dokan-btn-sm dokan-btn-danger dokan-btn-theme" value="<?php esc_attr_e( 'Export Filtered', 'dokan-lite' ); ?>">
52
+ <input type="hidden" name="order_date" value="<?php echo esc_attr( $filter_date ); ?>">
53
+ <input type="hidden" name="order_status" value="<?php echo esc_attr( $order_status ); ?>">
54
+ </div>
55
+ </form>
56
+ <?php endif; ?>
57
 
58
  <div class="dokan-clearfix"></div>
59
+ </div>
templates/products/listing-filter.php CHANGED
@@ -9,8 +9,8 @@ $get_data = wp_unslash( $_GET ); // WPCS: CSRF ok.
9
  $post_data = wp_unslash( $_POST ); // WPCS: CSRF ok.
10
 
11
  do_action( 'dokan_product_listing_filter_before_form' );
12
- $product_types = apply_filters( 'dokan_product_types', ['simple'] );
13
- $product_type = isset( $get_data['product_type'] ) ? $get_data['product_type'] : '';
14
  ?>
15
 
16
  <form class="dokan-form-inline dokan-w8 dokan-product-date-filter" method="get" >
9
  $post_data = wp_unslash( $_POST ); // WPCS: CSRF ok.
10
 
11
  do_action( 'dokan_product_listing_filter_before_form' );
12
+ $product_types = apply_filters( 'dokan_product_types', [ 'simple' => __( 'Simple', 'dokan' ) ] );
13
+ $product_type = isset( $get_data['product_type'] ) ? $get_data['product_type'] : '';
14
  ?>
15
 
16
  <form class="dokan-form-inline dokan-w8 dokan-product-date-filter" method="get" >
templates/products/new-product-single.php CHANGED
@@ -173,13 +173,11 @@ do_action( 'dokan_dashboard_wrap_before', $post, $post_id );
173
  <input type="hidden" value="<?php echo esc_attr( $post->post_name ); ?>" name="edited-post-name" class="dokan-hide" id="edited-post-name-dokan">
174
  </div>
175
 
176
- <?php $product_types = apply_filters( 'dokan_product_types', 'simple' ); ?>
177
 
178
- <?php if( 'simple' === $product_types ): ?>
179
  <input type="hidden" id="product_type" name="product_type" value="simple">
180
- <?php endif; ?>
181
-
182
- <?php if ( is_array( $product_types ) ): ?>
183
  <div class="dokan-form-group">
184
  <label for="product_type" class="form-label"><?php esc_html_e( 'Product Type', 'dokan-lite' ); ?> <i class="fa fa-question-circle tips" aria-hidden="true" data-title="<?php esc_html_e( 'Choose Variable if your product has multiple attributes - like sizes, colors, quality etc', 'dokan-lite' ); ?>"></i></label>
185
  <select name="product_type" class="dokan-form-control" id="product_type">
173
  <input type="hidden" value="<?php echo esc_attr( $post->post_name ); ?>" name="edited-post-name" class="dokan-hide" id="edited-post-name-dokan">
174
  </div>
175
 
176
+ <?php $product_types = apply_filters( 'dokan_product_types', [ 'simple' => __( 'Simple', 'dokan-lite' ) ] ); ?>
177
 
178
+ <?php if( is_array( $product_types ) && count( $product_types ) === 1 && array_key_exists( 'simple', $product_types ) ): ?>
179
  <input type="hidden" id="product_type" name="product_type" value="simple">
180
+ <?php elseif ( is_array( $product_types ) ): ?>
 
 
181
  <div class="dokan-form-group">
182
  <label for="product_type" class="form-label"><?php esc_html_e( 'Product Type', 'dokan-lite' ); ?> <i class="fa fa-question-circle tips" aria-hidden="true" data-title="<?php esc_html_e( 'Choose Variable if your product has multiple attributes - like sizes, colors, quality etc', 'dokan-lite' ); ?>"></i></label>
183
  <select name="product_type" class="dokan-form-control" id="product_type">
templates/products/products-listing.php CHANGED
@@ -115,7 +115,7 @@
115
  $pagenum = isset( $_GET['pagenum'] ) ? absint( $_GET['pagenum'] ) : 1;
116
  $post_statuses = apply_filters( 'dokan_product_listing_post_statuses', [ 'publish', 'draft', 'pending', 'future' ] );
117
  $stock_statuses = apply_filters( 'dokan_product_stock_statuses', [ 'instock', 'outofstock' ] );
118
- $product_types = apply_filters( 'dokan_product_types', 'simple' );
119
  $get_data = wp_unslash( $_GET );
120
 
121
  $args = array(
115
  $pagenum = isset( $_GET['pagenum'] ) ? absint( $_GET['pagenum'] ) : 1;
116
  $post_statuses = apply_filters( 'dokan_product_listing_post_statuses', [ 'publish', 'draft', 'pending', 'future' ] );
117
  $stock_statuses = apply_filters( 'dokan_product_stock_statuses', [ 'instock', 'outofstock' ] );
118
+ $product_types = apply_filters( 'dokan_product_types', [ 'simple' => __( 'Simple', 'dokan-lite' ) ] );
119
  $get_data = wp_unslash( $_GET );
120
 
121
  $args = array(
templates/settings/store-form.php CHANGED
@@ -131,16 +131,17 @@
131
  <!--address-->
132
 
133
  <?php
134
- $verified = false;
 
135
 
136
- if ( isset( $profile_info['dokan_verification']['info']['store_address']['v_status'] ) ) {
137
- if ( $profile_info['dokan_verification']['info']['store_address']['v_status'] == 'approved' ) {
138
- $verified = true;
139
- }
140
- }
141
-
142
- dokan_seller_address_fields( $verified );
143
 
 
 
144
  ?>
145
  <!--address-->
146
 
131
  <!--address-->
132
 
133
  <?php
134
+ if ( class_exists( 'Dokan_Pro' ) && ! dokan_pro()->module->is_active( 'delivery_time' ) ) {
135
+ $verified = false;
136
 
137
+ if ( isset( $profile_info['dokan_verification']['info']['store_address']['v_status'] ) ) {
138
+ if ( $profile_info['dokan_verification']['info']['store_address']['v_status'] == 'approved' ) {
139
+ $verified = true;
140
+ }
141
+ }
 
 
142
 
143
+ dokan_seller_address_fields( $verified );
144
+ }
145
  ?>
146
  <!--address-->
147
 
templates/store-lists.php CHANGED
@@ -1,7 +1,7 @@
1
  <?php
2
  global $post;
3
 
4
- $pagination_base = str_replace( $post->ID, '%#%', esc_url( get_pagenum_link( $post->ID ) ) );
5
 
6
  $get_data = wp_unslash( $_GET );
7
 
1
  <?php
2
  global $post;
3
 
4
+ $pagination_base = empty( $post ) ? '' : str_replace( $post->ID, '%#%', esc_url( get_pagenum_link( $post->ID ) ) );
5
 
6
  $get_data = wp_unslash( $_GET );
7
 
vendor/autoload.php CHANGED
@@ -4,4 +4,4 @@
4
 
5
  require_once __DIR__ . '/composer/autoload_real.php';
6
 
7
- return ComposerAutoloaderInit34889ad9963da1c225716d894965ec77::getLoader();
4
 
5
  require_once __DIR__ . '/composer/autoload_real.php';
6
 
7
+ return ComposerAutoloaderInite9fdbe2807459944034962a64d34d4f4::getLoader();
vendor/composer/autoload_real.php CHANGED
@@ -2,7 +2,7 @@
2
 
3
  // autoload_real.php @generated by Composer
4
 
5
- class ComposerAutoloaderInit34889ad9963da1c225716d894965ec77
6
  {
7
  private static $loader;
8
 
@@ -22,15 +22,15 @@ class ComposerAutoloaderInit34889ad9963da1c225716d894965ec77
22
  return self::$loader;
23
  }
24
 
25
- spl_autoload_register(array('ComposerAutoloaderInit34889ad9963da1c225716d894965ec77', 'loadClassLoader'), true, true);
26
  self::$loader = $loader = new \Composer\Autoload\ClassLoader();
27
- spl_autoload_unregister(array('ComposerAutoloaderInit34889ad9963da1c225716d894965ec77', 'loadClassLoader'));
28
 
29
  $useStaticLoader = PHP_VERSION_ID >= 50600 && !defined('HHVM_VERSION') && (!function_exists('zend_loader_file_encoded') || !zend_loader_file_encoded());
30
  if ($useStaticLoader) {
31
  require_once __DIR__ . '/autoload_static.php';
32
 
33
- call_user_func(\Composer\Autoload\ComposerStaticInit34889ad9963da1c225716d894965ec77::getInitializer($loader));
34
  } else {
35
  $map = require __DIR__ . '/autoload_namespaces.php';
36
  foreach ($map as $namespace => $path) {
@@ -51,19 +51,19 @@ class ComposerAutoloaderInit34889ad9963da1c225716d894965ec77
51
  $loader->register(true);
52
 
53
  if ($useStaticLoader) {
54
- $includeFiles = Composer\Autoload\ComposerStaticInit34889ad9963da1c225716d894965ec77::$files;
55
  } else {
56
  $includeFiles = require __DIR__ . '/autoload_files.php';
57
  }
58
  foreach ($includeFiles as $fileIdentifier => $file) {
59
- composerRequire34889ad9963da1c225716d894965ec77($fileIdentifier, $file);
60
  }
61
 
62
  return $loader;
63
  }
64
  }
65
 
66
- function composerRequire34889ad9963da1c225716d894965ec77($fileIdentifier, $file)
67
  {
68
  if (empty($GLOBALS['__composer_autoload_files'][$fileIdentifier])) {
69
  require $file;
2
 
3
  // autoload_real.php @generated by Composer
4
 
5
+ class ComposerAutoloaderInite9fdbe2807459944034962a64d34d4f4
6
  {
7
  private static $loader;
8
 
22
  return self::$loader;
23
  }
24
 
25
+ spl_autoload_register(array('ComposerAutoloaderInite9fdbe2807459944034962a64d34d4f4', 'loadClassLoader'), true, true);
26
  self::$loader = $loader = new \Composer\Autoload\ClassLoader();
27
+ spl_autoload_unregister(array('ComposerAutoloaderInite9fdbe2807459944034962a64d34d4f4', 'loadClassLoader'));
28
 
29
  $useStaticLoader = PHP_VERSION_ID >= 50600 && !defined('HHVM_VERSION') && (!function_exists('zend_loader_file_encoded') || !zend_loader_file_encoded());
30
  if ($useStaticLoader) {
31
  require_once __DIR__ . '/autoload_static.php';
32
 
33
+ call_user_func(\Composer\Autoload\ComposerStaticInite9fdbe2807459944034962a64d34d4f4::getInitializer($loader));
34
  } else {
35
  $map = require __DIR__ . '/autoload_namespaces.php';
36
  foreach ($map as $namespace => $path) {
51
  $loader->register(true);
52
 
53
  if ($useStaticLoader) {
54
+ $includeFiles = Composer\Autoload\ComposerStaticInite9fdbe2807459944034962a64d34d4f4::$files;
55
  } else {
56
  $includeFiles = require __DIR__ . '/autoload_files.php';
57
  }
58
  foreach ($includeFiles as $fileIdentifier => $file) {
59
+ composerRequiree9fdbe2807459944034962a64d34d4f4($fileIdentifier, $file);
60
  }
61
 
62
  return $loader;
63
  }
64
  }
65
 
66
+ function composerRequiree9fdbe2807459944034962a64d34d4f4($fileIdentifier, $file)
67
  {
68
  if (empty($GLOBALS['__composer_autoload_files'][$fileIdentifier])) {
69
  require $file;
vendor/composer/autoload_static.php CHANGED
@@ -4,7 +4,7 @@
4
 
5
  namespace Composer\Autoload;
6
 
7
- class ComposerStaticInit34889ad9963da1c225716d894965ec77
8
  {
9
  public static $files = array (
10
  'b45b351e6b6f7487d819961fef2fda77' => __DIR__ . '/..' . '/jakeasmith/http_build_url/src/http_build_url.php',
@@ -183,9 +183,9 @@ class ComposerStaticInit34889ad9963da1c225716d894965ec77
183
  public static function getInitializer(ClassLoader $loader)
184
  {
185
  return \Closure::bind(function () use ($loader) {
186
- $loader->prefixLengthsPsr4 = ComposerStaticInit34889ad9963da1c225716d894965ec77::$prefixLengthsPsr4;
187
- $loader->prefixDirsPsr4 = ComposerStaticInit34889ad9963da1c225716d894965ec77::$prefixDirsPsr4;
188
- $loader->classMap = ComposerStaticInit34889ad9963da1c225716d894965ec77::$classMap;
189
 
190
  }, null, ClassLoader::class);
191
  }
4
 
5
  namespace Composer\Autoload;
6
 
7
+ class ComposerStaticInite9fdbe2807459944034962a64d34d4f4
8
  {
9
  public static $files = array (
10
  'b45b351e6b6f7487d819961fef2fda77' => __DIR__ . '/..' . '/jakeasmith/http_build_url/src/http_build_url.php',
183
  public static function getInitializer(ClassLoader $loader)
184
  {
185
  return \Closure::bind(function () use ($loader) {
186
+ $loader->prefixLengthsPsr4 = ComposerStaticInite9fdbe2807459944034962a64d34d4f4::$prefixLengthsPsr4;
187
+ $loader->prefixDirsPsr4 = ComposerStaticInite9fdbe2807459944034962a64d34d4f4::$prefixDirsPsr4;
188
+ $loader->classMap = ComposerStaticInite9fdbe2807459944034962a64d34d4f4::$classMap;
189
 
190
  }, null, ClassLoader::class);
191
  }