WooCommerce Variation Swatches - Version 2.0.3

Version Description

  • 26-06-2022 =

  • Fix: Out of Stock info

Download this release

Release Info

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

Code changes from version 2.0.2 to 2.0.3

README.txt CHANGED
@@ -617,6 +617,10 @@ And your are ready to go.
617
 
618
  == Changelog ==
619
 
 
 
 
 
620
  = 2.0.2 - 23-06-2022 =
621
 
622
  * Add: Image type fallback if no attribute image added.
617
 
618
  == Changelog ==
619
 
620
+ = 2.0.3 - 26-06-2022 =
621
+
622
+ * Fix: Out of Stock info
623
+
624
  = 2.0.2 - 23-06-2022 =
625
 
626
  * Add: Image type fallback if no attribute image added.
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/23/2022, 8:34:29 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: 6/26/2022, 5:23:57 PM
6
  * Released under the GPLv3 license.
7
  */
8
  .button.button-danger {
assets/css/frontend.css CHANGED
@@ -2,7 +2,7 @@
2
  * Variation Swatches for WooCommerce
3
  *
4
  * Author: Emran Ahmed ( emran.bd.08@gmail.com )
5
- * Date: 6/23/2022, 8:34:29 PM
6
  * Released under the GPLv3 license.
7
  */
8
  :root {
@@ -143,35 +143,35 @@
143
  }
144
 
145
  .wvs-theme-sober .product form.cart .variations .variable,
146
- .wvs-theme-child-sober .product form.cart .variations .variable {
147
  margin-bottom: 15px !important;
148
  }
149
  .wvs-theme-sober .product form.cart .variations .variable-options,
150
- .wvs-theme-child-sober .product form.cart .variations .variable-options {
151
  border: 0 !important;
152
  }
153
  .wvs-theme-sober .product form.cart .variations .variable-options::after,
154
- .wvs-theme-child-sober .product form.cart .variations .variable-options::after {
155
  display: none;
156
  }
157
  .wvs-theme-sober .product form.cart .variations .arrow,
158
- .wvs-theme-child-sober .product form.cart .variations .arrow {
159
  display: none;
160
  }
161
  .wvs-theme-sober .product form.cart .variations .label,
162
- .wvs-theme-child-sober .product form.cart .variations .label {
163
  display: block;
164
  text-align: right;
165
  margin-right: 10px;
166
  }
167
  .wvs-theme-sober .product form.cart .variations .value,
168
- .wvs-theme-child-sober .product form.cart .variations .value {
169
  -webkit-box-flex: unset;
170
  -ms-flex-positive: unset;
171
  flex-grow: unset;
172
  }
173
  .wvs-theme-sober .product form.cart .variations select,
174
- .wvs-theme-child-sober .product form.cart .variations select {
175
  border: 1px solid #E4E6EB !important;
176
  padding: 0.5em 1em !important;
177
  text-align: left !important;
@@ -180,26 +180,26 @@
180
  -webkit-appearance: menulist-button !important;
181
  }
182
  .wvs-theme-sober .product form.cart .radio-variable-item,
183
- .wvs-theme-child-sober .product form.cart .radio-variable-item {
184
  margin: 5px;
185
  text-align: left;
186
  }
187
  .wvs-theme-sober .product form.cart .radio-variable-item:last-child,
188
- .wvs-theme-child-sober .product form.cart .radio-variable-item:last-child {
189
  margin-right: 0;
190
  }
191
  .wvs-theme-sober .product form.cart .radio-variable-item label,
192
- .wvs-theme-child-sober .product form.cart .radio-variable-item label {
193
  padding-left: 30px;
194
  margin: 0;
195
  }
196
  .wvs-theme-sober .product form.cart .radio-variable-item label::before,
197
- .wvs-theme-child-sober .product form.cart .radio-variable-item label::before {
198
  top: 0;
199
  border-radius: 100%;
200
  }
201
  .wvs-theme-sober .product form.cart .radio-variable-item label::after,
202
- .wvs-theme-child-sober .product form.cart .radio-variable-item label::after {
203
  top: 8px;
204
  }
205
 
@@ -221,7 +221,7 @@
221
  }
222
 
223
  .wvs-theme-storefront.single-product div.product,
224
- .wvs-theme-child-storefront.single-product div.product {
225
  overflow: visible !important;
226
  }
227
 
@@ -249,7 +249,7 @@
249
  }
250
 
251
  .wvs-theme-aurum .variable-items-wrapper .image-variable-item > img,
252
- .wvs-theme-child-aurum .variable-items-wrapper .image-variable-item > img {
253
  width: 100%;
254
  }
255
 
@@ -258,51 +258,51 @@
258
  }
259
 
260
  .wvs-theme-thegem .woo-variation-items-wrapper .combobox-wrapper,
261
- .wvs-theme-child-thegem .woo-variation-items-wrapper .combobox-wrapper,
262
  .wvs-theme-thegem-elementor .woo-variation-items-wrapper .combobox-wrapper {
263
  display: none;
264
  }
265
  .wvs-theme-thegem .wvs-archive-variation-wrapper .variations,
266
- .wvs-theme-child-thegem .wvs-archive-variation-wrapper .variations,
267
  .wvs-theme-thegem-elementor .wvs-archive-variation-wrapper .variations {
268
  padding: 0;
269
  }
270
 
271
  .wvs-theme-ushop .variations_form,
272
- .wvs-theme-child-ushop .variations_form {
273
  overflow: visible !important;
274
  }
275
  .wvs-theme-ushop .single-product-summary .product_meta,
276
- .wvs-theme-child-ushop .single-product-summary .product_meta {
277
  display: inline-table;
278
  }
279
 
280
  .wvs-theme-savoy .woo-variation-items-wrapper,
281
- .wvs-theme-child-savoy .woo-variation-items-wrapper {
282
  position: relative !important;
283
  }
284
  .wvs-theme-savoy .woo-variation-items-wrapper .sod_select,
285
- .wvs-theme-child-savoy .woo-variation-items-wrapper .sod_select {
286
  display: none !important;
287
  }
288
  .wvs-theme-savoy .nm-variation-row,
289
- .wvs-theme-child-savoy .nm-variation-row {
290
  display: -webkit-box;
291
  display: -ms-flexbox;
292
  display: flex;
293
  }
294
 
295
  .wvs-theme-woodstock .woo-variation-items-wrapper .variation-select,
296
- .wvs-theme-child-woodstock .woo-variation-items-wrapper .variation-select {
297
  display: none !important;
298
  }
299
 
300
  .wvs-theme-woodmart .woo-variation-items-wrapper > .swatches-select,
301
- .wvs-theme-child-woodmart .woo-variation-items-wrapper > .swatches-select {
302
  display: none;
303
  }
304
  .wvs-theme-woodmart .wd-attr-selected,
305
- .wvs-theme-child-woodmart .wd-attr-selected {
306
  display: none;
307
  }
308
 
@@ -315,14 +315,14 @@
315
  display: none !important;
316
  }
317
 
318
- .woo-variation-gallery-theme-child-massive-dynamic .woo-variation-items-wrapper .clear-selection,
319
- .woo-variation-gallery-theme-massive-dynamic .woo-variation-items-wrapper .clear-selection {
320
  border: 0;
321
  height: auto;
322
  width: auto;
323
  }
