WooCommerce Variation Swatches - Version 2.0.4

Version Description

  • 08-07-2022 =

  • Fix: Composite Product Selecting Issue

  • Add: Option to change tick and cross icon color

  • Add: Option to enable/disable preloader

Download this release

Release Info

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

Code changes from version 2.0.3 to 2.0.4

README.txt CHANGED
@@ -492,7 +492,7 @@ We provide exclusive technical support to our customers. Our plugin has plenty o
492
  <li><a target="_blank" href="https://wordpress.org/plugins/woo-cart-redirect-to-checkout-page">Add to Cart Redirect for WooCommerce</a></li>
493
  </ul>
494
  <ul>
495
- <li><a target="_blank" href="https://wordpress.org/plugins/woo-2checkout">Payment Gateway 2Checkout for WooCommerce</a></li>
496
  </ul>
497
  </blockquote>
498
 
@@ -617,6 +617,12 @@ And your are ready to go.
617
 
618
  == Changelog ==
619
 
 
 
 
 
 
 
620
  = 2.0.3 - 26-06-2022 =
621
 
622
  * Fix: Out of Stock info
492
  <li><a target="_blank" href="https://wordpress.org/plugins/woo-cart-redirect-to-checkout-page">Add to Cart Redirect for WooCommerce</a></li>
493
  </ul>
494
  <ul>
495
+ <li><a target="_blank" href="https://wordpress.org/plugins/leo-product-recommendations">WooCommerce Related Product Popup</a></li>
496
  </ul>
497
  </blockquote>
498
 
617
 
618
  == Changelog ==
619
 
620
+ = 2.0.4 - 08-07-2022 =
621
+
622
+ * Fix: Composite Product Selecting Issue
623
+ * Add: Option to change tick and cross icon color
624
+ * Add: Option to enable/disable preloader
625
+
626
  = 2.0.3 - 26-06-2022 =
627
 
628
  * Fix: Out of Stock info
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: 6/26/2022, 5:23:57 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: 7/8/2022, 11:04:45 PM
6
  * Released under the GPLv3 license.
7
  */
8
  .button.button-danger {
assets/css/frontend.css CHANGED
@@ -2,14 +2,9 @@
2
  * Variation Swatches for WooCommerce
3
  *
4
  * Author: Emran Ahmed ( emran.bd.08@gmail.com )
5
- * Date: 6/26/2022, 5:23:57 PM
6
  * Released under the GPLv3 license.
7
  */
8
- :root {
9
- --wvs-cross: url('data:image/svg+xml;utf8,%3Csvg filter="drop-shadow(0px 0px 5px rgb(255 255 255 / .6))" xmlns="http://www.w3.org/2000/svg" width="72px" height="72px" viewBox="0 0 24 24"%3E%3Cpath fill="none" stroke="%23ff0000" stroke-linecap="round" stroke-width="0.6" d="M5 5L19 19M19 5L5 19"/%3E%3C/svg%3E');
10
- --wvs-tick: url('data:image/svg+xml;utf8,%3Csvg filter="drop-shadow(0px 0px 2px rgb(0 0 0 / .8))" xmlns="http://www.w3.org/2000/svg" viewBox="0 0 30 30"%3E%3Cpath fill="none" stroke="%23ffffff" stroke-linecap="round" stroke-linejoin="round" stroke-width="4" d="M4 16L11 23 27 7"/%3E%3C/svg%3E');
11
- }
12
-
13
  .woo-variation-swatches.wvs-tooltip .radio-variable-item[data-wvstooltip] {
14
  position: relative;
15
  }
@@ -531,7 +526,8 @@
531
  -webkit-box-pack: start;
532
  -ms-flex-pack: start;
533
  justify-content: flex-start;
534
- margin: 0 5px;
 
535
  padding: 0;
536
  list-style: none;
537
  }
@@ -699,7 +695,7 @@
699
  height: var(--wvs-single-product-item-height, 30px);
700
  }
701
  .woo-variation-swatches .variable-items-wrapper .variable-item:not(.radio-variable-item):first-child {
702
- margin-left: 0;
703
  }
704
  .woo-variation-swatches .variable-items-wrapper .variable-item:not(.radio-variable-item):last-child {
705
  margin-right: 0;
2
  * Variation Swatches for WooCommerce
3
  *
4
  * Author: Emran Ahmed ( emran.bd.08@gmail.com )
5
+ * Date: 7/8/2022, 11:04:45 PM
6
  * Released under the GPLv3 license.
7
  */
 
 
 
 
 
8
  .woo-variation-swatches.wvs-tooltip .radio-variable-item[data-wvstooltip] {
9
  position: relative;
10
  }
526
  -webkit-box-pack: start;
527
  -ms-flex-pack: start;
528
  justify-content: flex-start;
529
+ /*margin: 0 5px;*/
530
+ margin: 0;
531
  padding: 0;
532
  list-style: none;
533
  }
695
  height: var(--wvs-single-product-item-height, 30px);
696
  }
697
  .woo-variation-swatches .variable-items-wrapper .variable-item:not(.radio-variable-item):first-child {
698
+ /*margin-left: 0;*/
699
  }
