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

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

Code changes from version 3.2.15 to 3.3.0

assets/js/dokan.js CHANGED
@@ -2898,7 +2898,32 @@ jQuery(function($) {
2898
  });
2899
  });
2900
  })(jQuery);
2901
-
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
2902
  ;(function($) {
2903
  var storeLists = {
2904
  /**
@@ -2938,12 +2963,6 @@ jQuery(function($) {
2938
  // Submit the form
2939
  $( '#dokan-store-listing-filter-form-wrap .apply-filter #apply-filter-btn' ).on( 'click', this.submitForm );
2940
 
2941
- if ( ! this.getQueryParam( 'latitude' ) && ! this.getQueryParam( 'longitude' ) ) {
2942
- $.when( $( '.dokan-store-list-filter-button' ).trigger( 'click' ) ).then( function() {
2943
- $( '.locate-icon' ).trigger( 'click' );
2944
- });
2945
- }
2946
-
2947
  this.maybeHideListView();
2948
 
2949
  const self = storeLists;
@@ -3210,19 +3229,6 @@ jQuery(function($) {
3210
  });
3211
  },
3212
 
3213
- /**
3214
- * Get query param
3215
- *
3216
- * @param string param
3217
- *
3218
- * @return boolean
3219
- */
3220
- getQueryParam: function ( param ) {
3221
- var results = new RegExp( '[\?&]' + param + '=([^&#]*)' ).exec( window.location.href );
3222
-
3223
- return null !== results;
3224
- },
3225
-
3226
  /**
3227
  * Get params from
3228
  *
2898
  });
2899
  });
2900
  })(jQuery);
2901
+ /**
2902
+ * Show Delete Button Prompt
2903
+ *
2904
+ * @param {object} event
2905
+ * @param {string} messgae
2906
+ *
2907
+ * @returns boolean
2908
+ */
2909
+ async function dokan_show_delete_prompt( event, messgae ) {
2910
+ event.preventDefault();
2911
+
2912
+ let answer = await dokan_sweetalert( messgae, {
2913
+ action : 'confirm',
2914
+ icon : 'warning'
2915
+ } );
2916
+
2917
+ if( answer.isConfirmed && undefined !== event.target.href ) {
2918
+ window.location.href = event.target.href;
2919
+ }
2920
+ else if( answer.isConfirmed && undefined !== event.target.dataset.url ) {
2921
+ window.location.href = event.target.dataset.url;
2922
+ }
2923
+ else {
2924
+ return false;
2925
+ }
2926
+ }
2927
  ;(function($) {
2928
  var storeLists = {
2929
  /**
2963
  // Submit the form
2964
  $( '#dokan-store-listing-filter-form-wrap .apply-filter #apply-filter-btn' ).on( 'click', this.submitForm );
2965
 
 
 
 
 
 
 
2966
  this.maybeHideListView();
2967
 
2968
  const self = storeLists;
3229
  });
3230
  },
3231
 
 
 
 
 
 
 
 
 
 
 
 
 
 
3232
  /**
3233
  * Get params from
3234
  *
dokan.php CHANGED
@@ -3,7 +3,7 @@
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.15
7
  * Author: weDevs
8
  * Author URI: https://wedevs.com/
9
  * Text Domain: dokan-lite
@@ -56,7 +56,7 @@ final class WeDevs_Dokan {
56
  *
57
  * @var string
58
  */
59
- public $version = '3.2.15';
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.3.0
7
  * Author: weDevs
8
  * Author URI: https://wedevs.com/
9
  * Text Domain: dokan-lite
56
  *
57
  * @var string
58
  */
59
+ public $version = '3.3.0';
60
 
61
  /**
62
  * Instance of self
includes/Commission.php CHANGED
@@ -86,14 +86,15 @@ class Commission {
86
  $wpdb->dokan_vendor_balance,
87
  [ 'debit' => (float) $net_amount ],
88
  [
89
- 'trn_id' => $tmp_order->get_id(),
90
- 'trn_type' => 'dokan_orders',
91
- ],
92
  [ '%f' ],
93
  [ '%d', '%s' ]
94
  );
95
 
96
  $tmp_order->update_meta_data( 'dokan_gateway_fee', $gateway_fee );
 
97
  $tmp_order->add_order_note( sprintf( __( 'Payment gateway processing fee %s', 'dokan-lite' ), wc_format_decimal( $gateway_fee, 2 ) ) );
98
  $tmp_order->save_meta_data();
99
 
@@ -120,7 +121,7 @@ class Commission {
120
  $meta_to_return = [];
121
 
122
  foreach ( $formated_meta as $key => $meta ) {
123
- if ( ! in_array( $meta->key, $meta_to_hide ) ) {
124
  array_push( $meta_to_return, $meta );
125
  }
126
  }
@@ -221,7 +222,7 @@ class Commission {
221
  }
222
 
223
  if ( ! $order ) {
224
- return new \WP_Error( __( 'Order not found', 'dokan-lite' ), 404 );
225
  }
226
 
227
  if ( $order->get_meta( 'has_sub_order' ) ) {
@@ -232,8 +233,8 @@ class Commission {
232
  // So we'll return the previously earned commission to keep backward compatability.
233
  $saved_admin_fee = get_post_meta( $order->get_id(), '_dokan_admin_fee', true );
234
 
235
- if ( $saved_admin_fee != '' ) {
236
- $saved_fee = ( 'seller' == $context ) ? $order->get_total() - $saved_admin_fee : $saved_admin_fee;
237
  return apply_filters( 'dokan_order_admin_commission', $saved_fee, $order );
238
  }
239
 
@@ -258,13 +259,14 @@ class Commission {
258
 
259
  $product_id = $item->get_product()->get_id();
260
  $refund = $order->get_total_refunded_for_item( $item_id );
 
261
 
262
- $item_price = apply_filters( 'dokan_earning_by_order_item_price', $item->get_total(), $item );
263
-
264
- if ( $refund ) {
265
- $earning += $this->get_earning_by_product( $product_id, $context, $item_price - $refund );
266
  } else {
267
- $earning += $this->get_earning_by_product( $product_id, $context, $item_price );
 
 
268
  }
269
  }
270
 
@@ -796,10 +798,10 @@ class Commission {
796
  if ( $has_suborder ) {
797
  $sub_order_ids = get_children(
798
  [
799
- 'post_parent' => $order->get_id(),
800
- 'post_type' => 'shop_order',
801
- 'fields' => 'ids',
802
- ]
803
  );
804
 
805
  foreach ( $sub_order_ids as $sub_order_id ) {
86
  $wpdb->dokan_vendor_balance,
87
  [ 'debit' => (float) $net_amount ],
88
  [
89
+ 'trn_id' => $tmp_order->get_id(),
90
+ 'trn_type' => 'dokan_orders',
91
+ ],
92
  [ '%f' ],
93
  [ '%d', '%s' ]
94
  );
95
 
96
  $tmp_order->update_meta_data( 'dokan_gateway_fee', $gateway_fee );
97
+ // translators: %s: Geteway fee
98
  $tmp_order->add_order_note( sprintf( __( 'Payment gateway processing fee %s', 'dokan-lite' ), wc_format_decimal( $gateway_fee, 2 ) ) );
99
  $tmp_order->save_meta_data();
100
 
121
  $meta_to_return = [];
122
 
123
  foreach ( $formated_meta as $key => $meta ) {
124
+ if ( ! in_array( $meta->key, $meta_to_hide, true ) ) {
125
  array_push( $meta_to_return, $meta );
126
  }
127
  }
222
  }
223
 
224
  if ( ! $order ) {
225
+ return new \WP_Error( __( 'Order not found', 'dokan-lite' ), 404 );
226
  }
227
 
228
  if ( $order->get_meta( 'has_sub_order' ) ) {
233
  // So we'll return the previously earned commission to keep backward compatability.
234
  $saved_admin_fee = get_post_meta( $order->get_id(), '_dokan_admin_fee', true );
235
 
236
+ if ( $saved_admin_fee !== '' ) {
237
+ $saved_fee = ( 'seller' === $context ) ? $order->get_total() - $saved_admin_fee : $saved_admin_fee;
238
  return apply_filters( 'dokan_order_admin_commission', $saved_fee, $order );
239
  }
240
 
259
 
260
  $product_id = $item->get_product()->get_id();
261
  $refund = $order->get_total_refunded_for_item( $item_id );
262
+ $vendor_id = (int) get_post_field( 'post_author', $product_id );
263
 
264
+ if ( dokan_is_admin_coupon_applied( $order, $vendor_id, $product_id ) ) {
265
+ $earning += dokan_pro()->coupon->get_earning_by_admin_coupon( $order, $item, $context, $item->get_product(), $vendor_id, $refund );
 
 
266
  } else {
267
+ $item_price = apply_filters( 'dokan_earning_by_order_item_price', $item->get_total(), $item, $order );
268
+ $item_price = $refund ? $item_price - $refund : $item_price;
269
+ $earning += $this->get_earning_by_product( $product_id, $context, $item_price );
270
  }
271
  }
272
 
798
  if ( $has_suborder ) {
799
  $sub_order_ids = get_children(
800
  [
801
+ 'post_parent' => $order->get_id(),
802
+ 'post_type' => 'shop_order',
803
+ 'fields' => 'ids',
804
+ ]
805
  );
806
 
807
  foreach ( $sub_order_ids as $sub_order_id ) {
includes/Emails/VendorNewOrder.php CHANGED
@@ -40,6 +40,9 @@ class VendorNewOrder extends WC_Email {
40
  add_action( 'woocommerce_order_status_failed_to_processing_notification', array( $this, 'trigger' ), 10, 2 );
41
  add_action( 'woocommerce_order_status_failed_to_completed_notification', array( $this, 'trigger' ), 10, 2 );
42
  add_action( 'woocommerce_order_status_failed_to_on-hold_notification', array( $this, 'trigger' ), 10, 2 );
 
 
 
43
  //Prevent admin email for sub-order
44
  add_filter( 'woocommerce_email_enabled_new_order', [ $this, 'prevent_sub_order_admin_email' ], 10, 2 );
45
  // Call parent constructor.
40
  add_action( 'woocommerce_order_status_failed_to_processing_notification', array( $this, 'trigger' ), 10, 2 );
41
  add_action( 'woocommerce_order_status_failed_to_completed_notification', array( $this, 'trigger' ), 10, 2 );
42
  add_action( 'woocommerce_order_status_failed_to_on-hold_notification', array( $this, 'trigger' ), 10, 2 );
43
+ add_action( 'woocommerce_order_status_cancelled_to_processing_notification', array( $this, 'trigger' ), 10, 2 );
44
+ add_action( 'woocommerce_order_status_cancelled_to_completed_notification', array( $this, 'trigger' ), 10, 2 );
45
+ add_action( 'woocommerce_order_status_cancelled_to_on-hold_notification', array( $this, 'trigger' ), 10, 2 );
46
  //Prevent admin email for sub-order
47
  add_filter( 'woocommerce_email_enabled_new_order', [ $this, 'prevent_sub_order_admin_email' ], 10, 2 );
48
  // Call parent constructor.
includes/Order/Hooks.php CHANGED
@@ -286,24 +286,38 @@ class Hooks {
286
  * @throws Exception
287
  */
288
  public function ensure_vendor_coupon( $valid, $coupon ) {
289
- $coupon_id = $coupon->get_id();
290
- $vendor_id = get_post_field( 'post_author', $coupon_id );
291
- $available_vendors = [];
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
292
 
293
  if ( ! apply_filters( 'dokan_ensure_vendor_coupon', true ) ) {
294
  return $valid;
295
  }
296
 
297
- // a coupon must be bound with a product
298
  if ( count( $coupon->get_product_ids() ) === 0 ) {
299
  throw new Exception( __( 'A coupon must be restricted with a vendor product.', 'dokan-lite' ) );
300
  }
301
 
302
- foreach ( WC()->cart->get_cart() as $item ) {
303
- $product_id = $item['data']->get_id();
304
-
305
- $available_vendors[] = get_post_field( 'post_author', $product_id );
306
- }
307
 
308
  if ( ! in_array( $vendor_id, $available_vendors, true ) ) {
309
  return false;
286
  * @throws Exception
287
  */
288
  public function ensure_vendor_coupon( $valid, $coupon ) {
289
+ $available_vendors = [];
290
+ $available_products = [];
291
+
292
+ foreach ( WC()->cart->get_cart() as $item ) {
293
+ $product_id = $item['data']->get_id();
294
+
295
+ $available_vendors[] = (int) get_post_field( 'post_author', $product_id );
296
+ $available_products[] = $product_id;
297
+ }
298
+
299
+ $available_vendors = array_unique( $available_vendors );
300
+
301
+ if ( $coupon->is_type( 'fixed_cart' ) && count( $available_vendors ) > 1 ) {
302
+ throw new Exception( __( 'This coupon is invalid for multiple vendors.', 'dokan-lite' ) );
303
+ }
304
+
305
+ // Make sure applied coupon created by admin
306
+ if ( apply_filters( 'dokan_ensure_admin_have_create_coupon', $valid, $coupon, $available_vendors, $available_products ) ) {
307
+ return true;
308
+ }
309
 
310
  if ( ! apply_filters( 'dokan_ensure_vendor_coupon', true ) ) {
311
  return $valid;
312
  }
313
 
314
+ // A coupon must be bound with a product
315
  if ( count( $coupon->get_product_ids() ) === 0 ) {
316
  throw new Exception( __( 'A coupon must be restricted with a vendor product.', 'dokan-lite' ) );
317
  }
318
 
319
+ $coupon_id = $coupon->get_id();
320
+ $vendor_id = intval( get_post_field( 'post_author', $coupon_id ) );
 
 
 
321
 
322
  if ( ! in_array( $vendor_id, $available_vendors, true ) ) {
323
  return false;
includes/Order/Manager.php CHANGED
@@ -339,10 +339,22 @@ class Manager {
339
  return;
340
  }
341
 
 
 
 
 
 
 
342
  foreach ( $used_coupons as $item ) {
343
  $coupon = new \WC_Coupon( $item->get_code() );
344
 
345
- if ( $coupon && ! is_wp_error( $coupon ) && array_intersect( $product_ids, $coupon->get_product_ids() ) ) {
 
 
 
 
 
 
346
  $new_item = new \WC_Order_Item_Coupon();
347
  $new_item->set_props(
348
  array(
339
  return;
340
  }
341
 
342
+ $seller_id = dokan_get_seller_id_by_order( $order->get_id() );
343
+
344
+ if ( ! $seller_id ) {
345
+ return;
346
+ }
347
+
348
  foreach ( $used_coupons as $item ) {
349
  $coupon = new \WC_Coupon( $item->get_code() );
350
 
351
+ if (
352
+ $coupon &&
353
+ ! is_wp_error( $coupon ) &&
354
+ ( array_intersect( $product_ids, $coupon->get_product_ids() ) ||
355
+ apply_filters( 'dokan_is_order_have_admin_coupon', false, $coupon, [ $seller_id ], $product_ids )
356
+ )
357
+ ) {
358
  $new_item = new \WC_Order_Item_Coupon();
359
  $new_item->set_props(
360
  array(
includes/Order/functions.php CHANGED
@@ -360,12 +360,18 @@ function dokan_sync_insert_order( $order_id ) {
360
  return;
361
  }
362
 
363
- $order = dokan()->order->get( $order_id );
364
- $seller_id = dokan_get_seller_id_by_order( $order_id );
365
- $order_total = $order->get_total();
366
- $order_status = dokan_get_prop( $order, 'status' );
367
- $admin_commission = dokan()->commission->get_earning_by_order( $order, 'admin' );
368
- $net_amount = $order_total - $admin_commission;
 
 
 
 
 
 
369
  $net_amount = apply_filters( 'dokan_order_net_amount', $net_amount, $order );
370
  $threshold_day = dokan_get_withdraw_threshold( $seller_id );
371
 
360
  return;
361
  }
362
 
363
+ $order = dokan()->order->get( $order_id );
364
+ $seller_id = dokan_get_seller_id_by_order( $order_id );
365
+ $order_total = $order->get_total();
366
+ $order_status = dokan_get_prop( $order, 'status' );
367
+
368
+ if ( dokan_is_admin_coupon_applied( $order, $seller_id ) ) {
369
+ $net_amount = dokan()->commission->get_earning_by_order( $order, 'seller' );
370
+ } else {
371
+ $admin_commission = dokan()->commission->get_earning_by_order( $order, 'admin' );
372
+ $net_amount = $order_total - $admin_commission;
373
+ }
374
+
375
  $net_amount = apply_filters( 'dokan_order_net_amount', $net_amount, $order );
376
  $threshold_day = dokan_get_withdraw_threshold( $seller_id );
377
 
includes/Product/functions.php CHANGED
@@ -481,7 +481,7 @@ function dokan_product_get_row_action( $post ) {
481
  ), 'dokan-delete-product'
482
  ),
483
  'class' => 'delete',
484
- 'other' => 'onclick="return confirm( \'' . __( 'Are you sure?', 'dokan-lite' ) . '\' );"',
485
  ];
486
  }
487
 
@@ -518,13 +518,15 @@ function dokan_product_get_row_action( $post ) {
518
  /**
519
  * Dokan get vendor by product
520
  *
521
- * @param int|object $id Product ID or Product Object
 
522
  *
523
  * @since 2.9.8
 
524
  *
525
- * @return Dokan_Vendor|false on faiure
526
  */
527
- function dokan_get_vendor_by_product( $product ) {
528
  if ( ! $product instanceof WC_Product ) {
529
  $product = wc_get_product( $product );
530
  }
@@ -541,7 +543,7 @@ function dokan_get_vendor_by_product( $product ) {
541
 
542
  $vendor_id = apply_filters( 'dokan_get_vendor_by_product', $vendor_id, $product );
543
 
544
- return dokan()->vendor->get( $vendor_id );
545
  }
546
 
547
  /**
481
  ), 'dokan-delete-product'
482
  ),
483
  'class' => 'delete',
484
+ 'other' => 'onclick="dokan_show_delete_prompt( event, \'' . __( 'Are you sure?', 'dokan-lite' ) . '\' );"',
485
  ];
486
  }
487
 
518
  /**
519
  * Dokan get vendor by product
520
  *
521
+ * @param int|WC_Product $product Product ID or Product Object
522
+ * @param bool $id return true to get vendor id
523
  *
524
  * @since 2.9.8
525
+ * @since 3.2.16 added $id parameter
526
  *
527
+ * @return int|\WeDevs\Dokan\Vendor\Vendor|false on failure
528
  */
529
+ function dokan_get_vendor_by_product( $product, $id = false ) {
530
  if ( ! $product instanceof WC_Product ) {
531
  $product = wc_get_product( $product );
532
  }
543
 
544
  $vendor_id = apply_filters( 'dokan_get_vendor_by_product', $vendor_id, $product );
545
 
546
+ return false === $id ? dokan()->vendor->get( $vendor_id ) : (int) $vendor_id;
547
  }
548
 
549
  /**
includes/functions.php CHANGED
@@ -477,7 +477,13 @@ function dokan_generate_sync_table() {
477
  if ( $orders ) {
478
  foreach ( $orders as $order ) {
479
  $wc_order = wc_get_order( $order->order_id );
480
- $admin_commission = dokan_get_admin_commission_by( $wc_order, $order->seller_id );
 
 
 
 
 
 
481
 
482
  $wpdb->insert(
483
  $table_name,
@@ -485,7 +491,7 @@ function dokan_generate_sync_table() {
485
  'order_id' => $order->order_id,
486
  'seller_id' => $order->seller_id,
487
  'order_total' => $order->order_total,
488
- 'net_amount' => $order->order_total - $admin_commission,
489
  'order_status' => $order->order_status,
490
  ],
491
  [
@@ -4162,6 +4168,47 @@ function dokan_get_withdraw_threshold( $user_id ) {
4162
  return ( $threshold_day ) ? absint( $threshold_day ) : 0;
4163
  }
4164
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
4165
  /**
4166
  * Get vendor store banner width
4167
  *
477
  if ( $orders ) {
478
  foreach ( $orders as $order ) {
479
  $wc_order = wc_get_order( $order->order_id );
480
+
481
+ if ( dokan_is_admin_coupon_applied( $order, $seller_id ) ) {
482
+ $net_amount = dokan()->commission->get_earning_by_order( $order, 'seller' );
483
+ } else {
484
+ $admin_commission = dokan()->commission->get_earning_by_order( $order, 'admin' );
485
+ $net_amount = $order_total - $admin_commission;
486
+ }
487
 
488
  $wpdb->insert(
489
  $table_name,
491
  'order_id' => $order->order_id,
492
  'seller_id' => $order->seller_id,
493
  'order_total' => $order->order_total,
494
+ 'net_amount' => $net_amount,
495
  'order_status' => $order->order_status,
496
  ],
497
  [
4168
  return ( $threshold_day ) ? absint( $threshold_day ) : 0;
4169
  }
4170
 
4171
+ /**
4172
+ * Insert a value or key/value pair (assoc array) after a specific key in an array. If key doesn't exist, value is appended
4173
+ * to the end of the array.
4174
+ *
4175
+ * @param array $old_array
4176
+ * @param array $new_array
4177
+ * @param string $insert_after_key
4178
+ *
4179
+ * @since 3.2.16
4180
+ *
4181
+ * @return array
4182
+ */
4183
+ function dokan_array_insert_after( array $old_array, array $new_array, $insert_after_key ) {
4184
+ $keys = array_keys( $old_array );
4185
+ $index = array_search( $insert_after_key, $keys, true );
4186
+ $pos = false === $index ? count( $old_array ) : $index + 1;
4187
+
4188
+ return array_slice( $old_array, 0, $pos, true ) + $new_array + array_slice( $old_array, $pos, count( $old_array ) - 1, true );
4189
+ }
4190
+
4191
+ /**
4192
+ * Check a order have apply admin coupon
4193
+ *
4194
+ * @since 3.2.16
4195
+ *
4196
+ * @param WC_Order $order
4197
+ * @param int $vendor_id
4198
+ * @param int $product_id
4199
+ *
4200
+ * @return bool
4201
+ */
4202
+ function dokan_is_admin_coupon_applied( $order, $vendor_id, $product_id = 0 ) {
4203
+ if (
4204
+ function_exists( 'dokan_is_admin_coupon_used_for_vendors' ) &&
4205
+ dokan_is_admin_coupon_used_for_vendors( $order, $vendor_id, $product_id ) ) {
4206
+ return true;
4207
+ }
4208
+
4209
+ return false;
4210
+ }
4211
+
4212
  /**
4213
  * Get vendor store banner width
4214
  *
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.15\n"
6
  "Report-Msgid-Bugs-To: https://wedevs.com/contact/\n"
7
- "POT-Creation-Date: 2021-10-13 06:00:27+00:00\n"
8
  "MIME-Version: 1.0\n"
9
  "Content-Type: text/plain; charset=utf-8\n"
10
  "Content-Transfer-Encoding: 8bit\n"
@@ -121,7 +121,7 @@ msgstr ""
121
 
122
  #: includes/Admin/AdminBar.php:63 includes/Admin/Menu.php:32
123
  #: includes/Admin/Menu.php:44 includes/Admin/SetupWizard.php:160
124
- #: includes/functions.php:3052 includes/template-tags.php:408
125
  #: templates/withdraw/header.php:11
126
  msgid "Withdraw"
127
  msgstr ""
@@ -372,18 +372,18 @@ msgstr ""
372
 
373
  #: includes/Admin/Settings.php:319 includes/Admin/SetupWizard.php:524
374
  #: includes/Dashboard/Templates/Dashboard.php:101
375
- #: includes/Order/functions.php:556 templates/dashboard/orders-widget.php:26
376
  msgid "Completed"
377
  msgstr ""
378
 
379
  #: includes/Admin/Settings.php:320 includes/Admin/SetupWizard.php:530
380
  #: includes/Dashboard/Templates/Dashboard.php:111
381
- #: includes/Order/functions.php:571 templates/dashboard/orders-widget.php:36
382
  #: templates/orders/listing.php:151
383
  msgid "Processing"
384
  msgstr ""
385
 
386
- #: includes/Admin/Settings.php:321 includes/Order/functions.php:566
387
  msgid "On-hold"
388
  msgstr ""
389
 
@@ -713,7 +713,7 @@ msgstr ""
713
  msgid "Select a page to show your privacy policy"
714
  msgstr ""
715
 
716
- #: includes/Admin/Settings.php:662 includes/functions.php:3624
717
  msgid ""
718
  "Your personal data will be used to support your experience throughout this "
719
  "website, to manage access to your account, and for other purposes described "
@@ -1618,15 +1618,16 @@ msgid ""
1618
  "button!"
1619
  msgstr ""
1620
 
1621
- #: includes/Commission.php:97
 
1622
  msgid "Payment gateway processing fee %s"
1623
  msgstr ""
1624
 
1625
- #: includes/Commission.php:196
1626
  msgid "Product not found"
1627
  msgstr ""
1628
 
1629
- #: includes/Commission.php:224
1630
  msgid "Order not found"
1631
  msgstr ""
1632
 
@@ -1725,13 +1726,13 @@ msgid "Pending"
1725
  msgstr ""
1726
 
1727
  #: includes/Dashboard/Templates/Dashboard.php:116
1728
- #: includes/Order/functions.php:581 src/admin/pages/Withdraw.vue:25
1729
  #: templates/dashboard/orders-widget.php:41
1730
  msgid "Cancelled"
1731
  msgstr ""
1732
 
1733
  #: includes/Dashboard/Templates/Dashboard.php:121
1734
- #: includes/Order/functions.php:576 templates/dashboard/orders-widget.php:46
1735
  msgid "Refunded"
1736
  msgstr ""
1737
 
@@ -1943,7 +1944,7 @@ msgstr ""
1943
  #: includes/Emails/NewProductPending.php:153 includes/Emails/NewSeller.php:138
1944
  #: includes/Emails/ProductPublished.php:146
1945
  #: includes/Emails/VendorCompletedOrder.php:154
1946
- #: includes/Emails/VendorNewOrder.php:159
1947
  #: includes/Emails/VendorWithdrawRequest.php:147
1948
  #: includes/Emails/WithdrawApproved.php:143
1949
  #: includes/Emails/WithdrawCancelled.php:143
@@ -1954,7 +1955,7 @@ msgstr ""
1954
  #: includes/Emails/NewProductPending.php:155 includes/Emails/NewSeller.php:140
1955
  #: includes/Emails/ProductPublished.php:148
1956
  #: includes/Emails/VendorCompletedOrder.php:156
1957
- #: includes/Emails/VendorNewOrder.php:161
1958
  #: includes/Emails/VendorWithdrawRequest.php:149
1959
  #: includes/Emails/WithdrawApproved.php:145
1960
  #: includes/Emails/WithdrawCancelled.php:145
@@ -1965,7 +1966,7 @@ msgstr ""
1965
  #: includes/Emails/NewProductPending.php:167 includes/Emails/NewSeller.php:152
1966
  #: includes/Emails/ProductPublished.php:153
1967
  #: includes/Emails/VendorCompletedOrder.php:160
1968
- #: includes/Emails/VendorNewOrder.php:165
1969
  #: includes/Emails/VendorWithdrawRequest.php:161
1970
  #: includes/Emails/WithdrawApproved.php:149
1971
  #: includes/Emails/WithdrawCancelled.php:149
@@ -1980,8 +1981,8 @@ msgstr ""
1980
  #: includes/Emails/ProductPublished.php:166
1981
  #: includes/Emails/VendorCompletedOrder.php:164
1982
  #: includes/Emails/VendorCompletedOrder.php:173
1983
- #: includes/Emails/VendorNewOrder.php:169
1984
- #: includes/Emails/VendorNewOrder.php:178
1985
  #: includes/Emails/VendorWithdrawRequest.php:165
1986
  #: includes/Emails/VendorWithdrawRequest.php:174
1987
  #: includes/Emails/WithdrawApproved.php:153
@@ -1996,7 +1997,7 @@ msgstr ""
1996
  #: includes/Emails/NewProductPending.php:176 includes/Emails/NewSeller.php:161
1997
  #: includes/Emails/ProductPublished.php:162
1998
  #: includes/Emails/VendorCompletedOrder.php:169
1999
- #: includes/Emails/VendorNewOrder.php:174
2000
  #: includes/Emails/VendorWithdrawRequest.php:170
2001
  #: includes/Emails/WithdrawApproved.php:158
2002
  #: includes/Emails/WithdrawCancelled.php:158
@@ -2007,7 +2008,7 @@ msgstr ""
2007
  #: includes/Emails/NewProductPending.php:185 includes/Emails/NewSeller.php:170
2008
  #: includes/Emails/ProductPublished.php:171
2009
  #: includes/Emails/VendorCompletedOrder.php:178
2010
- #: includes/Emails/VendorNewOrder.php:183
2011
  #: includes/Emails/VendorWithdrawRequest.php:179
2012
  #: includes/Emails/WithdrawApproved.php:167
2013
  #: includes/Emails/WithdrawCancelled.php:167
@@ -2018,7 +2019,7 @@ msgstr ""
2018
  #: includes/Emails/NewProductPending.php:187 includes/Emails/NewSeller.php:172
2019
  #: includes/Emails/ProductPublished.php:173
2020
  #: includes/Emails/VendorCompletedOrder.php:180
2021
- #: includes/Emails/VendorNewOrder.php:185
2022
  #: includes/Emails/VendorWithdrawRequest.php:181
2023
  #: includes/Emails/WithdrawApproved.php:169
2024
  #: includes/Emails/WithdrawCancelled.php:169
@@ -2186,11 +2187,11 @@ msgid ""
2186
  "received."
2187
  msgstr ""
2188
 
2189
- #: includes/Emails/VendorNewOrder.php:59
2190
  msgid "[{site_title}] New customer order ({order_number}) - {order_date}"
2191
  msgstr ""
2192
 
2193
- #: includes/Emails/VendorNewOrder.php:69
2194
  msgid "New Customer Order: #{order_number}"
2195
  msgstr ""
2196
 
@@ -2252,157 +2253,161 @@ msgstr ""
2252
  msgid "Mark parent order completed when all child orders are completed."
2253
  msgstr ""
2254
 
2255
- #: includes/Order/Hooks.php:299
 
 
 
 
2256
  msgid "A coupon must be restricted with a vendor product."
2257
  msgstr ""
2258
 
2259
- #: includes/Order/Hooks.php:354
2260
  #. translators: %s item name.
2261
  msgid "Unable to restore stock for item %s."
2262
  msgstr ""
2263
 
2264
- #: includes/Order/Hooks.php:431 includes/Order/Hooks.php:450
2265
  msgid "Stock levels reduced:"
2266
  msgstr ""
2267
 
2268
- #: includes/Order/functions.php:561
2269
  msgid "Pending Payment"
2270
  msgstr ""
2271
 
2272
- #: includes/Order/functions.php:586
2273
  msgid "Failed"
2274
  msgstr ""
2275
 
2276
- #: includes/Order/functions.php:838
2277
  msgid "Order No"
2278
  msgstr ""
2279
 
2280
- #: includes/Order/functions.php:839 templates/orders/details.php:22
2281
  msgid "Order Items"
2282
  msgstr ""
2283
 
2284
- #: includes/Order/functions.php:840
2285
  msgid "Shipping method"
2286
  msgstr ""
2287
 
2288
- #: includes/Order/functions.php:841
2289
  msgid "Shipping Cost"
2290
  msgstr ""
2291
 
2292
- #: includes/Order/functions.php:842
2293
  msgid "Payment method"
2294
  msgstr ""
2295
 
2296
- #: includes/Order/functions.php:843 templates/orders/listing.php:55
2297
  #: templates/orders/listing.php:86
2298
  msgid "Order Total"
2299
  msgstr ""
2300
 
2301
- #: includes/Order/functions.php:844
2302
  msgid "Earnings"
2303
  msgstr ""
2304
 
2305
- #: includes/Order/functions.php:845 includes/REST/OrderController.php:102
2306
  msgid "Order Status"
2307
  msgstr ""
2308
 
2309
- #: includes/Order/functions.php:846
2310
  msgid "Order Date"
2311
  msgstr ""
2312
 
2313
- #: includes/Order/functions.php:847
2314
  msgid "Billing Company"
2315
  msgstr ""
2316
 
2317
- #: includes/Order/functions.php:848
2318
  msgid "Billing First Name"
2319
  msgstr ""
2320
 
2321
- #: includes/Order/functions.php:849
2322
  msgid "Billing Last Name"
2323
  msgstr ""
2324
 
2325
- #: includes/Order/functions.php:850
2326
  msgid "Billing Full Name"
2327
  msgstr ""
2328
 
2329
- #: includes/Order/functions.php:851
2330
  msgid "Billing Email"
2331
  msgstr ""
2332
 
2333
- #: includes/Order/functions.php:852
2334
  msgid "Billing Phone"
2335
  msgstr ""
2336
 
2337
- #: includes/Order/functions.php:853
2338
  msgid "Billing Address 1"
2339
  msgstr ""
2340
 
2341
- #: includes/Order/functions.php:854
2342
  msgid "Billing Address 2"
2343
  msgstr ""
2344
 
2345
- #: includes/Order/functions.php:855
2346
  msgid "Billing City"
2347
  msgstr ""
2348
 
2349
- #: includes/Order/functions.php:856
2350
  msgid "Billing State"
2351
  msgstr ""
2352
 
2353
- #: includes/Order/functions.php:857
2354
  msgid "Billing Postcode"
2355
  msgstr ""
2356
 
2357
- #: includes/Order/functions.php:858
2358
  msgid "Billing Country"
2359
  msgstr ""
2360
 
2361
- #: includes/Order/functions.php:859
2362
  msgid "Shipping Company"
2363
  msgstr ""
2364
 
2365
- #: includes/Order/functions.php:860
2366
  msgid "Shipping First Name"
2367
  msgstr ""
2368
 
2369
- #: includes/Order/functions.php:861
2370
  msgid "Shipping Last Name"
2371
  msgstr ""
2372
 
2373
- #: includes/Order/functions.php:862
2374
  msgid "Shipping Full Name"
2375
  msgstr ""
2376
 
2377
- #: includes/Order/functions.php:863
2378
  msgid "Shipping Address 1"
2379
  msgstr ""
2380
 
2381
- #: includes/Order/functions.php:864
2382
  msgid "Shipping Address 2"
2383
  msgstr ""
2384
 
2385
- #: includes/Order/functions.php:865
2386
  msgid "Shipping City"
2387
  msgstr ""
2388
 
2389
- #: includes/Order/functions.php:866
2390
  msgid "Shipping State"
2391
  msgstr ""
2392
 
2393
- #: includes/Order/functions.php:867
2394
  msgid "Shipping Postcode"
2395
  msgstr ""
2396
 
2397
- #: includes/Order/functions.php:868
2398
  msgid "Shipping Country"
2399
  msgstr ""
2400
 
2401
- #: includes/Order/functions.php:869
2402
  msgid "Customer IP"
2403
  msgstr ""
2404
 
2405
- #: includes/Order/functions.php:870
2406
  msgid "Customer Note"
2407
  msgstr ""
2408
 
@@ -2640,17 +2645,17 @@ msgstr ""
2640
  msgid "Gravatar Url"
2641
  msgstr ""
2642
 
2643
- #: includes/Privacy.php:201 includes/functions.php:2432
2644
  #: src/admin/pages/VendorSocialFields.vue:11
2645
  msgid "Facebook"
2646
  msgstr ""
2647
 
2648
- #: includes/Privacy.php:202 includes/functions.php:2436
2649
  #: src/admin/pages/VendorSocialFields.vue:21
2650
  msgid "Twitter"
2651
  msgstr ""
2652
 
2653
- #: includes/Privacy.php:203 includes/functions.php:2440
2654
  #: src/admin/pages/VendorSocialFields.vue:36
2655
  msgid "Pinterest"
2656
  msgstr ""
@@ -2659,17 +2664,17 @@ msgstr ""
2659
  msgid "Linkedin"
2660
  msgstr ""
2661
 
2662
- #: includes/Privacy.php:205 includes/functions.php:2448
2663
  #: src/admin/pages/VendorSocialFields.vue:26
2664
  msgid "Youtube"
2665
  msgstr ""
2666
 
2667
- #: includes/Privacy.php:206 includes/functions.php:2452
2668
  #: src/admin/pages/VendorSocialFields.vue:41
2669
  msgid "Instagram"
2670
  msgstr ""
2671
 
2672
- #: includes/Privacy.php:207 includes/functions.php:2456
2673
  #: src/admin/pages/VendorSocialFields.vue:16
2674
  msgid "Flickr"
2675
  msgstr ""
@@ -2957,31 +2962,31 @@ msgstr ""
2957
  msgid "View"
2958
  msgstr ""
2959
 
2960
- #: includes/Product/functions.php:579
2961
  msgid "Default sorting"
2962
  msgstr ""
2963
 
2964
- #: includes/Product/functions.php:580
2965
  msgid "Sort by popularity"
2966
  msgstr ""
2967
 
2968
- #: includes/Product/functions.php:581
2969
  msgid "Sort by average rating"
2970
  msgstr ""
2971
 
2972
- #: includes/Product/functions.php:582
2973
  msgid "Sort by latest"
2974
  msgstr ""
2975
 
2976
- #: includes/Product/functions.php:583
2977
  msgid "Sort by price: low to high"
2978
  msgstr ""
2979
 
2980
- #: includes/Product/functions.php:584
2981
  msgid "Sort by price: high to low"
2982
  msgstr ""
2983
 
2984
- #: includes/Product/functions.php:592
2985
  msgid "Relevance"
2986
  msgstr ""
2987
 
@@ -4472,403 +4477,403 @@ msgstr ""
4472
  msgid "Swift code"
4473
  msgstr ""
4474
 
4475
- #: includes/functions.php:827 templates/products/others.php:16
4476
  msgid "Online"
4477
  msgstr ""
4478
 
4479
- #: includes/functions.php:828 templates/products/others.php:17
4480
  msgid "Draft"
4481
  msgstr ""
4482
 
4483
- #: includes/functions.php:829 templates/dashboard/products-widget.php:41
4484
  #: templates/withdraw/pending-request-listing.php:41
4485
  msgid "Pending Review"
4486
  msgstr ""
4487
 
4488
- #: includes/functions.php:830 templates/products/products-listing-row.php:166
4489
  msgid "Scheduled"
4490
  msgstr ""
4491
 
4492
- #: includes/functions.php:875
4493
  msgid "Simple Product"
4494
  msgstr ""
4495
 
4496
- #: includes/functions.php:876 src/admin/pages/VendorCapabilities.vue:99
4497
  msgid "Variable Product"
4498
  msgstr ""
4499
 
4500
- #: includes/functions.php:877
4501
  msgid "Grouped Product"
4502
  msgstr ""
4503
 
4504
- #: includes/functions.php:878
4505
  msgid "External/Affiliate Product"
4506
  msgstr ""
4507
 
4508
- #: includes/functions.php:1116
4509
  msgid "Author"
4510
  msgstr ""
4511
 
4512
- #: includes/functions.php:1301 includes/template-tags.php:393
4513
  #: src/admin/pages/Dashboard.vue:54 templates/dashboard/products-widget.php:16
4514
  msgid "Products"
4515
  msgstr ""
4516
 
4517
- #: includes/functions.php:1305 templates/settings/store-form.php:205
4518
  msgid "Terms and Conditions"
4519
  msgstr ""
4520
 
4521
- #: includes/functions.php:1344
4522
  msgid "Account Name: %s"
4523
  msgstr ""
4524
 
4525
- #: includes/functions.php:1348
4526
  msgid "Account Number: %s"
4527
  msgstr ""
4528
 
4529
- #: includes/functions.php:1352
4530
  msgid "Bank Name: %s"
4531
  msgstr ""
4532
 
4533
- #: includes/functions.php:1356
4534
  msgid "Address: %s"
4535
  msgstr ""
4536
 
4537
- #: includes/functions.php:1360
4538
  msgid "Routing Number: %s"
4539
  msgstr ""
4540
 
4541
- #: includes/functions.php:1364
4542
  msgid "IBAN: %s"
4543
  msgstr ""
4544
 
4545
- #: includes/functions.php:1368
4546
  msgid "SWIFT: %s"
4547
  msgstr ""
4548
 
4549
- #: includes/functions.php:1729
4550
  msgid "Date is not valid"
4551
  msgstr ""
4552
 
4553
- #: includes/functions.php:2178
4554
  msgid "- Select a location -"
4555
  msgstr ""
4556
 
4557
- #: includes/functions.php:2182 includes/functions.php:2206
4558
  msgid "Everywhere Else"
4559
  msgstr ""
4560
 
4561
- #: includes/functions.php:2202
4562
  msgid "- Select a State -"
4563
  msgstr ""
4564
 
4565
- #: includes/functions.php:2225
4566
  msgid "Ready to ship in..."
4567
  msgstr ""
4568
 
4569
- #: includes/functions.php:2226
4570
  msgid "1 business day"
4571
  msgstr ""
4572
 
4573
- #: includes/functions.php:2227
4574
  msgid "1-2 business days"
4575
  msgstr ""
4576
 
4577
- #: includes/functions.php:2228
4578
  msgid "1-3 business days"
4579
  msgstr ""
4580
 
4581
- #: includes/functions.php:2229
4582
  msgid "3-5 business days"
4583
  msgstr ""
4584
 
4585
- #: includes/functions.php:2230
4586
  msgid "1-2 weeks"
4587
  msgstr ""
4588
 
4589
- #: includes/functions.php:2231
4590
  msgid "2-3 weeks"
4591
  msgstr ""
4592
 
4593
- #: includes/functions.php:2232
4594
  msgid "3-4 weeks"
4595
  msgstr ""
4596
 
4597
- #: includes/functions.php:2233
4598
  msgid "4-6 weeks"
4599
  msgstr ""
4600
 
4601
- #: includes/functions.php:2234
4602
  msgid "6-8 weeks"
4603
  msgstr ""
4604
 
4605
- #: includes/functions.php:2343
4606
  msgid "All dates"
4607
  msgstr ""
4608
 
4609
- #: includes/functions.php:2358
4610
  #. translators: 1: month name, 2: 4-digit year
4611
  msgid "%1$s %2$d"
4612
  msgstr ""
4613
 
4614
- #: includes/functions.php:2444
4615
  msgid "LinkedIn"
4616
  msgstr ""
4617
 
4618
- #: includes/functions.php:2725
4619
  msgid "Dokan Store Sidebar"
4620
  msgstr ""
4621
 
4622
- #: includes/functions.php:2973
4623
  msgid "View sales overview"
4624
  msgstr ""
4625
 
4626
- #: includes/functions.php:2974
4627
  msgid "View sales report chart"
4628
  msgstr ""
4629
 
4630
- #: includes/functions.php:2975
4631
  msgid "View announcement"
4632
  msgstr ""
4633
 
4634
- #: includes/functions.php:2976
4635
  msgid "View order report"
4636
  msgstr ""
4637
 
4638
- #: includes/functions.php:2977
4639
  msgid "View review report"
4640
  msgstr ""
4641
 
4642
- #: includes/functions.php:2978
4643
  msgid "View product status report"
4644
  msgstr ""
4645
 
4646
- #: includes/functions.php:2981
4647
  msgid "View overview report"
4648
  msgstr ""
4649
 
4650
- #: includes/functions.php:2982
4651
  msgid "View daily sales report"
4652
  msgstr ""
4653
 
4654
- #: includes/functions.php:2983
4655
  msgid "View top selling report"
4656
  msgstr ""
4657
 
4658
- #: includes/functions.php:2984
4659
  msgid "View top earning report"
4660
  msgstr ""
4661
 
4662
- #: includes/functions.php:2985
4663
  msgid "View statement report"
4664
  msgstr ""
4665
 
4666
- #: includes/functions.php:2988
4667
  msgid "View order"
4668
  msgstr ""
4669
 
4670
- #: includes/functions.php:2989
4671
  msgid "Manage order"
4672
  msgstr ""
4673
 
4674
- #: includes/functions.php:2990
4675
  msgid "Manage order note"
4676
  msgstr ""
4677
 
4678
- #: includes/functions.php:2991
4679
  msgid "Manage refund"
4680
  msgstr ""
4681
 
4682
- #: includes/functions.php:2992
4683
  msgid "Export order"
4684
  msgstr ""
4685
 
4686
- #: includes/functions.php:2995
4687
  msgid "Add coupon"
4688
  msgstr ""
4689
 
4690
- #: includes/functions.php:2996
4691
  msgid "Edit coupon"
4692
  msgstr ""
4693
 
4694
- #: includes/functions.php:2997
4695
  msgid "Delete coupon"
4696
  msgstr ""
4697
 
4698
- #: includes/functions.php:3000
4699
  msgid "View reviews"
4700
  msgstr ""
4701
 
4702
- #: includes/functions.php:3001 src/admin/pages/Premium.vue:395
4703
  msgid "Manage reviews"
4704
  msgstr ""
4705
 
4706
- #: includes/functions.php:3005
4707
  msgid "Manage withdraw"
4708
  msgstr ""
4709
 
4710
- #: includes/functions.php:3008
4711
  msgid "Add product"
4712
  msgstr ""
4713
 
4714
- #: includes/functions.php:3009
4715
  msgid "Edit product"
4716
  msgstr ""
4717
 
4718
- #: includes/functions.php:3010
4719
  msgid "Delete product"
4720
  msgstr ""
4721
 
4722
- #: includes/functions.php:3011
4723
  msgid "View product"
4724
  msgstr ""
4725
 
4726
- #: includes/functions.php:3012
4727
  msgid "Duplicate product"
4728
  msgstr ""
4729
 
4730
- #: includes/functions.php:3013
4731
  msgid "Import product"
4732
  msgstr ""
4733
 
4734
- #: includes/functions.php:3014
4735
  msgid "Export product"
4736
  msgstr ""
4737
 
4738
- #: includes/functions.php:3017
4739
  msgid "View overview menu"
4740
  msgstr ""
4741
 
4742
- #: includes/functions.php:3018
4743
  msgid "View product menu"
4744
  msgstr ""
4745
 
4746
- #: includes/functions.php:3019
4747
  msgid "View order menu"
4748
  msgstr ""
4749
 
4750
- #: includes/functions.php:3020
4751
  msgid "View coupon menu"
4752
  msgstr ""
4753
 
4754
- #: includes/functions.php:3021
4755
  msgid "View report menu"
4756
  msgstr ""
4757
 
4758
- #: includes/functions.php:3022
4759
  msgid "View review menu"
4760
  msgstr ""
4761
 
4762
- #: includes/functions.php:3023
4763
  msgid "View withdraw menu"
4764
  msgstr ""
4765
 
4766
- #: includes/functions.php:3024
4767
  msgid "View store settings menu"
4768
  msgstr ""
4769
 
4770
- #: includes/functions.php:3025
4771
  msgid "View payment settings menu"
4772
  msgstr ""
4773
 
4774
- #: includes/functions.php:3026
4775
  msgid "View shipping settings menu"
4776
  msgstr ""
4777
 
4778
- #: includes/functions.php:3027
4779
  msgid "View social settings menu"
4780
  msgstr ""
4781
 
4782
- #: includes/functions.php:3028
4783
  msgid "View seo settings menu"
4784
  msgstr ""
4785
 
4786
- #: includes/functions.php:3047 src/admin/pages/Dashboard.vue:106
4787
  msgid "Overview"
4788
  msgstr ""
4789
 
4790
- #: includes/functions.php:3048
4791
  msgid "Report"
4792
  msgstr ""
4793
 
4794
- #: includes/functions.php:3049 templates/dashboard/big-counter-widget.php:29
4795
  #: templates/my-orders.php:27 templates/orders/details.php:22
4796
  #: templates/orders/listing.php:54 templates/orders/listing.php:77
4797
  #: templates/sub-orders.php:40
4798
  msgid "Order"
4799
  msgstr ""
4800
 
4801
- #: includes/functions.php:3050
4802
  msgid "Coupon"
4803
  msgstr ""
4804
 
4805
- #: includes/functions.php:3051
4806
  msgid "Review"
4807
  msgstr ""
4808
 
4809
- #: includes/functions.php:3053 templates/emails/vendor-completed-order.php:46
4810
  #: templates/emails/vendor-new-order.php:46
4811
  msgid "Product"
4812
  msgstr ""
4813
 
4814
- #: includes/functions.php:3054
4815
  msgid "Menu"
4816
  msgstr ""
4817
 
4818
- #: includes/functions.php:3231
4819
  msgid "Saturday"
4820
  msgstr ""
4821
 
4822
- #: includes/functions.php:3234
4823
  msgid "Sunday"
4824
  msgstr ""
4825
 
4826
- #: includes/functions.php:3237
4827
  msgid "Monday"
4828
  msgstr ""
4829
 
4830
- #: includes/functions.php:3240
4831
  msgid "Tuesday"
4832
  msgstr ""
4833
 
4834
- #: includes/functions.php:3243
4835
  msgid "Wednesday"
4836
  msgstr ""
4837
 
4838
- #: includes/functions.php:3246
4839
  msgid "Thursday"
4840
  msgstr ""
4841
 
4842
- #: includes/functions.php:3249
4843
  msgid "Friday"
4844
  msgstr ""
4845
 
4846
- #: includes/functions.php:3252
4847
  msgid "Off Day"
4848
  msgstr ""
4849
 
4850
- #: includes/functions.php:3604
4851
  msgid "privacy policy"
4852
  msgstr ""
4853
 
4854
- #: includes/functions.php:3649 src/admin/pages/VendorPaymentFields.vue:142
4855
  #: src/admin/pages/VendorPaymentFields.vue:155
4856
  msgid "Flat"
4857
  msgstr ""
4858
 
4859
- #: includes/functions.php:3650 src/admin/pages/VendorPaymentFields.vue:146
4860
  msgid "Percentage"
4861
  msgstr ""
4862
 
4863
- #: includes/functions.php:3669
4864
  msgid "Please Login to Continue"
4865
  msgstr ""
4866
 
4867
- #: includes/functions.php:3852
4868
  msgid "Unable to fetch plugin information from wordpress.org for %s."
4869
  msgstr ""
4870
 
4871
- #: includes/functions.php:3864
4872
  msgid "Unable to install %s from wordpress.org"
4873
  msgstr ""
4874
 
@@ -7075,7 +7080,7 @@ msgstr ""
7075
  #: templates/products/listing-filter.php:12
7076
  #: templates/products/new-product-single.php:176
7077
  #: templates/products/products-listing-row.php:114
7078
- #: templates/products/products-listing.php:118
7079
  msgid "Simple"
7080
  msgstr ""
7081
 
@@ -7361,33 +7366,33 @@ msgid "Last Modified"
7361
  msgstr ""
7362
 
7363
  #: templates/products/products-listing.php:57
7364
- #: templates/products/products-listing.php:252
7365
  msgid "Add new product"
7366
  msgstr ""
7367
 
7368
  #: templates/products/products-listing.php:107
7369
  msgid ""
7370
- "Earning could be grater then or less then the calculated value based on "
7371
  "different criteria like tax and shipping fee receiver"
7372
  msgstr ""
7373
 
7374
- #: templates/products/products-listing.php:201
7375
  msgid "No product found"
7376
  msgstr ""
7377
 
7378
- #: templates/products/products-listing.php:224
7379
  msgid "« Previous"
7380
  msgstr ""
7381
 
7382
- #: templates/products/products-listing.php:225
7383
  msgid "Next »"
7384
  msgstr ""
7385
 
7386
- #: templates/products/products-listing.php:240
7387
  msgid "No Products Found!"
7388
  msgstr ""
7389
 
7390
- #: templates/products/products-listing.php:245
7391
  msgid "Ready to start selling something awesome?"
7392
  msgstr ""
7393
 
2
  # This file is distributed under the GPL2.
3
  msgid ""
4
  msgstr ""
5
+ "Project-Id-Version: Dokan 3.3.0\n"
6
  "Report-Msgid-Bugs-To: https://wedevs.com/contact/\n"
7
+ "POT-Creation-Date: 2021-10-31 13:38: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"
121
 
122
  #: includes/Admin/AdminBar.php:63 includes/Admin/Menu.php:32
123
  #: includes/Admin/Menu.php:44 includes/Admin/SetupWizard.php:160
124
+ #: includes/functions.php:3058 includes/template-tags.php:408
125
  #: templates/withdraw/header.php:11
126
  msgid "Withdraw"
127
  msgstr ""
372
 
373
  #: includes/Admin/Settings.php:319 includes/Admin/SetupWizard.php:524
374
  #: includes/Dashboard/Templates/Dashboard.php:101
375
+ #: includes/Order/functions.php:562 templates/dashboard/orders-widget.php:26
376
  msgid "Completed"
377
  msgstr ""
378
 
379
  #: includes/Admin/Settings.php:320 includes/Admin/SetupWizard.php:530
380
  #: includes/Dashboard/Templates/Dashboard.php:111
381
+ #: includes/Order/functions.php:577 templates/dashboard/orders-widget.php:36
382
  #: templates/orders/listing.php:151
383
  msgid "Processing"
384
  msgstr ""
385
 
386
+ #: includes/Admin/Settings.php:321 includes/Order/functions.php:572
387
  msgid "On-hold"
388
  msgstr ""
389
 
713
  msgid "Select a page to show your privacy policy"
714
  msgstr ""
715
 
716
+ #: includes/Admin/Settings.php:662 includes/functions.php:3630
717
  msgid ""
718
  "Your personal data will be used to support your experience throughout this "
719
  "website, to manage access to your account, and for other purposes described "
1618
  "button!"
1619
  msgstr ""
1620
 
1621
+ #: includes/Commission.php:98
1622
+ #. translators: %s: Geteway fee
1623
  msgid "Payment gateway processing fee %s"
1624
  msgstr ""
1625
 
1626
+ #: includes/Commission.php:197
1627
  msgid "Product not found"
1628
  msgstr ""
1629
 
1630
+ #: includes/Commission.php:225
1631
  msgid "Order not found"
1632
  msgstr ""
1633
 
1726
  msgstr ""
1727
 
1728
  #: includes/Dashboard/Templates/Dashboard.php:116
1729
+ #: includes/Order/functions.php:587 src/admin/pages/Withdraw.vue:25
1730
  #: templates/dashboard/orders-widget.php:41
1731
  msgid "Cancelled"
1732
  msgstr ""
1733
 
1734
  #: includes/Dashboard/Templates/Dashboard.php:121
1735
+ #: includes/Order/functions.php:582 templates/dashboard/orders-widget.php:46
1736
  msgid "Refunded"
1737
  msgstr ""
1738
 
1944
  #: includes/Emails/NewProductPending.php:153 includes/Emails/NewSeller.php:138
1945
  #: includes/Emails/ProductPublished.php:146
1946
  #: includes/Emails/VendorCompletedOrder.php:154
1947
+ #: includes/Emails/VendorNewOrder.php:162
1948
  #: includes/Emails/VendorWithdrawRequest.php:147
1949
  #: includes/Emails/WithdrawApproved.php:143
1950
  #: includes/Emails/WithdrawCancelled.php:143
1955
  #: includes/Emails/NewProductPending.php:155 includes/Emails/NewSeller.php:140
1956
  #: includes/Emails/ProductPublished.php:148
1957
  #: includes/Emails/VendorCompletedOrder.php:156
1958
+ #: includes/Emails/VendorNewOrder.php:164
1959
  #: includes/Emails/VendorWithdrawRequest.php:149
1960
  #: includes/Emails/WithdrawApproved.php:145
1961
  #: includes/Emails/WithdrawCancelled.php:145
1966
  #: includes/Emails/NewProductPending.php:167 includes/Emails/NewSeller.php:152
1967
  #: includes/Emails/ProductPublished.php:153
1968
  #: includes/Emails/VendorCompletedOrder.php:160
1969
+ #: includes/Emails/VendorNewOrder.php:168
1970
  #: includes/Emails/VendorWithdrawRequest.php:161
1971
  #: includes/Emails/WithdrawApproved.php:149
1972
  #: includes/Emails/WithdrawCancelled.php:149
1981
  #: includes/Emails/ProductPublished.php:166
1982
  #: includes/Emails/VendorCompletedOrder.php:164
1983
  #: includes/Emails/VendorCompletedOrder.php:173
1984
+ #: includes/Emails/VendorNewOrder.php:172
1985
+ #: includes/Emails/VendorNewOrder.php:181
1986
  #: includes/Emails/VendorWithdrawRequest.php:165
1987
  #: includes/Emails/VendorWithdrawRequest.php:174
1988
  #: includes/Emails/WithdrawApproved.php:153
1997
  #: includes/Emails/NewProductPending.php:176 includes/Emails/NewSeller.php:161
1998
  #: includes/Emails/ProductPublished.php:162
1999
  #: includes/Emails/VendorCompletedOrder.php:169
2000
+ #: includes/Emails/VendorNewOrder.php:177
2001
  #: includes/Emails/VendorWithdrawRequest.php:170
2002
  #: includes/Emails/WithdrawApproved.php:158
2003
  #: includes/Emails/WithdrawCancelled.php:158
2008
  #: includes/Emails/NewProductPending.php:185 includes/Emails/NewSeller.php:170
2009
  #: includes/Emails/ProductPublished.php:171
2010
  #: includes/Emails/VendorCompletedOrder.php:178
2011
+ #: includes/Emails/VendorNewOrder.php:186
2012
  #: includes/Emails/VendorWithdrawRequest.php:179
2013
  #: includes/Emails/WithdrawApproved.php:167
2014
  #: includes/Emails/WithdrawCancelled.php:167
2019
  #: includes/Emails/NewProductPending.php:187 includes/Emails/NewSeller.php:172
2020
  #: includes/Emails/ProductPublished.php:173
2021
  #: includes/Emails/VendorCompletedOrder.php:180
2022
+ #: includes/Emails/VendorNewOrder.php:188
2023
  #: includes/Emails/VendorWithdrawRequest.php:181
2024
  #: includes/Emails/WithdrawApproved.php:169
2025
  #: includes/Emails/WithdrawCancelled.php:169
2187
  "received."
2188
  msgstr ""
2189
 
2190
+ #: includes/Emails/VendorNewOrder.php:62
2191
  msgid "[{site_title}] New customer order ({order_number}) - {order_date}"
2192
  msgstr ""
2193
 
2194
+ #: includes/Emails/VendorNewOrder.php:72
2195
  msgid "New Customer Order: #{order_number}"
2196
  msgstr ""
2197
 
2253
  msgid "Mark parent order completed when all child orders are completed."
2254
  msgstr ""
2255
 
2256
+ #: includes/Order/Hooks.php:302
2257
+ msgid "This coupon is invalid for multiple vendors."
2258
+ msgstr ""
2259
+
2260
+ #: includes/Order/Hooks.php:316
2261
  msgid "A coupon must be restricted with a vendor product."
2262
  msgstr ""
2263
 
2264
+ #: includes/Order/Hooks.php:368
2265
  #. translators: %s item name.
2266
  msgid "Unable to restore stock for item %s."
2267
  msgstr ""
2268
 
2269
+ #: includes/Order/Hooks.php:445 includes/Order/Hooks.php:464
2270
  msgid "Stock levels reduced:"
2271
  msgstr ""
2272
 
2273
+ #: includes/Order/functions.php:567
2274
  msgid "Pending Payment"
2275
  msgstr ""
2276
 
2277
+ #: includes/Order/functions.php:592
2278
  msgid "Failed"
2279
  msgstr ""
2280
 
2281
+ #: includes/Order/functions.php:844
2282
  msgid "Order No"
2283
  msgstr ""
2284
 
2285
+ #: includes/Order/functions.php:845 templates/orders/details.php:22
2286
  msgid "Order Items"
2287
  msgstr ""
2288
 
2289
+ #: includes/Order/functions.php:846
2290
  msgid "Shipping method"
2291
  msgstr ""
2292
 
2293
+ #: includes/Order/functions.php:847
2294
  msgid "Shipping Cost"
2295
  msgstr ""
2296
 
2297
+ #: includes/Order/functions.php:848
2298
  msgid "Payment method"
2299
  msgstr ""
2300
 
2301
+ #: includes/Order/functions.php:849 templates/orders/listing.php:55
2302
  #: templates/orders/listing.php:86
2303
  msgid "Order Total"
2304
  msgstr ""
2305
 
2306
+ #: includes/Order/functions.php:850
2307
  msgid "Earnings"
2308
  msgstr ""
2309
 
2310
+ #: includes/Order/functions.php:851 includes/REST/OrderController.php:102
2311
  msgid "Order Status"
2312
  msgstr ""
2313
 
2314
+ #: includes/Order/functions.php:852
2315
  msgid "Order Date"
2316
  msgstr ""
2317
 
2318
+ #: includes/Order/functions.php:853
2319
  msgid "Billing Company"
2320
  msgstr ""
2321
 
2322
+ #: includes/Order/functions.php:854
2323
  msgid "Billing First Name"
2324
  msgstr ""
2325
 
2326
+ #: includes/Order/functions.php:855
2327
  msgid "Billing Last Name"
2328
  msgstr ""
2329
 
2330
+ #: includes/Order/functions.php:856
2331
  msgid "Billing Full Name"
2332
  msgstr ""
2333
 
2334
+ #: includes/Order/functions.php:857
2335
  msgid "Billing Email"
2336
  msgstr ""
2337
 
2338
+ #: includes/Order/functions.php:858
2339
  msgid "Billing Phone"
2340
  msgstr ""
2341
 
2342
+ #: includes/Order/functions.php:859
2343
  msgid "Billing Address 1"
2344
  msgstr ""
2345
 
2346
+ #: includes/Order/functions.php:860
2347
  msgid "Billing Address 2"
2348
  msgstr ""
2349
 
2350
+ #: includes/Order/functions.php:861
2351
  msgid "Billing City"
2352
  msgstr ""
2353
 
2354
+ #: includes/Order/functions.php:862
2355
  msgid "Billing State"
2356
  msgstr ""
2357
 
2358
+ #: includes/Order/functions.php:863
2359
  msgid "Billing Postcode"
2360
  msgstr ""
2361
 
2362
+ #: includes/Order/functions.php:864
2363
  msgid "Billing Country"
2364
  msgstr ""
2365
 
2366
+ #: includes/Order/functions.php:865
2367
  msgid "Shipping Company"
2368
  msgstr ""
2369
 
2370
+ #: includes/Order/functions.php:866
2371
  msgid "Shipping First Name"
2372
  msgstr ""
2373
 
2374
+ #: includes/Order/functions.php:867
2375
  msgid "Shipping Last Name"
2376
  msgstr ""
2377
 
2378
+ #: includes/Order/functions.php:868
2379
  msgid "Shipping Full Name"
2380
  msgstr ""
2381
 
2382
+ #: includes/Order/functions.php:869
2383
  msgid "Shipping Address 1"
2384
  msgstr ""
2385
 
2386
+ #: includes/Order/functions.php:870
2387
  msgid "Shipping Address 2"
2388
  msgstr ""
2389
 
2390
+ #: includes/Order/functions.php:871
2391
  msgid "Shipping City"
2392
  msgstr ""
2393
 
2394
+ #: includes/Order/functions.php:872
2395
  msgid "Shipping State"
2396
  msgstr ""
2397
 
2398
+ #: includes/Order/functions.php:873
2399
  msgid "Shipping Postcode"
2400
  msgstr ""
2401
 
2402
+ #: includes/Order/functions.php:874
2403
  msgid "Shipping Country"
2404
  msgstr ""
2405
 
2406
+ #: includes/Order/functions.php:875
2407
  msgid "Customer IP"
2408
  msgstr ""
2409
 
2410
+ #: includes/Order/functions.php:876
2411
  msgid "Customer Note"
2412
  msgstr ""
2413
 
2645
  msgid "Gravatar Url"
2646
  msgstr ""
2647
 
2648
+ #: includes/Privacy.php:201 includes/functions.php:2438
2649
  #: src/admin/pages/VendorSocialFields.vue:11
2650
  msgid "Facebook"
2651
  msgstr ""
2652
 
2653
+ #: includes/Privacy.php:202 includes/functions.php:2442
2654
  #: src/admin/pages/VendorSocialFields.vue:21
2655
  msgid "Twitter"
2656
  msgstr ""
2657
 
2658
+ #: includes/Privacy.php:203 includes/functions.php:2446
2659
  #: src/admin/pages/VendorSocialFields.vue:36
2660
  msgid "Pinterest"
2661
  msgstr ""
2664
  msgid "Linkedin"
2665
  msgstr ""
2666
 
2667
+ #: includes/Privacy.php:205 includes/functions.php:2454
2668
  #: src/admin/pages/VendorSocialFields.vue:26
2669
  msgid "Youtube"
2670
  msgstr ""
2671
 
2672
+ #: includes/Privacy.php:206 includes/functions.php:2458
2673
  #: src/admin/pages/VendorSocialFields.vue:41
2674
  msgid "Instagram"
2675
  msgstr ""
2676
 
2677
+ #: includes/Privacy.php:207 includes/functions.php:2462
2678
  #: src/admin/pages/VendorSocialFields.vue:16
2679
  msgid "Flickr"
2680
  msgstr ""
2962
  msgid "View"
2963
  msgstr ""
2964
 
2965
+ #: includes/Product/functions.php:581
2966
  msgid "Default sorting"
2967
  msgstr ""
2968
 
2969
+ #: includes/Product/functions.php:582
2970
  msgid "Sort by popularity"
2971
  msgstr ""
2972
 
2973
+ #: includes/Product/functions.php:583
2974
  msgid "Sort by average rating"
2975
  msgstr ""
2976
 
2977
+ #: includes/Product/functions.php:584
2978
  msgid "Sort by latest"
2979
  msgstr ""
2980
 
2981
+ #: includes/Product/functions.php:585
2982
  msgid "Sort by price: low to high"
2983
  msgstr ""
2984
 
2985
+ #: includes/Product/functions.php:586
2986
  msgid "Sort by price: high to low"
2987
  msgstr ""
2988
 
2989
+ #: includes/Product/functions.php:594
2990
  msgid "Relevance"
2991
  msgstr ""
2992
 
4477
  msgid "Swift code"
4478
  msgstr ""
4479
 
4480
+ #: includes/functions.php:833 templates/products/others.php:16
4481
  msgid "Online"
4482
  msgstr ""
4483
 
4484
+ #: includes/functions.php:834 templates/products/others.php:17
4485
  msgid "Draft"
4486
  msgstr ""
4487
 
4488
+ #: includes/functions.php:835 templates/dashboard/products-widget.php:41
4489
  #: templates/withdraw/pending-request-listing.php:41
4490
  msgid "Pending Review"
4491
  msgstr ""
4492
 
4493
+ #: includes/functions.php:836 templates/products/products-listing-row.php:166
4494
  msgid "Scheduled"
4495
  msgstr ""
4496
 
4497
+ #: includes/functions.php:881
4498
  msgid "Simple Product"
4499
  msgstr ""
4500
 
4501
+ #: includes/functions.php:882 src/admin/pages/VendorCapabilities.vue:99
4502
  msgid "Variable Product"
4503
  msgstr ""
4504
 
4505
+ #: includes/functions.php:883
4506
  msgid "Grouped Product"
4507
  msgstr ""
4508
 
4509
+ #: includes/functions.php:884
4510
  msgid "External/Affiliate Product"
4511
  msgstr ""
4512
 
4513
+ #: includes/functions.php:1122
4514
  msgid "Author"
4515
  msgstr ""
4516
 
4517
+ #: includes/functions.php:1307 includes/template-tags.php:393
4518
  #: src/admin/pages/Dashboard.vue:54 templates/dashboard/products-widget.php:16
4519
  msgid "Products"
4520
  msgstr ""
4521
 
4522
+ #: includes/functions.php:1311 templates/settings/store-form.php:205
4523
  msgid "Terms and Conditions"
4524
  msgstr ""
4525
 
4526
+ #: includes/functions.php:1350
4527
  msgid "Account Name: %s"
4528
  msgstr ""
4529
 
4530
+ #: includes/functions.php:1354
4531
  msgid "Account Number: %s"
4532
  msgstr ""
4533
 
4534
+ #: includes/functions.php:1358
4535
  msgid "Bank Name: %s"
4536
  msgstr ""
4537
 
4538
+ #: includes/functions.php:1362
4539
  msgid "Address: %s"
4540
  msgstr ""
4541
 
4542
+ #: includes/functions.php:1366
4543
  msgid "Routing Number: %s"
4544
  msgstr ""
4545
 
4546
+ #: includes/functions.php:1370
4547
  msgid "IBAN: %s"
4548
  msgstr ""
4549
 
4550
+ #: includes/functions.php:1374
4551
  msgid "SWIFT: %s"
4552
  msgstr ""
4553
 
4554
+ #: includes/functions.php:1735
4555
  msgid "Date is not valid"
4556
  msgstr ""
4557
 
4558
+ #: includes/functions.php:2184
4559
  msgid "- Select a location -"
4560
  msgstr ""
4561
 
4562
+ #: includes/functions.php:2188 includes/functions.php:2212
4563
  msgid "Everywhere Else"
4564
  msgstr ""
4565
 
4566
+ #: includes/functions.php:2208
4567
  msgid "- Select a State -"
4568
  msgstr ""
4569
 
4570
+ #: includes/functions.php:2231
4571
  msgid "Ready to ship in..."
4572
  msgstr ""
4573
 
4574
+ #: includes/functions.php:2232
4575
  msgid "1 business day"
4576
  msgstr ""
4577
 
4578
+ #: includes/functions.php:2233
4579
  msgid "1-2 business days"
4580
  msgstr ""
4581
 
4582
+ #: includes/functions.php:2234
4583
  msgid "1-3 business days"
4584
  msgstr ""
4585
 
4586
+ #: includes/functions.php:2235
4587
  msgid "3-5 business days"
4588
  msgstr ""
4589
 
4590
+ #: includes/functions.php:2236
4591
  msgid "1-2 weeks"
4592
  msgstr ""
4593
 
4594
+ #: includes/functions.php:2237
4595
  msgid "2-3 weeks"
4596
  msgstr ""
4597
 
4598
+ #: includes/functions.php:2238
4599
  msgid "3-4 weeks"
4600
  msgstr ""
4601
 
4602
+ #: includes/functions.php:2239
4603
  msgid "4-6 weeks"
4604
  msgstr ""
4605
 
4606
+ #: includes/functions.php:2240
4607
  msgid "6-8 weeks"
4608
  msgstr ""
4609
 
4610
+ #: includes/functions.php:2349
4611
  msgid "All dates"
4612
  msgstr ""
4613
 
4614
+ #: includes/functions.php:2364
4615
  #. translators: 1: month name, 2: 4-digit year
4616
  msgid "%1$s %2$d"
4617
  msgstr ""
4618
 
4619
+ #: includes/functions.php:2450
4620
  msgid "LinkedIn"
4621
  msgstr ""
4622
 
4623
+ #: includes/functions.php:2731
4624
  msgid "Dokan Store Sidebar"
4625
  msgstr ""
4626
 
4627
+ #: includes/functions.php:2979
4628
  msgid "View sales overview"
4629
  msgstr ""
4630
 
4631
+ #: includes/functions.php:2980
4632
  msgid "View sales report chart"
4633
  msgstr ""
4634
 
4635
+ #: includes/functions.php:2981
4636
  msgid "View announcement"
4637
  msgstr ""
4638
 
4639
+ #: includes/functions.php:2982
4640
  msgid "View order report"
4641
  msgstr ""
4642
 
4643
+ #: includes/functions.php:2983
4644
  msgid "View review report"
4645
  msgstr ""
4646
 
4647
+ #: includes/functions.php:2984
4648
  msgid "View product status report"
4649
  msgstr ""
4650
 
4651
+ #: includes/functions.php:2987
4652
  msgid "View overview report"
4653
  msgstr ""
4654
 
4655
+ #: includes/functions.php:2988
4656
  msgid "View daily sales report"
4657
  msgstr ""
4658
 
4659
+ #: includes/functions.php:2989
4660
  msgid "View top selling report"
4661
  msgstr ""
4662
 
4663
+ #: includes/functions.php:2990
4664
  msgid "View top earning report"
4665
  msgstr ""
4666
 
4667
+ #: includes/functions.php:2991
4668
  msgid "View statement report"
4669
  msgstr ""
4670
 
4671
+ #: includes/functions.php:2994
4672
  msgid "View order"
4673
  msgstr ""
4674
 
4675
+ #: includes/functions.php:2995
4676
  msgid "Manage order"
4677
  msgstr ""
4678
 
4679
+ #: includes/functions.php:2996
4680
  msgid "Manage order note"
4681
  msgstr ""
4682
 
4683
+ #: includes/functions.php:2997
4684
  msgid "Manage refund"
4685
  msgstr ""
4686
 
4687
+ #: includes/functions.php:2998
4688
  msgid "Export order"
4689
  msgstr ""
4690
 
4691
+ #: includes/functions.php:3001
4692
  msgid "Add coupon"
4693
  msgstr ""
4694
 
4695
+ #: includes/functions.php:3002
4696
  msgid "Edit coupon"
4697
  msgstr ""
4698
 
4699
+ #: includes/functions.php:3003
4700
  msgid "Delete coupon"
4701
  msgstr ""
4702
 
4703
+ #: includes/functions.php:3006
4704
  msgid "View reviews"
4705
  msgstr ""
4706
 
4707
+ #: includes/functions.php:3007 src/admin/pages/Premium.vue:395
4708
  msgid "Manage reviews"
4709
  msgstr ""
4710
 
4711
+ #: includes/functions.php:3011
4712
  msgid "Manage withdraw"
4713
  msgstr ""
4714
 
4715
+ #: includes/functions.php:3014
4716
  msgid "Add product"
4717
  msgstr ""
4718
 
4719
+ #: includes/functions.php:3015
4720
  msgid "Edit product"
4721
  msgstr ""
4722
 
4723
+ #: includes/functions.php:3016
4724
  msgid "Delete product"
4725
  msgstr ""
4726
 
4727
+ #: includes/functions.php:3017
4728
  msgid "View product"
4729
  msgstr ""
4730
 
4731
+ #: includes/functions.php:3018
4732
  msgid "Duplicate product"
4733
  msgstr ""
4734
 
4735
+ #: includes/functions.php:3019
4736
  msgid "Import product"
4737
  msgstr ""
4738
 
4739
+ #: includes/functions.php:3020
4740
  msgid "Export product"
4741
  msgstr ""
4742
 
4743
+ #: includes/functions.php:3023
4744
  msgid "View overview menu"
4745
  msgstr ""
4746
 
4747
+ #: includes/functions.php:3024
4748
  msgid "View product menu"
4749
  msgstr ""
4750
 
4751
+ #: includes/functions.php:3025
4752
  msgid "View order menu"
4753
  msgstr ""
4754
 
4755
+ #: includes/functions.php:3026
4756
  msgid "View coupon menu"
4757
  msgstr ""
4758
 
4759
+ #: includes/functions.php:3027
4760
  msgid "View report menu"
4761
  msgstr ""
4762
 
4763
+ #: includes/functions.php:3028
4764
  msgid "View review menu"
4765
  msgstr ""
4766
 
4767
+ #: includes/functions.php:3029
4768
  msgid "View withdraw menu"
4769
  msgstr ""
4770
 
4771
+ #: includes/functions.php:3030
4772
  msgid "View store settings menu"
4773
  msgstr ""
4774
 
4775
+ #: includes/functions.php:3031
4776
  msgid "View payment settings menu"
4777
  msgstr ""
4778
 
4779
+ #: includes/functions.php:3032
4780
  msgid "View shipping settings menu"
4781
  msgstr ""
4782
 
4783
+ #: includes/functions.php:3033
4784
  msgid "View social settings menu"
4785
  msgstr ""
4786
 
4787
+ #: includes/functions.php:3034
4788
  msgid "View seo settings menu"
4789
  msgstr ""
4790
 
4791
+ #: includes/functions.php:3053 src/admin/pages/Dashboard.vue:106
4792
  msgid "Overview"
4793
  msgstr ""
4794
 
4795
+ #: includes/functions.php:3054
4796
  msgid "Report"
4797
  msgstr ""
4798
 
4799
+ #: includes/functions.php:3055 templates/dashboard/big-counter-widget.php:29
4800
  #: templates/my-orders.php:27 templates/orders/details.php:22
4801
  #: templates/orders/listing.php:54 templates/orders/listing.php:77
4802
  #: templates/sub-orders.php:40
4803
  msgid "Order"
4804
  msgstr ""
4805
 
4806
+ #: includes/functions.php:3056
4807
  msgid "Coupon"
4808
  msgstr ""
4809
 
4810
+ #: includes/functions.php:3057
4811
  msgid "Review"
4812
  msgstr ""
4813
 
4814
+ #: includes/functions.php:3059 templates/emails/vendor-completed-order.php:46
4815
  #: templates/emails/vendor-new-order.php:46
4816
  msgid "Product"
4817
  msgstr ""
4818
 
4819
+ #: includes/functions.php:3060
4820
  msgid "Menu"
4821
  msgstr ""
4822
 
4823
+ #: includes/functions.php:3237
4824
  msgid "Saturday"
4825
  msgstr ""
4826
 
4827
+ #: includes/functions.php:3240
4828
  msgid "Sunday"
4829
  msgstr ""
4830
 
4831
+ #: includes/functions.php:3243
4832
  msgid "Monday"
4833
  msgstr ""
4834
 
4835
+ #: includes/functions.php:3246
4836
  msgid "Tuesday"
4837
  msgstr ""
4838
 
4839
+ #: includes/functions.php:3249
4840
  msgid "Wednesday"
4841
  msgstr ""
4842
 
4843
+ #: includes/functions.php:3252
4844
  msgid "Thursday"
4845
  msgstr ""
4846
 
4847
+ #: includes/functions.php:3255
4848
  msgid "Friday"
4849
  msgstr ""
4850
 
4851
+ #: includes/functions.php:3258
4852
  msgid "Off Day"
4853
  msgstr ""
4854
 
4855
+ #: includes/functions.php:3610
4856
  msgid "privacy policy"
4857
  msgstr ""
4858
 
4859
+ #: includes/functions.php:3655 src/admin/pages/VendorPaymentFields.vue:142
4860
  #: src/admin/pages/VendorPaymentFields.vue:155
4861
  msgid "Flat"
4862
  msgstr ""
4863
 
4864
+ #: includes/functions.php:3656 src/admin/pages/VendorPaymentFields.vue:146
4865
  msgid "Percentage"
4866
  msgstr ""
4867
 
4868
+ #: includes/functions.php:3675
4869
  msgid "Please Login to Continue"
4870
  msgstr ""
4871
 
4872
+ #: includes/functions.php:3858
4873
  msgid "Unable to fetch plugin information from wordpress.org for %s."
4874
  msgstr ""
4875
 
4876
+ #: includes/functions.php:3870
4877
  msgid "Unable to install %s from wordpress.org"
4878
  msgstr ""
4879
 
7080
  #: templates/products/listing-filter.php:12
7081
  #: templates/products/new-product-single.php:176
7082
  #: templates/products/products-listing-row.php:114
7083
+ #: templates/products/products-listing.php:119
7084
  msgid "Simple"
7085
  msgstr ""
7086
 
7366
  msgstr ""
7367
 
7368
  #: templates/products/products-listing.php:57
7369
+ #: templates/products/products-listing.php:253
7370
  msgid "Add new product"
7371
  msgstr ""
7372
 
7373
  #: templates/products/products-listing.php:107
7374
  msgid ""
7375
+ "Earning could be greater than or less than the calculated value based on "
7376
  "different criteria like tax and shipping fee receiver"
7377
  msgstr ""
7378
 
7379
+ #: templates/products/products-listing.php:202
7380
  msgid "No product found"
7381
  msgstr ""
7382
 
7383
+ #: templates/products/products-listing.php:225
7384
  msgid "« Previous"
7385
  msgstr ""
7386
 
7387
+ #: templates/products/products-listing.php:226
7388
  msgid "Next »"
7389
  msgstr ""
7390
 
7391
+ #: templates/products/products-listing.php:241
7392
  msgid "No Products Found!"
7393
  msgstr ""
7394
 
7395
+ #: templates/products/products-listing.php:246
7396
  msgid "Ready to start selling something awesome?"
7397
  msgstr ""
7398
 
readme.txt CHANGED
@@ -7,7 +7,7 @@ Tested up to: 5.8.1
7
  WC requires at least: 3.0
8
  WC tested up to: 5.8.0
9
  Requires PHP: 5.6
10
- Stable tag: 3.2.15
11
  License: GPLv2 or later
12
  License URI: http://www.gnu.org/licenses/gpl-2.0.html
13
 
@@ -292,6 +292,12 @@ A. Just install and activate the PRO version without deleting the free plugin. A
292
 
293
  == Changelog ==
294
 
 
 
 
 
 
 
295
  = v3.2.15 ( Oct 13, 2021 ) =
296
 
297
  - **feat:** Permanently delete Dokan related data (custom tables, options, pages, user roles and capabilities etc) after plugin delete based on admin Setting
7
  WC requires at least: 3.0
8
  WC tested up to: 5.8.0
9
  Requires PHP: 5.6
10
+ Stable tag: 3.3.0
11
  License: GPLv2 or later
12
  License URI: http://www.gnu.org/licenses/gpl-2.0.html
13
 
292
 
293
  == Changelog ==
294
 
295
+ = v3.3.0 ( Oct 31, 2021 ) =
296
+
297
+ - **update:** Added integration of sweetalert2 for alert, prompt, confirm, toast notification
298
+ - **fix:** Fixed typo in vendor earning tooltip.
299
+ - **fix** Vendor wasn't getting a notification when order status change from cancelled to processing, on-hold, or completed. This has been fixed now
300
+
301
  = v3.2.15 ( Oct 13, 2021 ) =
302
 
303
  - **feat:** Permanently delete Dokan related data (custom tables, options, pages, user roles and capabilities etc) after plugin delete based on admin Setting
templates/products/new-product-single.php CHANGED
@@ -432,7 +432,7 @@ do_action( 'dokan_dashboard_wrap_before', $post, $post_id );
432
 
433
  <!--hidden input for Firefox issue-->
434
  <input type="hidden" name="dokan_update_product" value="<?php esc_attr_e( 'Save Product', 'dokan-lite' ); ?>"/>
435
- <input type="submit" name="dokan_update_product" class="dokan-btn dokan-btn-theme dokan-btn-lg dokan-right" value="<?php esc_attr_e( 'Save Product', 'dokan-lite' ); ?>"/>
436
  <div class="dokan-clearfix"></div>
437
  </form>
438
  <?php } else { ?>
432
 
433
  <!--hidden input for Firefox issue-->
434
  <input type="hidden" name="dokan_update_product" value="<?php esc_attr_e( 'Save Product', 'dokan-lite' ); ?>"/>
435
+ <input type="submit" name="dokan_update_product" id="publish" class="dokan-btn dokan-btn-theme dokan-btn-lg dokan-right" value="<?php esc_attr_e( 'Save Product', 'dokan-lite' ); ?>"/>
436
  <div class="dokan-clearfix"></div>
437
  </form>
438
  <?php } else { ?>
templates/products/products-listing-row.php CHANGED
@@ -31,7 +31,7 @@
31
  <tr class="<?php echo esc_attr( $tr_class ); ?>">
32
  <th class="dokan-product-select check-column">
33
  <label for="cb-select-<?php echo esc_attr( $post->ID ); ?>"></label>
34
- <input class="cb-select-items dokan-checkbox" type="checkbox" name="bulk_products[]" value="<?php echo esc_attr( $post->ID ); ?>">
35
  </th>
36
  <td data-title="<?php esc_attr_e( 'Image', 'dokan-lite' ); ?>" class="column-thumb">
37
  <?php if ( current_user_can( 'dokan_edit_product' ) ) { ?>
31
  <tr class="<?php echo esc_attr( $tr_class ); ?>">
32
  <th class="dokan-product-select check-column">
33
  <label for="cb-select-<?php echo esc_attr( $post->ID ); ?>"></label>
34
+ <input class="cb-select-items dokan-checkbox" type="checkbox" data-product-name="<?php echo esc_attr( $product->get_title() ); ?>" name="bulk_products[]" value="<?php echo esc_attr( $post->ID ); ?>">
35
  </th>
36
  <td data-title="<?php esc_attr_e( 'Image', 'dokan-lite' ); ?>" class="column-thumb">
37
  <?php if ( current_user_can( 'dokan_edit_product' ) ) { ?>
templates/products/products-listing.php CHANGED
@@ -104,13 +104,14 @@
104
  <th><?php esc_html_e( 'SKU', 'dokan-lite' ); ?></th>
105
  <th><?php esc_html_e( 'Stock', 'dokan-lite' ); ?></th>
106
  <th><?php esc_html_e( 'Price', 'dokan-lite' ); ?></th>
107
- <th><?php esc_html_e( 'Earning', 'dokan-lite' ); ?><?php echo '<span class="tips earning-info" title="' . esc_html__( 'Earning could be grater then or less then the calculated value based on different criteria like tax and shipping fee receiver', 'dokan-lite' ) . '"></span>';?></th>
108
  <th><?php esc_html_e( 'Type', 'dokan-lite' ); ?></th>
109
  <th><?php esc_html_e( 'Views', 'dokan-lite' ); ?></th>
110
  <th><?php esc_html_e( 'Date', 'dokan-lite' ); ?></th>
111
  </tr>
112
  </thead>
113
  <tbody>
 
114
  <?php
115
  $pagenum = isset( $_GET['pagenum'] ) ? absint( $_GET['pagenum'] ) : 1;
116
  $post_statuses = apply_filters( 'dokan_product_listing_post_statuses', [ 'publish', 'draft', 'pending', 'future' ] );
104
  <th><?php esc_html_e( 'SKU', 'dokan-lite' ); ?></th>
105
  <th><?php esc_html_e( 'Stock', 'dokan-lite' ); ?></th>
106
  <th><?php esc_html_e( 'Price', 'dokan-lite' ); ?></th>
107
+ <th><?php esc_html_e( 'Earning', 'dokan-lite' ); ?><?php echo '<span class="tips earning-info" title="' . esc_html__( 'Earning could be greater than or less than the calculated value based on different criteria like tax and shipping fee receiver', 'dokan-lite' ) . '"></span>';?></th>
108
  <th><?php esc_html_e( 'Type', 'dokan-lite' ); ?></th>
109
  <th><?php esc_html_e( 'Views', 'dokan-lite' ); ?></th>
110
  <th><?php esc_html_e( 'Date', 'dokan-lite' ); ?></th>
111
  </tr>
112
  </thead>
113
  <tbody>
114
+ <?php do_action( 'dokan_product_list_before_table_body_start' ); ?>
115
  <?php
116
  $pagenum = isset( $_GET['pagenum'] ) ? absint( $_GET['pagenum'] ) : 1;
117
  $post_statuses = apply_filters( 'dokan_product_listing_post_statuses', [ 'publish', 'draft', 'pending', 'future' ] );
vendor/autoload.php CHANGED
@@ -4,4 +4,4 @@
4
 
5
  require_once __DIR__ . '/composer/autoload_real.php';
6
 
7
- return ComposerAutoloaderInitf35ff309e6e3075f00268b3a6bb9877e::getLoader();
4
 
5
  require_once __DIR__ . '/composer/autoload_real.php';
6
 
7
+ return ComposerAutoloaderInit11011a74fd6e9438d7fd882addcf9aad::getLoader();
vendor/composer/ClassLoader.php CHANGED
@@ -37,57 +37,130 @@ namespace Composer\Autoload;
37
  *
38
  * @author Fabien Potencier <fabien@symfony.com>
39
  * @author Jordi Boggiano <j.boggiano@seld.be>
40
- * @see http://www.php-fig.org/psr/psr-0/
41
- * @see http://www.php-fig.org/psr/psr-4/
42
  */
43
  class ClassLoader
44
  {
 
 
 
45
  // PSR-4
 
 
 
 
46
  private $prefixLengthsPsr4 = array();
 
 
 
 
47
  private $prefixDirsPsr4 = array();
 
 
 
 
48
  private $fallbackDirsPsr4 = array();
49
 
50
  // PSR-0
 
 
 
 
51
  private $prefixesPsr0 = array();
 
 
 
 
52
  private $fallbackDirsPsr0 = array();
53
 
 
54
  private $useIncludePath = false;
 
 
 
 
 
55
  private $classMap = array();
 
 
56
  private $classMapAuthoritative = false;
 
 
 
 
 
57
  private $missingClasses = array();
 
 
58
  private $apcuPrefix;
59
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
60
  public function getPrefixes()
61
  {
62
  if (!empty($this->prefixesPsr0)) {
63
- return call_user_func_array('array_merge', $this->prefixesPsr0);
64
  }
65
 
66
  return array();
67
  }
68
 
 
 
 
 
69
  public function getPrefixesPsr4()
70
  {
71
  return $this->prefixDirsPsr4;
72
  }
73
 
 
 
 
 
74
  public function getFallbackDirs()
75
  {
76
  return $this->fallbackDirsPsr0;
77
  }
78
 
 
 
 
 
79
  public function getFallbackDirsPsr4()
80
  {
81
  return $this->fallbackDirsPsr4;
82
  }
83
 
 
 
 
 
84
  public function getClassMap()
85
  {
86
  return $this->classMap;
87
  }
88
 
89
  /**
90
- * @param array $classMap Class to filename map
 
 
 
91
  */
92
  public function addClassMap(array $classMap)
93
  {
@@ -102,9 +175,11 @@ class ClassLoader
102
  * Registers a set of PSR-0 directories for a given prefix, either
103
  * appending or prepending to the ones previously set for this prefix.
104
  *
105
- * @param string $prefix The prefix
106
- * @param array|string $paths The PSR-0 root directories
107
- * @param bool $prepend Whether to prepend the directories
 
 
108
  */
109
  public function add($prefix, $paths, $prepend = false)
110
  {
@@ -147,11 +222,13 @@ class ClassLoader
147
  * Registers a set of PSR-4 directories for a given namespace, either
148
  * appending or prepending to the ones previously set for this namespace.
149
  *
150
- * @param string $prefix The prefix/namespace, with trailing '\\'
151
- * @param array|string $paths The PSR-4 base directories
152
- * @param bool $prepend Whether to prepend the directories
153
  *
154
  * @throws \InvalidArgumentException
 
 
155
  */
156
  public function addPsr4($prefix, $paths, $prepend = false)
157
  {
@@ -195,8 +272,10 @@ class ClassLoader
195
  * Registers a set of PSR-0 directories for a given prefix,
196
  * replacing any others previously set for this prefix.
197
  *
198
- * @param string $prefix The prefix
199
- * @param array|string $paths The PSR-0 base directories
 
 
200
  */
201
  public function set($prefix, $paths)
202
  {
@@ -211,10 +290,12 @@ class ClassLoader
211
  * Registers a set of PSR-4 directories for a given namespace,
212
  * replacing any others previously set for this namespace.
213
  *
214
- * @param string $prefix The prefix/namespace, with trailing '\\'
215
- * @param array|string $paths The PSR-4 base directories
216
  *
217
  * @throws \InvalidArgumentException
 
 
218
  */
219
  public function setPsr4($prefix, $paths)
220
  {
@@ -234,6 +315,8 @@ class ClassLoader
234
  * Turns on searching the include path for class files.
235
  *
236
  * @param bool $useIncludePath
 
 
237
  */
238
  public function setUseIncludePath($useIncludePath)
239
  {
@@ -256,6 +339,8 @@ class ClassLoader
256
  * that have not been registered with the class map.
257
  *
258
  * @param bool $classMapAuthoritative
 
 
259
  */
260
  public function setClassMapAuthoritative($classMapAuthoritative)
261
  {
@@ -276,6 +361,8 @@ class ClassLoader
276
  * APCu prefix to use to cache found/not-found classes, if the extension is enabled.
277
  *
278
  * @param string|null $apcuPrefix
 
 
279
  */
280
  public function setApcuPrefix($apcuPrefix)
281
  {
@@ -296,25 +383,44 @@ class ClassLoader
296
  * Registers this instance as an autoloader.
297
  *
298
  * @param bool $prepend Whether to prepend the autoloader or not
 
 
299
  */
300
  public function register($prepend = false)
301
  {
302
  spl_autoload_register(array($this, 'loadClass'), true, $prepend);
 
 
 
 
 
 
 
 
 
 
 
303
  }
304
 
305
  /**
306
  * Unregisters this instance as an autoloader.
 
 
307
  */
308
  public function unregister()
309
  {
310
  spl_autoload_unregister(array($this, 'loadClass'));
 
 
 
 
311
  }
312
 
313
  /**
314
  * Loads the given class or interface.
315
  *
316
  * @param string $class The name of the class
317
- * @return bool|null True if loaded, null otherwise
318
  */
319
  public function loadClass($class)
320
  {
@@ -323,6 +429,8 @@ class ClassLoader
323
 
324
  return true;
325
  }
 
 
326
  }
327
 
328
  /**
@@ -367,6 +475,21 @@ class ClassLoader
367
  return $file;
368
  }
369
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
370
  private function findFileWithExtension($class, $ext)
371
  {
372
  // PSR-4 lookup
@@ -438,6 +561,10 @@ class ClassLoader
438
  * Scope isolated include.
439
  *
440
  * Prevents access to $this/self from included files.
 
 
 
 
441
  */
442
  function includeFile($file)
443
  {
37
  *
38
  * @author Fabien Potencier <fabien@symfony.com>
39
  * @author Jordi Boggiano <j.boggiano@seld.be>
40
+ * @see https://www.php-fig.org/psr/psr-0/
41
+ * @see https://www.php-fig.org/psr/psr-4/
42
  */
43
  class ClassLoader
44
  {
45
+ /** @var ?string */
46
+ private $vendorDir;
47
+
48
  // PSR-4
49
+ /**
50
+ * @var array[]
51
+ * @psalm-var array<string, array<string, int>>
52
+ */
53
  private $prefixLengthsPsr4 = array();
54
+ /**
55
+ * @var array[]
56
+ * @psalm-var array<string, array<int, string>>
57
+ */
58
  private $prefixDirsPsr4 = array();
59
+ /**
60
+ * @var array[]
61
+ * @psalm-var array<string, string>
62
+ */
63
  private $fallbackDirsPsr4 = array();
64
 
65
  // PSR-0
66
+ /**
67
+ * @var array[]
68
+ * @psalm-var array<string, array<string, string[]>>
69
+ */
70
  private $prefixesPsr0 = array();
71
+ /**
72
+ * @var array[]
73
+ * @psalm-var array<string, string>
74
+ */
75
  private $fallbackDirsPsr0 = array();
76
 
77
+ /** @var bool */
78
  private $useIncludePath = false;
79
+
80
+ /**
81
+ * @var string[]
82
+ * @psalm-var array<string, string>
83
+ */
84
  private $classMap = array();
85
+
86
+ /** @var bool */
87
  private $classMapAuthoritative = false;
88
+
89
+ /**
90
+ * @var bool[]
91
+ * @psalm-var array<string, bool>
92
+ */
93
  private $missingClasses = array();
94
+
95
+ /** @var ?string */
96
  private $apcuPrefix;
97
 
98
+ /**
99
+ * @var self[]
100
+ */
101
+ private static $registeredLoaders = array();
102
+
103
+ /**
104
+ * @param ?string $vendorDir
105
+ */
106
+ public function __construct($vendorDir = null)
107
+ {
108
+ $this->vendorDir = $vendorDir;
109
+ }
110
+
111
+ /**
112
+ * @return string[]
113
+ */
114
  public function getPrefixes()
115
  {
116
  if (!empty($this->prefixesPsr0)) {
117
+ return call_user_func_array('array_merge', array_values($this->prefixesPsr0));
118
  }
119
 
120
  return array();
121
  }
122
 
123
+ /**
124
+ * @return array[]
125
+ * @psalm-return array<string, array<int, string>>
126
+ */
127
  public function getPrefixesPsr4()
128
  {
129
  return $this->prefixDirsPsr4;
130
  }
131
 
132
+ /**
133
+ * @return array[]
134
+ * @psalm-return array<string, string>
135
+ */
136
  public function getFallbackDirs()
137
  {
138
  return $this->fallbackDirsPsr0;
139
  }
140
 
141
+ /**
142
+ * @return array[]
143
+ * @psalm-return array<string, string>
144
+ */
145
  public function getFallbackDirsPsr4()
146
  {
147
  return $this->fallbackDirsPsr4;
148
  }
149
 
150
+ /**
151
+ * @return string[] Array of classname => path
152
+ * @psalm-var array<string, string>
153
+ */
154
  public function getClassMap()
155
  {
156
  return $this->classMap;
157
  }
158
 
159
  /**
160
+ * @param string[] $classMap Class to filename map
161
+ * @psalm-param array<string, string> $classMap
162
+ *
163
+ * @return void
164
  */
165
  public function addClassMap(array $classMap)
166
  {
175
  * Registers a set of PSR-0 directories for a given prefix, either
176
  * appending or prepending to the ones previously set for this prefix.
177
  *
178
+ * @param string $prefix The prefix
179
+ * @param string[]|string $paths The PSR-0 root directories
180
+ * @param bool $prepend Whether to prepend the directories
181
+ *
182
+ * @return void
183
  */
184
  public function add($prefix, $paths, $prepend = false)
185
  {
222
  * Registers a set of PSR-4 directories for a given namespace, either
223
  * appending or prepending to the ones previously set for this namespace.
224
  *
225
+ * @param string $prefix The prefix/namespace, with trailing '\\'
226
+ * @param string[]|string $paths The PSR-4 base directories
227
+ * @param bool $prepend Whether to prepend the directories
228
  *
229
  * @throws \InvalidArgumentException
230
+ *
231
+ * @return void
232
  */
233
  public function addPsr4($prefix, $paths, $prepend = false)
234
  {
272
  * Registers a set of PSR-0 directories for a given prefix,
273
  * replacing any others previously set for this prefix.
274
  *
275
+ * @param string $prefix The prefix
276
+ * @param string[]|string $paths The PSR-0 base directories
277
+ *
278
+ * @return void
279
  */
280
  public function set($prefix, $paths)
281
  {
290
  * Registers a set of PSR-4 directories for a given namespace,
291
  * replacing any others previously set for this namespace.
292
  *
293
+ * @param string $prefix The prefix/namespace, with trailing '\\'
294
+ * @param string[]|string $paths The PSR-4 base directories
295
  *
296
  * @throws \InvalidArgumentException
297
+ *
298
+ * @return void
299
  */
300
  public function setPsr4($prefix, $paths)
301
  {
315
  * Turns on searching the include path for class files.
316
  *
317
  * @param bool $useIncludePath
318
+ *
319
+ * @return void
320
  */
321
  public function setUseIncludePath($useIncludePath)
322
  {
339
  * that have not been registered with the class map.
340
  *
341
  * @param bool $classMapAuthoritative
342
+ *
343
+ * @return void
344
  */
345
  public function setClassMapAuthoritative($classMapAuthoritative)
346
  {
361
  * APCu prefix to use to cache found/not-found classes, if the extension is enabled.
362
  *
363
  * @param string|null $apcuPrefix
364
+ *
365
+ * @return void
366
  */
367
  public function setApcuPrefix($apcuPrefix)
368
  {
383
  * Registers this instance as an autoloader.
384
  *
385
  * @param bool $prepend Whether to prepend the autoloader or not
386
+ *
387
+ * @return void
388
  */
389
  public function register($prepend = false)
390
  {
391
  spl_autoload_register(array($this, 'loadClass'), true, $prepend);
392
+
393
+ if (null === $this->vendorDir) {
394
+ return;
395
+ }
396
+
397
+ if ($prepend) {
398
+ self::$registeredLoaders = array($this->vendorDir => $this) + self::$registeredLoaders;
399
+ } else {
400
+ unset(self::$registeredLoaders[$this->vendorDir]);
401
+ self::$registeredLoaders[$this->vendorDir] = $this;
402
+ }
403
  }
404
 
405
  /**
406
  * Unregisters this instance as an autoloader.
407
+ *
408
+ * @return void
409
  */
410
  public function unregister()
411
  {
412
  spl_autoload_unregister(array($this, 'loadClass'));
413
+
414
+ if (null !== $this->vendorDir) {
415
+ unset(self::$registeredLoaders[$this->vendorDir]);
416
+ }
417
  }
418
 
419
  /**
420
  * Loads the given class or interface.
421
  *
422
  * @param string $class The name of the class
423
+ * @return true|null True if loaded, null otherwise
424
  */
425
  public function loadClass($class)
426
  {
429
 
430
  return true;
431
  }
432
+
433
+ return null;
434
  }
435
 
436
  /**
475
  return $file;
476
  }
477
 
478
+ /**
479
+ * Returns the currently registered loaders indexed by their corresponding vendor directories.
480
+ *
481
+ * @return self[]
482
+ */
483
+ public static function getRegisteredLoaders()
484
+ {
485
+ return self::$registeredLoaders;
486
+ }
487
+
488
+ /**
489
+ * @param string $class
490
+ * @param string $ext
491
+ * @return string|false
492
+ */
493
  private function findFileWithExtension($class, $ext)
494
  {
495
  // PSR-4 lookup
561
  * Scope isolated include.
562
  *
563
  * Prevents access to $this/self from included files.
564
+ *
565
+ * @param string $file
566
+ * @return void
567
+ * @private
568
  */
569
  function includeFile($file)
570
  {
vendor/composer/InstalledVersions.php ADDED
@@ -0,0 +1,337 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ <?php
2
+
3
+ /*
4
+ * This file is part of Composer.
5
+ *
6
+ * (c) Nils Adermann <naderman@naderman.de>
7
+ * Jordi Boggiano <j.boggiano@seld.be>
8
+ *
9
+ * For the full copyright and license information, please view the LICENSE
10
+ * file that was distributed with this source code.
11
+ */
12
+
13
+ namespace Composer;
14
+
15
+ use Composer\Autoload\ClassLoader;
16
+ use Composer\Semver\VersionParser;
17
+
18
+ /**
19
+ * This class is copied in every Composer installed project and available to all
20
+ *
21
+ * See also https://getcomposer.org/doc/07-runtime.md#installed-versions
22
+ *
23
+ * To require its presence, you can require `composer-runtime-api ^2.0`
24
+ */
25
+ class InstalledVersions
26
+ {
27
+ private static $installed;
28
+ private static $canGetVendors;
29
+ private static $installedByVendor = array();
30
+
31
+ /**
32
+ * Returns a list of all package names which are present, either by being installed, replaced or provided
33
+ *
34
+ * @return string[]
35
+ * @psalm-return list<string>
36
+ */
37
+ public static function getInstalledPackages()
38
+ {
39
+ $packages = array();
40
+ foreach (self::getInstalled() as $installed) {
41
+ $packages[] = array_keys($installed['versions']);
42
+ }
43
+
44
+ if (1 === \count($packages)) {
45
+ return $packages[0];
46
+ }
47
+
48
+ return array_keys(array_flip(\call_user_func_array('array_merge', $packages)));
49
+ }
50
+
51
+ /**
52
+ * Returns a list of all package names with a specific type e.g. 'library'
53
+ *
54
+ * @param string $type
55
+ * @return string[]
56
+ * @psalm-return list<string>
57
+ */
58
+ public static function getInstalledPackagesByType($type)
59
+ {
60
+ $packagesByType = array();
61
+
62
+ foreach (self::getInstalled() as $installed) {
63
+ foreach ($installed['versions'] as $name => $package) {
64
+ if (isset($package['type']) && $package['type'] === $type) {
65
+ $packagesByType[] = $name;
66
+ }
67
+ }
68
+ }
69
+
70
+ return $packagesByType;
71
+ }
72
+
73
+ /**
74
+ * Checks whether the given package is installed
75
+ *
76
+ * This also returns true if the package name is provided or replaced by another package
77
+ *
78
+ * @param string $packageName
79
+ * @param bool $includeDevRequirements
80
+ * @return bool
81
+ */
82
+ public static function isInstalled($packageName, $includeDevRequirements = true)
83
+ {
84
+ foreach (self::getInstalled() as $installed) {
85
+ if (isset($installed['versions'][$packageName])) {
86
+ return $includeDevRequirements || empty($installed['versions'][$packageName]['dev_requirement']);
87
+ }
88
+ }
89
+
90
+ return false;
91
+ }
92
+
93
+ /**
94
+ * Checks whether the given package satisfies a version constraint
95
+ *
96
+ * e.g. If you want to know whether version 2.3+ of package foo/bar is installed, you would call:
97
+ *
98
+ * Composer\InstalledVersions::satisfies(new VersionParser, 'foo/bar', '^2.3')
99
+ *
100
+ * @param VersionParser $parser Install composer/semver to have access to this class and functionality
101
+ * @param string $packageName
102
+ * @param string|null $constraint A version constraint to check for, if you pass one you have to make sure composer/semver is required by your package
103
+ * @return bool
104
+ */
105
+ public static function satisfies(VersionParser $parser, $packageName, $constraint)
106
+ {
107
+ $constraint = $parser->parseConstraints($constraint);
108
+ $provided = $parser->parseConstraints(self::getVersionRanges($packageName));
109
+
110
+ return $provided->matches($constraint);
111
+ }
112
+
113
+ /**
114
+ * Returns a version constraint representing all the range(s) which are installed for a given package
115
+ *
116
+ * It is easier to use this via isInstalled() with the $constraint argument if you need to check
117
+ * whether a given version of a package is installed, and not just whether it exists
118
+ *
119
+ * @param string $packageName
120
+ * @return string Version constraint usable with composer/semver
121
+ */
122
+ public static function getVersionRanges($packageName)
123
+ {
124
+ foreach (self::getInstalled() as $installed) {
125
+ if (!isset($installed['versions'][$packageName])) {
126
+ continue;
127
+ }
128
+
129
+ $ranges = array();
130
+ if (isset($installed['versions'][$packageName]['pretty_version'])) {
131
+ $ranges[] = $installed['versions'][$packageName]['pretty_version'];
132
+ }
133
+ if (array_key_exists('aliases', $installed['versions'][$packageName])) {
134
+ $ranges = array_merge($ranges, $installed['versions'][$packageName]['aliases']);
135
+ }
136
+ if (array_key_exists('replaced', $installed['versions'][$packageName])) {
137
+ $ranges = array_merge($ranges, $installed['versions'][$packageName]['replaced']);
138
+ }
139
+ if (array_key_exists('provided', $installed['versions'][$packageName])) {
140
+ $ranges = array_merge($ranges, $installed['versions'][$packageName]['provided']);
141
+ }
142
+
143
+ return implode(' || ', $ranges);
144
+ }
145
+
146
+ throw new \OutOfBoundsException('Package "' . $packageName . '" is not installed');
147
+ }
148
+
149
+ /**
150
+ * @param string $packageName
151
+ * @return string|null If the package is being replaced or provided but is not really installed, null will be returned as version, use satisfies or getVersionRanges if you need to know if a given version is present
152
+ */
153
+ public static function getVersion($packageName)
154
+ {
155
+ foreach (self::getInstalled() as $installed) {
156
+ if (!isset($installed['versions'][$packageName])) {
157
+ continue;
158
+ }
159
+
160
+ if (!isset($installed['versions'][$packageName]['version'])) {
161
+ return null;
162
+ }
163
+
164
+ return $installed['versions'][$packageName]['version'];
165
+ }
166
+
167
+ throw new \OutOfBoundsException('Package "' . $packageName . '" is not installed');
168
+ }
169
+
170
+ /**
171
+ * @param string $packageName
172
+ * @return string|null If the package is being replaced or provided but is not really installed, null will be returned as version, use satisfies or getVersionRanges if you need to know if a given version is present
173
+ */
174
+ public static function getPrettyVersion($packageName)
175
+ {
176
+ foreach (self::getInstalled() as $installed) {
177
+ if (!isset($installed['versions'][$packageName])) {
178
+ continue;
179
+ }
180
+
181
+ if (!isset($installed['versions'][$packageName]['pretty_version'])) {
182
+ return null;
183
+ }
184
+
185
+ return $installed['versions'][$packageName]['pretty_version'];
186
+ }
187
+
188
+ throw new \OutOfBoundsException('Package "' . $packageName . '" is not installed');
189
+ }
190
+
191
+ /**
192
+ * @param string $packageName
193
+ * @return string|null If the package is being replaced or provided but is not really installed, null will be returned as reference
194
+ */
195
+ public static function getReference($packageName)
196
+ {
197
+ foreach (self::getInstalled() as $installed) {
198
+ if (!isset($installed['versions'][$packageName])) {
199
+ continue;
200
+ }
201
+
202
+ if (!isset($installed['versions'][$packageName]['reference'])) {
203
+ return null;
204
+ }
205
+
206
+ return $installed['versions'][$packageName]['reference'];
207
+ }
208
+
209
+ throw new \OutOfBoundsException('Package "' . $packageName . '" is not installed');
210
+ }
211
+
212
+ /**
213
+ * @param string $packageName
214
+ * @return string|null If the package is being replaced or provided but is not really installed, null will be returned as install path. Packages of type metapackages also have a null install path.
215
+ */
216
+ public static function getInstallPath($packageName)
217
+ {
218
+ foreach (self::getInstalled() as $installed) {
219
+ if (!isset($installed['versions'][$packageName])) {
220
+ continue;
221
+ }
222
+
223
+ return isset($installed['versions'][$packageName]['install_path']) ? $installed['versions'][$packageName]['install_path'] : null;
224
+ }
225
+
226
+ throw new \OutOfBoundsException('Package "' . $packageName . '" is not installed');
227
+ }
228
+
229
+ /**
230
+ * @return array
231
+ * @psalm-return array{name: string, version: string, reference: string, pretty_version: string, aliases: string[], dev: bool, install_path: string, type: string}
232
+ */
233
+ public static function getRootPackage()
234
+ {
235
+ $installed = self::getInstalled();
236
+
237
+ return $installed[0]['root'];
238
+ }
239
+
240
+ /**
241
+ * Returns the raw installed.php data for custom implementations
242
+ *
243
+ * @deprecated Use getAllRawData() instead which returns all datasets for all autoloaders present in the process. getRawData only returns the first dataset loaded, which may not be what you expect.
244
+ * @return array[]
245
+ * @psalm-return array{root: array{name: string, version: string, reference: string, pretty_version: string, aliases: string[], dev: bool, install_path: string, type: string}, versions: array<string, array{dev_requirement: bool, pretty_version?: string, version?: string, aliases?: string[], reference?: string, replaced?: string[], provided?: string[], install_path?: string, type?: string}>}
246
+ */
247
+ public static function getRawData()
248
+ {
249
+ @trigger_error('getRawData only returns the first dataset loaded, which may not be what you expect. Use getAllRawData() instead which returns all datasets for all autoloaders present in the process.', E_USER_DEPRECATED);
250
+
251
+ if (null === self::$installed) {
252
+ // only require the installed.php file if this file is loaded from its dumped location,
253
+ // and not from its source location in the composer/composer package, see https://github.com/composer/composer/issues/9937
254
+ if (substr(__DIR__, -8, 1) !== 'C') {
255
+ self::$installed = include __DIR__ . '/installed.php';
256
+ } else {
257
+ self::$installed = array();
258
+ }
259
+ }
260
+
261
+ return self::$installed;
262
+ }
263
+
264
+ /**
265
+ * Returns the raw data of all installed.php which are currently loaded for custom implementations
266
+ *
267
+ * @return array[]
268
+ * @psalm-return list<array{root: array{name: string, version: string, reference: string, pretty_version: string, aliases: string[], dev: bool, install_path: string, type: string}, versions: array<string, array{dev_requirement: bool, pretty_version?: string, version?: string, aliases?: string[], reference?: string, replaced?: string[], provided?: string[], install_path?: string, type?: string}>}>
269
+ */
270
+ public static function getAllRawData()
271
+ {
272
+ return self::getInstalled();
273
+ }
274
+
275
+ /**
276
+ * Lets you reload the static array from another file
277
+ *
278
+ * This is only useful for complex integrations in which a project needs to use
279
+ * this class but then also needs to execute another project's autoloader in process,
280
+ * and wants to ensure both projects have access to their version of installed.php.
281
+ *
282
+ * A typical case would be PHPUnit, where it would need to make sure it reads all
283
+ * the data it needs from this class, then call reload() with
284
+ * `require $CWD/vendor/composer/installed.php` (or similar) as input to make sure
285
+ * the project in which it runs can then also use this class safely, without
286
+ * interference between PHPUnit's dependencies and the project's dependencies.
287
+ *
288
+ * @param array[] $data A vendor/composer/installed.php data set
289
+ * @return void
290
+ *
291
+ * @psalm-param array{root: array{name: string, version: string, reference: string, pretty_version: string, aliases: string[], dev: bool, install_path: string, type: string}, versions: array<string, array{dev_requirement: bool, pretty_version?: string, version?: string, aliases?: string[], reference?: string, replaced?: string[], provided?: string[], install_path?: string, type?: string}>} $data
292
+ */
293
+ public static function reload($data)
294
+ {
295
+ self::$installed = $data;
296
+ self::$installedByVendor = array();
297
+ }
298
+
299
+ /**
300
+ * @return array[]
301
+ * @psalm-return list<array{root: array{name: string, version: string, reference: string, pretty_version: string, aliases: string[], dev: bool, install_path: string, type: string}, versions: array<string, array{dev_requirement: bool, pretty_version?: string, version?: string, aliases?: string[], reference?: string, replaced?: string[], provided?: string[], install_path?: string, type?: string}>}>
302
+ */
303
+ private static function getInstalled()
304
+ {
305
+ if (null === self::$canGetVendors) {
306
+ self::$canGetVendors = method_exists('Composer\Autoload\ClassLoader', 'getRegisteredLoaders');
307
+ }
308
+
309
+ $installed = array();
310
+
311
+ if (self::$canGetVendors) {
312
+ foreach (ClassLoader::getRegisteredLoaders() as $vendorDir => $loader) {
313
+ if (isset(self::$installedByVendor[$vendorDir])) {
314
+ $installed[] = self::$installedByVendor[$vendorDir];
315
+ } elseif (is_file($vendorDir.'/composer/installed.php')) {
316
+ $installed[] = self::$installedByVendor[$vendorDir] = require $vendorDir.'/composer/installed.php';
317
+ if (null === self::$installed && strtr($vendorDir.'/composer', '\\', '/') === strtr(__DIR__, '\\', '/')) {
318
+ self::$installed = $installed[count($installed) - 1];
319
+ }
320
+ }
321
+ }
322
+ }
323
+
324
+ if (null === self::$installed) {
325
+ // only require the installed.php file if this file is loaded from its dumped location,
326
+ // and not from its source location in the composer/composer package, see https://github.com/composer/composer/issues/9937
327
+ if (substr(__DIR__, -8, 1) !== 'C') {
328
+ self::$installed = require __DIR__ . '/installed.php';
329
+ } else {
330
+ self::$installed = array();
331
+ }
332
+ }
333
+ $installed[] = self::$installed;
334
+
335
+ return $installed;
336
+ }
337
+ }
vendor/composer/autoload_classmap.php CHANGED
@@ -10,6 +10,7 @@ return array(
10
  'Appsero\\Insights' => $vendorDir . '/appsero/client/src/Insights.php',
11
  'Appsero\\License' => $vendorDir . '/appsero/client/src/License.php',
12
  'Appsero\\Updater' => $vendorDir . '/appsero/client/src/Updater.php',
 
13
  'WeDevs\\Dokan\\Abstracts\\DokanBackgroundProcesses' => $baseDir . '/includes/Abstracts/DokanBackgroundProcesses.php',
14
  'WeDevs\\Dokan\\Abstracts\\DokanModel' => $baseDir . '/includes/Abstracts/DokanModel.php',
15
  'WeDevs\\Dokan\\Abstracts\\DokanPromotion' => $baseDir . '/includes/Abstracts/DokanPromotion.php',
10
  'Appsero\\Insights' => $vendorDir . '/appsero/client/src/Insights.php',
11
  'Appsero\\License' => $vendorDir . '/appsero/client/src/License.php',
12
  'Appsero\\Updater' => $vendorDir . '/appsero/client/src/Updater.php',
13
+ 'Composer\\InstalledVersions' => $vendorDir . '/composer/InstalledVersions.php',
14
  'WeDevs\\Dokan\\Abstracts\\DokanBackgroundProcesses' => $baseDir . '/includes/Abstracts/DokanBackgroundProcesses.php',
15
  'WeDevs\\Dokan\\Abstracts\\DokanModel' => $baseDir . '/includes/Abstracts/DokanModel.php',
16
  'WeDevs\\Dokan\\Abstracts\\DokanPromotion' => $baseDir . '/includes/Abstracts/DokanPromotion.php',
vendor/composer/autoload_real.php CHANGED
@@ -2,7 +2,7 @@
2
 
3
  // autoload_real.php @generated by Composer
4
 
5
- class ComposerAutoloaderInitf35ff309e6e3075f00268b3a6bb9877e
6
  {
7
  private static $loader;
8
 
@@ -22,15 +22,17 @@ class ComposerAutoloaderInitf35ff309e6e3075f00268b3a6bb9877e
22
  return self::$loader;
23
  }
24
 
25
- spl_autoload_register(array('ComposerAutoloaderInitf35ff309e6e3075f00268b3a6bb9877e', 'loadClassLoader'), true, true);
26
- self::$loader = $loader = new \Composer\Autoload\ClassLoader();
27
- spl_autoload_unregister(array('ComposerAutoloaderInitf35ff309e6e3075f00268b3a6bb9877e', '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\ComposerStaticInitf35ff309e6e3075f00268b3a6bb9877e::getInitializer($loader));
34
  } else {
35
  $map = require __DIR__ . '/autoload_namespaces.php';
36
  foreach ($map as $namespace => $path) {
@@ -51,19 +53,19 @@ class ComposerAutoloaderInitf35ff309e6e3075f00268b3a6bb9877e
51
  $loader->register(true);
52
 
53
  if ($useStaticLoader) {
54
- $includeFiles = Composer\Autoload\ComposerStaticInitf35ff309e6e3075f00268b3a6bb9877e::$files;
55
  } else {
56
  $includeFiles = require __DIR__ . '/autoload_files.php';
57
  }
58
  foreach ($includeFiles as $fileIdentifier => $file) {
59
- composerRequiref35ff309e6e3075f00268b3a6bb9877e($fileIdentifier, $file);
60
  }
61
 
62
  return $loader;
63
  }
64
  }
65
 
66
- function composerRequiref35ff309e6e3075f00268b3a6bb9877e($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 ComposerAutoloaderInit11011a74fd6e9438d7fd882addcf9aad
6
  {
7
  private static $loader;
8
 
22
  return self::$loader;
23
  }
24
 
25
+ require __DIR__ . '/platform_check.php';
26
+
27
+ spl_autoload_register(array('ComposerAutoloaderInit11011a74fd6e9438d7fd882addcf9aad', 'loadClassLoader'), true, true);
28
+ self::$loader = $loader = new \Composer\Autoload\ClassLoader(\dirname(\dirname(__FILE__)));
29
+ spl_autoload_unregister(array('ComposerAutoloaderInit11011a74fd6e9438d7fd882addcf9aad', '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\ComposerStaticInit11011a74fd6e9438d7fd882addcf9aad::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\ComposerStaticInit11011a74fd6e9438d7fd882addcf9aad::$files;
57
  } else {
58
  $includeFiles = require __DIR__ . '/autoload_files.php';
59
  }
60
  foreach ($includeFiles as $fileIdentifier => $file) {
61
+ composerRequire11011a74fd6e9438d7fd882addcf9aad($fileIdentifier, $file);
62
  }
63
 
64
  return $loader;
65
  }
66
  }
67
 
68
+ function composerRequire11011a74fd6e9438d7fd882addcf9aad($fileIdentifier, $file)
69
  {
70
  if (empty($GLOBALS['__composer_autoload_files'][$fileIdentifier])) {
71
  require $file;
vendor/composer/autoload_static.php CHANGED
@@ -4,7 +4,7 @@
4
 
5
  namespace Composer\Autoload;
6
 
7
- class ComposerStaticInitf35ff309e6e3075f00268b3a6bb9877e
8
  {
9
  public static $files = array (
10
  'b45b351e6b6f7487d819961fef2fda77' => __DIR__ . '/..' . '/jakeasmith/http_build_url/src/http_build_url.php',
@@ -37,6 +37,7 @@ class ComposerStaticInitf35ff309e6e3075f00268b3a6bb9877e
37
  'Appsero\\Insights' => __DIR__ . '/..' . '/appsero/client/src/Insights.php',
38
  'Appsero\\License' => __DIR__ . '/..' . '/appsero/client/src/License.php',
39
  'Appsero\\Updater' => __DIR__ . '/..' . '/appsero/client/src/Updater.php',
 
40
  'WeDevs\\Dokan\\Abstracts\\DokanBackgroundProcesses' => __DIR__ . '/../..' . '/includes/Abstracts/DokanBackgroundProcesses.php',
41
  'WeDevs\\Dokan\\Abstracts\\DokanModel' => __DIR__ . '/../..' . '/includes/Abstracts/DokanModel.php',
42
  'WeDevs\\Dokan\\Abstracts\\DokanPromotion' => __DIR__ . '/../..' . '/includes/Abstracts/DokanPromotion.php',
@@ -183,9 +184,9 @@ class ComposerStaticInitf35ff309e6e3075f00268b3a6bb9877e
183
  public static function getInitializer(ClassLoader $loader)
184
  {
185
  return \Closure::bind(function () use ($loader) {
186
- $loader->prefixLengthsPsr4 = ComposerStaticInitf35ff309e6e3075f00268b3a6bb9877e::$prefixLengthsPsr4;
187
- $loader->prefixDirsPsr4 = ComposerStaticInitf35ff309e6e3075f00268b3a6bb9877e::$prefixDirsPsr4;
188
- $loader->classMap = ComposerStaticInitf35ff309e6e3075f00268b3a6bb9877e::$classMap;
189
 
190
  }, null, ClassLoader::class);
191
  }
4
 
5
  namespace Composer\Autoload;
6
 
7
+ class ComposerStaticInit11011a74fd6e9438d7fd882addcf9aad
8
  {
9
  public static $files = array (
10
  'b45b351e6b6f7487d819961fef2fda77' => __DIR__ . '/..' . '/jakeasmith/http_build_url/src/http_build_url.php',
37
  'Appsero\\Insights' => __DIR__ . '/..' . '/appsero/client/src/Insights.php',
38
  'Appsero\\License' => __DIR__ . '/..' . '/appsero/client/src/License.php',
39
  'Appsero\\Updater' => __DIR__ . '/..' . '/appsero/client/src/Updater.php',
40
+ 'Composer\\InstalledVersions' => __DIR__ . '/..' . '/composer/InstalledVersions.php',
41
  'WeDevs\\Dokan\\Abstracts\\DokanBackgroundProcesses' => __DIR__ . '/../..' . '/includes/Abstracts/DokanBackgroundProcesses.php',
42
  'WeDevs\\Dokan\\Abstracts\\DokanModel' => __DIR__ . '/../..' . '/includes/Abstracts/DokanModel.php',
43
  'WeDevs\\Dokan\\Abstracts\\DokanPromotion' => __DIR__ . '/../..' . '/includes/Abstracts/DokanPromotion.php',
184
  public static function getInitializer(ClassLoader $loader)
185
  {
186
  return \Closure::bind(function () use ($loader) {
187
+ $loader->prefixLengthsPsr4 = ComposerStaticInit11011a74fd6e9438d7fd882addcf9aad::$prefixLengthsPsr4;
188
+ $loader->prefixDirsPsr4 = ComposerStaticInit11011a74fd6e9438d7fd882addcf9aad::$prefixDirsPsr4;
189
+ $loader->classMap = ComposerStaticInit11011a74fd6e9438d7fd882addcf9aad::$classMap;
190
 
191
  }, null, ClassLoader::class);
192
  }
vendor/composer/installed.json CHANGED
@@ -1,89 +1,95 @@
1
- [
2
- {
3
- "name": "appsero/client",
4
- "version": "dev-master",
5
- "version_normalized": "9999999-dev",
6
- "source": {
7
- "type": "git",
8
- "url": "https://github.com/Appsero/client.git",
9
- "reference": "5c3fdc4945c8680bca6fb01eee1ec5dc4f22de87"
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
10
  },
11
- "dist": {
12
- "type": "zip",
13
- "url": "https://api.github.com/repos/Appsero/client/zipball/5c3fdc4945c8680bca6fb01eee1ec5dc4f22de87",
14
- "reference": "5c3fdc4945c8680bca6fb01eee1ec5dc4f22de87",
15
- "shasum": ""
16
- },
17
- "require": {
18
- "php": ">=5.3"
19
- },
20
- "time": "2020-09-10T09:10:28+00:00",
21
- "type": "library",
22
- "installation-source": "dist",
23
- "autoload": {
24
- "psr-4": {
25
- "Appsero\\": "src/"
26
- }
27
- },
28
- "notification-url": "https://packagist.org/downloads/",
29
- "license": [
30
- "MIT"
31
- ],
32
- "authors": [
33
- {
34
- "name": "Tareq Hasan",
35
- "email": "tareq@appsero.com"
36
- }
37
- ],
38
- "description": "Appsero Client",
39
- "keywords": [
40
- "analytics",
41
- "plugin",
42
- "theme",
43
- "wordpress"
44
- ],
45
- "support": {
46
- "issues": "https://github.com/Appsero/client/issues",
47
- "source": "https://github.com/Appsero/client/tree/v1.2.0"
48
- }
49
- },
50
- {
51
- "name": "jakeasmith/http_build_url",
52
- "version": "1.0.1",
53
- "version_normalized": "1.0.1.0",
54
- "source": {
55
- "type": "git",
56
- "url": "https://github.com/jakeasmith/http_build_url.git",
57
- "reference": "93c273e77cb1edead0cf8bcf8cd2003428e74e37"
58
- },
59
- "dist": {
60
- "type": "zip",
61
- "url": "https://api.github.com/repos/jakeasmith/http_build_url/zipball/93c273e77cb1edead0cf8bcf8cd2003428e74e37",
62
- "reference": "93c273e77cb1edead0cf8bcf8cd2003428e74e37",
63
- "shasum": ""
64
- },
65
- "time": "2017-05-01T15:36:40+00:00",
66
- "type": "library",
67
- "installation-source": "dist",
68
- "autoload": {
69
- "files": [
70
- "src/http_build_url.php"
71
- ]
72
- },
73
- "notification-url": "https://packagist.org/downloads/",
74
- "license": [
75
- "MIT"
76
- ],
77
- "authors": [
78
- {
79
- "name": "Jake A. Smith",
80
- "email": "theman@jakeasmith.com"
81
- }
82
- ],
83
- "description": "Provides functionality for http_build_url() to environments without pecl_http.",
84
- "support": {
85
- "issues": "https://github.com/jakeasmith/http_build_url/issues",
86
- "source": "https://github.com/jakeasmith/http_build_url"
87
  }
88
- }
89
- ]
 
 
1
+ {
2
+ "packages": [
3
+ {
4
+ "name": "appsero/client",
5
+ "version": "dev-master",
6
+ "version_normalized": "dev-master",
7
+ "source": {
8
+ "type": "git",
9
+ "url": "https://github.com/Appsero/client.git",
10
+ "reference": "5c3fdc4945c8680bca6fb01eee1ec5dc4f22de87"
11
+ },
12
+ "dist": {
13
+ "type": "zip",
14
+ "url": "https://api.github.com/repos/Appsero/client/zipball/5c3fdc4945c8680bca6fb01eee1ec5dc4f22de87",
15
+ "reference": "5c3fdc4945c8680bca6fb01eee1ec5dc4f22de87",
16
+ "shasum": ""
17
+ },
18
+ "require": {
19
+ "php": ">=5.3"
20
+ },
21
+ "time": "2020-09-10T09:10:28+00:00",
22
+ "type": "library",
23
+ "installation-source": "dist",
24
+ "autoload": {
25
+ "psr-4": {
26
+ "Appsero\\": "src/"
27
+ }
28
+ },
29
+ "notification-url": "https://packagist.org/downloads/",
30
+ "license": [
31
+ "MIT"
32
+ ],
33
+ "authors": [
34
+ {
35
+ "name": "Tareq Hasan",
36
+ "email": "tareq@appsero.com"
37
+ }
38
+ ],
39
+ "description": "Appsero Client",
40
+ "keywords": [
41
+ "analytics",
42
+ "plugin",
43
+ "theme",
44
+ "wordpress"
45
+ ],
46
+ "support": {
47
+ "issues": "https://github.com/Appsero/client/issues",
48
+ "source": "https://github.com/Appsero/client/tree/v1.2.0"
49
+ },
50
+ "install-path": "../appsero/client"
51
  },
52
+ {
53
+ "name": "jakeasmith/http_build_url",
54
+ "version": "1.0.1",
55
+ "version_normalized": "1.0.1.0",
56
+ "source": {
57
+ "type": "git",
58
+ "url": "https://github.com/jakeasmith/http_build_url.git",
59
+ "reference": "93c273e77cb1edead0cf8bcf8cd2003428e74e37"
60
+ },
61
+ "dist": {
62
+ "type": "zip",
63
+ "url": "https://api.github.com/repos/jakeasmith/http_build_url/zipball/93c273e77cb1edead0cf8bcf8cd2003428e74e37",
64
+ "reference": "93c273e77cb1edead0cf8bcf8cd2003428e74e37",
65
+ "shasum": ""
66
+ },
67
+ "time": "2017-05-01T15:36:40+00:00",
68
+ "type": "library",
69
+ "installation-source": "dist",
70
+ "autoload": {
71
+ "files": [
72
+ "src/http_build_url.php"
73
+ ]
74
+ },
75
+ "notification-url": "https://packagist.org/downloads/",
76
+ "license": [
77
+ "MIT"
78
+ ],
79
+ "authors": [
80
+ {
81
+ "name": "Jake A. Smith",
82
+ "email": "theman@jakeasmith.com"
83
+ }
84
+ ],
85
+ "description": "Provides functionality for http_build_url() to environments without pecl_http.",
86
+ "support": {
87
+ "issues": "https://github.com/jakeasmith/http_build_url/issues",
88
+ "source": "https://github.com/jakeasmith/http_build_url"
89
+ },
90
+ "install-path": "../jakeasmith/http_build_url"
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
91
  }
92
+ ],
93
+ "dev": false,
94
+ "dev-package-names": []
95
+ }
vendor/composer/installed.php ADDED
@@ -0,0 +1,41 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ <?php return array(
2
+ 'root' => array(
3
+ 'pretty_version' => '1.0.0+no-version-set',
4
+ 'version' => '1.0.0.0',
5
+ 'type' => 'wordpress-plugin',
6
+ 'install_path' => __DIR__ . '/../../',
7
+ 'aliases' => array(),
8
+ 'reference' => NULL,
9
+ 'name' => 'wedevs/dokan',
10
+ 'dev' => false,
11
+ ),
12
+ 'versions' => array(
13
+ 'appsero/client' => array(
14
+ 'pretty_version' => 'dev-master',
15
+ 'version' => 'dev-master',
16
+ 'type' => 'library',
17
+ 'install_path' => __DIR__ . '/../appsero/client',
18
+ 'aliases' => array(),
19
+ 'reference' => '5c3fdc4945c8680bca6fb01eee1ec5dc4f22de87',
20
+ 'dev_requirement' => false,
21
+ ),
22
+ 'jakeasmith/http_build_url' => array(
23
+ 'pretty_version' => '1.0.1',
24
+ 'version' => '1.0.1.0',
25
+ 'type' => 'library',
26
+ 'install_path' => __DIR__ . '/../jakeasmith/http_build_url',
27
+ 'aliases' => array(),
28
+ 'reference' => '93c273e77cb1edead0cf8bcf8cd2003428e74e37',
29
+ 'dev_requirement' => false,
30
+ ),
31
+ 'wedevs/dokan' => array(
32
+ 'pretty_version' => '1.0.0+no-version-set',
33
+ 'version' => '1.0.0.0',
34
+ 'type' => 'wordpress-plugin',
35
+ 'install_path' => __DIR__ . '/../../',
36
+ 'aliases' => array(),
37
+ 'reference' => NULL,
38
+ 'dev_requirement' => false,
39
+ ),
40
+ ),
41
+ );
vendor/composer/platform_check.php ADDED
@@ -0,0 +1,26 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ <?php
2
+
3
+ // platform_check.php @generated by Composer
4
+
5
+ $issues = array();
6
+
7
+ if (!(PHP_VERSION_ID >= 50600)) {
8
+ $issues[] = 'Your Composer dependencies require a PHP version ">= 5.6.0". You are running ' . PHP_VERSION . '.';
9
+ }
10
+
11
+ if ($issues) {
12
+ if (!headers_sent()) {
13
+ header('HTTP/1.1 500 Internal Server Error');
14
+ }
15
+ if (!ini_get('display_errors')) {
16
+ if (PHP_SAPI === 'cli' || PHP_SAPI === 'phpdbg') {
17
+ fwrite(STDERR, 'Composer detected issues in your platform:' . PHP_EOL.PHP_EOL . implode(PHP_EOL, $issues) . PHP_EOL.PHP_EOL);
18
+ } elseif (!headers_sent()) {
19
+ echo 'Composer detected issues in your platform:' . PHP_EOL.PHP_EOL . str_replace('You are running '.PHP_VERSION.'.', '', implode(PHP_EOL, $issues)) . PHP_EOL.PHP_EOL;
20
+ }
21
+ }
22
+ trigger_error(
23
+ 'Composer detected issues in your platform: ' . implode(' ', $issues),
24
+ E_USER_ERROR
25
+ );
26
+ }