324
- .woo-variation-gallery-theme-child-massive-dynamic .woo-variation-items-wrapper .clear-selection .reset_variations,
325
- .woo-variation-gallery-theme-massive-dynamic .woo-variation-items-wrapper .clear-selection .reset_variations {
326
  font-size: 8px !important;
327
  width: 20px;
328
  height: 20px;
@@ -335,58 +335,58 @@
335
  }
336
 
337
  .wvs-theme-claue .woo-variation-items-wrapper,
338
- .wvs-theme-child-claue .woo-variation-items-wrapper {
339
  border: none;
340
  }
341
  .wvs-theme-claue .woo-variation-items-wrapper::after,
342
- .wvs-theme-child-claue .woo-variation-items-wrapper::after {
343
  display: none;
344
  }
345
 
346
  .wvs-theme-jupiter table.variations,
347
- .wvs-theme-child-jupiter table.variations {
348
  overflow: initial;
349
  }
350
 
351
  .wvs-theme-oxygen .woo-variation-items-wrapper .select-wrapper,
352
- .wvs-theme-child-oxygen .woo-variation-items-wrapper .select-wrapper {
353
  display: none;
354
  }
355
  .wvs-theme-oxygen .variable-items-wrapper.radio-variable-wrapper .radio-variable-item input,
356
- .wvs-theme-child-oxygen .variable-items-wrapper.radio-variable-wrapper .radio-variable-item input {
357
  width: 18px;
358
  }
359
 
360
  .wvs-theme-simple-elegant .woo-variation-items-wrapper .wi-nice-select,
361
- .wvs-theme-child-simple-elegant .woo-variation-items-wrapper .wi-nice-select {
362
  display: none;
363
  }
364
 
365
  .wvs-theme-twentytwenty table.variations,
366
- .wvs-theme-child-twentytwenty table.variations {
367
  overflow: auto;
368
  }
369
 
370
  .wvs-theme-divi .et_pb_wc_add_to_cart form.variations_form.cart .variations td.value span:after,
371
- .wvs-theme-child-divi .et_pb_wc_add_to_cart form.variations_form.cart .variations td.value span:after {
372
  display: none !important;
373
  }
374
 
375
  .wvs-theme-jevelin .sh-woo-layout table.variations td select.woo-variation-raw-select,
376
- .wvs-theme-child-jevelin .sh-woo-layout table.variations td select.woo-variation-raw-select {
377
  display: none !important;
378
  }
379
  .wvs-theme-jevelin .sh-woo-layout table.variations,
380
- .wvs-theme-child-jevelin .sh-woo-layout table.variations {
381
  max-width: 100%;
382
  }
383
  .wvs-theme-jevelin .radio-variable-item label,
384
- .wvs-theme-child-jevelin .radio-variable-item label {
385
  line-height: 1 !important;
386
  }
387
 
388
  .wvs-theme-stockie .woo-variation-raw-select + .select-styled,
389
- .wvs-theme-child-stockie .woo-variation-raw-select + .select-styled {
390
  display: none !important;
391
  }
392
 
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 {
143
  }
144
 
145
  .wvs-theme-sober .product form.cart .variations .variable,
146
+ .wvs-theme-sober-child .product form.cart .variations .variable {
147
  margin-bottom: 15px !important;
148
  }
149
  .wvs-theme-sober .product form.cart .variations .variable-options,
150
+ .wvs-theme-sober-child .product form.cart .variations .variable-options {
151
  border: 0 !important;
152
  }
153
  .wvs-theme-sober .product form.cart .variations .variable-options::after,
154
+ .wvs-theme-sober-child .product form.cart .variations .variable-options::after {
155
  display: none;
156
  }
157
  .wvs-theme-sober .product form.cart .variations .arrow,
158
+ .wvs-theme-sober-child .product form.cart .variations .arrow {
159
  display: none;
160
  }
161
  .wvs-theme-sober .product form.cart .variations .label,
162
+ .wvs-theme-sober-child .product form.cart .variations .label {
163
  display: block;
164
  text-align: right;
165
  margin-right: 10px;
166
  }
167
  .wvs-theme-sober .product form.cart .variations .value,
168
+ .wvs-theme-sober-child .product form.cart .variations .value {
169
  -webkit-box-flex: unset;
170
  -ms-flex-positive: unset;
171
  flex-grow: unset;
172
  }
173
  .wvs-theme-sober .product form.cart .variations select,
174
+ .wvs-theme-sober-child .product form.cart .variations select {
175
  border: 1px solid #E4E6EB !important;
176
  padding: 0.5em 1em !important;
177
  text-align: left !important;
180
  -webkit-appearance: menulist-button !important;
181
  }
182
  .wvs-theme-sober .product form.cart .radio-variable-item,
183
+ .wvs-theme-sober-child .product form.cart .radio-variable-item {
184
  margin: 5px;
185
  text-align: left;
186
  }
187
  .wvs-theme-sober .product form.cart .radio-variable-item:last-child,
188
+ .wvs-theme-sober-child .product form.cart .radio-variable-item:last-child {
189
  margin-right: 0;
190
  }
191
  .wvs-theme-sober .product form.cart .radio-variable-item label,
192
+ .wvs-theme-sober-child .product form.cart .radio-variable-item label {
193
  padding-left: 30px;
194
  margin: 0;
195
  }
196
  .wvs-theme-sober .product form.cart .radio-variable-item label::before,
197
+ .wvs-theme-sober-child .product form.cart .radio-variable-item label::before {
198
  top: 0;
199
  border-radius: 100%;
200
  }
201
  .wvs-theme-sober .product form.cart .radio-variable-item label::after,
202
+ .wvs-theme-sober-child .product form.cart .radio-variable-item label::after {
203
  top: 8px;
204
  }
205
 
221
  }
222
 
223
  .wvs-theme-storefront.single-product div.product,
224
+ .wvs-theme-storefront-child.single-product div.product {
225
  overflow: visible !important;
226
  }
227
 
249
  }
250
 
251
  .wvs-theme-aurum .variable-items-wrapper .image-variable-item > img,
252
+ .wvs-theme-aurum-child .variable-items-wrapper .image-variable-item > img {
253
  width: 100%;
254
  }
255
 
258
  }
259
 
260
  .wvs-theme-thegem .woo-variation-items-wrapper .combobox-wrapper,
261
+ .wvs-theme-thegem-child .woo-variation-items-wrapper .combobox-wrapper,
262
  .wvs-theme-thegem-elementor .woo-variation-items-wrapper .combobox-wrapper {
263
  display: none;
264
  }
265
  .wvs-theme-thegem .wvs-archive-variation-wrapper .variations,
266
+ .wvs-theme-thegem-child .wvs-archive-variation-wrapper .variations,
267
  .wvs-theme-thegem-elementor .wvs-archive-variation-wrapper .variations {
268
  padding: 0;
269
  }
270
 
271
  .wvs-theme-ushop .variations_form,
272
+ .wvs-theme-ushop-child .variations_form {
273
  overflow: visible !important;
274
  }
275
  .wvs-theme-ushop .single-product-summary .product_meta,
276
+ .wvs-theme-ushop-child .single-product-summary .product_meta {
277
  display: inline-table;
278
  }
279
 
280
  .wvs-theme-savoy .woo-variation-items-wrapper,