700
  .woo-variation-swatches .variable-items-wrapper .variable-item:not(.radio-variable-item):last-child {
701
  margin-right: 0;
assets/css/frontend.min.css CHANGED
@@ -1 +1 @@
1
- :root{--wvs-cross:url('data:image/svg+xml;utf8,%3Csvg filter="drop-shadow(0px 0px 5px rgb(255 255 255 / .6))" xmlns="http://www.w3.org/2000/svg" width="72px" height="72px" viewBox="0 0 24 24"%3E%3Cpath fill="none" stroke="%23ff0000" stroke-linecap="round" stroke-width="0.6" d="M5 5L19 19M19 5L5 19"/%3E%3C/svg%3E');--wvs-tick:url('data:image/svg+xml;utf8,%3Csvg filter="drop-shadow(0px 0px 2px rgb(0 0 0 / .8))" xmlns="http://www.w3.org/2000/svg" viewBox="0 0 30 30"%3E%3Cpath fill="none" stroke="%23ffffff" stroke-linecap="round" stroke-linejoin="round" stroke-width="4" d="M4 16L11 23 27 7"/%3E%3C/svg%3E')}.woo-variation-swatches.wvs-tooltip .radio-variable-item[data-wvstooltip]{position:relative}.woo-variation-swatches.wvs-tooltip .radio-variable-item[data-wvstooltip]:after,.woo-variation-swatches.wvs-tooltip .radio-variable-item[data-wvstooltip]:before{left:8px;bottom:100%}.woo-variation-swatches.wvs-tooltip .radio-variable-item .image-tooltip-wrapper{-webkit-transform:translateX(-50%);-ms-transform:translateX(-50%);transform:translateX(-50%);left:8px}.woo-variation-swatches.wvs-tooltip.wvs-archive-align-center .wvs-archive-variation-wrapper .radio-variable-item[data-wvstooltip]:after,.woo-variation-swatches.wvs-tooltip.wvs-archive-align-center .wvs-archive-variation-wrapper .radio-variable-item[data-wvstooltip]:before{left:50%}.woo-variation-swatches.wvs-tooltip.wvs-archive-align-center .wvs-archive-variation-wrapper .radio-variable-item .image-tooltip-wrapper{-webkit-transform:translateX(-50%);-ms-transform:translateX(-50%);transform:translateX(-50%);left:50%}.woo-variation-swatches.wvs-tooltip.wvs-archive-align-right .wvs-archive-variation-wrapper .radio-variable-item[data-wvstooltip]:after,.woo-variation-swatches.wvs-tooltip.wvs-archive-align-right .wvs-archive-variation-wrapper .radio-variable-item[data-wvstooltip]:before{left:100%}.woo-variation-swatches.wvs-tooltip.wvs-archive-align-right .wvs-archive-variation-wrapper .radio-variable-item .image-tooltip-wrapper{-webkit-transform:translateX(-50%);-ms-transform:translateX(-50%);transform:translateX(-50%);left:100%}.wvs-has-image-tooltip,[data-wvstooltip]{position:relative;cursor:pointer;outline:none}.wvs-has-image-tooltip:after,.wvs-has-image-tooltip:before,[data-wvstooltip]:after,[data-wvstooltip]:before{visibility:hidden;opacity:0;pointer-events:none;-webkit-box-sizing:inherit;box-sizing:inherit;position:absolute;bottom:130%;left:50%;z-index:999;-webkit-transform:translateZ(0);transform:translateZ(0);-webkit-box-shadow:0 7px 15px rgba(0,0,0,.3);box-shadow:0 7px 15px rgba(0,0,0,.3);-webkit-transition:opacity .5s ease-in-out;-o-transition:opacity .5s ease-in-out;transition:opacity .5s ease-in-out}.wvs-has-image-tooltip:before,[data-wvstooltip]:before{margin-bottom:5px;-webkit-transform:translateX(-50%);-ms-transform:translateX(-50%);transform:translateX(-50%);padding:7px;border-radius:3px;background-color:var(--wvs-tooltip-background-color,#333);color:var(--wvs-tooltip-text-color,#fff);text-align:center;font-size:14px;line-height:1.2}[data-wvstooltip]:before{min-width:100px;content:attr(data-wvstooltip) " " attr(data-wvstooltip-out-of-stock)}.wvs-has-image-tooltip:before{content:attr(data-title);background-image:var(--tooltip-background);background-repeat:no-repeat;width:var(--tooltip-width);height:calc(var(--tooltip-height) + 20px);background-size:contain;background-position:top;padding:0;line-height:20px;display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-align:center;-ms-flex-align:center;align-items:center;-webkit-box-orient:vertical;-webkit-box-direction:normal;-ms-flex-direction:column;flex-direction:column;-webkit-box-pack:end;-ms-flex-pack:end;justify-content:flex-end;-ms-flex-line-pack:center;align-content:center;font-size:12px;-webkit-backface-visibility:hidden;backface-visibility:hidden}.wvs-has-image-tooltip:after,[data-wvstooltip]:after{margin-left:-5px;width:0;border-top:5px solid var(--wvs-tooltip-background-color,#333);border-right:5px solid transparent;border-left:5px solid transparent;content:" ";font-size:0;line-height:0}.wvs-has-image-tooltip:hover:after,.wvs-has-image-tooltip:hover:before,[data-wvstooltip]:hover:after,[data-wvstooltip]:hover:before{bottom:120%;visibility:visible;opacity:1}.wvs-theme-sober-child .product form.cart .variations .variable,.wvs-theme-sober .product form.cart .variations .variable{margin-bottom:15px!important}.wvs-theme-sober-child .product form.cart .variations .variable-options,.wvs-theme-sober .product form.cart .variations .variable-options{border:0!important}.wvs-theme-sober-child .product form.cart .variations .arrow,.wvs-theme-sober-child .product form.cart .variations .variable-options:after,.wvs-theme-sober .product form.cart .variations .arrow,.wvs-theme-sober .product form.cart .variations .variable-options:after{display:none}.wvs-theme-sober-child .product form.cart .variations .label,.wvs-theme-sober .product form.cart .variations .label{display:block;text-align:right;margin-right:10px}.wvs-theme-sober-child .product form.cart .variations .value,.wvs-theme-sober .product form.cart .variations .value{-webkit-box-flex:unset;-ms-flex-positive:unset;flex-grow:unset}.wvs-theme-sober-child .product form.cart .variations select,.wvs-theme-sober .product form.cart .variations select{border:1px solid #e4e6eb!important;padding:.5em 1em!important;text-align:left!important;-moz-text-align-last:left!important;text-align-last:left!important;-webkit-appearance:menulist-button!important}.wvs-theme-sober-child .product form.cart .radio-variable-item,.wvs-theme-sober .product form.cart .radio-variable-item{margin:5px;text-align:left}.wvs-theme-sober-child .product form.cart .radio-variable-item:last-child,.wvs-theme-sober .product form.cart .radio-variable-item:last-child{margin-right:0}.wvs-theme-sober-child .product form.cart .radio-variable-item label,.wvs-theme-sober .product form.cart .radio-variable-item label{padding-left:30px;margin:0}.wvs-theme-sober-child .product form.cart .radio-variable-item label:before,.wvs-theme-sober .product form.cart .radio-variable-item label:before{top:0;border-radius:100%}.wvs-theme-sober-child .product form.cart .radio-variable-item label:after,.wvs-theme-sober .product form.cart .radio-variable-item label:after{top:8px}.wvs-theme-shophistic-lite.woocommerce #main .entry-summary .variations{display:block!important}.wvs-theme-shophistic-lite .ql_custom_variations{display:none!important}.wvs-theme-shophistic-lite .radio-variable-item input[type=radio]{display:inline-block;margin:0}.wvs-theme-flatsome .variations .reset_variations{position:relative;bottom:0;left:0}.wvs-theme-storefront-child.single-product div.product,.wvs-theme-storefront.single-product div.product{overflow:visible!important}.wvs-theme-stockholm .variations .reset_variations{position:relative;bottom:0;left:0;-webkit-transform:none;-ms-transform:none;transform:none}.wvs-theme-kalium-child .image-variable-item img,.wvs-theme-kalium .image-variable-item img{width:100%!important}.wvs-theme-kalium-child .radio-variable-item input,.wvs-theme-kalium .radio-variable-item input{width:16px!important;height:16px!important}.wvs-theme-kalium-child .woo-variation-items-wrapper .select-option-ui,.wvs-theme-kalium .woo-variation-items-wrapper .select-option-ui{display:none}.wvs-theme-aurum-child .variable-items-wrapper .image-variable-item>img,.wvs-theme-aurum .variable-items-wrapper .image-variable-item>img{width:100%}.wvs-theme-hestia .woo-variation-items-wrapper.value:before{display:none!important}.wvs-theme-thegem-child .woo-variation-items-wrapper .combobox-wrapper,.wvs-theme-thegem-elementor .woo-variation-items-wrapper .combobox-wrapper,.wvs-theme-thegem .woo-variation-items-wrapper .combobox-wrapper{display:none}.wvs-theme-thegem-child .wvs-archive-variation-wrapper .variations,.wvs-theme-thegem-elementor .wvs-archive-variation-wrapper .variations,.wvs-theme-thegem .wvs-archive-variation-wrapper .variations{padding:0}.wvs-theme-ushop-child .variations_form,.wvs-theme-ushop .variations_form{overflow:visible!important}.wvs-theme-ushop-child .single-product-summary .product_meta,.wvs-theme-ushop .single-product-summary .product_meta{display:inline-table}.wvs-theme-savoy-child .woo-variation-items-wrapper,.wvs-theme-savoy .woo-variation-items-wrapper{position:relative!important}.wvs-theme-savoy-child .woo-variation-items-wrapper .sod_select,.wvs-theme-savoy .woo-variation-items-wrapper .sod_select{display:none!important}.wvs-theme-savoy-child .nm-variation-row,.wvs-theme-savoy .nm-variation-row{display:-webkit-box;display:-ms-flexbox;display:flex}.wvs-theme-woodstock-child .woo-variation-items-wrapper .variation-select,.wvs-theme-woodstock .woo-variation-items-wrapper .variation-select{display:none!important}.wvs-theme-woodmart-child .wd-attr-selected,.wvs-theme-woodmart-child .woo-variation-items-wrapper>.swatches-select,.wvs-theme-woodmart .wd-attr-selected,.wvs-theme-woodmart .woo-variation-items-wrapper>.swatches-select{display:none}.wvs-theme-gecko-child .variations .value.woo-variation-items-wrapper,.wvs-theme-gecko .variations .value.woo-variation-items-wrapper{border:0!important}.wvs-theme-gecko-child .variations .value.woo-variation-items-wrapper:after,.wvs-theme-gecko .variations .value.woo-variation-items-wrapper:after{display:none!important}.woo-variation-gallery-theme-massive-dynamic-child .woo-variation-items-wrapper .clear-selection,.woo-variation-gallery-theme-massive-dynamic .woo-variation-items-wrapper .clear-selection{border:0;height:auto;width:auto}.woo-variation-gallery-theme-massive-dynamic-child .woo-variation-items-wrapper .clear-selection .reset_variations,.woo-variation-gallery-theme-massive-dynamic .woo-variation-items-wrapper .clear-selection .reset_variations{font-size:8px!important;width:20px;height:20px;padding:5px;-webkit-box-sizing:border-box;box-sizing:border-box;border-radius:100%;border:1px solid #f04040;color:#f04040}.wvs-theme-claue-child .woo-variation-items-wrapper,.wvs-theme-claue .woo-variation-items-wrapper{border:none}.wvs-theme-claue-child .woo-variation-items-wrapper:after,.wvs-theme-claue .woo-variation-items-wrapper:after{display:none}.wvs-theme-jupiter-child table.variations,.wvs-theme-jupiter table.variations{overflow:initial}.wvs-theme-oxygen-child .woo-variation-items-wrapper .select-wrapper,.wvs-theme-oxygen .woo-variation-items-wrapper .select-wrapper{display:none}.wvs-theme-oxygen-child .variable-items-wrapper.radio-variable-wrapper .radio-variable-item input,.wvs-theme-oxygen .variable-items-wrapper.radio-variable-wrapper .radio-variable-item input{width:18px}.wvs-theme-simple-elegant-child .woo-variation-items-wrapper .wi-nice-select,.wvs-theme-simple-elegant .woo-variation-items-wrapper .wi-nice-select{display:none}.wvs-theme-twentytwenty-child table.variations,.wvs-theme-twentytwenty table.variations{overflow:auto}.wvs-theme-divi-child .et_pb_wc_add_to_cart form.variations_form.cart .variations td.value span:after,.wvs-theme-divi .et_pb_wc_add_to_cart form.variations_form.cart .variations td.value span:after,.wvs-theme-jevelin-child .sh-woo-layout table.variations td select.woo-variation-raw-select,.wvs-theme-jevelin .sh-woo-layout table.variations td select.woo-variation-raw-select{display:none!important}.wvs-theme-jevelin-child .sh-woo-layout table.variations,.wvs-theme-jevelin .sh-woo-layout table.variations{max-width:100%}.wvs-theme-jevelin-child .radio-variable-item label,.wvs-theme-jevelin .radio-variable-item label{line-height:1!important}.woo-variation-swatches .woo-variation-raw-select+.select2,.wvs-theme-stockie-child .woo-variation-raw-select+.select-styled,.wvs-theme-stockie .woo-variation-raw-select+.select-styled{display:none!important}.woo-variation-swatches .wvs-widget-layered-nav-list__item-color{display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-orient:horizontal;-webkit-box-direction:normal;-ms-flex-direction:row;flex-direction:row;-webkit-box-align:center;-ms-flex-align:center;align-items:center;margin:10px 0}.woo-variation-swatches .wvs-widget-layered-nav-list__item-color>a{display:inline-block;position:relative}.woo-variation-swatches .wvs-widget-layered-nav-list__item-color .count{padding:0 5px}.woo-variation-swatches .wvs-widget-layered-nav-list__item-color .wvs-widget-item-wrapper{display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-align:center;-ms-flex-align:center;align-items:center}.woo-variation-swatches .wvs-widget-layered-nav-list__item-color .item{display:inline-block;float:left;padding:9px;margin:0 4px;-webkit-box-shadow:var(--wvs-item-box-shadow,0 0 0 1px #a8a8a8);box-shadow:var(--wvs-item-box-shadow,0 0 0 1px #a8a8a8);border:2px solid #fff;height:20px;width:20px;-webkit-transition:-webkit-box-shadow .2s ease;transition:-webkit-box-shadow .2s ease;-o-transition:box-shadow .2s ease;transition:box-shadow .2s ease;transition:box-shadow .2s ease,-webkit-box-shadow .2s ease}.woo-variation-swatches .wvs-widget-layered-nav-list__item-color .item.style-squared{border-radius:2px}.woo-variation-swatches .wvs-widget-layered-nav-list__item-color .item.style-rounded{border-radius:100%}.woo-variation-swatches .wvs-widget-layered-nav-list__item-color .text{display:inline-block}.woo-variation-swatches .wvs-widget-layered-nav-list__item-color .text :after{content:"";display:inline;clear:both}.woo-variation-swatches .wvs-widget-layered-nav-list__item-color:hover .item{-webkit-box-shadow:var(--wvs-hover-item-box-shadow,0 0 0 3px #ddd);box-shadow:var(--wvs-hover-item-box-shadow,0 0 0 3px #ddd)}.woo-variation-swatches .wvs-widget-layered-nav-list__item-color.woocommerce-widget-layered-nav-list__item--chosen .item{-webkit-box-shadow:var(--wvs-selected-item-box-shadow,0 0 0 2px #000);box-shadow:var(--wvs-selected-item-box-shadow,0 0 0 2px #000)}.woo-variation-swatches .variations td.value>span:after,.woo-variation-swatches .variations td.value>span:before,.woo-variation-swatches .woo-variation-raw-select,.woo-variation-swatches .woo-variation-raw-select:after,.woo-variation-swatches .woo-variation-raw-select:before{display:none!important}.woo-variation-swatches .woo-variation-swatches-variable-item-more{-webkit-box-align:center;-ms-flex-align:center;align-items:center;display:-webkit-box;display:-ms-flexbox;display:flex}.woo-variation-swatches .wvs-archive-variations-wrapper{display:block;width:100%}.woo-variation-swatches .wvs-archive-variations-wrapper .variable-items-wrapper .variable-item:not(.radio-variable-item){width:var(--wvs-archive-product-item-width,30px);height:var(--wvs-archive-product-item-height,30px)}.woo-variation-swatches .wvs-archive-variations-wrapper .variable-items-wrapper .variable-item:not(.radio-variable-item).button-variable-item{font-size:var(--wvs-archive-product-item-font-size,16px)}.woo-variation-swatches .wvs-archive-variations-wrapper .variable-items-wrapper.wvs-style-squared.archive-variable-items .variable-item:not(.radio-variable-item).button-variable-item{min-width:var(--wvs-archive-product-item-width,30px)}.woo-variation-swatches ul.variations{list-style:none;margin:0;padding:0;-webkit-box-orient:vertical;-ms-flex-direction:column;flex-direction:column}.woo-variation-swatches ul.variations,.woo-variation-swatches ul.variations>li{display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-direction:normal}.woo-variation-swatches ul.variations>li{-webkit-box-pack:var(--wvs-position);-ms-flex-pack:var(--wvs-position);justify-content:var(--wvs-position);-webkit-box-orient:horizontal;-ms-flex-direction:row;flex-direction:row;margin:5px 0}.woo-variation-swatches ul.variations .wvs_archive_reset_variations.hide{visibility:hidden}.woo-variation-swatches ul.variations .wvs_archive_reset_variations.show{visibility:visible}.woo-variation-swatches .variable-items-wrapper{display:-webkit-box;display:-ms-flexbox;display:flex;-ms-flex-wrap:wrap;flex-wrap:wrap;-webkit-box-pack:start;-ms-flex-pack:start;justify-content:flex-start;margin:0 5px;padding:0;list-style:none}.woo-variation-swatches .variable-items-wrapper.enabled-large-size .variable-item:not(.radio-variable-item){width:var(--wvs-single-product-large-item-width,40px);height:var(--wvs-single-product-large-item-height,40px)}.woo-variation-swatches .variable-items-wrapper.enabled-large-size .variable-item:not(.radio-variable-item).button-variable-item{font-size:var(--wvs-single-product-large-item-font-size,16px)}.woo-variation-swatches .variable-items-wrapper.radio-variable-items-wrapper{-webkit-box-orient:vertical;-webkit-box-direction:normal;-ms-flex-direction:column;flex-direction:column;-webkit-box-align:start;-ms-flex-align:start;align-items:flex-start}.woo-variation-swatches .variable-items-wrapper.radio-variable-items-wrapper .radio-variable-item{-webkit-box-sizing:border-box;box-sizing:border-box;display:block;list-style:none;cursor:pointer;padding:0 5px}.woo-variation-swatches .variable-items-wrapper.radio-variable-items-wrapper .radio-variable-item input,.woo-variation-swatches .variable-items-wrapper.radio-variable-items-wrapper .radio-variable-item label{cursor:pointer;vertical-align:middle}.woo-variation-swatches .variable-items-wrapper.radio-variable-items-wrapper .radio-variable-item input{margin:5px;width:20px;height:20px}.woo-variation-swatches .variable-items-wrapper.radio-variable-items-wrapper .radio-variable-item .variable-item-radio-value-wrapper{display:inline-block}.woo-variation-swatches .variable-items-wrapper.radio-variable-items-wrapper .radio-variable-item .variable-item-radio-value-wrapper img{width:40px;display:inline-block;margin:0;padding:0;vertical-align:middle}.woo-variation-swatches .variable-items-wrapper.radio-variable-items-wrapper .radio-variable-item .variable-item-radio-value-wrapper .out-of-stock{display:inline-block;margin:0;padding:0}.woo-variation-swatches .variable-items-wrapper.radio-variable-items-wrapper .radio-variable-item label{width:auto;display:inline-block;padding:2px 0}.woo-variation-swatches .variable-items-wrapper.radio-variable-items-wrapper .radio-variable-item.disabled,.woo-variation-swatches .variable-items-wrapper.radio-variable-items-wrapper .radio-variable-item.disabled:hover{-webkit-box-shadow:none;box-shadow:none}.woo-variation-swatches .variable-items-wrapper.radio-variable-items-wrapper .radio-variable-item.disabled:hover input,.woo-variation-swatches .variable-items-wrapper.radio-variable-items-wrapper .radio-variable-item.disabled:hover label,.woo-variation-swatches .variable-items-wrapper.radio-variable-items-wrapper .radio-variable-item.disabled input,.woo-variation-swatches .variable-items-wrapper.radio-variable-items-wrapper .radio-variable-item.disabled label{cursor:not-allowed;opacity:.5}.woo-variation-swatches .variable-items-wrapper.radio-variable-items-wrapper .radio-variable-item.disabled .variable-item-radio-value,.woo-variation-swatches .variable-items-wrapper.radio-variable-items-wrapper .radio-variable-item.disabled:hover .variable-item-radio-value{text-decoration:line-through}.woo-variation-swatches .variable-items-wrapper.radio-variable-items-wrapper .radio-variable-item.disabled:after,.woo-variation-swatches .variable-items-wrapper.radio-variable-items-wrapper .radio-variable-item.disabled:before,.woo-variation-swatches .variable-items-wrapper.radio-variable-items-wrapper .radio-variable-item.disabled:hover:after,.woo-variation-swatches .variable-items-wrapper.radio-variable-items-wrapper .radio-variable-item.disabled:hover:before{display:none}.woo-variation-swatches .variable-items-wrapper.radio-variable-items-wrapper .radio-variable-item.disabled:focus,.woo-variation-swatches .variable-items-wrapper.radio-variable-items-wrapper .radio-variable-item.disabled:hover:focus{-webkit-box-shadow:none;box-shadow:none}.woo-variation-swatches .variable-items-wrapper.radio-variable-items-wrapper .radio-variable-item.no-stock:hover input,.woo-variation-swatches .variable-items-wrapper.radio-variable-items-wrapper .radio-variable-item.no-stock:hover label,.woo-variation-swatches .variable-items-wrapper.radio-variable-items-wrapper .radio-variable-item.no-stock input,.woo-variation-swatches .variable-items-wrapper.radio-variable-items-wrapper .radio-variable-item.no-stock label{text-decoration:line-through;opacity:.6}.woo-variation-swatches .variable-items-wrapper.radio-variable-items-wrapper .radio-variable-item.no-stock .variable-item-radio-value,.woo-variation-swatches .variable-items-wrapper.radio-variable-items-wrapper .radio-variable-item.no-stock:hover .variable-item-radio-value{text-decoration:line-through}.woo-variation-swatches .variable-items-wrapper.radio-variable-items-wrapper .radio-variable-item:hover{-webkit-box-shadow:0 0 0 3px rgba(0,0,0,.1);box-shadow:0 0 0 3px rgba(0,0,0,.1)}.woo-variation-swatches .variable-items-wrapper.radio-variable-items-wrapper .radio-variable-item:focus{-webkit-box-shadow:0 0 0 3px rgba(0,0,0,.3);box-shadow:0 0 0 3px rgba(0,0,0,.3)}.woo-variation-swatches .variable-items-wrapper.radio-variable-items-wrapper .radio-variable-item.selected,.woo-variation-swatches .variable-items-wrapper.radio-variable-items-wrapper .radio-variable-item.selected:hover{-webkit-box-shadow:0 0 0 2px rgba(0,0,0,.9);box-shadow:0 0 0 2px rgba(0,0,0,.9)}.woo-variation-swatches .variable-items-wrapper .variable-item{margin:0;padding:0;list-style:none;-webkit-transition:all .2s ease;-o-transition:all .2s ease;transition:all .2s ease;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;outline:none}.woo-variation-swatches .variable-items-wrapper .variable-item .variable-item-contents{display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-orient:vertical;-webkit-box-direction:normal;-ms-flex-direction:column;flex-direction:column;-webkit-box-pack:center;-ms-flex-pack:center;justify-content:center;position:relative;width:100%;height:100%}.woo-variation-swatches .variable-items-wrapper .variable-item.variation-disabled{display:none!important}.woo-variation-swatches .variable-items-wrapper .variable-item img{margin:0;padding:0;width:100%;height:100%;pointer-events:none}.woo-variation-swatches .variable-items-wrapper .variable-item>span{pointer-events:none}.woo-variation-swatches .variable-items-wrapper .variable-item:not(.radio-variable-item){-webkit-box-sizing:border-box;box-sizing:border-box;cursor:pointer;display:-webkit-box;display:-ms-flexbox;display:flex;position:relative;-webkit-box-pack:center;-ms-flex-pack:center;justify-content:center;-webkit-box-align:center;-ms-flex-align:center;align-items:center;background-color:var(--wvs-item-background-color,#fff);color:var(--wvs-item-text-color,#000);-webkit-box-shadow:var(--wvs-item-box-shadow,0 0 0 1px #a8a8a8);box-shadow:var(--wvs-item-box-shadow,0 0 0 1px #a8a8a8);padding:2px;margin:4px;width:var(--wvs-single-product-item-width,30px);height:var(--wvs-single-product-item-height,30px)}.woo-variation-swatches .variable-items-wrapper .variable-item:not(.radio-variable-item):first-child{margin-left:0}.woo-variation-swatches .variable-items-wrapper .variable-item:not(.radio-variable-item):last-child{margin-right:0}.woo-variation-swatches .variable-items-wrapper .variable-item:not(.radio-variable-item).no-stock .variable-item-contents,.woo-variation-swatches .variable-items-wrapper .variable-item:not(.radio-variable-item).no-stock img,.woo-variation-swatches .variable-items-wrapper .variable-item:not(.radio-variable-item).no-stock span{opacity:.6}.woo-variation-swatches .variable-items-wrapper .variable-item:not(.radio-variable-item).no-stock .variable-item-contents:before{position:absolute;content:" ";display:block;background-image:var(--wvs-cross);background-repeat:no-repeat;background-position:50%;height:100%;width:100%}.woo-variation-swatches .variable-items-wrapper .variable-item:not(.radio-variable-item):hover{background-color:var(--wvs-hover-item-background-color,#fff);color:var(--wvs-hover-item-text-color,#000)}.woo-variation-swatches .variable-items-wrapper .variable-item:not(.radio-variable-item):focus,.woo-variation-swatches .variable-items-wrapper .variable-item:not(.radio-variable-item):hover{-webkit-box-shadow:var(--wvs-hover-item-box-shadow,0 0 0 3px #ddd);box-shadow:var(--wvs-hover-item-box-shadow,0 0 0 3px #ddd)}.woo-variation-swatches .variable-items-wrapper .variable-item:not(.radio-variable-item).selected,.woo-variation-swatches .variable-items-wrapper .variable-item:not(.radio-variable-item).selected:hover{-webkit-box-shadow:var(--wvs-selected-item-box-shadow,0 0 0 2px #000);box-shadow:var(--wvs-selected-item-box-shadow,0 0 0 2px #000);color:var(--wvs-selected-item-text-color,#000)}.woo-variation-swatches .variable-items-wrapper .variable-item:not(.radio-variable-item).disabled,.woo-variation-swatches .variable-items-wrapper .variable-item:not(.radio-variable-item).disabled:hover{pointer-events:none;cursor:not-allowed;position:relative;overflow:hidden}.woo-variation-swatches .variable-items-wrapper .variable-item:not(.radio-variable-item).disabled .variable-item-contents,.woo-variation-swatches .variable-items-wrapper .variable-item:not(.radio-variable-item).disabled:hover .variable-item-contents,.woo-variation-swatches .variable-items-wrapper .variable-item:not(.radio-variable-item).disabled:hover img,.woo-variation-swatches .variable-items-wrapper .variable-item:not(.radio-variable-item).disabled:hover span,.woo-variation-swatches .variable-items-wrapper .variable-item:not(.radio-variable-item).disabled img,.woo-variation-swatches .variable-items-wrapper .variable-item:not(.radio-variable-item).disabled span{opacity:.6}.woo-variation-swatches .variable-items-wrapper .variable-item:not(.radio-variable-item).disabled .variable-item-contents:before,.woo-variation-swatches .variable-items-wrapper .variable-item:not(.radio-variable-item).disabled:hover .variable-item-contents:before{position:absolute;content:" ";display:block;background-image:var(--wvs-cross);background-repeat:no-repeat;background-position:50%;height:100%;width:100%}.woo-variation-swatches .variable-items-wrapper .variable-item:not(.radio-variable-item).color-variable-item.selected:not(.no-stock) .variable-item-contents:before,.woo-variation-swatches .variable-items-wrapper .variable-item:not(.radio-variable-item).image-variable-item.selected:not(.no-stock) .variable-item-contents:before{position:absolute;content:" ";display:block;background-image:var(--wvs-tick);background-repeat:no-repeat;background-position:50%;background-size:60%;height:100%;width:100%}.woo-variation-swatches .variable-items-wrapper .variable-item:not(.radio-variable-item).color-variable-item .variable-item-span-color,.woo-variation-swatches .variable-items-wrapper .variable-item:not(.radio-variable-item).image-variable-item .variable-item-span-color{width:100%;height:100%;display:block}.woo-variation-swatches .variable-items-wrapper .variable-item:not(.radio-variable-item).button-variable-item{text-align:center;font-size:var(--wvs-single-product-item-font-size,16px)}.woo-variation-swatches .variable-items-wrapper .variable-item:not(.radio-variable-item).button-variable-item.selected:not(.no-stock){background-color:var(--wvs-selected-item-background-color,#fff);color:var(--wvs-selected-item-text-color,#000)}.woo-variation-swatches .variable-items-wrapper .variable-item.wvs-show-stock-left-info:not(.disabled):not(.radio-variable-item) .wvs-stock-left-info:before{content:" ";position:absolute;top:calc(100% - 1px);left:50%;margin-left:-3px;width:0;border-bottom:3px solid #de8604;border-right:3px solid transparent;border-left:3px solid transparent;z-index:1}.woo-variation-swatches .variable-items-wrapper .variable-item.wvs-show-stock-left-info:not(.disabled):not(.radio-variable-item) .wvs-stock-left-info:after{position:absolute;left:50%;-webkit-transform:translateX(-50%);-ms-transform:translateX(-50%);transform:translateX(-50%);top:calc(100% + 2px);min-width:36px;text-align:center}.woo-variation-swatches .variable-items-wrapper .variable-item.wvs-show-stock-left-info:not(.disabled) .wvs-stock-left-info:after{content:attr(data-wvs-stock-info);line-height:1;font-size:10px;font-style:italic;background:#de8604;color:#fff;padding:2px;border-radius:2px!important;text-shadow:0 1px rgba(0,0,0,.25098039215686274);-webkit-box-shadow:0 0 2px rgba(0,0,0,.3803921568627451);box-shadow:0 0 2px rgba(0,0,0,.3803921568627451)}.woo-variation-swatches .variable-items-wrapper .variable-item.wvs-show-stock-left-info:not(.disabled).radio-variable-item .wvs-stock-left-info:after{margin-left:5px}.woo-variation-swatches .wvs-style-rounded.variable-items-wrapper .variable-item:not(.radio-variable-item){border-radius:100%}.woo-variation-swatches .wvs-style-rounded.variable-items-wrapper .variable-item:not(.radio-variable-item) .variable-item-span,.woo-variation-swatches .wvs-style-rounded.variable-items-wrapper .variable-item:not(.radio-variable-item) img{border-radius:100%;overflow:hidden;line-height:1;margin:0}.woo-variation-swatches .wvs-style-rounded.variable-items-wrapper .variable-item.radio-variable-item{border-radius:2px}.woo-variation-swatches .wvs-style-rounded.variable-items-wrapper .variable-item.radio-variable-item img{border-radius:100%}.woo-variation-swatches .wvs-style-squared.variable-items-wrapper .variable-item:not(.radio-variable-item){border-radius:2px}.woo-variation-swatches .wvs-style-squared.variable-items-wrapper .variable-item:not(.radio-variable-item).button-variable-item{width:auto;min-width:var(--wvs-single-product-item-width)}.woo-variation-swatches .wvs-style-squared.variable-items-wrapper .variable-item:not(.radio-variable-item).button-variable-item .variable-item-span{padding:0 5px}.woo-variation-swatches .wvs-style-squared.variable-items-wrapper .variable-item:not(.radio-variable-item).color-variable-item span:after{border-radius:0}.woo-variation-swatches .wvs-style-squared.variable-items-wrapper .variable-item.radio-variable-item{border-radius:2px}.woo-variation-swatches .wvs-style-squared.variable-items-wrapper .variable-item.radio-variable-item img{border-radius:5px}.woo-variation-swatches.wvs-behavior-blur .variable-items-wrapper .radio-variable-item.disabled:hover input,.woo-variation-swatches.wvs-behavior-blur .variable-items-wrapper .radio-variable-item.disabled:hover label,.woo-variation-swatches.wvs-behavior-blur .variable-items-wrapper .radio-variable-item.disabled input,.woo-variation-swatches.wvs-behavior-blur .variable-items-wrapper .radio-variable-item.disabled label{cursor:not-allowed;text-decoration:line-through;opacity:.5}.woo-variation-swatches.wvs-behavior-blur .variable-items-wrapper .radio-variable-item.disabled:after,.woo-variation-swatches.wvs-behavior-blur .variable-items-wrapper .radio-variable-item.disabled:before,.woo-variation-swatches.wvs-behavior-blur .variable-items-wrapper .radio-variable-item.disabled:hover:after,.woo-variation-swatches.wvs-behavior-blur .variable-items-wrapper .radio-variable-item.disabled:hover:before{display:none}.woo-variation-swatches.wvs-behavior-blur-no-cross .variable-items-wrapper .variable-item:not(.radio-variable-item).disabled .variable-item-contents:before,.woo-variation-swatches.wvs-behavior-blur-no-cross .variable-items-wrapper .variable-item:not(.radio-variable-item).disabled:hover .variable-item-contents:before,.woo-variation-swatches.wvs-behavior-blur-no-cross .variable-items-wrapper .variable-item:not(.radio-variable-item).no-stock .variable-item-contents:before,.woo-variation-swatches.wvs-behavior-blur-no-cross .variable-items-wrapper .variable-item:not(.radio-variable-item).no-stock:hover .variable-item-contents:before{background-image:none}.woo-variation-swatches.wvs-behavior-blur-no-cross .variable-items-wrapper .radio-variable-item.disabled,.woo-variation-swatches.wvs-behavior-blur-no-cross .variable-items-wrapper .radio-variable-item.disabled:hover{overflow:hidden}.woo-variation-swatches.wvs-behavior-blur-no-cross .variable-items-wrapper .radio-variable-item.disabled:hover input,.woo-variation-swatches.wvs-behavior-blur-no-cross .variable-items-wrapper .radio-variable-item.disabled:hover label,.woo-variation-swatches.wvs-behavior-blur-no-cross .variable-items-wrapper .radio-variable-item.disabled input,.woo-variation-swatches.wvs-behavior-blur-no-cross .variable-items-wrapper .radio-variable-item.disabled label{pointer-events:none;opacity:.3}.woo-variation-swatches.wvs-behavior-hide .variable-items-wrapper .variable-item.disabled{opacity:0;visibility:hidden;-webkit-transform:scale(0);-ms-transform:scale(0);transform:scale(0);-webkit-transform-origin:center;-ms-transform-origin:center;transform-origin:center;font-size:0;width:0!important;height:0!important;padding:0!important;margin:0!important;min-width:0!important;min-height:0!important}.woo-variation-swatches.wvs-behavior-hide .variable-items-wrapper .variable-item.disabled.radio-variable-item{width:auto!important}.woo-variation-swatches.wvs-behavior-hide .variable-items-wrapper .variable-item.no-stock .variable-item-contents:before{background-image:none}.woo-variation-swatches.rtl .variable-items-wrapper .variable-item{text-align:right}.woo-variation-swatches.rtl .variable-items-wrapper .variable-item:not(.radio-variable-item){margin:4px 0 4px 8px}.woo-variation-swatches.rtl .variable-items-wrapper.radio-variable-wrapper .radio-variable-item input{margin-right:0;margin-left:5px}.woo-variation-swatches.woocommerce .product.elementor table.variations td.value:before{display:none!important}.woo-variation-swatches.woo-variation-swatches-ie11 .variable-items-wrapper{display:block!important}.woo-variation-swatches.woo-variation-swatches-ie11 .variable-items-wrapper .variable-item:not(.radio-variable-item){float:left}.woo-variation-swatches.wvs-show-label .variations td,.woo-variation-swatches.wvs-show-label .variations th{display:block;width:auto!important}.woo-variation-swatches.wvs-show-label .variations td .woo-selected-variation-item-name,.woo-variation-swatches.wvs-show-label .variations td label,.woo-variation-swatches.wvs-show-label .variations th .woo-selected-variation-item-name,.woo-variation-swatches.wvs-show-label .variations th label{display:inline-block;margin:0 2px}.woo-variation-swatches .grouped-variable-items{display:-webkit-box;display:-ms-flexbox;display:flex;-ms-flex-wrap:wrap;flex-wrap:wrap;list-style:none!important}.woo-variation-swatches .grouped-variable-items.grouped-variable-items-display-vertical{-webkit-box-orient:vertical;-webkit-box-direction:normal;-ms-flex-direction:column;flex-direction:column}.woo-variation-swatches .grouped-variable-items.grouped-variable-items-display-vertical .group-variable-items-wrapper{margin-top:10px}.woo-variation-swatches .grouped-variable-items.grouped-variable-items-display-vertical .no-group-variable-items-wrapper{margin-top:20px}.woo-variation-swatches .grouped-variable-items.grouped-variable-items-display-horizontal{-webkit-box-align:end;-ms-flex-align:end;align-items:flex-end}.woo-variation-swatches .grouped-variable-items.grouped-variable-items-display-horizontal .group-variable-items-wrapper{margin-top:10px;margin-right:20px}.woo-variation-swatches .grouped-variable-items.grouped-variable-items-display-horizontal .group-variable-items-wrapper:last-child,.woo-variation-swatches .grouped-variable-items.grouped-variable-items-display-horizontal .no-group-variable-items-wrapper{margin-right:0}.woo-variation-swatches .grouped-variable-items .group-variable-item-wrapper{display:-webkit-box;display:-ms-flexbox;display:flex;margin:0;-ms-flex-wrap:wrap;flex-wrap:wrap}.woo-variation-swatches .grouped-variable-items .group-variable-items-name{font-style:italic}
1
+ .woo-variation-swatches.wvs-tooltip .radio-variable-item[data-wvstooltip]{position:relative}.woo-variation-swatches.wvs-tooltip .radio-variable-item[data-wvstooltip]:after,.woo-variation-swatches.wvs-tooltip .radio-variable-item[data-wvstooltip]:before{left:8px;bottom:100%}.woo-variation-swatches.wvs-tooltip .radio-variable-item .image-tooltip-wrapper{-webkit-transform:translateX(-50%);-ms-transform:translateX(-50%);transform:translateX(-50%);left:8px}.woo-variation-swatches.wvs-tooltip.wvs-archive-align-center .wvs-archive-variation-wrapper .radio-variable-item[data-wvstooltip]:after,.woo-variation-swatches.wvs-tooltip.wvs-archive-align-center .wvs-archive-variation-wrapper .radio-variable-item[data-wvstooltip]:before{left:50%}.woo-variation-swatches.wvs-tooltip.wvs-archive-align-center .wvs-archive-variation-wrapper .radio-variable-item .image-tooltip-wrapper{-webkit-transform:translateX(-50%);-ms-transform:translateX(-50%);transform:translateX(-50%);left:50%}.woo-variation-swatches.wvs-tooltip.wvs-archive-align-right .wvs-archive-variation-wrapper .radio-variable-item[data-wvstooltip]:after,.woo-variation-swatches.wvs-tooltip.wvs-archive-align-right .wvs-archive-variation-wrapper .radio-variable-item[data-wvstooltip]:before{left:100%}.woo-variation-swatches.wvs-tooltip.wvs-archive-align-right .wvs-archive-variation-wrapper .radio-variable-item .image-tooltip-wrapper{-webkit-transform:translateX(-50%);-ms-transform:translateX(-50%);transform:translateX(-50%);left:100%}.wvs-has-image-tooltip,[data-wvstooltip]{position:relative;cursor:pointer;outline:none}.wvs-has-image-tooltip:after,.wvs-has-image-tooltip:before,[data-wvstooltip]:after,[data-wvstooltip]:before{visibility:hidden;opacity:0;pointer-events:none;-webkit-box-sizing:inherit;box-sizing:inherit;position:absolute;bottom:130%;left:50%;z-index:999;-webkit-transform:translateZ(0);transform:translateZ(0);-webkit-box-shadow:0 7px 15px rgba(0,0,0,.3);box-shadow:0 7px 15px rgba(0,0,0,.3);-webkit-transition:opacity .5s ease-in-out;-o-transition:opacity .5s ease-in-out;transition:opacity .5s ease-in-out}.wvs-has-image-tooltip:before,[data-wvstooltip]:before{margin-bottom:5px;-webkit-transform:translateX(-50%);-ms-transform:translateX(-50%);transform:translateX(-50%);padding:7px;border-radius:3px;background-color:var(--wvs-tooltip-background-color,#333);color:var(--wvs-tooltip-text-color,#fff);text-align:center;font-size:14px;line-height:1.2}[data-wvstooltip]:before{min-width:100px;content:attr(data-wvstooltip) " " attr(data-wvstooltip-out-of-stock)}.wvs-has-image-tooltip:before{content:attr(data-title);background-image:var(--tooltip-background);background-repeat:no-repeat;width:var(--tooltip-width);height:calc(var(--tooltip-height) + 20px);background-size:contain;background-position:top;padding:0;line-height:20px;display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-align:center;-ms-flex-align:center;align-items:center;-webkit-box-orient:vertical;-webkit-box-direction:normal;-ms-flex-direction:column;flex-direction:column;-webkit-box-pack:end;-ms-flex-pack:end;justify-content:flex-end;-ms-flex-line-pack:center;align-content:center;font-size:12px;-webkit-backface-visibility:hidden;backface-visibility:hidden}.wvs-has-image-tooltip:after,[data-wvstooltip]:after{margin-left:-5px;width:0;border-top:5px solid var(--wvs-tooltip-background-color,#333);border-right:5px solid transparent;border-left:5px solid transparent;content:" ";font-size:0;line-height:0}.wvs-has-image-tooltip:hover:after,.wvs-has-image-tooltip:hover:before,[data-wvstooltip]:hover:after,[data-wvstooltip]:hover:before{bottom:120%;visibility:visible;opacity:1}.wvs-theme-sober-child .product form.cart .variations .variable,.wvs-theme-sober .product form.cart .variations .variable{margin-bottom:15px!important}.wvs-theme-sober-child .product form.cart .variations .variable-options,.wvs-theme-sober .product form.cart .variations .variable-options{border:0!important}.wvs-theme-sober-child .product form.cart .variations .arrow,.wvs-theme-sober-child .product form.cart .variations .variable-options:after,.wvs-theme-sober .product form.cart .variations .arrow,.wvs-theme-sober .product form.cart .variations .variable-options:after{display:none}.wvs-theme-sober-child .product form.cart .variations .label,.wvs-theme-sober .product form.cart .variations .label{display:block;text-align:right;margin-right:10px}.wvs-theme-sober-child .product form.cart .variations .value,.wvs-theme-sober .product form.cart .variations .value{-webkit-box-flex:unset;-ms-flex-positive:unset;flex-grow:unset}.wvs-theme-sober-child .product form.cart .variations select,.wvs-theme-sober .product form.cart .variations select{border:1px solid #e4e6eb!important;padding:.5em 1em!important;text-align:left!important;-moz-text-align-last:left!important;text-align-last:left!important;-webkit-appearance:menulist-button!important}.wvs-theme-sober-child .product form.cart .radio-variable-item,.wvs-theme-sober .product form.cart .radio-variable-item{margin:5px;text-align:left}.wvs-theme-sober-child .product form.cart .radio-variable-item:last-child,.wvs-theme-sober .product form.cart .radio-variable-item:last-child{margin-right:0}.wvs-theme-sober-child .product form.cart .radio-variable-item label,.wvs-theme-sober .product form.cart .radio-variable-item label{padding-left:30px;margin:0}.wvs-theme-sober-child .product form.cart .radio-variable-item label:before,.wvs-theme-sober .product form.cart .radio-variable-item label:before{top:0;border-radius:100%}.wvs-theme-sober-child .product form.cart .radio-variable-item label:after,.wvs-theme-sober .product form.cart .radio-variable-item label:after{top:8px}.wvs-theme-shophistic-lite.woocommerce #main .entry-summary .variations{display:block!important}.wvs-theme-shophistic-lite .ql_custom_variations{display:none!important}.wvs-theme-shophistic-lite .radio-variable-item input[type=radio]{display:inline-block;margin:0}.wvs-theme-flatsome .variations .reset_variations{position:relative;bottom:0;left:0}.wvs-theme-storefront-child.single-product div.product,.wvs-theme-storefront.single-product div.product{overflow:visible!important}.wvs-theme-stockholm .variations .reset_variations{position:relative;bottom:0;left:0;-webkit-transform:none;-ms-transform:none;transform:none}.wvs-theme-kalium-child .image-variable-item img,.wvs-theme-kalium .image-variable-item img{width:100%!important}.wvs-theme-kalium-child .radio-variable-item input,.wvs-theme-kalium .radio-variable-item input{width:16px!important;height:16px!important}.wvs-theme-kalium-child .woo-variation-items-wrapper .select-option-ui,.wvs-theme-kalium .woo-variation-items-wrapper .select-option-ui{display:none}.wvs-theme-aurum-child .variable-items-wrapper .image-variable-item>img,.wvs-theme-aurum .variable-items-wrapper .image-variable-item>img{width:100%}.wvs-theme-hestia .woo-variation-items-wrapper.value:before{display:none!important}.wvs-theme-thegem-child .woo-variation-items-wrapper .combobox-wrapper,.wvs-theme-thegem-elementor .woo-variation-items-wrapper .combobox-wrapper,.wvs-theme-thegem .woo-variation-items-wrapper .combobox-wrapper{display:none}.wvs-theme-thegem-child .wvs-archive-variation-wrapper .variations,.wvs-theme-thegem-elementor .wvs-archive-variation-wrapper .variations,.wvs-theme-thegem .wvs-archive-variation-wrapper .variations{padding:0}.wvs-theme-ushop-child .variations_form,.wvs-theme-ushop .variations_form{overflow:visible!important}.wvs-theme-ushop-child .single-product-summary .product_meta,.wvs-theme-ushop .single-product-summary .product_meta{display:inline-table}.wvs-theme-savoy-child .woo-variation-items-wrapper,.wvs-theme-savoy .woo-variation-items-wrapper{position:relative!important}.wvs-theme-savoy-child .woo-variation-items-wrapper .sod_select,.wvs-theme-savoy .woo-variation-items-wrapper .sod_select{display:none!important}.wvs-theme-savoy-child .nm-variation-row,.wvs-theme-savoy .nm-variation-row{display:-webkit-box;display:-ms-flexbox;display:flex}.wvs-theme-woodstock-child .woo-variation-items-wrapper .variation-select,.wvs-theme-woodstock .woo-variation-items-wrapper .variation-select{display:none!important}.wvs-theme-woodmart-child .wd-attr-selected,.wvs-theme-woodmart-child .woo-variation-items-wrapper>.swatches-select,.wvs-theme-woodmart .wd-attr-selected,.wvs-theme-woodmart .woo-variation-items-wrapper>.swatches-select{display:none}.wvs-theme-gecko-child .variations .value.woo-variation-items-wrapper,.wvs-theme-gecko .variations .value.woo-variation-items-wrapper{border:0!important}.wvs-theme-gecko-child .variations .value.woo-variation-items-wrapper:after,.wvs-theme-gecko .variations .value.woo-variation-items-wrapper:after{display:none!important}.woo-variation-gallery-theme-massive-dynamic-child .woo-variation-items-wrapper .clear-selection,.woo-variation-gallery-theme-massive-dynamic .woo-variation-items-wrapper .clear-selection{border:0;height:auto;width:auto}.woo-variation-gallery-theme-massive-dynamic-child .woo-variation-items-wrapper .clear-selection .reset_variations,.woo-variation-gallery-theme-massive-dynamic .woo-variation-items-wrapper .clear-selection .reset_variations{font-size:8px!important;width:20px;height:20px;padding:5px;-webkit-box-sizing:border-box;box-sizing:border-box;border-radius:100%;border:1px solid #f04040;color:#f04040}.wvs-theme-claue-child .woo-variation-items-wrapper,.wvs-theme-claue .woo-variation-items-wrapper{border:none}.wvs-theme-claue-child .woo-variation-items-wrapper:after,.wvs-theme-claue .woo-variation-items-wrapper:after{display:none}.wvs-theme-jupiter-child table.variations,.wvs-theme-jupiter table.variations{overflow:initial}.wvs-theme-oxygen-child .woo-variation-items-wrapper .select-wrapper,.wvs-theme-oxygen .woo-variation-items-wrapper .select-wrapper{display:none}.wvs-theme-oxygen-child .variable-items-wrapper.radio-variable-wrapper .radio-variable-item input,.wvs-theme-oxygen .variable-items-wrapper.radio-variable-wrapper .radio-variable-item input{width:18px}.wvs-theme-simple-elegant-child .woo-variation-items-wrapper .wi-nice-select,.wvs-theme-simple-elegant .woo-variation-items-wrapper .wi-nice-select{display:none}.wvs-theme-twentytwenty-child table.variations,.wvs-theme-twentytwenty table.variations{overflow:auto}.wvs-theme-divi-child .et_pb_wc_add_to_cart form.variations_form.cart .variations td.value span:after,.wvs-theme-divi .et_pb_wc_add_to_cart form.variations_form.cart .variations td.value span:after,.wvs-theme-jevelin-child .sh-woo-layout table.variations td select.woo-variation-raw-select,.wvs-theme-jevelin .sh-woo-layout table.variations td select.woo-variation-raw-select{display:none!important}.wvs-theme-jevelin-child .sh-woo-layout table.variations,.wvs-theme-jevelin .sh-woo-layout table.variations{max-width:100%}.wvs-theme-jevelin-child .radio-variable-item label,.wvs-theme-jevelin .radio-variable-item label{line-height:1!important}.woo-variation-swatches .woo-variation-raw-select+.select2,.wvs-theme-stockie-child .woo-variation-raw-select+.select-styled,.wvs-theme-stockie .woo-variation-raw-select+.select-styled{display:none!important}.woo-variation-swatches .wvs-widget-layered-nav-list__item-color{display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-orient:horizontal;-webkit-box-direction:normal;-ms-flex-direction:row;flex-direction:row;-webkit-box-align:center;-ms-flex-align:center;align-items:center;margin:10px 0}.woo-variation-swatches .wvs-widget-layered-nav-list__item-color>a{display:inline-block;position:relative}.woo-variation-swatches .wvs-widget-layered-nav-list__item-color .count{padding:0 5px}.woo-variation-swatches .wvs-widget-layered-nav-list__item-color .wvs-widget-item-wrapper{display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-align:center;-ms-flex-align:center;align-items:center}.woo-variation-swatches .wvs-widget-layered-nav-list__item-color .item{display:inline-block;float:left;padding:9px;margin:0 4px;-webkit-box-shadow:var(--wvs-item-box-shadow,0 0 0 1px #a8a8a8);box-shadow:var(--wvs-item-box-shadow,0 0 0 1px #a8a8a8);border:2px solid #fff;height:20px;width:20px;-webkit-transition:-webkit-box-shadow .2s ease;transition:-webkit-box-shadow .2s ease;-o-transition:box-shadow .2s ease;transition:box-shadow .2s ease;transition:box-shadow .2s ease,-webkit-box-shadow .2s ease}.woo-variation-swatches .wvs-widget-layered-nav-list__item-color .item.style-squared{border-radius:2px}.woo-variation-swatches .wvs-widget-layered-nav-list__item-color .item.style-rounded{border-radius:100%}.woo-variation-swatches .wvs-widget-layered-nav-list__item-color .text{display:inline-block}.woo-variation-swatches .wvs-widget-layered-nav-list__item-color .text :after{content:"";display:inline;clear:both}.woo-variation-swatches .wvs-widget-layered-nav-list__item-color:hover .item{-webkit-box-shadow:var(--wvs-hover-item-box-shadow,0 0 0 3px #ddd);box-shadow:var(--wvs-hover-item-box-shadow,0 0 0 3px #ddd)}.woo-variation-swatches .wvs-widget-layered-nav-list__item-color.woocommerce-widget-layered-nav-list__item--chosen .item{-webkit-box-shadow:var(--wvs-selected-item-box-shadow,0 0 0 2px #000);box-shadow:var(--wvs-selected-item-box-shadow,0 0 0 2px #000)}.woo-variation-swatches .variations td.value>span:after,.woo-variation-swatches .variations td.value>span:before,.woo-variation-swatches .woo-variation-raw-select,.woo-variation-swatches .woo-variation-raw-select:after,.woo-variation-swatches .woo-variation-raw-select:before{display:none!important}.woo-variation-swatches .woo-variation-swatches-variable-item-more{-webkit-box-align:center;-ms-flex-align:center;align-items:center;display:-webkit-box;display:-ms-flexbox;display:flex}.woo-variation-swatches .wvs-archive-variations-wrapper{display:block;width:100%}.woo-variation-swatches .wvs-archive-variations-wrapper .variable-items-wrapper .variable-item:not(.radio-variable-item){width:var(--wvs-archive-product-item-width,30px);height:var(--wvs-archive-product-item-height,30px)}.woo-variation-swatches .wvs-archive-variations-wrapper .variable-items-wrapper .variable-item:not(.radio-variable-item).button-variable-item{font-size:var(--wvs-archive-product-item-font-size,16px)}.woo-variation-swatches .wvs-archive-variations-wrapper .variable-items-wrapper.wvs-style-squared.archive-variable-items .variable-item:not(.radio-variable-item).button-variable-item{min-width:var(--wvs-archive-product-item-width,30px)}.woo-variation-swatches ul.variations{list-style:none;margin:0;padding:0;-webkit-box-orient:vertical;-ms-flex-direction:column;flex-direction:column}.woo-variation-swatches ul.variations,.woo-variation-swatches ul.variations>li{display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-direction:normal}.woo-variation-swatches ul.variations>li{-webkit-box-pack:var(--wvs-position);-ms-flex-pack:var(--wvs-position);justify-content:var(--wvs-position);-webkit-box-orient:horizontal;-ms-flex-direction:row;flex-direction:row;margin:5px 0}.woo-variation-swatches ul.variations .wvs_archive_reset_variations.hide{visibility:hidden}.woo-variation-swatches ul.variations .wvs_archive_reset_variations.show{visibility:visible}.woo-variation-swatches .variable-items-wrapper{display:-webkit-box;display:-ms-flexbox;display:flex;-ms-flex-wrap:wrap;flex-wrap:wrap;-webkit-box-pack:start;-ms-flex-pack:start;justify-content:flex-start;margin:0;padding:0;list-style:none}.woo-variation-swatches .variable-items-wrapper.enabled-large-size .variable-item:not(.radio-variable-item){width:var(--wvs-single-product-large-item-width,40px);height:var(--wvs-single-product-large-item-height,40px)}.woo-variation-swatches .variable-items-wrapper.enabled-large-size .variable-item:not(.radio-variable-item).button-variable-item{font-size:var(--wvs-single-product-large-item-font-size,16px)}.woo-variation-swatches .variable-items-wrapper.radio-variable-items-wrapper{-webkit-box-orient:vertical;-webkit-box-direction:normal;-ms-flex-direction:column;flex-direction:column;-webkit-box-align:start;-ms-flex-align:start;align-items:flex-start}.woo-variation-swatches .variable-items-wrapper.radio-variable-items-wrapper .radio-variable-item{-webkit-box-sizing:border-box;box-sizing:border-box;display:block;list-style:none;cursor:pointer;padding:0 5px}.woo-variation-swatches .variable-items-wrapper.radio-variable-items-wrapper .radio-variable-item input,.woo-variation-swatches .variable-items-wrapper.radio-variable-items-wrapper .radio-variable-item label{cursor:pointer;vertical-align:middle}.woo-variation-swatches .variable-items-wrapper.radio-variable-items-wrapper .radio-variable-item input{margin:5px;width:20px;height:20px}.woo-variation-swatches .variable-items-wrapper.radio-variable-items-wrapper .radio-variable-item .variable-item-radio-value-wrapper{display:inline-block}.woo-variation-swatches .variable-items-wrapper.radio-variable-items-wrapper .radio-variable-item .variable-item-radio-value-wrapper img{width:40px;display:inline-block;margin:0;padding:0;vertical-align:middle}.woo-variation-swatches .variable-items-wrapper.radio-variable-items-wrapper .radio-variable-item .variable-item-radio-value-wrapper .out-of-stock{display:inline-block;margin:0;padding:0}.woo-variation-swatches .variable-items-wrapper.radio-variable-items-wrapper .radio-variable-item label{width:auto;display:inline-block;padding:2px 0}.woo-variation-swatches .variable-items-wrapper.radio-variable-items-wrapper .radio-variable-item.disabled,.woo-variation-swatches .variable-items-wrapper.radio-variable-items-wrapper .radio-variable-item.disabled:hover{-webkit-box-shadow:none;box-shadow:none}.woo-variation-swatches .variable-items-wrapper.radio-variable-items-wrapper .radio-variable-item.disabled:hover input,.woo-variation-swatches .variable-items-wrapper.radio-variable-items-wrapper .radio-variable-item.disabled:hover label,.woo-variation-swatches .variable-items-wrapper.radio-variable-items-wrapper .radio-variable-item.disabled input,.woo-variation-swatches .variable-items-wrapper.radio-variable-items-wrapper .radio-variable-item.disabled label{cursor:not-allowed;opacity:.5}.woo-variation-swatches .variable-items-wrapper.radio-variable-items-wrapper .radio-variable-item.disabled .variable-item-radio-value,.woo-variation-swatches .variable-items-wrapper.radio-variable-items-wrapper .radio-variable-item.disabled:hover .variable-item-radio-value{text-decoration:line-through}.woo-variation-swatches .variable-items-wrapper.radio-variable-items-wrapper .radio-variable-item.disabled:after,.woo-variation-swatches .variable-items-wrapper.radio-variable-items-wrapper .radio-variable-item.disabled:before,.woo-variation-swatches .variable-items-wrapper.radio-variable-items-wrapper .radio-variable-item.disabled:hover:after,.woo-variation-swatches .variable-items-wrapper.radio-variable-items-wrapper .radio-variable-item.disabled:hover:before{display:none}.woo-variation-swatches .variable-items-wrapper.radio-variable-items-wrapper .radio-variable-item.disabled:focus,.woo-variation-swatches .variable-items-wrapper.radio-variable-items-wrapper .radio-variable-item.disabled:hover:focus{-webkit-box-shadow:none;box-shadow:none}.woo-variation-swatches .variable-items-wrapper.radio-variable-items-wrapper .radio-variable-item.no-stock:hover input,.woo-variation-swatches .variable-items-wrapper.radio-variable-items-wrapper .radio-variable-item.no-stock:hover label,.woo-variation-swatches .variable-items-wrapper.radio-variable-items-wrapper .radio-variable-item.no-stock input,.woo-variation-swatches .variable-items-wrapper.radio-variable-items-wrapper .radio-variable-item.no-stock label{text-decoration:line-through;opacity:.6}.woo-variation-swatches .variable-items-wrapper.radio-variable-items-wrapper .radio-variable-item.no-stock .variable-item-radio-value,.woo-variation-swatches .variable-items-wrapper.radio-variable-items-wrapper .radio-variable-item.no-stock:hover .variable-item-radio-value{text-decoration:line-through}.woo-variation-swatches .variable-items-wrapper.radio-variable-items-wrapper .radio-variable-item:hover{-webkit-box-shadow:0 0 0 3px rgba(0,0,0,.1);box-shadow:0 0 0 3px rgba(0,0,0,.1)}.woo-variation-swatches .variable-items-wrapper.radio-variable-items-wrapper .radio-variable-item:focus{-webkit-box-shadow:0 0 0 3px rgba(0,0,0,.3);box-shadow:0 0 0 3px rgba(0,0,0,.3)}.woo-variation-swatches .variable-items-wrapper.radio-variable-items-wrapper .radio-variable-item.selected,.woo-variation-swatches .variable-items-wrapper.radio-variable-items-wrapper .radio-variable-item.selected:hover{-webkit-box-shadow:0 0 0 2px rgba(0,0,0,.9);box-shadow:0 0 0 2px rgba(0,0,0,.9)}.woo-variation-swatches .variable-items-wrapper .variable-item{margin:0;padding:0;list-style:none;-webkit-transition:all .2s ease;-o-transition:all .2s ease;transition:all .2s ease;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;outline:none}.woo-variation-swatches .variable-items-wrapper .variable-item .variable-item-contents{display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-orient:vertical;-webkit-box-direction:normal;-ms-flex-direction:column;flex-direction:column;-webkit-box-pack:center;-ms-flex-pack:center;justify-content:center;position:relative;width:100%;height:100%}.woo-variation-swatches .variable-items-wrapper .variable-item.variation-disabled{display:none!important}.woo-variation-swatches .variable-items-wrapper .variable-item img{margin:0;padding:0;width:100%;height:100%;pointer-events:none}.woo-variation-swatches .variable-items-wrapper .variable-item>span{pointer-events:none}.woo-variation-swatches .variable-items-wrapper .variable-item:not(.radio-variable-item){-webkit-box-sizing:border-box;box-sizing:border-box;cursor:pointer;display:-webkit-box;display:-ms-flexbox;display:flex;position:relative;-webkit-box-pack:center;-ms-flex-pack:center;justify-content:center;-webkit-box-align:center;-ms-flex-align:center;align-items:center;background-color:var(--wvs-item-background-color,#fff);color:var(--wvs-item-text-color,#000);-webkit-box-shadow:var(--wvs-item-box-shadow,0 0 0 1px #a8a8a8);box-shadow:var(--wvs-item-box-shadow,0 0 0 1px #a8a8a8);padding:2px;margin:4px;width:var(--wvs-single-product-item-width,30px);height:var(--wvs-single-product-item-height,30px)}.woo-variation-swatches .variable-items-wrapper .variable-item:not(.radio-variable-item):last-child{margin-right:0}.woo-variation-swatches .variable-items-wrapper .variable-item:not(.radio-variable-item).no-stock .variable-item-contents,.woo-variation-swatches .variable-items-wrapper .variable-item:not(.radio-variable-item).no-stock img,.woo-variation-swatches .variable-items-wrapper .variable-item:not(.radio-variable-item).no-stock span{opacity:.6}.woo-variation-swatches .variable-items-wrapper .variable-item:not(.radio-variable-item).no-stock .variable-item-contents:before{position:absolute;content:" ";display:block;background-image:var(--wvs-cross);background-repeat:no-repeat;background-position:50%;height:100%;width:100%}.woo-variation-swatches .variable-items-wrapper .variable-item:not(.radio-variable-item):hover{background-color:var(--wvs-hover-item-background-color,#fff);color:var(--wvs-hover-item-text-color,#000)}.woo-variation-swatches .variable-items-wrapper .variable-item:not(.radio-variable-item):focus,.woo-variation-swatches .variable-items-wrapper .variable-item:not(.radio-variable-item):hover{-webkit-box-shadow:var(--wvs-hover-item-box-shadow,0 0 0 3px #ddd);box-shadow:var(--wvs-hover-item-box-shadow,0 0 0 3px #ddd)}.woo-variation-swatches .variable-items-wrapper .variable-item:not(.radio-variable-item).selected,.woo-variation-swatches .variable-items-wrapper .variable-item:not(.radio-variable-item).selected:hover{-webkit-box-shadow:var(--wvs-selected-item-box-shadow,0 0 0 2px #000);box-shadow:var(--wvs-selected-item-box-shadow,0 0 0 2px #000);color:var(--wvs-selected-item-text-color,#000)}.woo-variation-swatches .variable-items-wrapper .variable-item:not(.radio-variable-item).disabled,.woo-variation-swatches .variable-items-wrapper .variable-item:not(.radio-variable-item).disabled:hover{pointer-events:none;cursor:not-allowed;position:relative;overflow:hidden}.woo-variation-swatches .variable-items-wrapper .variable-item:not(.radio-variable-item).disabled .variable-item-contents,.woo-variation-swatches .variable-items-wrapper .variable-item:not(.radio-variable-item).disabled:hover .variable-item-contents,.woo-variation-swatches .variable-items-wrapper .variable-item:not(.radio-variable-item).disabled:hover img,.woo-variation-swatches .variable-items-wrapper .variable-item:not(.radio-variable-item).disabled:hover span,.woo-variation-swatches .variable-items-wrapper .variable-item:not(.radio-variable-item).disabled img,.woo-variation-swatches .variable-items-wrapper .variable-item:not(.radio-variable-item).disabled span{opacity:.6}.woo-variation-swatches .variable-items-wrapper .variable-item:not(.radio-variable-item).disabled .variable-item-contents:before,.woo-variation-swatches .variable-items-wrapper .variable-item:not(.radio-variable-item).disabled:hover .variable-item-contents:before{position:absolute;content:" ";display:block;background-image:var(--wvs-cross);background-repeat:no-repeat;background-position:50%;height:100%;width:100%}.woo-variation-swatches .variable-items-wrapper .variable-item:not(.radio-variable-item).color-variable-item.selected:not(.no-stock) .variable-item-contents:before,.woo-variation-swatches .variable-items-wrapper .variable-item:not(.radio-variable-item).image-variable-item.selected:not(.no-stock) .variable-item-contents:before{position:absolute;content:" ";display:block;background-image:var(--wvs-tick);background-repeat:no-repeat;background-position:50%;background-size:60%;height:100%;width:100%}.woo-variation-swatches .variable-items-wrapper .variable-item:not(.radio-variable-item).color-variable-item .variable-item-span-color,.woo-variation-swatches .variable-items-wrapper .variable-item:not(.radio-variable-item).image-variable-item .variable-item-span-color{width:100%;height:100%;display:block}.woo-variation-swatches .variable-items-wrapper .variable-item:not(.radio-variable-item).button-variable-item{text-align:center;font-size:var(--wvs-single-product-item-font-size,16px)}.woo-variation-swatches .variable-items-wrapper .variable-item:not(.radio-variable-item).button-variable-item.selected:not(.no-stock){background-color:var(--wvs-selected-item-background-color,#fff);color:var(--wvs-selected-item-text-color,#000)}.woo-variation-swatches .variable-items-wrapper .variable-item.wvs-show-stock-left-info:not(.disabled):not(.radio-variable-item) .wvs-stock-left-info:before{content:" ";position:absolute;top:calc(100% - 1px);left:50%;margin-left:-3px;width:0;border-bottom:3px solid #de8604;border-right:3px solid transparent;border-left:3px solid transparent;z-index:1}.woo-variation-swatches .variable-items-wrapper .variable-item.wvs-show-stock-left-info:not(.disabled):not(.radio-variable-item) .wvs-stock-left-info:after{position:absolute;left:50%;-webkit-transform:translateX(-50%);-ms-transform:translateX(-50%);transform:translateX(-50%);top:calc(100% + 2px);min-width:36px;text-align:center}.woo-variation-swatches .variable-items-wrapper .variable-item.wvs-show-stock-left-info:not(.disabled) .wvs-stock-left-info:after{content:attr(data-wvs-stock-info);line-height:1;font-size:10px;font-style:italic;background:#de8604;color:#fff;padding:2px;border-radius:2px!important;text-shadow:0 1px rgba(0,0,0,.25098039215686274);-webkit-box-shadow:0 0 2px rgba(0,0,0,.3803921568627451);box-shadow:0 0 2px rgba(0,0,0,.3803921568627451)}.woo-variation-swatches .variable-items-wrapper .variable-item.wvs-show-stock-left-info:not(.disabled).radio-variable-item .wvs-stock-left-info:after{margin-left:5px}.woo-variation-swatches .wvs-style-rounded.variable-items-wrapper .variable-item:not(.radio-variable-item){border-radius:100%}.woo-variation-swatches .wvs-style-rounded.variable-items-wrapper .variable-item:not(.radio-variable-item) .variable-item-span,.woo-variation-swatches .wvs-style-rounded.variable-items-wrapper .variable-item:not(.radio-variable-item) img{border-radius:100%;overflow:hidden;line-height:1;margin:0}.woo-variation-swatches .wvs-style-rounded.variable-items-wrapper .variable-item.radio-variable-item{border-radius:2px}.woo-variation-swatches .wvs-style-rounded.variable-items-wrapper .variable-item.radio-variable-item img{border-radius:100%}.woo-variation-swatches .wvs-style-squared.variable-items-wrapper .variable-item:not(.radio-variable-item){border-radius:2px}.woo-variation-swatches .wvs-style-squared.variable-items-wrapper .variable-item:not(.radio-variable-item).button-variable-item{width:auto;min-width:var(--wvs-single-product-item-width)}.woo-variation-swatches .wvs-style-squared.variable-items-wrapper .variable-item:not(.radio-variable-item).button-variable-item .variable-item-span{padding:0 5px}.woo-variation-swatches .wvs-style-squared.variable-items-wrapper .variable-item:not(.radio-variable-item).color-variable-item span:after{border-radius:0}.woo-variation-swatches .wvs-style-squared.variable-items-wrapper .variable-item.radio-variable-item{border-radius:2px}.woo-variation-swatches .wvs-style-squared.variable-items-wrapper .variable-item.radio-variable-item img{border-radius:5px}.woo-variation-swatches.wvs-behavior-blur .variable-items-wrapper .radio-variable-item.disabled:hover input,.woo-variation-swatches.wvs-behavior-blur .variable-items-wrapper .radio-variable-item.disabled:hover label,.woo-variation-swatches.wvs-behavior-blur .variable-items-wrapper .radio-variable-item.disabled input,.woo-variation-swatches.wvs-behavior-blur .variable-items-wrapper .radio-variable-item.disabled label{cursor:not-allowed;text-decoration:line-through;opacity:.5}.woo-variation-swatches.wvs-behavior-blur .variable-items-wrapper .radio-variable-item.disabled:after,.woo-variation-swatches.wvs-behavior-blur .variable-items-wrapper .radio-variable-item.disabled:before,.woo-variation-swatches.wvs-behavior-blur .variable-items-wrapper .radio-variable-item.disabled:hover:after,.woo-variation-swatches.wvs-behavior-blur .variable-items-wrapper .radio-variable-item.disabled:hover:before{display:none}.woo-variation-swatches.wvs-behavior-blur-no-cross .variable-items-wrapper .variable-item:not(.radio-variable-item).disabled .variable-item-contents:before,.woo-variation-swatches.wvs-behavior-blur-no-cross .variable-items-wrapper .variable-item:not(.radio-variable-item).disabled:hover .variable-item-contents:before,.woo-variation-swatches.wvs-behavior-blur-no-cross .variable-items-wrapper .variable-item:not(.radio-variable-item).no-stock .variable-item-contents:before,.woo-variation-swatches.wvs-behavior-blur-no-cross .variable-items-wrapper .variable-item:not(.radio-variable-item).no-stock:hover .variable-item-contents:before{background-image:none}.woo-variation-swatches.wvs-behavior-blur-no-cross .variable-items-wrapper .radio-variable-item.disabled,.woo-variation-swatches.wvs-behavior-blur-no-cross .variable-items-wrapper .radio-variable-item.disabled:hover{overflow:hidden}.woo-variation-swatches.wvs-behavior-blur-no-cross .variable-items-wrapper .radio-variable-item.disabled:hover input,.woo-variation-swatches.wvs-behavior-blur-no-cross .variable-items-wrapper .radio-variable-item.disabled:hover label,.woo-variation-swatches.wvs-behavior-blur-no-cross .variable-items-wrapper .radio-variable-item.disabled input,.woo-variation-swatches.wvs-behavior-blur-no-cross .variable-items-wrapper .radio-variable-item.disabled label{pointer-events:none;opacity:.3}.woo-variation-swatches.wvs-behavior-hide .variable-items-wrapper .variable-item.disabled{opacity:0;visibility:hidden;-webkit-transform:scale(0);-ms-transform:scale(0);transform:scale(0);-webkit-transform-origin:center;-ms-transform-origin:center;transform-origin:center;font-size:0;width:0!important;height:0!important;padding:0!important;margin:0!important;min-width:0!important;min-height:0!important}.woo-variation-swatches.wvs-behavior-hide .variable-items-wrapper .variable-item.disabled.radio-variable-item{width:auto!important}.woo-variation-swatches.wvs-behavior-hide .variable-items-wrapper .variable-item.no-stock .variable-item-contents:before{background-image:none}.woo-variation-swatches.rtl .variable-items-wrapper .variable-item{text-align:right}.woo-variation-swatches.rtl .variable-items-wrapper .variable-item:not(.radio-variable-item){margin:4px 0 4px 8px}.woo-variation-swatches.rtl .variable-items-wrapper.radio-variable-wrapper .radio-variable-item input{margin-right:0;margin-left:5px}.woo-variation-swatches.woocommerce .product.elementor table.variations td.value:before{display:none!important}.woo-variation-swatches.woo-variation-swatches-ie11 .variable-items-wrapper{display:block!important}.woo-variation-swatches.woo-variation-swatches-ie11 .variable-items-wrapper .variable-item:not(.radio-variable-item){float:left}.woo-variation-swatches.wvs-show-label .variations td,.woo-variation-swatches.wvs-show-label .variations th{display:block;width:auto!important}.woo-variation-swatches.wvs-show-label .variations td .woo-selected-variation-item-name,.woo-variation-swatches.wvs-show-label .variations td label,.woo-variation-swatches.wvs-show-label .variations th .woo-selected-variation-item-name,.woo-variation-swatches.wvs-show-label .variations th label{display:inline-block;margin:0 2px}.woo-variation-swatches .grouped-variable-items{display:-webkit-box;display:-ms-flexbox;display:flex;-ms-flex-wrap:wrap;flex-wrap:wrap;list-style:none!important}.woo-variation-swatches .grouped-variable-items.grouped-variable-items-display-vertical{-webkit-box-orient:vertical;-webkit-box-direction:normal;-ms-flex-direction:column;flex-direction:column}.woo-variation-swatches .grouped-variable-items.grouped-variable-items-display-vertical .group-variable-items-wrapper{margin-top:10px}.woo-variation-swatches .grouped-variable-items.grouped-variable-items-display-vertical .no-group-variable-items-wrapper{margin-top:20px}.woo-variation-swatches .grouped-variable-items.grouped-variable-items-display-horizontal{-webkit-box-align:end;-ms-flex-align:end;align-items:flex-end}.woo-variation-swatches .grouped-variable-items.grouped-variable-items-display-horizontal .group-variable-items-wrapper{margin-top:10px;margin-right:20px}.woo-variation-swatches .grouped-variable-items.grouped-variable-items-display-horizontal .group-variable-items-wrapper:last-child,.woo-variation-swatches .grouped-variable-items.grouped-variable-items-display-horizontal .no-group-variable-items-wrapper{margin-right:0}.woo-variation-swatches .grouped-variable-items .group-variable-item-wrapper{display:-webkit-box;display:-ms-flexbox;display:flex;margin:0;-ms-flex-wrap:wrap;flex-wrap:wrap}.woo-variation-swatches .grouped-variable-items .group-variable-items-name{font-style:italic}
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: 6/26/2022, 5:23:57 PM
6
  * Released under the GPLv3 license.
7
  */
8
  /******/ (function(modules) { // webpackBootstrap
2
  * Variation Swatches for WooCommerce
3
  *
4
  * Author: Emran Ahmed ( emran.bd.08@gmail.com )
5
+ * Date: 7/8/2022, 11:04:45 PM
6
  * Released under the GPLv3 license.
7
  */
8
  /******/ (function(modules) { // 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: 6/26/2022, 5:23:57 PM
6
  * Released under the GPLv3 license.
7
  */
8
  /******/ (function(modules) { // webpackBootstrap
@@ -122,23 +122,24 @@ function _defineProperty(obj, key, value) { if (key in obj) { Object.definePrope
122
 
123
  // ================================================================
124
  // WooCommerce Variation Swatches
 
125
 
126
  /*global _, wc_add_to_cart_variation_params, woo_variation_swatches_options */
127
- // ================================================================
128
  (function (window) {
129
  'use strict';
130
 
131
  var Plugin = function ($) {
132
  return /*#__PURE__*/function () {
133
- function _class2(element, options) {
134
  _classCallCheck(this, _class2);
135
 
136
  _defineProperty(this, "defaults", {});
137
 
138
  // Assign
139
- this._element = element;
 
140
  this.$element = $(element);
141
- this._config = $.extend(true, {}, this.defaults, options);
142
  this.product_variations = this.$element.data('product_variations') || [];
143
  this.is_ajax_variation = this.product_variations.length < 1;
144
  this.product_id = this.$element.data('product_id');
@@ -566,6 +567,12 @@ function _defineProperty(obj, key, value) { if (key in obj) { Object.definePrope
566
 
567
  return match;
568
  }
 
 
 
 
 
 
569
  }]);
570
 
571
  return _class2;
@@ -587,7 +594,7 @@ function _defineProperty(obj, key, value) { if (key in obj) { Object.definePrope
587
  var data = $element.data(PluginName);
588
 
589
  if (!data) {
590
- data = new ClassName($element, $.extend({}, options));
591
  $element.data(PluginName, data);
592
  }
593
 
@@ -652,12 +659,20 @@ jQuery(function ($) {
652
 
653
  $(document).on('wc_variation_form.wvs', function (event) {
654
  $(document).trigger('woo_variation_swatches_init');
 
 
 
 
 
 
 
 
655
  }); // Composite Product Load
656
  // JS API: https://docs.woocommerce.com/document/composite-products/composite-products-js-api-reference/
657
 
658
  $(document.body).on('wc-composite-initializing', '.composite_data', function (event, composite) {
659
  composite.actions.add_action('component_options_state_changed', function (self) {
660
- $(self.$component_content).find('.variations_form').removeClass('wvs-loaded wvs-pro-loaded');
661
  });
662
  /* composite.actions.add_action('active_scenarios_updated', (self) => {
663
  console.log('active_scenarios_updated')
2
  * Variation Swatches for WooCommerce
3
  *
4
  * Author: Emran Ahmed ( emran.bd.08@gmail.com )
5
+ * Date: 7/8/2022, 11:04:45 PM
6
  * Released under the GPLv3 license.
7
  */
8
  /******/ (function(modules) { // webpackBootstrap
122
 
123
  // ================================================================
124
  // WooCommerce Variation Swatches
125
+ // ================================================================
126
 
127
  /*global _, wc_add_to_cart_variation_params, woo_variation_swatches_options */
 
128
  (function (window) {
129
  'use strict';
130
 
131
  var Plugin = function ($) {
132
  return /*#__PURE__*/function () {
133
+ function _class2(element, options, name) {
134
  _classCallCheck(this, _class2);
135
 
136
  _defineProperty(this, "defaults", {});
137
 
138
  // Assign
139
+ this.name = name;
140
+ this.element = element;
141
  this.$element = $(element);
142
+ this.settings = $.extend(true, {}, this.defaults, options);
143
  this.product_variations = this.$element.data('product_variations') || [];
144
  this.is_ajax_variation = this.product_variations.length < 1;
145
  this.product_id = this.$element.data('product_id');
567
 
568
  return match;
569
  }
570
+ }, {
571
+ key: "destroy",
572
+ value: function destroy() {
573
+ this.$element.removeClass('wvs-loaded');
574
+ this.$element.removeData(this.name);
575
+ }
576
  }]);
577
 
578
  return _class2;
594
  var data = $element.data(PluginName);
595
 
596
  if (!data) {
597
+ data = new ClassName($element, $.extend({}, options), PluginName);
598
  $element.data(PluginName, data);
599
  }
600
 
659
 
660
  $(document).on('wc_variation_form.wvs', function (event) {
661
  $(document).trigger('woo_variation_swatches_init');
662
+ }); // Try to cover global ajax data complete
663
+
664
+ $(document).ajaxComplete(function (event, request, settings) {
665
+ _.delay(function () {
666
+ $('.variations_form:not(.wvs-loaded)').each(function () {
667
+ $(this).wc_variation_form();
668
+ });
669
+ }, 100);
670
  }); // Composite Product Load
671
  // JS API: https://docs.woocommerce.com/document/composite-products/composite-products-js-api-reference/
672
 
673
  $(document.body).on('wc-composite-initializing', '.composite_data', function (event, composite) {
674
  composite.actions.add_action('component_options_state_changed', function (self) {
675
+ $(self.$component_content).find('.variations_form').WooVariationSwatches('destroy');
676
  });
677
  /* composite.actions.add_action('active_scenarios_updated', (self) => {
678
  console.log('active_scenarios_updated')
assets/js/frontend.min.js CHANGED
@@ -1 +1 @@
1
- !function(t){var e={};function i(a){if(e[a])return e[a].exports;var n=e[a]={i:a,l:!1,exports:{}};return t[a].call(n.exports,n,n.exports,i),n.l=!0,n.exports}i.m=t,i.c=e,i.d=function(t,e,a){i.o(t,e)||Object.defineProperty(t,e,{enumerable:!0,get:a})},i.r=function(t){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(t,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(t,"__esModule",{value:!0})},i.t=function(t,e){if(1&e&&(t=i(t)),8&e)return t;if(4&e&&"object"==typeof t&&t&&t.__esModule)return t;var a=Object.create(null);if(i.r(a),Object.defineProperty(a,"default",{enumerable:!0,value:t}),2&e&&"string"!=typeof t)for(var n in t)i.d(a,n,function(e){return t[e]}.bind(null,n));return a},i.n=function(t){var e=t&&t.__esModule?function(){return t.default}:function(){return t};return i.d(e,"a",e),e},i.o=function(t,e){return Object.prototype.hasOwnProperty.call(t,e)},i.p="/",i(i.s=3)}([,,,function(t,e,i){i(4),t.exports=i(5)},function(t,e){function i(t){return(i="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t})(t)}function a(t,e){var i="undefined"!=typeof Symbol&&t[Symbol.iterator]||t["@@iterator"];if(!i){if(Array.isArray(t)||(i=o(t))||e&&t&&"number"==typeof t.length){i&&(t=i);var a=0,n=function(){};return{s:n,n:function(){return a>=t.length?{done:!0}:{done:!1,value:t[a++]}},e:function(t){throw t},f:n}}throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}var r,s=!0,l=!1;return{s:function(){i=i.call(t)},n:function(){var t=i.next();return s=t.done,t},e:function(t){l=!0,r=t},f:function(){try{s||null==i.return||i.return()}finally{if(l)throw r}}}}function n(t,e){return function(t){if(Array.isArray(t))return t}(t)||function(t,e){var i=null==t?null:"undefined"!=typeof Symbol&&t[Symbol.iterator]||t["@@iterator"];if(null==i)return;var a,n,o=[],r=!0,s=!1;try{for(i=i.call(t);!(r=(a=i.next()).done)&&(o.push(a.value),!e||o.length!==e);r=!0);}catch(t){s=!0,n=t}finally{try{r||null==i.return||i.return()}finally{if(s)throw n}}return o}(t,e)||o(t,e)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function o(t,e){if(t){if("string"==typeof t)return r(t,e);var i=Object.prototype.toString.call(t).slice(8,-1);return"Object"===i&&t.constructor&&(i=t.constructor.name),"Map"===i||"Set"===i?Array.from(t):"Arguments"===i||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(i)?r(t,e):void 0}}function r(t,e){(null==e||e>t.length)&&(e=t.length);for(var i=0,a=new Array(e);i<e;i++)a[i]=t[i];return a}function s(t,e){for(var i=0;i<e.length;i++){var a=e[i];a.enumerable=a.enumerable||!1,a.configurable=!0,"value"in a&&(a.writable=!0),Object.defineProperty(t,a.key,a)}}function l(t,e,i){return e in t?Object.defineProperty(t,e,{value:i,enumerable:!0,configurable:!0,writable:!0}):t[e]=i,t}!function(t){"use strict";var e,o=(e=jQuery,function(){function t(i,a){!function(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}(this,t),l(this,"defaults",{}),this._element=i,this.$element=e(i),this._config=e.extend(!0,{},this.defaults,a),this.product_variations=this.$element.data("product_variations")||[],this.is_ajax_variation=this.product_variations.length<1,this.product_id=this.$element.data("product_id"),this.reset_variations=this.$element.find(".reset_variations"),this.attributeFields=this.$element.find(".variations select"),this.selected_item_template='<span class="woo-selected-variation-item-name" data-default=""></span>',this.$element.addClass("wvs-loaded"),this.init(),this.update(),e(document).trigger("woo_variation_swatches_loaded",this)}var i,o,r;return i=t,(o=[{key:"isAjaxVariation",value:function(){return this.is_ajax_variation}},{key:"init",value:function(){this.prepareLabel(),this.prepareItems(),this.setupItems(),this.setupEvents(),this.setUpStockInfo()}},{key:"prepareLabel",value:function(){var t=this;woo_variation_swatches_options.show_variation_label&&this.$element.find(".variations .label").each((function(i,a){e(a).append(t.selected_item_template)}))}},{key:"prepareItems",value:function(){this.$element.find("ul.variable-items-wrapper").each((function(t,i){e(i).parent().addClass("woo-variation-items-wrapper")}))}},{key:"setupItems",value:function(){var t=this;this.$element.find("ul.variable-items-wrapper").each((function(i,a){var n="",o=e(a).parent().prev().find(".woo-selected-variation-item-name"),r=e(a).parent().find("select.woo-variation-raw-select"),s=r.find("option"),l=r.find("option:disabled"),c=r.find("option.enabled.out-of-stock"),u=r.find("option:selected"),d=r.find("option").eq(1),v=[],f=[],h=[];s.each((function(){""!==e(this).val()&&(v.push(e(this).val()),n=0===u.length?d.val():u.val())})),l.each((function(){""!==e(this).val()&&f.push(e(this).val())})),c.each((function(){""!==e(this).val()&&h.push(e(this).val())}));var p=_.difference(v,f);t.setupItem(a,n,p,h,o)}))}},{key:"setupItem",value:function(t,i,a,n,o){var r=this;e(t).find("li.variable-item").each((function(t,s){var l=e(s).attr("data-value"),c=e(s).attr("data-title");e(s).removeClass("selected disabled no-stock").addClass("disabled"),e(s).attr("aria-checked","false"),e(s).attr("tabindex","-1"),e(s).attr("data-wvstooltip-out-of-stock",""),e(s).find("input.variable-item-radio-input:radio").prop("disabled",!0).prop("checked",!1),i.length<1&&woo_variation_swatches_options.show_variation_label&&o.text(""),r.isAjaxVariation()?(e(s).find("input.variable-item-radio-input:radio").prop("disabled",!1),e(s).removeClass("selected disabled no-stock"),l===i&&(e(s).addClass("selected"),e(s).attr("aria-checked","true"),e(s).attr("tabindex","0"),e(s).find("input.variable-item-radio-input:radio").prop("disabled",!1).prop("checked",!0),woo_variation_swatches_options.show_variation_label&&o.text("".concat(woo_variation_swatches_options.variation_label_separator," ").concat(c)),e(s).trigger("wvs-item-updated",[i,l]))):(_.includes(a,l)&&(e(s).removeClass("selected disabled"),e(s).removeAttr("aria-hidden"),e(s).attr("tabindex","0"),e(s).find("input.variable-item-radio-input:radio").prop("disabled",!1),l===i&&(e(s).addClass("selected"),e(s).attr("aria-checked","true"),e(s).find("input.variable-item-radio-input:radio").prop("checked",!0),woo_variation_swatches_options.show_variation_label&&o.text("".concat(woo_variation_swatches_options.variation_label_separator," ").concat(c)),e(s).trigger("wvs-item-updated",[i,l]))),_.includes(n,l)&&woo_variation_swatches_options.clickable_out_of_stock&&(e(s).removeClass("disabled").addClass("no-stock"),e(s).attr("data-wvstooltip-out-of-stock",woo_variation_swatches_options.out_of_stock_tooltip_text)))}))}},{key:"setupEvents",value:function(){var t=this;this.$element.find("ul.variable-items-wrapper").each((function(i,a){var n=e(a).parent().find("select.woo-variation-raw-select");woo_variation_swatches_options.clear_on_reselect?(e(a).on("click.wvs","li.variable-item:not(.selected):not(.radio-variable-item)",(function(i){i.preventDefault(),i.stopPropagation();var a=e(this).data("value");n.val(a).trigger("change"),n.trigger("click"),woo_variation_swatches_options.is_mobile,e(this).trigger("wvs-selected-item",[a,n,t.$element])})),e(a).on("click.wvs","li.variable-item.selected:not(.radio-variable-item)",(function(i){i.preventDefault(),i.stopPropagation();var a=e(this).val();n.val("").trigger("change"),n.trigger("click"),woo_variation_swatches_options.is_mobile,e(this).trigger("wvs-unselected-item",[a,n,t.$element])})),e(a).on("click.wvs","input.variable-item-radio-input:radio",(function(t){t.stopPropagation(),e(this).trigger("change.wvs",{radioChange:!0})})),e(a).on("change.wvs","input.variable-item-radio-input:radio",(function(i,a){if(i.preventDefault(),i.stopPropagation(),a&&a.radioChange){var o=e(this).val();e(this).parent("li.radio-variable-item").hasClass("selected")?(n.val("").trigger("change"),e(this).parent("li.radio-variable-item").trigger("wvs-unselected-item",[o,n,t.$element])):(n.val(o).trigger("change"),e(this).parent("li.radio-variable-item").trigger("wvs-selected-item",[o,n,t.$element])),n.trigger("click"),woo_variation_swatches_options.is_mobile}}))):(e(a).on("click.wvs","li.variable-item:not(.radio-variable-item)",(function(i){i.preventDefault(),i.stopPropagation();var a=e(this).data("value");n.val(a).trigger("change"),n.trigger("click"),woo_variation_swatches_options.is_mobile,e(this).trigger("wvs-selected-item",[a,n,t.$element])})),e(a).on("change.wvs","input.variable-item-radio-input:radio",(function(i){i.preventDefault(),i.stopPropagation();var a=e(this).val();n.val(a).trigger("change"),n.trigger("click"),woo_variation_swatches_options.is_mobile,e(this).parent("li.radio-variable-item").removeClass("selected disabled no-stock").addClass("selected"),e(this).parent("li.radio-variable-item").trigger("wvs-selected-item",[a,n,t.$element])}))),e(a).on("keydown.wvs","li.variable-item:not(.disabled)",(function(t){(t.keyCode&&32===t.keyCode||t.key&&" "===t.key||t.keyCode&&13===t.keyCode||t.key&&"enter"===t.key.toLowerCase())&&(t.preventDefault(),e(this).trigger("click"))}))})),this.$element.on("click.wvs",".woo-variation-swatches-variable-item-more",(function(t){t.preventDefault(),e(this).parent().removeClass("enabled-display-limit-mode enabled-catalog-display-limit-mode"),e(this).remove()}))}},{key:"update",value:function(){var t=this;this.$element.on("woocommerce_variation_has_changed.wvs",(function(e){t.setupItems()}))}},{key:"setUpStockInfo",value:function(){var t=this;if(woo_variation_swatches_options.show_variation_stock){var e=parseInt(woo_variation_swatches_options.stock_label_threshold,10);this.$element.on("wvs-selected-item.wvs",(function(i){var a=t.getChosenAttributes(),n=t.findStockVariations(t.product_variations,a);a.count>1&&a.count===a.chosenCount&&t.resetStockInfo(),a.count>1&&a.count===a.mayChosenCount&&n.forEach((function(i){var a='[data-attribute_name="'.concat(i.attribute_name,'"] > [data-value="').concat(i.attribute_value,'"]');i.variation.is_in_stock&&i.variation.max_qty&&i.variation.variation_stock_left&&i.variation.max_qty<=e?(t.$element.find("".concat(a," .wvs-stock-left-info")).attr("data-wvs-stock-info",i.variation.variation_stock_left),t.$element.find(a).addClass("wvs-show-stock-left-info")):(t.$element.find(a).removeClass("wvs-show-stock-left-info"),t.$element.find("".concat(a," .wvs-stock-left-info")).attr("data-wvs-stock-info",""))}))})),this.$element.on("hide_variation.wvs",(function(){t.resetStockInfo()}))}}},{key:"resetStockInfo",value:function(){this.$element.find(".variable-item").removeClass("wvs-show-stock-left-info"),this.$element.find(".wvs-stock-left-info").attr("data-wvs-stock-info","")}},{key:"getChosenAttributes",value:function(){var t={},i=0,a=0;return this.attributeFields.each((function(){var n=e(this).data("attribute_name")||e(this).attr("name"),o=e(this).val()||"";o.length>0&&a++,i++,t[n]=o})),{count:i,chosenCount:a,mayChosenCount:a+1,data:t}}},{key:"findStockVariations",value:function(t,e){for(var i=[],o=0,r=Object.entries(e.data);o<r.length;o++){var s=n(r[o],2),c=s[0];if(0===s[1].length){var u,d=a(this.$element.find("ul[data-attribute_name='".concat(c,"']")).data("attribute_values")||[]);try{for(d.s();!(u=d.n()).done;){var v=u.value,f=_.extend(e.data,l({},c,v)),h=this.findMatchingVariations(t,f);if(h.length>0){var p=h.shift(),m={};m.attribute_name=c,m.attribute_value=v,m.variation=p,i.push(m)}}}catch(t){d.e(t)}finally{d.f()}}}return i}},{key:"findMatchingVariations",value:function(t,e){for(var i=[],a=0;a<t.length;a++){var n=t[a];this.isMatch(n.attributes,e)&&i.push(n)}return i}},{key:"isMatch",value:function(t,e){var i=!0;for(var a in t)if(t.hasOwnProperty(a)){var n=t[a],o=e[a];void 0!==n&&void 0!==o&&0!==n.length&&0!==o.length&&n!==o&&(i=!1)}return i}}])&&s(i.prototype,o),r&&s(i,r),t}());(function(t){return function(e,a){t.fn[e]=function(n){for(var o=this,r=arguments.length,s=new Array(r>1?r-1:0),l=1;l<r;l++)s[l-1]=arguments[l];return this.each((function(r,l){var c=t(l),u=c.data(e);if(u||(u=new a(c,t.extend({},n)),c.data(e,u)),"string"==typeof n){if("object"===i(u[n]))return u[n];var d;if("function"==typeof u[n])return(d=u)[n].apply(d,s)}return o}))},t.fn[e].Constructor=a,t[e]=function(i){for(var a,n=arguments.length,o=new Array(n>1?n-1:0),r=1;r<n;r++)o[r-1]=arguments[r];return(a=t({}))[e].apply(a,[i].concat(o))},t.fn[e].noConflict=function(){return t.fn[e]}}})(jQuery)("WooVariationSwatches",o)}(window)},function(t,e){jQuery((function(t){try{t(document).on("woo_variation_swatches_init",(function(){t(".variations_form:not(.wvs-loaded)").WooVariationSwatches(),t(".woo_variation_swatches_variations_form:not(.wvs-loaded)").WooVariationSwatches(),t(".ywcp_inner_selected_container:not(.wvs-loaded)").WooVariationSwatches()}))}catch(t){window.console.log("Variation Swatches:",t)}t(document).on("wc_variation_form.wvs",(function(e){t(document).trigger("woo_variation_swatches_init")})),t(document.body).on("wc-composite-initializing",".composite_data",(function(e,i){i.actions.add_action("component_options_state_changed",(function(e){t(e.$component_content).find(".variations_form").removeClass("wvs-loaded wvs-pro-loaded")}))}))}))}]);
1
+ !function(t){var e={};function i(a){if(e[a])return e[a].exports;var n=e[a]={i:a,l:!1,exports:{}};return t[a].call(n.exports,n,n.exports,i),n.l=!0,n.exports}i.m=t,i.c=e,i.d=function(t,e,a){i.o(t,e)||Object.defineProperty(t,e,{enumerable:!0,get:a})},i.r=function(t){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(t,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(t,"__esModule",{value:!0})},i.t=function(t,e){if(1&e&&(t=i(t)),8&e)return t;if(4&e&&"object"==typeof t&&t&&t.__esModule)return t;var a=Object.create(null);if(i.r(a),Object.defineProperty(a,"default",{enumerable:!0,value:t}),2&e&&"string"!=typeof t)for(var n in t)i.d(a,n,function(e){return t[e]}.bind(null,n));return a},i.n=function(t){var e=t&&t.__esModule?function(){return t.default}:function(){return t};return i.d(e,"a",e),e},i.o=function(t,e){return Object.prototype.hasOwnProperty.call(t,e)},i.p="/",i(i.s=3)}([,,,function(t,e,i){i(4),t.exports=i(5)},function(t,e){function i(t){return(i="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t})(t)}function a(t,e){var i="undefined"!=typeof Symbol&&t[Symbol.iterator]||t["@@iterator"];if(!i){if(Array.isArray(t)||(i=o(t))||e&&t&&"number"==typeof t.length){i&&(t=i);var a=0,n=function(){};return{s:n,n:function(){return a>=t.length?{done:!0}:{done:!1,value:t[a++]}},e:function(t){throw t},f:n}}throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}var r,s=!0,l=!1;return{s:function(){i=i.call(t)},n:function(){var t=i.next();return s=t.done,t},e:function(t){l=!0,r=t},f:function(){try{s||null==i.return||i.return()}finally{if(l)throw r}}}}function n(t,e){return function(t){if(Array.isArray(t))return t}(t)||function(t,e){var i=null==t?null:"undefined"!=typeof Symbol&&t[Symbol.iterator]||t["@@iterator"];if(null==i)return;var a,n,o=[],r=!0,s=!1;try{for(i=i.call(t);!(r=(a=i.next()).done)&&(o.push(a.value),!e||o.length!==e);r=!0);}catch(t){s=!0,n=t}finally{try{r||null==i.return||i.return()}finally{if(s)throw n}}return o}(t,e)||o(t,e)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function o(t,e){if(t){if("string"==typeof t)return r(t,e);var i=Object.prototype.toString.call(t).slice(8,-1);return"Object"===i&&t.constructor&&(i=t.constructor.name),"Map"===i||"Set"===i?Array.from(t):"Arguments"===i||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(i)?r(t,e):void 0}}function r(t,e){(null==e||e>t.length)&&(e=t.length);for(var i=0,a=new Array(e);i<e;i++)a[i]=t[i];return a}function s(t,e){for(var i=0;i<e.length;i++){var a=e[i];a.enumerable=a.enumerable||!1,a.configurable=!0,"value"in a&&(a.writable=!0),Object.defineProperty(t,a.key,a)}}function l(t,e,i){return e in t?Object.defineProperty(t,e,{value:i,enumerable:!0,configurable:!0,writable:!0}):t[e]=i,t}!function(t){"use strict";var e,o=(e=jQuery,function(){function t(i,a,n){!function(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}(this,t),l(this,"defaults",{}),this.name=n,this.element=i,this.$element=e(i),this.settings=e.extend(!0,{},this.defaults,a),this.product_variations=this.$element.data("product_variations")||[],this.is_ajax_variation=this.product_variations.length<1,this.product_id=this.$element.data("product_id"),this.reset_variations=this.$element.find(".reset_variations"),this.attributeFields=this.$element.find(".variations select"),this.selected_item_template='<span class="woo-selected-variation-item-name" data-default=""></span>',this.$element.addClass("wvs-loaded"),this.init(),this.update(),e(document).trigger("woo_variation_swatches_loaded",this)}var i,o,r;return i=t,(o=[{key:"isAjaxVariation",value:function(){return this.is_ajax_variation}},{key:"init",value:function(){this.prepareLabel(),this.prepareItems(),this.setupItems(),this.setupEvents(),this.setUpStockInfo()}},{key:"prepareLabel",value:function(){var t=this;woo_variation_swatches_options.show_variation_label&&this.$element.find(".variations .label").each((function(i,a){e(a).append(t.selected_item_template)}))}},{key:"prepareItems",value:function(){this.$element.find("ul.variable-items-wrapper").each((function(t,i){e(i).parent().addClass("woo-variation-items-wrapper")}))}},{key:"setupItems",value:function(){var t=this;this.$element.find("ul.variable-items-wrapper").each((function(i,a){var n="",o=e(a).parent().prev().find(".woo-selected-variation-item-name"),r=e(a).parent().find("select.woo-variation-raw-select"),s=r.find("option"),l=r.find("option:disabled"),c=r.find("option.enabled.out-of-stock"),u=r.find("option:selected"),d=r.find("option").eq(1),v=[],f=[],h=[];s.each((function(){""!==e(this).val()&&(v.push(e(this).val()),n=0===u.length?d.val():u.val())})),l.each((function(){""!==e(this).val()&&f.push(e(this).val())})),c.each((function(){""!==e(this).val()&&h.push(e(this).val())}));var p=_.difference(v,f);t.setupItem(a,n,p,h,o)}))}},{key:"setupItem",value:function(t,i,a,n,o){var r=this;e(t).find("li.variable-item").each((function(t,s){var l=e(s).attr("data-value"),c=e(s).attr("data-title");e(s).removeClass("selected disabled no-stock").addClass("disabled"),e(s).attr("aria-checked","false"),e(s).attr("tabindex","-1"),e(s).attr("data-wvstooltip-out-of-stock",""),e(s).find("input.variable-item-radio-input:radio").prop("disabled",!0).prop("checked",!1),i.length<1&&woo_variation_swatches_options.show_variation_label&&o.text(""),r.isAjaxVariation()?(e(s).find("input.variable-item-radio-input:radio").prop("disabled",!1),e(s).removeClass("selected disabled no-stock"),l===i&&(e(s).addClass("selected"),e(s).attr("aria-checked","true"),e(s).attr("tabindex","0"),e(s).find("input.variable-item-radio-input:radio").prop("disabled",!1).prop("checked",!0),woo_variation_swatches_options.show_variation_label&&o.text("".concat(woo_variation_swatches_options.variation_label_separator," ").concat(c)),e(s).trigger("wvs-item-updated",[i,l]))):(_.includes(a,l)&&(e(s).removeClass("selected disabled"),e(s).removeAttr("aria-hidden"),e(s).attr("tabindex","0"),e(s).find("input.variable-item-radio-input:radio").prop("disabled",!1),l===i&&(e(s).addClass("selected"),e(s).attr("aria-checked","true"),e(s).find("input.variable-item-radio-input:radio").prop("checked",!0),woo_variation_swatches_options.show_variation_label&&o.text("".concat(woo_variation_swatches_options.variation_label_separator," ").concat(c)),e(s).trigger("wvs-item-updated",[i,l]))),_.includes(n,l)&&woo_variation_swatches_options.clickable_out_of_stock&&(e(s).removeClass("disabled").addClass("no-stock"),e(s).attr("data-wvstooltip-out-of-stock",woo_variation_swatches_options.out_of_stock_tooltip_text)))}))}},{key:"setupEvents",value:function(){var t=this;this.$element.find("ul.variable-items-wrapper").each((function(i,a){var n=e(a).parent().find("select.woo-variation-raw-select");woo_variation_swatches_options.clear_on_reselect?(e(a).on("click.wvs","li.variable-item:not(.selected):not(.radio-variable-item)",(function(i){i.preventDefault(),i.stopPropagation();var a=e(this).data("value");n.val(a).trigger("change"),n.trigger("click"),woo_variation_swatches_options.is_mobile,e(this).trigger("wvs-selected-item",[a,n,t.$element])})),e(a).on("click.wvs","li.variable-item.selected:not(.radio-variable-item)",(function(i){i.preventDefault(),i.stopPropagation();var a=e(this).val();n.val("").trigger("change"),n.trigger("click"),woo_variation_swatches_options.is_mobile,e(this).trigger("wvs-unselected-item",[a,n,t.$element])})),e(a).on("click.wvs","input.variable-item-radio-input:radio",(function(t){t.stopPropagation(),e(this).trigger("change.wvs",{radioChange:!0})})),e(a).on("change.wvs","input.variable-item-radio-input:radio",(function(i,a){if(i.preventDefault(),i.stopPropagation(),a&&a.radioChange){var o=e(this).val();e(this).parent("li.radio-variable-item").hasClass("selected")?(n.val("").trigger("change"),e(this).parent("li.radio-variable-item").trigger("wvs-unselected-item",[o,n,t.$element])):(n.val(o).trigger("change"),e(this).parent("li.radio-variable-item").trigger("wvs-selected-item",[o,n,t.$element])),n.trigger("click"),woo_variation_swatches_options.is_mobile}}))):(e(a).on("click.wvs","li.variable-item:not(.radio-variable-item)",(function(i){i.preventDefault(),i.stopPropagation();var a=e(this).data("value");n.val(a).trigger("change"),n.trigger("click"),woo_variation_swatches_options.is_mobile,e(this).trigger("wvs-selected-item",[a,n,t.$element])})),e(a).on("change.wvs","input.variable-item-radio-input:radio",(function(i){i.preventDefault(),i.stopPropagation();var a=e(this).val();n.val(a).trigger("change"),n.trigger("click"),woo_variation_swatches_options.is_mobile,e(this).parent("li.radio-variable-item").removeClass("selected disabled no-stock").addClass("selected"),e(this).parent("li.radio-variable-item").trigger("wvs-selected-item",[a,n,t.$element])}))),e(a).on("keydown.wvs","li.variable-item:not(.disabled)",(function(t){(t.keyCode&&32===t.keyCode||t.key&&" "===t.key||t.keyCode&&13===t.keyCode||t.key&&"enter"===t.key.toLowerCase())&&(t.preventDefault(),e(this).trigger("click"))}))})),this.$element.on("click.wvs",".woo-variation-swatches-variable-item-more",(function(t){t.preventDefault(),e(this).parent().removeClass("enabled-display-limit-mode enabled-catalog-display-limit-mode"),e(this).remove()}))}},{key:"update",value:function(){var t=this;this.$element.on("woocommerce_variation_has_changed.wvs",(function(e){t.setupItems()}))}},{key:"setUpStockInfo",value:function(){var t=this;if(woo_variation_swatches_options.show_variation_stock){var e=parseInt(woo_variation_swatches_options.stock_label_threshold,10);this.$element.on("wvs-selected-item.wvs",(function(i){var a=t.getChosenAttributes(),n=t.findStockVariations(t.product_variations,a);a.count>1&&a.count===a.chosenCount&&t.resetStockInfo(),a.count>1&&a.count===a.mayChosenCount&&n.forEach((function(i){var a='[data-attribute_name="'.concat(i.attribute_name,'"] > [data-value="').concat(i.attribute_value,'"]');i.variation.is_in_stock&&i.variation.max_qty&&i.variation.variation_stock_left&&i.variation.max_qty<=e?(t.$element.find("".concat(a," .wvs-stock-left-info")).attr("data-wvs-stock-info",i.variation.variation_stock_left),t.$element.find(a).addClass("wvs-show-stock-left-info")):(t.$element.find(a).removeClass("wvs-show-stock-left-info"),t.$element.find("".concat(a," .wvs-stock-left-info")).attr("data-wvs-stock-info",""))}))})),this.$element.on("hide_variation.wvs",(function(){t.resetStockInfo()}))}}},{key:"resetStockInfo",value:function(){this.$element.find(".variable-item").removeClass("wvs-show-stock-left-info"),this.$element.find(".wvs-stock-left-info").attr("data-wvs-stock-info","")}},{key:"getChosenAttributes",value:function(){var t={},i=0,a=0;return this.attributeFields.each((function(){var n=e(this).data("attribute_name")||e(this).attr("name"),o=e(this).val()||"";o.length>0&&a++,i++,t[n]=o})),{count:i,chosenCount:a,mayChosenCount:a+1,data:t}}},{key:"findStockVariations",value:function(t,e){for(var i=[],o=0,r=Object.entries(e.data);o<r.length;o++){var s=n(r[o],2),c=s[0];if(0===s[1].length){var u,d=a(this.$element.find("ul[data-attribute_name='".concat(c,"']")).data("attribute_values")||[]);try{for(d.s();!(u=d.n()).done;){var v=u.value,f=_.extend(e.data,l({},c,v)),h=this.findMatchingVariations(t,f);if(h.length>0){var p=h.shift(),m={};m.attribute_name=c,m.attribute_value=v,m.variation=p,i.push(m)}}}catch(t){d.e(t)}finally{d.f()}}}return i}},{key:"findMatchingVariations",value:function(t,e){for(var i=[],a=0;a<t.length;a++){var n=t[a];this.isMatch(n.attributes,e)&&i.push(n)}return i}},{key:"isMatch",value:function(t,e){var i=!0;for(var a in t)if(t.hasOwnProperty(a)){var n=t[a],o=e[a];void 0!==n&&void 0!==o&&0!==n.length&&0!==o.length&&n!==o&&(i=!1)}return i}},{key:"destroy",value:function(){this.$element.removeClass("wvs-loaded"),this.$element.removeData(this.name)}}])&&s(i.prototype,o),r&&s(i,r),t}());(function(t){return function(e,a){t.fn[e]=function(n){for(var o=this,r=arguments.length,s=new Array(r>1?r-1:0),l=1;l<r;l++)s[l-1]=arguments[l];return this.each((function(r,l){var c=t(l),u=c.data(e);if(u||(u=new a(c,t.extend({},n),e),c.data(e,u)),"string"==typeof n){if("object"===i(u[n]))return u[n];var d;if("function"==typeof u[n])return(d=u)[n].apply(d,s)}return o}))},t.fn[e].Constructor=a,t[e]=function(i){for(var a,n=arguments.length,o=new Array(n>1?n-1:0),r=1;r<n;r++)o[r-1]=arguments[r];return(a=t({}))[e].apply(a,[i].concat(o))},t.fn[e].noConflict=function(){return t.fn[e]}}})(jQuery)("WooVariationSwatches",o)}(window)},function(t,e){jQuery((function(t){try{t(document).on("woo_variation_swatches_init",(function(){t(".variations_form:not(.wvs-loaded)").WooVariationSwatches(),t(".woo_variation_swatches_variations_form:not(.wvs-loaded)").WooVariationSwatches(),t(".ywcp_inner_selected_container:not(.wvs-loaded)").WooVariationSwatches()}))}catch(t){window.console.log("Variation Swatches:",t)}t(document).on("wc_variation_form.wvs",(function(e){t(document).trigger("woo_variation_swatches_init")})),t(document).ajaxComplete((function(e,i,a){_.delay((function(){t(".variations_form:not(.wvs-loaded)").each((function(){t(this).wc_variation_form()}))}),100)})),t(document.body).on("wc-composite-initializing",".composite_data",(function(e,i){i.actions.add_action("component_options_state_changed",(function(e){t(e.$component_content).find(".variations_form").WooVariationSwatches("destroy")}))}))}))}]);
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: 6/26/2022, 5:23:57 PM
6
  * Released under the GPLv3 license.
7
  */
8
  /******/ (function(modules) { // webpackBootstrap
2
  * Variation Swatches for WooCommerce
3
  *
4
  * Author: Emran Ahmed ( emran.bd.08@gmail.com )
5
+ * Date: 7/8/2022, 11:04:45 PM
6
  * Released under the GPLv3 license.
7
  */
8
  /******/ (function(modules) { // webpackBootstrap
includes/class-woo-variation-swatches-compatibility.php CHANGED
@@ -23,10 +23,12 @@
23
  }
24
 
25
  protected function includes() {
 
26
  }
27
 
28
  protected function hooks() {
29
  add_filter( 'wp_kses_allowed_html', array( $this, 'elementor_pro_compatibility' ) );
 
30
  }
31
 
32
  protected function init() {
@@ -55,6 +57,15 @@
55
 
56
  return $tags;
57
  }
 
 
 
 
 
 
 
 
 
58
  }
59
  }
60
 
23
  }
24
 
25
  protected function includes() {
26
+ include_once dirname( __FILE__ ) . '/themes-support.php';
27
  }
28
 
29
  protected function hooks() {
30
  add_filter( 'wp_kses_allowed_html', array( $this, 'elementor_pro_compatibility' ) );
31
+ add_filter( 'woo_variation_swatches_get_available_variation', array( $this, 'the_7_theme_add_to_cart_compatibility' ), 10, 3 );
32
  }
33
 
34
  protected function init() {
57
 
58
  return $tags;
59
  }
60
+
61
+ public function the_7_theme_add_to_cart_compatibility( $available_variation, $variation, $product ) {
62
+
63
+ if ( function_exists( 'the7_get_wc_product_add_to_cart_icon' ) ) {
64
+ $available_variation[ 'add_to_cart_text' ] = sprintf( '<span class="filter-popup">%s</span><i class="popup-icon %s"></i>', $variation->add_to_cart_text(), the7_get_wc_product_add_to_cart_icon( $variation ) );
65
+ }
66
+
67
+ return $available_variation;
68
+ }
69
  }
70
  }
71
 
includes/class-woo-variation-swatches-frontend.php CHANGED
@@ -102,7 +102,6 @@
102
  return apply_filters( 'woo_variation_swatches_dual_color_gradient_angle', '-45deg' );
103
  }
104
 
105
-
106
  public function is_color_attribute( $attribute ) {
107
  if ( ! is_object( $attribute ) ) {
108
  return false;
@@ -163,7 +162,6 @@
163
  return get_term_meta( $term_id, 'product_attribute_image', true );
164
  }
165
 
166
-
167
  public function get_product_children( $product ) {
168
 
169
  $variation_ids = $product->get_children();
102
  return apply_filters( 'woo_variation_swatches_dual_color_gradient_angle', '-45deg' );
103
  }
104
 
 
105
  public function is_color_attribute( $attribute ) {
106
  if ( ! is_object( $attribute ) ) {
107
  return false;
162
  return get_term_meta( $term_id, 'product_attribute_image', true );
163
  }
164
 
 
165
  public function get_product_children( $product ) {
166
 
167
  $variation_ids = $product->get_children();
includes/class-woo-variation-swatches-product-page.php CHANGED
@@ -135,7 +135,7 @@
135
 
136
  $this->add_inline_style();
137
 
138
- wp_register_script( 'woo-variation-swatches', woo_variation_swatches()->assets_url( "/js/frontend{$suffix}.js" ), array( 'jquery', 'wp-util' ), woo_variation_swatches()->assets_version( "/js/frontend{$suffix}.js" ), true );
139
 
140
  wp_localize_script( 'woo-variation-swatches', 'woo_variation_swatches_options', $this->js_options() );
141
 
@@ -143,6 +143,17 @@
143
  wp_enqueue_script( 'woo-variation-swatches' );
144
  }
145
 
 
 
 
 
 
 
 
 
 
 
 
146
  public function implode_css_property_value( $raw_properties ) {
147
  $properties = array();
148
  foreach ( $raw_properties as $name => $value ) {
@@ -173,7 +184,14 @@
173
  return;
174
  }
175
 
176
- $style = $this->implode_css_property_value( $this->inline_style_declaration() );
 
 
 
 
 
 
 
177
 
178
  $style = sprintf( ":root {%s}", $style );
179
 
135
 
136
  $this->add_inline_style();
137
 
138
+ wp_register_script( 'woo-variation-swatches', woo_variation_swatches()->assets_url( "/js/frontend{$suffix}.js" ), array( 'jquery', 'wp-util', 'underscore', 'jquery-blockui' ), woo_variation_swatches()->assets_version( "/js/frontend{$suffix}.js" ), true );
139
 
140
  wp_localize_script( 'woo-variation-swatches', 'woo_variation_swatches_options', $this->js_options() );
141
 
143
  wp_enqueue_script( 'woo-variation-swatches' );
144
  }
145
 
146
+ public function inline_svg_encode( $string ) {
147
+ $entities = array( '<', '>', '#', '"' );
148
+ $replacements = array( '%3C', '%3E', "%23", "'" );
149
+
150
+ return str_replace( $entities, $replacements, $string );
151
+ }
152
+
153
+ public function inline_svg( $string ) {
154
+ return sprintf( 'url("data:image/svg+xml;utf8,%s")', $this->inline_svg_encode( $string ) );
155
+ }
156
+
157
  public function implode_css_property_value( $raw_properties ) {
158
  $properties = array();
159
  foreach ( $raw_properties as $name => $value ) {
184
  return;
185
  }
186
 
187
+ $tick_color = sanitize_hex_color( woo_variation_swatches()->get_option( 'tick_color', '#ffffff' ) );
188
+ $cross_color = sanitize_hex_color( woo_variation_swatches()->get_option( 'cross_color', '#ff0000' ) );
189
+
190
+ $style = "";
191
+ $style .= sprintf( "\n--wvs-tick:%s;\n", $this->inline_svg( sprintf( '<svg filter="drop-shadow(0px 0px 2px rgb(0 0 0 / .8))" xmlns="http://www.w3.org/2000/svg" viewBox="0 0 30 30"><path fill="none" stroke="%s" stroke-linecap="round" stroke-linejoin="round" stroke-width="4" d="M4 16L11 23 27 7"/></svg>', $tick_color ) ) );
192
+ $style .= sprintf( "\n--wvs-cross:%s;\n", $this->inline_svg( sprintf( '<svg filter="drop-shadow(0px 0px 5px rgb(255 255 255 / .6))" xmlns="http://www.w3.org/2000/svg" width="72px" height="72px" viewBox="0 0 24 24"><path fill="none" stroke="%s" stroke-linecap="round" stroke-width="0.6" d="M5 5L19 19M19 5L5 19"/></svg>', $cross_color ) ) );
193
+
194
+ $style .= $this->implode_css_property_value( $this->inline_style_declaration() );
195
 
196
  $style = sprintf( ":root {%s}", $style );
197
 
includes/class-woo-variation-swatches-settings.php CHANGED
@@ -460,6 +460,43 @@
460
  protected function get_settings_for_style_section() {
461
 
462
  $settings = array(
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
463
 
464
  // Start single page swatches style
465
  array(
@@ -554,6 +591,15 @@
554
  // 'is_new' => true,
555
  ),
556
 
 
 
 
 
 
 
 
 
 
557
  array(
558
  'id' => 'enable_linkable_variation_url',
559
  'type' => 'checkbox',
@@ -613,6 +659,15 @@
613
  'is_pro' => true,
614
  ),
615
 
 
 
 
 
 
 
 
 
 
616
  array(
617
  'id' => 'archive_show_availability',
618
  'type' => 'checkbox',
@@ -679,8 +734,6 @@
679
  'type' => 'sectionend',
680
  'id' => 'archive_options',
681
  ),
682
-
683
-
684
  );
685
 
686
  return $settings;
460
  protected function get_settings_for_style_section() {
461
 
462
  $settings = array(
463
+
464
+ // Start swatches tick and cross coloring
465
+ array(
466
+ 'id' => 'style_icons_options',
467
+ 'type' => 'title',
468
+ 'title' => esc_html__( 'Swatches indicator', 'woo-variation-swatches' ),
469
+ 'desc' => esc_html__( 'Change swatches indicator color', 'woo-variation-swatches' ),
470
+ ),
471
+
472
+ array(
473
+ 'id' => 'tick_color',
474
+ 'type' => 'color',
475
+ 'title' => esc_html__( 'Tick Color', 'woo-variation-swatches' ),
476
+ 'desc' => esc_html__( 'Swatches Selected tick color. Default is: #ffffff', 'woo-variation-swatches' ),
477
+ 'css' => 'width: 6em;',
478
+ 'default' => '#ffffff',
479
+ 'is_new' => true,
480
+ 'custom_attributes' => array(// 'data-alpha-enabled' => 'true'
481
+ )
482
+ ),
483
+
484
+ array(
485
+ 'id' => 'cross_color',
486
+ 'type' => 'color',
487
+ 'title' => esc_html__( 'Cross Color', 'woo-variation-swatches' ),
488
+ 'desc' => esc_html__( 'Swatches cross color. Default is: #ff0000', 'woo-variation-swatches' ),
489
+ 'css' => 'width: 6em;',
490
+ 'default' => '#ff0000',
491
+ 'is_new' => true,
492
+ 'custom_attributes' => array(// 'data-alpha-enabled' => 'true'
493
+ )
494
+ ),
495
+
496
+ array(
497
+ 'type' => 'sectionend',
498
+ 'id' => 'style_icons_options',
499
+ ),
500
 
501
  // Start single page swatches style
502
  array(
591
  // 'is_new' => true,
592
  ),
593
 
594
+ array(
595
+ 'id' => 'enable_single_preloader',
596
+ 'type' => 'checkbox',
597
+ 'title' => esc_html__( 'Enable Preloader', 'woo-variation-swatches' ),
598
+ 'desc' => esc_html__( 'Enable single product page swatches preloader', 'woo-variation-swatches' ),
599
+ 'default' => 'yes',
600
+ 'is_pro' => true,
601
+ ),
602
+
603
  array(
604
  'id' => 'enable_linkable_variation_url',
605
  'type' => 'checkbox',
659
  'is_pro' => true,
660
  ),
661
 
662
+ array(
663
+ 'id' => 'enable_archive_preloader',
664
+ 'type' => 'checkbox',
665
+ 'title' => esc_html__( 'Enable Preloader', 'woo-variation-swatches' ),
666
+ 'desc' => esc_html__( 'Enable archive page swatches preloader', 'woo-variation-swatches' ),
667
+ 'default' => 'yes',
668
+ 'is_pro' => true,
669
+ ),
670
+
671
  array(
672
  'id' => 'archive_show_availability',
673
  'type' => 'checkbox',
734
  'type' => 'sectionend',
735
  'id' => 'archive_options',
736
  ),
 
 
737
  );
738
 
739
  return $settings;
includes/themes-support.php CHANGED
@@ -1,24 +1,24 @@
1
  <?php
2
- defined( 'ABSPATH' ) or die( 'Keep Quit' );
3
-
4
- if ( ! function_exists( 'wvs_woo_layout_injector_script_override' ) ):
5
- function wvs_woo_layout_injector_script_override() {
6
- if ( function_exists( 'sb_et_woo_li_enqueue' ) ) :
7
- $suffix = defined( 'SCRIPT_DEBUG' ) && SCRIPT_DEBUG ? '' : '.min';
8
- wp_dequeue_script( 'sb_et_woo_li_js' );
9
- wp_enqueue_script( 'sb_et_woo_li_js_override', woo_variation_swatches()->assets_url( "/js/divi_woo_layout_injector{$suffix}.js" ), array( 'jquery' ), woo_variation_swatches()->version(), true );
10
- endif;
11
- }
12
-
13
- add_action( 'wp_enqueue_scripts', 'wvs_woo_layout_injector_script_override', 99999 );
14
- endif;
15
-
16
-
17
- // ==========================================================
18
- // WOODMART Theme
19
- // ==========================================================
20
- if( !function_exists( 'woodmart_has_swatches') ) {
21
- function woodmart_has_swatches( $id, $attr_name, $options, $available_variations, $swatches_use_variation_images = false ) {
22
- return array();
23
- }
24
- }
1
  <?php
2
+ defined( 'ABSPATH' ) or die( 'Keep Quit' );
3
+
4
+ if ( ! function_exists( 'wvs_woo_layout_injector_script_override' ) ):
5
+ function wvs_woo_layout_injector_script_override() {
6
+ if ( function_exists( 'sb_et_woo_li_enqueue' ) ) :
7
+ $suffix = defined( 'SCRIPT_DEBUG' ) && SCRIPT_DEBUG ? '' : '.min';
8
+ wp_dequeue_script( 'sb_et_woo_li_js' );
9
+ wp_enqueue_script( 'sb_et_woo_li_js_override', woo_variation_swatches()->assets_url( "/js/divi_woo_layout_injector{$suffix}.js" ), array( 'jquery' ), woo_variation_swatches()->version(), true );
10
+ endif;
11
+ }
12
+
13
+ // add_action( 'wp_enqueue_scripts', 'wvs_woo_layout_injector_script_override', 99999 );
14
+ endif;
15
+
16
+
17
+ // ==========================================================
18
+ // WOODMART Theme
19
+ // ==========================================================
20
+ if ( ! function_exists( 'woodmart_has_swatches' ) ) {
21
+ function woodmart_has_swatches( $id, $attr_name, $options, $available_variations, $swatches_use_variation_images = false ) {
22
+ return array();
23
+ }
24
+ }
languages/woo-variation-swatches.pot CHANGED
@@ -411,198 +411,234 @@ msgid "<span style=\"color: red\">Attribute image size can be changed by <code>w
411
  msgstr ""
412
 
413
  #: ../includes/class-woo-variation-swatches-settings.php:468
414
- msgid "Product Page Swatches Size"
415
  msgstr ""
416
 
417
  #: ../includes/class-woo-variation-swatches-settings.php:469
418
- msgid "Change swatches style on product page"
419
  msgstr ""
420
 
421
  #: ../includes/class-woo-variation-swatches-settings.php:475
422
- msgid "Width"
423
  msgstr ""
424
 
425
  #: ../includes/class-woo-variation-swatches-settings.php:476
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
426
  msgid "Single product variation item width. Default is: 30"
427
  msgstr ""
428
 
429
- #: ../includes/class-woo-variation-swatches-settings.php:490
430
  msgid "Height"
431
  msgstr ""
432
 
433
- #: ../includes/class-woo-variation-swatches-settings.php:491
434
  msgid "Single product variation item height. Default is: 30"
435
  msgstr ""
436
 
437
- #: ../includes/class-woo-variation-swatches-settings.php:505
438
  msgid "Font Size"
439
  msgstr ""
440
 
441
- #: ../includes/class-woo-variation-swatches-settings.php:506
442
  msgid "Single product variation item font size. Default is: 16"
443
  msgstr ""
444
 
445
- #: ../includes/class-woo-variation-swatches-settings.php:532
446
  msgid "Single Product Page"
447
  msgstr ""
448
 
449
- #: ../includes/class-woo-variation-swatches-settings.php:533
450
  msgid "Settings for single product page"
451
  msgstr ""
452
 
453
- #: ../includes/class-woo-variation-swatches-settings.php:539
454
  msgid "Show selected attribute"
455
  msgstr ""
456
 
457
- #: ../includes/class-woo-variation-swatches-settings.php:540
458
  msgid "Show selected attribute variation name beside the title"
459
  msgstr ""
460
 
461
- #: ../includes/class-woo-variation-swatches-settings.php:548
462
  msgid "Variation label separator"
463
  msgstr ""
464
 
465
- #: ../includes/class-woo-variation-swatches-settings.php:549
466
  msgid "Variation label separator. Default: %s."
467
  msgstr ""
468
 
469
- #: ../includes/class-woo-variation-swatches-settings.php:560
 
 
 
 
 
 
 
 
470
  msgid "Generate variation url"
471
  msgstr ""
472
 
473
- #: ../includes/class-woo-variation-swatches-settings.php:561
474
  msgid "Generate sharable url based on selected variation attributes."
475
  msgstr ""
476
 
477
- #: ../includes/class-woo-variation-swatches-settings.php:569
478
  msgid "Variation stock info"
479
  msgstr ""
480
 
481
- #: ../includes/class-woo-variation-swatches-settings.php:570
482
  msgid "Show variation product stock info"
483
  msgstr ""
484
 
485
- #: ../includes/class-woo-variation-swatches-settings.php:579
486
  msgid "Attribute display limit"
487
  msgstr ""
488
 
489
- #: ../includes/class-woo-variation-swatches-settings.php:580
490
  msgid "Single Product page attribute display limit. Default is 0. Means no limit."
491
  msgstr ""
492
 
493
- #: ../includes/class-woo-variation-swatches-settings.php:603
494
  msgid "Visual Section"
495
  msgstr ""
496
 
497
- #: ../includes/class-woo-variation-swatches-settings.php:604
498
  msgid "Advanced change some visual styles on shop / archive page"
499
  msgstr ""
500
 
501
- #: ../includes/class-woo-variation-swatches-settings.php:610
502
  msgid "Enable Swatches"
503
  msgstr ""
504
 
505
- #: ../includes/class-woo-variation-swatches-settings.php:611
506
  msgid "Show swatches on archive / shop page."
507
  msgstr ""
508
 
509
- #: ../includes/class-woo-variation-swatches-settings.php:619
 
 
 
 
510
  msgid "Show Product Availability"
511
  msgstr ""
512
 
513
- #: ../includes/class-woo-variation-swatches-settings.php:620
514
  msgid "Show Product availability stock info"
515
  msgstr ""
516
 
517
- #: ../includes/class-woo-variation-swatches-settings.php:641
518
  msgid "Display position"
519
  msgstr ""
520
 
521
- #: ../includes/class-woo-variation-swatches-settings.php:642
522
  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>."
523
  msgstr ""
524
 
525
- #: ../includes/class-woo-variation-swatches-settings.php:646
526
  msgid "Before add to cart button"
527
  msgstr ""
528
 
529
- #: ../includes/class-woo-variation-swatches-settings.php:647
530
  msgid "After add to cart button"
531
  msgstr ""
532
 
533
- #: ../includes/class-woo-variation-swatches-settings.php:656
534
  msgid "Swatches align"
535
  msgstr ""
536
 
537
- #: ../includes/class-woo-variation-swatches-settings.php:657
538
  msgid "Swatches align on archive page"
539
  msgstr ""
540
 
541
- #: ../includes/class-woo-variation-swatches-settings.php:662
542
  msgid "Left"
543
  msgstr ""
544
 
545
- #: ../includes/class-woo-variation-swatches-settings.php:663
546
  msgid "Center"
547
  msgstr ""
548
 
549
- #: ../includes/class-woo-variation-swatches-settings.php:664
550
  msgid "Right"
551
  msgstr ""
552
 
553
- #: ../includes/class-woo-variation-swatches-settings.php:672
554
  msgid "Show on filter widget"
555
  msgstr ""
556
 
557
- #: ../includes/class-woo-variation-swatches-settings.php:673
558
  msgid "Show variation swatches on filter widget."
559
  msgstr ""
560
 
561
- #: ../includes/class-woo-variation-swatches-settings.php:696
562
  msgid "Catalog mode"
563
  msgstr ""
564
 
565
- #: ../includes/class-woo-variation-swatches-settings.php:697
566
  msgid "Show single attribute as catalog mode on shop / archive pages. Catalog mode only change image based on selected variation."
567
  msgstr ""
568
 
569
- #: ../includes/class-woo-variation-swatches-settings.php:703
570
  msgid "Show Single Attribute"
571
  msgstr ""
572
 
573
- #: ../includes/class-woo-variation-swatches-settings.php:704
574
  msgid "Show Single Attribute taxonomies on archive page"
575
  msgstr ""
576
 
577
- #: ../includes/class-woo-variation-swatches-settings.php:717
578
  msgid "Single Variation Image Preview"
579
  msgstr ""
580
 
581
- #: ../includes/class-woo-variation-swatches-settings.php:718
582
  msgid "Switch variation image when single attribute selected on product page."
583
  msgstr ""
584
 
585
- #: ../includes/class-woo-variation-swatches-settings.php:724
586
  msgid "Variation Image Preview"
587
  msgstr ""
588
 
589
- #: ../includes/class-woo-variation-swatches-settings.php:725
590
  msgid "Show single attribute variation image based on first attribute select on product page."
591
  msgstr ""
592
 
593
- #: ../includes/class-woo-variation-swatches-settings.php:739
594
  msgid "Large Size Attribute Section"
595
  msgstr ""
596
 
597
- #: ../includes/class-woo-variation-swatches-settings.php:740
598
  msgid "Make a attribute taxonomies size large on single product"
599
  msgstr ""
600
 
601
- #: ../includes/class-woo-variation-swatches-settings.php:746
602
  msgid "Show First Attribute In Large Size"
603
  msgstr ""
604
 
605
- #: ../includes/class-woo-variation-swatches-settings.php:747
606
  msgid "Show Attribute taxonomies in large size"
607
  msgstr ""
608
 
@@ -634,10 +670,10 @@ msgstr ""
634
  msgid "PRO"
635
  msgstr ""
636
 
637
- #: ../woo-variation-swatches.php:39
638
  msgid "WooCommerce"
639
  msgstr ""
640
 
641
- #: ../woo-variation-swatches.php:47
642
  msgid "<strong>Variation Swatches for WooCommerce</strong> is an add-on of "
643
  msgstr ""
411
  msgstr ""
412
 
413
  #: ../includes/class-woo-variation-swatches-settings.php:468
414
+ msgid "Swatches indicator"
415
  msgstr ""
416
 
417
  #: ../includes/class-woo-variation-swatches-settings.php:469
418
+ msgid "Change swatches indicator color"
419
  msgstr ""
420
 
421
  #: ../includes/class-woo-variation-swatches-settings.php:475
422
+ msgid "Tick Color"
423
  msgstr ""
424
 
425
  #: ../includes/class-woo-variation-swatches-settings.php:476
426
+ msgid "Swatches Selected tick color. Default is: #ffffff"
427
+ msgstr ""
428
+
429
+ #: ../includes/class-woo-variation-swatches-settings.php:487
430
+ msgid "Cross Color"
431
+ msgstr ""
432
+
433
+ #: ../includes/class-woo-variation-swatches-settings.php:488
434
+ msgid "Swatches cross color. Default is: #ff0000"
435
+ msgstr ""
436
+
437
+ #: ../includes/class-woo-variation-swatches-settings.php:505
438
+ msgid "Product Page Swatches Size"
439
+ msgstr ""
440
+
441
+ #: ../includes/class-woo-variation-swatches-settings.php:506
442
+ msgid "Change swatches style on product page"
443
+ msgstr ""
444
+
445
+ #: ../includes/class-woo-variation-swatches-settings.php:512
446
+ msgid "Width"
447
+ msgstr ""
448
+
449
+ #: ../includes/class-woo-variation-swatches-settings.php:513
450
  msgid "Single product variation item width. Default is: 30"
451
  msgstr ""
452
 
453
+ #: ../includes/class-woo-variation-swatches-settings.php:527
454
  msgid "Height"
455
  msgstr ""
456
 
457
+ #: ../includes/class-woo-variation-swatches-settings.php:528
458
  msgid "Single product variation item height. Default is: 30"
459
  msgstr ""
460
 
461
+ #: ../includes/class-woo-variation-swatches-settings.php:542
462
  msgid "Font Size"
463
  msgstr ""
464
 
465
+ #: ../includes/class-woo-variation-swatches-settings.php:543
466
  msgid "Single product variation item font size. Default is: 16"
467
  msgstr ""
468
 
469
+ #: ../includes/class-woo-variation-swatches-settings.php:569
470
  msgid "Single Product Page"
471
  msgstr ""
472
 
473
+ #: ../includes/class-woo-variation-swatches-settings.php:570
474
  msgid "Settings for single product page"
475
  msgstr ""
476
 
477
+ #: ../includes/class-woo-variation-swatches-settings.php:576
478
  msgid "Show selected attribute"
479
  msgstr ""
480
 
481
+ #: ../includes/class-woo-variation-swatches-settings.php:577
482
  msgid "Show selected attribute variation name beside the title"
483
  msgstr ""
484
 
485
+ #: ../includes/class-woo-variation-swatches-settings.php:585
486
  msgid "Variation label separator"
487
  msgstr ""
488
 
489
+ #: ../includes/class-woo-variation-swatches-settings.php:586
490
  msgid "Variation label separator. Default: %s."
491
  msgstr ""
492
 
493
+ #: ../includes/class-woo-variation-swatches-settings.php:597, ../includes/class-woo-variation-swatches-settings.php:665
494
+ msgid "Enable Preloader"
495
+ msgstr ""
496
+
497
+ #: ../includes/class-woo-variation-swatches-settings.php:598
498
+ msgid "Enable single product page swatches preloader"
499
+ msgstr ""
500
+
501
+ #: ../includes/class-woo-variation-swatches-settings.php:606
502
  msgid "Generate variation url"
503
  msgstr ""
504
 
505
+ #: ../includes/class-woo-variation-swatches-settings.php:607
506
  msgid "Generate sharable url based on selected variation attributes."
507
  msgstr ""
508
 
509
+ #: ../includes/class-woo-variation-swatches-settings.php:615
510
  msgid "Variation stock info"
511
  msgstr ""
512
 
513
+ #: ../includes/class-woo-variation-swatches-settings.php:616
514
  msgid "Show variation product stock info"
515
  msgstr ""
516
 
517
+ #: ../includes/class-woo-variation-swatches-settings.php:625
518
  msgid "Attribute display limit"
519
  msgstr ""
520
 
521
+ #: ../includes/class-woo-variation-swatches-settings.php:626
522
  msgid "Single Product page attribute display limit. Default is 0. Means no limit."
523
  msgstr ""
524
 
525
+ #: ../includes/class-woo-variation-swatches-settings.php:649
526
  msgid "Visual Section"
527
  msgstr ""
528
 
529
+ #: ../includes/class-woo-variation-swatches-settings.php:650
530
  msgid "Advanced change some visual styles on shop / archive page"
531
  msgstr ""
532
 
533
+ #: ../includes/class-woo-variation-swatches-settings.php:656
534
  msgid "Enable Swatches"
535
  msgstr ""
536
 
537
+ #: ../includes/class-woo-variation-swatches-settings.php:657
538
  msgid "Show swatches on archive / shop page."
539
  msgstr ""
540
 
541
+ #: ../includes/class-woo-variation-swatches-settings.php:666
542
+ msgid "Enable archive page swatches preloader"
543
+ msgstr ""
544
+
545
+ #: ../includes/class-woo-variation-swatches-settings.php:674
546
  msgid "Show Product Availability"
547
  msgstr ""
548
 
549
+ #: ../includes/class-woo-variation-swatches-settings.php:675
550
  msgid "Show Product availability stock info"
551
  msgstr ""
552
 
553
+ #: ../includes/class-woo-variation-swatches-settings.php:696
554
  msgid "Display position"
555
  msgstr ""
556
 
557
+ #: ../includes/class-woo-variation-swatches-settings.php:697
558
  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>."
559
  msgstr ""
560
 
561
+ #: ../includes/class-woo-variation-swatches-settings.php:701
562
  msgid "Before add to cart button"
563
  msgstr ""
564
 
565
+ #: ../includes/class-woo-variation-swatches-settings.php:702
566
  msgid "After add to cart button"
567
  msgstr ""
568
 
569
+ #: ../includes/class-woo-variation-swatches-settings.php:711
570
  msgid "Swatches align"
571
  msgstr ""
572
 
573
+ #: ../includes/class-woo-variation-swatches-settings.php:712
574
  msgid "Swatches align on archive page"
575
  msgstr ""
576
 
577
+ #: ../includes/class-woo-variation-swatches-settings.php:717
578
  msgid "Left"
579
  msgstr ""
580
 
581
+ #: ../includes/class-woo-variation-swatches-settings.php:718
582
  msgid "Center"
583
  msgstr ""
584
 
585
+ #: ../includes/class-woo-variation-swatches-settings.php:719
586
  msgid "Right"
587
  msgstr ""
588
 
589
+ #: ../includes/class-woo-variation-swatches-settings.php:727
590
  msgid "Show on filter widget"
591
  msgstr ""
592
 
593
+ #: ../includes/class-woo-variation-swatches-settings.php:728
594
  msgid "Show variation swatches on filter widget."
595
  msgstr ""
596
 
597
+ #: ../includes/class-woo-variation-swatches-settings.php:749
598
  msgid "Catalog mode"
599
  msgstr ""
600
 
601
+ #: ../includes/class-woo-variation-swatches-settings.php:750
602
  msgid "Show single attribute as catalog mode on shop / archive pages. Catalog mode only change image based on selected variation."
603
  msgstr ""
604
 
605
+ #: ../includes/class-woo-variation-swatches-settings.php:756
606
  msgid "Show Single Attribute"
607
  msgstr ""
608
 
609
+ #: ../includes/class-woo-variation-swatches-settings.php:757
610
  msgid "Show Single Attribute taxonomies on archive page"
611
  msgstr ""
612
 
613
+ #: ../includes/class-woo-variation-swatches-settings.php:770
614
  msgid "Single Variation Image Preview"
615
  msgstr ""
616
 
617
+ #: ../includes/class-woo-variation-swatches-settings.php:771
618
  msgid "Switch variation image when single attribute selected on product page."
619
  msgstr ""
620
 
621
+ #: ../includes/class-woo-variation-swatches-settings.php:777
622
  msgid "Variation Image Preview"
623
  msgstr ""
624
 
625
+ #: ../includes/class-woo-variation-swatches-settings.php:778
626
  msgid "Show single attribute variation image based on first attribute select on product page."
627
  msgstr ""
628
 
629
+ #: ../includes/class-woo-variation-swatches-settings.php:792
630
  msgid "Large Size Attribute Section"
631
  msgstr ""
632
 
633
+ #: ../includes/class-woo-variation-swatches-settings.php:793
634
  msgid "Make a attribute taxonomies size large on single product"
635
  msgstr ""
636
 
637
+ #: ../includes/class-woo-variation-swatches-settings.php:799
638
  msgid "Show First Attribute In Large Size"
639
  msgstr ""
640
 
641
+ #: ../includes/class-woo-variation-swatches-settings.php:800
642
  msgid "Show Attribute taxonomies in large size"
643
  msgstr ""
644
 
670
  msgid "PRO"
671
  msgstr ""
672
 
673
+ #: ../woo-variation-swatches.php:37
674
  msgid "WooCommerce"
675
  msgstr ""
676
 
677
+ #: ../woo-variation-swatches.php:45
678
  msgid "<strong>Variation Swatches for WooCommerce</strong> is an add-on of "
679
  msgstr ""
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.3
8
  * Domain Path: /languages
9
  * Requires PHP: 7.0
10
  * Requires at least: 5.6
@@ -15,12 +15,10 @@
15
  * Author URI: https://getwooplugins.com/
16
  */
17
 
18
-
19
  defined( 'ABSPATH' ) or die( 'Keep Silent' );
20
 
21
-
22
  if ( ! defined( 'WOO_VARIATION_SWATCHES_PLUGIN_VERSION' ) ) {
23
- define( 'WOO_VARIATION_SWATCHES_PLUGIN_VERSION', '2.0.3' );
24
  }
25
 
26
  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.4
8
  * Domain Path: /languages
9
  * Requires PHP: 7.0
10
  * Requires at least: 5.6
15
  * Author URI: https://getwooplugins.com/
16
  */
17
 
 
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.4' );
22
  }
23
 
24
  if ( ! defined( 'WOO_VARIATION_SWATCHES_PLUGIN_FILE' ) ) {