WooCommerce Variation Swatches - Version 2.0.11

Version Description

  • 28-09-2022 =

  • Update: WooCommerce Support

Download this release

Release Info

Developer EmranAhmed
Plugin Icon 128x128 WooCommerce Variation Swatches
Version 2.0.11
Comparing to
See all releases

Code changes from version 2.0.10 to 2.0.11

README.txt CHANGED
@@ -6,7 +6,7 @@ Requires at least: 5.5
6
  Tested up to: 6.0
7
  WC requires at least: 5.5
8
  WC tested up to: 6.9
9
- Stable tag: 2.0.10
10
  License: GPLv3
11
  License URI: http://www.gnu.org/licenses/gpl-3.0.html
12
 
@@ -616,6 +616,10 @@ And your are ready to go.
616
 
617
  == Changelog ==
618
 
 
 
 
 
619
  = 2.0.10 - 15-09-2022 =
620
 
621
  * Update: WooCommerce Support
6
  Tested up to: 6.0
7
  WC requires at least: 5.5
8
  WC tested up to: 6.9
9
+ Stable tag: 2.0.11
10
  License: GPLv3
11
  License URI: http://www.gnu.org/licenses/gpl-3.0.html
12
 
616
 
617
  == Changelog ==
618
 
619
+ = 2.0.11 - 28-09-2022 =
620
+
621
+ * Update: WooCommerce Support
622
+
623
  = 2.0.10 - 15-09-2022 =
624
 
625
  * Update: WooCommerce Support
assets/css/admin.css CHANGED
@@ -2,7 +2,7 @@
2
  * Variation Swatches for WooCommerce
3
  *
4
  * Author: Emran Ahmed ( emran.bd.08@gmail.com )
5
- * Date: 9/15/2022, 6:49:48 PM
6
  * Released under the GPLv3 license.
7
  */