281
+ .wvs-theme-savoy-child .woo-variation-items-wrapper {
282
  position: relative !important;
283
  }
284
  .wvs-theme-savoy .woo-variation-items-wrapper .sod_select,
285
+ .wvs-theme-savoy-child .woo-variation-items-wrapper .sod_select {
286
  display: none !important;
287
  }
288
  .wvs-theme-savoy .nm-variation-row,
289
+ .wvs-theme-savoy-child .nm-variation-row {
290
  display: -webkit-box;
291
  display: -ms-flexbox;
292
  display: flex;
293
  }
294
 
295
  .wvs-theme-woodstock .woo-variation-items-wrapper .variation-select,
296
+ .wvs-theme-woodstock-child .woo-variation-items-wrapper .variation-select {
297
  display: none !important;
298
  }
299
 
300
  .wvs-theme-woodmart .woo-variation-items-wrapper > .swatches-select,
301
+ .wvs-theme-woodmart-child .woo-variation-items-wrapper > .swatches-select {
302
  display: none;
303
  }
304
  .wvs-theme-woodmart .wd-attr-selected,
305
+ .wvs-theme-woodmart-child .wd-attr-selected {
306
  display: none;
307
  }
308
 
315
  display: none !important;
316
  }
317
 
318
+ .woo-variation-gallery-theme-massive-dynamic .woo-variation-items-wrapper .clear-selection,
319
+ .woo-variation-gallery-theme-massive-dynamic-child .woo-variation-items-wrapper .clear-selection {
320
  border: 0;
321
  height: auto;
322
  width: auto;
323
  }
324
+ .woo-variation-gallery-theme-massive-dynamic .woo-variation-items-wrapper .clear-selection .reset_variations,
325
+ .woo-variation-gallery-theme-massive-dynamic-child .woo-variation-items-wrapper .clear-selection .reset_variations {
326
  font-size: 8px !important;
327
  width: 20px;
328
  height: 20px;
335
  }
336
 
337
  .wvs-theme-claue .woo-variation-items-wrapper,
338
+ .wvs-theme-claue-child .woo-variation-items-wrapper {
339
  border: none;
340
  }
341
  .wvs-theme-claue .woo-variation-items-wrapper::after,
342
+ .wvs-theme-claue-child .woo-variation-items-wrapper::after {
343
  display: none;
344
  }
345
 
346
  .wvs-theme-jupiter table.variations,
347
+ .wvs-theme-jupiter-child table.variations {
348
  overflow: initial;
349
  }
350
 
351
  .wvs-theme-oxygen .woo-variation-items-wrapper .select-wrapper,
352
+ .wvs-theme-oxygen-child .woo-variation-items-wrapper .select-wrapper {
353
  display: none;
354
  }
355
  .wvs-theme-oxygen .variable-items-wrapper.radio-variable-wrapper .radio-variable-item input,
356
+ .wvs-theme-oxygen-child .variable-items-wrapper.radio-variable-wrapper .radio-variable-item input {
357
  width: 18px;
358
  }
359
 
360
  .wvs-theme-simple-elegant .woo-variation-items-wrapper .wi-nice-select,
361
+ .wvs-theme-simple-elegant-child .woo-variation-items-wrapper .wi-nice-select {
362
  display: none;
363
  }
364
 
365
  .wvs-theme-twentytwenty table.variations,
366
+ .wvs-theme-twentytwenty-child table.variations {
367
  overflow: auto;
368
  }
369
 
370
  .wvs-theme-divi .et_pb_wc_add_to_cart form.variations_form.cart .variations td.value span:after,
371
+ .wvs-theme-divi-child .et_pb_wc_add_to_cart form.variations_form.cart .variations td.value span:after {
372
  display: none !important;
373
  }
374
 
375
  .wvs-theme-jevelin .sh-woo-layout table.variations td select.woo-variation-raw-select,
376
+ .wvs-theme-jevelin-child .sh-woo-layout table.variations td select.woo-variation-raw-select {
377
  display: none !important;
378
  }
379
  .wvs-theme-jevelin .sh-woo-layout table.variations,
380
+ .wvs-theme-jevelin-child .sh-woo-layout table.variations {
381
  max-width: 100%;
382
  }
383
  .wvs-theme-jevelin .radio-variable-item label,
384
+ .wvs-theme-jevelin-child .radio-variable-item label {
385
  line-height: 1 !important;
386
  }
387
 
388
  .wvs-theme-stockie .woo-variation-raw-select + .select-styled,
389
+ .wvs-theme-stockie-child .woo-variation-raw-select + .select-styled {
390
  display: none !important;
391
  }
392
 
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-child-sober .product form.cart .variations .variable,.wvs-theme-sober .product form.cart .variations .variable{margin-bottom:15px!important}.wvs-theme-child-sober .product form.cart .variations .variable-options,.wvs-theme-sober .product form.cart .variations .variable-options{border:0!important}.wvs-theme-child-sober .product form.cart .variations .arrow,.wvs-theme-child-sober .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-child-sober .product form.cart .variations .label,.wvs-theme-sober .product form.cart .variations .label{display:block;text-align:right;margin-right:10px}.wvs-theme-child-sober .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-child-sober .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-child-sober .product form.cart .radio-variable-item,.wvs-theme-sober .product form.cart .radio-variable-item{margin:5px;text-align:left}.wvs-theme-child-sober .product form.cart .radio-variable-item:last-child,.wvs-theme-sober .product form.cart .radio-variable-item:last-child{margin-right:0}.wvs-theme-child-sober .product form.cart .radio-variable-item label,.wvs-theme-sober .product form.cart .radio-variable-item label{padding-left:30px;margin:0}.wvs-theme-child-sober .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-child-sober .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-child-storefront.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 .variable-items-wrapper .image-variable-item>img,.wvs-theme-child-aurum .variable-items-wrapper .image-variable-item>img{width:100%}.wvs-theme-hestia .woo-variation-items-wrapper.value:before{display:none!important}.wvs-theme-child-thegem .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-child-thegem .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-child-ushop .variations_form,.wvs-theme-ushop .variations_form{overflow:visible!important}.wvs-theme-child-ushop .single-product-summary .product_meta,.wvs-theme-ushop .single-product-summary .product_meta{display:inline-table}.wvs-theme-child-savoy .woo-variation-items-wrapper,.wvs-theme-savoy .woo-variation-items-wrapper{position:relative!important}.wvs-theme-child-savoy .woo-variation-items-wrapper .sod_select,.wvs-theme-savoy .woo-variation-items-wrapper .sod_select{display:none!important}.wvs-theme-child-savoy .nm-variation-row,.wvs-theme-savoy .nm-variation-row{display:-webkit-box;display:-ms-flexbox;display:flex}.wvs-theme-child-woodstock .woo-variation-items-wrapper .variation-select,.wvs-theme-woodstock .woo-variation-items-wrapper .variation-select{display:none!important}.wvs-theme-child-woodmart .wd-attr-selected,.wvs-theme-child-woodmart .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-child-massive-dynamic .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-child-massive-dynamic .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-child-claue .woo-variation-items-wrapper,.wvs-theme-claue .woo-variation-items-wrapper{border:none}.wvs-theme-child-claue .woo-variation-items-wrapper:after,.wvs-theme-claue .woo-variation-items-wrapper:after{display:none}.wvs-theme-child-jupiter table.variations,.wvs-theme-jupiter table.variations{overflow:initial}.wvs-theme-child-oxygen .woo-variation-items-wrapper .select-wrapper,.wvs-theme-oxygen .woo-variation-items-wrapper .select-wrapper{display:none}.wvs-theme-child-oxygen .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-child-simple-elegant .woo-variation-items-wrapper .wi-nice-select,.wvs-theme-simple-elegant .woo-variation-items-wrapper .wi-nice-select{display:none}.wvs-theme-child-twentytwenty table.variations,.wvs-theme-twentytwenty table.variations{overflow:auto}.wvs-theme-child-divi .et_pb_wc_add_to_cart form.variations_form.cart .variations td.value span:after,.wvs-theme-child-jevelin .sh-woo-layout table.variations td select.woo-variation-raw-select,.wvs-theme-divi .et_pb_wc_add_to_cart form.variations_form.cart .variations td.value span:after,.wvs-theme-jevelin .sh-woo-layout table.variations td select.woo-variation-raw-select{display:none!important}.wvs-theme-child-jevelin .sh-woo-layout table.variations,.wvs-theme-jevelin .sh-woo-layout table.variations{max-width:100%}.wvs-theme-child-jevelin .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-child-stockie .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
+ :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}
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/23/2022, 8:34:29 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: 6/26/2022, 5:23:57 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/23/2022, 8:34:29 PM
6
  * Released under the GPLv3 license.
