Version Description
- Add: Select attribute set type button by default.
- Fix: Transients issue.
Download this release
Release Info
Developer | EmranAhmed |
Plugin | WooCommerce Variation Swatches |
Version | 1.0.63 |
Comparing to | |
See all releases |
Code changes from version 1.0.62 to 1.0.63
- README.txt +107 -54
- assets/css/admin.css +2 -2
- assets/css/admin.min.css +2 -2
- assets/css/frontend-tooltip.css +2 -2
- assets/css/frontend-tooltip.min.css +2 -2
- assets/css/frontend.css +2 -2
- assets/css/frontend.min.css +2 -2
- assets/css/gwp-admin-notice.css +2 -2
- assets/css/gwp-admin-notice.min.css +2 -2
- assets/css/gwp-admin.css +2 -2
- assets/css/gwp-admin.min.css +2 -2
- assets/css/wvs-theme-override.css +2 -2
- assets/css/wvs-theme-override.min.css +2 -2
- assets/js/admin.js +2 -2
- assets/js/frontend.js +2 -2
- assets/js/gwp-admin.js +2 -2
- images/archive-preview.png +0 -0
- images/red-archive-preview.png +0 -0
- images/red-special-preview.png +0 -0
- images/red-style-preview.png +0 -0
- images/special-preview.png +0 -0
- images/style-preview.png +0 -0
- images/tutorial-13.jpg +0 -0
- images/tutorial-14.gif +0 -0
- images/tutorial-15.gif +0 -0
- images/tutorial-16.jpg +0 -0
- images/tutorial-17.jpg +0 -0
- images/tutorial-18.jpg +0 -0
- images/tutorial-19.jpg +0 -0
- images/tutorial-20.jpg +0 -0
- includes/functions.php +395 -22
- includes/tutorials.php +240 -14
- languages/woo-variation-swatches.pot +47 -39
- package.json +1 -1
- webpack.mix.js +1 -1
- woo-variation-swatches.php +2 -2
README.txt
CHANGED
@@ -10,7 +10,7 @@ WC tested up to: 3.7
|
|
10 |
License: GPLv3
|
11 |
License URI: http://www.gnu.org/licenses/gpl-3.0.html
|
12 |
|
13 |
-
Beautiful Color, Image and Buttons Variation Swatches For WooCommerce Product Attributes
|
14 |
|
15 |
== Description ==
|
16 |
|
@@ -28,131 +28,179 @@ Variation Swatches for WooCommerce not only offers the color, image and label at
|
|
28 |
|
29 |
In the free WooCommerce attribute variation plugin, besides creating size, brand, image, color, and label variation swatches, you can handle the swatches shape style <strong>Rounded and Circle</strong>. On top of that, it allows you beautiful tooltips on variation swatch hover. Based on your requirement you enable and disable hover from the settings. To maximize and personalize your development process, the product attributes swatches comes an option to disable default plugin stylesheet so that you can personally write your own CSS.
|
30 |
|
31 |
-
|
32 |
|
33 |
-
|
|
|
|
|
|
|
|
|
34 |
[Live Demo & Documentation](http://bit.ly/3rd-demo-color-swatches-readme)
|
35 |
<hr />
|
36 |
-
|
37 |
[Live Demo & Documentation](http://bit.ly/3rd-image-demo-swatches-readme)
|
38 |
<hr />
|
39 |
-
|
|
|
|
|
|
|
40 |
[Live Demo & Documentation](http://bit.ly/3rd-label-demo-readme)
|
41 |
<hr />
|
42 |
-
|
|
|
43 |
[Video Tutorial & Preview](http://bit.ly/label-swatch-free-read-youtube)
|
44 |
<hr />
|
45 |
-
|
46 |
[Live Demo & Documentation](http://bit.ly/3rd-round-shape-readme)
|
47 |
<hr />
|
48 |
-
|
49 |
[Live Demo & Documentation](http://bit.ly/3rd-demo-square-readme)
|
50 |
<hr />
|
51 |
-
|
52 |
[Live Demo & Documentation](http://bit.ly/3rd-demo-cross-out-of-stock-readme)
|
53 |
<hr />
|
54 |
-
|
55 |
[Live Demo & Documentation](http://bit.ly/3rd-demo-blur-readme)
|
56 |
<hr />
|
57 |
-
|
58 |
[Live Demo & Documentation](http://bit.ly/3rd-demo-hide-out-stock-readme)
|
59 |
<hr />
|
60 |
-
|
61 |
[Live Demo & Documentation](http://bit.ly/3rd-demo-size-control-readme)
|
62 |
<hr />
|
63 |
-
|
64 |
[Live Demo & Documentation](http://bit.ly/3rd-demo-size-control-readme)
|
65 |
<hr />
|
66 |
|
67 |
-
|
68 |
-
|
69 |
-
|
70 |
-
|
71 |
-
|
72 |
-
|
73 |
-
|
74 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
75 |
|
76 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
77 |
|
78 |
[Live Demo](http://bit.ly/3rd-main-demo-readme) | [Upgrade to PRO](http://bit.ly/upgrade-to-pro-readme) | [Documentation](https://getwooplugins.com/documentation/woocommerce-variation-swatches/?utm_source=wordpress.org&utm_medium=README&utm_campaign=woo-variation-swatches) | [Support](https://getwooplugins.com/tickets/?utm_source=wordpress.org&utm_medium=README&utm_campaign=woo-variation-swatches)
|
79 |
|
80 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
81 |
[Live Demo & Documentation](http://bit.ly/3rd-demo-acrhive-page-readme)
|
82 |
<hr />
|
83 |
-
|
84 |
[Live Demo & Documentation](http://bit.ly/3rd-demo-readme-catalog-mode)
|
85 |
<hr />
|
86 |
-
|
87 |
[Live Demo & Documentation](http://bit.ly/3rd-demo-radio-readme)
|
88 |
<hr />
|
89 |
-
|
90 |
[Live Demo & Documentation](http://bit.ly/3rd-demo-product-basis-product-type-change-readme)
|
91 |
<hr />
|
92 |
-
|
93 |
[Live Demo & Documentation](http://bit.ly/3rd-readme-demo-show-all-variation-type-in-the-same-variation)
|
94 |
<hr />
|
95 |
-
|
96 |
[Live Demo & Documentation](http://bit.ly/3rd-demo-product-basis-image-change-readme)
|
97 |
<hr />
|
98 |
-
|
99 |
[Live Demo & Documentation](http://bit.ly/3rd-demo-product-basis-color-change-readme)
|
100 |
<hr />
|
101 |
-
|
102 |
[Live Demo & Documentation](http://bit.ly/manual-attribute-readme-video)
|
103 |
<hr />
|
104 |
-
|
105 |
[Live Demo & Documentation](http://bit.ly/3rd-readme-demo-amazon)
|
106 |
<hr />
|
107 |
-
|
108 |
[Live Demo & Documentation](http://bit.ly/3rd-demo-generate-link-readme)
|
109 |
<hr />
|
110 |
-
|
111 |
[Live Demo & Documentation](http://bit.ly/3rd-readme-demo-round-square)
|
112 |
<hr />
|
113 |
-
|
114 |
[Live Demo & Documentation](http://bit.ly/3rd-readme-demo-cross-out-of-stock-variations-more-than-30-variations)
|
115 |
<hr />
|
116 |
-
|
117 |
[Live Demo & Documentation](http://bit.ly/3rd-demo-readme-blur-out-of-stock-variations-more-than-30-variations)
|
118 |
<hr />
|
119 |
-
|
120 |
[Live Demo & Documentation](http://bit.ly/3rd-demo-readme-hide-out-of-stock-variations-more-than-30-variations)
|
121 |
<hr />
|
122 |
-
|
123 |
[Live Demo & Documentation](http://bit.ly/3rd-readme-demo-shop-swatches-size)
|
124 |
<hr />
|
125 |
-
|
126 |
[Live Demo & Documentation](http://bit.ly/3rd-demo-readme-swatches-size-special-attribute)
|
127 |
<hr />
|
128 |
-
|
129 |
[Live Demo & Documentation](http://bit.ly/3rd-demo-readme-how-to-enable-text-tooltip)
|
130 |
<hr />
|
131 |
-
|
132 |
[Live Demo & Documentation](http://bit.ly/3rd-demo-readme-image-tooltip)
|
133 |
<hr />
|
134 |
-
|
135 |
[Live Demo & Documentation](http://bit.ly/3rd-demo-readme-swatches-border-styling)
|
136 |
<hr />
|
137 |
-
|
138 |
[Live Demo & Documentation](http://bit.ly/3rd-demo-readme-hover-swatches-border-styling)
|
139 |
<hr />
|
140 |
-
|
141 |
[Live Demo & Documentation](http://bit.ly/3rd-demo-readme-hover-swatches-border-styling)
|
142 |
<hr />
|
143 |
-
|
144 |
[Live Demo & Documentation](http://bit.ly/3rd-demo-readme-shop-alignment)
|
145 |
<hr />
|
146 |
-
|
147 |
-
|
148 |
-
|
149 |
-
|
150 |
-
|
151 |
-
|
152 |
-
|
153 |
-
|
154 |
-
|
155 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
156 |
|
157 |
= Sites Built With Variation Swatches for WooCommerce Plugin =
|
158 |
|
@@ -318,6 +366,11 @@ And your are ready to go.
|
|
318 |
|
319 |
== Changelog ==
|
320 |
|
|
|
|
|
|
|
|
|
|
|
321 |
= 1.0.62 =
|
322 |
|
323 |
* Add: WC 3.7 update
|
10 |
License: GPLv3
|
11 |
License URI: http://www.gnu.org/licenses/gpl-3.0.html
|
12 |
|
13 |
+
Beautiful Color, Image and Buttons Variation Swatches For WooCommerce Product Attributes
|
14 |
|
15 |
== Description ==
|
16 |
|
28 |
|
29 |
In the free WooCommerce attribute variation plugin, besides creating size, brand, image, color, and label variation swatches, you can handle the swatches shape style <strong>Rounded and Circle</strong>. On top of that, it allows you beautiful tooltips on variation swatch hover. Based on your requirement you enable and disable hover from the settings. To maximize and personalize your development process, the product attributes swatches comes an option to disable default plugin stylesheet so that you can personally write your own CSS.
|
30 |
|
31 |
+
## Key Feature Comes with Variation Swatches For WooCommerce Plugin ##
|
32 |
|
33 |
+
👉 Auto Convert All Variation Dropdowns to Button Swatch by Default
|
34 |
+
[Live Demo & Documentation](http://j.mp/automatic-button-swatches-readme)
|
35 |
+
<hr />
|
36 |
+
|
37 |
+
👉 Enable Color Swatches For Variable Product Attribute Variations
|
38 |
[Live Demo & Documentation](http://bit.ly/3rd-demo-color-swatches-readme)
|
39 |
<hr />
|
40 |
+
👉 Enable Image Swatches For Variable Product Attribute Variations
|
41 |
[Live Demo & Documentation](http://bit.ly/3rd-image-demo-swatches-readme)
|
42 |
<hr />
|
43 |
+
👉 Enable Label/Text/Button Swatches For Variable Product Attribute Variations
|
44 |
+
[Live Demo & Documentation](http://bit.ly/3rd-label-demo-readme)
|
45 |
+
<hr />
|
46 |
+
👉 Enable Label/Text/Button Swatches For Variable Product Attribute Variations
|
47 |
[Live Demo & Documentation](http://bit.ly/3rd-label-demo-readme)
|
48 |
<hr />
|
49 |
+
|
50 |
+
👉 Convert Globally Created Attribute Variations Into Color, Image, and Label Swatches
|
51 |
[Video Tutorial & Preview](http://bit.ly/label-swatch-free-read-youtube)
|
52 |
<hr />
|
53 |
+
👉 Option to Globally Select ROUNDED Attribute Variation Swatches Shape.
|
54 |
[Live Demo & Documentation](http://bit.ly/3rd-round-shape-readme)
|
55 |
<hr />
|
56 |
+
👉 Option to Globally Select SQUARED Attribute Variation Swatches Shape.
|
57 |
[Live Demo & Documentation](http://bit.ly/3rd-demo-square-readme)
|
58 |
<hr />
|
59 |
+
👉 Show Cross Sign For Out of Stock Variation Swatches (Up To 30 Variations)
|
60 |
[Live Demo & Documentation](http://bit.ly/3rd-demo-cross-out-of-stock-readme)
|
61 |
<hr />
|
62 |
+
👉 Blur For Out of Stock Variation Swatches (Up To 30 Variations)
|
63 |
[Live Demo & Documentation](http://bit.ly/3rd-demo-blur-readme)
|
64 |
<hr />
|
65 |
+
👉 Hide For Out of Stock Variation Swatches (Up To 30 Variations)
|
66 |
[Live Demo & Documentation](http://bit.ly/3rd-demo-hide-out-stock-readme)
|
67 |
<hr />
|
68 |
+
👉 Product Page Swatches Size Control
|
69 |
[Live Demo & Documentation](http://bit.ly/3rd-demo-size-control-readme)
|
70 |
<hr />
|
71 |
+
👉 Flexible Swatches Tooltip Insert and Display settings
|
72 |
[Live Demo & Documentation](http://bit.ly/3rd-demo-size-control-readme)
|
73 |
<hr />
|
74 |
|
75 |
+
👉 Convert Buttons Swatches to Dropdown (If It's needed)
|
76 |
+
[Live Demo & Documentation](http://j.mp/button-to-dropdown-readme)
|
77 |
+
<hr />
|
78 |
+
|
79 |
+
👉 Reorder Product Attribute Variation Swatches
|
80 |
+
👉 Flexible Swatches Tooltip Insert and Display settings
|
81 |
+
👉 Work on Variable Product Quick View Popup
|
82 |
+
👉 Compatible with popular WooCommerce themes and plugins
|
83 |
+
👉 Frequently Updated And Secured Codebase
|
84 |
+
👉 Option to disable default plugin stylesheet for theme developer
|
85 |
+
👉 Compatible With Popular WooCommerce Plugins Including <a href="http://bit.ly/woovs-org-item-page">WooCommerce Variation Image Gallery</a>
|
86 |
+
|
87 |
+
## 🏆 Users' Feedback For Variation Swatches For WooCommerce ##
|
88 |
+
|
89 |
+
[Tim Cumming, Founder at DevisionUK](https://wordpress.org/support/topic/outstanding-support-118):
|
90 |
+
> 'Really can’t rate this developer high enough!
|
91 |
+
|
92 |
+
Not only is the plugin super cool but their support, is utterly mind-blowing! I had reason to ask a question and, without hesitation, Ahmed logged into our site, had a look around and responded with a solution, all within the space of 5 minutes!!
|
93 |
+
|
94 |
+
It you’re looking for a great product with superlative support then look no further!'
|
95 |
+
|
96 |
+
[Ruben Zuidervaart](https://wordpress.org/support/topic/does-what-it-should-with-no-issues/):
|
97 |
+
> 'It just works, and the support is also pretty damn good for something that they offer for free.
|
98 |
|
99 |
+
Leaving a 5/5 is the least I could do 🙂'
|
100 |
+
|
101 |
+
[cl4udio](https://wordpress.org/support/topic/good-support-278/):
|
102 |
+
> 'I like this plugin! Works great and the customer support is the best. Love it!'
|
103 |
+
|
104 |
+
|
105 |
+
## PREMIUM FEATURES OF VARIATION SWATCHES FOR WOOCOMMERCE ##
|
106 |
|
107 |
[Live Demo](http://bit.ly/3rd-main-demo-readme) | [Upgrade to PRO](http://bit.ly/upgrade-to-pro-readme) | [Documentation](https://getwooplugins.com/documentation/woocommerce-variation-swatches/?utm_source=wordpress.org&utm_medium=README&utm_campaign=woo-variation-swatches) | [Support](https://getwooplugins.com/tickets/?utm_source=wordpress.org&utm_medium=README&utm_campaign=woo-variation-swatches)
|
108 |
|
109 |
+
👉 Auto Convert All Dropdowns to Image Swatch If Variation Has a Featured Image Set
|
110 |
+
[Live Demo & Documentation](http://j.mp/auto-image-swatches-insideplugin)
|
111 |
+
<hr />
|
112 |
+
👉 Multi Color Variation Swatches
|
113 |
+
[Live Demo & Documentation](http://j.mp/dual-color-doc-inside-plugin)
|
114 |
+
<hr />
|
115 |
+
👉 Show Entire Color, Image, Label And Radio Attributes Swatches In Catelog/ Category / Archive / Store/ Shop Pages
|
116 |
[Live Demo & Documentation](http://bit.ly/3rd-demo-acrhive-page-readme)
|
117 |
<hr />
|
118 |
+
👉 Show Selected Single Color or Image Or Label Attribute Swatches In Catelog/ Category / Archive / Store / Shop Pages
|
119 |
[Live Demo & Documentation](http://bit.ly/3rd-demo-readme-catalog-mode)
|
120 |
<hr />
|
121 |
+
👉 Convert attribute variations into radio button
|
122 |
[Live Demo & Documentation](http://bit.ly/3rd-demo-radio-readme)
|
123 |
<hr />
|
124 |
+
👉 Product Basis Attribute Swatches Type Change
|
125 |
[Live Demo & Documentation](http://bit.ly/3rd-demo-product-basis-product-type-change-readme)
|
126 |
<hr />
|
127 |
+
👉 Show All Color, Image & Button Swatches Type In the Same Attribute
|
128 |
[Live Demo & Documentation](http://bit.ly/3rd-readme-demo-show-all-variation-type-in-the-same-variation)
|
129 |
<hr />
|
130 |
+
👉 Insert New Image Replacing Globally Added Image For Image Variation Swatches In Each Product
|
131 |
[Live Demo & Documentation](http://bit.ly/3rd-demo-product-basis-image-change-readme)
|
132 |
<hr />
|
133 |
+
👉 Insert New Color Replacing Globally Added Color In Color Variation Swatches For Each Product
|
134 |
[Live Demo & Documentation](http://bit.ly/3rd-demo-product-basis-color-change-readme)
|
135 |
<hr />
|
136 |
+
👉 Convert Manually Created Attribute Variations Into Color, Image, and Label Swatches
|
137 |
[Live Demo & Documentation](http://bit.ly/manual-attribute-readme-video)
|
138 |
<hr />
|
139 |
+
👉 Change Variation Product Gallery After Selecting Single Attribute Like Amazon Or AliExpress
|
140 |
[Live Demo & Documentation](http://bit.ly/3rd-readme-demo-amazon)
|
141 |
<hr />
|
142 |
+
👉 Generate Selected Attribute Variation Link
|
143 |
[Live Demo & Documentation](http://bit.ly/3rd-demo-generate-link-readme)
|
144 |
<hr />
|
145 |
+
👉 Option to Select ROUNDED and SQUARED Attribute Variation Swatches Shape In the Same Product.
|
146 |
[Live Demo & Documentation](http://bit.ly/3rd-readme-demo-round-square)
|
147 |
<hr />
|
148 |
+
👉 Show Cross Sign For Out of Stock Variation Swatches (Unlimited Variations Without hiding out of stock item from catalog)
|
149 |
[Live Demo & Documentation](http://bit.ly/3rd-readme-demo-cross-out-of-stock-variations-more-than-30-variations)
|
150 |
<hr />
|
151 |
+
👉 Blur Out of Stock Variation Swatches (Unlimited Variations Without hiding out of stock item from catalog)
|
152 |
[Live Demo & Documentation](http://bit.ly/3rd-demo-readme-blur-out-of-stock-variations-more-than-30-variations)
|
153 |
<hr />
|
154 |
+
👉 Hide Out of Stock Variation Swatches (Unlimited Variations Without hiding out of stock item from catalog)
|
155 |
[Live Demo & Documentation](http://bit.ly/3rd-demo-readme-hide-out-of-stock-variations-more-than-30-variations)
|
156 |
<hr />
|
157 |
+
👉 Shop Page Swatches Size Control
|
158 |
[Live Demo & Documentation](http://bit.ly/3rd-readme-demo-shop-swatches-size)
|
159 |
<hr />
|
160 |
+
👉 Make Selected Attribute Variation Swatches Size Larger Than Other Default Attribute Variations
|
161 |
[Live Demo & Documentation](http://bit.ly/3rd-demo-readme-swatches-size-special-attribute)
|
162 |
<hr />
|
163 |
+
👉 Show Custom Text in Variation Tooltip
|
164 |
[Live Demo & Documentation](http://bit.ly/3rd-demo-readme-how-to-enable-text-tooltip)
|
165 |
<hr />
|
166 |
+
👉 Show Custom Image in Variation Tooltip
|
167 |
[Live Demo & Documentation](http://bit.ly/3rd-demo-readme-image-tooltip)
|
168 |
<hr />
|
169 |
+
👉 Swatches Border Styling
|
170 |
[Live Demo & Documentation](http://bit.ly/3rd-demo-readme-swatches-border-styling)
|
171 |
<hr />
|
172 |
+
👉 Hover Swatches Border Styling
|
173 |
[Live Demo & Documentation](http://bit.ly/3rd-demo-readme-hover-swatches-border-styling)
|
174 |
<hr />
|
175 |
+
👉 Active Swatches Border Styling
|
176 |
[Live Demo & Documentation](http://bit.ly/3rd-demo-readme-hover-swatches-border-styling)
|
177 |
<hr />
|
178 |
+
👉 Archive Page Swatches Alignment
|
179 |
[Live Demo & Documentation](http://bit.ly/3rd-demo-readme-shop-alignment)
|
180 |
<hr />
|
181 |
+
👉 Compatible with Printful, Alidrop, and Multivendor Plugins
|
182 |
+
👉 Customize Tooltip Text and Background Color
|
183 |
+
👉 Enable / Disable Ajax Variation
|
184 |
+
👉 Archive page swatches positioning
|
185 |
+
👉 Archive page swatches alignment
|
186 |
+
👉 Tooltip display setting on archive/shop page
|
187 |
+
👉 Variation clear button display setting.
|
188 |
+
👉 Customize Tooltip Text and Background Color
|
189 |
+
👉 Customize swatches colors, background and border sizes
|
190 |
+
👉 Automatic updates and exclusive technical support
|
191 |
+
|
192 |
+
## 🏆 Customers' Feedback For Variation Swatches For WooCommerce ##
|
193 |
+
|
194 |
+
[tysonfrantz](https://wordpress.org/support/topic/great-plugin-awesome-support-127):
|
195 |
+
> 'This is one of the best swatches plugin available. The thing that separates it from the rest is the amazing customer support. I had an issue with my website, and the friendly GetWooPlugins team was able to get it resolved quickly!'
|
196 |
+
|
197 |
+
[nevadauser1](https://wordpress.org/support/topic/the-best-support-ever-thank-you-guys/):
|
198 |
+
> 'These guys went above and beyond trying to help me out, I had an issue with my theme and one of the plugins after a woocommerce update and they really did the best they could to help me solve the problem! Thank you so much guys specially Shamser!'
|
199 |
+
|
200 |
+
[jeromepernin](https://wordpress.org/support/topic/top-587/):
|
201 |
+
> 'Super plugin! He literally saved 🙂 a huge thank you to Ahmed who provides extraordinary support. Congratulations to the whole team!'
|
202 |
+
|
203 |
+
Will be buying from you again!'
|
204 |
|
205 |
= Sites Built With Variation Swatches for WooCommerce Plugin =
|
206 |
|
366 |
|
367 |
== Changelog ==
|
368 |
|
369 |
+
= 1.0.63 =
|
370 |
+
|
371 |
+
* Add: Select attribute set type button by default.
|
372 |
+
* Fix: Transients issue.
|
373 |
+
|
374 |
= 1.0.62 =
|
375 |
|
376 |
* Add: WC 3.7 update
|
assets/css/admin.css
CHANGED
@@ -1,8 +1,8 @@
|
|
1 |
/*!
|
2 |
-
* Variation Swatches for WooCommerce v1.0.
|
3 |
*
|
4 |
* Author: Emran Ahmed ( emran.bd.08@gmail.com )
|
5 |
-
* Date:
|
6 |
* Released under the GPLv3 license.
|
7 |
*/
|
8 |
.button.button-danger {
|
1 |
/*!
|
2 |
+
* Variation Swatches for WooCommerce v1.0.63
|
3 |
*
|
4 |
* Author: Emran Ahmed ( emran.bd.08@gmail.com )
|
5 |
+
* Date: 10/2/2019, 10:06:05 PM
|
6 |
* Released under the GPLv3 license.
|
7 |
*/
|
8 |
.button.button-danger {
|
assets/css/admin.min.css
CHANGED
@@ -1,8 +1,8 @@
|
|
1 |
/*!
|
2 |
-
* Variation Swatches for WooCommerce v1.0.
|
3 |
*
|
4 |
* Author: Emran Ahmed ( emran.bd.08@gmail.com )
|
5 |
-
* Date:
|
6 |
* Released under the GPLv3 license.
|
7 |
*/
|
8 |
.button.button-danger{color:#fff;background-color:#af2d2b;border-color:#a62d2b;box-shadow:0 1px 0 #a72d2b;vertical-align:top}.button.button-danger.active,.button.button-danger:active,.button.button-danger:focus,.button.button-danger:hover{color:#fff;background:#c9302c}[data-depends]{display:none}.meta-image-field-wrapper{display:table}.meta-image-field-wrapper .button{margin:5px 0;display:block}.meta-image-field-wrapper .image-preview{display:table-cell;width:60px;padding-right:10px}.meta-image-field-wrapper .button-wrapper{display:table-cell;vertical-align:top}.gwp-rate-stars{display:inline-block;color:#ffb900;position:relative;top:3px}.gwp-rate-stars svg,.gwp-rate-stars svg a{fill:#ffb900;stroke:#ffb900;cursor:pointer}.gwp-rate-stars svg:hover,.gwp-rate-stars svg a:hover{fill:#ffb900}.gwp-rate-stars svg:hover~svg,.gwp-rate-stars svg:hover~svg a,.gwp-rate-stars svg a:hover~svg,.gwp-rate-stars svg a:hover~svg a{fill:none}#wvs-meta-preview{width:30px}.wvs-preview{width:30px;height:30px;border:1px solid #000}#woo-variation-swatches-settings-wrap #settings-tabs{margin-top:30px}#woo-variation-swatches-settings-wrap #settings-tabs h2{font-size:1.5em;margin-bottom:10px}#woo-variation-swatches-settings-wrap #settings-tabs .form-table{margin-top:15px;background:#fff;border-radius:2px;box-shadow:0 0 0 1px rgba(0,0,0,.07),0 1px 1px rgba(0,0,0,.04)}#woo-variation-swatches-settings-wrap #settings-tabs .form-table tr{border-bottom:1px solid #eee;display:block}#woo-variation-swatches-settings-wrap #settings-tabs .form-table tr:last-child{border:0}#woo-variation-swatches-settings-wrap #settings-tabs .form-table th{padding:20px 10px 20px 20px}#woo-variation-swatches-settings-wrap #settings-tabs #special .form-table,#woo-variation-swatches-settings-wrap #settings-tabs #style .form-table{margin-bottom:30px}#woo-variation-swatches-settings-wrap #tutorial .form-table tr{padding:0!important}#woo-variation-swatches-settings-wrap #tutorial .gwp-tutorials-wrapper img{width:100%}#woo-variation-swatches-settings-wrap #tutorial .gwp-tutorials-wrapper ul{margin:0}#woo-variation-swatches-settings-wrap #tutorial .gwp-tutorials-wrapper li{overflow:hidden;display:flex;align-items:center;padding:50px 30px;margin:0;border-bottom:1px solid #ddd;position:relative}#woo-variation-swatches-settings-wrap #tutorial .gwp-tutorials-wrapper li:last-child{border:0}#woo-variation-swatches-settings-wrap #tutorial .gwp-tutorials-wrapper .tutorial-description-wrapper,#woo-variation-swatches-settings-wrap #tutorial .gwp-tutorials-wrapper .tutorial-image-wrapper{float:left;padding:0 20px;box-sizing:border-box}#woo-variation-swatches-settings-wrap #tutorial .gwp-tutorials-wrapper .tutorial-image-wrapper{width:60%}#woo-variation-swatches-settings-wrap #tutorial .gwp-tutorials-wrapper .tutorial-description-wrapper{width:40%}#woo-variation-swatches-settings-wrap #tutorial .gwp-tutorials-wrapper .tutorial-description-wrapper h3{margin:0 0 20px;font-size:1.5em}#woo-variation-swatches-settings-wrap #tutorial .gwp-tutorials-wrapper .tutorial-description-wrapper .tutorial-contents{font-size:15px;line-height:1.5em;margin-bottom:20px}#woo-variation-swatches-settings-wrap #tutorial .gwp-tutorials-wrapper .tutorial-description-wrapper .tutorial-buttons .button{border-radius:3px;line-height:1;padding:13px 20px;font-size:13px;height:40px;box-shadow:none;text-shadow:none}#woo-variation-swatches-settings-wrap #tutorial .gwp-tutorials-wrapper .tutorial-description-wrapper .tutorial-buttons .button:active{-webkit-transform:translateY(0);transform:translateY(0)}#woo-variation-swatches-settings-wrap #tutorial .gwp-tutorials-wrapper .tutorial-description-wrapper .tutorial-buttons .button.button-live-demo{background-color:#fff;color:#333;border:1px solid #eee}#woo-variation-swatches-settings-wrap #tutorial .gwp-tutorials-wrapper .tutorial-description-wrapper .tutorial-buttons .button.button-live-demo:hover{background:#eee}#woo-variation-swatches-settings-wrap #tutorial .gwp-tutorials-wrapper .tutorial-description-wrapper .tutorial-buttons .button.button-docs{background-color:#36373a;color:#fff;border:1px solid #36373a}#woo-variation-swatches-settings-wrap #tutorial .gwp-tutorials-wrapper .tutorial-description-wrapper .tutorial-buttons .button.button-docs:hover{background:#5d5e61;border-color:#5d5e61}#woo-variation-swatches-settings-wrap #tutorial .gwp-tutorials-wrapper .tutorial-description-wrapper .tutorial-buttons .button.button-pro{background-color:#39b54a;color:#fff;border:1px solid #39b54a}#woo-variation-swatches-settings-wrap #tutorial .gwp-tutorials-wrapper .tutorial-description-wrapper .tutorial-buttons .button.button-pro:hover{background:#3fc851;border-color:#3fc851}#woo-variation-swatches-settings-wrap #tutorial .gwp-tutorials-wrapper .tutorial-image-wrapper{position:relative}#woo-variation-swatches-settings-wrap #tutorial .gwp-tutorials-wrapper .tutorial-image-wrapper .ribbon{position:absolute;left:-5px;top:-5px;z-index:1;overflow:hidden;width:75px;height:75px;text-align:right;margin:1px 22px}#woo-variation-swatches-settings-wrap #tutorial .gwp-tutorials-wrapper .tutorial-image-wrapper .ribbon span{font-size:10px;font-weight:700;color:#fff;text-transform:uppercase;text-align:center;line-height:20px;-webkit-transform:rotate(-45deg);transform:rotate(-45deg);width:100px;display:block;background:#bc0808;box-shadow:0 3px 10px -5px #000;position:absolute;top:19px;left:-21px}#woo-variation-swatches-settings-wrap #tutorial .gwp-tutorials-wrapper .tutorial-image-wrapper .ribbon span:before{content:"";position:absolute;left:0;top:100%;z-index:-1;border-left:3px solid #8f0808;border-right:3px solid transparent;border-bottom:3px solid transparent;border-top:3px solid #8f0808}#woo-variation-swatches-settings-wrap #tutorial .gwp-tutorials-wrapper .tutorial-image-wrapper .ribbon span:after{content:"";position:absolute;right:0;top:100%;z-index:-1;border-left:3px solid transparent;border-right:3px solid #8f0808;border-bottom:3px solid transparent;border-top:3px solid #8f0808}#woo-variation-swatches-settings-wrap .nav-tab-wrapper .pro-tab{position:relative}#woo-variation-swatches-settings-wrap .nav-tab-wrapper .pro-tab:before{content:attr(data-pro-text);position:absolute;right:5px;top:0;-webkit-transform:translateY(-50%);transform:translateY(-50%);background:#ff5722;color:#fff;font-size:8px;font-weight:400;text-transform:uppercase;padding:3px 5px;line-height:1;border-radius:10px}.woo-variation-swatches-pro_tab.pro-inactive a{background-color:#ff9800;color:#fff}
|
1 |
/*!
|
2 |
+
* Variation Swatches for WooCommerce v1.0.63
|
3 |
*
|
4 |
* Author: Emran Ahmed ( emran.bd.08@gmail.com )
|
5 |
+
* Date: 10/2/2019, 10:06:12 PM
|
6 |
* Released under the GPLv3 license.
|
7 |
*/
|
8 |
.button.button-danger{color:#fff;background-color:#af2d2b;border-color:#a62d2b;box-shadow:0 1px 0 #a72d2b;vertical-align:top}.button.button-danger.active,.button.button-danger:active,.button.button-danger:focus,.button.button-danger:hover{color:#fff;background:#c9302c}[data-depends]{display:none}.meta-image-field-wrapper{display:table}.meta-image-field-wrapper .button{margin:5px 0;display:block}.meta-image-field-wrapper .image-preview{display:table-cell;width:60px;padding-right:10px}.meta-image-field-wrapper .button-wrapper{display:table-cell;vertical-align:top}.gwp-rate-stars{display:inline-block;color:#ffb900;position:relative;top:3px}.gwp-rate-stars svg,.gwp-rate-stars svg a{fill:#ffb900;stroke:#ffb900;cursor:pointer}.gwp-rate-stars svg:hover,.gwp-rate-stars svg a:hover{fill:#ffb900}.gwp-rate-stars svg:hover~svg,.gwp-rate-stars svg:hover~svg a,.gwp-rate-stars svg a:hover~svg,.gwp-rate-stars svg a:hover~svg a{fill:none}#wvs-meta-preview{width:30px}.wvs-preview{width:30px;height:30px;border:1px solid #000}#woo-variation-swatches-settings-wrap #settings-tabs{margin-top:30px}#woo-variation-swatches-settings-wrap #settings-tabs h2{font-size:1.5em;margin-bottom:10px}#woo-variation-swatches-settings-wrap #settings-tabs .form-table{margin-top:15px;background:#fff;border-radius:2px;box-shadow:0 0 0 1px rgba(0,0,0,.07),0 1px 1px rgba(0,0,0,.04)}#woo-variation-swatches-settings-wrap #settings-tabs .form-table tr{border-bottom:1px solid #eee;display:block}#woo-variation-swatches-settings-wrap #settings-tabs .form-table tr:last-child{border:0}#woo-variation-swatches-settings-wrap #settings-tabs .form-table th{padding:20px 10px 20px 20px}#woo-variation-swatches-settings-wrap #settings-tabs #special .form-table,#woo-variation-swatches-settings-wrap #settings-tabs #style .form-table{margin-bottom:30px}#woo-variation-swatches-settings-wrap #tutorial .form-table tr{padding:0!important}#woo-variation-swatches-settings-wrap #tutorial .gwp-tutorials-wrapper img{width:100%}#woo-variation-swatches-settings-wrap #tutorial .gwp-tutorials-wrapper ul{margin:0}#woo-variation-swatches-settings-wrap #tutorial .gwp-tutorials-wrapper li{overflow:hidden;display:flex;align-items:center;padding:50px 30px;margin:0;border-bottom:1px solid #ddd;position:relative}#woo-variation-swatches-settings-wrap #tutorial .gwp-tutorials-wrapper li:last-child{border:0}#woo-variation-swatches-settings-wrap #tutorial .gwp-tutorials-wrapper .tutorial-description-wrapper,#woo-variation-swatches-settings-wrap #tutorial .gwp-tutorials-wrapper .tutorial-image-wrapper{float:left;padding:0 20px;box-sizing:border-box}#woo-variation-swatches-settings-wrap #tutorial .gwp-tutorials-wrapper .tutorial-image-wrapper{width:60%}#woo-variation-swatches-settings-wrap #tutorial .gwp-tutorials-wrapper .tutorial-description-wrapper{width:40%}#woo-variation-swatches-settings-wrap #tutorial .gwp-tutorials-wrapper .tutorial-description-wrapper h3{margin:0 0 20px;font-size:1.5em}#woo-variation-swatches-settings-wrap #tutorial .gwp-tutorials-wrapper .tutorial-description-wrapper .tutorial-contents{font-size:15px;line-height:1.5em;margin-bottom:20px}#woo-variation-swatches-settings-wrap #tutorial .gwp-tutorials-wrapper .tutorial-description-wrapper .tutorial-buttons .button{border-radius:3px;line-height:1;padding:13px 20px;font-size:13px;height:40px;box-shadow:none;text-shadow:none}#woo-variation-swatches-settings-wrap #tutorial .gwp-tutorials-wrapper .tutorial-description-wrapper .tutorial-buttons .button:active{-webkit-transform:translateY(0);transform:translateY(0)}#woo-variation-swatches-settings-wrap #tutorial .gwp-tutorials-wrapper .tutorial-description-wrapper .tutorial-buttons .button.button-live-demo{background-color:#fff;color:#333;border:1px solid #eee}#woo-variation-swatches-settings-wrap #tutorial .gwp-tutorials-wrapper .tutorial-description-wrapper .tutorial-buttons .button.button-live-demo:hover{background:#eee}#woo-variation-swatches-settings-wrap #tutorial .gwp-tutorials-wrapper .tutorial-description-wrapper .tutorial-buttons .button.button-docs{background-color:#36373a;color:#fff;border:1px solid #36373a}#woo-variation-swatches-settings-wrap #tutorial .gwp-tutorials-wrapper .tutorial-description-wrapper .tutorial-buttons .button.button-docs:hover{background:#5d5e61;border-color:#5d5e61}#woo-variation-swatches-settings-wrap #tutorial .gwp-tutorials-wrapper .tutorial-description-wrapper .tutorial-buttons .button.button-pro{background-color:#39b54a;color:#fff;border:1px solid #39b54a}#woo-variation-swatches-settings-wrap #tutorial .gwp-tutorials-wrapper .tutorial-description-wrapper .tutorial-buttons .button.button-pro:hover{background:#3fc851;border-color:#3fc851}#woo-variation-swatches-settings-wrap #tutorial .gwp-tutorials-wrapper .tutorial-image-wrapper{position:relative}#woo-variation-swatches-settings-wrap #tutorial .gwp-tutorials-wrapper .tutorial-image-wrapper .ribbon{position:absolute;left:-5px;top:-5px;z-index:1;overflow:hidden;width:75px;height:75px;text-align:right;margin:1px 22px}#woo-variation-swatches-settings-wrap #tutorial .gwp-tutorials-wrapper .tutorial-image-wrapper .ribbon span{font-size:10px;font-weight:700;color:#fff;text-transform:uppercase;text-align:center;line-height:20px;-webkit-transform:rotate(-45deg);transform:rotate(-45deg);width:100px;display:block;background:#bc0808;box-shadow:0 3px 10px -5px #000;position:absolute;top:19px;left:-21px}#woo-variation-swatches-settings-wrap #tutorial .gwp-tutorials-wrapper .tutorial-image-wrapper .ribbon span:before{content:"";position:absolute;left:0;top:100%;z-index:-1;border-left:3px solid #8f0808;border-right:3px solid transparent;border-bottom:3px solid transparent;border-top:3px solid #8f0808}#woo-variation-swatches-settings-wrap #tutorial .gwp-tutorials-wrapper .tutorial-image-wrapper .ribbon span:after{content:"";position:absolute;right:0;top:100%;z-index:-1;border-left:3px solid transparent;border-right:3px solid #8f0808;border-bottom:3px solid transparent;border-top:3px solid #8f0808}#woo-variation-swatches-settings-wrap .nav-tab-wrapper .pro-tab{position:relative}#woo-variation-swatches-settings-wrap .nav-tab-wrapper .pro-tab:before{content:attr(data-pro-text);position:absolute;right:5px;top:0;-webkit-transform:translateY(-50%);transform:translateY(-50%);background:#ff5722;color:#fff;font-size:8px;font-weight:400;text-transform:uppercase;padding:3px 5px;line-height:1;border-radius:10px}.woo-variation-swatches-pro_tab.pro-inactive a{background-color:#ff9800;color:#fff}
|
assets/css/frontend-tooltip.css
CHANGED
@@ -1,8 +1,8 @@
|
|
1 |
/*!
|
2 |
-
* Variation Swatches for WooCommerce v1.0.
|
3 |
*
|
4 |
* Author: Emran Ahmed ( emran.bd.08@gmail.com )
|
5 |
-
* Date:
|
6 |
* Released under the GPLv3 license.
|
7 |
*/
|
8 |
.variable-items-wrapper [data-wvstooltip] {
|
1 |
/*!
|
2 |
+
* Variation Swatches for WooCommerce v1.0.63
|
3 |
*
|
4 |
* Author: Emran Ahmed ( emran.bd.08@gmail.com )
|
5 |
+
* Date: 10/2/2019, 10:06:05 PM
|
6 |
* Released under the GPLv3 license.
|
7 |
*/
|
8 |
.variable-items-wrapper [data-wvstooltip] {
|
assets/css/frontend-tooltip.min.css
CHANGED
@@ -1,8 +1,8 @@
|
|
1 |
/*!
|
2 |
-
* Variation Swatches for WooCommerce v1.0.
|
3 |
*
|
4 |
* Author: Emran Ahmed ( emran.bd.08@gmail.com )
|
5 |
-
* Date:
|
6 |
* Released under the GPLv3 license.
|
7 |
*/
|
8 |
.variable-items-wrapper [data-wvstooltip]{position:relative;cursor:pointer;outline:none}.variable-items-wrapper [data-wvstooltip]:after,.variable-items-wrapper [data-wvstooltip]:before{visibility:hidden;opacity:0;pointer-events:none;box-sizing:inherit;position:absolute;bottom:130%;left:50%;z-index:999;-webkit-transform:translateZ(0);transform:translateZ(0)}.variable-items-wrapper [data-wvstooltip]:before{margin-bottom:5px;margin-left:-50px;padding:7px;min-width:100px;border-radius:3px;background-color:#000;background-color:rgba(51,51,51,.9);color:#fff;content:attr(data-wvstooltip);text-align:center;font-size:14px;line-height:1.2}.variable-items-wrapper [data-wvstooltip]:after{margin-left:-5px;width:0;border-top:5px solid #000;border-top:5px solid rgba(51,51,51,.9);border-right:5px solid transparent;border-left:5px solid transparent;content:" ";font-size:0;line-height:0}.variable-items-wrapper [data-wvstooltip]:active:after,.variable-items-wrapper [data-wvstooltip]:active:before,.variable-items-wrapper [data-wvstooltip]:focus:after,.variable-items-wrapper [data-wvstooltip]:focus:before,.variable-items-wrapper [data-wvstooltip]:hover:after,.variable-items-wrapper [data-wvstooltip]:hover:before{bottom:120%;visibility:visible;opacity:1}.variable-items-wrapper .image-tooltip-wrapper{position:absolute;bottom:140%;border-width:2px;border-style:solid;box-shadow:0 7px 15px rgba(0,0,0,.3);line-height:0;visibility:hidden;opacity:0;pointer-events:none;transition:all .2s linear;z-index:999}.variable-items-wrapper .image-tooltip-wrapper img{border-radius:0!important}.variable-items-wrapper .image-tooltip-wrapper:after{content:"";bottom:-16px;display:block;position:absolute;border-radius:0!important;left:50%;-webkit-transform:translateX(-50%);transform:translateX(-50%);border:8px solid transparent}.variable-items-wrapper .variable-item:active .image-tooltip-wrapper,.variable-items-wrapper .variable-item:focus .image-tooltip-wrapper,.variable-items-wrapper .variable-item:hover .image-tooltip-wrapper{bottom:130%;visibility:visible;opacity:1}
|
1 |
/*!
|
2 |
+
* Variation Swatches for WooCommerce v1.0.63
|
3 |
*
|
4 |
* Author: Emran Ahmed ( emran.bd.08@gmail.com )
|
5 |
+
* Date: 10/2/2019, 10:06:12 PM
|
6 |
* Released under the GPLv3 license.
|
7 |
*/
|
8 |
.variable-items-wrapper [data-wvstooltip]{position:relative;cursor:pointer;outline:none}.variable-items-wrapper [data-wvstooltip]:after,.variable-items-wrapper [data-wvstooltip]:before{visibility:hidden;opacity:0;pointer-events:none;box-sizing:inherit;position:absolute;bottom:130%;left:50%;z-index:999;-webkit-transform:translateZ(0);transform:translateZ(0)}.variable-items-wrapper [data-wvstooltip]:before{margin-bottom:5px;margin-left:-50px;padding:7px;min-width:100px;border-radius:3px;background-color:#000;background-color:rgba(51,51,51,.9);color:#fff;content:attr(data-wvstooltip);text-align:center;font-size:14px;line-height:1.2}.variable-items-wrapper [data-wvstooltip]:after{margin-left:-5px;width:0;border-top:5px solid #000;border-top:5px solid rgba(51,51,51,.9);border-right:5px solid transparent;border-left:5px solid transparent;content:" ";font-size:0;line-height:0}.variable-items-wrapper [data-wvstooltip]:active:after,.variable-items-wrapper [data-wvstooltip]:active:before,.variable-items-wrapper [data-wvstooltip]:focus:after,.variable-items-wrapper [data-wvstooltip]:focus:before,.variable-items-wrapper [data-wvstooltip]:hover:after,.variable-items-wrapper [data-wvstooltip]:hover:before{bottom:120%;visibility:visible;opacity:1}.variable-items-wrapper .image-tooltip-wrapper{position:absolute;bottom:140%;border-width:2px;border-style:solid;box-shadow:0 7px 15px rgba(0,0,0,.3);line-height:0;visibility:hidden;opacity:0;pointer-events:none;transition:all .2s linear;z-index:999}.variable-items-wrapper .image-tooltip-wrapper img{border-radius:0!important}.variable-items-wrapper .image-tooltip-wrapper:after{content:"";bottom:-16px;display:block;position:absolute;border-radius:0!important;left:50%;-webkit-transform:translateX(-50%);transform:translateX(-50%);border:8px solid transparent}.variable-items-wrapper .variable-item:active .image-tooltip-wrapper,.variable-items-wrapper .variable-item:focus .image-tooltip-wrapper,.variable-items-wrapper .variable-item:hover .image-tooltip-wrapper{bottom:130%;visibility:visible;opacity:1}
|
assets/css/frontend.css
CHANGED
@@ -1,8 +1,8 @@
|
|
1 |
/*!
|
2 |
-
* Variation Swatches for WooCommerce v1.0.
|
3 |
*
|
4 |
* Author: Emran Ahmed ( emran.bd.08@gmail.com )
|
5 |
-
* Date:
|
6 |
* Released under the GPLv3 license.
|
7 |
*/
|
8 |
.woo-variation-swatches-stylesheet-enabled .woo-variation-raw-select,
|
1 |
/*!
|
2 |
+
* Variation Swatches for WooCommerce v1.0.63
|
3 |
*
|
4 |
* Author: Emran Ahmed ( emran.bd.08@gmail.com )
|
5 |
+
* Date: 10/2/2019, 10:06:05 PM
|
6 |
* Released under the GPLv3 license.
|
7 |
*/
|
8 |
.woo-variation-swatches-stylesheet-enabled .woo-variation-raw-select,
|
assets/css/frontend.min.css
CHANGED
@@ -1,8 +1,8 @@
|
|
1 |
/*!
|
2 |
-
* Variation Swatches for WooCommerce v1.0.
|
3 |
*
|
4 |
* Author: Emran Ahmed ( emran.bd.08@gmail.com )
|
5 |
-
* Date:
|
6 |
* Released under the GPLv3 license.
|
7 |
*/
|
8 |
.woo-variation-swatches-stylesheet-enabled .woo-variation-raw-select,.woo-variation-swatches-stylesheet-enabled .woo-variation-raw-select+.select2{display:none!important}.woo-variation-swatches-stylesheet-enabled .variable-items-wrapper{display:flex;flex-wrap:wrap;margin:0;padding:0;list-style:none}.woo-variation-swatches-stylesheet-enabled .variable-items-wrapper .variable-item{margin:0;padding:0;list-style:none;transition:all .2s ease;position:relative}.woo-variation-swatches-stylesheet-enabled .variable-items-wrapper .variable-item img{margin:0;padding:0;width:100%}.woo-variation-swatches-stylesheet-enabled .variable-items-wrapper.radio-variable-wrapper{display:block}.woo-variation-swatches-stylesheet-enabled .variable-items-wrapper.radio-variable-wrapper .radio-variable-item{box-sizing:border-box;display:block;list-style:none;cursor:pointer;margin:0}.woo-variation-swatches-stylesheet-enabled .variable-items-wrapper.radio-variable-wrapper .radio-variable-item input,.woo-variation-swatches-stylesheet-enabled .variable-items-wrapper.radio-variable-wrapper .radio-variable-item label{cursor:pointer}.woo-variation-swatches-stylesheet-enabled .variable-items-wrapper.radio-variable-wrapper .radio-variable-item input{width:auto;margin-right:5px}.woo-variation-swatches-stylesheet-enabled .variable-items-wrapper.radio-variable-wrapper .radio-variable-item label{font-weight:400;font-size:14px;display:inline-block}.woo-variation-swatches-stylesheet-enabled .variable-items-wrapper .variable-item:not(.radio-variable-item){box-sizing:border-box;cursor:pointer;display:flex;justify-content:center;align-items:center;background-color:#fff;box-shadow:0 0 0 1px rgba(0,0,0,.3);padding:2px;margin:4px 8px 4px 0}.woo-variation-swatches-stylesheet-enabled .variable-items-wrapper .variable-item:not(.radio-variable-item):last-of-type{margin-right:0}.woo-variation-swatches-stylesheet-enabled .variable-items-wrapper .variable-item:not(.radio-variable-item):hover{box-shadow:0 0 0 3px rgba(0,0,0,.1)}.woo-variation-swatches-stylesheet-enabled .variable-items-wrapper .variable-item:not(.radio-variable-item).selected,.woo-variation-swatches-stylesheet-enabled .variable-items-wrapper .variable-item:not(.radio-variable-item).selected:hover{box-shadow:0 0 0 2px rgba(0,0,0,.9)}.woo-variation-swatches-stylesheet-enabled .variable-items-wrapper .variable-item:not(.radio-variable-item).color-variable-item .variable-item-span-color{width:100%;height:100%;position:relative}.woo-variation-swatches-stylesheet-enabled .variable-items-wrapper .variable-item:not(.radio-variable-item).color-variable-item .variable-item-span-color:after{position:absolute;content:"";width:100%;height:100%;top:0;left:0;box-shadow:inset 0 0 1px 0 rgba(0,0,0,.5)}.woo-variation-swatches-stylesheet-enabled .variable-items-wrapper .variable-item:not(.radio-variable-item).button-variable-item{text-align:center}.woo-variation-swatches-stylesheet-enabled.woo-variation-swatches-style-rounded .variable-items-wrapper .variable-item,.woo-variation-swatches-stylesheet-enabled.woo-variation-swatches-style-rounded .variable-items-wrapper .variable-item .variable-item-span,.woo-variation-swatches-stylesheet-enabled.woo-variation-swatches-style-rounded .variable-items-wrapper .variable-item .variable-item-span:after,.woo-variation-swatches-stylesheet-enabled.woo-variation-swatches-style-rounded .variable-items-wrapper .variable-item img{border-radius:100%}.woo-variation-swatches-stylesheet-enabled.woo-variation-swatches-style-squared .variable-items-wrapper .variable-item{border-radius:2px}.woo-variation-swatches-stylesheet-enabled.woo-variation-swatches-style-squared .variable-items-wrapper .variable-item.button-variable-item{width:auto}.woo-variation-swatches-stylesheet-enabled.woo-variation-swatches-style-squared .variable-items-wrapper .variable-item.button-variable-item .variable-item-span{padding:0 5px}.woo-variation-swatches-stylesheet-enabled.woo-variation-swatches-style-squared .variable-items-wrapper .variable-item.color-variable-item span:after{border-radius:0}.woo-variation-swatches-stylesheet-enabled.woo-variation-swatches-attribute-behavior-blur .variable-item:not(.radio-variable-item).disabled,.woo-variation-swatches-stylesheet-enabled.woo-variation-swatches-attribute-behavior-blur .variable-item:not(.radio-variable-item).disabled:hover{cursor:not-allowed;box-shadow:0 0 0 1px rgba(0,0,0,.05);pointer-events:none;position:relative;overflow:hidden}.woo-variation-swatches-stylesheet-enabled.woo-variation-swatches-attribute-behavior-blur .variable-item:not(.radio-variable-item).disabled:hover img,.woo-variation-swatches-stylesheet-enabled.woo-variation-swatches-attribute-behavior-blur .variable-item:not(.radio-variable-item).disabled:hover span,.woo-variation-swatches-stylesheet-enabled.woo-variation-swatches-attribute-behavior-blur .variable-item:not(.radio-variable-item).disabled img,.woo-variation-swatches-stylesheet-enabled.woo-variation-swatches-attribute-behavior-blur .variable-item:not(.radio-variable-item).disabled span{opacity:.3}.woo-variation-swatches-stylesheet-enabled.woo-variation-swatches-attribute-behavior-blur .variable-item:not(.radio-variable-item).disabled:after,.woo-variation-swatches-stylesheet-enabled.woo-variation-swatches-attribute-behavior-blur .variable-item:not(.radio-variable-item).disabled:before,.woo-variation-swatches-stylesheet-enabled.woo-variation-swatches-attribute-behavior-blur .variable-item:not(.radio-variable-item).disabled:hover:after,.woo-variation-swatches-stylesheet-enabled.woo-variation-swatches-attribute-behavior-blur .variable-item:not(.radio-variable-item).disabled:hover:before{position:absolute;content:" "!important;width:100%;height:1px;background:red!important;left:0;right:0;bottom:0;top:50%;visibility:visible;opacity:1;border:0;margin:0!important;padding:0!important;min-width:auto;-webkit-transform-origin:center;transform-origin:center;z-index:0}.woo-variation-swatches-stylesheet-enabled.woo-variation-swatches-attribute-behavior-blur .variable-item:not(.radio-variable-item).disabled:before,.woo-variation-swatches-stylesheet-enabled.woo-variation-swatches-attribute-behavior-blur .variable-item:not(.radio-variable-item).disabled:hover:before{-webkit-transform:rotate(45deg);transform:rotate(45deg)}.woo-variation-swatches-stylesheet-enabled.woo-variation-swatches-attribute-behavior-blur .variable-item:not(.radio-variable-item).disabled:after,.woo-variation-swatches-stylesheet-enabled.woo-variation-swatches-attribute-behavior-blur .variable-item:not(.radio-variable-item).disabled:hover:after{-webkit-transform:rotate(-45deg);transform:rotate(-45deg)}.woo-variation-swatches-stylesheet-enabled.woo-variation-swatches-attribute-behavior-blur .radio-variable-item.disabled:hover input,.woo-variation-swatches-stylesheet-enabled.woo-variation-swatches-attribute-behavior-blur .radio-variable-item.disabled:hover label,.woo-variation-swatches-stylesheet-enabled.woo-variation-swatches-attribute-behavior-blur .radio-variable-item.disabled input,.woo-variation-swatches-stylesheet-enabled.woo-variation-swatches-attribute-behavior-blur .radio-variable-item.disabled label{cursor:not-allowed;text-decoration:line-through;opacity:.5}.woo-variation-swatches-stylesheet-enabled.woo-variation-swatches-attribute-behavior-blur .radio-variable-item.disabled:after,.woo-variation-swatches-stylesheet-enabled.woo-variation-swatches-attribute-behavior-blur .radio-variable-item.disabled:before,.woo-variation-swatches-stylesheet-enabled.woo-variation-swatches-attribute-behavior-blur .radio-variable-item.disabled:hover:after,.woo-variation-swatches-stylesheet-enabled.woo-variation-swatches-attribute-behavior-blur .radio-variable-item.disabled:hover:before{display:none}.woo-variation-swatches-stylesheet-enabled.woo-variation-swatches-attribute-behavior-blur-no-cross .variable-item:not(.radio-variable-item).disabled,.woo-variation-swatches-stylesheet-enabled.woo-variation-swatches-attribute-behavior-blur-no-cross .variable-item:not(.radio-variable-item).disabled:hover{pointer-events:none;box-shadow:0 0 0 1px rgba(0,0,0,.05);position:relative;overflow:hidden}.woo-variation-swatches-stylesheet-enabled.woo-variation-swatches-attribute-behavior-blur-no-cross .variable-item:not(.radio-variable-item).disabled:hover img,.woo-variation-swatches-stylesheet-enabled.woo-variation-swatches-attribute-behavior-blur-no-cross .variable-item:not(.radio-variable-item).disabled:hover span,.woo-variation-swatches-stylesheet-enabled.woo-variation-swatches-attribute-behavior-blur-no-cross .variable-item:not(.radio-variable-item).disabled img,.woo-variation-swatches-stylesheet-enabled.woo-variation-swatches-attribute-behavior-blur-no-cross .variable-item:not(.radio-variable-item).disabled span{opacity:.3}.woo-variation-swatches-stylesheet-enabled.woo-variation-swatches-attribute-behavior-blur-no-cross .radio-variable-item.disabled,.woo-variation-swatches-stylesheet-enabled.woo-variation-swatches-attribute-behavior-blur-no-cross .radio-variable-item.disabled:hover{overflow:hidden}.woo-variation-swatches-stylesheet-enabled.woo-variation-swatches-attribute-behavior-blur-no-cross .radio-variable-item.disabled:hover input,.woo-variation-swatches-stylesheet-enabled.woo-variation-swatches-attribute-behavior-blur-no-cross .radio-variable-item.disabled:hover label,.woo-variation-swatches-stylesheet-enabled.woo-variation-swatches-attribute-behavior-blur-no-cross .radio-variable-item.disabled input,.woo-variation-swatches-stylesheet-enabled.woo-variation-swatches-attribute-behavior-blur-no-cross .radio-variable-item.disabled label{pointer-events:none;opacity:.3}.woo-variation-swatches-stylesheet-enabled.woo-variation-swatches-attribute-behavior-hide .variable-item.disabled{opacity:0;visibility:hidden;-webkit-transform:scale(0);transform:scale(0);-webkit-transform-origin:center;transform-origin:center;width:0!important;height:0!important;padding:0!important;margin:0!important;min-width:0!important;min-height:0!important}.woo-variation-swatches-stylesheet-enabled.woo-variation-swatches-attribute-behavior-hide .variable-item.disabled.radio-variable-item{width:auto!important}.woo-variation-swatches-stylesheet-enabled.woo-variation-swatches-tooltip-enabled .radio-variable-item[data-wvstooltip]{position:relative}.woo-variation-swatches-stylesheet-enabled.woo-variation-swatches-tooltip-enabled .radio-variable-item[data-wvstooltip]:after,.woo-variation-swatches-stylesheet-enabled.woo-variation-swatches-tooltip-enabled .radio-variable-item[data-wvstooltip]:before{left:8px;bottom:100%}.woo-variation-swatches-stylesheet-enabled.woo-variation-swatches-tooltip-enabled .radio-variable-item .image-tooltip-wrapper{-webkit-transform:translateX(-50%);transform:translateX(-50%);left:8px}.woo-variation-swatches-stylesheet-enabled.woo-variation-swatches-tooltip-enabled.woo-variation-swatches-archive-align-center .wvs-archive-variation-wrapper .radio-variable-item[data-wvstooltip]:after,.woo-variation-swatches-stylesheet-enabled.woo-variation-swatches-tooltip-enabled.woo-variation-swatches-archive-align-center .wvs-archive-variation-wrapper .radio-variable-item[data-wvstooltip]:before{left:50%}.woo-variation-swatches-stylesheet-enabled.woo-variation-swatches-tooltip-enabled.woo-variation-swatches-archive-align-center .wvs-archive-variation-wrapper .radio-variable-item .image-tooltip-wrapper{-webkit-transform:translateX(-50%);transform:translateX(-50%);left:50%}.woo-variation-swatches-stylesheet-enabled.woo-variation-swatches-tooltip-enabled.woo-variation-swatches-archive-align-right .wvs-archive-variation-wrapper .radio-variable-item[data-wvstooltip]:after,.woo-variation-swatches-stylesheet-enabled.woo-variation-swatches-tooltip-enabled.woo-variation-swatches-archive-align-right .wvs-archive-variation-wrapper .radio-variable-item[data-wvstooltip]:before{left:100%}.woo-variation-swatches-stylesheet-enabled.woo-variation-swatches-tooltip-enabled.woo-variation-swatches-archive-align-right .wvs-archive-variation-wrapper .radio-variable-item .image-tooltip-wrapper{-webkit-transform:translateX(-50%);transform:translateX(-50%);left:100%}.woo-variation-swatches-stylesheet-enabled.rtl table.variations td.label{padding-left:15px;padding-right:0;text-align:left}.woo-variation-swatches-stylesheet-enabled.rtl .variable-items-wrapper .variable-item{text-align:right}.woo-variation-swatches-stylesheet-enabled.rtl .variable-items-wrapper .variable-item:not(.radio-variable-item){margin:4px 0 4px 8px}.woo-variation-swatches-stylesheet-enabled.rtl .variable-items-wrapper.radio-variable-wrapper .radio-variable-item input{margin-right:0;margin-left:5px}.woo-variation-swatches-stylesheet-enabled.woocommerce .product.elementor table.variations td.value:before{display:none!important}.woo-variation-swatches-stylesheet-enabled.woo-variation-swatches-ie11 .variable-items-wrapper{display:block!important}.woo-variation-swatches-stylesheet-enabled.woo-variation-swatches-ie11 .variable-items-wrapper .variable-item:not(.radio-variable-item){float:left}
|
1 |
/*!
|
2 |
+
* Variation Swatches for WooCommerce v1.0.63
|
3 |
*
|
4 |
* Author: Emran Ahmed ( emran.bd.08@gmail.com )
|
5 |
+
* Date: 10/2/2019, 10:06:12 PM
|
6 |
* Released under the GPLv3 license.
|
7 |
*/
|
8 |
.woo-variation-swatches-stylesheet-enabled .woo-variation-raw-select,.woo-variation-swatches-stylesheet-enabled .woo-variation-raw-select+.select2{display:none!important}.woo-variation-swatches-stylesheet-enabled .variable-items-wrapper{display:flex;flex-wrap:wrap;margin:0;padding:0;list-style:none}.woo-variation-swatches-stylesheet-enabled .variable-items-wrapper .variable-item{margin:0;padding:0;list-style:none;transition:all .2s ease;position:relative}.woo-variation-swatches-stylesheet-enabled .variable-items-wrapper .variable-item img{margin:0;padding:0;width:100%}.woo-variation-swatches-stylesheet-enabled .variable-items-wrapper.radio-variable-wrapper{display:block}.woo-variation-swatches-stylesheet-enabled .variable-items-wrapper.radio-variable-wrapper .radio-variable-item{box-sizing:border-box;display:block;list-style:none;cursor:pointer;margin:0}.woo-variation-swatches-stylesheet-enabled .variable-items-wrapper.radio-variable-wrapper .radio-variable-item input,.woo-variation-swatches-stylesheet-enabled .variable-items-wrapper.radio-variable-wrapper .radio-variable-item label{cursor:pointer}.woo-variation-swatches-stylesheet-enabled .variable-items-wrapper.radio-variable-wrapper .radio-variable-item input{width:auto;margin-right:5px}.woo-variation-swatches-stylesheet-enabled .variable-items-wrapper.radio-variable-wrapper .radio-variable-item label{font-weight:400;font-size:14px;display:inline-block}.woo-variation-swatches-stylesheet-enabled .variable-items-wrapper .variable-item:not(.radio-variable-item){box-sizing:border-box;cursor:pointer;display:flex;justify-content:center;align-items:center;background-color:#fff;box-shadow:0 0 0 1px rgba(0,0,0,.3);padding:2px;margin:4px 8px 4px 0}.woo-variation-swatches-stylesheet-enabled .variable-items-wrapper .variable-item:not(.radio-variable-item):last-of-type{margin-right:0}.woo-variation-swatches-stylesheet-enabled .variable-items-wrapper .variable-item:not(.radio-variable-item):hover{box-shadow:0 0 0 3px rgba(0,0,0,.1)}.woo-variation-swatches-stylesheet-enabled .variable-items-wrapper .variable-item:not(.radio-variable-item).selected,.woo-variation-swatches-stylesheet-enabled .variable-items-wrapper .variable-item:not(.radio-variable-item).selected:hover{box-shadow:0 0 0 2px rgba(0,0,0,.9)}.woo-variation-swatches-stylesheet-enabled .variable-items-wrapper .variable-item:not(.radio-variable-item).color-variable-item .variable-item-span-color{width:100%;height:100%;position:relative}.woo-variation-swatches-stylesheet-enabled .variable-items-wrapper .variable-item:not(.radio-variable-item).color-variable-item .variable-item-span-color:after{position:absolute;content:"";width:100%;height:100%;top:0;left:0;box-shadow:inset 0 0 1px 0 rgba(0,0,0,.5)}.woo-variation-swatches-stylesheet-enabled .variable-items-wrapper .variable-item:not(.radio-variable-item).button-variable-item{text-align:center}.woo-variation-swatches-stylesheet-enabled.woo-variation-swatches-style-rounded .variable-items-wrapper .variable-item,.woo-variation-swatches-stylesheet-enabled.woo-variation-swatches-style-rounded .variable-items-wrapper .variable-item .variable-item-span,.woo-variation-swatches-stylesheet-enabled.woo-variation-swatches-style-rounded .variable-items-wrapper .variable-item .variable-item-span:after,.woo-variation-swatches-stylesheet-enabled.woo-variation-swatches-style-rounded .variable-items-wrapper .variable-item img{border-radius:100%}.woo-variation-swatches-stylesheet-enabled.woo-variation-swatches-style-squared .variable-items-wrapper .variable-item{border-radius:2px}.woo-variation-swatches-stylesheet-enabled.woo-variation-swatches-style-squared .variable-items-wrapper .variable-item.button-variable-item{width:auto}.woo-variation-swatches-stylesheet-enabled.woo-variation-swatches-style-squared .variable-items-wrapper .variable-item.button-variable-item .variable-item-span{padding:0 5px}.woo-variation-swatches-stylesheet-enabled.woo-variation-swatches-style-squared .variable-items-wrapper .variable-item.color-variable-item span:after{border-radius:0}.woo-variation-swatches-stylesheet-enabled.woo-variation-swatches-attribute-behavior-blur .variable-item:not(.radio-variable-item).disabled,.woo-variation-swatches-stylesheet-enabled.woo-variation-swatches-attribute-behavior-blur .variable-item:not(.radio-variable-item).disabled:hover{cursor:not-allowed;box-shadow:0 0 0 1px rgba(0,0,0,.05);pointer-events:none;position:relative;overflow:hidden}.woo-variation-swatches-stylesheet-enabled.woo-variation-swatches-attribute-behavior-blur .variable-item:not(.radio-variable-item).disabled:hover img,.woo-variation-swatches-stylesheet-enabled.woo-variation-swatches-attribute-behavior-blur .variable-item:not(.radio-variable-item).disabled:hover span,.woo-variation-swatches-stylesheet-enabled.woo-variation-swatches-attribute-behavior-blur .variable-item:not(.radio-variable-item).disabled img,.woo-variation-swatches-stylesheet-enabled.woo-variation-swatches-attribute-behavior-blur .variable-item:not(.radio-variable-item).disabled span{opacity:.3}.woo-variation-swatches-stylesheet-enabled.woo-variation-swatches-attribute-behavior-blur .variable-item:not(.radio-variable-item).disabled:after,.woo-variation-swatches-stylesheet-enabled.woo-variation-swatches-attribute-behavior-blur .variable-item:not(.radio-variable-item).disabled:before,.woo-variation-swatches-stylesheet-enabled.woo-variation-swatches-attribute-behavior-blur .variable-item:not(.radio-variable-item).disabled:hover:after,.woo-variation-swatches-stylesheet-enabled.woo-variation-swatches-attribute-behavior-blur .variable-item:not(.radio-variable-item).disabled:hover:before{position:absolute;content:" "!important;width:100%;height:1px;background:red!important;left:0;right:0;bottom:0;top:50%;visibility:visible;opacity:1;border:0;margin:0!important;padding:0!important;min-width:auto;-webkit-transform-origin:center;transform-origin:center;z-index:0}.woo-variation-swatches-stylesheet-enabled.woo-variation-swatches-attribute-behavior-blur .variable-item:not(.radio-variable-item).disabled:before,.woo-variation-swatches-stylesheet-enabled.woo-variation-swatches-attribute-behavior-blur .variable-item:not(.radio-variable-item).disabled:hover:before{-webkit-transform:rotate(45deg);transform:rotate(45deg)}.woo-variation-swatches-stylesheet-enabled.woo-variation-swatches-attribute-behavior-blur .variable-item:not(.radio-variable-item).disabled:after,.woo-variation-swatches-stylesheet-enabled.woo-variation-swatches-attribute-behavior-blur .variable-item:not(.radio-variable-item).disabled:hover:after{-webkit-transform:rotate(-45deg);transform:rotate(-45deg)}.woo-variation-swatches-stylesheet-enabled.woo-variation-swatches-attribute-behavior-blur .radio-variable-item.disabled:hover input,.woo-variation-swatches-stylesheet-enabled.woo-variation-swatches-attribute-behavior-blur .radio-variable-item.disabled:hover label,.woo-variation-swatches-stylesheet-enabled.woo-variation-swatches-attribute-behavior-blur .radio-variable-item.disabled input,.woo-variation-swatches-stylesheet-enabled.woo-variation-swatches-attribute-behavior-blur .radio-variable-item.disabled label{cursor:not-allowed;text-decoration:line-through;opacity:.5}.woo-variation-swatches-stylesheet-enabled.woo-variation-swatches-attribute-behavior-blur .radio-variable-item.disabled:after,.woo-variation-swatches-stylesheet-enabled.woo-variation-swatches-attribute-behavior-blur .radio-variable-item.disabled:before,.woo-variation-swatches-stylesheet-enabled.woo-variation-swatches-attribute-behavior-blur .radio-variable-item.disabled:hover:after,.woo-variation-swatches-stylesheet-enabled.woo-variation-swatches-attribute-behavior-blur .radio-variable-item.disabled:hover:before{display:none}.woo-variation-swatches-stylesheet-enabled.woo-variation-swatches-attribute-behavior-blur-no-cross .variable-item:not(.radio-variable-item).disabled,.woo-variation-swatches-stylesheet-enabled.woo-variation-swatches-attribute-behavior-blur-no-cross .variable-item:not(.radio-variable-item).disabled:hover{pointer-events:none;box-shadow:0 0 0 1px rgba(0,0,0,.05);position:relative;overflow:hidden}.woo-variation-swatches-stylesheet-enabled.woo-variation-swatches-attribute-behavior-blur-no-cross .variable-item:not(.radio-variable-item).disabled:hover img,.woo-variation-swatches-stylesheet-enabled.woo-variation-swatches-attribute-behavior-blur-no-cross .variable-item:not(.radio-variable-item).disabled:hover span,.woo-variation-swatches-stylesheet-enabled.woo-variation-swatches-attribute-behavior-blur-no-cross .variable-item:not(.radio-variable-item).disabled img,.woo-variation-swatches-stylesheet-enabled.woo-variation-swatches-attribute-behavior-blur-no-cross .variable-item:not(.radio-variable-item).disabled span{opacity:.3}.woo-variation-swatches-stylesheet-enabled.woo-variation-swatches-attribute-behavior-blur-no-cross .radio-variable-item.disabled,.woo-variation-swatches-stylesheet-enabled.woo-variation-swatches-attribute-behavior-blur-no-cross .radio-variable-item.disabled:hover{overflow:hidden}.woo-variation-swatches-stylesheet-enabled.woo-variation-swatches-attribute-behavior-blur-no-cross .radio-variable-item.disabled:hover input,.woo-variation-swatches-stylesheet-enabled.woo-variation-swatches-attribute-behavior-blur-no-cross .radio-variable-item.disabled:hover label,.woo-variation-swatches-stylesheet-enabled.woo-variation-swatches-attribute-behavior-blur-no-cross .radio-variable-item.disabled input,.woo-variation-swatches-stylesheet-enabled.woo-variation-swatches-attribute-behavior-blur-no-cross .radio-variable-item.disabled label{pointer-events:none;opacity:.3}.woo-variation-swatches-stylesheet-enabled.woo-variation-swatches-attribute-behavior-hide .variable-item.disabled{opacity:0;visibility:hidden;-webkit-transform:scale(0);transform:scale(0);-webkit-transform-origin:center;transform-origin:center;width:0!important;height:0!important;padding:0!important;margin:0!important;min-width:0!important;min-height:0!important}.woo-variation-swatches-stylesheet-enabled.woo-variation-swatches-attribute-behavior-hide .variable-item.disabled.radio-variable-item{width:auto!important}.woo-variation-swatches-stylesheet-enabled.woo-variation-swatches-tooltip-enabled .radio-variable-item[data-wvstooltip]{position:relative}.woo-variation-swatches-stylesheet-enabled.woo-variation-swatches-tooltip-enabled .radio-variable-item[data-wvstooltip]:after,.woo-variation-swatches-stylesheet-enabled.woo-variation-swatches-tooltip-enabled .radio-variable-item[data-wvstooltip]:before{left:8px;bottom:100%}.woo-variation-swatches-stylesheet-enabled.woo-variation-swatches-tooltip-enabled .radio-variable-item .image-tooltip-wrapper{-webkit-transform:translateX(-50%);transform:translateX(-50%);left:8px}.woo-variation-swatches-stylesheet-enabled.woo-variation-swatches-tooltip-enabled.woo-variation-swatches-archive-align-center .wvs-archive-variation-wrapper .radio-variable-item[data-wvstooltip]:after,.woo-variation-swatches-stylesheet-enabled.woo-variation-swatches-tooltip-enabled.woo-variation-swatches-archive-align-center .wvs-archive-variation-wrapper .radio-variable-item[data-wvstooltip]:before{left:50%}.woo-variation-swatches-stylesheet-enabled.woo-variation-swatches-tooltip-enabled.woo-variation-swatches-archive-align-center .wvs-archive-variation-wrapper .radio-variable-item .image-tooltip-wrapper{-webkit-transform:translateX(-50%);transform:translateX(-50%);left:50%}.woo-variation-swatches-stylesheet-enabled.woo-variation-swatches-tooltip-enabled.woo-variation-swatches-archive-align-right .wvs-archive-variation-wrapper .radio-variable-item[data-wvstooltip]:after,.woo-variation-swatches-stylesheet-enabled.woo-variation-swatches-tooltip-enabled.woo-variation-swatches-archive-align-right .wvs-archive-variation-wrapper .radio-variable-item[data-wvstooltip]:before{left:100%}.woo-variation-swatches-stylesheet-enabled.woo-variation-swatches-tooltip-enabled.woo-variation-swatches-archive-align-right .wvs-archive-variation-wrapper .radio-variable-item .image-tooltip-wrapper{-webkit-transform:translateX(-50%);transform:translateX(-50%);left:100%}.woo-variation-swatches-stylesheet-enabled.rtl table.variations td.label{padding-left:15px;padding-right:0;text-align:left}.woo-variation-swatches-stylesheet-enabled.rtl .variable-items-wrapper .variable-item{text-align:right}.woo-variation-swatches-stylesheet-enabled.rtl .variable-items-wrapper .variable-item:not(.radio-variable-item){margin:4px 0 4px 8px}.woo-variation-swatches-stylesheet-enabled.rtl .variable-items-wrapper.radio-variable-wrapper .radio-variable-item input{margin-right:0;margin-left:5px}.woo-variation-swatches-stylesheet-enabled.woocommerce .product.elementor table.variations td.value:before{display:none!important}.woo-variation-swatches-stylesheet-enabled.woo-variation-swatches-ie11 .variable-items-wrapper{display:block!important}.woo-variation-swatches-stylesheet-enabled.woo-variation-swatches-ie11 .variable-items-wrapper .variable-item:not(.radio-variable-item){float:left}
|
assets/css/gwp-admin-notice.css
CHANGED
@@ -1,8 +1,8 @@
|
|
1 |
/*!
|
2 |
-
* Variation Swatches for WooCommerce v1.0.
|
3 |
*
|
4 |
* Author: Emran Ahmed ( emran.bd.08@gmail.com )
|
5 |
-
* Date:
|
6 |
* Released under the GPLv3 license.
|
7 |
*/
|
8 |
.gwp-live-feed-contents {
|
1 |
/*!
|
2 |
+
* Variation Swatches for WooCommerce v1.0.63
|
3 |
*
|
4 |
* Author: Emran Ahmed ( emran.bd.08@gmail.com )
|
5 |
+
* Date: 10/2/2019, 10:06:05 PM
|
6 |
* Released under the GPLv3 license.
|
7 |
*/
|
8 |
.gwp-live-feed-contents {
|
assets/css/gwp-admin-notice.min.css
CHANGED
@@ -1,8 +1,8 @@
|
|
1 |
/*!
|
2 |
-
* Variation Swatches for WooCommerce v1.0.
|
3 |
*
|
4 |
* Author: Emran Ahmed ( emran.bd.08@gmail.com )
|
5 |
-
* Date:
|
6 |
* Released under the GPLv3 license.
|
7 |
*/
|
8 |
.gwp-live-feed-contents{position:relative;clear:both;overflow:hidden}.gwp-live-feed-contents.notice-info:before{content:"\F348";background:#41a1d3}.gwp-live-feed-contents.notice-success:before{content:"\F147";background:#46b450}.gwp-live-feed-contents.notice-error:before{content:"\F158";background:#dc3232}.gwp-live-feed-contents.notice-warning:before{content:"\F534";background:#f6ba33}.gwp-live-feed-contents.gwp-notice-required:before{content:"\F463";background:#ce3100;text-shadow:0 -1px 1px #ce3100}.gwp-live-feed-contents.gwp-notice-recommended:before{content:"\F529";background:#3d4046;text-shadow:0 -1px 1px #3d4046}.gwp-live-feed-contents.gwp-notice-recommended,.gwp-live-feed-contents.gwp-notice-required,.gwp-live-feed-contents.notice-error,.gwp-live-feed-contents.notice-info,.gwp-live-feed-contents.notice-success,.gwp-live-feed-contents.notice-warning{border:0;display:flex;align-items:stretch;padding:0;border-radius:4px}.gwp-live-feed-contents.gwp-notice-recommended:before,.gwp-live-feed-contents.gwp-notice-required:before,.gwp-live-feed-contents.notice-error:before,.gwp-live-feed-contents.notice-info:before,.gwp-live-feed-contents.notice-success:before,.gwp-live-feed-contents.notice-warning:before{font-family:dashicons;font-size:20px;color:#fff;padding:10px;display:flex;align-items:center}.gwp-live-feed-contents.gwp-notice-recommended .feed-message-wrapper,.gwp-live-feed-contents.gwp-notice-required .feed-message-wrapper,.gwp-live-feed-contents.notice-error .feed-message-wrapper,.gwp-live-feed-contents.notice-info .feed-message-wrapper,.gwp-live-feed-contents.notice-success .feed-message-wrapper,.gwp-live-feed-contents.notice-warning .feed-message-wrapper{padding:10px 60px 10px 20px}.gwp-live-feed-contents.gwp-notice-discount{border-radius:5px;border:0;display:flex;align-items:center;padding:0;max-width:750px;margin-left:auto;margin-right:auto;background:#594679}.gwp-live-feed-contents.gwp-notice-discount .feed-thumbnail-wrapper .attachment-thumbnail{display:block}.gwp-live-feed-contents.gwp-notice-discount .feed-message-wrapper{display:flex;justify-content:space-between;align-items:center;width:100%;color:#fff;text-shadow:0 -1px 1px #594679;padding:20px 30px 20px 20px}.gwp-live-feed-contents.gwp-notice-discount .feed-message-wrapper p{font-size:14px;margin:0;padding:0}.gwp-live-feed-contents.gwp-notice-discount .feed-message-wrapper span.big{font-weight:400;font-size:18px}.gwp-live-feed-contents.gwp-notice-discount .feed-message-wrapper strong{font-weight:800}.gwp-live-feed-contents.gwp-notice-discount .feed-message-wrapper .button-primary{font-size:16px;border-radius:30px;padding:0 25px;border:0;height:40px;line-height:40px}.gwp-live-feed-contents.gwp-notice-discount .gwp-live-feed-close{color:#fff;opacity:.5;font-size:12px}.gwp-live-feed-contents.gwp-notice-discount .gwp-live-feed-close:hover{opacity:1}.gwp-live-feed-contents.gwp-notice-discount .gwp-live-feed-close:before{color:#fff}.gwp-live-feed-contents.gwp-notice-pro{border-radius:5px;border:0;display:flex;align-items:center;padding:0;max-width:750px;margin-left:auto;margin-right:auto;background:#2196f3}.gwp-live-feed-contents.gwp-notice-pro .feed-message-wrapper{display:flex;justify-content:space-between;align-items:center;width:100%;color:#fff;text-shadow:0 -1px 1px #2196f3;padding:20px}.gwp-live-feed-contents.gwp-notice-pro .feed-message-wrapper p{font-size:14px;margin:0;padding:0}.gwp-live-feed-contents.gwp-notice-pro .feed-message-wrapper span.big{font-weight:400;font-size:18px}.gwp-live-feed-contents.gwp-notice-pro .feed-message-wrapper strong{font-weight:800}.gwp-live-feed-contents.gwp-notice-pro .feed-message-wrapper .button-upgrade{position:relative;font-size:16px;color:#fff;font-weight:600;text-decoration:none;padding:25px 25px 25px 80px;display:block;margin:-20px;background:#673ab7;text-shadow:0 -1px 1px #673ab7}.gwp-live-feed-contents.gwp-notice-pro .feed-message-wrapper .button-upgrade small{font-weight:300;display:block}.gwp-live-feed-contents.gwp-notice-pro .feed-message-wrapper .button-upgrade i{position:absolute;left:25px;font-size:36px;top:50%;-webkit-transform:translateY(-50%);transform:translateY(-50%);width:36px;height:36px}.gwp-live-feed-contents.gwp-notice-pro .feed-message-wrapper .button-upgrade:hover{background:#305af3;text-shadow:0 -1px 1px #305af3}.gwp-live-feed-contents.gwp-notice-pro .gwp-live-feed-close{color:#fff;opacity:.5;font-size:12px;z-index:1}.gwp-live-feed-contents.gwp-notice-pro .gwp-live-feed-close:hover{opacity:1}.gwp-live-feed-contents.gwp-notice-pro .gwp-live-feed-close:before{color:#fff}.gwp-live-feed-contents.gwp-notice-new{border:0;padding:0;max-width:750px;margin-left:auto;margin-right:auto;background:transparent;box-shadow:none}.gwp-live-feed-contents.gwp-notice-new .feed-message-wrapper,.gwp-live-feed-contents.gwp-notice-new .feed-message-wrapper img,.gwp-live-feed-contents.gwp-notice-new .feed-message-wrapper p{padding:0;margin:0}.gwp-live-feed-contents.gwp-notice-new .gwp-live-feed-close{color:rgba(0,0,0,.5);opacity:.5;font-size:12px}.gwp-live-feed-contents.gwp-notice-new .gwp-live-feed-close:hover{opacity:1}.gwp-live-feed-contents.gwp-notice-new .gwp-live-feed-close:before{color:rgba(0,0,0,.5)}.gwp-live-feed-contents .button-primary{background:#56bfd4;border-color:#3a9db1;box-shadow:inset 0 1px 0 hsla(0,0%,100%,.3);text-shadow:0 -1px 1px #238ea5}.gwp-live-feed-contents .button-primary:hover{background:#39b1ca;border-color:#3a9db1}.gwp-live-feed-contents .gwp-live-feed-close{display:flex;right:0;text-decoration:none;padding:10px 10px 10px 25px}.gwp-live-feed-contents .gwp-live-feed-close:before{display:inline-block}
|
1 |
/*!
|
2 |
+
* Variation Swatches for WooCommerce v1.0.63
|
3 |
*
|
4 |
* Author: Emran Ahmed ( emran.bd.08@gmail.com )
|
5 |
+
* Date: 10/2/2019, 10:06:12 PM
|
6 |
* Released under the GPLv3 license.
|
7 |
*/
|
8 |
.gwp-live-feed-contents{position:relative;clear:both;overflow:hidden}.gwp-live-feed-contents.notice-info:before{content:"\F348";background:#41a1d3}.gwp-live-feed-contents.notice-success:before{content:"\F147";background:#46b450}.gwp-live-feed-contents.notice-error:before{content:"\F158";background:#dc3232}.gwp-live-feed-contents.notice-warning:before{content:"\F534";background:#f6ba33}.gwp-live-feed-contents.gwp-notice-required:before{content:"\F463";background:#ce3100;text-shadow:0 -1px 1px #ce3100}.gwp-live-feed-contents.gwp-notice-recommended:before{content:"\F529";background:#3d4046;text-shadow:0 -1px 1px #3d4046}.gwp-live-feed-contents.gwp-notice-recommended,.gwp-live-feed-contents.gwp-notice-required,.gwp-live-feed-contents.notice-error,.gwp-live-feed-contents.notice-info,.gwp-live-feed-contents.notice-success,.gwp-live-feed-contents.notice-warning{border:0;display:flex;align-items:stretch;padding:0;border-radius:4px}.gwp-live-feed-contents.gwp-notice-recommended:before,.gwp-live-feed-contents.gwp-notice-required:before,.gwp-live-feed-contents.notice-error:before,.gwp-live-feed-contents.notice-info:before,.gwp-live-feed-contents.notice-success:before,.gwp-live-feed-contents.notice-warning:before{font-family:dashicons;font-size:20px;color:#fff;padding:10px;display:flex;align-items:center}.gwp-live-feed-contents.gwp-notice-recommended .feed-message-wrapper,.gwp-live-feed-contents.gwp-notice-required .feed-message-wrapper,.gwp-live-feed-contents.notice-error .feed-message-wrapper,.gwp-live-feed-contents.notice-info .feed-message-wrapper,.gwp-live-feed-contents.notice-success .feed-message-wrapper,.gwp-live-feed-contents.notice-warning .feed-message-wrapper{padding:10px 60px 10px 20px}.gwp-live-feed-contents.gwp-notice-discount{border-radius:5px;border:0;display:flex;align-items:center;padding:0;max-width:750px;margin-left:auto;margin-right:auto;background:#594679}.gwp-live-feed-contents.gwp-notice-discount .feed-thumbnail-wrapper .attachment-thumbnail{display:block}.gwp-live-feed-contents.gwp-notice-discount .feed-message-wrapper{display:flex;justify-content:space-between;align-items:center;width:100%;color:#fff;text-shadow:0 -1px 1px #594679;padding:20px 30px 20px 20px}.gwp-live-feed-contents.gwp-notice-discount .feed-message-wrapper p{font-size:14px;margin:0;padding:0}.gwp-live-feed-contents.gwp-notice-discount .feed-message-wrapper span.big{font-weight:400;font-size:18px}.gwp-live-feed-contents.gwp-notice-discount .feed-message-wrapper strong{font-weight:800}.gwp-live-feed-contents.gwp-notice-discount .feed-message-wrapper .button-primary{font-size:16px;border-radius:30px;padding:0 25px;border:0;height:40px;line-height:40px}.gwp-live-feed-contents.gwp-notice-discount .gwp-live-feed-close{color:#fff;opacity:.5;font-size:12px}.gwp-live-feed-contents.gwp-notice-discount .gwp-live-feed-close:hover{opacity:1}.gwp-live-feed-contents.gwp-notice-discount .gwp-live-feed-close:before{color:#fff}.gwp-live-feed-contents.gwp-notice-pro{border-radius:5px;border:0;display:flex;align-items:center;padding:0;max-width:750px;margin-left:auto;margin-right:auto;background:#2196f3}.gwp-live-feed-contents.gwp-notice-pro .feed-message-wrapper{display:flex;justify-content:space-between;align-items:center;width:100%;color:#fff;text-shadow:0 -1px 1px #2196f3;padding:20px}.gwp-live-feed-contents.gwp-notice-pro .feed-message-wrapper p{font-size:14px;margin:0;padding:0}.gwp-live-feed-contents.gwp-notice-pro .feed-message-wrapper span.big{font-weight:400;font-size:18px}.gwp-live-feed-contents.gwp-notice-pro .feed-message-wrapper strong{font-weight:800}.gwp-live-feed-contents.gwp-notice-pro .feed-message-wrapper .button-upgrade{position:relative;font-size:16px;color:#fff;font-weight:600;text-decoration:none;padding:25px 25px 25px 80px;display:block;margin:-20px;background:#673ab7;text-shadow:0 -1px 1px #673ab7}.gwp-live-feed-contents.gwp-notice-pro .feed-message-wrapper .button-upgrade small{font-weight:300;display:block}.gwp-live-feed-contents.gwp-notice-pro .feed-message-wrapper .button-upgrade i{position:absolute;left:25px;font-size:36px;top:50%;-webkit-transform:translateY(-50%);transform:translateY(-50%);width:36px;height:36px}.gwp-live-feed-contents.gwp-notice-pro .feed-message-wrapper .button-upgrade:hover{background:#305af3;text-shadow:0 -1px 1px #305af3}.gwp-live-feed-contents.gwp-notice-pro .gwp-live-feed-close{color:#fff;opacity:.5;font-size:12px;z-index:1}.gwp-live-feed-contents.gwp-notice-pro .gwp-live-feed-close:hover{opacity:1}.gwp-live-feed-contents.gwp-notice-pro .gwp-live-feed-close:before{color:#fff}.gwp-live-feed-contents.gwp-notice-new{border:0;padding:0;max-width:750px;margin-left:auto;margin-right:auto;background:transparent;box-shadow:none}.gwp-live-feed-contents.gwp-notice-new .feed-message-wrapper,.gwp-live-feed-contents.gwp-notice-new .feed-message-wrapper img,.gwp-live-feed-contents.gwp-notice-new .feed-message-wrapper p{padding:0;margin:0}.gwp-live-feed-contents.gwp-notice-new .gwp-live-feed-close{color:rgba(0,0,0,.5);opacity:.5;font-size:12px}.gwp-live-feed-contents.gwp-notice-new .gwp-live-feed-close:hover{opacity:1}.gwp-live-feed-contents.gwp-notice-new .gwp-live-feed-close:before{color:rgba(0,0,0,.5)}.gwp-live-feed-contents .button-primary{background:#56bfd4;border-color:#3a9db1;box-shadow:inset 0 1px 0 hsla(0,0%,100%,.3);text-shadow:0 -1px 1px #238ea5}.gwp-live-feed-contents .button-primary:hover{background:#39b1ca;border-color:#3a9db1}.gwp-live-feed-contents .gwp-live-feed-close{display:flex;right:0;text-decoration:none;padding:10px 10px 10px 25px}.gwp-live-feed-contents .gwp-live-feed-close:before{display:inline-block}
|
assets/css/gwp-admin.css
CHANGED
@@ -1,8 +1,8 @@
|
|
1 |
/*!
|
2 |
-
* Variation Swatches for WooCommerce v1.0.
|
3 |
*
|
4 |
* Author: Emran Ahmed ( emran.bd.08@gmail.com )
|
5 |
-
* Date:
|
6 |
* Released under the GPLv3 license.
|
7 |
*/
|
8 |
.gwp-deactivate-feedback-dialog {
|
1 |
/*!
|
2 |
+
* Variation Swatches for WooCommerce v1.0.63
|
3 |
*
|
4 |
* Author: Emran Ahmed ( emran.bd.08@gmail.com )
|
5 |
+
* Date: 10/2/2019, 10:06:05 PM
|
6 |
* Released under the GPLv3 license.
|
7 |
*/
|
8 |
.gwp-deactivate-feedback-dialog {
|
assets/css/gwp-admin.min.css
CHANGED
@@ -1,8 +1,8 @@
|
|
1 |
/*!
|
2 |
-
* Variation Swatches for WooCommerce v1.0.
|
3 |
*
|
4 |
* Author: Emran Ahmed ( emran.bd.08@gmail.com )
|
5 |
-
* Date:
|
6 |
* Released under the GPLv3 license.
|
7 |
*/
|
8 |
.gwp-deactivate-feedback-dialog{border-radius:3px}.gwp-deactivate-feedback-dialog .ui-dialog-titlebar{color:#495157;font-weight:700;font-size:14px;background:transparent;padding:0 36px 0 20px;height:50px;line-height:50px;box-shadow:0 0 8px rgba(0,0,0,.1);text-transform:uppercase;border:0}.gwp-deactivate-feedback-dialog .ui-button.ui-dialog-titlebar-close{width:50px;height:50px}.gwp-deactivate-feedback-dialog .ui-button.ui-dialog-titlebar-close:before{width:50px;height:50px;line-height:50px}.gwp-deactivate-feedback-dialog .ui-dialog-content{padding:30px}.gwp-deactivate-feedback-dialog .ui-dialog-content .feedback-dialog-form-caption{font-weight:700;font-size:15px;color:#495157;line-height:1.4;margin-bottom:20px}.gwp-deactivate-feedback-dialog .ui-dialog-content .feedback-dialog-form-body .feedback-dialog-input-wrapper{line-height:1.3;overflow:hidden;margin-bottom:15px}.gwp-deactivate-feedback-dialog .ui-dialog-content .feedback-dialog-form-body .feedback-dialog-input{float:left;margin:0 10px 0 0;box-shadow:none}.gwp-deactivate-feedback-dialog .ui-dialog-content .feedback-dialog-form-body .feedback-text{margin:10px 0 0 25px;padding:5px;font-size:13px;box-shadow:none;background-color:#fff;width:92%;display:none}.gwp-deactivate-feedback-dialog .ui-dialog-content .feedback-dialog-form-body .feedback-alert{color:#0273a9;background-color:#fff;font-weight:600}.gwp-deactivate-feedback-dialog .ui-dialog-content .feedback-dialog-form-body .feedback-dialog-label{display:block;font-size:13px;color:#6d7882}.gwp-deactivate-feedback-dialog .ui-dialog-content .feedback-dialog-form-buttons{margin-top:30px;overflow:hidden;clear:both}.gwp-deactivate-feedback-dialog .ui-dialog-content .feedback-dialog-form-buttons .spinner{float:left;margin:10px}.gwp-deactivate-feedback-dialog .ui-dialog-content .feedback-dialog-form-buttons .spinner.visible{visibility:visible}.gwp-deactivate-feedback-dialog .ui-dialog-content .feedback-dialog-form-buttons .feedback-dialog-form-button-send{background-color:#56bfd4;border-radius:3px;color:#fff;line-height:1;padding:12px 20px;font-size:13px;height:40px;border:0;box-shadow:none;text-shadow:none;float:left}.gwp-deactivate-feedback-dialog .ui-dialog-content .feedback-dialog-form-buttons .feedback-dialog-form-button-send:hover{background:#389db1}.gwp-deactivate-feedback-dialog .ui-dialog-content .feedback-dialog-form-buttons .feedback-dialog-form-button-send:active{-webkit-transform:translateY(0);transform:translateY(0)}.gwp-deactivate-feedback-dialog .ui-dialog-content .feedback-dialog-form-buttons .feedback-dialog-form-button-skip{font-size:12px;color:#a4afb7;background:none;float:right;width:auto;cursor:pointer;padding:10px 0;outline:0;text-decoration:none}.gwp-deactivate-feedback-dialog .ui-dialog-content .feedback-dialog-form-buttons .feedback-dialog-form-button-skip:focus{box-shadow:none}.gwp-deactivate-feedback-dialog .ui-dialog-content .feedback-dialog-form-buttons .feedback-dialog-form-button-skip:hover{text-decoration:underline}
|
1 |
/*!
|
2 |
+
* Variation Swatches for WooCommerce v1.0.63
|
3 |
*
|
4 |
* Author: Emran Ahmed ( emran.bd.08@gmail.com )
|
5 |
+
* Date: 10/2/2019, 10:06:12 PM
|
6 |
* Released under the GPLv3 license.
|
7 |
*/
|
8 |
.gwp-deactivate-feedback-dialog{border-radius:3px}.gwp-deactivate-feedback-dialog .ui-dialog-titlebar{color:#495157;font-weight:700;font-size:14px;background:transparent;padding:0 36px 0 20px;height:50px;line-height:50px;box-shadow:0 0 8px rgba(0,0,0,.1);text-transform:uppercase;border:0}.gwp-deactivate-feedback-dialog .ui-button.ui-dialog-titlebar-close{width:50px;height:50px}.gwp-deactivate-feedback-dialog .ui-button.ui-dialog-titlebar-close:before{width:50px;height:50px;line-height:50px}.gwp-deactivate-feedback-dialog .ui-dialog-content{padding:30px}.gwp-deactivate-feedback-dialog .ui-dialog-content .feedback-dialog-form-caption{font-weight:700;font-size:15px;color:#495157;line-height:1.4;margin-bottom:20px}.gwp-deactivate-feedback-dialog .ui-dialog-content .feedback-dialog-form-body .feedback-dialog-input-wrapper{line-height:1.3;overflow:hidden;margin-bottom:15px}.gwp-deactivate-feedback-dialog .ui-dialog-content .feedback-dialog-form-body .feedback-dialog-input{float:left;margin:0 10px 0 0;box-shadow:none}.gwp-deactivate-feedback-dialog .ui-dialog-content .feedback-dialog-form-body .feedback-text{margin:10px 0 0 25px;padding:5px;font-size:13px;box-shadow:none;background-color:#fff;width:92%;display:none}.gwp-deactivate-feedback-dialog .ui-dialog-content .feedback-dialog-form-body .feedback-alert{color:#0273a9;background-color:#fff;font-weight:600}.gwp-deactivate-feedback-dialog .ui-dialog-content .feedback-dialog-form-body .feedback-dialog-label{display:block;font-size:13px;color:#6d7882}.gwp-deactivate-feedback-dialog .ui-dialog-content .feedback-dialog-form-buttons{margin-top:30px;overflow:hidden;clear:both}.gwp-deactivate-feedback-dialog .ui-dialog-content .feedback-dialog-form-buttons .spinner{float:left;margin:10px}.gwp-deactivate-feedback-dialog .ui-dialog-content .feedback-dialog-form-buttons .spinner.visible{visibility:visible}.gwp-deactivate-feedback-dialog .ui-dialog-content .feedback-dialog-form-buttons .feedback-dialog-form-button-send{background-color:#56bfd4;border-radius:3px;color:#fff;line-height:1;padding:12px 20px;font-size:13px;height:40px;border:0;box-shadow:none;text-shadow:none;float:left}.gwp-deactivate-feedback-dialog .ui-dialog-content .feedback-dialog-form-buttons .feedback-dialog-form-button-send:hover{background:#389db1}.gwp-deactivate-feedback-dialog .ui-dialog-content .feedback-dialog-form-buttons .feedback-dialog-form-button-send:active{-webkit-transform:translateY(0);transform:translateY(0)}.gwp-deactivate-feedback-dialog .ui-dialog-content .feedback-dialog-form-buttons .feedback-dialog-form-button-skip{font-size:12px;color:#a4afb7;background:none;float:right;width:auto;cursor:pointer;padding:10px 0;outline:0;text-decoration:none}.gwp-deactivate-feedback-dialog .ui-dialog-content .feedback-dialog-form-buttons .feedback-dialog-form-button-skip:focus{box-shadow:none}.gwp-deactivate-feedback-dialog .ui-dialog-content .feedback-dialog-form-buttons .feedback-dialog-form-button-skip:hover{text-decoration:underline}
|
assets/css/wvs-theme-override.css
CHANGED
@@ -1,8 +1,8 @@
|
|
1 |
/*!
|
2 |
-
* Variation Swatches for WooCommerce v1.0.
|
3 |
*
|
4 |
* Author: Emran Ahmed ( emran.bd.08@gmail.com )
|
5 |
-
* Date:
|
6 |
* Released under the GPLv3 license.
|
7 |
*/
|
8 |
.woo-variation-swatches-theme-sober .product form.cart .variations .variable,
|
1 |
/*!
|
2 |
+
* Variation Swatches for WooCommerce v1.0.63
|
3 |
*
|
4 |
* Author: Emran Ahmed ( emran.bd.08@gmail.com )
|
5 |
+
* Date: 10/2/2019, 10:06:05 PM
|
6 |
* Released under the GPLv3 license.
|
7 |
*/
|
8 |
.woo-variation-swatches-theme-sober .product form.cart .variations .variable,
|
assets/css/wvs-theme-override.min.css
CHANGED
@@ -1,8 +1,8 @@
|
|
1 |
/*!
|
2 |
-
* Variation Swatches for WooCommerce v1.0.
|
3 |
*
|
4 |
* Author: Emran Ahmed ( emran.bd.08@gmail.com )
|
5 |
-
* Date:
|
6 |
* Released under the GPLv3 license.
|
7 |
*/
|
8 |
.woo-variation-swatches-theme-child-sober .product form.cart .variations .variable,.woo-variation-swatches-theme-sober .product form.cart .variations .variable{margin-bottom:15px!important}.woo-variation-swatches-theme-child-sober .product form.cart .variations .variable-options,.woo-variation-swatches-theme-sober .product form.cart .variations .variable-options{border:0!important}.woo-variation-swatches-theme-child-sober .product form.cart .variations .arrow,.woo-variation-swatches-theme-child-sober .product form.cart .variations .variable-options:after,.woo-variation-swatches-theme-sober .product form.cart .variations .arrow,.woo-variation-swatches-theme-sober .product form.cart .variations .variable-options:after{display:none}.woo-variation-swatches-theme-child-sober .product form.cart .variations .label,.woo-variation-swatches-theme-sober .product form.cart .variations .label{display:block;text-align:right;margin-right:10px}.woo-variation-swatches-theme-child-sober .product form.cart .variations .value,.woo-variation-swatches-theme-sober .product form.cart .variations .value{flex-grow:unset}.woo-variation-swatches-theme-child-sober .product form.cart .variations select,.woo-variation-swatches-theme-sober .product form.cart .variations select{border:1px solid #e4e6eb!important;padding:.5em 1em!important;text-align:left!important;text-align-last:left!important;-webkit-appearance:menulist-button!important}.woo-variation-swatches-theme-child-sober .product form.cart .radio-variable-item,.woo-variation-swatches-theme-sober .product form.cart .radio-variable-item{margin:5px;text-align:left}.woo-variation-swatches-theme-child-sober .product form.cart .radio-variable-item:last-child,.woo-variation-swatches-theme-sober .product form.cart .radio-variable-item:last-child{margin-right:0}.woo-variation-swatches-theme-child-sober .product form.cart .radio-variable-item label,.woo-variation-swatches-theme-sober .product form.cart .radio-variable-item label{padding-left:30px;margin:0}.woo-variation-swatches-theme-child-sober .product form.cart .radio-variable-item label:before,.woo-variation-swatches-theme-sober .product form.cart .radio-variable-item label:before{top:0;border-radius:100%}.woo-variation-swatches-theme-child-sober .product form.cart .radio-variable-item label:after,.woo-variation-swatches-theme-sober .product form.cart .radio-variable-item label:after{top:8px}.woo-variation-swatches-theme-shophistic-lite.woocommerce #main .entry-summary .variations{display:block!important}.woo-variation-swatches-theme-shophistic-lite .ql_custom_variations{display:none!important}.woo-variation-swatches-theme-shophistic-lite .radio-variable-item input[type=radio]{display:inline-block;margin:0}.woo-variation-swatches-theme-flatsome .variations .reset_variations{position:relative;bottom:0;left:0}.woo-variation-swatches-theme-stockholm .variations .reset_variations{position:relative;bottom:0;left:0;-webkit-transform:none;transform:none}.woo-variation-swatches-theme-kalium-child .image-variable-item img,.woo-variation-swatches-theme-kalium .image-variable-item img{width:100%!important}.woo-variation-swatches-theme-kalium-child .radio-variable-item input,.woo-variation-swatches-theme-kalium .radio-variable-item input{width:16px!important;height:16px!important}.woo-variation-swatches-theme-kalium-child .woo-variation-items-wrapper .select-option-ui,.woo-variation-swatches-theme-kalium .woo-variation-items-wrapper .select-option-ui{display:none}.woo-variation-swatches-theme-aurum .variable-items-wrapper .image-variable-item>img,.woo-variation-swatches-theme-child-aurum .variable-items-wrapper .image-variable-item>img{width:100%}.woo-variation-swatches-theme-hestia .woo-variation-items-wrapper.value:before{display:none!important}.woo-variation-swatches-theme-child-thegem .woo-variation-items-wrapper .combobox-wrapper,.woo-variation-swatches-theme-thegem .woo-variation-items-wrapper .combobox-wrapper{display:none}.woo-variation-swatches-theme-child-thegem .wvs-archive-variation-wrapper .variations,.woo-variation-swatches-theme-thegem .wvs-archive-variation-wrapper .variations{padding:0}.woo-variation-swatches-theme-child-ushop .variations_form,.woo-variation-swatches-theme-ushop .variations_form{overflow:visible!important}.woo-variation-swatches-theme-child-ushop .single-product-summary .product_meta,.woo-variation-swatches-theme-ushop .single-product-summary .product_meta{display:inline-table}.woo-variation-swatches-theme-child-savoy .woo-variation-items-wrapper,.woo-variation-swatches-theme-savoy .woo-variation-items-wrapper{position:relative!important}.woo-variation-swatches-theme-child-savoy .woo-variation-items-wrapper .sod_select,.woo-variation-swatches-theme-savoy .woo-variation-items-wrapper .sod_select{display:none!important}.woo-variation-swatches-theme-child-savoy .nm-variation-row,.woo-variation-swatches-theme-savoy .nm-variation-row{display:flex}.woo-variation-swatches-theme-child-woodstock .woo-variation-items-wrapper .variation-select,.woo-variation-swatches-theme-woodstock .woo-variation-items-wrapper .variation-select{display:none!important}.woo-variation-swatches-theme-child-woodmart .woo-variation-items-wrapper>.swatches-select,.woo-variation-swatches-theme-woodmart .woo-variation-items-wrapper>.swatches-select{display:none}.woo-variation-swatches-theme-gecko-child .variations .value.woo-variation-items-wrapper,.woo-variation-swatches-theme-gecko .variations .value.woo-variation-items-wrapper{border:0!important}.woo-variation-swatches-theme-gecko-child .variations .value.woo-variation-items-wrapper:after,.woo-variation-swatches-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;box-sizing:border-box;border-radius:100%;border:1px solid #f04040;color:#f04040}.woo-variation-swatches-theme-child-claue .woo-variation-items-wrapper,.woo-variation-swatches-theme-claue .woo-variation-items-wrapper{border:none}.woo-variation-swatches-theme-child-claue .woo-variation-items-wrapper:after,.woo-variation-swatches-theme-claue .woo-variation-items-wrapper:after{display:none}.woo-variation-swatches-theme-child-jupiter table.variations,.woo-variation-swatches-theme-jupiter table.variations{overflow:initial}.woo-variation-swatches-theme-child-oxygen .woo-variation-items-wrapper .select-wrapper,.woo-variation-swatches-theme-oxygen .woo-variation-items-wrapper .select-wrapper{display:none}.woo-variation-swatches-theme-child-oxygen .variable-items-wrapper.radio-variable-wrapper .radio-variable-item input,.woo-variation-swatches-theme-oxygen .variable-items-wrapper.radio-variable-wrapper .radio-variable-item input{width:18px}.woo-variation-swatches-theme-child-simple-elegant .woo-variation-items-wrapper .wi-nice-select,.woo-variation-swatches-theme-simple-elegant .woo-variation-items-wrapper .wi-nice-select{display:none}
|
1 |
/*!
|
2 |
+
* Variation Swatches for WooCommerce v1.0.63
|
3 |
*
|
4 |
* Author: Emran Ahmed ( emran.bd.08@gmail.com )
|
5 |
+
* Date: 10/2/2019, 10:06:12 PM
|
6 |
* Released under the GPLv3 license.
|
7 |
*/
|
8 |
.woo-variation-swatches-theme-child-sober .product form.cart .variations .variable,.woo-variation-swatches-theme-sober .product form.cart .variations .variable{margin-bottom:15px!important}.woo-variation-swatches-theme-child-sober .product form.cart .variations .variable-options,.woo-variation-swatches-theme-sober .product form.cart .variations .variable-options{border:0!important}.woo-variation-swatches-theme-child-sober .product form.cart .variations .arrow,.woo-variation-swatches-theme-child-sober .product form.cart .variations .variable-options:after,.woo-variation-swatches-theme-sober .product form.cart .variations .arrow,.woo-variation-swatches-theme-sober .product form.cart .variations .variable-options:after{display:none}.woo-variation-swatches-theme-child-sober .product form.cart .variations .label,.woo-variation-swatches-theme-sober .product form.cart .variations .label{display:block;text-align:right;margin-right:10px}.woo-variation-swatches-theme-child-sober .product form.cart .variations .value,.woo-variation-swatches-theme-sober .product form.cart .variations .value{flex-grow:unset}.woo-variation-swatches-theme-child-sober .product form.cart .variations select,.woo-variation-swatches-theme-sober .product form.cart .variations select{border:1px solid #e4e6eb!important;padding:.5em 1em!important;text-align:left!important;text-align-last:left!important;-webkit-appearance:menulist-button!important}.woo-variation-swatches-theme-child-sober .product form.cart .radio-variable-item,.woo-variation-swatches-theme-sober .product form.cart .radio-variable-item{margin:5px;text-align:left}.woo-variation-swatches-theme-child-sober .product form.cart .radio-variable-item:last-child,.woo-variation-swatches-theme-sober .product form.cart .radio-variable-item:last-child{margin-right:0}.woo-variation-swatches-theme-child-sober .product form.cart .radio-variable-item label,.woo-variation-swatches-theme-sober .product form.cart .radio-variable-item label{padding-left:30px;margin:0}.woo-variation-swatches-theme-child-sober .product form.cart .radio-variable-item label:before,.woo-variation-swatches-theme-sober .product form.cart .radio-variable-item label:before{top:0;border-radius:100%}.woo-variation-swatches-theme-child-sober .product form.cart .radio-variable-item label:after,.woo-variation-swatches-theme-sober .product form.cart .radio-variable-item label:after{top:8px}.woo-variation-swatches-theme-shophistic-lite.woocommerce #main .entry-summary .variations{display:block!important}.woo-variation-swatches-theme-shophistic-lite .ql_custom_variations{display:none!important}.woo-variation-swatches-theme-shophistic-lite .radio-variable-item input[type=radio]{display:inline-block;margin:0}.woo-variation-swatches-theme-flatsome .variations .reset_variations{position:relative;bottom:0;left:0}.woo-variation-swatches-theme-stockholm .variations .reset_variations{position:relative;bottom:0;left:0;-webkit-transform:none;transform:none}.woo-variation-swatches-theme-kalium-child .image-variable-item img,.woo-variation-swatches-theme-kalium .image-variable-item img{width:100%!important}.woo-variation-swatches-theme-kalium-child .radio-variable-item input,.woo-variation-swatches-theme-kalium .radio-variable-item input{width:16px!important;height:16px!important}.woo-variation-swatches-theme-kalium-child .woo-variation-items-wrapper .select-option-ui,.woo-variation-swatches-theme-kalium .woo-variation-items-wrapper .select-option-ui{display:none}.woo-variation-swatches-theme-aurum .variable-items-wrapper .image-variable-item>img,.woo-variation-swatches-theme-child-aurum .variable-items-wrapper .image-variable-item>img{width:100%}.woo-variation-swatches-theme-hestia .woo-variation-items-wrapper.value:before{display:none!important}.woo-variation-swatches-theme-child-thegem .woo-variation-items-wrapper .combobox-wrapper,.woo-variation-swatches-theme-thegem .woo-variation-items-wrapper .combobox-wrapper{display:none}.woo-variation-swatches-theme-child-thegem .wvs-archive-variation-wrapper .variations,.woo-variation-swatches-theme-thegem .wvs-archive-variation-wrapper .variations{padding:0}.woo-variation-swatches-theme-child-ushop .variations_form,.woo-variation-swatches-theme-ushop .variations_form{overflow:visible!important}.woo-variation-swatches-theme-child-ushop .single-product-summary .product_meta,.woo-variation-swatches-theme-ushop .single-product-summary .product_meta{display:inline-table}.woo-variation-swatches-theme-child-savoy .woo-variation-items-wrapper,.woo-variation-swatches-theme-savoy .woo-variation-items-wrapper{position:relative!important}.woo-variation-swatches-theme-child-savoy .woo-variation-items-wrapper .sod_select,.woo-variation-swatches-theme-savoy .woo-variation-items-wrapper .sod_select{display:none!important}.woo-variation-swatches-theme-child-savoy .nm-variation-row,.woo-variation-swatches-theme-savoy .nm-variation-row{display:flex}.woo-variation-swatches-theme-child-woodstock .woo-variation-items-wrapper .variation-select,.woo-variation-swatches-theme-woodstock .woo-variation-items-wrapper .variation-select{display:none!important}.woo-variation-swatches-theme-child-woodmart .woo-variation-items-wrapper>.swatches-select,.woo-variation-swatches-theme-woodmart .woo-variation-items-wrapper>.swatches-select{display:none}.woo-variation-swatches-theme-gecko-child .variations .value.woo-variation-items-wrapper,.woo-variation-swatches-theme-gecko .variations .value.woo-variation-items-wrapper{border:0!important}.woo-variation-swatches-theme-gecko-child .variations .value.woo-variation-items-wrapper:after,.woo-variation-swatches-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;box-sizing:border-box;border-radius:100%;border:1px solid #f04040;color:#f04040}.woo-variation-swatches-theme-child-claue .woo-variation-items-wrapper,.woo-variation-swatches-theme-claue .woo-variation-items-wrapper{border:none}.woo-variation-swatches-theme-child-claue .woo-variation-items-wrapper:after,.woo-variation-swatches-theme-claue .woo-variation-items-wrapper:after{display:none}.woo-variation-swatches-theme-child-jupiter table.variations,.woo-variation-swatches-theme-jupiter table.variations{overflow:initial}.woo-variation-swatches-theme-child-oxygen .woo-variation-items-wrapper .select-wrapper,.woo-variation-swatches-theme-oxygen .woo-variation-items-wrapper .select-wrapper{display:none}.woo-variation-swatches-theme-child-oxygen .variable-items-wrapper.radio-variable-wrapper .radio-variable-item input,.woo-variation-swatches-theme-oxygen .variable-items-wrapper.radio-variable-wrapper .radio-variable-item input{width:18px}.woo-variation-swatches-theme-child-simple-elegant .woo-variation-items-wrapper .wi-nice-select,.woo-variation-swatches-theme-simple-elegant .woo-variation-items-wrapper .wi-nice-select{display:none}
|
assets/js/admin.js
CHANGED
@@ -1,8 +1,8 @@
|
|
1 |
/*!
|
2 |
-
* Variation Swatches for WooCommerce v1.0.
|
3 |
*
|
4 |
* Author: Emran Ahmed ( emran.bd.08@gmail.com )
|
5 |
-
* Date:
|
6 |
* Released under the GPLv3 license.
|
7 |
*/
|
8 |
/******/ (function(modules) { // webpackBootstrap
|
1 |
/*!
|
2 |
+
* Variation Swatches for WooCommerce v1.0.63
|
3 |
*
|
4 |
* Author: Emran Ahmed ( emran.bd.08@gmail.com )
|
5 |
+
* Date: 10/2/2019, 10:06:05 PM
|
6 |
* Released under the GPLv3 license.
|
7 |
*/
|
8 |
/******/ (function(modules) { // webpackBootstrap
|
assets/js/frontend.js
CHANGED
@@ -1,8 +1,8 @@
|
|
1 |
/*!
|
2 |
-
* Variation Swatches for WooCommerce v1.0.
|
3 |
*
|
4 |
* Author: Emran Ahmed ( emran.bd.08@gmail.com )
|
5 |
-
* Date:
|
6 |
* Released under the GPLv3 license.
|
7 |
*/
|
8 |
/******/ (function(modules) { // webpackBootstrap
|
1 |
/*!
|
2 |
+
* Variation Swatches for WooCommerce v1.0.63
|
3 |
*
|
4 |
* Author: Emran Ahmed ( emran.bd.08@gmail.com )
|
5 |
+
* Date: 10/2/2019, 10:06:05 PM
|
6 |
* Released under the GPLv3 license.
|
7 |
*/
|
8 |
/******/ (function(modules) { // webpackBootstrap
|
assets/js/gwp-admin.js
CHANGED
@@ -1,8 +1,8 @@
|
|
1 |
/*!
|
2 |
-
* Variation Swatches for WooCommerce v1.0.
|
3 |
*
|
4 |
* Author: Emran Ahmed ( emran.bd.08@gmail.com )
|
5 |
-
* Date:
|
6 |
* Released under the GPLv3 license.
|
7 |
*/
|
8 |
/******/ (function(modules) { // webpackBootstrap
|
1 |
/*!
|
2 |
+
* Variation Swatches for WooCommerce v1.0.63
|
3 |
*
|
4 |
* Author: Emran Ahmed ( emran.bd.08@gmail.com )
|
5 |
+
* Date: 10/2/2019, 10:06:05 PM
|
6 |
* Released under the GPLv3 license.
|
7 |
*/
|
8 |
/******/ (function(modules) { // webpackBootstrap
|
images/archive-preview.png
DELETED
Binary file
|
images/red-archive-preview.png
CHANGED
Binary file
|
images/red-special-preview.png
CHANGED
Binary file
|
images/red-style-preview.png
CHANGED
Binary file
|
images/special-preview.png
DELETED
Binary file
|
images/style-preview.png
DELETED
Binary file
|
images/tutorial-13.jpg
ADDED
Binary file
|
images/tutorial-14.gif
ADDED
Binary file
|
images/tutorial-15.gif
ADDED
Binary file
|
images/tutorial-16.jpg
ADDED
Binary file
|
images/tutorial-17.jpg
ADDED
Binary file
|
images/tutorial-18.jpg
ADDED
Binary file
|
images/tutorial-19.jpg
ADDED
Binary file
|
images/tutorial-20.jpg
ADDED
Binary file
|
includes/functions.php
CHANGED
@@ -210,7 +210,14 @@
|
|
210 |
'squared' => esc_html__( 'Squared Shape', 'woo-variation-swatches' )
|
211 |
),
|
212 |
'default' => 'squared'
|
213 |
-
)
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
214 |
) )
|
215 |
)
|
216 |
) ), apply_filters( 'wvs_simple_setting_default_active', true ) );
|
@@ -652,30 +659,20 @@
|
|
652 |
// Get a Attribute taxonomy values
|
653 |
//-------------------------------------------------------------------------------
|
654 |
|
655 |
-
// @TODO: See wc_attribute_taxonomy_id_by_name function and wc_get_attribute
|
656 |
|
657 |
if ( ! function_exists( 'wvs_get_wc_attribute_taxonomy' ) ):
|
658 |
function wvs_get_wc_attribute_taxonomy( $attribute_name ) {
|
659 |
|
660 |
-
|
661 |
-
|
662 |
-
|
663 |
-
delete_transient( $transient );
|
664 |
-
}
|
665 |
-
|
666 |
-
if ( false === ( $attribute_taxonomy = get_transient( $transient ) ) ) {
|
667 |
-
global $wpdb;
|
668 |
-
|
669 |
-
$attribute_name = str_replace( 'pa_', '', wc_sanitize_taxonomy_name( $attribute_name ) );
|
670 |
-
$attribute_taxonomy = $wpdb->get_row( "SELECT * FROM " . $wpdb->prefix . "woocommerce_attribute_taxonomies WHERE attribute_name='{$attribute_name}'" );
|
671 |
-
set_transient( $transient, $attribute_taxonomy );
|
672 |
-
}
|
673 |
|
674 |
return apply_filters( 'wvs_get_wc_attribute_taxonomy', $attribute_taxonomy, $attribute_name );
|
675 |
}
|
676 |
endif;
|
677 |
|
678 |
-
|
679 |
add_action( 'woocommerce_attribute_updated', function ( $attribute_id, $attribute, $old_attribute_name ) {
|
680 |
$transient = sprintf( 'wvs_get_wc_attribute_taxonomy_%s', wc_attribute_taxonomy_name( $attribute[ 'attribute_name' ] ) );
|
681 |
$old_transient = sprintf( 'wvs_get_wc_attribute_taxonomy_%s', wc_attribute_taxonomy_name( $old_attribute_name ) );
|
@@ -689,14 +686,38 @@
|
|
689 |
delete_transient( $transient );
|
690 |
}, 20, 3 );
|
691 |
|
|
|
|
|
|
|
|
|
|
|
|
|
692 |
//-------------------------------------------------------------------------------
|
693 |
// Check has attribute type like color or image etc.
|
694 |
//-------------------------------------------------------------------------------
|
695 |
if ( ! function_exists( 'wvs_wc_product_has_attribute_type' ) ):
|
696 |
function wvs_wc_product_has_attribute_type( $type, $attribute_name ) {
|
697 |
-
$attribute = wvs_get_wc_attribute_taxonomy( $attribute_name );
|
698 |
|
699 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
700 |
}
|
701 |
endif;
|
702 |
|
@@ -760,6 +781,7 @@
|
|
760 |
$data .= sprintf( '<img alt="%s" src="%s" />', esc_attr( $term->name ), esc_url( $image_url ) );
|
761 |
break;
|
762 |
|
|
|
763 |
case 'button':
|
764 |
$data .= sprintf( '<span class="variable-item-span variable-item-span-%s">%s</span>', esc_attr( $type ), esc_html( $term->name ) );
|
765 |
break;
|
@@ -783,6 +805,118 @@
|
|
783 |
}
|
784 |
endif;
|
785 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
786 |
//-------------------------------------------------------------------------------
|
787 |
// Color Variation Attribute Options
|
788 |
//-------------------------------------------------------------------------------
|
@@ -999,6 +1133,155 @@
|
|
999 |
}
|
1000 |
endif;
|
1001 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1002 |
//-------------------------------------------------------------------------------
|
1003 |
// Radio Variation Attribute Options
|
1004 |
//-------------------------------------------------------------------------------
|
@@ -1081,6 +1364,9 @@
|
|
1081 |
return $html;
|
1082 |
}
|
1083 |
|
|
|
|
|
|
|
1084 |
ob_start();
|
1085 |
|
1086 |
$available_type_keys = array_keys( wvs_available_attributes_types() );
|
@@ -1089,6 +1375,7 @@
|
|
1089 |
|
1090 |
foreach ( $available_type_keys as $type ) {
|
1091 |
if ( wvs_wc_product_has_attribute_type( $type, $args[ 'attribute' ] ) ) {
|
|
|
1092 |
$output_callback = apply_filters( 'wvs_variation_attribute_options_callback', $available_types[ $type ][ 'output' ], $available_types, $type, $args, $html );
|
1093 |
$output_callback( apply_filters( 'wvs_variation_attribute_options_args', wp_parse_args( $args, array(
|
1094 |
'options' => $args[ 'options' ],
|
@@ -1102,13 +1389,99 @@
|
|
1102 |
}
|
1103 |
}
|
1104 |
|
1105 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1106 |
echo $html;
|
1107 |
}
|
1108 |
|
1109 |
$data = ob_get_clean();
|
1110 |
|
1111 |
-
return apply_filters( 'wvs_variation_attribute_options_html', $data, $args );
|
1112 |
}
|
1113 |
endif;
|
1114 |
|
@@ -1173,7 +1546,7 @@
|
|
1173 |
|
1174 |
</style>
|
1175 |
<div class="gwp-pro-features-wrapper">
|
1176 |
-
<h3>Upgrade to
|
1177 |
<ul>
|
1178 |
<li>
|
1179 |
<div class="gwp-pro-video-features-wrapper">
|
@@ -1181,7 +1554,7 @@
|
|
1181 |
</div>
|
1182 |
</li>
|
1183 |
</ul>
|
1184 |
-
<h4>With the premium version of
|
1185 |
<ul>
|
1186 |
<li><span class="dashicons dashicons-yes"></span> Convert attribute variations into radio button.
|
1187 |
<div class="gwp-pro-features-links"><a target="_blank" href="http://bit.ly/radio-product-settings-demo">Live Demo</a> | <a target="_blank" href="http://bit.ly/customattribute-productpage-settings">Video Tutorial</a></div>
|
210 |
'squared' => esc_html__( 'Squared Shape', 'woo-variation-swatches' )
|
211 |
),
|
212 |
'default' => 'squared'
|
213 |
+
),
|
214 |
+
array(
|
215 |
+
'id' => 'default_to_button',
|
216 |
+
'type' => 'checkbox',
|
217 |
+
'title' => esc_html__( 'Auto Dropdowns to Button', 'woo-variation-swatches' ),
|
218 |
+
'desc' => esc_html__( 'Convert default dropdowns to button type', 'woo-variation-swatches' ),
|
219 |
+
'default' => true
|
220 |
+
),
|
221 |
) )
|
222 |
)
|
223 |
) ), apply_filters( 'wvs_simple_setting_default_active', true ) );
|
659 |
// Get a Attribute taxonomy values
|
660 |
//-------------------------------------------------------------------------------
|
661 |
|
662 |
+
// @TODO: See wc_attribute_taxonomy_id_by_name function and wc_get_attribute or wc_get_attribute_taxonomies
|
663 |
|
664 |
if ( ! function_exists( 'wvs_get_wc_attribute_taxonomy' ) ):
|
665 |
function wvs_get_wc_attribute_taxonomy( $attribute_name ) {
|
666 |
|
667 |
+
global $wpdb;
|
668 |
+
$attribute_name = str_replace( 'pa_', '', wc_sanitize_taxonomy_name( $attribute_name ) );
|
669 |
+
$attribute_taxonomy = $wpdb->get_row( "SELECT * FROM " . $wpdb->prefix . "woocommerce_attribute_taxonomies WHERE attribute_name='{$attribute_name}'" );
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
670 |
|
671 |
return apply_filters( 'wvs_get_wc_attribute_taxonomy', $attribute_taxonomy, $attribute_name );
|
672 |
}
|
673 |
endif;
|
674 |
|
675 |
+
/*// Clean transient
|
676 |
add_action( 'woocommerce_attribute_updated', function ( $attribute_id, $attribute, $old_attribute_name ) {
|
677 |
$transient = sprintf( 'wvs_get_wc_attribute_taxonomy_%s', wc_attribute_taxonomy_name( $attribute[ 'attribute_name' ] ) );
|
678 |
$old_transient = sprintf( 'wvs_get_wc_attribute_taxonomy_%s', wc_attribute_taxonomy_name( $old_attribute_name ) );
|
686 |
delete_transient( $transient );
|
687 |
}, 20, 3 );
|
688 |
|
689 |
+
// Clean transient
|
690 |
+
add_action( 'woocommerce_attribute_added', function ( $attribute_id, $attribute ) {
|
691 |
+
$transient = sprintf( 'wvs_get_wc_attribute_taxonomy_%s', wc_attribute_taxonomy_name( $attribute[ 'attribute_name' ] ) );
|
692 |
+
delete_transient( $transient );
|
693 |
+
}, 20, 2 );*/
|
694 |
+
|
695 |
//-------------------------------------------------------------------------------
|
696 |
// Check has attribute type like color or image etc.
|
697 |
//-------------------------------------------------------------------------------
|
698 |
if ( ! function_exists( 'wvs_wc_product_has_attribute_type' ) ):
|
699 |
function wvs_wc_product_has_attribute_type( $type, $attribute_name ) {
|
|
|
700 |
|
701 |
+
$attributes = wc_get_attribute_taxonomies();
|
702 |
+
$attribute_name_clean = str_replace( 'pa_', '', wc_sanitize_taxonomy_name( $attribute_name ) );
|
703 |
+
|
704 |
+
// Created Attribute
|
705 |
+
if ( 'pa_' === substr( $attribute_name, 0, 3 ) ) {
|
706 |
+
|
707 |
+
$attribute = array_values( array_filter( $attributes, function ( $attribute ) use ( $type, $attribute_name_clean ) {
|
708 |
+
return $attribute_name_clean === $attribute->attribute_name;
|
709 |
+
} ) );
|
710 |
+
|
711 |
+
if ( ! empty( $attribute ) ) {
|
712 |
+
$attribute = apply_filters( 'wvs_get_wc_attribute_taxonomy', $attribute[ 0 ], $attribute_name );
|
713 |
+
} else {
|
714 |
+
$attribute = wvs_get_wc_attribute_taxonomy( $attribute_name );
|
715 |
+
}
|
716 |
+
|
717 |
+
return apply_filters( 'wvs_wc_product_has_attribute_type', ( isset( $attribute->attribute_type ) && ( $attribute->attribute_type == $type ) ), $type, $attribute_name, $attribute );
|
718 |
+
} else {
|
719 |
+
return apply_filters( 'wvs_wc_product_has_attribute_type', false, $type, $attribute_name, null );
|
720 |
+
}
|
721 |
}
|
722 |
endif;
|
723 |
|
781 |
$data .= sprintf( '<img alt="%s" src="%s" />', esc_attr( $term->name ), esc_url( $image_url ) );
|
782 |
break;
|
783 |
|
784 |
+
|
785 |
case 'button':
|
786 |
$data .= sprintf( '<span class="variable-item-span variable-item-span-%s">%s</span>', esc_attr( $type ), esc_html( $term->name ) );
|
787 |
break;
|
805 |
}
|
806 |
endif;
|
807 |
|
808 |
+
if ( ! function_exists( 'wvs_default_variable_item' ) ):
|
809 |
+
function wvs_default_variable_item( $type, $options, $args, $saved_attribute = array() ) {
|
810 |
+
|
811 |
+
$product = $args[ 'product' ];
|
812 |
+
$attribute = $args[ 'attribute' ];
|
813 |
+
$assigned = $args[ 'assigned' ];
|
814 |
+
|
815 |
+
|
816 |
+
$data = '';
|
817 |
+
|
818 |
+
if ( isset( $args[ 'fallback_type' ] ) && $args[ 'fallback_type' ] === 'select' ) {
|
819 |
+
// return '';
|
820 |
+
}
|
821 |
+
|
822 |
+
if ( ! empty( $options ) ) {
|
823 |
+
if ( $product && taxonomy_exists( $attribute ) ) {
|
824 |
+
$terms = wc_get_product_terms( $product->get_id(), $attribute, array( 'fields' => 'all' ) );
|
825 |
+
$name = uniqid( wc_variation_attribute_name( $attribute ) );
|
826 |
+
foreach ( $terms as $term ) {
|
827 |
+
if ( in_array( $term->slug, $options ) ) {
|
828 |
+
$selected_class = ( sanitize_title( $args[ 'selected' ] ) == $term->slug ) ? 'selected' : '';
|
829 |
+
$tooltip = trim( apply_filters( 'wvs_variable_item_tooltip', $term->name, $term, $args ) );
|
830 |
+
|
831 |
+
$tooltip_html_attr = ! empty( $tooltip ) ? sprintf( 'data-wvstooltip="%s"', esc_attr( $tooltip ) ) : '';
|
832 |
+
|
833 |
+
if ( wp_is_mobile() ) {
|
834 |
+
$tooltip_html_attr .= ! empty( $tooltip ) ? ' tabindex="2"' : '';
|
835 |
+
}
|
836 |
+
|
837 |
+
$type = isset( $assigned[ $term->slug ] ) ? $assigned[ $term->slug ][ 'type' ] : $type;
|
838 |
+
|
839 |
+
if ( ! isset( $assigned[ $term->slug ] ) || empty( $assigned[ $term->slug ][ 'image_id' ] ) ) {
|
840 |
+
$type = 'button';
|
841 |
+
}
|
842 |
+
|
843 |
+
$data .= sprintf( '<li %1$s class="variable-item %2$s-variable-item %2$s-variable-item-%3$s %4$s" title="%5$s" data-value="%3$s">', $tooltip_html_attr, esc_attr( $type ), esc_attr( $term->slug ), esc_attr( $selected_class ), esc_html( $term->name ) );
|
844 |
+
|
845 |
+
switch ( $type ):
|
846 |
+
|
847 |
+
case 'image':
|
848 |
+
$attachment_id = $assigned[ $term->slug ][ 'image_id' ];
|
849 |
+
$image_size = woo_variation_swatches()->get_option( 'attribute_image_size' );
|
850 |
+
$image_url = wp_get_attachment_image_url( $attachment_id, apply_filters( 'wvs_product_attribute_image_size', $image_size ) );
|
851 |
+
$data .= sprintf( '<img alt="%s" src="%s" />', esc_attr( apply_filters( 'woocommerce_variation_option_name', $term->name, $term, $attribute, $product ) ), esc_url( $image_url ) );
|
852 |
+
break;
|
853 |
+
|
854 |
+
|
855 |
+
case 'button':
|
856 |
+
$data .= sprintf( '<span class="variable-item-span variable-item-span-%s">%s</span>', esc_attr( $type ), esc_html( apply_filters( 'woocommerce_variation_option_name', $term->name, $term, $attribute, $product ) ) );
|
857 |
+
break;
|
858 |
+
|
859 |
+
default:
|
860 |
+
$data .= apply_filters( 'wvs_variable_default_item_content', '', $term, $args, $saved_attribute );
|
861 |
+
break;
|
862 |
+
endswitch;
|
863 |
+
$data .= '</li>';
|
864 |
+
}
|
865 |
+
}
|
866 |
+
} else {
|
867 |
+
|
868 |
+
foreach ( $options as $option ) {
|
869 |
+
// This handles < 2.4.0 bw compatibility where text attributes were not sanitized.
|
870 |
+
|
871 |
+
$option = esc_html( apply_filters( 'woocommerce_variation_option_name', $option, null, $attribute, $product ) );
|
872 |
+
|
873 |
+
$selected_class = ( sanitize_title( $option ) == $args[ 'selected' ] ) ? 'selected' : '';
|
874 |
+
$tooltip = trim( apply_filters( 'wvs_variable_item_tooltip', esc_attr( $option ), $options, $args ) );
|
875 |
+
|
876 |
+
|
877 |
+
$tooltip_html_attr = ! empty( $tooltip ) ? sprintf( 'data-wvstooltip="%s"', esc_attr( $tooltip ) ) : '';
|
878 |
+
|
879 |
+
if ( wp_is_mobile() ) {
|
880 |
+
$tooltip_html_attr .= ! empty( $tooltip ) ? ' tabindex="2"' : '';
|
881 |
+
}
|
882 |
+
|
883 |
+
$type = isset( $assigned[ $option ] ) ? $assigned[ $option ][ 'type' ] : $type;
|
884 |
+
|
885 |
+
if ( ! isset( $assigned[ $option ] ) || empty( $assigned[ $option ][ 'image_id' ] ) ) {
|
886 |
+
$type = 'button';
|
887 |
+
}
|
888 |
+
|
889 |
+
$data .= sprintf( '<li %1$s class="variable-item %2$s-variable-item %2$s-variable-item-%3$s %4$s" title="%5$s" data-value="%3$s">', $tooltip_html_attr, esc_attr( $type ), esc_attr( $option ), esc_attr( $selected_class ), esc_html( $option ) );
|
890 |
+
|
891 |
+
switch ( $type ):
|
892 |
+
|
893 |
+
case 'image':
|
894 |
+
$attachment_id = $assigned[ $option ][ 'image_id' ];
|
895 |
+
$image_size = woo_variation_swatches()->get_option( 'attribute_image_size' );
|
896 |
+
$image_url = wp_get_attachment_image_url( $attachment_id, apply_filters( 'wvs_product_attribute_image_size', $image_size ) );
|
897 |
+
$data .= sprintf( '<img alt="%s" src="%s" />', esc_attr( $option ), esc_url( $image_url ) );
|
898 |
+
break;
|
899 |
+
|
900 |
+
|
901 |
+
case 'button':
|
902 |
+
$data .= sprintf( '<span class="variable-item-span variable-item-span-%s">%s</span>', esc_attr( $type ), esc_html( $option ) );
|
903 |
+
break;
|
904 |
+
|
905 |
+
default:
|
906 |
+
$data .= apply_filters( 'wvs_variable_default_item_content', '', $option, $args, array() );
|
907 |
+
break;
|
908 |
+
endswitch;
|
909 |
+
$data .= '</li>';
|
910 |
+
|
911 |
+
|
912 |
+
}
|
913 |
+
}
|
914 |
+
}
|
915 |
+
|
916 |
+
return apply_filters( 'wvs_default_variable_item', $data, $type, $options, $args, array() );
|
917 |
+
}
|
918 |
+
endif;
|
919 |
+
|
920 |
//-------------------------------------------------------------------------------
|
921 |
// Color Variation Attribute Options
|
922 |
//-------------------------------------------------------------------------------
|
1133 |
}
|
1134 |
endif;
|
1135 |
|
1136 |
+
|
1137 |
+
// Default Button
|
1138 |
+
if ( ! function_exists( 'wvs_default_button_variation_attribute_options' ) ) :
|
1139 |
+
function wvs_default_button_variation_attribute_options( $args = array() ) {
|
1140 |
+
|
1141 |
+
$args = wp_parse_args( $args, array(
|
1142 |
+
'options' => false,
|
1143 |
+
'attribute' => false,
|
1144 |
+
'product' => false,
|
1145 |
+
'selected' => false,
|
1146 |
+
'name' => '',
|
1147 |
+
'id' => '',
|
1148 |
+
'class' => '',
|
1149 |
+
'type' => '',
|
1150 |
+
'assigned' => '',
|
1151 |
+
'show_option_none' => esc_html__( 'Choose an option', 'woo-variation-swatches' )
|
1152 |
+
) );
|
1153 |
+
|
1154 |
+
// $type = $args[ 'type' ];
|
1155 |
+
$type = $args[ 'type' ] ? $args[ 'type' ] : 'button';
|
1156 |
+
$options = $args[ 'options' ];
|
1157 |
+
$product = $args[ 'product' ];
|
1158 |
+
$attribute = $args[ 'attribute' ];
|
1159 |
+
$name = $args[ 'name' ] ? $args[ 'name' ] : wc_variation_attribute_name( $attribute );
|
1160 |
+
$id = $args[ 'id' ] ? $args[ 'id' ] : sanitize_title( $attribute );
|
1161 |
+
$class = $args[ 'class' ];
|
1162 |
+
$show_option_none = $args[ 'show_option_none' ] ? true : false;
|
1163 |
+
$show_option_none_text = $args[ 'show_option_none' ] ? $args[ 'show_option_none' ] : esc_html__( 'Choose an option', 'woocommerce' ); // We'll do our best to hide the placeholder, but we'll need to show something when resetting options.
|
1164 |
+
|
1165 |
+
if ( empty( $options ) && ! empty( $product ) && ! empty( $attribute ) ) {
|
1166 |
+
$attributes = $product->get_variation_attributes();
|
1167 |
+
$options = $attributes[ $attribute ];
|
1168 |
+
}
|
1169 |
+
|
1170 |
+
if ( $product ) {
|
1171 |
+
echo '<select id="' . esc_attr( $id ) . '" class="' . esc_attr( $class ) . ' hide woo-variation-raw-select woo-variation-raw-type-' . $type . '" style="display:none" name="' . esc_attr( $name ) . '" data-attribute_name="' . esc_attr( wc_variation_attribute_name( $attribute ) ) . '" data-show_option_none="' . ( $show_option_none ? 'yes' : 'no' ) . '">';
|
1172 |
+
}
|
1173 |
+
|
1174 |
+
if ( $args[ 'show_option_none' ] ) {
|
1175 |
+
echo '<option value="">' . esc_html( $show_option_none_text ) . '</option>';
|
1176 |
+
}
|
1177 |
+
|
1178 |
+
if ( ! empty( $options ) ) {
|
1179 |
+
if ( $product && taxonomy_exists( $attribute ) ) {
|
1180 |
+
// Get terms if this is a taxonomy - ordered. We need the names too.
|
1181 |
+
$terms = wc_get_product_terms( $product->get_id(), $attribute, array( 'fields' => 'all' ) );
|
1182 |
+
|
1183 |
+
foreach ( $terms as $term ) {
|
1184 |
+
if ( in_array( $term->slug, $options ) ) {
|
1185 |
+
echo '<option value="' . esc_attr( $term->slug ) . '" ' . selected( sanitize_title( $args[ 'selected' ] ), $term->slug, false ) . '>' . apply_filters( 'woocommerce_variation_option_name', $term->name ) . '</option>';
|
1186 |
+
}
|
1187 |
+
}
|
1188 |
+
} else {
|
1189 |
+
foreach ( $options as $option ) {
|
1190 |
+
// This handles < 2.4.0 bw compatibility where text attributes were not sanitized.
|
1191 |
+
$selected = sanitize_title( $args[ 'selected' ] ) === $args[ 'selected' ] ? selected( $args[ 'selected' ], sanitize_title( $option ), false ) : selected( $args[ 'selected' ], $option, false );
|
1192 |
+
echo '<option value="' . esc_attr( $option ) . '" ' . $selected . '>' . esc_html( apply_filters( 'woocommerce_variation_option_name', $option ) ) . '</option>';
|
1193 |
+
}
|
1194 |
+
}
|
1195 |
+
}
|
1196 |
+
|
1197 |
+
echo '</select>';
|
1198 |
+
|
1199 |
+
$content = wvs_default_variable_item( $type, $options, $args );
|
1200 |
+
|
1201 |
+
echo wvs_variable_items_wrapper( $content, $type, $args );
|
1202 |
+
}
|
1203 |
+
endif;
|
1204 |
+
|
1205 |
+
// Default Image
|
1206 |
+
if ( ! function_exists( 'wvs_default_image_variation_attribute_options' ) ) :
|
1207 |
+
function wvs_default_image_variation_attribute_options( $args = array() ) {
|
1208 |
+
|
1209 |
+
$args = wp_parse_args( $args, array(
|
1210 |
+
'options' => false,
|
1211 |
+
'attribute' => false,
|
1212 |
+
'product' => false,
|
1213 |
+
'selected' => false,
|
1214 |
+
'name' => '',
|
1215 |
+
'id' => '',
|
1216 |
+
'class' => '',
|
1217 |
+
'type' => '',
|
1218 |
+
'assigned' => '',
|
1219 |
+
'show_option_none' => esc_html__( 'Choose an option', 'woo-variation-swatches' )
|
1220 |
+
) );
|
1221 |
+
|
1222 |
+
$type = $args[ 'type' ];
|
1223 |
+
// $fallback_type = $args[ 'fallback_type' ];
|
1224 |
+
$options = $args[ 'options' ];
|
1225 |
+
$product = $args[ 'product' ];
|
1226 |
+
$attribute = $args[ 'attribute' ];
|
1227 |
+
$name = $args[ 'name' ] ? $args[ 'name' ] : wc_variation_attribute_name( $attribute );
|
1228 |
+
$id = $args[ 'id' ] ? $args[ 'id' ] : sanitize_title( $attribute );
|
1229 |
+
$class = $args[ 'class' ];
|
1230 |
+
$show_option_none = $args[ 'show_option_none' ] ? true : false;
|
1231 |
+
$show_option_none_text = $args[ 'show_option_none' ] ? $args[ 'show_option_none' ] : esc_html__( 'Choose an option', 'woocommerce' ); // We'll do our best to hide the placeholder, but we'll need to show something when resetting options.
|
1232 |
+
|
1233 |
+
if ( empty( $options ) && ! empty( $product ) && ! empty( $attribute ) ) {
|
1234 |
+
$attributes = $product->get_variation_attributes();
|
1235 |
+
$options = $attributes[ $attribute ];
|
1236 |
+
}
|
1237 |
+
|
1238 |
+
if ( $product ) {
|
1239 |
+
|
1240 |
+
if ( $type === 'select' ) {
|
1241 |
+
echo '<select id="' . esc_attr( $id ) . '" class="' . esc_attr( $class ) . '" name="' . esc_attr( $name ) . '" data-attribute_name="' . esc_attr( wc_variation_attribute_name( $attribute ) ) . '" data-show_option_none="' . ( $show_option_none ? 'yes' : 'no' ) . '">';
|
1242 |
+
|
1243 |
+
} else {
|
1244 |
+
echo '<select id="' . esc_attr( $id ) . '" class="' . esc_attr( $class ) . ' hide woo-variation-raw-select woo-variation-raw-type-' . $type . '" style="display:none" name="' . esc_attr( $name ) . '" data-attribute_name="' . esc_attr( wc_variation_attribute_name( $attribute ) ) . '" data-show_option_none="' . ( $show_option_none ? 'yes' : 'no' ) . '">';
|
1245 |
+
|
1246 |
+
}
|
1247 |
+
|
1248 |
+
}
|
1249 |
+
|
1250 |
+
if ( $args[ 'show_option_none' ] ) {
|
1251 |
+
echo '<option value="">' . esc_html( $show_option_none_text ) . '</option>';
|
1252 |
+
}
|
1253 |
+
|
1254 |
+
if ( ! empty( $options ) ) {
|
1255 |
+
if ( $product && taxonomy_exists( $attribute ) ) {
|
1256 |
+
// Get terms if this is a taxonomy - ordered. We need the names too.
|
1257 |
+
$terms = wc_get_product_terms( $product->get_id(), $attribute, array( 'fields' => 'all' ) );
|
1258 |
+
|
1259 |
+
foreach ( $terms as $term ) {
|
1260 |
+
if ( in_array( $term->slug, $options ) ) {
|
1261 |
+
echo '<option value="' . esc_attr( $term->slug ) . '" ' . selected( sanitize_title( $args[ 'selected' ] ), $term->slug, false ) . '>' . apply_filters( 'woocommerce_variation_option_name', $term->name ) . '</option>';
|
1262 |
+
}
|
1263 |
+
}
|
1264 |
+
} else {
|
1265 |
+
foreach ( $options as $option ) {
|
1266 |
+
// This handles < 2.4.0 bw compatibility where text attributes were not sanitized.
|
1267 |
+
$selected = sanitize_title( $args[ 'selected' ] ) === $args[ 'selected' ] ? selected( $args[ 'selected' ], sanitize_title( $option ), false ) : selected( $args[ 'selected' ], $option, false );
|
1268 |
+
echo '<option value="' . esc_attr( $option ) . '" ' . $selected . '>' . esc_html( apply_filters( 'woocommerce_variation_option_name', $option ) ) . '</option>';
|
1269 |
+
}
|
1270 |
+
}
|
1271 |
+
}
|
1272 |
+
|
1273 |
+
echo '</select>';
|
1274 |
+
|
1275 |
+
if ( $type === 'select' ) {
|
1276 |
+
return '';
|
1277 |
+
}
|
1278 |
+
|
1279 |
+
$content = wvs_default_variable_item( $type, $options, $args );
|
1280 |
+
|
1281 |
+
echo wvs_variable_items_wrapper( $content, $type, $args );
|
1282 |
+
}
|
1283 |
+
endif;
|
1284 |
+
|
1285 |
//-------------------------------------------------------------------------------
|
1286 |
// Radio Variation Attribute Options
|
1287 |
//-------------------------------------------------------------------------------
|
1364 |
return $html;
|
1365 |
}
|
1366 |
|
1367 |
+
$attributes = $args[ 'product' ]->get_variation_attributes();
|
1368 |
+
$variations = $args[ 'product' ]->get_available_variations();
|
1369 |
+
|
1370 |
ob_start();
|
1371 |
|
1372 |
$available_type_keys = array_keys( wvs_available_attributes_types() );
|
1375 |
|
1376 |
foreach ( $available_type_keys as $type ) {
|
1377 |
if ( wvs_wc_product_has_attribute_type( $type, $args[ 'attribute' ] ) ) {
|
1378 |
+
|
1379 |
$output_callback = apply_filters( 'wvs_variation_attribute_options_callback', $available_types[ $type ][ 'output' ], $available_types, $type, $args, $html );
|
1380 |
$output_callback( apply_filters( 'wvs_variation_attribute_options_args', wp_parse_args( $args, array(
|
1381 |
'options' => $args[ 'options' ],
|
1389 |
}
|
1390 |
}
|
1391 |
|
1392 |
+
$is_default_to_image = apply_filters( 'wvs_is_default_to_image', ! ! ( woo_variation_swatches()->get_option( 'default_to_image' ) ), $args );
|
1393 |
+
$is_default_to_button = apply_filters( 'wvs_is_default_to_button', ! ! ( woo_variation_swatches()->get_option( 'default_to_button' ) ), $args );
|
1394 |
+
$default_image_type_attribute = apply_filters( 'wvs_default_image_type_attribute', woo_variation_swatches()->get_option( 'default_image_type_attribute' ), $args );
|
1395 |
+
|
1396 |
+
$is_default_to_image_button = ( $is_default_to_image || $is_default_to_button );
|
1397 |
+
|
1398 |
+
if ( $default && $is_default_to_image_button ) {
|
1399 |
+
|
1400 |
+
if ( $default_image_type_attribute === '__max' ) {
|
1401 |
+
|
1402 |
+
$attribute_counts = array();
|
1403 |
+
foreach ( $attributes as $attr_key => $attr_values ) {
|
1404 |
+
$attribute_counts[ $attr_key ] = count( $attr_values );
|
1405 |
+
}
|
1406 |
+
|
1407 |
+
$max_attribute_count = max( $attribute_counts );
|
1408 |
+
$attribute_key = array_search( $max_attribute_count, $attribute_counts );
|
1409 |
+
|
1410 |
+
} elseif ( $default_image_type_attribute === '__min' ) {
|
1411 |
+
$attribute_counts = array();
|
1412 |
+
foreach ( $attributes as $attr_key => $attr_values ) {
|
1413 |
+
$attribute_counts[ $attr_key ] = count( $attr_values );
|
1414 |
+
}
|
1415 |
+
$min_attribute_count = min( $attribute_counts );
|
1416 |
+
$attribute_key = array_search( $min_attribute_count, $attribute_counts );
|
1417 |
+
|
1418 |
+
} elseif ( $default_image_type_attribute === '__first' ) {
|
1419 |
+
$attribute_keys = array_keys( $attributes );
|
1420 |
+
$attribute_key = current( $attribute_keys );
|
1421 |
+
} else {
|
1422 |
+
$attribute_key = $default_image_type_attribute;
|
1423 |
+
}
|
1424 |
+
|
1425 |
+
$selected_attribute_name = wc_variation_attribute_name( $attribute_key );
|
1426 |
+
|
1427 |
+
|
1428 |
+
$default_attribute_keys = array_keys( $attributes );
|
1429 |
+
$default_attribute_key = current( $default_attribute_keys );
|
1430 |
+
$default_attribute_name = wc_variation_attribute_name( $default_attribute_key );
|
1431 |
+
|
1432 |
+
$current_attribute = $args[ 'attribute' ];
|
1433 |
+
$current_attribute_name = wc_variation_attribute_name( $current_attribute );
|
1434 |
+
|
1435 |
+
|
1436 |
+
if ( $is_default_to_image ) {
|
1437 |
+
|
1438 |
+
$assigned = array();
|
1439 |
+
foreach ( $variations as $variation_key => $variation ) {
|
1440 |
+
$attribute_name = $variation[ 'attributes' ][ $selected_attribute_name ] ? $selected_attribute_name : $default_attribute_name;
|
1441 |
+
|
1442 |
+
$assigned[ $attribute_name ][ $variation[ 'attributes' ][ $attribute_name ] ] = array(
|
1443 |
+
'image_id' => $variation[ 'image_id' ],
|
1444 |
+
'variation_id' => $variation[ 'variation_id' ],
|
1445 |
+
'type' => ( empty( $variation[ 'image_id' ] ) ? 'button' : 'image' ),
|
1446 |
+
);
|
1447 |
+
}
|
1448 |
+
|
1449 |
+
$type = ( empty( $assigned[ $current_attribute_name ] ) ? 'button' : 'image' );
|
1450 |
+
$assigned = ( isset( $assigned[ $current_attribute_name ] ) ? $assigned[ $current_attribute_name ] : array() );
|
1451 |
+
|
1452 |
+
if ( $type === 'button' && ! $is_default_to_button ) {
|
1453 |
+
$type = 'select';
|
1454 |
+
}
|
1455 |
+
|
1456 |
+
wvs_default_image_variation_attribute_options( apply_filters( 'wvs_variation_attribute_options_args', wp_parse_args( $args, array(
|
1457 |
+
'options' => $args[ 'options' ],
|
1458 |
+
'attribute' => $args[ 'attribute' ],
|
1459 |
+
'product' => $args[ 'product' ],
|
1460 |
+
'selected' => $args[ 'selected' ],
|
1461 |
+
'assigned' => $assigned,
|
1462 |
+
'type' => $type,
|
1463 |
+
'is_archive' => ( isset( $args[ 'is_archive' ] ) && $args[ 'is_archive' ] )
|
1464 |
+
) ) ) );
|
1465 |
+
|
1466 |
+
} elseif ( $is_default_to_button ) {
|
1467 |
+
|
1468 |
+
wvs_default_button_variation_attribute_options( apply_filters( 'wvs_variation_attribute_options_args', wp_parse_args( $args, array(
|
1469 |
+
'options' => $args[ 'options' ],
|
1470 |
+
'attribute' => $args[ 'attribute' ],
|
1471 |
+
'product' => $args[ 'product' ],
|
1472 |
+
'selected' => $args[ 'selected' ],
|
1473 |
+
'is_archive' => ( isset( $args[ 'is_archive' ] ) && $args[ 'is_archive' ] )
|
1474 |
+
) ) ) );
|
1475 |
+
} else {
|
1476 |
+
echo $html;
|
1477 |
+
}
|
1478 |
+
} elseif ( $default && ! $is_default_to_image_button ) {
|
1479 |
echo $html;
|
1480 |
}
|
1481 |
|
1482 |
$data = ob_get_clean();
|
1483 |
|
1484 |
+
return apply_filters( 'wvs_variation_attribute_options_html', $data, $args, $is_default_to_image, $is_default_to_button );
|
1485 |
}
|
1486 |
endif;
|
1487 |
|
1546 |
|
1547 |
</style>
|
1548 |
<div class="gwp-pro-features-wrapper">
|
1549 |
+
<h3>Upgrade to Variation Swatches for WooCommerce - Pro</h3>
|
1550 |
<ul>
|
1551 |
<li>
|
1552 |
<div class="gwp-pro-video-features-wrapper">
|
1554 |
</div>
|
1555 |
</li>
|
1556 |
</ul>
|
1557 |
+
<h4>With the premium version of Variation Swatches for WooCommerce, you can do:</h4>
|
1558 |
<ul>
|
1559 |
<li><span class="dashicons dashicons-yes"></span> Convert attribute variations into radio button.
|
1560 |
<div class="gwp-pro-features-links"><a target="_blank" href="http://bit.ly/radio-product-settings-demo">Live Demo</a> | <a target="_blank" href="http://bit.ly/customattribute-productpage-settings">Video Tutorial</a></div>
|
includes/tutorials.php
CHANGED
@@ -13,7 +13,7 @@
|
|
13 |
The option turns product attribute variation select options drop down into color swatches. It’s the best fit options for the variable products comes with multiple attribute variations.
|
14 |
</div>
|
15 |
<div class="tutorial-buttons">
|
16 |
-
<a href="http://
|
17 |
<a href="http://bit.ly/wvs-tuts-01" target="_blank" class="button button-docs">Documentation</a>
|
18 |
</div>
|
19 |
</div>
|
@@ -27,7 +27,7 @@
|
|
27 |
Images variation does more than color swatches. When it comes to display images as product variation, this option comes handy and highly engaging for conversion.
|
28 |
</div>
|
29 |
<div class="tutorial-buttons">
|
30 |
-
<a href="http://
|
31 |
<a href="http://bit.ly/wvs-tuts-02" target="_blank" class="button button-docs">Documentation</a>
|
32 |
</div>
|
33 |
</div>
|
@@ -37,13 +37,13 @@
|
|
37 |
<li>
|
38 |
<div class="tutorial-image-wrapper"><img alt="" src="<?php echo woo_variation_swatches()->images_uri( 'tutorial-3.png' ) ?>"></div>
|
39 |
<div class="tutorial-description-wrapper">
|
40 |
-
<h3>Button
|
41 |
<div class="tutorial-contents">
|
42 |
-
|
43 |
</div>
|
44 |
<div class="tutorial-buttons">
|
45 |
-
<a href="http://
|
46 |
-
|
47 |
</div>
|
48 |
</div>
|
49 |
</li>
|
@@ -55,8 +55,7 @@
|
|
55 |
Besides showing swatches on product details page and archive pages, it can enable swatches on quickview lighboxes to maximize store wide sales.
|
56 |
</div>
|
57 |
<div class="tutorial-buttons">
|
58 |
-
<a href="http://
|
59 |
-
<a href="http://bit.ly/wvs-tuts-04" target="_blank" class="button button-docs">Documentation</a>
|
60 |
</div>
|
61 |
</div>
|
62 |
<div class="tutorial-image-wrapper"><img alt="" src="<?php echo woo_variation_swatches()->images_uri( 'tutorial-4.png' ) ?>"></div>
|
@@ -71,27 +70,208 @@
|
|
71 |
Tooltip denotes the variation details to explain more. It can be disabled and customized the title text and tooltip background from the admin backend.
|
72 |
</div>
|
73 |
<div class="tutorial-buttons">
|
74 |
-
<a href="http://
|
75 |
<a href="http://bit.ly/wvs-tuts-05" target="_blank" class="button button-docs">Documentation</a>
|
76 |
</div>
|
77 |
</div>
|
78 |
|
79 |
</li>
|
80 |
|
81 |
-
|
82 |
|
83 |
<div class="tutorial-description-wrapper">
|
84 |
-
<h3>Blur/Hide Out of Stock Variation</h3>
|
85 |
<div class="tutorial-contents">
|
86 |
Showing out of stock variation seems unnecessary. So, the plugin offers option to blur or hide the out of stock variation to simplify in stock variation.
|
87 |
</div>
|
88 |
<div class="tutorial-buttons">
|
89 |
-
<a href="http://bit.ly/
|
90 |
<a href="http://bit.ly/wvs-tuts-06" target="_blank" class="button button-docs">Documentation</a>
|
91 |
</div>
|
92 |
</div>
|
93 |
<div class="tutorial-image-wrapper"><img alt="" src="<?php echo woo_variation_swatches()->images_uri( 'tutorial-6.png' ) ?>"></div>
|
94 |
</li>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
95 |
|
96 |
<li>
|
97 |
<div class="tutorial-image-wrapper">
|
@@ -106,8 +286,8 @@
|
|
106 |
To boost store conversion and engagement, Attribute variation swatches plugin enables swatch on the catalog page. It allows customers to check product variation from the archive page and add them to the cart.
|
107 |
</div>
|
108 |
<div class="tutorial-buttons">
|
109 |
-
<a href="http://
|
110 |
-
<a href="http://bit.ly/
|
111 |
<?php if ( ! woo_variation_swatches()->is_pro_active() ): ?>
|
112 |
<a href="<?php echo woo_variation_swatches()->get_pro_link( 'settings-tutorial' ) ?>" target="_blank" class="button button-pro">Upgrade to pro</a>
|
113 |
<?php endif; ?>
|
@@ -115,6 +295,52 @@
|
|
115 |
</div>
|
116 |
|
117 |
</li>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
118 |
</ul>
|
119 |
|
120 |
</div>
|
13 |
The option turns product attribute variation select options drop down into color swatches. It’s the best fit options for the variable products comes with multiple attribute variations.
|
14 |
</div>
|
15 |
<div class="tutorial-buttons">
|
16 |
+
<a href="http://j.mp/color-swatches-insideplugin" target="_blank" class="button button-live-demo">Live Video Preview</a>
|
17 |
<a href="http://bit.ly/wvs-tuts-01" target="_blank" class="button button-docs">Documentation</a>
|
18 |
</div>
|
19 |
</div>
|
27 |
Images variation does more than color swatches. When it comes to display images as product variation, this option comes handy and highly engaging for conversion.
|
28 |
</div>
|
29 |
<div class="tutorial-buttons">
|
30 |
+
<a href="http://j.mp/color-swatches-preview-insideplugin" target="_blank" class="button button-live-demo">Live Video Preview</a>
|
31 |
<a href="http://bit.ly/wvs-tuts-02" target="_blank" class="button button-docs">Documentation</a>
|
32 |
</div>
|
33 |
</div>
|
37 |
<li>
|
38 |
<div class="tutorial-image-wrapper"><img alt="" src="<?php echo woo_variation_swatches()->images_uri( 'tutorial-3.png' ) ?>"></div>
|
39 |
<div class="tutorial-description-wrapper">
|
40 |
+
<h3>Auto Convert All Variation Dropdown Into Button Swatches By Default</h3>
|
41 |
<div class="tutorial-contents">
|
42 |
+
Color and Images swatches need to configure globally or from each product pages, but the free version can turn all variation select dropdown into button swatches
|
43 |
</div>
|
44 |
<div class="tutorial-buttons">
|
45 |
+
<a href="http://j.mp/button-video-preview-insideplugin" target="_blank" class="button button-live-demo">Live Video Preview</a>
|
46 |
+
|
47 |
</div>
|
48 |
</div>
|
49 |
</li>
|
55 |
Besides showing swatches on product details page and archive pages, it can enable swatches on quickview lighboxes to maximize store wide sales.
|
56 |
</div>
|
57 |
<div class="tutorial-buttons">
|
58 |
+
<a href="http://j.mp/quickview-preview-inside-plugin" target="_blank" class="button button-live-demo">Live Video Preview</a>
|
|
|
59 |
</div>
|
60 |
</div>
|
61 |
<div class="tutorial-image-wrapper"><img alt="" src="<?php echo woo_variation_swatches()->images_uri( 'tutorial-4.png' ) ?>"></div>
|
70 |
Tooltip denotes the variation details to explain more. It can be disabled and customized the title text and tooltip background from the admin backend.
|
71 |
</div>
|
72 |
<div class="tutorial-buttons">
|
73 |
+
<a href="http://j.mp/tooltip-plugininside" target="_blank" class="button button-live-demo">Live Video Preview</a>
|
74 |
<a href="http://bit.ly/wvs-tuts-05" target="_blank" class="button button-docs">Documentation</a>
|
75 |
</div>
|
76 |
</div>
|
77 |
|
78 |
</li>
|
79 |
|
80 |
+
<li>
|
81 |
|
82 |
<div class="tutorial-description-wrapper">
|
83 |
+
<h3>Cross/Blur/Hide Out of Stock Variation</h3>
|
84 |
<div class="tutorial-contents">
|
85 |
Showing out of stock variation seems unnecessary. So, the plugin offers option to blur or hide the out of stock variation to simplify in stock variation.
|
86 |
</div>
|
87 |
<div class="tutorial-buttons">
|
88 |
+
<a href="http://bit.ly/cross-outofstock-insideplugin" target="_blank" class="button button-live-demo">Live Video Preview</a>
|
89 |
<a href="http://bit.ly/wvs-tuts-06" target="_blank" class="button button-docs">Documentation</a>
|
90 |
</div>
|
91 |
</div>
|
92 |
<div class="tutorial-image-wrapper"><img alt="" src="<?php echo woo_variation_swatches()->images_uri( 'tutorial-6.png' ) ?>"></div>
|
93 |
</li>
|
94 |
+
<li>
|
95 |
+
<div class="tutorial-image-wrapper">
|
96 |
+
<?php if ( ! woo_variation_swatches()->is_pro_active() ): ?>
|
97 |
+
<div class="ribbon"><span><?php esc_html_e( 'PRO', 'woo-varriation-swatches' ) ?></span></div>
|
98 |
+
<?php endif; ?>
|
99 |
+
<img alt="" src="<?php echo woo_variation_swatches()->images_uri( 'tutorial-14.gif' ) ?>">
|
100 |
+
</div>
|
101 |
+
<div class="tutorial-description-wrapper">
|
102 |
+
<h3>Auto Convert All Dropdowns Into Image Swatches If Variation Has Featured Image. (Most Popular & Time Saving Feature)</h3>
|
103 |
+
<div class="tutorial-contents">
|
104 |
+
Generally, the variation comes with feature images. If your product variations have it’s featured image set, premium version can convert your variation select drodown into image swatches just after installation. No Configuration would be needed. Best for <strong>Printful</strong>, <strong>Alidrop</strong>, And other <strong>Dropshipping</strong> as well as <strong>Multi Vendor</strong> Plugins
|
105 |
+
</div>
|
106 |
+
<div class="tutorial-buttons">
|
107 |
+
<a href="http://j.mp/autoimage-swatches-generate-plugininside" target="_blank" class="button button-live-demo">Live Video Preview</a>
|
108 |
+
<a href="http://j.mp/auto-image-swatches-insideplugin" target="_blank" class="button button-docs">Documentation</a>
|
109 |
+
<?php if ( ! woo_variation_swatches()->is_pro_active() ): ?>
|
110 |
+
<a href="<?php echo woo_variation_swatches()->get_pro_link( 'settings-tutorial' ) ?>" target="_blank" class="button button-pro">Upgrade to pro</a>
|
111 |
+
<?php endif; ?>
|
112 |
+
</div>
|
113 |
+
</div>
|
114 |
+
|
115 |
+
</li>
|
116 |
+
|
117 |
+
<li>
|
118 |
+
<div class="tutorial-description-wrapper">
|
119 |
+
<h3>Radio Swatches For Attribute Variation</h3>
|
120 |
+
<div class="tutorial-contents">
|
121 |
+
Besides showing swatches on product details page and archive pages, it can enable swatches on quickview lighboxes to maximize store wide sales.
|
122 |
+
</div>
|
123 |
+
<div class="tutorial-buttons">
|
124 |
+
<a href="http://j.mp/radio-swatches-insideplugin" target="_blank" class="button button-live-demo">Live Video Preview</a>
|
125 |
+
<a href="http://bit.ly/radio-tuts-doc-inside" target="_blank" class="button button-docs">Documentation</a>
|
126 |
+
<?php if ( ! woo_variation_swatches()->is_pro_active() ): ?>
|
127 |
+
<a href="<?php echo woo_variation_swatches()->get_pro_link( 'settings-tutorial' ) ?>" target="_blank" class="button button-pro">Upgrade to pro</a>
|
128 |
+
<?php endif; ?>
|
129 |
+
</div>
|
130 |
+
</div>
|
131 |
+
<div class="tutorial-image-wrapper">
|
132 |
+
<?php if ( ! woo_variation_swatches()->is_pro_active() ): ?>
|
133 |
+
<div class="ribbon"><span><?php esc_html_e( 'PRO', 'woo-varriation-swatches' ) ?></span></div>
|
134 |
+
<?php endif; ?>
|
135 |
+
<img alt="" src="<?php echo woo_variation_swatches()->images_uri( 'tutorial-7.jpg' ) ?>">
|
136 |
+
</div>
|
137 |
+
</li>
|
138 |
+
|
139 |
+
<li>
|
140 |
+
<div class="tutorial-image-wrapper">
|
141 |
+
<?php if ( ! woo_variation_swatches()->is_pro_active() ): ?>
|
142 |
+
<div class="ribbon"><span><?php esc_html_e( 'PRO', 'woo-varriation-swatches' ) ?></span></div>
|
143 |
+
<?php endif; ?>
|
144 |
+
<img alt="" src="<?php echo woo_variation_swatches()->images_uri( 'tutorial-13.jpg' ) ?>">
|
145 |
+
</div>
|
146 |
+
<div class="tutorial-description-wrapper">
|
147 |
+
<h3>Enable Dual Color Variation Swatches</h3>
|
148 |
+
<div class="tutorial-contents">
|
149 |
+
Besides the color, image, label, and radio swatches, you can enable dual color swatches as well. If you have dual color for your product, you can represent it from dual color variation swatches.
|
150 |
+
</div>
|
151 |
+
<div class="tutorial-buttons">
|
152 |
+
<a href="http://j.mp/dual-color-inside-plugin" target="_blank" class="button button-live-demo">Live Video Preview</a>
|
153 |
+
<a href="http://j.mp/dual-color-doc-inside-plugin" target="_blank" class="button button-docs">Documentation</a>
|
154 |
+
<?php if ( ! woo_variation_swatches()->is_pro_active() ): ?>
|
155 |
+
<a href="<?php echo woo_variation_swatches()->get_pro_link( 'settings-tutorial' ) ?>" target="_blank" class="button button-pro">Upgrade to pro</a>
|
156 |
+
<?php endif; ?>
|
157 |
+
</div>
|
158 |
+
</div>
|
159 |
+
|
160 |
+
</li>
|
161 |
+
|
162 |
+
<li>
|
163 |
+
|
164 |
+
<div class="tutorial-description-wrapper">
|
165 |
+
<h3>Change Product Gallery Image Selecting Only Color Variation Like Amazon and Aliexpress (Or Selected Variation)</h3>
|
166 |
+
<div class="tutorial-contents">
|
167 |
+
Variable product changes variation image when all available attribute variations are selected. First time in the WooCommerce Variation Swatches plugin history, we enabled option to change gallery image selecting single attribute variation. You don’t need to match entire attribute variation to change variation image.
|
168 |
+
</div>
|
169 |
+
<div class="tutorial-buttons">
|
170 |
+
<a href="http://j.mp/amazon-like-swatches-insideplugin" target="_blank" class="button button-live-demo">Live Video Preview</a>
|
171 |
+
<a href="http://bit.ly/amazon-swatches-doc-insideplugin" target="_blank" class="button button-docs">Documentation</a>
|
172 |
+
<?php if ( ! woo_variation_swatches()->is_pro_active() ): ?>
|
173 |
+
<a href="<?php echo woo_variation_swatches()->get_pro_link( 'settings-tutorial' ) ?>" target="_blank" class="button button-pro">Upgrade to pro</a>
|
174 |
+
<?php endif; ?>
|
175 |
+
</div>
|
176 |
+
</div>
|
177 |
+
<div class="tutorial-image-wrapper">
|
178 |
+
<?php if ( ! woo_variation_swatches()->is_pro_active() ): ?>
|
179 |
+
<div class="ribbon"><span><?php esc_html_e( 'PRO', 'woo-varriation-swatches' ) ?></span></div>
|
180 |
+
<?php endif; ?>
|
181 |
+
<img alt="" src="<?php echo woo_variation_swatches()->images_uri( 'tutorial-15.gif' ) ?>">
|
182 |
+
</div>
|
183 |
+
</li>
|
184 |
+
|
185 |
+
<li>
|
186 |
+
<div class="tutorial-image-wrapper">
|
187 |
+
<?php if ( ! woo_variation_swatches()->is_pro_active() ): ?>
|
188 |
+
<div class="ribbon"><span><?php esc_html_e( 'PRO', 'woo-varriation-swatches' ) ?></span></div>
|
189 |
+
<?php endif; ?>
|
190 |
+
<img alt="" src="<?php echo woo_variation_swatches()->images_uri( 'tutorial-16.jpg' ) ?>">
|
191 |
+
</div>
|
192 |
+
<div class="tutorial-description-wrapper">
|
193 |
+
<h3>Individual Product Based Swatches Customization</h3>
|
194 |
+
<div class="tutorial-contents">
|
195 |
+
WooCommerce Variation Swatch plugin offers global swatches. If you need personalized variation per variable product basis, you quickly achieve them from the desired product admin page. </div>
|
196 |
+
<div class="tutorial-buttons">
|
197 |
+
<a href="http://j.mp/productbased-customization-insideplugin" target="_blank" class="button button-live-demo">Live Video Preview</a>
|
198 |
+
<a href="http://bit.ly/product-basis-swatches-plugininsie" target="_blank" class="button button-docs">Documentation</a>
|
199 |
+
<?php if ( ! woo_variation_swatches()->is_pro_active() ): ?>
|
200 |
+
<a href="<?php echo woo_variation_swatches()->get_pro_link( 'settings-tutorial' ) ?>" target="_blank" class="button button-pro">Upgrade to pro</a>
|
201 |
+
<?php endif; ?>
|
202 |
+
</div>
|
203 |
+
</div>
|
204 |
+
|
205 |
+
</li>
|
206 |
+
|
207 |
+
<li>
|
208 |
+
|
209 |
+
<div class="tutorial-description-wrapper">
|
210 |
+
<h3>Show Image Tooltip in Product and Archive Pages</h3>
|
211 |
+
<div class="tutorial-contents">
|
212 |
+
Sometimes tooltip text is not enough to describe your product attribute variation. In this case, Image tooltip can do the rest.
|
213 |
+
</div>
|
214 |
+
<div class="tutorial-buttons">
|
215 |
+
<a href="http://j.mp/image-tooltip-insideplugin-demo" target="_blank" class="button button-live-demo">Live Video Preview</a>
|
216 |
+
<a href="http://j.mp/image-tooltip-doc-plugininside" target="_blank" class="button button-docs">Documentation</a>
|
217 |
+
<?php if ( ! woo_variation_swatches()->is_pro_active() ): ?>
|
218 |
+
<a href="<?php echo woo_variation_swatches()->get_pro_link( 'settings-tutorial' ) ?>" target="_blank" class="button button-pro">Upgrade to pro</a>
|
219 |
+
<?php endif; ?>
|
220 |
+
</div>
|
221 |
+
</div>
|
222 |
+
<div class="tutorial-image-wrapper">
|
223 |
+
<?php if ( ! woo_variation_swatches()->is_pro_active() ): ?>
|
224 |
+
<div class="ribbon"><span><?php esc_html_e( 'PRO', 'woo-varriation-swatches' ) ?></span></div>
|
225 |
+
<?php endif; ?>
|
226 |
+
<img alt="" src="<?php echo woo_variation_swatches()->images_uri( 'tutorial-17.jpg' ) ?>">
|
227 |
+
</div>
|
228 |
+
</li>
|
229 |
+
|
230 |
+
<li>
|
231 |
+
<div class="tutorial-image-wrapper">
|
232 |
+
<?php if ( ! woo_variation_swatches()->is_pro_active() ): ?>
|
233 |
+
<div class="ribbon"><span><?php esc_html_e( 'PRO', 'woo-varriation-swatches' ) ?></span></div>
|
234 |
+
<?php endif; ?>
|
235 |
+
<img alt="" src="<?php echo woo_variation_swatches()->images_uri( 'tutorial-18.jpg' ) ?>">
|
236 |
+
</div>
|
237 |
+
<div class="tutorial-description-wrapper">
|
238 |
+
<h3>Generate Sarable Variation Link</h3>
|
239 |
+
<div class="tutorial-contents">
|
240 |
+
WooCommerce doesn’t come with this option. We brought this feature the first time. With this feature, you can generate and share your specific attribute link in your customer for a quick purchase or share it the social media.
|
241 |
+
</div>
|
242 |
+
<div class="tutorial-buttons">
|
243 |
+
<a href="http://j.mp/generatelink-demo-plugininside" target="_blank" class="button button-live-demo">Live Video Preview</a>
|
244 |
+
<a href="http://bit.ly/generlink-doc-plugininside" target="_blank" class="button button-docs">Documentation</a>
|
245 |
+
<?php if ( ! woo_variation_swatches()->is_pro_active() ): ?>
|
246 |
+
<a href="<?php echo woo_variation_swatches()->get_pro_link( 'settings-tutorial' ) ?>" target="_blank" class="button button-pro">Upgrade to pro</a>
|
247 |
+
<?php endif; ?>
|
248 |
+
</div>
|
249 |
+
</div>
|
250 |
+
|
251 |
+
</li>
|
252 |
+
|
253 |
+
<li>
|
254 |
+
|
255 |
+
<div class="tutorial-description-wrapper">
|
256 |
+
<h3>Show Only One Attribute in Archive Page</h3>
|
257 |
+
<div class="tutorial-contents">
|
258 |
+
If your product has 5 attributes, generally, It shows all the 5 swatches attributes on the archive pages. The first time, we launched this feature to show only a selected attribute on the shop page.
|
259 |
+
</div>
|
260 |
+
<div class="tutorial-buttons">
|
261 |
+
<a href="http://j.mp/one-shop-swatches-demo-plugininside" target="_blank" class="button button-live-demo">Live Video Preview</a>
|
262 |
+
<a href="http://bit.ly/shop-one-swatches-doc-insideplugin" target="_blank" class="button button-docs">Documentation</a>
|
263 |
+
<?php if ( ! woo_variation_swatches()->is_pro_active() ): ?>
|
264 |
+
<a href="<?php echo woo_variation_swatches()->get_pro_link( 'settings-tutorial' ) ?>" target="_blank" class="button button-pro">Upgrade to pro</a>
|
265 |
+
<?php endif; ?>
|
266 |
+
</div>
|
267 |
+
</div>
|
268 |
+
<div class="tutorial-image-wrapper">
|
269 |
+
<?php if ( ! woo_variation_swatches()->is_pro_active() ): ?>
|
270 |
+
<div class="ribbon"><span><?php esc_html_e( 'PRO', 'woo-varriation-swatches' ) ?></span></div>
|
271 |
+
<?php endif; ?>
|
272 |
+
<img alt="" src="<?php echo woo_variation_swatches()->images_uri( 'tutorial-11.jpg' ) ?>">
|
273 |
+
</div>
|
274 |
+
</li>
|
275 |
|
276 |
<li>
|
277 |
<div class="tutorial-image-wrapper">
|
286 |
To boost store conversion and engagement, Attribute variation swatches plugin enables swatch on the catalog page. It allows customers to check product variation from the archive page and add them to the cart.
|
287 |
</div>
|
288 |
<div class="tutorial-buttons">
|
289 |
+
<a href="http://j.mp/archive-swatches-demo-insideplugin" target="_blank" class="button button-live-demo">Live Video Preview</a>
|
290 |
+
<a href="http://bit.ly/archive-shop-doc-plugininside" target="_blank" class="button button-docs">Documentation</a>
|
291 |
<?php if ( ! woo_variation_swatches()->is_pro_active() ): ?>
|
292 |
<a href="<?php echo woo_variation_swatches()->get_pro_link( 'settings-tutorial' ) ?>" target="_blank" class="button button-pro">Upgrade to pro</a>
|
293 |
<?php endif; ?>
|
295 |
</div>
|
296 |
|
297 |
</li>
|
298 |
+
|
299 |
+
<li>
|
300 |
+
|
301 |
+
<div class="tutorial-description-wrapper">
|
302 |
+
<h3>Set MORE Link To avoid misalignment of the uneven number of swatches</h3>
|
303 |
+
<div class="tutorial-contents">
|
304 |
+
Products may have a different number of swatches which creates misalignment issues in the product archive pages. To avoid that, you can enable MORE link. Keep archive product look equal and parallel
|
305 |
+
</div>
|
306 |
+
<div class="tutorial-buttons">
|
307 |
+
<a href="http://j.mp/addmorelink-demo-plugininside" target="_blank" class="button button-live-demo">Live Video Preview</a>
|
308 |
+
<a href="http://j.mp/addmorelink-doc-plugininside" target="_blank" class="button button-docs">Documentation</a>
|
309 |
+
<?php if ( ! woo_variation_swatches()->is_pro_active() ): ?>
|
310 |
+
<a href="<?php echo woo_variation_swatches()->get_pro_link( 'settings-tutorial' ) ?>" target="_blank" class="button button-pro">Upgrade to pro</a>
|
311 |
+
<?php endif; ?>
|
312 |
+
</div>
|
313 |
+
</div>
|
314 |
+
<div class="tutorial-image-wrapper">
|
315 |
+
<?php if ( ! woo_variation_swatches()->is_pro_active() ): ?>
|
316 |
+
<div class="ribbon"><span><?php esc_html_e( 'PRO', 'woo-varriation-swatches' ) ?></span></div>
|
317 |
+
<?php endif; ?>
|
318 |
+
<img alt="" src="<?php echo woo_variation_swatches()->images_uri( 'tutorial-19.jpg' ) ?>">
|
319 |
+
</div>
|
320 |
+
</li>
|
321 |
+
|
322 |
+
<li>
|
323 |
+
<div class="tutorial-image-wrapper">
|
324 |
+
<?php if ( ! woo_variation_swatches()->is_pro_active() ): ?>
|
325 |
+
<div class="ribbon"><span><?php esc_html_e( 'PRO', 'woo-varriation-swatches' ) ?></span></div>
|
326 |
+
<?php endif; ?>
|
327 |
+
<img alt="" src="<?php echo woo_variation_swatches()->images_uri( 'tutorial-20.jpg' ) ?>">
|
328 |
+
</div>
|
329 |
+
<div class="tutorial-description-wrapper">
|
330 |
+
<h3>Highlight Desired Product Attribute</h3>
|
331 |
+
<div class="tutorial-contents">
|
332 |
+
Your product may have plenty of attributes. If you want to keep a single attribute standout. you can make the attribute enlarged using this popular WooCommerce Variation Swatches plugin
|
333 |
+
</div>
|
334 |
+
<div class="tutorial-buttons">
|
335 |
+
<a href="http://j.mp/highlight-demo-plugininside" target="_blank" class="button button-live-demo">Live Video Preview</a>
|
336 |
+
<a href="http://bit.ly/enlarage-selected-attr-doc-plugininside" target="_blank" class="button button-docs">Documentation</a>
|
337 |
+
<?php if ( ! woo_variation_swatches()->is_pro_active() ): ?>
|
338 |
+
<a href="<?php echo woo_variation_swatches()->get_pro_link( 'settings-tutorial' ) ?>" target="_blank" class="button button-pro">Upgrade to pro</a>
|
339 |
+
<?php endif; ?>
|
340 |
+
</div>
|
341 |
+
</div>
|
342 |
+
|
343 |
+
</li>
|
344 |
</ul>
|
345 |
|
346 |
</div>
|
languages/woo-variation-swatches.pot
CHANGED
@@ -24,7 +24,7 @@ msgstr ""
|
|
24 |
msgid "WooCommerce Variation Swatches Settings"
|
25 |
msgstr ""
|
26 |
|
27 |
-
#: ../includes/class-wvs-settings-api.php:91, ../includes/class-wvs-settings-api.php:104, ../includes/functions.php:
|
28 |
msgid "Swatches Settings"
|
29 |
msgstr ""
|
30 |
|
@@ -60,11 +60,11 @@ msgstr ""
|
|
60 |
msgid "Skip & Deactivate"
|
61 |
msgstr ""
|
62 |
|
63 |
-
#: ../includes/functions.php:48, ../includes/functions.php:
|
64 |
msgid "Color"
|
65 |
msgstr ""
|
66 |
|
67 |
-
#: ../includes/functions.php:54, ../includes/functions.php:
|
68 |
msgid "Image"
|
69 |
msgstr ""
|
70 |
|
@@ -88,7 +88,7 @@ msgstr ""
|
|
88 |
msgid "Simple"
|
89 |
msgstr ""
|
90 |
|
91 |
-
#: ../includes/functions.php:186, ../includes/functions.php:
|
92 |
msgid "Visual Section"
|
93 |
msgstr ""
|
94 |
|
@@ -128,146 +128,154 @@ msgstr ""
|
|
128 |
msgid "Squared Shape"
|
129 |
msgstr ""
|
130 |
|
|
|
|
|
|
|
|
|
131 |
#: ../includes/functions.php:218
|
|
|
|
|
|
|
|
|
132 |
msgid "Advanced"
|
133 |
msgstr ""
|
134 |
|
135 |
-
#: ../includes/functions.php:
|
136 |
msgid "Advanced change some visual styles"
|
137 |
msgstr ""
|
138 |
|
139 |
-
#: ../includes/functions.php:
|
140 |
msgid "Clear on Reselect"
|
141 |
msgstr ""
|
142 |
|
143 |
-
#: ../includes/functions.php:
|
144 |
msgid "Clear selected attribute on select again"
|
145 |
msgstr ""
|
146 |
|
147 |
-
#: ../includes/functions.php:
|
148 |
msgid "Ajax variation threshold"
|
149 |
msgstr ""
|
150 |
|
151 |
-
#: ../includes/functions.php:
|
152 |
msgid "Control the number of enable ajax variation threshold, If you set <code>1</code> all product variation will be load via ajax. Default value is <code>30</code>, <br><span style=\"color: red\">Note: Product variation loaded via ajax doesn't follow attribute behaviour. It's recommended to keep this number between 30 - 40.</span>"
|
153 |
msgstr ""
|
154 |
|
155 |
-
#: ../includes/functions.php:
|
156 |
msgid "Attribute behavior"
|
157 |
msgstr ""
|
158 |
|
159 |
-
#: ../includes/functions.php:
|
160 |
msgid "Disabled attribute will be hide / blur. <br><span style=\"color: red\">Note: Product variation loaded via ajax doesn't apply this feature.</span>"
|
161 |
msgstr ""
|
162 |
|
163 |
-
#: ../includes/functions.php:
|
164 |
msgid "Blur with cross"
|
165 |
msgstr ""
|
166 |
|
167 |
-
#: ../includes/functions.php:
|
168 |
msgid "Blur without cross"
|
169 |
msgstr ""
|
170 |
|
171 |
-
#: ../includes/functions.php:
|
172 |
msgid "Hide"
|
173 |
msgstr ""
|
174 |
|
175 |
-
#: ../includes/functions.php:
|
176 |
msgid "Attribute image size"
|
177 |
msgstr ""
|
178 |
|
179 |
-
#: ../includes/functions.php:
|
180 |
msgid "<span style=\"color: red\">Attribute image size changed by <code>wvs_product_attribute_image_size</code> hook. So this option will not apply any effect.</span>"
|
181 |
msgstr ""
|
182 |
|
183 |
-
#: ../includes/functions.php:
|
184 |
msgstr ""
|
185 |
|
186 |
-
#: ../includes/functions.php:
|
187 |
msgid "Width"
|
188 |
msgstr ""
|
189 |
|
190 |
-
#: ../includes/functions.php:
|
191 |
msgid "Variation item width"
|
192 |
msgstr ""
|
193 |
|
194 |
-
#: ../includes/functions.php:
|
195 |
msgid "Height"
|
196 |
msgstr ""
|
197 |
|
198 |
-
#: ../includes/functions.php:
|
199 |
msgid "Variation item height"
|
200 |
msgstr ""
|
201 |
|
202 |
-
#: ../includes/functions.php:
|
203 |
msgid "Font Size"
|
204 |
msgstr ""
|
205 |
|
206 |
-
#: ../includes/functions.php:
|
207 |
msgid "Single product variation item font size"
|
208 |
msgstr ""
|
209 |
|
210 |
-
#: ../includes/functions.php:
|
211 |
msgid "Style"
|
212 |
msgstr ""
|
213 |
|
214 |
-
#: ../includes/functions.php:
|
215 |
msgid "Visual Styling"
|
216 |
msgstr ""
|
217 |
|
218 |
-
#: ../includes/functions.php:
|
219 |
msgid "Change some visual styles"
|
220 |
msgstr ""
|
221 |
|
222 |
-
#: ../includes/functions.php:
|
223 |
msgid "Archive / Shop"
|
224 |
msgstr ""
|
225 |
|
226 |
-
#: ../includes/functions.php:
|
227 |
msgid "Advanced change some visual styles on shop / archive page"
|
228 |
msgstr ""
|
229 |
|
230 |
-
#: ../includes/functions.php:
|
231 |
msgid "Special Attribute"
|
232 |
msgstr ""
|
233 |
|
234 |
-
#: ../includes/functions.php:
|
235 |
msgid "Catalog mode"
|
236 |
msgstr ""
|
237 |
|
238 |
-
#: ../includes/functions.php:
|
239 |
msgid "Show single attribute as catalog mode on shop / archive pages"
|
240 |
msgstr ""
|
241 |
|
242 |
-
#: ../includes/functions.php:
|
243 |
msgid "Choose a color"
|
244 |
msgstr ""
|
245 |
|
246 |
-
#: ../includes/functions.php:
|
247 |
msgid "Choose an Image"
|
248 |
msgstr ""
|
249 |
|
250 |
-
#: ../includes/functions.php:
|
251 |
msgid "Select terms"
|
252 |
msgstr ""
|
253 |
|
254 |
-
#: ../includes/functions.php:
|
255 |
msgid "Select all"
|
256 |
msgstr ""
|
257 |
|
258 |
-
#: ../includes/functions.php:
|
259 |
msgid "Select none"
|
260 |
msgstr ""
|
261 |
|
262 |
-
#: ../includes/functions.php:
|
263 |
msgid "Add new %s"
|
264 |
msgstr ""
|
265 |
|
266 |
-
#: ../includes/functions.php:
|
267 |
msgid "Add new"
|
268 |
msgstr ""
|
269 |
|
270 |
-
#: ../includes/functions.php:
|
271 |
msgid "Choose an option"
|
272 |
msgstr ""
|
273 |
|
24 |
msgid "WooCommerce Variation Swatches Settings"
|
25 |
msgstr ""
|
26 |
|
27 |
+
#: ../includes/class-wvs-settings-api.php:91, ../includes/class-wvs-settings-api.php:104, ../includes/functions.php:1495
|
28 |
msgid "Swatches Settings"
|
29 |
msgstr ""
|
30 |
|
60 |
msgid "Skip & Deactivate"
|
61 |
msgstr ""
|
62 |
|
63 |
+
#: ../includes/functions.php:48, ../includes/functions.php:369
|
64 |
msgid "Color"
|
65 |
msgstr ""
|
66 |
|
67 |
+
#: ../includes/functions.php:54, ../includes/functions.php:378
|
68 |
msgid "Image"
|
69 |
msgstr ""
|
70 |
|
88 |
msgid "Simple"
|
89 |
msgstr ""
|
90 |
|
91 |
+
#: ../includes/functions.php:186, ../includes/functions.php:227, ../includes/functions.php:322
|
92 |
msgid "Visual Section"
|
93 |
msgstr ""
|
94 |
|
128 |
msgid "Squared Shape"
|
129 |
msgstr ""
|
130 |
|
131 |
+
#: ../includes/functions.php:217
|
132 |
+
msgid "Auto Dropdowns to Button"
|
133 |
+
msgstr ""
|
134 |
+
|
135 |
#: ../includes/functions.php:218
|
136 |
+
msgid "Convert default dropdowns to button type"
|
137 |
+
msgstr ""
|
138 |
+
|
139 |
+
#: ../includes/functions.php:225
|
140 |
msgid "Advanced"
|
141 |
msgstr ""
|
142 |
|
143 |
+
#: ../includes/functions.php:228
|
144 |
msgid "Advanced change some visual styles"
|
145 |
msgstr ""
|
146 |
|
147 |
+
#: ../includes/functions.php:233
|
148 |
msgid "Clear on Reselect"
|
149 |
msgstr ""
|
150 |
|
151 |
+
#: ../includes/functions.php:234
|
152 |
msgid "Clear selected attribute on select again"
|
153 |
msgstr ""
|
154 |
|
155 |
+
#: ../includes/functions.php:240
|
156 |
msgid "Ajax variation threshold"
|
157 |
msgstr ""
|
158 |
|
159 |
+
#: ../includes/functions.php:241
|
160 |
msgid "Control the number of enable ajax variation threshold, If you set <code>1</code> all product variation will be load via ajax. Default value is <code>30</code>, <br><span style=\"color: red\">Note: Product variation loaded via ajax doesn't follow attribute behaviour. It's recommended to keep this number between 30 - 40.</span>"
|
161 |
msgstr ""
|
162 |
|
163 |
+
#: ../includes/functions.php:249
|
164 |
msgid "Attribute behavior"
|
165 |
msgstr ""
|
166 |
|
167 |
+
#: ../includes/functions.php:250
|
168 |
msgid "Disabled attribute will be hide / blur. <br><span style=\"color: red\">Note: Product variation loaded via ajax doesn't apply this feature.</span>"
|
169 |
msgstr ""
|
170 |
|
171 |
+
#: ../includes/functions.php:252
|
172 |
msgid "Blur with cross"
|
173 |
msgstr ""
|
174 |
|
175 |
+
#: ../includes/functions.php:253
|
176 |
msgid "Blur without cross"
|
177 |
msgstr ""
|
178 |
|
179 |
+
#: ../includes/functions.php:254
|
180 |
msgid "Hide"
|
181 |
msgstr ""
|
182 |
|
183 |
+
#: ../includes/functions.php:261
|
184 |
msgid "Attribute image size"
|
185 |
msgstr ""
|
186 |
|
187 |
+
#: ../includes/functions.php:262
|
188 |
msgid "<span style=\"color: red\">Attribute image size changed by <code>wvs_product_attribute_image_size</code> hook. So this option will not apply any effect.</span>"
|
189 |
msgstr ""
|
190 |
|
191 |
+
#: ../includes/functions.php:262
|
192 |
msgstr ""
|
193 |
|
194 |
+
#: ../includes/functions.php:269
|
195 |
msgid "Width"
|
196 |
msgstr ""
|
197 |
|
198 |
+
#: ../includes/functions.php:270
|
199 |
msgid "Variation item width"
|
200 |
msgstr ""
|
201 |
|
202 |
+
#: ../includes/functions.php:279
|
203 |
msgid "Height"
|
204 |
msgstr ""
|
205 |
|
206 |
+
#: ../includes/functions.php:280
|
207 |
msgid "Variation item height"
|
208 |
msgstr ""
|
209 |
|
210 |
+
#: ../includes/functions.php:289
|
211 |
msgid "Font Size"
|
212 |
msgstr ""
|
213 |
|
214 |
+
#: ../includes/functions.php:290
|
215 |
msgid "Single product variation item font size"
|
216 |
msgstr ""
|
217 |
|
218 |
+
#: ../includes/functions.php:301
|
219 |
msgid "Style"
|
220 |
msgstr ""
|
221 |
|
222 |
+
#: ../includes/functions.php:304
|
223 |
msgid "Visual Styling"
|
224 |
msgstr ""
|
225 |
|
226 |
+
#: ../includes/functions.php:305
|
227 |
msgid "Change some visual styles"
|
228 |
msgstr ""
|
229 |
|
230 |
+
#: ../includes/functions.php:319
|
231 |
msgid "Archive / Shop"
|
232 |
msgstr ""
|
233 |
|
234 |
+
#: ../includes/functions.php:323
|
235 |
msgid "Advanced change some visual styles on shop / archive page"
|
236 |
msgstr ""
|
237 |
|
238 |
+
#: ../includes/functions.php:337
|
239 |
msgid "Special Attribute"
|
240 |
msgstr ""
|
241 |
|
242 |
+
#: ../includes/functions.php:340
|
243 |
msgid "Catalog mode"
|
244 |
msgstr ""
|
245 |
|
246 |
+
#: ../includes/functions.php:341
|
247 |
msgid "Show single attribute as catalog mode on shop / archive pages"
|
248 |
msgstr ""
|
249 |
|
250 |
+
#: ../includes/functions.php:370
|
251 |
msgid "Choose a color"
|
252 |
msgstr ""
|
253 |
|
254 |
+
#: ../includes/functions.php:379, ../woo-variation-swatches.php:375
|
255 |
msgid "Choose an Image"
|
256 |
msgstr ""
|
257 |
|
258 |
+
#: ../includes/functions.php:547, ../includes/functions.php:597, ../includes/functions.php:626
|
259 |
msgid "Select terms"
|
260 |
msgstr ""
|
261 |
|
262 |
+
#: ../includes/functions.php:557, ../includes/functions.php:609, ../includes/functions.php:642
|
263 |
msgid "Select all"
|
264 |
msgstr ""
|
265 |
|
266 |
+
#: ../includes/functions.php:558, ../includes/functions.php:610, ../includes/functions.php:643
|
267 |
msgid "Select none"
|
268 |
msgstr ""
|
269 |
|
270 |
+
#: ../includes/functions.php:564, ../includes/functions.php:649
|
271 |
msgid "Add new %s"
|
272 |
msgstr ""
|
273 |
|
274 |
+
#: ../includes/functions.php:564, ../includes/functions.php:566, ../includes/functions.php:649, ../includes/functions.php:651
|
275 |
msgid "Add new"
|
276 |
msgstr ""
|
277 |
|
278 |
+
#: ../includes/functions.php:936, ../includes/functions.php:1008, ../includes/functions.php:1081, ../includes/functions.php:1151, ../includes/functions.php:1219, ../includes/functions.php:1301
|
279 |
msgid "Choose an option"
|
280 |
msgstr ""
|
281 |
|
package.json
CHANGED
@@ -1,7 +1,7 @@
|
|
1 |
{
|
2 |
"package": "Variation Swatches for WooCommerce",
|
3 |
"name": "woo-variation-swatches",
|
4 |
-
"version": "1.0.
|
5 |
"author": "Emran Ahmed <emran.bd.08@gmail.com>",
|
6 |
"contact": "emran.bd.08@gmail.com",
|
7 |
"license": "GNU General Public License v3",
|
1 |
{
|
2 |
"package": "Variation Swatches for WooCommerce",
|
3 |
"name": "woo-variation-swatches",
|
4 |
+
"version": "1.0.63",
|
5 |
"author": "Emran Ahmed <emran.bd.08@gmail.com>",
|
6 |
"contact": "emran.bd.08@gmail.com",
|
7 |
"license": "GNU General Public License v3",
|
webpack.mix.js
CHANGED
@@ -61,7 +61,7 @@ if (Mix.inProduction()) {
|
|
61 |
}
|
62 |
|
63 |
mix.banner({
|
64 |
-
banner : "Variation Swatches for WooCommerce v1.0.
|
65 |
});
|
66 |
|
67 |
mix.notification({
|
61 |
}
|
62 |
|
63 |
mix.banner({
|
64 |
+
banner : "Variation Swatches for WooCommerce v1.0.63 \n\nAuthor: Emran Ahmed ( emran.bd.08@gmail.com ) \nDate: " + new Date().toLocaleString() + "\nReleased under the GPLv3 license."
|
65 |
});
|
66 |
|
67 |
mix.notification({
|
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 3.2+
|
6 |
* Author: Emran Ahmed
|
7 |
-
* Version: 1.0.
|
8 |
* Domain Path: /languages
|
9 |
* Requires at least: 4.8
|
10 |
* Tested up to: 5.2
|
@@ -20,7 +20,7 @@
|
|
20 |
|
21 |
final class Woo_Variation_Swatches {
|
22 |
|
23 |
-
protected $_version = '1.0.
|
24 |
|
25 |
protected static $_instance = null;
|
26 |
private $_settings_api;
|
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 3.2+
|
6 |
* Author: Emran Ahmed
|
7 |
+
* Version: 1.0.63
|
8 |
* Domain Path: /languages
|
9 |
* Requires at least: 4.8
|
10 |
* Tested up to: 5.2
|
20 |
|
21 |
final class Woo_Variation_Swatches {
|
22 |
|
23 |
+
protected $_version = '1.0.63';
|
24 |
|
25 |
protected static $_instance = null;
|
26 |
private $_settings_api;
|