WC Vendors - Version 2.1.18

Version Description

Download this release

Release Info

Developer digitalchild
Plugin Icon 128x128 WC Vendors
Version 2.1.18
Comparing to
See all releases

Code changes from version 2.1.17 to 2.1.18

assets/js/admin/wcv-vendor-select.js CHANGED
@@ -15,26 +15,23 @@
15
  function initSelect2() {
16
  var $selectBox = $('.wcv-vendor-select:visible');
17
 
18
- if ($selectBox.find('option').length < 100) {
19
- $selectBox.select2();
20
- } else {
21
- $selectBox.select2({
22
- minimumInputLength: 4,
23
- ajax: {
24
- url: ajaxurl,
25
- type: 'POST',
26
- dataType: "json",
27
- data: function (params) {
28
- return {
29
- action: 'wcv_search_vendors',
30
- term: params.term
31
- }
32
  }
33
  }
34
- });
35
- }
36
- $('#bulk-edit .cancel').on('click', function() {
37
- $selectBox.select2('destroy');
 
38
  });
39
  }
40
 
15
  function initSelect2() {
16
  var $selectBox = $('.wcv-vendor-select:visible');
17
 
18
+ $selectBox.select2({
19
+ minimumInputLength: 4,
20
+ ajax: {
21
+ url: ajaxurl,
22
+ type: 'POST',
23
+ dataType: "json",
24
+ data: function (params) {
25
+ return {
26
+ action: 'wcv_search_vendors',
27
+ term: params.term
 
 
 
 
28
  }
29
  }
30
+ }
31
+ });
32
+
33
+ $('#bulk-edit .cancel').on('click', function () {
34
+ $selectBox.select2('destroy');
35
  });
36
  }
37
 
changelog.txt CHANGED
@@ -1,5 +1,14 @@
1
  Changelog for WC Vendors Marketplace
2
 
 
 
 
 
 
 
 
 
 
3
  Version 2.1.17 - 2nd January 2020
4
 