7
  */
8
  /******/ (function(modules) { // webpackBootstrap
@@ -378,7 +378,7 @@ function _defineProperty(obj, key, value) { if (key in obj) { Object.definePrope
378
  } // $(this).trigger('focus') // Mobile tooltip
379
 
380
 
381
- $(this).trigger('wvs-selected-item', [value, select, self._element]); // Custom Event for li
382
  }); // Radio
383
 
384
  $(element).on('change.wvs', 'input.variable-item-radio-input:radio', function (event) {
@@ -430,7 +430,7 @@ function _defineProperty(obj, key, value) { if (key in obj) { Object.definePrope
430
 
431
  if (woo_variation_swatches_options.show_variation_stock) {
432
  var max_stock_label = parseInt(woo_variation_swatches_options.stock_label_threshold, 10);
433
- this.$element.on('wvs-selected-item.wc-variation-form', function () {
434
  var attributes = _this5.getChosenAttributes();
435
 
436
  var variations = _this5.findStockVariations(_this5.product_variations, attributes);
@@ -455,7 +455,7 @@ function _defineProperty(obj, key, value) { if (key in obj) { Object.definePrope
455
  });
456
  }
457
  });
458
- this.$element.on('hide_variation.wc-variation-form', function () {
459
  _this5.resetStockInfo();
460
  });
461
  }
@@ -637,21 +637,21 @@ function _defineProperty(obj, key, value) { if (key in obj) { Object.definePrope
637
 
638
  jQuery(function ($) {
639
  try {
640
- $(document.body).on('woo_variation_swatches_init', function () {
641
  $('.variations_form:not(.wvs-loaded)').WooVariationSwatches(); // Any custom product with .woo_variation_swatches_variations_form class to support
642
 
643
  $('.woo_variation_swatches_variations_form:not(.wvs-loaded)').WooVariationSwatches(); // Yith Composite Product
644
 
645
  $('.ywcp_inner_selected_container:not(.wvs-loaded)').WooVariationSwatches();
646
- }).trigger('woo_variation_swatches_init');
647
  } catch (err) {
648
  // If failed (conflict?) log the error but don't stop other scripts breaking.
649
  window.console.log('Variation Swatches:', err);
650
  } // Init WooVariationSwatches after wc_variation_form script loaded.
651
 
652
 
653
- $(document.body).on('wc_variation_form.wvs', function (event) {
654
- $(document.body).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
 
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
378
  } // $(this).trigger('focus') // Mobile tooltip
379
 
380
 
381
+ $(this).trigger('wvs-selected-item', [value, select, self.$element]); // Custom Event for li
382
  }); // Radio
383
 
384
  $(element).on('change.wvs', 'input.variable-item-radio-input:radio', function (event) {
430
 
431
  if (woo_variation_swatches_options.show_variation_stock) {
432
  var max_stock_label = parseInt(woo_variation_swatches_options.stock_label_threshold, 10);
433
+ this.$element.on('wvs-selected-item.wvs', function (event) {
434
  var attributes = _this5.getChosenAttributes();
435
 
436
  var variations = _this5.findStockVariations(_this5.product_variations, attributes);
455
  });
456
  }
457
  });
458
+ this.$element.on('hide_variation.wvs', function () {
459
  _this5.resetStockInfo();
460
  });
461
  }
637
 
638
  jQuery(function ($) {
639
  try {
640
+ $(document).on('woo_variation_swatches_init', function () {
641
  $('.variations_form:not(.wvs-loaded)').WooVariationSwatches(); // Any custom product with .woo_variation_swatches_variations_form class to support
642
 
643
  $('.woo_variation_swatches_variations_form:not(.wvs-loaded)').WooVariationSwatches(); // Yith Composite Product
644
 
645
  $('.ywcp_inner_selected_container:not(.wvs-loaded)').WooVariationSwatches();
646
+ }); //.trigger('woo_variation_swatches_init')
647
  } catch (err) {
648
  // If failed (conflict?) log the error but don't stop other scripts breaking.
649
  window.console.log('Variation Swatches:', err);
650
  } // Init WooVariationSwatches after wc_variation_form script loaded.
651
 
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
 
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.wc-variation-form",(function(){var i=t.getChosenAttributes(),a=t.findStockVariations(t.product_variations,i);i.count>1&&i.count===i.chosenCount&&t.resetStockInfo(),i.count>1&&i.count===i.mayChosenCount&&a.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.wc-variation-form",(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.body).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()})).trigger("woo_variation_swatches_init")}catch(t){window.console.log("Variation Swatches:",t)}t(document.body).on("wc_variation_form.wvs",(function(e){t(document.body).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){!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")}))}))}))}]);
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/23/2022, 8:34:29 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: 6/26/2022, 5:23:57 PM
6
  * Released under the GPLv3 license.
7
  */
8
  /******/ (function(modules) { // webpackBootstrap
includes/class-woo-variation-swatches-product-page.php CHANGED
@@ -64,7 +64,7 @@
64
  }
65
 
66
  public function disable_out_of_stock_item( $default, $variation ) {
67
- if ( ! $variation->is_in_stock() && wc_string_to_bool( woo_variation_swatches()->get_option( 'hide_out_of_stock_variation', 'yes' ) ) ) {
68
  return false;
69
  }
70
 
64
  }
65
 
66
  public function disable_out_of_stock_item( $default, $variation ) {
67
+ if ( woo_variation_swatches()->is_pro() && ! $variation->is_in_stock() && wc_string_to_bool( woo_variation_swatches()->get_option( 'hide_out_of_stock_variation', 'yes' ) ) ) {
68
  return false;
69
  }
70
 
includes/class-woo-variation-swatches-settings.php CHANGED
@@ -207,7 +207,7 @@
207
  }
208
 
209
  public function template_license() {
210
-
211
  $links = array(
212
  'button_url' => 'https://getwooplugins.com/my-account/downloads/',
213
  'button_text' => esc_html__( 'Get license', 'woo-variation-swatches' ),
@@ -218,21 +218,20 @@
218
  $body = sprintf( '<video preload="auto" autoplay loop muted playsinline src="%s"></video>', esc_url( woo_variation_swatches()->org_assets_url( '/preview-18.webm' ) ) );
219
  $this->modal_dialog( 'license', esc_html__( 'Swatches License', 'woo-variation-swatches' ), $body, $links );
220
  }
221
-
222
  public function template_show_on_archive() {
223
-
224
  $body = sprintf( '<video preload="auto" autoplay loop muted playsinline src="%s"></video>', esc_url( woo_variation_swatches()->org_assets_url( '/preview-19.webm' ) ) );
225
  $this->modal_dialog( 'show_on_archive', esc_html__( 'Swatches On Archive Page', 'woo-variation-swatches' ), $body, $this->modal_buy_links() );
226
  }
227
 
228
  public function template_archive_default_selected() {
229
-
230
  $body = sprintf( '<video preload="auto" autoplay loop muted playsinline src="%s"></video>', esc_url( woo_variation_swatches()->org_assets_url( '/preview-20.webm' ) ) );
231
  $this->modal_dialog( 'archive_default_selected', esc_html__( 'Swatches Archive Default Selected', 'woo-variation-swatches' ), $body, $this->modal_buy_links() );
232
  }
233
-
234
-
235
-
236
  protected function notices() {
237
  // phpcs:disable WordPress.Security.NonceVerification.Recommended
238
  if ( $this->is_current_tab() && isset( $_GET[ 'reset' ] ) ) { // WPCS: input var okay, CSRF ok.
@@ -411,6 +410,7 @@
411
  'title' => esc_html__( 'Disable Out of Stock', 'woo-variation-swatches' ),
412
  'desc' => esc_html__( 'Disable Out Of Stock item', 'woo-variation-swatches' ),
413
  'default' => 'yes',
 
414
  'is_pro' => true,
415
  ),
416
 
@@ -425,17 +425,17 @@
425
  ),
426
 
427
  array(
428
- 'id' => 'attribute_behavior',
429
- 'type' => 'radio',
430
- 'title' => esc_html__( 'Disabled Attribute style', 'woo-variation-swatches' ),
431
- 'desc' => esc_html__( 'Disabled / Out Of Stock attribute will be hide / blur / crossed.', 'woo-variation-swatches' ),
432
- 'desc_tip' => true,
433
- 'options' => array(
434
  'blur' => esc_html__( 'Blur with cross', 'woo-variation-swatches' ),
435
  'blur-no-cross' => esc_html__( 'Blur without cross', 'woo-variation-swatches' ),
436
  'hide' => esc_html__( 'Hide', 'woo-variation-swatches' ),
437
  ),
438
- 'default' => 'blur',
439
  'help_preview' => true,
440
  ),
441
 
@@ -518,7 +518,7 @@
518
  'type' => 'sectionend',
519
  'id' => 'single_style_options',
520
  ),
521
-
522
  );
523
 
524
  return $settings;
@@ -553,14 +553,14 @@
553
  'require' => $this->normalize_required_attribute( array( 'show_variation_label' => array( 'type' => '==', 'value' => '1' ) ) ),
554
  // 'is_new' => true,
555
  ),
556
-
557
  array(
558
  'id' => 'enable_linkable_variation_url',
559
  'type' => 'checkbox',
560
  'title' => esc_html__( 'Generate variation url', 'woo-variation-swatches' ),
561
  'desc' => esc_html__( 'Generate sharable url based on selected variation attributes.', 'woo-variation-swatches' ),
562
  'default' => 'no',
563
- 'is_pro' => true,
564
  ),
565
 
566
  array(
@@ -593,48 +593,48 @@
593
 
594
  return $settings;
595
  }
596
-
597
  protected function get_settings_for_archive_section() {
598
  $settings = array(
599
-
600
  array(
601
  'id' => 'archive_options',
602
  'type' => 'title',
603
  'title' => esc_html__( 'Visual Section', 'woo-variation-swatches' ),
604
  'desc' => esc_html__( 'Advanced change some visual styles on shop / archive page', 'woo-variation-swatches' ),
605
  ),
606
-
607
  array(
608
  'id' => 'show_on_archive',
609
  'type' => 'checkbox',
610
  'title' => esc_html__( 'Enable Swatches', 'woo-variation-swatches' ),
611
  'desc' => esc_html__( 'Show swatches on archive / shop page.', 'woo-variation-swatches' ),
612
  'default' => 'yes',
613
- 'is_pro' => true,
614
  ),
615
-
616
  array(
617
  'id' => 'archive_show_availability',
618
  'type' => 'checkbox',
619
  'title' => esc_html__( 'Show Product Availability', 'woo-variation-swatches' ),
620
  'desc' => esc_html__( 'Show Product availability stock info', 'woo-variation-swatches' ),
621
  'default' => 'no',
622
- 'is_pro' => true,
623
  ),
624
-
625
  array(
626
- 'id' => 'archive_default_selected',
627
- 'type' => 'checkbox',
628
  //'is_pro' => true,
629
  //'is_new' => true,
630
  //'help_preview' => true,
631
- 'title' => esc_html__( 'Show default selected', 'woo-variation-swatches-pro' ),
632
- 'desc' => esc_html__( 'Show default selected attribute swatches on archive / shop page.', 'woo-variation-swatches-pro' ),
633
- 'default' => 'yes',
634
- 'is_pro' => true
635
  ),
636
-
637
-
638
  array(
639
  'id' => 'archive_swatches_position',
640
  'type' => 'radio',
@@ -646,9 +646,9 @@
646
  'before' => esc_html__( 'Before add to cart button', 'woo-variation-swatches' ),
647
  'after' => esc_html__( 'After add to cart button', 'woo-variation-swatches' )
648
  ),
649
- 'is_pro' => true,
650
  ),
651
-
652
  array(
653
  'id' => 'archive_align',
654
  'type' => 'select',
@@ -663,7 +663,7 @@
663
  'center' => esc_html__( 'Center', 'woo-variation-swatches' ),
664
  'flex-end' => esc_html__( 'Right', 'woo-variation-swatches' )
665
  ),
666
- 'is_pro' => true,
667
  ),
668
 
669
  array(
@@ -672,23 +672,23 @@
672
  'title' => esc_html__( 'Show on filter widget', 'woo-variation-swatches' ),
673
  'desc' => esc_html__( 'Show variation swatches on filter widget.', 'woo-variation-swatches' ),
674
  'default' => 'yes',
675
- 'is_pro' => true,
676
  ),
677
-
678
  array(
679
  'type' => 'sectionend',
680
  'id' => 'archive_options',
681
  ),
682
-
683
-
684
  );
685
-
686
  return $settings;
687
  }
688
-
689
  protected function get_settings_for_special_section() {
690
  $settings = array(
691
-
692
  // Catalog mode
693
  array(
694
  'id' => 'catalog_mode_options',
@@ -696,42 +696,42 @@
696
  'title' => esc_html__( 'Catalog mode', 'woo-variation-swatches' ),
697
  'desc' => esc_html__( 'Show single attribute as catalog mode on shop / archive pages. Catalog mode only change image based on selected variation.', 'woo-variation-swatches' ),
698
  ),
699
-
700
  array(
701
  'id' => 'enable_catalog_mode',
702
  'type' => 'checkbox',
703
  'title' => esc_html__( 'Show Single Attribute', 'woo-variation-swatches' ),
704
  'desc' => esc_html__( 'Show Single Attribute taxonomies on archive page', 'woo-variation-swatches' ),
705
  'default' => 'no',
706
- 'is_pro' => true,
707
  ),
708
 
709
  array(
710
  'type' => 'sectionend',
711
  'id' => 'catalog_mode_options',
712
  ),
713
-
714
  array(
715
  'id' => 'single_variation_image_preview_options',
716
  'type' => 'title',
717
  'title' => esc_html__( 'Single Variation Image Preview', 'woo-variation-swatches' ),
718
  'desc' => esc_html__( 'Switch variation image when single attribute selected on product page.', 'woo-variation-swatches' ),
719
  ),
720
-
721
  array(
722
  'id' => 'enable_single_variation_preview',
723
  'type' => 'checkbox',
724
  'title' => esc_html__( 'Variation Image Preview', 'woo-variation-swatches' ),
725
  'desc' => esc_html__( 'Show single attribute variation image based on first attribute select on product page.', 'woo-variation-swatches' ),
726
  'default' => 'no',
727
- 'is_pro' => true,
728
  ),
729
 
730
  array(
731
  'type' => 'sectionend',
732
  'id' => 'single_variation_image_preview_options',
733
  ),
734
-
735
  // Attribute large size
736
  array(
737
  'id' => 'attr_large_size_options',
@@ -739,14 +739,14 @@
739
  'title' => esc_html__( 'Large Size Attribute Section', 'woo-variation-swatches' ),
740
  'desc' => esc_html__( 'Make a attribute taxonomies size large on single product', 'woo-variation-swatches' ),
741
  ),
742
-
743
  array(
744
  'id' => 'enable_large_size',
745
  'type' => 'checkbox',
746
  'title' => esc_html__( 'Show First Attribute In Large Size', 'woo-variation-swatches' ),
747
  'desc' => esc_html__( 'Show Attribute taxonomies in large size', 'woo-variation-swatches' ),
748
  'default' => 'no',
749
- 'is_pro' => true,
750
  ),
751
 
752
  array(
@@ -754,7 +754,7 @@
754
  'id' => 'attr_large_size_options',
755
  ),
756
  );
757
-
758
  return $settings;
759
  }
760
 
207
  }
208
 
209
  public function template_license() {
210
+
211
  $links = array(
212
  'button_url' => 'https://getwooplugins.com/my-account/downloads/',
213
  'button_text' => esc_html__( 'Get license', 'woo-variation-swatches' ),
218
  $body = sprintf( '<video preload="auto" autoplay loop muted playsinline src="%s"></video>', esc_url( woo_variation_swatches()->org_assets_url( '/preview-18.webm' ) ) );
219
  $this->modal_dialog( 'license', esc_html__( 'Swatches License', 'woo-variation-swatches' ), $body, $links );
220
  }
221
+
222
  public function template_show_on_archive() {
223
+
224
  $body = sprintf( '<video preload="auto" autoplay loop muted playsinline src="%s"></video>', esc_url( woo_variation_swatches()->org_assets_url( '/preview-19.webm' ) ) );
225
  $this->modal_dialog( 'show_on_archive', esc_html__( 'Swatches On Archive Page', 'woo-variation-swatches' ), $body, $this->modal_buy_links() );
226
  }
227
 
228
  public function template_archive_default_selected() {
229
+
230
  $body = sprintf( '<video preload="auto" autoplay loop muted playsinline src="%s"></video>', esc_url( woo_variation_swatches()->org_assets_url( '/preview-20.webm' ) ) );
231
  $this->modal_dialog( 'archive_default_selected', esc_html__( 'Swatches Archive Default Selected', 'woo-variation-swatches' ), $body, $this->modal_buy_links() );
232
  }
233
+
234
+
 
235
  protected function notices() {
236
  // phpcs:disable WordPress.Security.NonceVerification.Recommended
237
  if ( $this->is_current_tab() && isset( $_GET[ 'reset' ] ) ) { // WPCS: input var okay, CSRF ok.
410
  'title' => esc_html__( 'Disable Out of Stock', 'woo-variation-swatches' ),
411
  'desc' => esc_html__( 'Disable Out Of Stock item', 'woo-variation-swatches' ),
412
  'default' => 'yes',
413
+ // 'help_preview' => true,
414
  'is_pro' => true,
415
  ),
416
 
425
  ),
426
 
427
  array(
428
+ 'id' => 'attribute_behavior',
429
+ 'type' => 'radio',
430
+ 'title' => esc_html__( 'Disabled Attribute style', 'woo-variation-swatches' ),
431
+ 'desc' => esc_html__( 'Disabled / Out Of Stock attribute will be hide / blur / crossed.', 'woo-variation-swatches' ),
432
+ 'desc_tip' => true,
433
+ 'options' => array(
434
  'blur' => esc_html__( 'Blur with cross', 'woo-variation-swatches' ),
435
  'blur-no-cross' => esc_html__( 'Blur without cross', 'woo-variation-swatches' ),
436
  'hide' => esc_html__( 'Hide', 'woo-variation-swatches' ),
437
  ),
438
+ 'default' => 'blur',
439
  'help_preview' => true,
440
  ),
441
 
518
  'type' => 'sectionend',
519
  'id' => 'single_style_options',
520
  ),
521
+
522
  );
523
 
524
  return $settings;
553
  'require' => $this->normalize_required_attribute( array( 'show_variation_label' => array( 'type' => '==', 'value' => '1' ) ) ),
554
  // 'is_new' => true,
555
  ),
556
+
557
  array(
558
  'id' => 'enable_linkable_variation_url',
559
  'type' => 'checkbox',
560
  'title' => esc_html__( 'Generate variation url', 'woo-variation-swatches' ),
561
  'desc' => esc_html__( 'Generate sharable url based on selected variation attributes.', 'woo-variation-swatches' ),
562
  'default' => 'no',
563
+ 'is_pro' => true,
564
  ),
565
 
566
  array(
593
 
594
  return $settings;
595
  }
596
+
597
  protected function get_settings_for_archive_section() {
598
  $settings = array(
599
+
600
  array(
601
  'id' => 'archive_options',
602
  'type' => 'title',
603
  'title' => esc_html__( 'Visual Section', 'woo-variation-swatches' ),
604
  'desc' => esc_html__( 'Advanced change some visual styles on shop / archive page', 'woo-variation-swatches' ),
605
  ),
606
+
607
  array(
608
  'id' => 'show_on_archive',
609
  'type' => 'checkbox',
610
  'title' => esc_html__( 'Enable Swatches', 'woo-variation-swatches' ),
611
  'desc' => esc_html__( 'Show swatches on archive / shop page.', 'woo-variation-swatches' ),
612
  'default' => 'yes',
613
+ 'is_pro' => true,
614
  ),
615
+
616
  array(
617
  'id' => 'archive_show_availability',
618
  'type' => 'checkbox',
619
  'title' => esc_html__( 'Show Product Availability', 'woo-variation-swatches' ),
620
  'desc' => esc_html__( 'Show Product availability stock info', 'woo-variation-swatches' ),
621
  'default' => 'no',
622
+ 'is_pro' => true,
623
  ),
624
+
625
  array(
626
+ 'id' => 'archive_default_selected',
627
+ 'type' => 'checkbox',
628
  //'is_pro' => true,
629
  //'is_new' => true,
630
  //'help_preview' => true,
631
+ 'title' => esc_html__( 'Show default selected', 'woo-variation-swatches-pro' ),
632
+ 'desc' => esc_html__( 'Show default selected attribute swatches on archive / shop page.', 'woo-variation-swatches-pro' ),
633
+ 'default' => 'yes',
634
+ 'is_pro' => true
635
  ),
636
+
637
+
638
  array(
639
  'id' => 'archive_swatches_position',
640
  'type' => 'radio',
646
  'before' => esc_html__( 'Before add to cart button', 'woo-variation-swatches' ),
647
  'after' => esc_html__( 'After add to cart button', 'woo-variation-swatches' )
648
  ),
649
+ 'is_pro' => true,
650
  ),
651
+
652
  array(
653
  'id' => 'archive_align',
654
  'type' => 'select',
663
  'center' => esc_html__( 'Center', 'woo-variation-swatches' ),
664
  'flex-end' => esc_html__( 'Right', 'woo-variation-swatches' )
665
  ),
666
+ 'is_pro' => true,
667
  ),
668
 
669
  array(
672
  'title' => esc_html__( 'Show on filter widget', 'woo-variation-swatches' ),
673
  'desc' => esc_html__( 'Show variation swatches on filter widget.', 'woo-variation-swatches' ),
674
  'default' => 'yes',
675
+ 'is_pro' => true,
676
  ),
677
+
678
  array(
679
  'type' => 'sectionend',
680
  'id' => 'archive_options',
681
  ),
682
+
683
+
684
  );