8
  .button.button-danger {
2
  * Variation Swatches for WooCommerce
3
  *
4
  * Author: Emran Ahmed ( emran.bd.08@gmail.com )
5
+ * Date: 9/29/2022, 5:01:11 PM
6
  * Released under the GPLv3 license.
7
  */
8
  .button.button-danger {
assets/css/frontend.css CHANGED
@@ -2,7 +2,7 @@
2
  * Variation Swatches for WooCommerce
3
  *
4
  * Author: Emran Ahmed ( emran.bd.08@gmail.com )
5
- * Date: 9/15/2022, 6:49:48 PM
6
  * Released under the GPLv3 license.
7
  */
8
  .woo-variation-swatches.wvs-tooltip .radio-variable-item[data-wvstooltip] {
2
  * Variation Swatches for WooCommerce
3
  *
4
  * Author: Emran Ahmed ( emran.bd.08@gmail.com )
5
+ * Date: 9/29/2022, 5:01:11 PM
6
  * Released under the GPLv3 license.
7
  */
8
  .woo-variation-swatches.wvs-tooltip .radio-variable-item[data-wvstooltip] {
assets/js/admin.js CHANGED
@@ -2,7 +2,7 @@
2
  * Variation Swatches for WooCommerce
3
  *
4
  * Author: Emran Ahmed ( emran.bd.08@gmail.com )
5
- * Date: 9/15/2022, 6:49:48 PM
6
  * Released under the GPLv3 license.
7
  */
8
  /******/ (function() { // webpackBootstrap
2
  * Variation Swatches for WooCommerce
3
  *
4
  * Author: Emran Ahmed ( emran.bd.08@gmail.com )
5
+ * Date: 9/29/2022, 5:01:11 PM
6
  * Released under the GPLv3 license.
7
  */
8
  /******/ (function() { // webpackBootstrap
assets/js/frontend.js CHANGED
@@ -2,7 +2,7 @@
2
  * Variation Swatches for WooCommerce
3
  *
4
  * Author: Emran Ahmed ( emran.bd.08@gmail.com )
5
- * Date: 9/15/2022, 6:49:48 PM
6
  * Released under the GPLv3 license.
7
  */
8
  /******/ (function() { // webpackBootstrap
2
  * Variation Swatches for WooCommerce
3
  *
4
  * Author: Emran Ahmed ( emran.bd.08@gmail.com )
5
+ * Date: 9/29/2022, 5:01:11 PM
6
  * Released under the GPLv3 license.
7
  */
8
  /******/ (function() { // webpackBootstrap
assets/js/wp-color-picker-alpha.js CHANGED
@@ -2,7 +2,7 @@
2
  * Variation Swatches for WooCommerce
3
  *
4
  * Author: Emran Ahmed ( emran.bd.08@gmail.com )
5
- * Date: 9/15/2022, 6:49:48 PM
6
  * Released under the GPLv3 license.
7
  */
8
  /******/ (function() { // webpackBootstrap
2
  * Variation Swatches for WooCommerce
3
  *
4
  * Author: Emran Ahmed ( emran.bd.08@gmail.com )
5
+ * Date: 9/29/2022, 5:01:11 PM
6
  * Released under the GPLv3 license.
7
  */
8
  /******/ (function() { // webpackBootstrap
includes/class-woo-variation-swatches-frontend.php CHANGED
@@ -49,9 +49,9 @@
49
 
50
  public function get_attribute_taxonomy_by_name( $attribute_name ) {
51
 
52
- $transient_name = sprintf( 'wvs_attribute_taxonomy_%s', $attribute_name );
53
 
54
- $cache = new Woo_Variation_Swatches_Cache( $transient_name, 'wvs_attribute_taxonomy' );
55
 
56
  if ( isset( $_GET[ 'wvs_clear_transient' ] ) ) {
57
  $cache->delete_transient();
49
 
50
  public function get_attribute_taxonomy_by_name( $attribute_name ) {
51
 
52
+ $cache_name = sprintf( 'wvs_attribute_taxonomy_%s', $attribute_name );
53
 
54
+ $cache = new Woo_Variation_Swatches_Cache( $cache_name, 'wvs_attribute_taxonomy' );
55
 
56
  if ( isset( $_GET[ 'wvs_clear_transient' ] ) ) {
57
  $cache->delete_transient();
includes/class-woo-variation-swatches-manage-cache.php CHANGED
@@ -28,27 +28,29 @@
28
  protected function hooks() {
29
 
30
  // Attributes
31
- add_action( 'woocommerce_attribute_added', array( $this, 'clear_transient' ) );
32
- add_action( 'woocommerce_attribute_updated', array( $this, 'clear_transient' ) );
33
- add_action( 'woocommerce_attribute_deleted', array( $this, 'clear_transient' ) );
34
  // Products
35
- add_action( 'woocommerce_save_product_variation', array( $this, 'clear_transient' ) );
36
- add_action( 'woocommerce_update_product_variation', array( $this, 'clear_transient' ) );
37
- add_action( 'woocommerce_delete_product_variation', array( $this, 'clear_transient' ) );
38
- add_action( 'woocommerce_trash_product_variation', array( $this, 'clear_transient' ) );
39
 
40
  // WooCommerce -> Status -> Tools -> Clear transients
41
- add_action( 'woocommerce_delete_product_transients', array( $this, 'clear_transient' ) );
42
- add_action( 'getwooplugins_update_options', array( $this, 'clear_transient' ) );
43
- add_action( 'getwooplugins_delete_options', array( $this, 'clear_transient' ) );
44
  }
45
 
46
  protected function init() {
47
  }
48
 
49
- // start
50
 
51
- public function clear_transient() {
 
 
52
 
53
  // Increments the transient version to invalidate cache.
54
  if ( method_exists( 'WC_Cache_Helper', 'get_transient_version' ) ) {
@@ -63,6 +65,8 @@
63
  WC_Cache_Helper::invalidate_cache_group( 'wvs_attribute_taxonomy' );
64
  WC_Cache_Helper::invalidate_cache_group( 'wvs_archive_template' );
65
  WC_Cache_Helper::invalidate_cache_group( 'wvs_variation_attribute_options_html' );
 
 
66
  }
67
  }
68
  }
28
  protected function hooks() {
29
 
30
  // Attributes
31
+ add_action( 'woocommerce_attribute_added', array( $this, 'clear_cache' ) );
32
+ add_action( 'woocommerce_attribute_updated', array( $this, 'clear_cache' ) );
33
+ add_action( 'woocommerce_attribute_deleted', array( $this, 'clear_cache' ) );
34
  // Products
35
+ add_action( 'woocommerce_save_product_variation', array( $this, 'clear_cache' ) );
36
+ add_action( 'woocommerce_update_product_variation', array( $this, 'clear_cache' ) );
37
+ add_action( 'woocommerce_delete_product_variation', array( $this, 'clear_cache' ) );
38
+ add_action( 'woocommerce_trash_product_variation', array( $this, 'clear_cache' ) );
39
 
40
  // WooCommerce -> Status -> Tools -> Clear transients
41
+ add_action( 'woocommerce_delete_product_transients', array( $this, 'clear_cache' ) );
42
+ add_action( 'getwooplugins_settings_saved', array( $this, 'clear_cache' ) );
43
+ add_action( 'getwooplugins_after_delete_options', array( $this, 'clear_cache' ) );
44
  }
45
 
46
  protected function init() {
47
  }
48
 
49
+ // Start
50
 
51
+ public function clear_cache() {
52
+
53
+ do_action( 'litespeed_purge_all', 'Woo Variation Swatches: purge all' );
54
 
55
  // Increments the transient version to invalidate cache.
56
  if ( method_exists( 'WC_Cache_Helper', 'get_transient_version' ) ) {
65
  WC_Cache_Helper::invalidate_cache_group( 'wvs_attribute_taxonomy' );
66
  WC_Cache_Helper::invalidate_cache_group( 'wvs_archive_template' );
67
  WC_Cache_Helper::invalidate_cache_group( 'wvs_variation_attribute_options_html' );
68
+ WC_Cache_Helper::invalidate_cache_group( 'wvs_rest_single_product' );
69
+ WC_Cache_Helper::invalidate_cache_group( 'wvs_rest_archive_product' );
70
  }
71
  }
72
  }
includes/class-woo-variation-swatches-product-page.php CHANGED
@@ -37,6 +37,9 @@
37
  add_filter( 'woocommerce_variable_children_args', array( $this, 'variable_children_args' ), 10, 3 );
38
  add_filter( 'woocommerce_variation_is_active', array( $this, 'disable_out_of_stock_item' ), 10, 2 );
39
  add_filter( 'woocommerce_available_variation', array( $this, 'add_variation_data' ), 10, 3 );
 
 
 
40
  // add_action( 'woocommerce_after_variations_form', array( $this, 'enqueue_script' ) );
41
 
42
  // add_filter( 'nocache_headers', array( $this, 'cache_ajax_response' ), 99 );
@@ -50,6 +53,25 @@
50
 
51
  // Start
52
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
53
  public function stop_prevent_ajax_caching() {
54
  global $wp_query;
55
  if ( ! is_ajax() ) {
@@ -139,8 +161,8 @@
139
  public function add_to_cart_variation_params( $params, $handle ) {
140
 
141
  if ( 'wc-add-to-cart-variation' === $handle ) {
142
-
143
  if ( is_product() ) {
 
144
  $product = wc_get_product();
145
 
146
  $params[ 'woo_variation_swatches_ajax_variation_threshold_min' ] = apply_filters( 'woocommerce_ajax_variation_threshold', 30, $product );
37
  add_filter( 'woocommerce_variable_children_args', array( $this, 'variable_children_args' ), 10, 3 );
38
  add_filter( 'woocommerce_variation_is_active', array( $this, 'disable_out_of_stock_item' ), 10, 2 );
39
  add_filter( 'woocommerce_available_variation', array( $this, 'add_variation_data' ), 10, 3 );
40
+
41
+ add_action( 'woocommerce_before_variations_form', array( $this, 'before_variations_form' ) );
42
+ add_action( 'woocommerce_after_variations_form', array( $this, 'after_variations_form' ) );
43
  // add_action( 'woocommerce_after_variations_form', array( $this, 'enqueue_script' ) );
44
 
45
  // add_filter( 'nocache_headers', array( $this, 'cache_ajax_response' ), 99 );
53
 
54
  // Start
55
 
56
+ public function before_variations_form() {
57
+ global $product;
58
+ $threshold_min = apply_filters( 'woocommerce_ajax_variation_threshold', 30, $product );
59
+ $threshold_max = $this->get_variation_threshold_max( $product );
60
+ $total_children = count( $product->get_children() );
61
+ $attributes = apply_filters( 'woo_variation_swatches_single_product_wrapper_attributes', array(
62
+ 'data-product_id' => absint( $product->get_id() ),
63
+ 'data-threshold_min' => absint( $threshold_min ),
64
+ 'data-threshold_max' => absint( $threshold_max ),
65
+ 'data-total' => absint( $total_children ),
66
+ ), $product );
67
+
68
+ echo sprintf( '<div %s>', wc_implode_html_attributes( $attributes ) ); // WPCS: XSS ok. );
69
+ }
70
+
71
+ public function after_variations_form() {
72
+ echo '</div>';
73
+ }
74
+
75
  public function stop_prevent_ajax_caching() {
76
  global $wp_query;
77
  if ( ! is_ajax() ) {
161
  public function add_to_cart_variation_params( $params, $handle ) {
162
 
163
  if ( 'wc-add-to-cart-variation' === $handle ) {
 
164
  if ( is_product() ) {
165
+
166
  $product = wc_get_product();
167
 
168
  $params[ 'woo_variation_swatches_ajax_variation_threshold_min' ] = apply_filters( 'woocommerce_ajax_variation_threshold', 30, $product );
includes/class-woo-variation-swatches-settings.php CHANGED
@@ -253,7 +253,7 @@
253
  }
254
  }
255
 
256
- public static function get_all_image_sizes() {
257
 
258
  $image_subsizes = wp_get_registered_image_subsizes();
259
 
@@ -269,6 +269,21 @@
269
  }, array() ) );
270
  }
271
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
272
  public function plugins_tab( $label ) {
273
  return sprintf( '<span class="getwooplugins-recommended-plugins-tab dashicons dashicons-admin-plugins"></span> <span>%s</span>', $label );
274
  }
253
  }
254
  }
255
 
256
+ public function get_all_image_sizes() {
257
 
258
  $image_subsizes = wp_get_registered_image_subsizes();
259
 
269
  }, array() ) );
270
  }
271
 
272
+ public function get_product_categories() {
273
+
274
+ $args = array(
275
+ 'orderby' => 'name',
276
+ 'order' => 'asc',
277
+ 'hide_empty' => true,
278
+ );
279
+
280
+ $categories = get_terms( 'product_cat', $args );
281
+
282
+ $ids = wp_list_pluck( $categories, 'name', 'term_id' );
283
+
284
+ return apply_filters( 'woo_variation_swatches_get_product_categories', $ids, $categories, $args );
285
+ }
286
+
287
  public function plugins_tab( $label ) {
288
  return sprintf( '<span class="getwooplugins-recommended-plugins-tab dashicons dashicons-admin-plugins"></span> <span>%s</span>', $label );
289
  }
languages/woo-variation-swatches.pot CHANGED
@@ -7,7 +7,7 @@ msgstr ""
7
  "Content-Type: text/plain; charset=UTF-8\n"
8
  "Content-Transfer-Encoding: 8bit\n"
9
  "Language-Team: Emran Ahmed <emran.bd.08@gmail.com>\n"
10
- "POT-Creation-Date: 2022-09-15 12:49+0000\n"
11
  "X-Poedit-Basepath: ..\n"
12
  "X-Poedit-KeywordsList: __;_e;_ex:1,2c;_n:1,2;_n_noop:1,2;_nx:1,2,4c;_nx_noop:1,2,3c;_x:1,2c;esc_attr__;esc_attr_e;esc_attr_x:1,2c;esc_html__;esc_html_e;esc_html_x:1,2c\n"
13
  "X-Poedit-SearchPath-0: .\n"
@@ -197,11 +197,11 @@ msgstr ""
197
  msgid "Unable to use image \"%s\"."
198
  msgstr ""
199
 
200
- #: ../includes/class-woo-variation-swatches-product-page.php:107
201
  msgid "%s left"
202
  msgstr ""
203
 
204
- #: ../includes/class-woo-variation-swatches-product-page.php:684, ../includes/class-woo-variation-swatches-product-page.php:710
205
  msgid "Choose an option"
206
  msgstr ""
207
 
@@ -309,395 +309,395 @@ msgstr ""
309
  msgid "Swatches Settings Reset."
310
  msgstr ""
311
 
312
- #: ../includes/class-woo-variation-swatches-settings.php:278, ../includes/getwooplugins/class-getwooplugins-settings-page.php:128
313
  msgid "General"
314
  msgstr ""
315
 
316
- #: ../includes/class-woo-variation-swatches-settings.php:279
317
  msgid "Advanced"
318
  msgstr ""
319
 
320
- #: ../includes/class-woo-variation-swatches-settings.php:280
321
  msgid "Styling"
322
  msgstr ""
323
 
324
- #: ../includes/class-woo-variation-swatches-settings.php:281
325
  msgid "Product Page"
326
  msgstr ""
327
 
328
- #: ../includes/class-woo-variation-swatches-settings.php:282
329
  msgid "Archive / Shop"
330
  msgstr ""
331
 
332
- #: ../includes/class-woo-variation-swatches-settings.php:283
333
  msgid "Special Attributes"
334
  msgstr ""
335
 
336
- #: ../includes/class-woo-variation-swatches-settings.php:284, ../includes/class-woo-variation-swatches-term-meta.php:103
337
  msgid "Group"
338
  msgstr ""
339
 
340
- #: ../includes/class-woo-variation-swatches-settings.php:286
341
  msgid "License"
342
  msgstr ""
343
 
344
- #: ../includes/class-woo-variation-swatches-settings.php:289
345
  msgid "Tutorial"
346
  msgstr ""
347
 
348
- #: ../includes/class-woo-variation-swatches-settings.php:294
349
  msgid "Useful Free Plugins"
350
  msgstr ""
351
 
352
- #: ../includes/class-woo-variation-swatches-settings.php:323
353
  msgid "General options"
354
  msgstr ""
355
 
356
- #: ../includes/class-woo-variation-swatches-settings.php:330
357
  msgid "Enable Stylesheet"
358
  msgstr ""
359
 
360
- #: ../includes/class-woo-variation-swatches-settings.php:331
361
  msgid "Enable default stylesheet."
362
  msgstr ""
363
 
364
- #: ../includes/class-woo-variation-swatches-settings.php:338
365
  msgid "Enable Tooltip"
366
  msgstr ""
367
 
368
- #: ../includes/class-woo-variation-swatches-settings.php:339
369
  msgid "Enable tooltip on each product attribute."
370
  msgstr ""
371
 
372
- #: ../includes/class-woo-variation-swatches-settings.php:346
373
  msgid "Shape Style"
374
  msgstr ""
375
 
376
- #: ../includes/class-woo-variation-swatches-settings.php:348
377
  msgid "This controls which shape style used by default."
378
  msgstr ""
379
 
380
- #: ../includes/class-woo-variation-swatches-settings.php:355
381
  msgid "Rounded Shape"
382
  msgstr ""
383
 
384
- #: ../includes/class-woo-variation-swatches-settings.php:356
385
  msgid "Squared Shape"
386
  msgstr ""
387
 
388
- #: ../includes/class-woo-variation-swatches-settings.php:363
389
  msgid "Dropdowns to Button"
390
  msgstr ""
391
 
392
- #: ../includes/class-woo-variation-swatches-settings.php:364
393
  msgid "Convert default dropdowns to button."
394
  msgstr ""
395
 
396
- #: ../includes/class-woo-variation-swatches-settings.php:373
397
  msgid "Dropdowns to Image"
398
  msgstr ""
399
 
400
- #: ../includes/class-woo-variation-swatches-settings.php:374
401
  msgid "Convert default dropdowns to image type if variation has an image."
402
  msgstr ""
403
 
404
- #: ../includes/class-woo-variation-swatches-settings.php:395
405
  msgid "Advanced options"
406
  msgstr ""
407
 
408
- #: ../includes/class-woo-variation-swatches-settings.php:402
409
  msgid "Clear on Reselect"
410
  msgstr ""
411
 
412
- #: ../includes/class-woo-variation-swatches-settings.php:403
413
  msgid "Clear selected attribute on select again."
414
  msgstr ""
415
 
416
- #: ../includes/class-woo-variation-swatches-settings.php:411
417
  msgid "Disable Out of Stock"
418
  msgstr ""
419
 
420
- #: ../includes/class-woo-variation-swatches-settings.php:412
421
  msgid "Disable Out Of Stock item."
422
  msgstr ""
423
 
424
- #: ../includes/class-woo-variation-swatches-settings.php:421
425
  msgid "Clickable Out Of Stock"
426
  msgstr ""
427
 
428
- #: ../includes/class-woo-variation-swatches-settings.php:422
429
  msgid "Clickable Out Of Stock item."
430
  msgstr ""
431
 
432
- #: ../includes/class-woo-variation-swatches-settings.php:431
433
  msgid "Disabled Attribute style"
434
  msgstr ""
435
 
436
- #: ../includes/class-woo-variation-swatches-settings.php:432
437
  msgid "Disabled / Out Of Stock attribute will be hide / blur / crossed."
438
  msgstr ""
439
 
440
- #: ../includes/class-woo-variation-swatches-settings.php:435
441
  msgid "Blur with cross"
442
  msgstr ""
443
 
444
- #: ../includes/class-woo-variation-swatches-settings.php:436
445
  msgid "Blur without cross"
446
  msgstr ""
447
 
448
- #: ../includes/class-woo-variation-swatches-settings.php:437
449
  msgid "Hide"
450
  msgstr ""
451
 
452
- #: ../includes/class-woo-variation-swatches-settings.php:446
453
  msgid "Attribute image size"
454
  msgstr ""
455
 
456
- #: ../includes/class-woo-variation-swatches-settings.php:447
457
  msgid "<span style=\"color: red\">Attribute image size can be changed by <code>woo_variation_swatches_global_product_attribute_image_size</code> filter hook. So this option will not apply any effect.</span>"
458
  msgstr ""
459
 
460
- #: ../includes/class-woo-variation-swatches-settings.php:447
461
  msgid "Choose attribute image size. <a target=\"_blank\" href=\"%s\">Media Settings</a> or use <strong>Regenerate Thumbnails</strong> plugin."
462
  msgstr ""
463
 
464
- #: ../includes/class-woo-variation-swatches-settings.php:469
465
  msgid "Swatches indicator"
466
  msgstr ""
467
 
468
- #: ../includes/class-woo-variation-swatches-settings.php:470
469
  msgid "Change swatches indicator color"
470
  msgstr ""
471
 
472
- #: ../includes/class-woo-variation-swatches-settings.php:476
473
  msgid "Tick Color"
474
  msgstr ""
475
 
476
- #: ../includes/class-woo-variation-swatches-settings.php:477
477
  msgid "Swatches Selected tick color. Default is: #ffffff"
478
  msgstr ""
479
 
480
- #: ../includes/class-woo-variation-swatches-settings.php:488
481
  msgid "Cross Color"
482
  msgstr ""
483
 
484
- #: ../includes/class-woo-variation-swatches-settings.php:489
485
  msgid "Swatches cross color. Default is: #ff0000"
486
  msgstr ""
487
 
488
- #: ../includes/class-woo-variation-swatches-settings.php:506
489
  msgid "Product Page Swatches Size"
490
  msgstr ""
491
 
492
- #: ../includes/class-woo-variation-swatches-settings.php:507
493
  msgid "Change swatches style on product page"
494
  msgstr ""
495
 
496
- #: ../includes/class-woo-variation-swatches-settings.php:513
497
  msgid "Width"
498
  msgstr ""
499
 
500
- #: ../includes/class-woo-variation-swatches-settings.php:514
501
  msgid "Single product variation item width. Default is: 30"
502
  msgstr ""
503
 
504
- #: ../includes/class-woo-variation-swatches-settings.php:528
505
  msgid "Height"
506
  msgstr ""
507
 
508
- #: ../includes/class-woo-variation-swatches-settings.php:529
509
  msgid "Single product variation item height. Default is: 30"
510
  msgstr ""
511
 
512
- #: ../includes/class-woo-variation-swatches-settings.php:543
513
  msgid "Font Size"
514
  msgstr ""
515
 
516
- #: ../includes/class-woo-variation-swatches-settings.php:544
517
  msgid "Single product variation item font size. Default is: 16"
518
  msgstr ""
519
 
520
- #: ../includes/class-woo-variation-swatches-settings.php:570
521
  msgid "Single Product Page"
522
  msgstr ""
523
 
524
- #: ../includes/class-woo-variation-swatches-settings.php:571
525
  msgid "Settings for single product page"
526
  msgstr ""
527
 
528
- #: ../includes/class-woo-variation-swatches-settings.php:577
529
  msgid "Show selected attribute"
530
  msgstr ""
531
 
532
- #: ../includes/class-woo-variation-swatches-settings.php:578
533
  msgid "Show selected attribute variation name beside the title."
534
  msgstr ""
535
 
536
- #: ../includes/class-woo-variation-swatches-settings.php:586
537
  msgid "Variation label separator"
538
  msgstr ""
539
 
540
- #: ../includes/class-woo-variation-swatches-settings.php:587
541
  msgid "Variation label separator. Default: %s."
542
  msgstr ""
543
 
544
- #: ../includes/class-woo-variation-swatches-settings.php:598, ../includes/class-woo-variation-swatches-settings.php:666
545
  msgid "Enable Preloader"
546
  msgstr ""
547
 
548
- #: ../includes/class-woo-variation-swatches-settings.php:599
549
  msgid "Enable single product page swatches preloader."
550
  msgstr ""
551
 
552
- #: ../includes/class-woo-variation-swatches-settings.php:607
553
  msgid "Generate variation url"
554
  msgstr ""
555
 
556
- #: ../includes/class-woo-variation-swatches-settings.php:608
557
  msgid "Generate sharable url based on selected variation attributes."
558
  msgstr ""
559
 
560
- #: ../includes/class-woo-variation-swatches-settings.php:616
561
  msgid "Variation stock info"
562
  msgstr ""
563
 
564
- #: ../includes/class-woo-variation-swatches-settings.php:617
565
  msgid "Show variation product stock info."
566
  msgstr ""
567
 
568
- #: ../includes/class-woo-variation-swatches-settings.php:626
569
  msgid "Attribute display limit"
570
  msgstr ""
571
 
572
- #: ../includes/class-woo-variation-swatches-settings.php:627
573
  msgid "Single Product page attribute display limit. Default is 0. Means no limit."
574
  msgstr ""
575
 
576
- #: ../includes/class-woo-variation-swatches-settings.php:650
577
  msgid "Visual Section"
578
  msgstr ""
579
 
580
- #: ../includes/class-woo-variation-swatches-settings.php:651
581
  msgid "Advanced change some visual styles on shop / archive page"
582
  msgstr ""
583
 
584
- #: ../includes/class-woo-variation-swatches-settings.php:657
585
  msgid "Enable Swatches"
586
  msgstr ""
587
 
588
- #: ../includes/class-woo-variation-swatches-settings.php:658
589
  msgid "Show swatches on archive / shop page."
590
  msgstr ""
591
 
592
- #: ../includes/class-woo-variation-swatches-settings.php:667
593
  msgid "Enable archive page swatches preloader."
594
  msgstr ""
595
 
596
- #: ../includes/class-woo-variation-swatches-settings.php:675
597
  msgid "Show Product Availability"
598
  msgstr ""
599
 
600
- #: ../includes/class-woo-variation-swatches-settings.php:676
601
  msgid "Show Product availability stock info."
602
  msgstr ""
603
 
604
- #: ../includes/class-woo-variation-swatches-settings.php:687
605
  msgid "Show default selected"
606
  msgstr ""
607
 
608
- #: ../includes/class-woo-variation-swatches-settings.php:688
609
  msgid "Show default selected attribute swatches on archive / shop page."
610
  msgstr ""
611
 
612
- #: ../includes/class-woo-variation-swatches-settings.php:697
613
  msgid "Display position"
614
  msgstr ""
615
 
616
- #: ../includes/class-woo-variation-swatches-settings.php:698
617
  msgid "Show archive swatches position. <span style=\"color: red\">Note:</span> Some theme remove default woocommerce hooks that why it's may not work as expected. For theme compatibility <a target=\"_blank\" href=\"%s\">please open a ticket</a>."
618
  msgstr ""
619
 
620
- #: ../includes/class-woo-variation-swatches-settings.php:702
621
  msgid "Before add to cart button"
622
  msgstr ""
623
 
624
- #: ../includes/class-woo-variation-swatches-settings.php:703
625
  msgid "After add to cart button"
626
  msgstr ""
627
 
628
- #: ../includes/class-woo-variation-swatches-settings.php:712
629
  msgid "Swatches align"
630
  msgstr ""
631
 
632
- #: ../includes/class-woo-variation-swatches-settings.php:713
633
  msgid "Swatches align on archive page"
634
  msgstr ""
635
 
636
- #: ../includes/class-woo-variation-swatches-settings.php:718
637
  msgid "Left"
638
  msgstr ""
639
 
640
- #: ../includes/class-woo-variation-swatches-settings.php:719
641
  msgid "Center"
642
  msgstr ""
643
 
644
- #: ../includes/class-woo-variation-swatches-settings.php:720
645
  msgid "Right"
646
  msgstr ""
647
 
648
- #: ../includes/class-woo-variation-swatches-settings.php:728
649
  msgid "Show on filter widget"
650
  msgstr ""
651
 
652
- #: ../includes/class-woo-variation-swatches-settings.php:729
653
  msgid "Show variation swatches on filter widget."
654
  msgstr ""
655
 
656
- #: ../includes/class-woo-variation-swatches-settings.php:750
657
  msgid "Catalog mode"
658
  msgstr ""
659
 
660
- #: ../includes/class-woo-variation-swatches-settings.php:751
661
  msgid "Show single attribute as catalog mode on shop / archive pages. Catalog mode only change image based on selected variation."
662
  msgstr ""
663
 
664
- #: ../includes/class-woo-variation-swatches-settings.php:757
665
  msgid "Show Single Attribute"
666
  msgstr ""
667
 
668
- #: ../includes/class-woo-variation-swatches-settings.php:758
669
  msgid "Show Single Attribute taxonomies on archive page."
670
  msgstr ""
671
 
672
- #: ../includes/class-woo-variation-swatches-settings.php:771
673
  msgid "Single Variation Image Preview"
674
  msgstr ""
675
 
676
- #: ../includes/class-woo-variation-swatches-settings.php:772
677
  msgid "Switch variation image when single attribute selected on product page."
678
  msgstr ""
679
 
680
- #: ../includes/class-woo-variation-swatches-settings.php:778
681
  msgid "Variation Image Preview"
682
  msgstr ""
683
 
684
- #: ../includes/class-woo-variation-swatches-settings.php:779
685
  msgid "Show single attribute variation image based on first attribute select on product page."
686
  msgstr ""
687
 
688
- #: ../includes/class-woo-variation-swatches-settings.php:793
689
  msgid "Large Size Attribute Section"
690
  msgstr ""
691
 
692
- #: ../includes/class-woo-variation-swatches-settings.php:794
693
  msgid "Make a attribute taxonomies size large on single product"
694
  msgstr ""
695
 
696
- #: ../includes/class-woo-variation-swatches-settings.php:800
697
  msgid "Show First Attribute In Large Size"
698
  msgstr ""
699
 
700
- #: ../includes/class-woo-variation-swatches-settings.php:801
701
  msgid "Show Attribute taxonomies in large size."
702
  msgstr ""
703
 
7
  "Content-Type: text/plain; charset=UTF-8\n"
8
  "Content-Transfer-Encoding: 8bit\n"
9
  "Language-Team: Emran Ahmed <emran.bd.08@gmail.com>\n"
10
+ "POT-Creation-Date: 2022-09-29 11:01+0000\n"
11
  "X-Poedit-Basepath: ..\n"
12
  "X-Poedit-KeywordsList: __;_e;_ex:1,2c;_n:1,2;_n_noop:1,2;_nx:1,2,4c;_nx_noop:1,2,3c;_x:1,2c;esc_attr__;esc_attr_e;esc_attr_x:1,2c;esc_html__;esc_html_e;esc_html_x:1,2c\n"
13
  "X-Poedit-SearchPath-0: .\n"
197
  msgid "Unable to use image \"%s\"."
198
  msgstr ""
199
 
200
+ #: ../includes/class-woo-variation-swatches-product-page.php:129
201
  msgid "%s left"
202
  msgstr ""
203
 
204
+ #: ../includes/class-woo-variation-swatches-product-page.php:706, ../includes/class-woo-variation-swatches-product-page.php:732
205
  msgid "Choose an option"
206
  msgstr ""
207
 
309
  msgid "Swatches Settings Reset."
310
  msgstr ""
311
 
312
+ #: ../includes/class-woo-variation-swatches-settings.php:293, ../includes/getwooplugins/class-getwooplugins-settings-page.php:128
313
  msgid "General"
314
  msgstr ""
315
 
316
+ #: ../includes/class-woo-variation-swatches-settings.php:294
317
  msgid "Advanced"
318
  msgstr ""
319
 
320
+ #: ../includes/class-woo-variation-swatches-settings.php:295
321
  msgid "Styling"
322
  msgstr ""
323
 
324
+ #: ../includes/class-woo-variation-swatches-settings.php:296
325
  msgid "Product Page"
326
  msgstr ""
327
 
328
+ #: ../includes/class-woo-variation-swatches-settings.php:297
329
  msgid "Archive / Shop"
330
  msgstr ""
331
 
332
+ #: ../includes/class-woo-variation-swatches-settings.php:298
333
  msgid "Special Attributes"
334
  msgstr ""
335
 
336
+ #: ../includes/class-woo-variation-swatches-settings.php:299, ../includes/class-woo-variation-swatches-term-meta.php:103
337
  msgid "Group"
338
  msgstr ""
339
 
340
+ #: ../includes/class-woo-variation-swatches-settings.php:301
341
  msgid "License"
342
  msgstr ""
343
 
344
+ #: ../includes/class-woo-variation-swatches-settings.php:304
345
  msgid "Tutorial"
346
  msgstr ""
347
 
348
+ #: ../includes/class-woo-variation-swatches-settings.php:309
349
  msgid "Useful Free Plugins"
350
  msgstr ""
351
 
352
+ #: ../includes/class-woo-variation-swatches-settings.php:338
353
  msgid "General options"
354
  msgstr ""
355
 
356
+ #: ../includes/class-woo-variation-swatches-settings.php:345
357
  msgid "Enable Stylesheet"
358
  msgstr ""
359
 
360
+ #: ../includes/class-woo-variation-swatches-settings.php:346
361
  msgid "Enable default stylesheet."
362
  msgstr ""
363
 
364
+ #: ../includes/class-woo-variation-swatches-settings.php:353
365
  msgid "Enable Tooltip"
366
  msgstr ""
367
 
368
+ #: ../includes/class-woo-variation-swatches-settings.php:354
369
  msgid "Enable tooltip on each product attribute."
370
  msgstr ""
371
 
372
+ #: ../includes/class-woo-variation-swatches-settings.php:361
373
  msgid "Shape Style"
374
  msgstr ""
375
 
376
+ #: ../includes/class-woo-variation-swatches-settings.php:363
377
  msgid "This controls which shape style used by default."
378
  msgstr ""
379
 
380
+ #: ../includes/class-woo-variation-swatches-settings.php:370
381
  msgid "Rounded Shape"
382
  msgstr ""
383
 
384
+ #: ../includes/class-woo-variation-swatches-settings.php:371
385
  msgid "Squared Shape"
386
  msgstr ""
387
 
388
+ #: ../includes/class-woo-variation-swatches-settings.php:378
389
  msgid "Dropdowns to Button"
390
  msgstr ""
391
 
392
+ #: ../includes/class-woo-variation-swatches-settings.php:379
393
  msgid "Convert default dropdowns to button."
394
  msgstr ""
395
 
396
+ #: ../includes/class-woo-variation-swatches-settings.php:388
397
  msgid "Dropdowns to Image"
398
  msgstr ""
399
 
400
+ #: ../includes/class-woo-variation-swatches-settings.php:389
401
  msgid "Convert default dropdowns to image type if variation has an image."
402
  msgstr ""
403
 
404
+ #: ../includes/class-woo-variation-swatches-settings.php:410
405
  msgid "Advanced options"
406
  msgstr ""
407
 
408
+ #: ../includes/class-woo-variation-swatches-settings.php:417
409
  msgid "Clear on Reselect"
410
  msgstr ""
411
 
412
+ #: ../includes/class-woo-variation-swatches-settings.php:418
413
  msgid "Clear selected attribute on select again."
414
  msgstr ""
415
 
416
+ #: ../includes/class-woo-variation-swatches-settings.php:426
417
  msgid "Disable Out of Stock"
418
  msgstr ""
419
 
420
+ #: ../includes/class-woo-variation-swatches-settings.php:427
421
  msgid "Disable Out Of Stock item."
422
  msgstr ""
423
 
424
+ #: ../includes/class-woo-variation-swatches-settings.php:436
425
  msgid "Clickable Out Of Stock"
426
  msgstr ""
427
 
428
+ #: ../includes/class-woo-variation-swatches-settings.php:437
429
  msgid "Clickable Out Of Stock item."
430
  msgstr ""
431
 
432
+ #: ../includes/class-woo-variation-swatches-settings.php:446
433
  msgid "Disabled Attribute style"
434
  msgstr ""
435
 
436
+ #: ../includes/class-woo-variation-swatches-settings.php:447
437
  msgid "Disabled / Out Of Stock attribute will be hide / blur / crossed."
438
  msgstr ""
439
 
440
+ #: ../includes/class-woo-variation-swatches-settings.php:450
441
  msgid "Blur with cross"
442
  msgstr ""
443
 
444
+ #: ../includes/class-woo-variation-swatches-settings.php:451
445
  msgid "Blur without cross"
446
  msgstr ""
447
 
448
+ #: ../includes/class-woo-variation-swatches-settings.php:452
449
  msgid "Hide"
450
  msgstr ""
451
 
452
+ #: ../includes/class-woo-variation-swatches-settings.php:461
453
  msgid "Attribute image size"
454
  msgstr ""
455
 
456
+ #: ../includes/class-woo-variation-swatches-settings.php:462
457
  msgid "<span style=\"color: red\">Attribute image size can be changed by <code>woo_variation_swatches_global_product_attribute_image_size</code> filter hook. So this option will not apply any effect.</span>"
458
  msgstr ""
459
 
460
+ #: ../includes/class-woo-variation-swatches-settings.php:462
461
  msgid "Choose attribute image size. <a target=\"_blank\" href=\"%s\">Media Settings</a> or use <strong>Regenerate Thumbnails</strong> plugin."
462
  msgstr ""
463
 
464
+ #: ../includes/class-woo-variation-swatches-settings.php:484
465
  msgid "Swatches indicator"
466
  msgstr ""
467
 
468
+ #: ../includes/class-woo-variation-swatches-settings.php:485
469
  msgid "Change swatches indicator color"
470
  msgstr ""
471
 
472
+ #: ../includes/class-woo-variation-swatches-settings.php:491
473
  msgid "Tick Color"
474
  msgstr ""
475
 
476
+ #: ../includes/class-woo-variation-swatches-settings.php:492
477
  msgid "Swatches Selected tick color. Default is: #ffffff"
478
  msgstr ""
479
 
480
+ #: ../includes/class-woo-variation-swatches-settings.php:503
481
  msgid "Cross Color"
482
  msgstr ""
483
 
484
+ #: ../includes/class-woo-variation-swatches-settings.php:504
485
  msgid "Swatches cross color. Default is: #ff0000"
486
  msgstr ""
487
 
488
+ #: ../includes/class-woo-variation-swatches-settings.php:521
489
  msgid "Product Page Swatches Size"
490
  msgstr ""
491
 
492
+ #: ../includes/class-woo-variation-swatches-settings.php:522
493
  msgid "Change swatches style on product page"
494
  msgstr ""
495
 
496
+ #: ../includes/class-woo-variation-swatches-settings.php:528
497
  msgid "Width"
498
  msgstr ""
499
 
500
+ #: ../includes/class-woo-variation-swatches-settings.php:529
501
  msgid "Single product variation item width. Default is: 30"
502
  msgstr ""
503
 
504
+ #: ../includes/class-woo-variation-swatches-settings.php:543
505
  msgid "Height"
506
  msgstr ""
507
 
508
+ #: ../includes/class-woo-variation-swatches-settings.php:544
509
  msgid "Single product variation item height. Default is: 30"
510
  msgstr ""
511
 
512
+ #: ../includes/class-woo-variation-swatches-settings.php:558
513
  msgid "Font Size"
514
  msgstr ""
515
 
516
+ #: ../includes/class-woo-variation-swatches-settings.php:559
517
  msgid "Single product variation item font size. Default is: 16"
518
  msgstr ""
519
 
520
+ #: ../includes/class-woo-variation-swatches-settings.php:585
521
  msgid "Single Product Page"
522
  msgstr ""
523
 
524
+ #: ../includes/class-woo-variation-swatches-settings.php:586
525
  msgid "Settings for single product page"
526
  msgstr ""
527
 
528
+ #: ../includes/class-woo-variation-swatches-settings.php:592
529
  msgid "Show selected attribute"
530
  msgstr ""
531
 
532
+ #: ../includes/class-woo-variation-swatches-settings.php:593
533
  msgid "Show selected attribute variation name beside the title."
534
  msgstr ""
535
 
536
+ #: ../includes/class-woo-variation-swatches-settings.php:601
537
  msgid "Variation label separator"
538
  msgstr ""
539
 
540
+ #: ../includes/class-woo-variation-swatches-settings.php:602
541
  msgid "Variation label separator. Default: %s."
542
  msgstr ""
543
 
544
+ #: ../includes/class-woo-variation-swatches-settings.php:613, ../includes/class-woo-variation-swatches-settings.php:681
545
  msgid "Enable Preloader"
546
  msgstr ""
547
 
548
+ #: ../includes/class-woo-variation-swatches-settings.php:614
549
  msgid "Enable single product page swatches preloader."
550
  msgstr ""
551
 
552
+ #: ../includes/class-woo-variation-swatches-settings.php:622
553
  msgid "Generate variation url"
554
  msgstr ""
555
 
556
+ #: ../includes/class-woo-variation-swatches-settings.php:623
557
  msgid "Generate sharable url based on selected variation attributes."
558
  msgstr ""
559
 
560
+ #: ../includes/class-woo-variation-swatches-settings.php:631
561
  msgid "Variation stock info"
562
  msgstr ""
563
 
564
+ #: ../includes/class-woo-variation-swatches-settings.php:632
565
  msgid "Show variation product stock info."
566
  msgstr ""
567
 
568
+ #: ../includes/class-woo-variation-swatches-settings.php:641
569
  msgid "Attribute display limit"
570
  msgstr ""
571
 
572
+ #: ../includes/class-woo-variation-swatches-settings.php:642
573
  msgid "Single Product page attribute display limit. Default is 0. Means no limit."
574
  msgstr ""
575
 
576
+ #: ../includes/class-woo-variation-swatches-settings.php:665
577
  msgid "Visual Section"
578
  msgstr ""
579
 
580
+ #: ../includes/class-woo-variation-swatches-settings.php:666
581
  msgid "Advanced change some visual styles on shop / archive page"
582
  msgstr ""
583
 
584
+ #: ../includes/class-woo-variation-swatches-settings.php:672
585
  msgid "Enable Swatches"
586
  msgstr ""
587
 
588
+ #: ../includes/class-woo-variation-swatches-settings.php:673
589
  msgid "Show swatches on archive / shop page."
590
  msgstr ""
591
 
592
+ #: ../includes/class-woo-variation-swatches-settings.php:682
593
  msgid "Enable archive page swatches preloader."
594
  msgstr ""
595
 
596
+ #: ../includes/class-woo-variation-swatches-settings.php:690
597
  msgid "Show Product Availability"
598
  msgstr ""
599
 
600
+ #: ../includes/class-woo-variation-swatches-settings.php:691
601
  msgid "Show Product availability stock info."
602
  msgstr ""
603
 
604
+ #: ../includes/class-woo-variation-swatches-settings.php:702
605
  msgid "Show default selected"
606
  msgstr ""
607
 
608
+ #: ../includes/class-woo-variation-swatches-settings.php:703
609
  msgid "Show default selected attribute swatches on archive / shop page."
610
  msgstr ""
611
 
612
+ #: ../includes/class-woo-variation-swatches-settings.php:712
613
  msgid "Display position"
614
  msgstr ""
615
 
616
+ #: ../includes/class-woo-variation-swatches-settings.php:713
617
  msgid "Show archive swatches position. <span style=\"color: red\">Note:</span> Some theme remove default woocommerce hooks that why it's may not work as expected. For theme compatibility <a target=\"_blank\" href=\"%s\">please open a ticket</a>."
618
  msgstr ""
619
 
620
+ #: ../includes/class-woo-variation-swatches-settings.php:717
621
  msgid "Before add to cart button"
622
  msgstr ""
623
 
624
+ #: ../includes/class-woo-variation-swatches-settings.php:718
625
  msgid "After add to cart button"
626
  msgstr ""
627
 
628
+ #: ../includes/class-woo-variation-swatches-settings.php:727
629
  msgid "Swatches align"
630
  msgstr ""
631
 
632
+ #: ../includes/class-woo-variation-swatches-settings.php:728
633
  msgid "Swatches align on archive page"
634
  msgstr ""
635
 
636
+ #: ../includes/class-woo-variation-swatches-settings.php:733
637
  msgid "Left"
638
  msgstr ""
639
 
640
+ #: ../includes/class-woo-variation-swatches-settings.php:734
641
  msgid "Center"
642
  msgstr ""
643
 
644
+ #: ../includes/class-woo-variation-swatches-settings.php:735
645
  msgid "Right"
646
  msgstr ""
647
 
648
+ #: ../includes/class-woo-variation-swatches-settings.php:743
649
  msgid "Show on filter widget"
650
  msgstr ""
651
 
652
+ #: ../includes/class-woo-variation-swatches-settings.php:744
653
  msgid "Show variation swatches on filter widget."
654
  msgstr ""
655
 
656
+ #: ../includes/class-woo-variation-swatches-settings.php:765
657
  msgid "Catalog mode"
658
  msgstr ""
659
 
660
+ #: ../includes/class-woo-variation-swatches-settings.php:766
661
  msgid "Show single attribute as catalog mode on shop / archive pages. Catalog mode only change image based on selected variation."
662
  msgstr ""
663
 
664
+ #: ../includes/class-woo-variation-swatches-settings.php:772
665
  msgid "Show Single Attribute"
666
  msgstr ""
667
 
668
+ #: ../includes/class-woo-variation-swatches-settings.php:773
669
  msgid "Show Single Attribute taxonomies on archive page."
670
  msgstr ""
671
 
672
+ #: ../includes/class-woo-variation-swatches-settings.php:786
673
  msgid "Single Variation Image Preview"
674
  msgstr ""
675
 
676
+ #: ../includes/class-woo-variation-swatches-settings.php:787
677
  msgid "Switch variation image when single attribute selected on product page."
678
  msgstr ""
679
 
680
+ #: ../includes/class-woo-variation-swatches-settings.php:793
681
  msgid "Variation Image Preview"
682
  msgstr ""
683
 
684
+ #: ../includes/class-woo-variation-swatches-settings.php:794
685
  msgid "Show single attribute variation image based on first attribute select on product page."
686
  msgstr ""
687
 
688
+ #: ../includes/class-woo-variation-swatches-settings.php:808
689
  msgid "Large Size Attribute Section"
690
  msgstr ""
691
 
692
+ #: ../includes/class-woo-variation-swatches-settings.php:809
693
  msgid "Make a attribute taxonomies size large on single product"
694
  msgstr ""
695
 
696
+ #: ../includes/class-woo-variation-swatches-settings.php:815
697
  msgid "Show First Attribute In Large Size"
698
  msgstr ""
699
 
700
+ #: ../includes/class-woo-variation-swatches-settings.php:816
701
  msgid "Show Attribute taxonomies in large size."
702
  msgstr ""
703
 
woo-variation-swatches.php CHANGED
@@ -4,7 +4,7 @@
4
  * Plugin URI: https://wordpress.org/plugins/woo-variation-swatches/
5
  * Description: Beautiful colors, images and buttons variation swatches for woocommerce product attributes. Requires WooCommerce 5.6+
6
  * Author: Emran Ahmed
7
- * Version: 2.0.10
8
  * Domain Path: /languages
9
  * Requires PHP: 7.0
10
  * Requires at least: 5.6
@@ -18,7 +18,7 @@
18
  defined( 'ABSPATH' ) or die( 'Keep Silent' );
19
 
20
  if ( ! defined( 'WOO_VARIATION_SWATCHES_PLUGIN_VERSION' ) ) {
21
- define( 'WOO_VARIATION_SWATCHES_PLUGIN_VERSION', '2.0.10' );
22
  }
23
 
24
  if ( ! defined( 'WOO_VARIATION_SWATCHES_PLUGIN_FILE' ) ) {
4
  * Plugin URI: https://wordpress.org/plugins/woo-variation-swatches/
5
  * Description: Beautiful colors, images and buttons variation swatches for woocommerce product attributes. Requires WooCommerce 5.6+
6
  * Author: Emran Ahmed
7
+ * Version: 2.0.11
8
  * Domain Path: /languages
9
  * Requires PHP: 7.0
10
  * Requires at least: 5.6
18
  defined( 'ABSPATH' ) or die( 'Keep Silent' );
19
 
20
  if ( ! defined( 'WOO_VARIATION_SWATCHES_PLUGIN_VERSION' ) ) {
21
+ define( 'WOO_VARIATION_SWATCHES_PLUGIN_VERSION', '2.0.11' );
22
  }
23
 
24
  if ( ! defined( 'WOO_VARIATION_SWATCHES_PLUGIN_FILE' ) ) {