5
  * Added: New template tag for sold by link (#602)
1
  Changelog for WC Vendors Marketplace
2
 
3
+ Version 2.1.18 - 5th February 2020
4
+
5
+ * Added: New action hook to image field. (#620)
6
+ * Updated: Vendor_list shortcode argument to has_products #595
7
+ * Updated: Deploy updates (#616)
8
+ * Fixed: Vendor select box empty for marketplaces which has over 100 vendors #614 (#615)
9
+ * Fixed: Urls in help tab (#623)
10
+
11
+
12
  Version 2.1.17 - 2nd January 2020
13
 
14
  * Added: New template tag for sold by link (#602)
class-wc-vendors.php CHANGED
@@ -7,11 +7,11 @@
7
  * Author URI: https://www.wcvendors.com
8
  * GitHub Plugin URI: https://github.com/wcvendors/wcvendors
9
  *
10
- * Version: 2.1.17
11
  * Requires at least: 5.0.0
12
  * Tested up to: 5.3.2
13
- * WC requires at least: 3.3.0
14
- * WC tested up to: 3.8.1
15
  *
16
  * Text Domain: wc-vendors
17
  * Domain Path: /languages/
@@ -97,7 +97,7 @@ if ( wcv_is_woocommerce_activated() ) {
97
  */
98
  class WC_Vendors {
99
 
100
- public $version = '2.1.17';
101
 
102
  /**
103
  * @var
7
  * Author URI: https://www.wcvendors.com
8
  * GitHub Plugin URI: https://github.com/wcvendors/wcvendors
9
  *
10
+ * Version: 2.1.18
11
  * Requires at least: 5.0.0
12
  * Tested up to: 5.3.2
13
+ * WC requires at least: 3.8.0
14
+ * WC tested up to: 3.9.1
15
  *
16
  * Text Domain: wc-vendors
17
  * Domain Path: /languages/
97
  */
98
  class WC_Vendors {
99
 
100
+ public $version = '2.1.18';
101
 
102
  /**
103
  * @var
classes/admin/class-admin-users.php CHANGED
@@ -107,7 +107,6 @@ class WCV_Admin_Users {
107
  return $capability;
108
  }
109
 
110
-
111
  /**
112
  *
113
  *
107
  return $capability;
108
  }
109
 
 
110
  /**
111
  *
112
  *
classes/admin/class-product-meta.php CHANGED
@@ -24,6 +24,7 @@ class WCV_Product_Meta {
24
 
25
  add_action( 'add_meta_boxes' , array( $this, 'change_author_meta_box_title' ) );
26
  add_action( 'wp_dropdown_users', array( $this, 'author_vendor_roles' ), 0, 1 );
 
27
 
28
  if ( apply_filters( 'wcv_product_commission_tab', true ) ) {
29
  add_action( 'woocommerce_product_write_panel_tabs', array( $this, 'add_tab' ) );
@@ -35,9 +36,9 @@ class WCV_Product_Meta {
35
  add_action( 'woocommerce_product_bulk_edit_start', array( $this, 'display_vendor_dropdown_bulk_edit' ) );
36
 
37
 
38
- add_action( 'woocommerce_product_quick_edit_save', array( $this, 'save_vendor_quick_edit' ), 2, 99 );
39
- add_action( 'woocommerce_product_bulk_edit_save', array( $this, 'save_vendor_bulk_edit' ), 1, 99 );
40
- add_action( 'manage_product_posts_custom_column' , array( $this, 'display_vendor_column' ), 2, 99 );
41
  add_filter( 'manage_product_posts_columns' , array( $this, 'vendor_column_quickedit' ) );
42
 
43
  add_action( 'woocommerce_process_product_meta', array( $this, 'update_post_media_author' ) );
@@ -96,16 +97,46 @@ class WCV_Product_Meta {
96
  return $output;
97
  }
98
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
99
 
100
  /**
101
  * Create a selectbox to display vendor & administrator roles
102
  *
103
- * @param array $args
104
- * @param bool $media
 
 
105
  *
106
  * @return string
107
  */
108
- public function vendor_selectbox( $args, $media = true ) {
109
  $args = wp_parse_args( $args, array(
110
  'class' => '',
111
  'id' => '',
@@ -113,6 +144,13 @@ class WCV_Product_Meta {
113
  'selected' => '',
114
  ) );
115
 
 
 
 
 
 
 
 
116
  extract( $args );
117
 
118
  $user_args = array(
@@ -121,26 +159,34 @@ class WCV_Product_Meta {
121
  'number' => 100,
122
  );
123
 
124
- $output = "<select style='width:200px;' name='$id' id='$id' class='wcv-vendor-select $class'>\n";
125
- $output .= "\t<option>$placeholder</option>\n";
 
126
 
 
 
 
 
 
 
127
  $users = get_users( $user_args );
 
 
 
128
  foreach ( (array) $users as $user ) {
129
  $select = selected( $user->ID, $selected, false );
130
  $output .= "<option value='$user->ID' $select>$user->display_name</option>";
131
  }
132
  $output .= '</select>';
133
 
134
- if ( ! $media ) {
135
- return $output;
 
 
 
136
  }
137
 
138
- $output .= '<p><label class="product_media_author_override">';
139
- $output .= '<input name="product_media_author_override" type="checkbox" /> ';
140
- $output .= sprintf( __( 'Assign media to %s', 'wc-vendors' ), wcv_get_vendor_name() );
141
- $output .= '</label></p>';
142
-
143
- return $output;
144
  }
145
 
146
  /**
@@ -312,7 +358,11 @@ class WCV_Product_Meta {
312
  */
313
  public function save_vendor_bulk_edit( $product ) {
314
 
315
- if ( isset( $_REQUEST['vendor'] ) && $_REQUEST['vendor'] != '' ) {
 
 
 
 
316
  $vendor = wc_clean( $_REQUEST['vendor'] );
317
  $update_vendor = array(
318
  'ID' => $product->get_id(),
@@ -458,7 +508,6 @@ class WCV_Product_Meta {
458
 
459
  $response = new stdClass();
460
  $response->results = $wpdb->get_results( $sql );
461
- error_log(print_r($response, true));
462
  wp_send_json($response);
463
  }
464
  }
24
 
25
  add_action( 'add_meta_boxes' , array( $this, 'change_author_meta_box_title' ) );
26
  add_action( 'wp_dropdown_users', array( $this, 'author_vendor_roles' ), 0, 1 );
27
+ add_action( 'restrict_manage_posts', array( $this, 'restrict_manage_posts' ), 12 );
28
 
29
  if ( apply_filters( 'wcv_product_commission_tab', true ) ) {
30
  add_action( 'woocommerce_product_write_panel_tabs', array( $this, 'add_tab' ) );
36
  add_action( 'woocommerce_product_bulk_edit_start', array( $this, 'display_vendor_dropdown_bulk_edit' ) );
37
 
38
 
39
+ add_action( 'woocommerce_product_quick_edit_save', array( $this, 'save_vendor_quick_edit' ), 99, 1 );
40
+ add_action( 'woocommerce_product_bulk_edit_save', array( $this, 'save_vendor_bulk_edit' ), 99, 1 );
41
+ add_action( 'manage_product_posts_custom_column' , array( $this, 'display_vendor_column' ), 99, 2 );
42
  add_filter( 'manage_product_posts_columns' , array( $this, 'vendor_column_quickedit' ) );
43
 
44
  add_action( 'woocommerce_process_product_meta', array( $this, 'update_post_media_author' ) );
97
  return $output;
98
  }
99
 
100
+ /**
101
+ * Output a vendor drop down to restrict the product type by
102
+ *
103
+ * @version 2.1.18
104
+ * @since 1.3.0
105
+ */
106
+ public function restrict_manage_posts() {
107
+
108
+ global $typenow, $wp_query;
109
+
110
+ if ( ! current_user_can( 'manage_woocommerce' ) ) {
111
+ return;
112
+ }
113
+
114
+ if ( 'product' == $typenow ) {
115
+ $selectbox_args = array(
116
+ 'id' => 'vendor',
117
+ 'fields' => array(
118
+ 'ID',
119
+ 'user_login',
120
+ ),
121
+ 'placeholder' => __('— No change —', 'wc-vendors'),
122
+ );
123
+ $output = $this->vendor_selectbox( $selectbox_args, false);
124
+ echo $output;
125
+ }
126
+
127
+ }
128
 
129
  /**
130
  * Create a selectbox to display vendor & administrator roles
131
  *
132
+ * @version 2.1.18
133
+ * @since 2.
134
+ * @param array $args Arguments used to render user dopdown box.
135
+ * @param bool $media Whether to display assign media checkbox.
136
  *
137
  * @return string
138
  */
139
+ public static function vendor_selectbox( $args, $media = true ) {
140
  $args = wp_parse_args( $args, array(
141
  'class' => '',
142
  'id' => '',
144
  'selected' => '',
145
  ) );
146
 
147
+ /**
148
+ * Filter the arguments used to render the selectbox.
149
+ *
150
+ * @param array $args The arguments to be filtered.
151
+ */
152
+ $args = apply_filters( 'wcv_vendor_selectbox_args', $args );
153
+
154
  extract( $args );
155
 
156
  $user_args = array(
159
  'number' => 100,
160
  );
161
 
162
+ if ( $selected ) {
163
+ $user_args['include'] = array( $selected );
164
+ }
165
 
166
+ /**
167
+ * Filter the arguments used to search for vendors.
168
+ *
169
+ * @param array $user_args The arguments to be filtered.
170
+ */
171
+ $user_args = apply_filters( 'wcv_vendor_selectbox_user_args', $user_args );
172
  $users = get_users( $user_args );
173
+
174
+ $output = "<select style='width:200px;' name='$id' id='$id' class='wcv-vendor-select $class'>\n";
175
+ $output .= "\t<option value='nochange'>$placeholder</option>\n";
176
  foreach ( (array) $users as $user ) {
177
  $select = selected( $user->ID, $selected, false );
178
  $output .= "<option value='$user->ID' $select>$user->display_name</option>";
179
  }
180
  $output .= '</select>';
181
 
182
+ if ( $media ) {
183
+ $output .= '<p><label class="product_media_author_override">';
184
+ $output .= '<input name="product_media_author_override" type="checkbox" /> ';
185
+ $output .= sprintf( __( 'Assign media to %s', 'wc-vendors' ), wcv_get_vendor_name() );
186
+ $output .= '</label></p>';
187
  }
188
 
189
+ return apply_filters( 'wcv_vendor_selectbox', $output, $user_args, $media );
 
 
 
 
 
190
  }
191
 
192
  /**
358
  */
359
  public function save_vendor_bulk_edit( $product ) {
360
 
361
+ if( ! isset( $_REQUEST['vendor'] ) || isset( $_REQUEST['vendor'] ) && 'nochange' === $_REQUEST['vendor'] ) {
362
+ return;
363
+ }
364
+
365
+ if ( isset( $_REQUEST['vendor'] ) && $_REQUEST['vendor'] != 'nochange' ) {
366
  $vendor = wc_clean( $_REQUEST['vendor'] );
367
  $update_vendor = array(
368
  'ID' => $product->get_id(),
508
 
509
  $response = new stdClass();
510
  $response->results = $wpdb->get_results( $sql );
 
511
  wp_send_json($response);
512
  }
513
  }
classes/admin/class-wcv-admin-help.php CHANGED
@@ -117,7 +117,7 @@ class WCVendors_Admin_Help {
117
  $screen->set_help_sidebar(
118
  '<p><strong>' . __( 'For more information:', 'wc-vendors' ) . '</strong></p>' .
119
  '<p><a href="https://www.wcvendors.com/product/wc-vendors-pro/?utm_source=plugin&utm_medium=help&utm_campaign=settings" target="_blank">' . __( 'Upgrade to Pro', 'wc-vendors' ) . '</a></p>' .
120
- '<p><a href="https://www.wcvendors.com/extensions/?utm_source=plugin&utm_medium=help&utm_campaign=settings" target="_blank">' . __( 'Buy extensions', 'wc-vendors' ) . '</a></p>' .
121
  '<p><a href="https://woocommerce.com/?utm_source=helptab&utm_medium=product&utm_content=about&utm_campaign=woocommerceplugin" target="_blank">' . __( 'About WC Vendors', 'wc-vendors' ) . '</a></p>' .
122
  '<p><a href="https://wordpress.org/plugins/wc-vendors/" target="_blank">' . __( 'WC Vendors on WordPress.org', 'wc-vendors' ) . '</a></p>' .
123
  '<p><a href="https://github.com/wcvendors/wcvendors" target="_blank">' . __( 'WC Vendors Github', 'wc-vendors' ) . '</a></p>'
117
  $screen->set_help_sidebar(
118
  '<p><strong>' . __( 'For more information:', 'wc-vendors' ) . '</strong></p>' .
119
  '<p><a href="https://www.wcvendors.com/product/wc-vendors-pro/?utm_source=plugin&utm_medium=help&utm_campaign=settings" target="_blank">' . __( 'Upgrade to Pro', 'wc-vendors' ) . '</a></p>' .
120
+ '<p><a href="https://www.wcvendors.com/home/compatible-plugins/?utm_source=plugin&utm_medium=help&utm_campaign=settings" target="_blank">' . __( 'Buy extensions', 'wc-vendors' ) . '</a></p>' .
121
  '<p><a href="https://woocommerce.com/?utm_source=helptab&utm_medium=product&utm_content=about&utm_campaign=woocommerceplugin" target="_blank">' . __( 'About WC Vendors', 'wc-vendors' ) . '</a></p>' .
122
  '<p><a href="https://wordpress.org/plugins/wc-vendors/" target="_blank">' . __( 'WC Vendors on WordPress.org', 'wc-vendors' ) . '</a></p>' .
123
  '<p><a href="https://github.com/wcvendors/wcvendors" target="_blank">' . __( 'WC Vendors Github', 'wc-vendors' ) . '</a></p>'
classes/admin/class-wcv-admin-settings.php CHANGED
@@ -202,6 +202,7 @@ class WCVendors_Admin_Settings extends WC_Admin_Settings {
202
  <th scope="row" class="titledesc">
203
  <label for="<?php echo esc_attr( $value['id'] ); ?>"><?php echo esc_html( $value['title'] ); ?></label>
204
  <?php echo $tooltip_html; ?>
 
205
  </th>
206
  <td class="forminp forminp-<?php echo sanitize_title( $value['type'] ); ?>">
207
  <input
@@ -214,6 +215,7 @@ class WCVendors_Admin_Settings extends WC_Admin_Settings {
214
  placeholder="<?php echo esc_attr( $value['placeholder'] ); ?>"
215
  <?php echo implode( ' ', $custom_attributes ); ?>
216
  /><?php echo esc_html( $value['suffix'] ); ?> <?php echo $description; ?>
 
217
  </td>
218
  </tr>
219
  <?php
@@ -228,6 +230,7 @@ class WCVendors_Admin_Settings extends WC_Admin_Settings {
228
  <th scope="row" class="titledesc">
229
  <label for="<?php echo esc_attr( $value['id'] ); ?>"><?php echo esc_html( $value['title'] ); ?></label>
230
  <?php echo $tooltip_html; ?>
 
231
  </th>
232
  <td class="forminp forminp-<?php echo sanitize_title( $value['type'] ); ?>">&lrm;
233
  <span class="colorpickpreview" style="background: <?php echo esc_attr( $option_value ); ?>"></span>
@@ -242,6 +245,7 @@ class WCVendors_Admin_Settings extends WC_Admin_Settings {
242
  placeholder="<?php echo esc_attr( $value['placeholder'] ); ?>"
243
  <?php echo implode( ' ', $custom_attributes ); ?>
244
  />&lrm; <?php echo $description; ?>
 
245
  <div id="colorPickerDiv_<?php echo esc_attr( $value['id'] ); ?>" class="colorpickdiv" style="z-index: 100;background:#eee;border:1px solid #ccc;position:absolute;display:none;"></div>
246
  </td>
247
  </tr>
@@ -256,6 +260,7 @@ class WCVendors_Admin_Settings extends WC_Admin_Settings {
256
  <tr valign="top">
257
  <th scope="row" class="titledesc">
258
  <label for="<?php echo esc_attr( $value['id'] ); ?>"><?php echo esc_html( $value['title'] ); ?></label>
 
259
  <?php echo $tooltip_html; ?>
260
  </th>
261
  <td class="forminp forminp-<?php echo sanitize_title( $value['type'] ); ?>">
@@ -267,6 +272,7 @@ class WCVendors_Admin_Settings extends WC_Admin_Settings {
267
  placeholder="<?php echo esc_attr( $value['placeholder'] ); ?>"
268
  <?php echo implode( ' ', $custom_attributes ); ?>
269
  ><?php echo esc_textarea( $option_value ); ?></textarea>
 
270
  <?php echo $description; ?>
271
  </td>
272
  </tr>
@@ -282,6 +288,7 @@ class WCVendors_Admin_Settings extends WC_Admin_Settings {
282
  <tr valign="top">
283
  <th scope="row" class="titledesc">
284
  <label for="<?php echo esc_attr( $value['id'] ); ?>"><?php echo esc_html( $value['title'] ); ?></label>
 
285
  <?php echo $tooltip_html; ?>
286
  </th>
287
  <td class="forminp forminp-<?php echo sanitize_title( $value['type'] ); ?>">
@@ -310,7 +317,9 @@ class WCVendors_Admin_Settings extends WC_Admin_Settings {
310
  <?php
311
  }
312
  ?>
313
- </select> <?php echo $description; ?>
 
 
314
  </td>
315
  </tr>
316
  <?php
@@ -324,6 +333,7 @@ class WCVendors_Admin_Settings extends WC_Admin_Settings {
324
  <tr valign="top">
325
  <th scope="row" class="titledesc">
326
  <label for="<?php echo esc_attr( $value['id'] ); ?>"><?php echo esc_html( $value['title'] ); ?></label>
 
327
  <?php echo $tooltip_html; ?>
328
  </th>
329
  <td class="forminp forminp-<?php echo sanitize_title( $value['type'] ); ?>">
@@ -343,12 +353,14 @@ class WCVendors_Admin_Settings extends WC_Admin_Settings {
343
  <?php echo implode( ' ', $custom_attributes ); ?>
344
  <?php checked( $key, $option_value ); ?>
345
  /> <?php echo $val; ?></label>
 
346
  </li>
347
  <?php
348
  }
349
  ?>
350
  </ul>
351
  </fieldset>
 
352
  </td>
353
  </tr>
354
  <?php
@@ -378,7 +390,10 @@ class WCVendors_Admin_Settings extends WC_Admin_Settings {
378
  if ( ! isset( $value['checkboxgroup'] ) || 'start' == $value['checkboxgroup'] ) {
379
  ?>
380
  <tr valign="top" class="<?php echo esc_attr( implode( ' ', $visibility_class ) ); ?>">
381
- <th scope="row" class="titledesc"><?php echo esc_html( $value['title'] ); ?></th>
 
 
 
382
  <td class="forminp forminp-checkbox">
383
  <fieldset>
384
  <?php
@@ -404,7 +419,9 @@ class WCVendors_Admin_Settings extends WC_Admin_Settings {
404
  value="1"
405
  <?php checked( $option_value, 'yes' ); ?>
406
  <?php echo implode( ' ', $custom_attributes ); ?>
407
- /> <?php echo $description; ?>
 
 
408
  </label> <?php echo $tooltip_html; ?>
409
  <?php
410
 
@@ -419,6 +436,7 @@ class WCVendors_Admin_Settings extends WC_Admin_Settings {
419
  </fieldset>
420
  <?php
421
  }
 
422
  break;
423
 
424
  // Single page selects
@@ -440,9 +458,13 @@ class WCVendors_Admin_Settings extends WC_Admin_Settings {
440
 
441
  ?>
442
  <tr valign="top" class="single_select_page">
443
- <th scope="row" class="titledesc"><?php echo esc_html( $value['title'] ); ?> <?php echo $tooltip_html; ?></th>
 
 
 
444
  <td class="forminp">
445
  <?php echo str_replace( ' id=', " data-placeholder='" . esc_attr__( 'Select a page&hellip;', 'wc-vendors' ) . "' style='" . $value['css'] . "' class='" . $value['class'] . "' id=", wp_dropdown_pages( $args ) ); ?> <?php echo $description; ?>
 
446
  </td>
447
  </tr>
448
  <?php
@@ -468,9 +490,13 @@ class WCVendors_Admin_Settings extends WC_Admin_Settings {
468
 
469
  ?>
470
  <tr valign="top" class="single_select_page">
471
- <th scope="row" class="titledesc"><?php echo esc_html( $value['title'] ); ?> <?php echo $tooltip_html; ?></th>
 
 
 
472
  <td class="forminp">
473
  <?php echo str_replace( ' id=', " data-placeholder='" . esc_attr__( 'Select a page&hellip;', 'wc-vendors' ) . "' style='" . $value['css'] . "' class='" . $value['class'] . "' multiple=\"multiple\" id=", wp_dropdown_pages( $args ) ); ?> <?php echo $description; ?>
 
474
  </td>
475
  </tr>
476
  <?php
@@ -492,11 +518,14 @@ class WCVendors_Admin_Settings extends WC_Admin_Settings {
492
  <tr valign="top">
493
  <th scope="row" class="titledesc">
494
  <label for="<?php echo esc_attr( $value['id'] ); ?>"><?php echo esc_html( $value['title'] ); ?></label>
 
495
  <?php echo $tooltip_html; ?>
496
  </th>
497
  <td class="forminp"><select name="<?php echo esc_attr( $value['id'] ); ?>" style="<?php echo esc_attr( $value['css'] ); ?>" data-placeholder="<?php esc_attr_e( 'Choose a country&hellip;', 'wc-vendors' ); ?>" aria-label="<?php esc_attr_e( 'Country', 'wc-vendors' ); ?>" class="wc-enhanced-select">
498
  <?php WC()->countries->country_dropdown_options( $country, $state ); ?>
499
- </select> <?php echo $description; ?>
 
 
500
  </td>
501
  </tr>
502
  <?php
@@ -517,6 +546,7 @@ class WCVendors_Admin_Settings extends WC_Admin_Settings {
517
  <tr valign="top">
518
  <th scope="row" class="titledesc">
519
  <label for="<?php echo esc_attr( $value['id'] ); ?>"><?php echo esc_html( $value['title'] ); ?></label>
 
520
  <?php echo $tooltip_html; ?>
521
  </th>
522
  <td class="forminp">
@@ -528,7 +558,9 @@ class WCVendors_Admin_Settings extends WC_Admin_Settings {
528
  }
529
  }
530
  ?>
531
- </select> <?php echo ( $description ) ? $description : ''; ?> <br /><a class="select_all button" href="#"><?php _e( 'Select all', 'wc-vendors' ); ?></a> <a class="select_none button" href="#"><?php _e( 'Select none', 'wc-vendors' ); ?></a>
 
 
532
  </td>
533
  </tr>
534
  <?php
@@ -541,13 +573,16 @@ class WCVendors_Admin_Settings extends WC_Admin_Settings {
541
  <tr valign="top">
542
  <th scope="row" class="titledesc">
543
  <label for="<?php echo esc_attr( $value['id'] ); ?>"><?php echo esc_html( $value['title'] ); ?></label>
 
544
  <?php echo $tooltip_html; ?>
545
  </th>
546
  <td class="forminp">
547
  <img class="wcv-image-container-<?php echo $value['id']; ?>" src="<?php echo $option_value; ?>" alt="" style="max-width:100%;" />
548
  <br />
549
  <input id="wcv-add-<?php echo $value['id']; ?>" type="button" class="<?php echo $value['css']; ?>" value="<?php echo sprintf( __( 'Update %s', 'wc-vendors' ), strtolower( $value['title'] ) ); ?>" data-id="<?php echo $value['id']; ?>" data-save_button="<?php echo sprintf( __( 'Add %s', 'wc-vendors' ), $value['title'] ); ?>" data-window_title="<?php echo sprintf( __( 'Add %s', 'wc-vendors' ), strtolower( $value['title'] ) ); ?>" data-upload_notice="<?php echo sprintf( __( 'Upload an image for the %s', 'wc-vendors' ), strtolower( $value['title'] ) ); ?>" />
 
550
  <input type="hidden" name="<?php echo $value['id']; ?>" id="<?php echo $value['id']; ?>" value="<?php echo $option_value; ?>">
 
551
  </td>
552
  </tr>
553
  <?php
@@ -561,10 +596,12 @@ class WCVendors_Admin_Settings extends WC_Admin_Settings {
561
  <tr valign="top">
562
  <th scope="row" class="titledesc">
563
  <label for="<?php echo esc_attr( $value['id'] ); ?>"><?php echo esc_html( $value['title'] ); ?></label>
 
564
  <?php echo $tooltip_html; ?>
565
  </th>
566
  <td class="forminp">
567
  <?php wp_editor( $option_value, $value['id'], array( 'textarea_name' => $value['id'] ) ); ?>
 
568
  <?php echo $description; ?>
569
  </td>
570
  </tr>
202
  <th scope="row" class="titledesc">
203
  <label for="<?php echo esc_attr( $value['id'] ); ?>"><?php echo esc_html( $value['title'] ); ?></label>
204
  <?php echo $tooltip_html; ?>
205
+ <?php do_action( 'wcvendors_after_standard_text_input_label', $value ); ?>
206
  </th>
207
  <td class="forminp forminp-<?php echo sanitize_title( $value['type'] ); ?>">
208
  <input
215
  placeholder="<?php echo esc_attr( $value['placeholder'] ); ?>"
216
  <?php echo implode( ' ', $custom_attributes ); ?>
217
  /><?php echo esc_html( $value['suffix'] ); ?> <?php echo $description; ?>
218
+ <?php do_action( 'wcvendors_after_standard_text_input_field', $value ); ?>
219
  </td>
220
  </tr>
221
  <?php
230
  <th scope="row" class="titledesc">
231
  <label for="<?php echo esc_attr( $value['id'] ); ?>"><?php echo esc_html( $value['title'] ); ?></label>
232
  <?php echo $tooltip_html; ?>
233
+ <?php do_action( 'wcvendors_after_color_label', $value ); ?>
234
  </th>
235
  <td class="forminp forminp-<?php echo sanitize_title( $value['type'] ); ?>">&lrm;
236
  <span class="colorpickpreview" style="background: <?php echo esc_attr( $option_value ); ?>"></span>
245
  placeholder="<?php echo esc_attr( $value['placeholder'] ); ?>"
246
  <?php echo implode( ' ', $custom_attributes ); ?>
247
  />&lrm; <?php echo $description; ?>
248
+ <?php do_action( 'wcvendors_aftor_color_picker', $value ); ?>
249
  <div id="colorPickerDiv_<?php echo esc_attr( $value['id'] ); ?>" class="colorpickdiv" style="z-index: 100;background:#eee;border:1px solid #ccc;position:absolute;display:none;"></div>
250
  </td>
251
  </tr>
260
  <tr valign="top">
261
  <th scope="row" class="titledesc">
262
  <label for="<?php echo esc_attr( $value['id'] ); ?>"><?php echo esc_html( $value['title'] ); ?></label>
263
+ <?php do_action( 'wcvendors_after_text_area_label', $value ); ?>
264
  <?php echo $tooltip_html; ?>
265
  </th>
266
  <td class="forminp forminp-<?php echo sanitize_title( $value['type'] ); ?>">
272
  placeholder="<?php echo esc_attr( $value['placeholder'] ); ?>"
273
  <?php echo implode( ' ', $custom_attributes ); ?>
274
  ><?php echo esc_textarea( $option_value ); ?></textarea>
275
+ <?php do_action( 'wcvendors_after_textarea', $value ); ?>
276
  <?php echo $description; ?>
277
  </td>
278
  </tr>
288
  <tr valign="top">
289
  <th scope="row" class="titledesc">
290
  <label for="<?php echo esc_attr( $value['id'] ); ?>"><?php echo esc_html( $value['title'] ); ?></label>
291
+ <?php do_action( 'wcvendors_after_select_label', $value ); ?>
292
  <?php echo $tooltip_html; ?>
293
  </th>
294
  <td class="forminp forminp-<?php echo sanitize_title( $value['type'] ); ?>">
317
  <?php
318
  }
319
  ?>
320
+ </select>
321
+ <?php do_action( 'wcvendors_after_select', $value ); ?>
322
+ <?php echo $description; ?>
323
  </td>
324
  </tr>
325
  <?php
333
  <tr valign="top">
334
  <th scope="row" class="titledesc">
335
  <label for="<?php echo esc_attr( $value['id'] ); ?>"><?php echo esc_html( $value['title'] ); ?></label>
336
+ <?php do_action( 'wcvendors_after_radio_button_label', $value ); ?>
337
  <?php echo $tooltip_html; ?>
338
  </th>
339
  <td class="forminp forminp-<?php echo sanitize_title( $value['type'] ); ?>">
353
  <?php echo implode( ' ', $custom_attributes ); ?>
354
  <?php checked( $key, $option_value ); ?>
355
  /> <?php echo $val; ?></label>
356
+ <?php do_action( 'wcvendors_after_radio_input', $value ); ?>
357
  </li>
358
  <?php
359
  }
360
  ?>
361
  </ul>
362
  </fieldset>
363
+ <?php do_action( 'wcvendors_after_radio_field_set', $value ); ?>
364
  </td>
365
  </tr>
366
  <?php
390
  if ( ! isset( $value['checkboxgroup'] ) || 'start' == $value['checkboxgroup'] ) {
391
  ?>
392
  <tr valign="top" class="<?php echo esc_attr( implode( ' ', $visibility_class ) ); ?>">
393
+ <th scope="row" class="titledesc">
394
+ <?php echo esc_html( $value['title'] ); ?>
395
+ <?php do_action( 'wcvendors_after_checkbox_label', $value ); ?>
396
+ </th>
397
  <td class="forminp forminp-checkbox">
398
  <fieldset>
399
  <?php
419
  value="1"
420
  <?php checked( $option_value, 'yes' ); ?>
421
  <?php echo implode( ' ', $custom_attributes ); ?>
422
+ />
423
+ <?php do_action( 'wcvendors_after_checkbox_input', $value ); ?>
424
+ <?php echo $description; ?>
425
  </label> <?php echo $tooltip_html; ?>
426
  <?php
427
 
436
  </fieldset>
437
  <?php
438
  }
439
+ do_action( 'wcvendors_after_checkbox_field_set', $value );
440
  break;
441
 
442
  // Single page selects
458
 
459
  ?>
460
  <tr valign="top" class="single_select_page">
461
+ <th scope="row" class="titledesc">
462
+ <?php echo esc_html( $value['title'] ); ?> <?php echo $tooltip_html; ?>
463
+ <?php do_action( 'wcvendors_after_single_select_page_label', $value ); ?>
464
+ </th>
465
  <td class="forminp">
466
  <?php echo str_replace( ' id=', " data-placeholder='" . esc_attr__( 'Select a page&hellip;', 'wc-vendors' ) . "' style='" . $value['css'] . "' class='" . $value['class'] . "' id=", wp_dropdown_pages( $args ) ); ?> <?php echo $description; ?>
467
+ <?php do_action( 'wcvendors_after_single_select_page', $value ); ?>
468
  </td>
469
  </tr>
470
  <?php
490
 
491
  ?>
492
  <tr valign="top" class="single_select_page">
493
+ <th scope="row" class="titledesc">
494
+ <?php echo esc_html( $value['title'] ); ?> <?php echo $tooltip_html; ?>
495
+ <?php do_action( 'wcvendors_after_multi_select_page_label', $value ); ?>
496
+ </th>
497
  <td class="forminp">
498
  <?php echo str_replace( ' id=', " data-placeholder='" . esc_attr__( 'Select a page&hellip;', 'wc-vendors' ) . "' style='" . $value['css'] . "' class='" . $value['class'] . "' multiple=\"multiple\" id=", wp_dropdown_pages( $args ) ); ?> <?php echo $description; ?>
499
+ <?php do_action( 'wcvendors_after_multi_select_page', $value ); ?>
500
  </td>
501
  </tr>
502
  <?php
518
  <tr valign="top">
519
  <th scope="row" class="titledesc">
520
  <label for="<?php echo esc_attr( $value['id'] ); ?>"><?php echo esc_html( $value['title'] ); ?></label>
521
+ <?php do_action( 'wcvendors_after_single_country_select', $value ); ?>
522
  <?php echo $tooltip_html; ?>
523
  </th>
524
  <td class="forminp"><select name="<?php echo esc_attr( $value['id'] ); ?>" style="<?php echo esc_attr( $value['css'] ); ?>" data-placeholder="<?php esc_attr_e( 'Choose a country&hellip;', 'wc-vendors' ); ?>" aria-label="<?php esc_attr_e( 'Country', 'wc-vendors' ); ?>" class="wc-enhanced-select">
525
  <?php WC()->countries->country_dropdown_options( $country, $state ); ?>
526
+ </select>
527
+ <?php do_action( 'wcvendors_after_single_country_select', $value ); ?>
528
+ <?php echo $description; ?>
529
  </td>
530
  </tr>
531
  <?php
546
  <tr valign="top">
547
  <th scope="row" class="titledesc">
548
  <label for="<?php echo esc_attr( $value['id'] ); ?>"><?php echo esc_html( $value['title'] ); ?></label>
549
+ <?php do_action( 'wcvendors_after_multi_country_select_label', $value ); ?>
550
  <?php echo $tooltip_html; ?>
551
  </th>
552
  <td class="forminp">
558
  }
559
  }
560
  ?>
561
+ </select>
562
+ <?php echo ( $description ) ? $description : ''; ?> <br /><a class="select_all button" href="#"><?php _e( 'Select all', 'wc-vendors' ); ?></a> <a class="select_none button" href="#"><?php _e( 'Select none', 'wc-vendors' ); ?></a>
563
+ <?php do_action( 'wcvendors_after_multi_country_select', $value ); ?>
564
  </td>
565
  </tr>
566
  <?php
573
  <tr valign="top">
574
  <th scope="row" class="titledesc">
575
  <label for="<?php echo esc_attr( $value['id'] ); ?>"><?php echo esc_html( $value['title'] ); ?></label>
576
+ <?php do_action( 'wcvendors_after_image_label', $value ); ?>
577
  <?php echo $tooltip_html; ?>
578
  </th>
579
  <td class="forminp">
580
  <img class="wcv-image-container-<?php echo $value['id']; ?>" src="<?php echo $option_value; ?>" alt="" style="max-width:100%;" />
581
  <br />
582
  <input id="wcv-add-<?php echo $value['id']; ?>" type="button" class="<?php echo $value['css']; ?>" value="<?php echo sprintf( __( 'Update %s', 'wc-vendors' ), strtolower( $value['title'] ) ); ?>" data-id="<?php echo $value['id']; ?>" data-save_button="<?php echo sprintf( __( 'Add %s', 'wc-vendors' ), $value['title'] ); ?>" data-window_title="<?php echo sprintf( __( 'Add %s', 'wc-vendors' ), strtolower( $value['title'] ) ); ?>" data-upload_notice="<?php echo sprintf( __( 'Upload an image for the %s', 'wc-vendors' ), strtolower( $value['title'] ) ); ?>" />
583
+ <?php do_action( 'wcvendors_image_buttons', $value ); ?>
584
  <input type="hidden" name="<?php echo $value['id']; ?>" id="<?php echo $value['id']; ?>" value="<?php echo $option_value; ?>">
585
+ <?php do_action( 'wcvendors_after_image_input', $value ); ?>
586
  </td>
587
  </tr>
588
  <?php
596
  <tr valign="top">
597
  <th scope="row" class="titledesc">
598
  <label for="<?php echo esc_attr( $value['id'] ); ?>"><?php echo esc_html( $value['title'] ); ?></label>
599
+ <?php do_action( 'wcvendors_after_wysiwyg_label', $value ); ?>
600
  <?php echo $tooltip_html; ?>
601
  </th>
602
  <td class="forminp">
603
  <?php wp_editor( $option_value, $value['id'], array( 'textarea_name' => $value['id'] ) ); ?>
604
+ <?php do_action( 'wcvendors_after_wysiwyg', $value ); ?>
605
  <?php echo $description; ?>
606
  </td>
607
  </tr>
classes/includes/class-wcv-shortcodes.php CHANGED
@@ -634,6 +634,16 @@ class WCV_Shortcodes {
634
 
635
  $html = '';
636
 
 
 
 
 
 
 
 
 
 
 
637
  extract(
638
  shortcode_atts(
639
  array(
@@ -641,7 +651,7 @@ class WCV_Shortcodes {
641
  'order' => 'ASC',
642
  'per_page' => '12',
643
  'columns' => '4',
644
- 'show_products' => 'yes',
645
  ), $atts
646
  )
647
  );
@@ -650,7 +660,7 @@ class WCV_Shortcodes {
650
  $offset = ( $paged - 1 ) * $per_page;
651
 
652
  // Hook into the user query to modify the query to return users that have at least one product
653
- if ( $show_products == 'yes' ) {
654
  add_action( 'pre_user_query', array( $this, 'vendors_with_products' ) );
655
  }
656
 
@@ -664,7 +674,7 @@ class WCV_Shortcodes {
664
  'order' => $order,
665
  );
666
 
667
- if ( $show_products == 'yes' ) {
668
  $vendor_total_args['query_id'] = 'vendors_with_products';
669
  }
670
 
@@ -683,7 +693,7 @@ class WCV_Shortcodes {
683
  'number' => $per_page,
684
  );
685
 
686
- if ( $show_products == 'yes' ) {
687
  $vendor_paged_args['query_id'] = 'vendors_with_products';
688
  }
689
 
634
 
635
  $html = '';
636
 
637
+ if ( isset( $atts['show_products'] ) ) {
638
+ wc_deprecated_argument(
639
+ 'wcv_vendorslist',
640
+ '2.1.17',
641
+ sprintf( __( 'The "show_products" argument will be removed in version %s. Please update to use "has_products".', 'wcvendors-pro' ), '3.0.0' )
642
+ );
643
+ $atts['has_products'] = $atts['show_products'];
644
+ unset( $atts['show_products'] );
645
+ }
646
+
647
  extract(
648
  shortcode_atts(
649
  array(
651
  'order' => 'ASC',
652
  'per_page' => '12',
653
  'columns' => '4',
654
+ 'has_products' => 'no',
655
  ), $atts
656
  )
657
  );
660
  $offset = ( $paged - 1 ) * $per_page;
661
 
662
  // Hook into the user query to modify the query to return users that have at least one product
663
+ if ( $has_products == 'yes' ) {
664
  add_action( 'pre_user_query', array( $this, 'vendors_with_products' ) );
665
  }
666
 
674
  'order' => $order,
675
  );
676
 
677
+ if ( $has_products == 'yes' ) {
678
  $vendor_total_args['query_id'] = 'vendors_with_products';
679
  }
680
 
693
  'number' => $per_page,
694
  );
695
 
696
+ if ( $has_products == 'yes' ) {
697
  $vendor_paged_args['query_id'] = 'vendors_with_products';
698
  }
699
 
languages/wc-vendors.pot CHANGED
@@ -60,7 +60,7 @@ msgstr ""
60
  msgid "Pending %s"
61
  msgstr ""
62
 
63
- #: classes/class-install.php:175, classes/admin/class-admin-reports.php:207, classes/admin/class-admin-reports.php:530, classes/admin/class-product-meta.php:249, classes/admin/class-product-meta.php:300, classes/admin/class-setup-wizard.php:349, classes/admin/class-wcv-admin-setup.php:148, classes/admin/class-wcv-admin-setup.php:365, classes/admin/class-wcv-commissions-csv-exporter.php:44, classes/admin/class-wcv-commissions-page.php:130, classes/admin/class-wcv-commissions-sum-csv-exporter.php:43, classes/admin/settings/class-wcv-settings-display.php:113, classes/admin/settings/class-wcv-settings-display.php:121, classes/admin/settings/class-wcv-settings-display.php:229
64
  msgid "%s"
65
  msgstr ""
66
 
@@ -510,34 +510,34 @@ msgstr ""
510
  msgid "You are not allowed to submit products. <a href=\"%s\">Go Back</a>"
511
  msgstr ""
512
 
513
- #: classes/admin/class-admin-users.php:496
514
  msgid "%s Store"
515
  msgstr ""
516
 
517
- #: classes/admin/class-admin-users.php:546
518
  msgid "Set primary role to %s "
519
  msgstr ""
520
 
521
- #: classes/admin/class-product-meta.php:140, classes/admin/class-product-meta.php:256
 
 
 
 
522
  msgid "Assign media to %s"
523
  msgstr ""
524
 
525
- #: classes/admin/class-product-meta.php:183, classes/admin/class-product-meta.php:201, classes/admin/class-wcv-commissions-csv-exporter.php:47, classes/admin/class-wcv-commissions-page.php:133, templates/dashboard/reports.php:38, templates/emails/vendor-order-details.php:42, classes/admin/emails/class-wcv-vendor-notify-cancelled-order.php:194, classes/admin/emails/class-wcv-vendor-notify-order.php:221, classes/admin/settings/class-wcv-settings-commission.php:32, classes/admin/views/html-admin-commission-page.php:23, classes/admin/views/setup/general.php:81
526
  msgid "Commission"
527
  msgstr ""
528
 
529
- #: classes/admin/class-product-meta.php:210, classes/admin/views/html-vendor-meta.php:110
530
  msgid "Leave blank for default"
531
  msgstr ""
532
 
533
- #: classes/admin/class-product-meta.php:229
534
  msgid "%s Store "
535
  msgstr ""
536
 
537
- #: classes/admin/class-product-meta.php:294
538
- msgid "— No change —"
539
- msgstr ""
540
-
541
  #: classes/admin/class-setup-wizard.php:79
542
  msgid "Start"
543
  msgstr ""
@@ -808,39 +808,39 @@ msgstr ""
808
  msgid "The changes you made will be lost if you navigate away from this page."
809
  msgstr ""
810
 
811
- #: classes/admin/class-wcv-admin-settings.php:445, classes/admin/class-wcv-admin-settings.php:473, classes/includes/class-functions.php:63
812
  msgid "Select a page&hellip;"
813
  msgstr ""
814
 
815
- #: classes/admin/class-wcv-admin-settings.php:497
816
  msgid "Choose a country&hellip;"
817
  msgstr ""
818
 
819
- #: classes/admin/class-wcv-admin-settings.php:497, classes/admin/class-wcv-admin-settings.php:523
820
  msgid "Country"
821
  msgstr ""
822
 
823
- #: classes/admin/class-wcv-admin-settings.php:523
824
  msgid "Choose countries&hellip;"
825
  msgstr ""
826
 
827
- #: classes/admin/class-wcv-admin-settings.php:531
828
  msgid "Select all"
829
  msgstr ""
830
 
831
- #: classes/admin/class-wcv-admin-settings.php:531
832
  msgid "Select none"
833
  msgstr ""
834
 
835
- #: classes/admin/class-wcv-admin-settings.php:549
836
  msgid "Update %s"
837
  msgstr ""
838
 
839
- #: classes/admin/class-wcv-admin-settings.php:549, classes/admin/class-wcv-admin-settings.php:549
840
  msgid "Add %s"
841
  msgstr ""
842
 
843
- #: classes/admin/class-wcv-admin-settings.php:549
844
  msgid "Upload an image for the %s"
845
  msgstr ""
846
 
60
  msgid "Pending %s"
61
  msgstr ""
62
 
63
+ #: classes/class-install.php:175, classes/admin/class-admin-reports.php:207, classes/admin/class-admin-reports.php:530, classes/admin/class-product-meta.php:295, classes/admin/class-product-meta.php:346, classes/admin/class-setup-wizard.php:349, classes/admin/class-wcv-admin-setup.php:148, classes/admin/class-wcv-admin-setup.php:365, classes/admin/class-wcv-commissions-csv-exporter.php:44, classes/admin/class-wcv-commissions-page.php:130, classes/admin/class-wcv-commissions-sum-csv-exporter.php:43, classes/admin/settings/class-wcv-settings-display.php:113, classes/admin/settings/class-wcv-settings-display.php:121, classes/admin/settings/class-wcv-settings-display.php:229
64
  msgid "%s"
65
  msgstr ""
66
 
510
  msgid "You are not allowed to submit products. <a href=\"%s\">Go Back</a>"
511
  msgstr ""
512
 
513
+ #: classes/admin/class-admin-users.php:495
514
  msgid "%s Store"
515
  msgstr ""
516
 
517
+ #: classes/admin/class-admin-users.php:545
518
  msgid "Set primary role to %s "
519
  msgstr ""
520
 
521
+ #: classes/admin/class-product-meta.php:121, classes/admin/class-product-meta.php:340
522
+ msgid "— No change —"
523
+ msgstr ""
524
+
525
+ #: classes/admin/class-product-meta.php:185, classes/admin/class-product-meta.php:302
526
  msgid "Assign media to %s"
527
  msgstr ""
528
 
529
+ #: classes/admin/class-product-meta.php:229, classes/admin/class-product-meta.php:247, classes/admin/class-wcv-commissions-csv-exporter.php:47, classes/admin/class-wcv-commissions-page.php:133, templates/dashboard/reports.php:38, templates/emails/vendor-order-details.php:42, classes/admin/emails/class-wcv-vendor-notify-cancelled-order.php:194, classes/admin/emails/class-wcv-vendor-notify-order.php:221, classes/admin/settings/class-wcv-settings-commission.php:32, classes/admin/views/html-admin-commission-page.php:23, classes/admin/views/setup/general.php:81
530
  msgid "Commission"
531
  msgstr ""
532
 
533
+ #: classes/admin/class-product-meta.php:256, classes/admin/views/html-vendor-meta.php:110
534
  msgid "Leave blank for default"
535
  msgstr ""
536
 
537
+ #: classes/admin/class-product-meta.php:275
538
  msgid "%s Store "
539
  msgstr ""
540
 
 
 
 
 
541
  #: classes/admin/class-setup-wizard.php:79
542
  msgid "Start"
543
  msgstr ""
808
  msgid "The changes you made will be lost if you navigate away from this page."
809
  msgstr ""
810
 
811
+ #: classes/admin/class-wcv-admin-settings.php:466, classes/admin/class-wcv-admin-settings.php:498, classes/includes/class-functions.php:63
812
  msgid "Select a page&hellip;"
813
  msgstr ""
814
 
815
+ #: classes/admin/class-wcv-admin-settings.php:524
816
  msgid "Choose a country&hellip;"
817
  msgstr ""
818
 
819
+ #: classes/admin/class-wcv-admin-settings.php:524, classes/admin/class-wcv-admin-settings.php:553
820
  msgid "Country"
821
  msgstr ""
822
 
823
+ #: classes/admin/class-wcv-admin-settings.php:553
824
  msgid "Choose countries&hellip;"
825
  msgstr ""
826
 
827
+ #: classes/admin/class-wcv-admin-settings.php:562
828
  msgid "Select all"
829
  msgstr ""
830
 
831
+ #: classes/admin/class-wcv-admin-settings.php:562
832
  msgid "Select none"
833
  msgstr ""
834
 
835
+ #: classes/admin/class-wcv-admin-settings.php:582
836
  msgid "Update %s"
837
  msgstr ""
838
 
839
+ #: classes/admin/class-wcv-admin-settings.php:582, classes/admin/class-wcv-admin-settings.php:582
840
  msgid "Add %s"
841
  msgstr ""
842
 
843
+ #: classes/admin/class-wcv-admin-settings.php:582
844
  msgid "Upload an image for the %s"
845
  msgstr ""
846
 
readme.txt CHANGED
@@ -7,9 +7,9 @@ Plugin URI: https://www.wcvendors.com/
7
  Requires at least: 5.0.0
8
  Requires PHP: 5.6
9
  Tested up to: 5.3.2
10
- WC requires at least: 3.3.0
11
- WC tested up to: 3.8.1
12
- Stable tag: 2.1.17
13
  License: GPLv2 or later
14
 
15
  The number one most downloaded marketplace plugin for WooCommerce. Now you can allow anyone to open a store on your WooCommerce site!
@@ -254,7 +254,15 @@ WC Vendors Marketplace does not work with multisite WordPress. There are no plan
254
 
255
  == Changelog ==
256
 
257
- Version 2.1.17 - 2nd January 2020
 
 
 
 
 
 
 
 
258
 
259
  * Added: New template tag for sold by link (#602)
260
  * Updated: Disabled PayPal Adaptive payments #596
7
  Requires at least: 5.0.0
8
  Requires PHP: 5.6
9
  Tested up to: 5.3.2
10
+ WC requires at least: 3.8.0
11
+ WC tested up to: 3.9.1
12
+ Stable tag: 2.1.18
13
  License: GPLv2 or later
14
 
15
  The number one most downloaded marketplace plugin for WooCommerce. Now you can allow anyone to open a store on your WooCommerce site!
254
 
255
  == Changelog ==
256
 
257
+ = Version 2.1.18 - 5th February 2020 =
258
+
259
+ * Added: New action hook to image field. (#620)
260
+ * Updated: Vendor_list shortcode argument to has_products #595
261
+ * Updated: Deploy updates (#616)
262
+ * Fixed: Vendor select box empty for marketplaces which has over 100 vendors #614 (#615)
263
+ * Fixed: Urls in help tab (#623)
264
+
265
+ = Version 2.1.17 - 2nd January 2020 =
266
 
267
  * Added: New template tag for sold by link (#602)
268
  * Updated: Disabled PayPal Adaptive payments #596