685
+
686
  return $settings;
687
  }
688
+
689
  protected function get_settings_for_special_section() {
690
  $settings = array(
691
+
692
  // Catalog mode
693
  array(
694
  'id' => 'catalog_mode_options',
696
  'title' => esc_html__( 'Catalog mode', 'woo-variation-swatches' ),
697
  'desc' => esc_html__( 'Show single attribute as catalog mode on shop / archive pages. Catalog mode only change image based on selected variation.', 'woo-variation-swatches' ),
698
  ),
699
+
700
  array(
701
  'id' => 'enable_catalog_mode',
702
  'type' => 'checkbox',
703
  'title' => esc_html__( 'Show Single Attribute', 'woo-variation-swatches' ),
704
  'desc' => esc_html__( 'Show Single Attribute taxonomies on archive page', 'woo-variation-swatches' ),
705
  'default' => 'no',
706
+ 'is_pro' => true,
707
  ),
708
 
709
  array(
710
  'type' => 'sectionend',
711
  'id' => 'catalog_mode_options',
712
  ),
713
+
714
  array(
715
  'id' => 'single_variation_image_preview_options',
716
  'type' => 'title',
717
  'title' => esc_html__( 'Single Variation Image Preview', 'woo-variation-swatches' ),
718
  'desc' => esc_html__( 'Switch variation image when single attribute selected on product page.', 'woo-variation-swatches' ),
719
  ),
720
+
721
  array(
722
  'id' => 'enable_single_variation_preview',
723
  'type' => 'checkbox',
724
  'title' => esc_html__( 'Variation Image Preview', 'woo-variation-swatches' ),
725
  'desc' => esc_html__( 'Show single attribute variation image based on first attribute select on product page.', 'woo-variation-swatches' ),
726
  'default' => 'no',
727
+ 'is_pro' => true,
728
  ),
729
 
730
  array(
731
  'type' => 'sectionend',
732
  'id' => 'single_variation_image_preview_options',
733
  ),
734
+
735
  // Attribute large size
736
  array(
737
  'id' => 'attr_large_size_options',
739
  'title' => esc_html__( 'Large Size Attribute Section', 'woo-variation-swatches' ),
740
  'desc' => esc_html__( 'Make a attribute taxonomies size large on single product', 'woo-variation-swatches' ),
741
  ),
742
+
743
  array(
744
  'id' => 'enable_large_size',
745
  'type' => 'checkbox',
746
  'title' => esc_html__( 'Show First Attribute In Large Size', 'woo-variation-swatches' ),
747
  'desc' => esc_html__( 'Show Attribute taxonomies in large size', 'woo-variation-swatches' ),
748
  'default' => 'no',
749
+ 'is_pro' => true,
750
  ),
751
 
752
  array(
754
  'id' => 'attr_large_size_options',
755
  ),
756
  );
757
+
758
  return $settings;
759
  }
760
 
languages/woo-variation-swatches.pot CHANGED
@@ -258,119 +258,119 @@ msgstr ""
258
  msgid "Swatches Archive Default Selected"
259
  msgstr ""
260
 
261
- #: ../includes/class-woo-variation-swatches-settings.php:239
262
  msgid "Swatches Settings Reset."
263
  msgstr ""
264
 
265
- #: ../includes/class-woo-variation-swatches-settings.php:278, ../includes/getwooplugins/class-getwooplugins-settings-page.php:129
266
  msgid "General"
267
  msgstr ""
268
 
269
- #: ../includes/class-woo-variation-swatches-settings.php:279
270
  msgid "Advanced"
271
  msgstr ""
272
 
273
- #: ../includes/class-woo-variation-swatches-settings.php:280
274
  msgid "Styling"
275
  msgstr ""
276
 
277
- #: ../includes/class-woo-variation-swatches-settings.php:281
278
  msgid "Product Page"
279
  msgstr ""
280
 
281
- #: ../includes/class-woo-variation-swatches-settings.php:282
282
  msgid "Archive / Shop"
283
  msgstr ""
284
 
285
- #: ../includes/class-woo-variation-swatches-settings.php:283
286
  msgid "Special Attributes"
287
  msgstr ""
288
 
289
- #: ../includes/class-woo-variation-swatches-settings.php:284, ../includes/class-woo-variation-swatches-term-meta.php:103
290
  msgid "Group"
291
  msgstr ""
292
 
293
- #: ../includes/class-woo-variation-swatches-settings.php:286
294
  msgid "License"
295
  msgstr ""
296
 
297
- #: ../includes/class-woo-variation-swatches-settings.php:289
298
  msgid "Tutorial"
299
  msgstr ""
300
 
301
- #: ../includes/class-woo-variation-swatches-settings.php:294
302
  msgid "Useful Free Plugins"
303
  msgstr ""
304
 
305
- #: ../includes/class-woo-variation-swatches-settings.php:323
306
  msgid "General options"
307
  msgstr ""
308
 
309
- #: ../includes/class-woo-variation-swatches-settings.php:330
310
  msgid "Enable Stylesheet"
311
  msgstr ""
312
 
313
- #: ../includes/class-woo-variation-swatches-settings.php:331
314
  msgid "Enable default stylesheet"
315
  msgstr ""
316
 
317
- #: ../includes/class-woo-variation-swatches-settings.php:338
318
  msgid "Enable Tooltip"
319
  msgstr ""
320
 
321
- #: ../includes/class-woo-variation-swatches-settings.php:339
322
  msgid "Enable tooltip on each product attribute."
323
  msgstr ""
324
 
325
- #: ../includes/class-woo-variation-swatches-settings.php:346
326
  msgid "Shape Style"
327
  msgstr ""
328
 
329
- #: ../includes/class-woo-variation-swatches-settings.php:348
330
  msgid "This controls which shape style used by default."
331
  msgstr ""
332
 
333
- #: ../includes/class-woo-variation-swatches-settings.php:355
334
  msgid "Rounded Shape"
335
  msgstr ""
336
 
337
- #: ../includes/class-woo-variation-swatches-settings.php:356
338
  msgid "Squared Shape"
339
  msgstr ""
340
 
341
- #: ../includes/class-woo-variation-swatches-settings.php:363
342
  msgid "Dropdowns to Button"
343
  msgstr ""
344
 
345
- #: ../includes/class-woo-variation-swatches-settings.php:364
346
  msgid "Convert default dropdowns to button."
347
  msgstr ""
348
 
349
- #: ../includes/class-woo-variation-swatches-settings.php:373
350
  msgid "Dropdowns to Image"
351
  msgstr ""
352
 
353
- #: ../includes/class-woo-variation-swatches-settings.php:374
354
  msgid "Convert default dropdowns to image type if variation has an image."
355
  msgstr ""
356
 
357
- #: ../includes/class-woo-variation-swatches-settings.php:395
358
  msgid "Advanced options"
359
  msgstr ""
360
 
361
- #: ../includes/class-woo-variation-swatches-settings.php:402
362
  msgid "Clear on Reselect"
363
  msgstr ""
364
 
365
- #: ../includes/class-woo-variation-swatches-settings.php:403
366
  msgid "Clear selected attribute on select again"
367
  msgstr ""
368
 
369
- #: ../includes/class-woo-variation-swatches-settings.php:411
370
  msgid "Disable Out of Stock"
371
  msgstr ""
372
 
373
- #: ../includes/class-woo-variation-swatches-settings.php:412
374
  msgid "Disable Out Of Stock item"
375
  msgstr ""
376
 
258
  msgid "Swatches Archive Default Selected"
259
  msgstr ""
260
 
261
+ #: ../includes/class-woo-variation-swatches-settings.php:238
262
  msgid "Swatches Settings Reset."
263
  msgstr ""
264
 
265
+ #: ../includes/class-woo-variation-swatches-settings.php:277, ../includes/getwooplugins/class-getwooplugins-settings-page.php:129
266
  msgid "General"
267
  msgstr ""
268
 
269
+ #: ../includes/class-woo-variation-swatches-settings.php:278
270
  msgid "Advanced"
271
  msgstr ""
272
 
273
+ #: ../includes/class-woo-variation-swatches-settings.php:279
274
  msgid "Styling"
275
  msgstr ""
276
 
277
+ #: ../includes/class-woo-variation-swatches-settings.php:280
278
  msgid "Product Page"
279
  msgstr ""
280
 
281
+ #: ../includes/class-woo-variation-swatches-settings.php:281
282
  msgid "Archive / Shop"
283
  msgstr ""
284
 
285
+ #: ../includes/class-woo-variation-swatches-settings.php:282
286
  msgid "Special Attributes"
287
  msgstr ""
288
 
289
+ #: ../includes/class-woo-variation-swatches-settings.php:283, ../includes/class-woo-variation-swatches-term-meta.php:103
290
  msgid "Group"
291
  msgstr ""
292
 
293
+ #: ../includes/class-woo-variation-swatches-settings.php:285
294
  msgid "License"
295
  msgstr ""
296
 
297
+ #: ../includes/class-woo-variation-swatches-settings.php:288
298
  msgid "Tutorial"
299
  msgstr ""
300
 
301
+ #: ../includes/class-woo-variation-swatches-settings.php:293
302
  msgid "Useful Free Plugins"
303
  msgstr ""
304
 
305
+ #: ../includes/class-woo-variation-swatches-settings.php:322
306
  msgid "General options"
307
  msgstr ""
308
 
309
+ #: ../includes/class-woo-variation-swatches-settings.php:329
310
  msgid "Enable Stylesheet"
311
  msgstr ""
312
 
313
+ #: ../includes/class-woo-variation-swatches-settings.php:330
314
  msgid "Enable default stylesheet"
315
  msgstr ""
316
 
317
+ #: ../includes/class-woo-variation-swatches-settings.php:337
318
  msgid "Enable Tooltip"
319
  msgstr ""
320
 
321
+ #: ../includes/class-woo-variation-swatches-settings.php:338
322
  msgid "Enable tooltip on each product attribute."
323
  msgstr ""
324
 
325
+ #: ../includes/class-woo-variation-swatches-settings.php:345
326
  msgid "Shape Style"
327
  msgstr ""
328
 
329
+ #: ../includes/class-woo-variation-swatches-settings.php:347
330
  msgid "This controls which shape style used by default."
331
  msgstr ""
332
 
333
+ #: ../includes/class-woo-variation-swatches-settings.php:354
334
  msgid "Rounded Shape"
335
  msgstr ""
336
 
337
+ #: ../includes/class-woo-variation-swatches-settings.php:355
338
  msgid "Squared Shape"
339
  msgstr ""
340
 
341
+ #: ../includes/class-woo-variation-swatches-settings.php:362
342
  msgid "Dropdowns to Button"
343
  msgstr ""
344
 
345
+ #: ../includes/class-woo-variation-swatches-settings.php:363
346
  msgid "Convert default dropdowns to button."
347
  msgstr ""
348
 
349
+ #: ../includes/class-woo-variation-swatches-settings.php:372
350
  msgid "Dropdowns to Image"
351
  msgstr ""
352
 
353
+ #: ../includes/class-woo-variation-swatches-settings.php:373
354
  msgid "Convert default dropdowns to image type if variation has an image."
355
  msgstr ""
356
 
357
+ #: ../includes/class-woo-variation-swatches-settings.php:394
358
  msgid "Advanced options"
359
  msgstr ""
360
 
361
+ #: ../includes/class-woo-variation-swatches-settings.php:401
362
  msgid "Clear on Reselect"
363
  msgstr ""
364
 
365
+ #: ../includes/class-woo-variation-swatches-settings.php:402
366
  msgid "Clear selected attribute on select again"
367
  msgstr ""
368
 
369
+ #: ../includes/class-woo-variation-swatches-settings.php:410
370
  msgid "Disable Out of Stock"
371
  msgstr ""
372
 
373
+ #: ../includes/class-woo-variation-swatches-settings.php:411
374
  msgid "Disable Out Of Stock item"
375
  msgstr ""
376
 
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.2
8
  * Domain Path: /languages
9
  * Requires PHP: 7.0
10
  * Requires at least: 5.6
@@ -20,7 +20,7 @@
20
 
21
 
22
  if ( ! defined( 'WOO_VARIATION_SWATCHES_PLUGIN_VERSION' ) ) {
23
- define( 'WOO_VARIATION_SWATCHES_PLUGIN_VERSION', '2.0.2' );
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.3
8
  * Domain Path: /languages
9
  * Requires PHP: 7.0
10
  * Requires at least: 5.6
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' ) ) {