YITH WooCommerce Wishlist - Version 2.2.3

Version Description

  • Released: Jul, 26 - 2018 =

  • Update: Plugin core.

  • Update: Translation file.

Download this release

Release Info

Developer yithemes
Plugin Icon 128x128 YITH WooCommerce Wishlist
Version 2.2.3
Comparing to
See all releases

Code changes from version 2.2.2 to 2.2.3

README.txt CHANGED
@@ -4,7 +4,7 @@ Contributors: yithemes
4
  Tags: wishlist, woocommerce, products, yit, e-commerce, shop, ecommerce wishlist, yith, woocommerce wishlist, shop wishlist
5
  Requires at least: 4.0
6
  Tested up to: 4.9.6
7
- Stable tag: 2.2.2
8
  License: GPLv2 or later
9
  License URI: http://www.gnu.org/licenses/gpl-2.0.html
10
 
@@ -109,6 +109,11 @@ you should ask theme developers to update custom templates and replace the old t
109
 
110
  == Changelog ==
111
 
 
 
 
 
 
112
  = 2.2.2 - Released: May, 28 - 2018 =
113
 
114
  * New: WooCommerce 3.4 compatibility
4
  Tags: wishlist, woocommerce, products, yit, e-commerce, shop, ecommerce wishlist, yith, woocommerce wishlist, shop wishlist
5
  Requires at least: 4.0
6
  Tested up to: 4.9.6
7
+ Stable tag: 2.2.3
8
  License: GPLv2 or later
9
  License URI: http://www.gnu.org/licenses/gpl-2.0.html
10
 
109
 
110
  == Changelog ==
111
 
112
+ = 2.2.3 - Released: Jul, 26 - 2018 =
113
+
114
+ * Update: Plugin core.
115
+ * Update: Translation file.
116
+
117
  = 2.2.2 - Released: May, 28 - 2018 =
118
 
119
  * New: WooCommerce 3.4 compatibility
includes/class.yith-wcwl-init.php CHANGED
@@ -49,7 +49,7 @@ if ( ! class_exists( 'YITH_WCWL_Init' ) ) {
49
  * @var string
50
  * @since 1.0.0
51
  */
52
- public $version = '2.2.2';
53
 
54
  /**
55
  * Plugin database version
49
  * @var string
50
  * @since 1.0.0
51
  */
52
+ public $version = '2.2.3';
53
 
54
  /**
55
  * Plugin database version
includes/class.yith-wcwl-ui.php CHANGED
@@ -1,224 +1,224 @@
1
- <?php
2
- /**
3
- * Shortcodes class
4
- *
5
- * @author Your Inspiration Themes
6
- * @package YITH WooCommerce Wishlist
7
- * @version 1.1.5
8
- */
9
-
10
- if ( ! defined( 'YITH_WCWL' ) ) {
11
- exit;
12
- } // Exit if accessed directly
13
-
14
- if( ! class_exists( 'YITH_WCWL_UI' ) ) {
15
-
16
- /**
17
- * YITH_WCWL_UI class, with methods used to print user interface
18
- *
19
- * @since 1.0.0
20
- */
21
- class YITH_WCWL_UI {
22
-
23
- /**
24
- * Build the popup message HTML/jQuery.
25
- *
26
- * @return string
27
- * @static
28
- * @since 1.0.0
29
- */
30
- public static function popup_message() {
31
- _deprecated_function( 'popup_message', '2.0.0', 'add-to-wishlist-button.php template' );
32
- ob_start() ?>
33
-
34
- <script type="text/javascript">
35
- if( !jQuery( '#yith-wcwl-popup-message' ).length ) {
36
- jQuery( 'body' ).prepend(
37
- '<div id="yith-wcwl-popup-message" style="display:none;">' +
38
- '<div id="yith-wcwl-message"></div>' +
39
- '</div>'
40
- );
41
- }
42
- </script>
43
-
44
- <?php
45
- return ob_get_clean();
46
- }
47
-
48
- /**
49
- * Build the "Add to Wishlist" HTML
50
- *
51
- * @deprecated
52
- * @param string $url
53
- * @param string $product_type
54
- * @param bool $exists
55
- * @return string
56
- * @static
57
- * @since 1.0.0
58
- */
59
- public static function add_to_wishlist_button( $url, $product_type, $exists ) {
60
- _deprecated_function( 'add_to_wishlist_button', '2.0.0', 'add-to-wishlist-button.php template' );
61
-
62
- global $yith_wcwl, $product;
63
- $product_id = yit_get_product_id( $product );
64
-
65
- $label_option = get_option( 'yith_wcwl_add_to_wishlist_text' );
66
- $localize_label = function_exists( 'icl_translate' ) ? icl_translate( 'Plugins', 'plugin_yit_wishlist_button', $label_option ) : $label_option;
67
-
68
- $label = apply_filters( 'yith_wcwl_button_label', $localize_label );
69
- $icon = get_option( 'yith_wcwl_add_to_wishlist_icon' ) != 'none' ? '<i class="fa ' . get_option( 'yith_wcwl_add_to_wishlist_icon' ) . '"></i>' : '';
70
-
71
- $classes = get_option( 'yith_wcwl_use_button' ) == 'yes' ? 'class="add_to_wishlist single_add_to_wishlist button alt"' : 'class="add_to_wishlist"';
72
-
73
- $html = '<div class="yith-wcwl-add-to-wishlist">';
74
- $html .= '<div class="yith-wcwl-add-button'; // the class attribute is closed in the next row
75
-
76
- $html .= $exists ? ' hide" style="display:none;"' : ' show"';
77
-
78
- $html .= '><a href="' . esc_url( add_query_arg( 'add_to_wishlist', $product_id ) ) . '" data-product-id="' . $product_id . '" data-product-type="' . $product_type . '" ' . $classes . ' >' . $icon . $label . '</a>';
79
- $html .= '<img src="' . esc_url( admin_url( 'images/wpspin_light.gif' ) ) . '" class="ajax-loading" alt="loading" width="16" height="16" style="visibility:hidden" />';
80
- $html .= '</div>';
81
-
82
- $html .= '<div class="yith-wcwl-wishlistaddedbrowse hide" style="display:none;"><span class="feedback">' . __( 'Product added!','yith-woocommerce-wishlist' ) . '</span> <a href="' . esc_url( $url ) . '">' . apply_filters( 'yith-wcwl-browse-wishlist-label', __( 'Browse Wishlist', 'yith-woocommerce-wishlist' ) ) . '</a></div>';
83
- $html .= '<div class="yith-wcwl-wishlistexistsbrowse ' . ( $exists ? 'show' : 'hide' ) . '" style="display:' . ( $exists ? 'block' : 'none' ) . '"><span class="feedback">' . __( 'The product is already in the wishlist!', 'yith-woocommerce-wishlist' ) . '</span> <a href="' . esc_url( $url ) . '">' . apply_filters( 'yith-wcwl-browse-wishlist-label', __( 'Browse Wishlist', 'yith-woocommerce-wishlist' ) ) . '</a></div>';
84
- $html .= '<div style="clear:both"></div><div class="yith-wcwl-wishlistaddresponse"></div>';
85
-
86
- $html .= '</div>';
87
- $html .= '<div class="clear"></div>';
88
-
89
- return $html;
90
- }
91
-
92
- /**
93
- * Build the "Add to cart" HTML.
94
- *
95
- * @deprecated
96
- * @param string $url
97
- * @param string $stock_status
98
- * @param string $type
99
- * @return string
100
- * @static
101
- * @since 1.0.0
102
- */
103
- public static function add_to_cart_button( $product_id, $stock_status ) {
104
- _deprecated_function( 'add_to_cart_button', '2.0.0', 'wc_get_template( "loop/add-to-cart.php" )' );
105
-
106
- global $yith_wcwl, $product;
107
-
108
- if ( function_exists( 'get_product' ) )
109
- $product = get_product( $product_id );
110
- else
111
- $product = new WC_Product( $product_id );
112
-
113
- $url = $product->product_type == 'external' ? $yith_wcwl->get_affiliate_product_url( $product_id ) : $yith_wcwl->get_addtocart_url( $product_id );
114
-
115
- $label_option = get_option( 'yith_wcwl_add_to_cart_text' );
116
- $localize_label = function_exists( 'icl_translate' ) ? icl_translate( 'Plugins', 'plugin_yit_wishlist_button', $label_option ) : $label_option;
117
-
118
- $label = $product->product_type == 'variable' ? apply_filters( 'variable_add_to_cart_text', __('Select options', 'yith-woocommerce-wishlist') ) : apply_filters( 'yith_wcwl_add_to_cart_label', $localize_label );
119
- $icon = get_option( 'yith_wcwl_use_button' ) == 'yes' && get_option( 'yith_wcwl_add_to_cart_icon' ) != 'none' ? '<i class="fa ' . get_option( 'yith_wcwl_add_to_cart_icon' ) . '"></i>' : '';
120
-
121
- $cartlink = '';
122
- $redirect_to_cart = get_option( 'yith_wcwl_redirect_cart' ) == 'yes' && $product->product_type != 'variable' ? 'true' : 'false';
123
- $style = ''; //indicates the style (background-color and font color)
124
-
125
- if( get_option( 'yith_wcwl_use_button' ) == 'yes' ) {
126
- if( $product->product_type == 'external' ) {
127
- $cartlink .= '<a target="_blank" class="add_to_cart button alt" href="' . $url . '"';
128
- } else {
129
- $cartlink .= '<a class="add_to_cart add_to_cart_from_wishlist button alt" href="' . $url . '" data-stock-status="' . $stock_status . '" data-redirect-to-cart="' . $redirect_to_cart . '"';
130
- }
131
-
132
- $cartlink .= $style . '>' . $icon . $label . '</a>';
133
- } else {
134
- if( $product->product_type == 'external' ) {
135
- $cartlink .= '<a target="_blank" class="add_to_cart button alt" href="' . $url . '">' . $icon . $label . '</a>';
136
- } else {
137
- $cartlink .= '<a class="add_to_cart add_to_cart_from_wishlist button alt" href="' . $url . '" data-stock-status="' . $stock_status . '" data-redirect-to-cart="' . $redirect_to_cart . '">' . $icon . $label . '</a>';
138
- }
139
- }
140
-
141
- return $cartlink;
142
- }
143
-
144
- /**
145
- * Build share HTML.
146
- *
147
- * @deprecated
148
- * @param string $url
149
- * @return string $string
150
- * @static
151
- * @since 1.0.0
152
- */
153
- public static function get_share_links( $url ) {
154
- _deprecated_function( 'get_share_links', '2.0.0', 'share.php template' );
155
-
156
- $normal_url = $url;
157
- $url = urlencode( $url );
158
- $title = apply_filters( 'plugin_text', urlencode( get_option( 'yith_wcwl_socials_title' ) ) );
159
- $twitter_summary = str_replace( '%wishlist_url%', '', get_option( 'yith_wcwl_socials_text' ) );
160
- $summary = urlencode( str_replace( '%wishlist_url%', $normal_url, get_option( 'yith_wcwl_socials_text' ) ) );
161
- $imageurl = urlencode( get_option( 'yith_wcwl_socials_image_url' ) );
162
-
163
- $html = '<div class="yith-wcwl-share">';
164
- $html .= apply_filters( 'yith_wcwl_socials_share_title', '<span>' . __( 'Share on:', 'yith-woocommerce-wishlist' ) . '</span>' );
165
- $html .= '<ul>';
166
-
167
- if( get_option( 'yith_wcwl_share_fb' ) == 'yes' )
168
- { $html .= '<li style="list-style-type: none; display: inline-block;"><a target="_blank" class="facebook" href="https://www.facebook.com/sharer.php?s=100&amp;p[title]=' . $title . '&amp;p[url]=' . $url . '&amp;p[summary]=' . $summary . '&amp;p[images][0]=' . $imageurl . '" title="' . __( 'Facebook', 'yith-woocommerce-wishlist' ) . '"></a></li>'; }
169
-
170
- if( get_option( 'yith_wcwl_share_twitter' ) == 'yes' )
171
- { $html .= '<li style="list-style-type: none; display: inline-block;"><a target="_blank" class="twitter" href="https://twitter.com/share?url=' . $url . '&amp;text=' . $twitter_summary . '" title="' . __( 'Twitter', 'yith-woocommerce-wishlist' ) . '"></a></li>'; }
172
-
173
- if( get_option( 'yith_wcwl_share_pinterest' ) == 'yes' )
174
- { $html .= '<li style="list-style-type: none; display: inline-block;"><a target="_blank" class="pinterest" href="http://pinterest.com/pin/create/button/?url=' . $url . '&amp;description=' . $summary . '&media=' . $imageurl . '" onclick="window.open(this.href); return false;"></a></li>'; }
175
-
176
- if( get_option( 'yith_wcwl_share_googleplus' ) == 'yes' )
177
- { $html .= '<li style="list-style-type: none; display: inline-block;"><a target="_blank" class="googleplus" href="https://plus.google.com/share?url=' . $url . '&amp;title=' . $title . '" title="' . $title . '" onclick=\'javascript:window.open(this.href, "", "menubar=no,toolbar=no,resizable=yes,scrollbars=yes,height=600,width=600");return false;\'></a></li>'; }
178
-
179
- if( get_option( 'yith_wcwl_share_email' ) == 'yes' )
180
- { $html .= '<li style="list-style-type: none; display: inline-block;"><a class="email" href="mailto:?subject=I wanted you to see this site&amp;body= ' . $url . '&amp;title=' . __('email', 'yith-woocommerce-wishlist') . '" title="' . $title . '" ></a></li>'; }
181
-
182
- $html .= '</ul>';
183
- $html .= '</div>';
184
-
185
- return $html;
186
- }
187
-
188
- /**
189
- * Adds classes to add-to-cart button
190
- *
191
- * @param $button_html string
192
- * @param $product \WC_Product
193
- * @return string
194
- * @static
195
- * @since 2.0.0
196
- */
197
- public static function alter_add_to_cart_button( $button_html, $product ){
198
- // retrieve options
199
- $label_option = get_option( 'yith_wcwl_add_to_cart_text' );
200
- $label = $product->is_type( 'variable' ) ? apply_filters( 'variable_add_to_cart_text', __('Select options', 'yith-woocommerce-wishlist') ) : apply_filters( 'yith_wcwl_add_to_cart_label', $label_option );
201
- $icon = '';
202
-
203
- if( get_option( 'yith_wcwl_frontend_css' ) != 'yes' && get_option( 'yith_wcwl_use_button' ) == 'yes' && get_option( 'yith_wcwl_add_to_cart_icon' ) != 'none' ) {
204
- $icon = '<i class="fa ' . get_option( 'yith_wcwl_add_to_cart_icon' ) . '"></i>';
205
- }
206
-
207
- // customize
208
- $match = array();
209
- preg_match( '/<a.*class="([^"]*).*>.*<\/a>/', $button_html, $match );
210
-
211
- if( ! empty( $match ) && isset( $match[1] ) ){
212
- $button_html = str_replace( $match[1], $match[1] . ' add_to_cart button alt', $button_html );
213
- }
214
-
215
- preg_match( '/<a.*?>(.*)<\/a>/', $button_html, $match );
216
-
217
- if( ! empty( $match ) && isset( $match[1] ) ){
218
- $button_html = str_replace( '>' . $match[1] . '<', '>' . $icon . ' ' . $label . '<', $button_html );
219
- }
220
-
221
- return $button_html;
222
- }
223
- }
224
  }
1
+ <?php
2
+ /**
3
+ * Shortcodes class
4
+ *
5
+ * @author Your Inspiration Themes
6
+ * @package YITH WooCommerce Wishlist
7
+ * @version 1.1.5
8
+ */
9
+
10
+ if ( ! defined( 'YITH_WCWL' ) ) {
11
+ exit;
12
+ } // Exit if accessed directly
13
+
14
+ if( ! class_exists( 'YITH_WCWL_UI' ) ) {
15
+
16
+ /**
17
+ * YITH_WCWL_UI class, with methods used to print user interface
18
+ *
19
+ * @since 1.0.0
20
+ */
21
+ class YITH_WCWL_UI {
22
+
23
+ /**
24
+ * Build the popup message HTML/jQuery.
25
+ *
26
+ * @return string
27
+ * @static
28
+ * @since 1.0.0
29
+ */
30
+ public static function popup_message() {
31
+ _deprecated_function( 'popup_message', '2.0.0', 'add-to-wishlist-button.php template' );
32
+ ob_start() ?>
33
+
34
+ <script type="text/javascript">
35
+ if( !jQuery( '#yith-wcwl-popup-message' ).length ) {
36
+ jQuery( 'body' ).prepend(
37
+ '<div id="yith-wcwl-popup-message" style="display:none;">' +
38
+ '<div id="yith-wcwl-message"></div>' +
39
+ '</div>'
40
+ );
41
+ }
42
+ </script>
43
+
44
+ <?php
45
+ return ob_get_clean();
46
+ }
47
+
48
+ /**
49
+ * Build the "Add to Wishlist" HTML
50
+ *
51
+ * @deprecated
52
+ * @param string $url
53
+ * @param string $product_type
54
+ * @param bool $exists
55
+ * @return string
56
+ * @static
57
+ * @since 1.0.0
58
+ */
59
+ public static function add_to_wishlist_button( $url, $product_type, $exists ) {
60
+ _deprecated_function( 'add_to_wishlist_button', '2.0.0', 'add-to-wishlist-button.php template' );
61
+
62
+ global $yith_wcwl, $product;
63
+ $product_id = yit_get_product_id( $product );
64
+
65
+ $label_option = get_option( 'yith_wcwl_add_to_wishlist_text' );
66
+ $localize_label = function_exists( 'icl_translate' ) ? icl_translate( 'Plugins', 'plugin_yit_wishlist_button', $label_option ) : $label_option;
67
+
68
+ $label = apply_filters( 'yith_wcwl_button_label', $localize_label );
69
+ $icon = get_option( 'yith_wcwl_add_to_wishlist_icon' ) != 'none' ? '<i class="fa ' . get_option( 'yith_wcwl_add_to_wishlist_icon' ) . '"></i>' : '';
70
+
71
+ $classes = get_option( 'yith_wcwl_use_button' ) == 'yes' ? 'class="add_to_wishlist single_add_to_wishlist button alt"' : 'class="add_to_wishlist"';
72
+
73
+ $html = '<div class="yith-wcwl-add-to-wishlist">';
74
+ $html .= '<div class="yith-wcwl-add-button'; // the class attribute is closed in the next row
75
+
76
+ $html .= $exists ? ' hide" style="display:none;"' : ' show"';
77
+
78
+ $html .= '><a href="' . esc_url( add_query_arg( 'add_to_wishlist', $product_id ) ) . '" data-product-id="' . $product_id . '" data-product-type="' . $product_type . '" ' . $classes . ' >' . $icon . $label . '</a>';
79
+ $html .= '<img src="' . esc_url( admin_url( 'images/wpspin_light.gif' ) ) . '" class="ajax-loading" alt="loading" width="16" height="16" style="visibility:hidden" />';
80
+ $html .= '</div>';
81
+
82
+ $html .= '<div class="yith-wcwl-wishlistaddedbrowse hide" style="display:none;"><span class="feedback">' . __( 'Product added!','yith-woocommerce-wishlist' ) . '</span> <a href="' . esc_url( $url ) . '">' . apply_filters( 'yith-wcwl-browse-wishlist-label', __( 'Browse Wishlist', 'yith-woocommerce-wishlist' ) ) . '</a></div>';
83
+ $html .= '<div class="yith-wcwl-wishlistexistsbrowse ' . ( $exists ? 'show' : 'hide' ) . '" style="display:' . ( $exists ? 'block' : 'none' ) . '"><span class="feedback">' . __( 'The product is already in the wishlist!', 'yith-woocommerce-wishlist' ) . '</span> <a href="' . esc_url( $url ) . '">' . apply_filters( 'yith-wcwl-browse-wishlist-label', __( 'Browse Wishlist', 'yith-woocommerce-wishlist' ) ) . '</a></div>';
84
+ $html .= '<div style="clear:both"></div><div class="yith-wcwl-wishlistaddresponse"></div>';
85
+
86
+ $html .= '</div>';
87
+ $html .= '<div class="clear"></div>';
88
+
89
+ return $html;
90
+ }
91
+
92
+ /**
93
+ * Build the "Add to cart" HTML.
94
+ *
95
+ * @deprecated
96
+ * @param string $url
97
+ * @param string $stock_status
98
+ * @param string $type
99
+ * @return string
100
+ * @static
101
+ * @since 1.0.0
102
+ */
103
+ public static function add_to_cart_button( $product_id, $stock_status ) {
104
+ _deprecated_function( 'add_to_cart_button', '2.0.0', 'wc_get_template( "loop/add-to-cart.php" )' );
105
+
106
+ global $yith_wcwl, $product;
107
+
108
+ if ( function_exists( 'get_product' ) )
109
+ $product = get_product( $product_id );
110
+ else
111
+ $product = new WC_Product( $product_id );
112
+
113
+ $url = $product->product_type == 'external' ? $yith_wcwl->get_affiliate_product_url( $product_id ) : $yith_wcwl->get_addtocart_url( $product_id );
114
+
115
+ $label_option = get_option( 'yith_wcwl_add_to_cart_text' );
116
+ $localize_label = function_exists( 'icl_translate' ) ? icl_translate( 'Plugins', 'plugin_yit_wishlist_button', $label_option ) : $label_option;
117
+
118
+ $label = $product->product_type == 'variable' ? apply_filters( 'variable_add_to_cart_text', __('Select options', 'yith-woocommerce-wishlist') ) : apply_filters( 'yith_wcwl_add_to_cart_label', $localize_label );
119
+ $icon = get_option( 'yith_wcwl_use_button' ) == 'yes' && get_option( 'yith_wcwl_add_to_cart_icon' ) != 'none' ? '<i class="fa ' . get_option( 'yith_wcwl_add_to_cart_icon' ) . '"></i>' : '';
120
+
121
+ $cartlink = '';
122
+ $redirect_to_cart = get_option( 'yith_wcwl_redirect_cart' ) == 'yes' && $product->product_type != 'variable' ? 'true' : 'false';
123
+ $style = ''; //indicates the style (background-color and font color)
124
+
125
+ if( get_option( 'yith_wcwl_use_button' ) == 'yes' ) {
126
+ if( $product->product_type == 'external' ) {
127
+ $cartlink .= '<a target="_blank" class="add_to_cart button alt" href="' . $url . '"';
128
+ } else {
129
+ $cartlink .= '<a class="add_to_cart add_to_cart_from_wishlist button alt" href="' . $url . '" data-stock-status="' . $stock_status . '" data-redirect-to-cart="' . $redirect_to_cart . '"';
130
+ }
131
+
132
+ $cartlink .= $style . '>' . $icon . $label . '</a>';
133
+ } else {
134
+ if( $product->product_type == 'external' ) {
135
+ $cartlink .= '<a target="_blank" class="add_to_cart button alt" href="' . $url . '">' . $icon . $label . '</a>';
136
+ } else {
137
+ $cartlink .= '<a class="add_to_cart add_to_cart_from_wishlist button alt" href="' . $url . '" data-stock-status="' . $stock_status . '" data-redirect-to-cart="' . $redirect_to_cart . '">' . $icon . $label . '</a>';
138
+ }
139
+ }
140
+
141
+ return $cartlink;
142
+ }
143
+
144
+ /**
145
+ * Build share HTML.
146
+ *
147
+ * @deprecated
148
+ * @param string $url
149
+ * @return string $string
150
+ * @static
151
+ * @since 1.0.0
152
+ */
153
+ public static function get_share_links( $url ) {
154
+ _deprecated_function( 'get_share_links', '2.0.0', 'share.php template' );
155
+
156
+ $normal_url = $url;
157
+ $url = urlencode( $url );
158
+ $title = apply_filters( 'plugin_text', urlencode( get_option( 'yith_wcwl_socials_title' ) ) );
159
+ $twitter_summary = str_replace( '%wishlist_url%', '', get_option( 'yith_wcwl_socials_text' ) );
160
+ $summary = urlencode( str_replace( '%wishlist_url%', $normal_url, get_option( 'yith_wcwl_socials_text' ) ) );
161
+ $imageurl = urlencode( get_option( 'yith_wcwl_socials_image_url' ) );
162
+
163
+ $html = '<div class="yith-wcwl-share">';
164
+ $html .= apply_filters( 'yith_wcwl_socials_share_title', '<span>' . __( 'Share on:', 'yith-woocommerce-wishlist' ) . '</span>' );
165
+ $html .= '<ul>';
166
+
167
+ if( get_option( 'yith_wcwl_share_fb' ) == 'yes' )
168
+ { $html .= '<li style="list-style-type: none; display: inline-block;"><a target="_blank" class="facebook" href="https://www.facebook.com/sharer.php?s=100&amp;p[title]=' . $title . '&amp;p[url]=' . $url . '&amp;p[summary]=' . $summary . '&amp;p[images][0]=' . $imageurl . '" title="' . __( 'Facebook', 'yith-woocommerce-wishlist' ) . '"></a></li>'; }
169
+
170
+ if( get_option( 'yith_wcwl_share_twitter' ) == 'yes' )
171
+ { $html .= '<li style="list-style-type: none; display: inline-block;"><a target="_blank" class="twitter" href="https://twitter.com/share?url=' . $url . '&amp;text=' . $twitter_summary . '" title="' . __( 'Twitter', 'yith-woocommerce-wishlist' ) . '"></a></li>'; }
172
+
173
+ if( get_option( 'yith_wcwl_share_pinterest' ) == 'yes' )
174
+ { $html .= '<li style="list-style-type: none; display: inline-block;"><a target="_blank" class="pinterest" href="http://pinterest.com/pin/create/button/?url=' . $url . '&amp;description=' . $summary . '&media=' . $imageurl . '" onclick="window.open(this.href); return false;"></a></li>'; }
175
+
176
+ if( get_option( 'yith_wcwl_share_googleplus' ) == 'yes' )
177
+ { $html .= '<li style="list-style-type: none; display: inline-block;"><a target="_blank" class="googleplus" href="https://plus.google.com/share?url=' . $url . '&amp;title=' . $title . '" title="' . $title . '" onclick=\'javascript:window.open(this.href, "", "menubar=no,toolbar=no,resizable=yes,scrollbars=yes,height=600,width=600");return false;\'></a></li>'; }
178
+
179
+ if( get_option( 'yith_wcwl_share_email' ) == 'yes' )
180
+ { $html .= '<li style="list-style-type: none; display: inline-block;"><a class="email" href="mailto:?subject=I wanted you to see this site&amp;body= ' . $url . '&amp;title=' . __('email', 'yith-woocommerce-wishlist') . '" title="' . $title . '" ></a></li>'; }
181
+
182
+ $html .= '</ul>';
183
+ $html .= '</div>';
184
+
185
+ return $html;
186
+ }
187
+
188
+ /**
189
+ * Adds classes to add-to-cart button
190
+ *
191
+ * @param $button_html string
192
+ * @param $product \WC_Product
193
+ * @return string
194
+ * @static
195
+ * @since 2.0.0
196
+ */
197
+ public static function alter_add_to_cart_button( $button_html, $product ){
198
+ // retrieve options
199
+ $label_option = get_option( 'yith_wcwl_add_to_cart_text' );
200
+ $label = $product->is_type( 'variable' ) ? apply_filters( 'variable_add_to_cart_text', __('Select options', 'yith-woocommerce-wishlist') ) : apply_filters( 'yith_wcwl_add_to_cart_label', $label_option );
201
+ $icon = '';
202
+
203
+ if( get_option( 'yith_wcwl_frontend_css' ) != 'yes' && get_option( 'yith_wcwl_use_button' ) == 'yes' && get_option( 'yith_wcwl_add_to_cart_icon' ) != 'none' ) {
204
+ $icon = '<i class="fa ' . get_option( 'yith_wcwl_add_to_cart_icon' ) . '"></i>';
205
+ }
206
+
207
+ // customize
208
+ $match = array();
209
+ preg_match( '/<a.*class="([^"]*).*>.*<\/a>/', $button_html, $match );
210
+
211
+ if( ! empty( $match ) && isset( $match[1] ) ){
212
+ $button_html = str_replace( $match[1], $match[1] . ' add_to_cart button alt', $button_html );
213
+ }
214
+
215
+ preg_match( '/<a.*?>(.*)<\/a>/', $button_html, $match );
216
+
217
+ if( ! empty( $match ) && isset( $match[1] ) ){
218
+ $button_html = str_replace( '>' . $match[1] . '<', '>' . $icon . ' ' . $label . '<', $button_html );
219
+ }
220
+
221
+ return $button_html;
222
+ }
223
+ }
224
  }
init.php CHANGED
@@ -3,7 +3,7 @@
3
  * Plugin Name: YITH WooCommerce Wishlist
4
  * Plugin URI: http://yithemes.com/themes/plugins/yith-woocommerce-wishlist/
5
  * Description: YITH WooCommerce Wishlist allows you to add Wishlist functionality to your e-commerce.
6
- * Version: 2.2.2
7
  * Author: YITHEMES
8
  * Author URI: http://yithemes.com/
9
  * Text Domain: yith-woocommerce-wishlist
3
  * Plugin Name: YITH WooCommerce Wishlist
4
  * Plugin URI: http://yithemes.com/themes/plugins/yith-woocommerce-wishlist/
5
  * Description: YITH WooCommerce Wishlist allows you to add Wishlist functionality to your e-commerce.
6
+ * Version: 2.2.3
7
  * Author: YITHEMES
8
  * Author URI: http://yithemes.com/
9
  * Text Domain: yith-woocommerce-wishlist
languages/yith-woocommerce-wishlist.pot CHANGED
@@ -1,905 +1,1001 @@
1
- #, fuzzy
2
- msgid ""
3
- msgstr ""
4
- "Project-Id-Version: YITH WooCommerce Wishlist\n"
5
- "POT-Creation-Date: 2017-10-24 17:31+0200\n"
6
- "PO-Revision-Date: 2015-04-30 17:08+0100\n"
7
- "Last-Translator: Nicola Mustone <mail@nicolamustone.it>\n"
8
- "Language-Team: Your Inspiration Themes <plugins@yithemes.com>\n"
9
- "Language: en\n"
10
- "MIME-Version: 1.0\n"
11
- "Content-Type: text/plain; charset=UTF-8\n"
12
- "Content-Transfer-Encoding: 8bit\n"
13
- "X-Generator: Poedit 1.8.7.1\n"
14
- "X-Poedit-KeywordsList: _;gettext;gettext_noop;__;_e;_n:1,2;__ngettext:1,2;"
15
- "__ngettext_noop:1,2;_n_noop:1,2;_c,_nc:4c,1,2;_x:1,2c;_ex:1,2c;_nx:4c,1,2;"
16
- "_nx_noop:4c,1,2\n"
17
- "X-Poedit-Basepath: .\n"
18
- "Plural-Forms: nplurals=2; plural=n!=1;\n"
19
- "X-Poedit-SourceCharset: UTF-8\n"
20
- "X-Poedit-SearchPath-0: ..\n"
21
- "X-Poedit-SearchPathExcluded-0: ../plugin-fw\n"
22
-
23
- #: ../includes/class.yith-wcwl-admin-init.php:159
24
- #: ../includes/class.yith-wcwl-admin-init.php:1483
25
- #: ../includes/class.yith-wcwl-admin-init.php:1484
26
- #: ../includes/class.yith-wcwl-install.php:244
27
- msgid "Wishlist"
28
- msgstr ""
29
-
30
- #: ../includes/class.yith-wcwl-admin-init.php:161
31
- #: ../includes/class.yith-wcwl-admin-init.php:251
32
- msgid "Settings"
33
- msgstr ""
34
-
35
- #: ../includes/class.yith-wcwl-admin-init.php:162
36
- #: ../includes/class.yith-wcwl-admin-init.php:236
37
- msgid "Colors"
38
- msgstr ""
39
-
40
- #: ../includes/class.yith-wcwl-admin-init.php:163
41
- #: ../includes/class.yith-wcwl-admin-init.php:255
42
- msgid "Premium Version"
43
- msgstr ""
44
-
45
- #: ../includes/class.yith-wcwl-admin-init.php:256
46
- msgid "Live Demo"
47
- msgstr ""
48
-
49
- #: ../includes/class.yith-wcwl-admin-init.php:280
50
- msgid ""
51
- "WARNING: This plugin requires at least WooCommerce 2.2! Please, use this "
52
- "link to update it."
53
- msgstr ""
54
-
55
- #: ../includes/class.yith-wcwl-admin-init.php:283
56
- msgid "WARNING: This plugin requires at least WooCommerce 2.2!"
57
- msgstr ""
58
-
59
- #: ../includes/class.yith-wcwl-admin-init.php:288
60
- msgid "Plugin Documentation"
61
- msgstr ""
62
-
63
- #: ../includes/class.yith-wcwl-admin-init.php:1023
64
- msgid "Upgrade to the PREMIUM VERSION"
65
- msgstr ""
66
-
67
- #: ../includes/class.yith-wcwl-admin-init.php:1026
68
- msgid "YITH WooCommerce Wishlist"
69
- msgstr ""
70
-
71
- #: ../includes/class.yith-wcwl-admin-init.php:1027
72
- msgid "Discover the Advanced Features"
73
- msgstr ""
74
-
75
- #: ../includes/class.yith-wcwl-admin-init.php:1028
76
- msgid ""
77
- "Upgrade to the PREMIUM VERSION of YITH WOOCOMMERCE WISHLIST to benefit from "
78
- "all features!"
79
- msgstr ""
80
-
81
- #: ../includes/class.yith-wcwl-admin-init.php:1034
82
- msgid "Get Support and Pro Features"
83
- msgstr ""
84
-
85
- #: ../includes/class.yith-wcwl-admin-init.php:1035
86
- msgid ""
87
- "By purchasing the premium version of the plugin, you will take advantage of "
88
- "the advanced features of the product and you will get one year of free "
89
- "updates and support through our platform available 24h/24."
90
- msgstr ""
91
-
92
- #: ../includes/class.yith-wcwl-admin-init.php:1045
93
- msgid "General Settings"
94
- msgstr ""
95
-
96
- #: ../includes/class.yith-wcwl-admin-init.php:1052
97
- msgid "Enable YITH Wishlist"
98
- msgstr ""
99
-
100
- #: ../includes/class.yith-wcwl-admin-init.php:1053
101
- #, php-format
102
- msgid ""
103
- "Enable all plugin features. <strong>Be sure to select at least one option in "
104
- "the Wishlist page menu in this settings page.</strong> Also, please read the "
105
- "plugin <a href=\"%s\" target=\"_blank\">documentation</a>."
106
- msgstr ""
107
-
108
- #: ../includes/class.yith-wcwl-admin-init.php:1059
109
- msgid "Default wishlist title"
110
- msgstr ""
111
-
112
- #: ../includes/class.yith-wcwl-admin-init.php:1061
113
- #: ../includes/class.yith-wcwl-admin-init.php:1062
114
- #: ../includes/class.yith-wcwl-admin-init.php:1298
115
- #, php-format
116
- msgid "My wishlist on %s"
117
- msgstr ""
118
-
119
- #: ../includes/class.yith-wcwl-admin-init.php:1067
120
- msgid "Wishlist Page"
121
- msgstr ""
122
-
123
- #: ../includes/class.yith-wcwl-admin-init.php:1068
124
- msgid "Page contents: [yith_wcwl_wishlist]"
125
- msgstr ""
126
-
127
- #: ../includes/class.yith-wcwl-admin-init.php:1077
128
- msgid "Position"
129
- msgstr ""
130
-
131
- #: ../includes/class.yith-wcwl-admin-init.php:1078
132
- msgid ""
133
- "You can add the button in variable products only after the \"Add to Cart\" "
134
- "button or using the shortcode [yith_wcwl_add_to_wishlist]."
135
- msgstr ""
136
-
137
- #: ../includes/class.yith-wcwl-admin-init.php:1084
138
- msgid "After \"Add to cart\""
139
- msgstr ""
140
-
141
- #: ../includes/class.yith-wcwl-admin-init.php:1085
142
- msgid "After thumbnails"
143
- msgstr ""
144
-
145
- #: ../includes/class.yith-wcwl-admin-init.php:1086
146
- msgid "After summary"
147
- msgstr ""
148
-
149
- #: ../includes/class.yith-wcwl-admin-init.php:1087
150
- msgid "Use shortcode"
151
- msgstr ""
152
-
153
- #: ../includes/class.yith-wcwl-admin-init.php:1092
154
- msgid "Redirect to cart"
155
- msgstr ""
156
-
157
- #: ../includes/class.yith-wcwl-admin-init.php:1093
158
- msgid ""
159
- "Redirect to cart page if \"Add to cart\" button is clicked in the wishlist "
160
- "page."
161
- msgstr ""
162
-
163
- #: ../includes/class.yith-wcwl-admin-init.php:1099
164
- msgid "Remove if added to the cart"
165
- msgstr ""
166
-
167
- #: ../includes/class.yith-wcwl-admin-init.php:1100
168
- msgid "Remove the product from the wishlist if it has been added to the cart."
169
- msgstr ""
170
-
171
- #: ../includes/class.yith-wcwl-admin-init.php:1106
172
- msgid "\"Add to Wishlist\" text"
173
- msgstr ""
174
-
175
- #: ../includes/class.yith-wcwl-admin-init.php:1108
176
- msgid "Add to Wishlist"
177
- msgstr ""
178
-
179
- #: ../includes/class.yith-wcwl-admin-init.php:1113
180
- msgid "\"Browse wishlist\" text"
181
- msgstr ""
182
-
183
- #: ../includes/class.yith-wcwl-admin-init.php:1115
184
- #: ../includes/class.yith-wcwl-ui.php:82 ../includes/class.yith-wcwl-ui.php:83
185
- msgid "Browse Wishlist"
186
- msgstr ""
187
-
188
- #: ../includes/class.yith-wcwl-admin-init.php:1120
189
- msgid "\"Product already in wishlist\" text"
190
- msgstr ""
191
-
192
- #: ../includes/class.yith-wcwl-admin-init.php:1122
193
- #: ../includes/class.yith-wcwl-ui.php:83
194
- msgid "The product is already in the wishlist!"
195
- msgstr ""
196
-
197
- #: ../includes/class.yith-wcwl-admin-init.php:1127
198
- msgid "\"Product added\" text"
199
- msgstr ""
200
-
201
- #: ../includes/class.yith-wcwl-admin-init.php:1129
202
- #: ../includes/class.yith-wcwl-ui.php:82
203
- msgid "Product added!"
204
- msgstr ""
205
-
206
- #: ../includes/class.yith-wcwl-admin-init.php:1134
207
- msgid "\"Add to Cart\" text"
208
- msgstr ""
209
-
210
- #: ../includes/class.yith-wcwl-admin-init.php:1136
211
- msgid "Add to Cart"
212
- msgstr ""
213
-
214
- #: ../includes/class.yith-wcwl-admin-init.php:1141
215
- msgid "Show Unit price"
216
- msgstr ""
217
-
218
- #: ../includes/class.yith-wcwl-admin-init.php:1142
219
- msgid "Show unit price for each product in wishlist"
220
- msgstr ""
221
-
222
- #: ../includes/class.yith-wcwl-admin-init.php:1149
223
- msgid "Show \"Add to Cart\" button"
224
- msgstr ""
225
-
226
- #: ../includes/class.yith-wcwl-admin-init.php:1150
227
- msgid "Show \"Add to Cart\" button for each product in wishlist"
228
- msgstr ""
229
-
230
- #: ../includes/class.yith-wcwl-admin-init.php:1157
231
- msgid "Show Stock status"
232
- msgstr ""
233
-
234
- #: ../includes/class.yith-wcwl-admin-init.php:1158
235
- msgid ""
236
- "Show \"In stock\" or \"Out of stock\" label for each product in wishlist"
237
- msgstr ""
238
-
239
- #: ../includes/class.yith-wcwl-admin-init.php:1165
240
- msgid "Show Date of addition"
241
- msgstr ""
242
-
243
- #: ../includes/class.yith-wcwl-admin-init.php:1166
244
- msgid "Show the date when users have added a product to the wishlist"
245
- msgstr ""
246
-
247
- #: ../includes/class.yith-wcwl-admin-init.php:1173
248
- msgid "Add second remove button"
249
- msgstr ""
250
-
251
- #: ../includes/class.yith-wcwl-admin-init.php:1174
252
- msgid "Add a second remove button in the last column, with extended label"
253
- msgstr ""
254
-
255
- #: ../includes/class.yith-wcwl-admin-init.php:1189
256
- msgid "Styles"
257
- msgstr ""
258
-
259
- #: ../includes/class.yith-wcwl-admin-init.php:1196
260
- msgid "Use buttons"
261
- msgstr ""
262
-
263
- #: ../includes/class.yith-wcwl-admin-init.php:1197
264
- msgid "Use buttons instead of simple anchors."
265
- msgstr ""
266
-
267
- #: ../includes/class.yith-wcwl-admin-init.php:1203
268
- msgid "Custom CSS"
269
- msgstr ""
270
-
271
- #: ../includes/class.yith-wcwl-admin-init.php:1210
272
- msgid "Use theme style"
273
- msgstr ""
274
-
275
- #: ../includes/class.yith-wcwl-admin-init.php:1211
276
- msgid "Use the theme style."
277
- msgstr ""
278
-
279
- #: ../includes/class.yith-wcwl-admin-init.php:1217
280
- msgid "Rounded buttons"
281
- msgstr ""
282
-
283
- #: ../includes/class.yith-wcwl-admin-init.php:1218
284
- msgid "Make button corners rounded"
285
- msgstr ""
286
-
287
- #: ../includes/class.yith-wcwl-admin-init.php:1224
288
- msgid "\"Add to Wishlist\" icon"
289
- msgstr ""
290
-
291
- #: ../includes/class.yith-wcwl-admin-init.php:1225
292
- msgid "Add an icon to the \"Add to Wishlist\" button"
293
- msgstr ""
294
-
295
- #: ../includes/class.yith-wcwl-admin-init.php:1235
296
- msgid "\"Add to Cart\" icon"
297
- msgstr ""
298
-
299
- #: ../includes/class.yith-wcwl-admin-init.php:1236
300
- msgid "Add an icon to the \"Add to Cart\" button"
301
- msgstr ""
302
-
303
- #: ../includes/class.yith-wcwl-admin-init.php:1254
304
- msgid "Social Networks & Share"
305
- msgstr ""
306
-
307
- #: ../includes/class.yith-wcwl-admin-init.php:1261
308
- msgid "Share on Facebook"
309
- msgstr ""
310
-
311
- #: ../includes/class.yith-wcwl-admin-init.php:1262
312
- msgid "Show \"Share on Facebook\" button"
313
- msgstr ""
314
-
315
- #: ../includes/class.yith-wcwl-admin-init.php:1268
316
- msgid "Tweet on Twitter"
317
- msgstr ""
318
-
319
- #: ../includes/class.yith-wcwl-admin-init.php:1269
320
- msgid "Show \"Tweet on Twitter\" button"
321
- msgstr ""
322
-
323
- #: ../includes/class.yith-wcwl-admin-init.php:1275
324
- msgid "Pin on Pinterest"
325
- msgstr ""
326
-
327
- #: ../includes/class.yith-wcwl-admin-init.php:1276
328
- msgid "Show \"Pin on Pinterest\" button"
329
- msgstr ""
330
-
331
- #: ../includes/class.yith-wcwl-admin-init.php:1282
332
- msgid "Share on Google+"
333
- msgstr ""
334
-
335
- #: ../includes/class.yith-wcwl-admin-init.php:1283
336
- msgid "Show \"Share on Google+\" button"
337
- msgstr ""
338
-
339
- #: ../includes/class.yith-wcwl-admin-init.php:1289
340
- msgid "Share by Email"
341
- msgstr ""
342
-
343
- #: ../includes/class.yith-wcwl-admin-init.php:1290
344
- msgid "Show \"Share by Email\" button"
345
- msgstr ""
346
-
347
- #: ../includes/class.yith-wcwl-admin-init.php:1296
348
- msgid "Social title"
349
- msgstr ""
350
-
351
- #: ../includes/class.yith-wcwl-admin-init.php:1303
352
- msgid "Social text"
353
- msgstr ""
354
-
355
- #: ../includes/class.yith-wcwl-admin-init.php:1304
356
- msgid ""
357
- "It will be used by Twitter and Pinterest. Use <strong>%wishlist_url%</"
358
- "strong> where you want to show the URL of your wishlist."
359
- msgstr ""
360
-
361
- #: ../includes/class.yith-wcwl-admin-init.php:1311
362
- msgid "Social image URL"
363
- msgstr ""
364
-
365
- #: ../includes/class.yith-wcwl-admin-init.php:1312
366
- msgid "It will be used by Pinterest."
367
- msgstr ""
368
-
369
- #: ../includes/class.yith-wcwl-admin-init.php:1326
370
- #, php-format
371
- msgid ""
372
- "If you want to take advantage of this feature, you could consider to "
373
- "purchase the %s."
374
- msgstr ""
375
-
376
- #: ../includes/class.yith-wcwl-admin-init.php:1331
377
- msgid "YITH WooCommerce Frequently Bought Together Integration"
378
- msgstr ""
379
-
380
- #: ../includes/class.yith-wcwl-admin-init.php:1338
381
- msgid "Enable slider in wishlist"
382
- msgstr ""
383
-
384
- #: ../includes/class.yith-wcwl-admin-init.php:1339
385
- #, php-format
386
- msgid ""
387
- "Choose to enable product slider in wishlist page with linked products (<a "
388
- "href=\"%s\" class=\"thickbox\">Example</a>). %s"
389
- msgstr ""
390
-
391
- #: ../includes/class.yith-wcwl-admin-init.php:1375
392
- msgid "\"Add to wishlist\" button"
393
- msgstr ""
394
-
395
- #: ../includes/class.yith-wcwl-admin-init.php:1378
396
- #: ../includes/class.yith-wcwl-admin-init.php:1396
397
- #: ../includes/class.yith-wcwl-admin-init.php:1414
398
- #: ../includes/class.yith-wcwl-admin-init.php:1432
399
- #: ../includes/class.yith-wcwl-admin-init.php:1450
400
- msgid "Background"
401
- msgstr ""
402
-
403
- #: ../includes/class.yith-wcwl-admin-init.php:1379
404
- #: ../includes/class.yith-wcwl-admin-init.php:1397
405
- #: ../includes/class.yith-wcwl-admin-init.php:1415
406
- #: ../includes/class.yith-wcwl-admin-init.php:1433
407
- #: ../includes/class.yith-wcwl-admin-init.php:1451
408
- msgid "Text"
409
- msgstr ""
410
-
411
- #: ../includes/class.yith-wcwl-admin-init.php:1380
412
- #: ../includes/class.yith-wcwl-admin-init.php:1398
413
- #: ../includes/class.yith-wcwl-admin-init.php:1416
414
- #: ../includes/class.yith-wcwl-admin-init.php:1434
415
- #: ../includes/class.yith-wcwl-admin-init.php:1452
416
- msgid "Border"
417
- msgstr ""
418
-
419
- #: ../includes/class.yith-wcwl-admin-init.php:1387
420
- #: ../includes/class.yith-wcwl-admin-init.php:1405
421
- #: ../includes/class.yith-wcwl-admin-init.php:1423
422
- #: ../includes/class.yith-wcwl-admin-init.php:1441
423
- msgid "Background (hover)"
424
- msgstr ""
425
-
426
- #: ../includes/class.yith-wcwl-admin-init.php:1388
427
- #: ../includes/class.yith-wcwl-admin-init.php:1406
428
- #: ../includes/class.yith-wcwl-admin-init.php:1424
429
- #: ../includes/class.yith-wcwl-admin-init.php:1442
430
- msgid "Text (hover)"
431
- msgstr ""
432
-
433
- #: ../includes/class.yith-wcwl-admin-init.php:1389
434
- #: ../includes/class.yith-wcwl-admin-init.php:1407
435
- #: ../includes/class.yith-wcwl-admin-init.php:1425
436
- #: ../includes/class.yith-wcwl-admin-init.php:1443
437
- msgid "Border (hover)"
438
- msgstr ""
439
-
440
- #: ../includes/class.yith-wcwl-admin-init.php:1393
441
- msgid "\"Add to Cart\" button"
442
- msgstr ""
443
-
444
- #: ../includes/class.yith-wcwl-admin-init.php:1411
445
- msgid "\"Style 1\" button"
446
- msgstr ""
447
-
448
- #: ../includes/class.yith-wcwl-admin-init.php:1429
449
- msgid "\"Style 2\" button"
450
- msgstr ""
451
-
452
- #: ../includes/class.yith-wcwl-admin-init.php:1447
453
- msgid "Wishlist table"
454
- msgstr ""
455
-
456
- #: ../includes/class.yith-wcwl-admin-init.php:1456
457
- msgid "Headers"
458
- msgstr ""
459
-
460
- #: ../includes/class.yith-wcwl-admin-init.php:1459
461
- msgid "Background color"
462
- msgstr ""
463
-
464
- #: ../includes/class.yith-wcwl-admin-init.php:1549
465
- msgid "Wishlist Activated"
466
- msgstr ""
467
-
468
- #: ../includes/class.yith-wcwl-admin-init.php:1550
469
- #, php-format
470
- msgid ""
471
- "In the YIT Plugin tab you can find the Wishlist options. With this menu, you "
472
- "can access to all the settings of our plugins that you have activated. "
473
- "Wishlist is available in an outstanding PREMIUM version with many new "
474
- "options, <a href=\"%s\">discover it now</a>."
475
- msgstr ""
476
-
477
- #: ../includes/class.yith-wcwl-admin-init.php:1561
478
- msgid "Wishlist Updated"
479
- msgstr ""
480
-
481
- #: ../includes/class.yith-wcwl-admin-init.php:1562
482
- #, php-format
483
- msgid ""
484
- "From now on, you can find all the options of Wishlist under YIT Plugin -> "
485
- "Wishlist instead of WooCommerce -> Settings -> Wishlist, as in the previous "
486
- "version. When one of our plugins is updated, a new voice will be added to "
487
- "this menu. Wishlist has been updated with new available options, <a href=\"%s"
488
- "\">discover the PREMIUM version.</a>"
489
- msgstr ""
490
-
491
- #: ../includes/class.yith-wcwl-init.php:374
492
- msgid ""
493
- "We are sorry, but this feature is available only if cookies are enabled on "
494
- "your browser."
495
- msgstr ""
496
-
497
- #: ../includes/class.yith-wcwl-init.php:375
498
- msgid "Product correctly added to cart"
499
- msgstr ""
500
-
501
- #: ../includes/class.yith-wcwl-install.php:243
502
- msgctxt "page_slug"
503
- msgid "wishlist"
504
- msgstr ""
505
-
506
- #: ../includes/class.yith-wcwl-shortcode.php:259
507
- #: ../includes/class.yith-wcwl-ui.php:164
508
- msgid "Share on:"
509
- msgstr ""
510
-
511
- #: ../includes/class.yith-wcwl-ui.php:118
512
- #: ../includes/class.yith-wcwl-ui.php:200
513
- msgid "Select options"
514
- msgstr ""
515
-
516
- #: ../includes/class.yith-wcwl-ui.php:168 ../templates/share.php:20
517
- msgid "Facebook"
518
- msgstr ""
519
-
520
- #: ../includes/class.yith-wcwl-ui.php:171 ../templates/share.php:26
521
- msgid "Twitter"
522
- msgstr ""
523
-
524
- #: ../includes/class.yith-wcwl-ui.php:180
525
- msgid "email"
526
- msgstr ""
527
-
528
- #: ../includes/class.yith-wcwl.php:177
529
- msgid "An error occurred while adding products to the wishlist."
530
- msgstr ""
531
-
532
- #: ../includes/class.yith-wcwl.php:269
533
- msgid "An error occurred while adding products to wishlist."
534
- msgstr ""
535
-
536
- #: ../includes/class.yith-wcwl.php:286
537
- msgid "The \"Remove\" option now does not require any parameter"
538
- msgstr ""
539
-
540
- #: ../includes/class.yith-wcwl.php:335
541
- msgid "An error occurred while removing products from the wishlist"
542
- msgstr ""
543
-
544
- #: ../includes/class.yith-wcwl.php:783
545
- msgid "You need to log in before creating a new wishlist"
546
- msgstr ""
547
-
548
- #: ../includes/class.yith-wcwl.php:1578
549
- msgid "Product successfully removed."
550
- msgstr ""
551
-
552
- #: ../includes/class.yith-wcwl.php:1582
553
- msgid "Error. Unable to remove the product from the wishlist."
554
- msgstr ""
555
-
556
- #: ../includes/class.yith-wcwl.php:1586 ../templates/wishlist-view.php:241
557
- msgid "No products were added to the wishlist"
558
- msgstr ""
559
-
560
- #: ../includes/class.yith-wcwl.php:1628
561
- msgid "An error as occurred."
562
- msgstr ""
563
-
564
- #: ../init.php:130
565
- msgid ""
566
- "YITH WooCommerce Wishlist is enabled but not effective. It requires "
567
- "WooCommerce in order to work."
568
- msgstr ""
569
-
570
- #: ../init.php:140
571
- msgid ""
572
- "You can't activate the free version of YITH WooCommerce Wishlist while you "
573
- "are using the premium one."
574
- msgstr ""
575
-
576
- #: ../templates/admin/wishlist-panel-premium.php:185
577
- #: ../templates/admin/wishlist-panel-premium.php:383
578
- #, php-format
579
- msgid ""
580
- "Upgrade to the %1$spremium version%2$s%3$sof %1$sYITH WooCommerce Wishlist"
581
- "%2$s to benefit from all features!"
582
- msgstr ""
583
-
584
- #: ../templates/admin/wishlist-panel-premium.php:187
585
- #: ../templates/admin/wishlist-panel-premium.php:385
586
- #, php-format
587
- msgid "%1$sUPGRADE%2$s%3$s to the premium version%2$s"
588
- msgstr ""
589
-
590
- #: ../templates/admin/wishlist-panel-premium.php:193
591
- msgid "Premium Features"
592
- msgstr ""
593
-
594
- #: ../templates/admin/wishlist-panel-premium.php:196
595
- #: ../templates/admin/wishlist-panel-premium.php:201
596
- msgid "Multiple Wishlist"
597
- msgstr ""
598
-
599
- #: ../templates/admin/wishlist-panel-premium.php:203
600
- #, php-format
601
- msgid ""
602
- "%1$sDoes it ever happened to you to have too many wishes for a single wish "
603
- "list?%2$s%3$s The possibility to manage one's wishes is a fundamental "
604
- "feature in a modern e-commerce store and it also lets users' degree of "
605
- "satisfaction increase.%3$sThe option \"multiple wishlist\" of %1$sYITH "
606
- "Wishlist%2$s makes this feature and many others on your online store "
607
- "available, and thanks to this plugin your customers will be able to create, "
608
- "manage and share their own wish lists."
609
- msgstr ""
610
-
611
- #: ../templates/admin/wishlist-panel-premium.php:212
612
- #: ../templates/admin/wishlist-panel-premium.php:222
613
- msgid "Wishlist Private"
614
- msgstr ""
615
-
616
- #: ../templates/admin/wishlist-panel-premium.php:214
617
- #, php-format
618
- msgid ""
619
- "By enabling the option wishlist, users will also have the possibility to "
620
- "%1$smanage the visibility%2$s of their wish lists according to one of the "
621
- "following options:"
622
- msgstr ""
623
-
624
- #: ../templates/admin/wishlist-panel-premium.php:216
625
- #, php-format
626
- msgid "%1$spublic:%2$s all users can look for your wish list and see it;"
627
- msgstr ""
628
-
629
- #: ../templates/admin/wishlist-panel-premium.php:217
630
- #, php-format
631
- msgid ""
632
- "%1$sshared:%2$s only users possessing a direct link to the wish list page "
633
- "can display it;"
634
- msgstr ""
635
-
636
- #: ../templates/admin/wishlist-panel-premium.php:218
637
- #, php-format
638
- msgid "%1$sprivate:%2$s only the wish list creator can see it."
639
- msgstr ""
640
-
641
- #: ../templates/admin/wishlist-panel-premium.php:229
642
- #: ../templates/admin/wishlist-panel-premium.php:234
643
- msgid "Estimate Cost"
644
- msgstr ""
645
-
646
- #: ../templates/admin/wishlist-panel-premium.php:236
647
- #, php-format
648
- msgid ""
649
- "%1$sDo you want to add the possibility to ask for estimates of costs into "
650
- "your catalogue?%3$s Do you want to manage customised packets for faithful "
651
- "customers in your store?%2$s%3$sThanks to the feature \"estimate cost\" of "
652
- "%1$sYITH WooCommerce Wishlist%2$s, each registered user will be able to ask "
653
- "for an estimate of their own products in the wishlist and add a text in the "
654
- "popup window that will open just after clicking. Then, they can confirm the "
655
- "text and send an email with all necessary information directly to the "
656
- "address that you have previously set."
657
- msgstr ""
658
-
659
- #: ../templates/admin/wishlist-panel-premium.php:245
660
- #: ../templates/admin/wishlist-panel-premium.php:250
661
- msgid "Admin Panel"
662
- msgstr ""
663
-
664
- #: ../templates/admin/wishlist-panel-premium.php:247
665
- #, php-format
666
- msgid ""
667
- "Thanks to the useful Admin panel, accessible directly among the WooCommerce "
668
- "submenu pages, you will have total control on users' wishlists. In addition "
669
- "to that, evaluating the degree of appreciation for your products has never "
670
- "been so easy, now that %1$syou can see a useful report,%2$s available "
671
- "directly in the product page, which registers the occurrences of the product "
672
- "in customers' wish lists."
673
- msgstr ""
674
-
675
- #: ../templates/admin/wishlist-panel-premium.php:257
676
- #: ../templates/admin/wishlist-panel-premium.php:262
677
- msgid "Search Wishlists"
678
- msgstr ""
679
-
680
- #: ../templates/admin/wishlist-panel-premium.php:264
681
- #, php-format
682
- msgid ""
683
- "How many times have you been looking for the perfect gift for a important "
684
- "event but you had no idea of what to buy? %1$s'Search wishlists'%2$s allows "
685
- "your e-shop users to access public wishlists of anyone, by simply knowing "
686
- "their name or email. This way you can grant %1$shigher visibility%2$s to "
687
- "your products and even encourage users to purchase."
688
- msgstr ""
689
-
690
- #: ../templates/admin/wishlist-panel-premium.php:273
691
- msgid "'ADD TO CART' CHECKBOX"
692
- msgstr ""
693
-
694
- #: ../templates/admin/wishlist-panel-premium.php:275
695
- #, php-format
696
- msgid ""
697
- "Your shop offers always a wide selection of products and wishlists of your "
698
- "users get more and more crowded everyday. Give them the possibility to "
699
- "select %1$ssome or all products%2$s in the wishlist and add them to cart "
700
- "just with one click."
701
- msgstr ""
702
-
703
- #: ../templates/admin/wishlist-panel-premium.php:278
704
- msgid "'ADD TO CART'"
705
- msgstr ""
706
-
707
- #: ../templates/admin/wishlist-panel-premium.php:285
708
- msgid "DISABLE WISHLIST"
709
- msgstr ""
710
-
711
- #: ../templates/admin/wishlist-panel-premium.php:290
712
- msgid "DISABLE WISHLIST FOR UNLOGGED USERS"
713
- msgstr ""
714
-
715
- #: ../templates/admin/wishlist-panel-premium.php:292
716
- #, php-format
717
- msgid ""
718
- "Favour users that have registered to your shop and disable plugin "
719
- "functionalities for all users that have not. By disabling this option, each "
720
- "time they try to add a product to the wishlist, they will be %1$sredirected"
721
- "%2$s to \"My Account\" page and a message will invite them to log in."
722
- msgstr ""
723
-
724
- #: ../templates/admin/wishlist-panel-premium.php:301
725
- msgid "MESSAGE TO UNLOGGED USERS"
726
- msgstr ""
727
-
728
- #: ../templates/admin/wishlist-panel-premium.php:303
729
- #, php-format
730
- msgid ""
731
- "Invite users that are visiting your shop to login if they want to fully "
732
- "benefit from Wishlist functionalities. Show a %1$scustomised message%2$s and "
733
- "redirect them to \"My Account\" page for registration."
734
- msgstr ""
735
-
736
- #: ../templates/admin/wishlist-panel-premium.php:306
737
- msgid "UNLOGGED USERS"
738
- msgstr ""
739
-
740
- #: ../templates/admin/wishlist-panel-premium.php:313
741
- #: ../templates/admin/wishlist-panel-premium.php:318
742
- msgid "POPULAR TABLE"
743
- msgstr ""
744
-
745
- #: ../templates/admin/wishlist-panel-premium.php:320
746
- #, php-format
747
- msgid ""
748
- "Some products draw customer's attention more than others and they do not "
749
- "hesitate to add products to their wishlist. Table %1$s'Popular'%2$s allows "
750
- "you, as shop administrator, to track products that appear most frequently in "
751
- "their wishlists."
752
- msgstr ""
753
-
754
- #: ../templates/admin/wishlist-panel-premium.php:329
755
- msgid "FUNCTIONALITIES IN ONE CLICK"
756
- msgstr ""
757
-
758
- #: ../templates/admin/wishlist-panel-premium.php:331
759
- #, php-format
760
- msgid ""
761
- "Users have the possibility to search for a wishlist, create a new one or "
762
- "display those already created. Add these %1$sfunctionalities%2$s through the "
763
- "dedicated widgets or show them immediately after \"Wishlist\" table."
764
- msgstr ""
765
-
766
- #: ../templates/admin/wishlist-panel-premium.php:334
767
- msgid "FUNCTIONALITIES"
768
- msgstr ""
769
-
770
- #: ../templates/admin/wishlist-panel-premium.php:341
771
- #: ../templates/admin/wishlist-panel-premium.php:346
772
- msgid "PROMOTIONAL EMAIL"
773
- msgstr ""
774
-
775
- #: ../templates/admin/wishlist-panel-premium.php:348
776
- #, php-format
777
- msgid ""
778
- "If you want to give the right input to your users to persuade them to "
779
- "%1$spurchase the products%2$s they have in their wishlists, you need to use "
780
- "this feature! %1$sSend them an email%2$s: customize its whole content from "
781
- "the option panel and add a coupon they can use in your shop, so that they "
782
- "will know you are offering a unique offer!"
783
- msgstr ""
784
-
785
- #: ../templates/admin/wishlist-panel-premium.php:357
786
- msgid "FROM A WISHLIST TO ANOTHER"
787
- msgstr ""
788
-
789
- #: ../templates/admin/wishlist-panel-premium.php:359
790
- #, php-format
791
- msgid ""
792
- "Who said that a product has to remain forever in the same wishlist? With the "
793
- "option %1$s\"Show \"Move to another wishlist\" dropdown menu\"%2$s, with "
794
- "just one click users will be free to move a product from a wishlist to "
795
- "another one, managing as they want their lists."
796
- msgstr ""
797
-
798
- #: ../templates/admin/wishlist-panel-premium.php:362
799
- msgid "FROM A WISHLIST"
800
- msgstr ""
801
-
802
- #: ../templates/admin/wishlist-panel-premium.php:369
803
- msgid "DATE"
804
- msgstr ""
805
-
806
- #: ../templates/admin/wishlist-panel-premium.php:374
807
- msgid "DATE OF ADDITION TO A WISHLIST"
808
- msgstr ""
809
-
810
- #: ../templates/admin/wishlist-panel-premium.php:376
811
- #, php-format
812
- msgid ""
813
- "Activating the %1$s\"Show date of addition\"%2$s option, users can see the "
814
- "date in which they have added a particular product to their list: a new way "
815
- "to keep you users informed about their operations."
816
- msgstr ""
817
-
818
- #: ../templates/share.php:32
819
- msgid "Pinterest"
820
- msgstr ""
821
-
822
- #: ../templates/share.php:38
823
- msgid "Google+"
824
- msgstr ""
825
-
826
- #: ../templates/share.php:44
827
- msgid "Email"
828
- msgstr ""
829
-
830
- #: ../templates/wishlist-view.php:32
831
- msgid "Edit title"
832
- msgstr ""
833
-
834
- #: ../templates/wishlist-view.php:41
835
- msgid "Save"
836
- msgstr ""
837
-
838
- #: ../templates/wishlist-view.php:45
839
- msgid "Cancel"
840
- msgstr ""
841
-
842
- #: ../templates/wishlist-view.php:82
843
- msgid "Product Name"
844
- msgstr ""
845
-
846
- #: ../templates/wishlist-view.php:89
847
- msgid "Unit Price"
848
- msgstr ""
849
-
850
- #: ../templates/wishlist-view.php:102
851
- msgid "Stock Status"
852
- msgstr ""
853
-
854
- #: ../templates/wishlist-view.php:152 ../templates/wishlist-view.php:231
855
- msgid "Remove this product"
856
- msgstr ""
857
-
858
- #: ../templates/wishlist-view.php:172
859
- msgid "Free!"
860
- msgstr ""
861
-
862
- #: ../templates/wishlist-view.php:178
863
- msgid "Out of Stock"
864
- msgstr ""
865
-
866
- #: ../templates/wishlist-view.php:178
867
- msgid "In Stock"
868
- msgstr ""
869
-
870
- #: ../templates/wishlist-view.php:187
871
- #, php-format
872
- msgid "Added on : %s"
873
- msgstr ""
874
-
875
- #: ../templates/wishlist-view.php:199
876
- msgid "Move"
877
- msgstr ""
878
-
879
- #: ../templates/wishlist-view.php:211
880
- msgid "Shared"
881
- msgstr ""
882
-
883
- #: ../templates/wishlist-view.php:214
884
- msgid "Private"
885
- msgstr ""
886
-
887
- #: ../templates/wishlist-view.php:217
888
- msgid "Public"
889
- msgstr ""
890
-
891
- #: ../templates/wishlist-view.php:231
892
- msgid "Remove"
893
- msgstr ""
894
-
895
- #: ../templates/wishlist-view.php:258
896
- msgid "Add the selected products to the cart"
897
- msgstr ""
898
-
899
- #: ../templates/wishlist-view.php:266 ../templates/wishlist-view.php:312
900
- msgid "Ask for an estimate"
901
- msgstr ""
902
-
903
- #: ../templates/wishlist-view.php:302
904
- msgid "Your email"
905
- msgstr ""
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ #, fuzzy
2
+ msgid ""
3
+ msgstr ""
4
+ "Project-Id-Version: YITH WooCommerce Wishlist\n"
5
+ "POT-Creation-Date: 2018-07-25 13:59-0600\n"
6
+ "PO-Revision-Date: 2015-04-30 17:08+0100\n"
7
+ "Last-Translator: Nicola Mustone <mail@nicolamustone.it>\n"
8
+ "Language-Team: Your Inspiration Themes <plugins@yithemes.com>\n"
9
+ "Language: en\n"
10
+ "MIME-Version: 1.0\n"
11
+ "Content-Type: text/plain; charset=UTF-8\n"
12
+ "Content-Transfer-Encoding: 8bit\n"
13
+ "X-Generator: Poedit 2.1\n"
14
+ "X-Poedit-KeywordsList: _;gettext;gettext_noop;__;_e;_n:1,2;__ngettext:1,2;"
15
+ "__ngettext_noop:1,2;_n_noop:1,2;_c,_nc:4c,1,2;_x:1,2c;_ex:1,2c;_nx:4c,1,2;"
16
+ "_nx_noop:4c,1,2\n"
17
+ "X-Poedit-Basepath: .\n"
18
+ "Plural-Forms: nplurals=2; plural=n!=1;\n"
19
+ "X-Poedit-SourceCharset: UTF-8\n"
20
+ "X-Poedit-SearchPath-0: ..\n"
21
+ "X-Poedit-SearchPathExcluded-0: ../plugin-fw\n"
22
+
23
+ #: ../includes/class.yith-wcwl-admin-init.php:159
24
+ #: ../includes/class.yith-wcwl-admin-init.php:1490
25
+ #: ../includes/class.yith-wcwl-admin-init.php:1491
26
+ #: ../includes/class.yith-wcwl-install.php:245
27
+ msgid "Wishlist"
28
+ msgstr ""
29
+
30
+ #: ../includes/class.yith-wcwl-admin-init.php:161
31
+ #: ../includes/class.yith-wcwl-admin-init.php:258
32
+ msgid "Settings"
33
+ msgstr ""
34
+
35
+ #: ../includes/class.yith-wcwl-admin-init.php:162
36
+ #: ../includes/class.yith-wcwl-admin-init.php:243
37
+ msgid "Colors"
38
+ msgstr ""
39
+
40
+ #: ../includes/class.yith-wcwl-admin-init.php:163
41
+ #: ../includes/class.yith-wcwl-admin-init.php:262
42
+ msgid "Premium Version"
43
+ msgstr ""
44
+
45
+ #: ../includes/class.yith-wcwl-admin-init.php:263
46
+ msgid "Live Demo"
47
+ msgstr ""
48
+
49
+ #: ../includes/class.yith-wcwl-admin-init.php:287
50
+ msgid ""
51
+ "WARNING: This plugin requires at least WooCommerce 2.2! Please, use this "
52
+ "link to update it."
53
+ msgstr ""
54
+
55
+ #: ../includes/class.yith-wcwl-admin-init.php:290
56
+ msgid "WARNING: This plugin requires at least WooCommerce 2.2!"
57
+ msgstr ""
58
+
59
+ #: ../includes/class.yith-wcwl-admin-init.php:295
60
+ msgid "Plugin Documentation"
61
+ msgstr ""
62
+
63
+ #: ../includes/class.yith-wcwl-admin-init.php:1030
64
+ msgid "Upgrade to the PREMIUM VERSION"
65
+ msgstr ""
66
+
67
+ #: ../includes/class.yith-wcwl-admin-init.php:1033
68
+ msgid "YITH WooCommerce Wishlist"
69
+ msgstr ""
70
+
71
+ #: ../includes/class.yith-wcwl-admin-init.php:1034
72
+ msgid "Discover the Advanced Features"
73
+ msgstr ""
74
+
75
+ #: ../includes/class.yith-wcwl-admin-init.php:1035
76
+ msgid ""
77
+ "Upgrade to the PREMIUM VERSION of YITH WOOCOMMERCE WISHLIST to benefit from "
78
+ "all features!"
79
+ msgstr ""
80
+
81
+ #: ../includes/class.yith-wcwl-admin-init.php:1041
82
+ msgid "Get Support and Pro Features"
83
+ msgstr ""
84
+
85
+ #: ../includes/class.yith-wcwl-admin-init.php:1042
86
+ msgid ""
87
+ "By purchasing the premium version of the plugin, you will take advantage of "
88
+ "the advanced features of the product and you will get one year of free "
89
+ "updates and support through our platform available 24h/24."
90
+ msgstr ""
91
+
92
+ #: ../includes/class.yith-wcwl-admin-init.php:1052
93
+ msgid "General Settings"
94
+ msgstr ""
95
+
96
+ #: ../includes/class.yith-wcwl-admin-init.php:1059
97
+ msgid "Enable YITH Wishlist"
98
+ msgstr ""
99
+
100
+ #: ../includes/class.yith-wcwl-admin-init.php:1060
101
+ #, php-format
102
+ msgid ""
103
+ "Enable all plugin features. <strong>Be sure to select at least one option in "
104
+ "the Wishlist page menu in this settings page.</strong> Also, please read the "
105
+ "plugin <a href=\"%s\" target=\"_blank\">documentation</a>."
106
+ msgstr ""
107
+
108
+ #: ../includes/class.yith-wcwl-admin-init.php:1066
109
+ msgid "Default wishlist title"
110
+ msgstr ""
111
+
112
+ #: ../includes/class.yith-wcwl-admin-init.php:1068
113
+ #: ../includes/class.yith-wcwl-admin-init.php:1069
114
+ #: ../includes/class.yith-wcwl-admin-init.php:1305
115
+ #, php-format
116
+ msgid "My wishlist on %s"
117
+ msgstr ""
118
+
119
+ #: ../includes/class.yith-wcwl-admin-init.php:1074
120
+ msgid "Wishlist Page"
121
+ msgstr ""
122
+
123
+ #: ../includes/class.yith-wcwl-admin-init.php:1075
124
+ msgid "Page contents: [yith_wcwl_wishlist]"
125
+ msgstr ""
126
+
127
+ #: ../includes/class.yith-wcwl-admin-init.php:1084
128
+ msgid "Position"
129
+ msgstr ""
130
+
131
+ #: ../includes/class.yith-wcwl-admin-init.php:1085
132
+ msgid ""
133
+ "You can add the button in variable products only after the \"Add to Cart\" "
134
+ "button or using the shortcode [yith_wcwl_add_to_wishlist]."
135
+ msgstr ""
136
+
137
+ #: ../includes/class.yith-wcwl-admin-init.php:1091
138
+ msgid "After \"Add to cart\""
139
+ msgstr ""
140
+
141
+ #: ../includes/class.yith-wcwl-admin-init.php:1092
142
+ msgid "After thumbnails"
143
+ msgstr ""
144
+
145
+ #: ../includes/class.yith-wcwl-admin-init.php:1093
146
+ msgid "After summary"
147
+ msgstr ""
148
+
149
+ #: ../includes/class.yith-wcwl-admin-init.php:1094
150
+ msgid "Use shortcode"
151
+ msgstr ""
152
+
153
+ #: ../includes/class.yith-wcwl-admin-init.php:1099
154
+ msgid "Redirect to cart"
155
+ msgstr ""
156
+
157
+ #: ../includes/class.yith-wcwl-admin-init.php:1100
158
+ msgid ""
159
+ "Redirect to cart page if \"Add to cart\" button is clicked in the wishlist "
160
+ "page."
161
+ msgstr ""
162
+
163
+ #: ../includes/class.yith-wcwl-admin-init.php:1106
164
+ msgid "Remove if added to the cart"
165
+ msgstr ""
166
+
167
+ #: ../includes/class.yith-wcwl-admin-init.php:1107
168
+ msgid "Remove the product from the wishlist if it has been added to the cart."
169
+ msgstr ""
170
+
171
+ #: ../includes/class.yith-wcwl-admin-init.php:1113
172
+ msgid "\"Add to Wishlist\" text"
173
+ msgstr ""
174
+
175
+ #: ../includes/class.yith-wcwl-admin-init.php:1115
176
+ msgid "Add to Wishlist"
177
+ msgstr ""
178
+
179
+ #: ../includes/class.yith-wcwl-admin-init.php:1120
180
+ msgid "\"Browse wishlist\" text"
181
+ msgstr ""
182
+
183
+ #: ../includes/class.yith-wcwl-admin-init.php:1122
184
+ #: ../includes/class.yith-wcwl-ui.php:82 ../includes/class.yith-wcwl-ui.php:83
185
+ msgid "Browse Wishlist"
186
+ msgstr ""
187
+
188
+ #: ../includes/class.yith-wcwl-admin-init.php:1127
189
+ msgid "\"Product already in wishlist\" text"
190
+ msgstr ""
191
+
192
+ #: ../includes/class.yith-wcwl-admin-init.php:1129
193
+ #: ../includes/class.yith-wcwl-ui.php:83
194
+ msgid "The product is already in the wishlist!"
195
+ msgstr ""
196
+
197
+ #: ../includes/class.yith-wcwl-admin-init.php:1134
198
+ msgid "\"Product added\" text"
199
+ msgstr ""
200
+
201
+ #: ../includes/class.yith-wcwl-admin-init.php:1136
202
+ #: ../includes/class.yith-wcwl-ui.php:82
203
+ msgid "Product added!"
204
+ msgstr ""
205
+
206
+ #: ../includes/class.yith-wcwl-admin-init.php:1141
207
+ msgid "\"Add to Cart\" text"
208
+ msgstr ""
209
+
210
+ #: ../includes/class.yith-wcwl-admin-init.php:1143
211
+ msgid "Add to Cart"
212
+ msgstr ""
213
+
214
+ #: ../includes/class.yith-wcwl-admin-init.php:1148
215
+ msgid "Show Unit price"
216
+ msgstr ""
217
+
218
+ #: ../includes/class.yith-wcwl-admin-init.php:1149
219
+ msgid "Show unit price for each product in wishlist"
220
+ msgstr ""
221
+
222
+ #: ../includes/class.yith-wcwl-admin-init.php:1156
223
+ msgid "Show \"Add to Cart\" button"
224
+ msgstr ""
225
+
226
+ #: ../includes/class.yith-wcwl-admin-init.php:1157
227
+ msgid "Show \"Add to Cart\" button for each product in wishlist"
228
+ msgstr ""
229
+
230
+ #: ../includes/class.yith-wcwl-admin-init.php:1164
231
+ msgid "Show Stock status"
232
+ msgstr ""
233
+
234
+ #: ../includes/class.yith-wcwl-admin-init.php:1165
235
+ msgid ""
236
+ "Show \"In stock\" or \"Out of stock\" label for each product in wishlist"
237
+ msgstr ""
238
+
239
+ #: ../includes/class.yith-wcwl-admin-init.php:1172
240
+ msgid "Show Date of addition"
241
+ msgstr ""
242
+
243
+ #: ../includes/class.yith-wcwl-admin-init.php:1173
244
+ msgid "Show the date when users have added a product to the wishlist"
245
+ msgstr ""
246
+
247
+ #: ../includes/class.yith-wcwl-admin-init.php:1180
248
+ msgid "Add second remove button"
249
+ msgstr ""
250
+
251
+ #: ../includes/class.yith-wcwl-admin-init.php:1181
252
+ msgid "Add a second remove button in the last column, with extended label"
253
+ msgstr ""
254
+
255
+ #: ../includes/class.yith-wcwl-admin-init.php:1196
256
+ msgid "Styles"
257
+ msgstr ""
258
+
259
+ #: ../includes/class.yith-wcwl-admin-init.php:1203
260
+ msgid "Use buttons"
261
+ msgstr ""
262
+
263
+ #: ../includes/class.yith-wcwl-admin-init.php:1204
264
+ msgid "Use buttons instead of simple anchors."
265
+ msgstr ""
266
+
267
+ #: ../includes/class.yith-wcwl-admin-init.php:1210
268
+ msgid "Custom CSS"
269
+ msgstr ""
270
+
271
+ #: ../includes/class.yith-wcwl-admin-init.php:1217
272
+ msgid "Use theme style"
273
+ msgstr ""
274
+
275
+ #: ../includes/class.yith-wcwl-admin-init.php:1218
276
+ msgid "Use the theme style."
277
+ msgstr ""
278
+
279
+ #: ../includes/class.yith-wcwl-admin-init.php:1224
280
+ msgid "Rounded buttons"
281
+ msgstr ""
282
+
283
+ #: ../includes/class.yith-wcwl-admin-init.php:1225
284
+ msgid "Make button corners rounded"
285
+ msgstr ""
286
+
287
+ #: ../includes/class.yith-wcwl-admin-init.php:1231
288
+ msgid "\"Add to Wishlist\" icon"
289
+ msgstr ""
290
+
291
+ #: ../includes/class.yith-wcwl-admin-init.php:1232
292
+ msgid "Add an icon to the \"Add to Wishlist\" button"
293
+ msgstr ""
294
+
295
+ #: ../includes/class.yith-wcwl-admin-init.php:1242
296
+ msgid "\"Add to Cart\" icon"
297
+ msgstr ""
298
+
299
+ #: ../includes/class.yith-wcwl-admin-init.php:1243
300
+ msgid "Add an icon to the \"Add to Cart\" button"
301
+ msgstr ""
302
+
303
+ #: ../includes/class.yith-wcwl-admin-init.php:1261
304
+ msgid "Social Networks & Share"
305
+ msgstr ""
306
+
307
+ #: ../includes/class.yith-wcwl-admin-init.php:1268
308
+ msgid "Share on Facebook"
309
+ msgstr ""
310
+
311
+ #: ../includes/class.yith-wcwl-admin-init.php:1269
312
+ msgid "Show \"Share on Facebook\" button"
313
+ msgstr ""
314
+
315
+ #: ../includes/class.yith-wcwl-admin-init.php:1275
316
+ msgid "Tweet on Twitter"
317
+ msgstr ""
318
+
319
+ #: ../includes/class.yith-wcwl-admin-init.php:1276
320
+ msgid "Show \"Tweet on Twitter\" button"
321
+ msgstr ""
322
+
323
+ #: ../includes/class.yith-wcwl-admin-init.php:1282
324
+ msgid "Pin on Pinterest"
325
+ msgstr ""
326
+
327
+ #: ../includes/class.yith-wcwl-admin-init.php:1283
328
+ msgid "Show \"Pin on Pinterest\" button"
329
+ msgstr ""
330
+
331
+ #: ../includes/class.yith-wcwl-admin-init.php:1289
332
+ msgid "Share on Google+"
333
+ msgstr ""
334
+
335
+ #: ../includes/class.yith-wcwl-admin-init.php:1290
336
+ msgid "Show \"Share on Google+\" button"
337
+ msgstr ""
338
+
339
+ #: ../includes/class.yith-wcwl-admin-init.php:1296
340
+ msgid "Share by Email"
341
+ msgstr ""
342
+
343
+ #: ../includes/class.yith-wcwl-admin-init.php:1297
344
+ msgid "Show \"Share by Email\" button"
345
+ msgstr ""
346
+
347
+ #: ../includes/class.yith-wcwl-admin-init.php:1303
348
+ msgid "Social title"
349
+ msgstr ""
350
+
351
+ #: ../includes/class.yith-wcwl-admin-init.php:1310
352
+ msgid "Social text"
353
+ msgstr ""
354
+
355
+ #: ../includes/class.yith-wcwl-admin-init.php:1311
356
+ msgid ""
357
+ "It will be used by Twitter and Pinterest. Use <strong>%wishlist_url%</"
358
+ "strong> where you want to show the URL of your wishlist."
359
+ msgstr ""
360
+
361
+ #: ../includes/class.yith-wcwl-admin-init.php:1318
362
+ msgid "Social image URL"
363
+ msgstr ""
364
+
365
+ #: ../includes/class.yith-wcwl-admin-init.php:1319
366
+ msgid "It will be used by Pinterest."
367
+ msgstr ""
368
+
369
+ #: ../includes/class.yith-wcwl-admin-init.php:1333
370
+ #, php-format
371
+ msgid ""
372
+ "If you want to take advantage of this feature, you could consider to "
373
+ "purchase the %s."
374
+ msgstr ""
375
+
376
+ #: ../includes/class.yith-wcwl-admin-init.php:1338
377
+ msgid "YITH WooCommerce Frequently Bought Together Integration"
378
+ msgstr ""
379
+
380
+ #: ../includes/class.yith-wcwl-admin-init.php:1345
381
+ msgid "Enable slider in wishlist"
382
+ msgstr ""
383
+
384
+ #: ../includes/class.yith-wcwl-admin-init.php:1346
385
+ #, php-format
386
+ msgid ""
387
+ "Choose to enable product slider in wishlist page with linked products (<a "
388
+ "href=\"%s\" class=\"thickbox\">Example</a>). %s"
389
+ msgstr ""
390
+
391
+ #: ../includes/class.yith-wcwl-admin-init.php:1382
392
+ msgid "\"Add to wishlist\" button"
393
+ msgstr ""
394
+
395
+ #: ../includes/class.yith-wcwl-admin-init.php:1385
396
+ #: ../includes/class.yith-wcwl-admin-init.php:1403
397
+ #: ../includes/class.yith-wcwl-admin-init.php:1421
398
+ #: ../includes/class.yith-wcwl-admin-init.php:1439
399
+ #: ../includes/class.yith-wcwl-admin-init.php:1457
400
+ msgid "Background"
401
+ msgstr ""
402
+
403
+ #: ../includes/class.yith-wcwl-admin-init.php:1386
404
+ #: ../includes/class.yith-wcwl-admin-init.php:1404
405
+ #: ../includes/class.yith-wcwl-admin-init.php:1422
406
+ #: ../includes/class.yith-wcwl-admin-init.php:1440
407
+ #: ../includes/class.yith-wcwl-admin-init.php:1458
408
+ msgid "Text"
409
+ msgstr ""
410
+
411
+ #: ../includes/class.yith-wcwl-admin-init.php:1387
412
+ #: ../includes/class.yith-wcwl-admin-init.php:1405
413
+ #: ../includes/class.yith-wcwl-admin-init.php:1423
414
+ #: ../includes/class.yith-wcwl-admin-init.php:1441
415
+ #: ../includes/class.yith-wcwl-admin-init.php:1459
416
+ msgid "Border"
417
+ msgstr ""
418
+
419
+ #: ../includes/class.yith-wcwl-admin-init.php:1394
420
+ #: ../includes/class.yith-wcwl-admin-init.php:1412
421
+ #: ../includes/class.yith-wcwl-admin-init.php:1430
422
+ #: ../includes/class.yith-wcwl-admin-init.php:1448
423
+ msgid "Background (hover)"
424
+ msgstr ""
425
+
426
+ #: ../includes/class.yith-wcwl-admin-init.php:1395
427
+ #: ../includes/class.yith-wcwl-admin-init.php:1413
428
+ #: ../includes/class.yith-wcwl-admin-init.php:1431
429
+ #: ../includes/class.yith-wcwl-admin-init.php:1449
430
+ msgid "Text (hover)"
431
+ msgstr ""
432
+
433
+ #: ../includes/class.yith-wcwl-admin-init.php:1396
434
+ #: ../includes/class.yith-wcwl-admin-init.php:1414
435
+ #: ../includes/class.yith-wcwl-admin-init.php:1432
436
+ #: ../includes/class.yith-wcwl-admin-init.php:1450
437
+ msgid "Border (hover)"
438
+ msgstr ""
439
+
440
+ #: ../includes/class.yith-wcwl-admin-init.php:1400
441
+ msgid "\"Add to Cart\" button"
442
+ msgstr ""
443
+
444
+ #: ../includes/class.yith-wcwl-admin-init.php:1418
445
+ msgid "\"Style 1\" button"
446
+ msgstr ""
447
+
448
+ #: ../includes/class.yith-wcwl-admin-init.php:1436
449
+ msgid "\"Style 2\" button"
450
+ msgstr ""
451
+
452
+ #: ../includes/class.yith-wcwl-admin-init.php:1454
453
+ msgid "Wishlist table"
454
+ msgstr ""
455
+
456
+ #: ../includes/class.yith-wcwl-admin-init.php:1463
457
+ msgid "Headers"
458
+ msgstr ""
459
+
460
+ #: ../includes/class.yith-wcwl-admin-init.php:1466
461
+ msgid "Background color"
462
+ msgstr ""
463
+
464
+ #: ../includes/class.yith-wcwl-admin-init.php:1556
465
+ msgid "Wishlist Activated"
466
+ msgstr ""
467
+
468
+ #: ../includes/class.yith-wcwl-admin-init.php:1557
469
+ #, php-format
470
+ msgid ""
471
+ "In the YIT Plugin tab you can find the Wishlist options. With this menu, you "
472
+ "can access to all the settings of our plugins that you have activated. "
473
+ "Wishlist is available in an outstanding PREMIUM version with many new "
474
+ "options, <a href=\"%s\">discover it now</a>."
475
+ msgstr ""
476
+
477
+ #: ../includes/class.yith-wcwl-admin-init.php:1568
478
+ msgid "Wishlist Updated"
479
+ msgstr ""
480
+
481
+ #: ../includes/class.yith-wcwl-admin-init.php:1569
482
+ #, php-format
483
+ msgid ""
484
+ "From now on, you can find all the options of Wishlist under YIT Plugin -> "
485
+ "Wishlist instead of WooCommerce -> Settings -> Wishlist, as in the previous "
486
+ "version. When one of our plugins is updated, a new voice will be added to "
487
+ "this menu. Wishlist has been updated with new available options, <a href=\"%s"
488
+ "\">discover the PREMIUM version.</a>"
489
+ msgstr ""
490
+
491
+ #: ../includes/class.yith-wcwl-init.php:384
492
+ msgid ""
493
+ "We are sorry, but this feature is available only if cookies are enabled on "
494
+ "your browser."
495
+ msgstr ""
496
+
497
+ #: ../includes/class.yith-wcwl-init.php:385
498
+ msgid "Product correctly added to cart"
499
+ msgstr ""
500
+
501
+ #: ../includes/class.yith-wcwl-install.php:244
502
+ msgctxt "page_slug"
503
+ msgid "wishlist"
504
+ msgstr ""
505
+
506
+ #: ../includes/class.yith-wcwl-privacy.php:30
507
+ msgctxt "Privacy Policy Content"
508
+ msgid "YITH WooCommerce Wishlist"
509
+ msgstr ""
510
+
511
+ #: ../includes/class.yith-wcwl-privacy.php:50
512
+ msgid "While you visit our site, we’ll track:"
513
+ msgstr ""
514
+
515
+ #: ../includes/class.yith-wcwl-privacy.php:52
516
+ msgid ""
517
+ "Products you’ve added to the wishlist: we’ll use this to show you and other "
518
+ "users your favourite products, and to create targeted email campaigns."
519
+ msgstr ""
520
+
521
+ #: ../includes/class.yith-wcwl-privacy.php:53
522
+ msgid ""
523
+ "Wishlists you’ve created: we’ll keep track of the wishlists you create, and "
524
+ "make them visible to the store’s staff"
525
+ msgstr ""
526
+
527
+ #: ../includes/class.yith-wcwl-privacy.php:55
528
+ msgid ""
529
+ "We’ll also use cookies to keep track of wishlist contents while you’re "
530
+ "browsing our site."
531
+ msgstr ""
532
+
533
+ #: ../includes/class.yith-wcwl-privacy.php:58
534
+ msgid ""
535
+ "Members of our team have access to the information you provide us. For "
536
+ "example, both Administrators and Shop Managers can access:"
537
+ msgstr ""
538
+
539
+ #: ../includes/class.yith-wcwl-privacy.php:60
540
+ msgid ""
541
+ "Wishlist details, such as products added, date of addition, name and privacy "
542
+ "settings of your wishlists"
543
+ msgstr ""
544
+
545
+ #: ../includes/class.yith-wcwl-privacy.php:62
546
+ msgid ""
547
+ "Our team members have access to this information to offer you better deals "
548
+ "for the products you love."
549
+ msgstr ""
550
+
551
+ #: ../includes/class.yith-wcwl-privacy.php:82
552
+ #: ../includes/class.yith-wcwl-privacy.php:98
553
+ msgid "Customer Wishlists"
554
+ msgstr ""
555
+
556
+ #: ../includes/class.yith-wcwl-privacy.php:133
557
+ msgid "Wishlists"
558
+ msgstr ""
559
+
560
+ #: ../includes/class.yith-wcwl-privacy.php:195
561
+ #, php-format
562
+ msgid "Removed wishlist %s."
563
+ msgstr ""
564
+
565
+ #: ../includes/class.yith-wcwl-privacy.php:199
566
+ #, php-format
567
+ msgid "Wishlist %s has been retained."
568
+ msgstr ""
569
+
570
+ #: ../includes/class.yith-wcwl-privacy.php:210
571
+ msgid "Removed default user's wishlist"
572
+ msgstr ""
573
+
574
+ #: ../includes/class.yith-wcwl-privacy.php:228
575
+ msgid "Token"
576
+ msgstr ""
577
+
578
+ #: ../includes/class.yith-wcwl-privacy.php:229
579
+ msgid "Wishlist url"
580
+ msgstr ""
581
+
582
+ #: ../includes/class.yith-wcwl-privacy.php:230
583
+ msgid "Title"
584
+ msgstr ""
585
+
586
+ #: ../includes/class.yith-wcwl-privacy.php:231
587
+ msgctxt "date wishlist was created"
588
+ msgid "Created on"
589
+ msgstr ""
590
+
591
+ #: ../includes/class.yith-wcwl-privacy.php:232
592
+ msgid "Visibility"
593
+ msgstr ""
594
+
595
+ #: ../includes/class.yith-wcwl-privacy.php:233
596
+ msgid "Items Added"
597
+ msgstr ""
598
+
599
+ #: ../includes/class.yith-wcwl-privacy.php:283
600
+ #: ../templates/wishlist-view.php:212
601
+ msgid "Shared"
602
+ msgstr ""
603
+
604
+ #: ../includes/class.yith-wcwl-privacy.php:286
605
+ #: ../templates/wishlist-view.php:215
606
+ msgid "Private"
607
+ msgstr ""
608
+
609
+ #: ../includes/class.yith-wcwl-privacy.php:289
610
+ #: ../templates/wishlist-view.php:218
611
+ msgid "Public"
612
+ msgstr ""
613
+
614
+ #: ../includes/class.yith-wcwl-shortcode.php:259
615
+ #: ../includes/class.yith-wcwl-ui.php:164
616
+ msgid "Share on:"
617
+ msgstr ""
618
+
619
+ #: ../includes/class.yith-wcwl-ui.php:118
620
+ #: ../includes/class.yith-wcwl-ui.php:200
621
+ msgid "Select options"
622
+ msgstr ""
623
+
624
+ #: ../includes/class.yith-wcwl-ui.php:168 ../templates/share.php:20
625
+ msgid "Facebook"
626
+ msgstr ""
627
+
628
+ #: ../includes/class.yith-wcwl-ui.php:171 ../templates/share.php:26
629
+ msgid "Twitter"
630
+ msgstr ""
631
+
632
+ #: ../includes/class.yith-wcwl-ui.php:180
633
+ msgid "email"
634
+ msgstr ""
635
+
636
+ #: ../includes/class.yith-wcwl.php:193
637
+ msgid "An error occurred while adding products to the wishlist."
638
+ msgstr ""
639
+
640
+ #: ../includes/class.yith-wcwl.php:285
641
+ msgid "An error occurred while adding products to wishlist."
642
+ msgstr ""
643
+
644
+ #: ../includes/class.yith-wcwl.php:302
645
+ msgid "The \"Remove\" option now does not require any parameter"
646
+ msgstr ""
647
+
648
+ #: ../includes/class.yith-wcwl.php:351
649
+ msgid "An error occurred while removing products from the wishlist"
650
+ msgstr ""
651
+
652
+ #: ../includes/class.yith-wcwl.php:801
653
+ msgid "You need to log in before creating a new wishlist"
654
+ msgstr ""
655
+
656
+ #: ../includes/class.yith-wcwl.php:1598
657
+ msgid "Product successfully removed."
658
+ msgstr ""
659
+
660
+ #: ../includes/class.yith-wcwl.php:1602
661
+ msgid "Error. Unable to remove the product from the wishlist."
662
+ msgstr ""
663
+
664
+ #: ../includes/class.yith-wcwl.php:1606 ../templates/wishlist-view.php:242
665
+ msgid "No products were added to the wishlist"
666
+ msgstr ""
667
+
668
+ #: ../includes/class.yith-wcwl.php:1648
669
+ msgid "An error as occurred."
670
+ msgstr ""
671
+
672
+ #: ../init.php:130
673
+ msgid ""
674
+ "YITH WooCommerce Wishlist is enabled but not effective. It requires "
675
+ "WooCommerce in order to work."
676
+ msgstr ""
677
+
678
+ #: ../init.php:140
679
+ msgid ""
680
+ "You can't activate the free version of YITH WooCommerce Wishlist while you "
681
+ "are using the premium one."
682
+ msgstr ""
683
+
684
+ #: ../templates/admin/wishlist-panel-premium.php:185
685
+ #: ../templates/admin/wishlist-panel-premium.php:383
686
+ #, php-format
687
+ msgid ""
688
+ "Upgrade to the %1$spremium version%2$s%3$sof %1$sYITH WooCommerce Wishlist"
689
+ "%2$s to benefit from all features!"
690
+ msgstr ""
691
+
692
+ #: ../templates/admin/wishlist-panel-premium.php:187
693
+ #: ../templates/admin/wishlist-panel-premium.php:385
694
+ #, php-format
695
+ msgid "%1$sUPGRADE%2$s%3$s to the premium version%2$s"
696
+ msgstr ""
697
+
698
+ #: ../templates/admin/wishlist-panel-premium.php:193
699
+ msgid "Premium Features"
700
+ msgstr ""
701
+
702
+ #: ../templates/admin/wishlist-panel-premium.php:196
703
+ #: ../templates/admin/wishlist-panel-premium.php:201
704
+ msgid "Multiple Wishlist"
705
+ msgstr ""
706
+
707
+ #: ../templates/admin/wishlist-panel-premium.php:203
708
+ #, php-format
709
+ msgid ""
710
+ "%1$sDoes it ever happened to you to have too many wishes for a single wish "
711
+ "list?%2$s%3$s The possibility to manage one's wishes is a fundamental "
712
+ "feature in a modern e-commerce store and it also lets users' degree of "
713
+ "satisfaction increase.%3$sThe option \"multiple wishlist\" of %1$sYITH "
714
+ "Wishlist%2$s makes this feature and many others on your online store "
715
+ "available, and thanks to this plugin your customers will be able to create, "
716
+ "manage and share their own wish lists."
717
+ msgstr ""
718
+
719
+ #: ../templates/admin/wishlist-panel-premium.php:212
720
+ #: ../templates/admin/wishlist-panel-premium.php:222
721
+ msgid "Wishlist Private"
722
+ msgstr ""
723
+
724
+ #: ../templates/admin/wishlist-panel-premium.php:214
725
+ #, php-format
726
+ msgid ""
727
+ "By enabling the option wishlist, users will also have the possibility to "
728
+ "%1$smanage the visibility%2$s of their wish lists according to one of the "
729
+ "following options:"
730
+ msgstr ""
731
+
732
+ #: ../templates/admin/wishlist-panel-premium.php:216
733
+ #, php-format
734
+ msgid "%1$spublic:%2$s all users can look for your wish list and see it;"
735
+ msgstr ""
736
+
737
+ #: ../templates/admin/wishlist-panel-premium.php:217
738
+ #, php-format
739
+ msgid ""
740
+ "%1$sshared:%2$s only users possessing a direct link to the wish list page "
741
+ "can display it;"
742
+ msgstr ""
743
+
744
+ #: ../templates/admin/wishlist-panel-premium.php:218
745
+ #, php-format
746
+ msgid "%1$sprivate:%2$s only the wish list creator can see it."
747
+ msgstr ""
748
+
749
+ #: ../templates/admin/wishlist-panel-premium.php:229
750
+ #: ../templates/admin/wishlist-panel-premium.php:234
751
+ msgid "Estimate Cost"
752
+ msgstr ""
753
+
754
+ #: ../templates/admin/wishlist-panel-premium.php:236
755
+ #, php-format
756
+ msgid ""
757
+ "%1$sDo you want to add the possibility to ask for estimates of costs into "
758
+ "your catalogue?%3$s Do you want to manage customised packets for faithful "
759
+ "customers in your store?%2$s%3$sThanks to the feature \"estimate cost\" of "
760
+ "%1$sYITH WooCommerce Wishlist%2$s, each registered user will be able to ask "
761
+ "for an estimate of their own products in the wishlist and add a text in the "
762
+ "popup window that will open just after clicking. Then, they can confirm the "
763
+ "text and send an email with all necessary information directly to the "
764
+ "address that you have previously set."
765
+ msgstr ""
766
+
767
+ #: ../templates/admin/wishlist-panel-premium.php:245
768
+ #: ../templates/admin/wishlist-panel-premium.php:250
769
+ msgid "Admin Panel"
770
+ msgstr ""
771
+
772
+ #: ../templates/admin/wishlist-panel-premium.php:247
773
+ #, php-format
774
+ msgid ""
775
+ "Thanks to the useful Admin panel, accessible directly among the WooCommerce "
776
+ "submenu pages, you will have total control on users' wishlists. In addition "
777
+ "to that, evaluating the degree of appreciation for your products has never "
778
+ "been so easy, now that %1$syou can see a useful report,%2$s available "
779
+ "directly in the product page, which registers the occurrences of the product "
780
+ "in customers' wish lists."
781
+ msgstr ""
782
+
783
+ #: ../templates/admin/wishlist-panel-premium.php:257
784
+ #: ../templates/admin/wishlist-panel-premium.php:262
785
+ msgid "Search Wishlists"
786
+ msgstr ""
787
+
788
+ #: ../templates/admin/wishlist-panel-premium.php:264
789
+ #, php-format
790
+ msgid ""
791
+ "How many times have you been looking for the perfect gift for a important "
792
+ "event but you had no idea of what to buy? %1$s'Search wishlists'%2$s allows "
793
+ "your e-shop users to access public wishlists of anyone, by simply knowing "
794
+ "their name or email. This way you can grant %1$shigher visibility%2$s to "
795
+ "your products and even encourage users to purchase."
796
+ msgstr ""
797
+
798
+ #: ../templates/admin/wishlist-panel-premium.php:273
799
+ msgid "'ADD TO CART' CHECKBOX"
800
+ msgstr ""
801
+
802
+ #: ../templates/admin/wishlist-panel-premium.php:275
803
+ #, php-format
804
+ msgid ""
805
+ "Your shop offers always a wide selection of products and wishlists of your "
806
+ "users get more and more crowded everyday. Give them the possibility to "
807
+ "select %1$ssome or all products%2$s in the wishlist and add them to cart "
808
+ "just with one click."
809
+ msgstr ""
810
+
811
+ #: ../templates/admin/wishlist-panel-premium.php:278
812
+ msgid "'ADD TO CART'"
813
+ msgstr ""
814
+
815
+ #: ../templates/admin/wishlist-panel-premium.php:285
816
+ msgid "DISABLE WISHLIST"
817
+ msgstr ""
818
+
819
+ #: ../templates/admin/wishlist-panel-premium.php:290
820
+ msgid "DISABLE WISHLIST FOR UNLOGGED USERS"
821
+ msgstr ""
822
+
823
+ #: ../templates/admin/wishlist-panel-premium.php:292
824
+ #, php-format
825
+ msgid ""
826
+ "Favour users that have registered to your shop and disable plugin "
827
+ "functionalities for all users that have not. By disabling this option, each "
828
+ "time they try to add a product to the wishlist, they will be %1$sredirected"
829
+ "%2$s to \"My Account\" page and a message will invite them to log in."
830
+ msgstr ""
831
+
832
+ #: ../templates/admin/wishlist-panel-premium.php:301
833
+ msgid "MESSAGE TO UNLOGGED USERS"
834
+ msgstr ""
835
+
836
+ #: ../templates/admin/wishlist-panel-premium.php:303
837
+ #, php-format
838
+ msgid ""
839
+ "Invite users that are visiting your shop to login if they want to fully "
840
+ "benefit from Wishlist functionalities. Show a %1$scustomised message%2$s and "
841
+ "redirect them to \"My Account\" page for registration."
842
+ msgstr ""
843
+
844
+ #: ../templates/admin/wishlist-panel-premium.php:306
845
+ msgid "UNLOGGED USERS"
846
+ msgstr ""
847
+
848
+ #: ../templates/admin/wishlist-panel-premium.php:313
849
+ #: ../templates/admin/wishlist-panel-premium.php:318
850
+ msgid "POPULAR TABLE"
851
+ msgstr ""
852
+
853
+ #: ../templates/admin/wishlist-panel-premium.php:320
854
+ #, php-format
855
+ msgid ""
856
+ "Some products draw customer's attention more than others and they do not "
857
+ "hesitate to add products to their wishlist. Table %1$s'Popular'%2$s allows "
858
+ "you, as shop administrator, to track products that appear most frequently in "
859
+ "their wishlists."
860
+ msgstr ""
861
+
862
+ #: ../templates/admin/wishlist-panel-premium.php:329
863
+ msgid "FUNCTIONALITIES IN ONE CLICK"
864
+ msgstr ""
865
+
866
+ #: ../templates/admin/wishlist-panel-premium.php:331
867
+ #, php-format
868
+ msgid ""
869
+ "Users have the possibility to search for a wishlist, create a new one or "
870
+ "display those already created. Add these %1$sfunctionalities%2$s through the "
871
+ "dedicated widgets or show them immediately after \"Wishlist\" table."
872
+ msgstr ""
873
+
874
+ #: ../templates/admin/wishlist-panel-premium.php:334
875
+ msgid "FUNCTIONALITIES"
876
+ msgstr ""
877
+
878
+ #: ../templates/admin/wishlist-panel-premium.php:341
879
+ #: ../templates/admin/wishlist-panel-premium.php:346
880
+ msgid "PROMOTIONAL EMAIL"
881
+ msgstr ""
882
+
883
+ #: ../templates/admin/wishlist-panel-premium.php:348
884
+ #, php-format
885
+ msgid ""
886
+ "If you want to give the right input to your users to persuade them to "
887
+ "%1$spurchase the products%2$s they have in their wishlists, you need to use "
888
+ "this feature! %1$sSend them an email%2$s: customize its whole content from "
889
+ "the option panel and add a coupon they can use in your shop, so that they "
890
+ "will know you are offering a unique offer!"
891
+ msgstr ""
892
+
893
+ #: ../templates/admin/wishlist-panel-premium.php:357
894
+ msgid "FROM A WISHLIST TO ANOTHER"
895
+ msgstr ""
896
+
897
+ #: ../templates/admin/wishlist-panel-premium.php:359
898
+ #, php-format
899
+ msgid ""
900
+ "Who said that a product has to remain forever in the same wishlist? With the "
901
+ "option %1$s\"Show \"Move to another wishlist\" dropdown menu\"%2$s, with "
902
+ "just one click users will be free to move a product from a wishlist to "
903
+ "another one, managing as they want their lists."
904
+ msgstr ""
905
+
906
+ #: ../templates/admin/wishlist-panel-premium.php:362
907
+ msgid "FROM A WISHLIST"
908
+ msgstr ""
909
+
910
+ #: ../templates/admin/wishlist-panel-premium.php:369
911
+ msgid "DATE"
912
+ msgstr ""
913
+
914
+ #: ../templates/admin/wishlist-panel-premium.php:374
915
+ msgid "DATE OF ADDITION TO A WISHLIST"
916
+ msgstr ""
917
+
918
+ #: ../templates/admin/wishlist-panel-premium.php:376
919
+ #, php-format
920
+ msgid ""
921
+ "Activating the %1$s\"Show date of addition\"%2$s option, users can see the "
922
+ "date in which they have added a particular product to their list: a new way "
923
+ "to keep you users informed about their operations."
924
+ msgstr ""
925
+
926
+ #: ../templates/share.php:32
927
+ msgid "Pinterest"
928
+ msgstr ""
929
+
930
+ #: ../templates/share.php:38
931
+ msgid "Google+"
932
+ msgstr ""
933
+
934
+ #: ../templates/share.php:44
935
+ msgid "Email"
936
+ msgstr ""
937
+
938
+ #: ../templates/wishlist-view.php:32
939
+ msgid "Edit title"
940
+ msgstr ""
941
+
942
+ #: ../templates/wishlist-view.php:41
943
+ msgid "Save"
944
+ msgstr ""
945
+
946
+ #: ../templates/wishlist-view.php:45
947
+ msgid "Cancel"
948
+ msgstr ""
949
+
950
+ #: ../templates/wishlist-view.php:82
951
+ msgid "Product Name"
952
+ msgstr ""
953
+
954
+ #: ../templates/wishlist-view.php:89
955
+ msgid "Unit Price"
956
+ msgstr ""
957
+
958
+ #: ../templates/wishlist-view.php:102
959
+ msgid "Stock Status"
960
+ msgstr ""
961
+
962
+ #: ../templates/wishlist-view.php:152 ../templates/wishlist-view.php:232
963
+ msgid "Remove this product"
964
+ msgstr ""
965
+
966
+ #: ../templates/wishlist-view.php:172
967
+ msgid "Free!"
968
+ msgstr ""
969
+
970
+ #: ../templates/wishlist-view.php:179
971
+ msgid "Out of Stock"
972
+ msgstr ""
973
+
974
+ #: ../templates/wishlist-view.php:179
975
+ msgid "In Stock"
976
+ msgstr ""
977
+
978
+ #: ../templates/wishlist-view.php:188
979
+ #, php-format
980
+ msgid "Added on : %s"
981
+ msgstr ""
982
+
983
+ #: ../templates/wishlist-view.php:200
984
+ msgid "Move"
985
+ msgstr ""
986
+
987
+ #: ../templates/wishlist-view.php:232
988
+ msgid "Remove"
989
+ msgstr ""
990
+
991
+ #: ../templates/wishlist-view.php:259
992
+ msgid "Add the selected products to the cart"
993
+ msgstr ""
994
+
995
+ #: ../templates/wishlist-view.php:267 ../templates/wishlist-view.php:313
996
+ msgid "Ask for an estimate"
997
+ msgstr ""
998
+
999
+ #: ../templates/wishlist-view.php:303
1000
+ msgid "Your email"
1001
+ msgstr ""
plugin-fw/assets/css/yith-select2-no-wc.css ADDED
@@ -0,0 +1,741 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ .select2-container {
2
+ -webkit-box-sizing : border-box;
3
+ box-sizing : border-box;
4
+ display : inline-block;
5
+ margin : 0;
6
+ position : relative;
7
+ vertical-align : middle
8
+ }
9
+
10
+ .select2-container .select2-selection--single {
11
+ -webkit-box-sizing : border-box;
12
+ box-sizing : border-box;
13
+ cursor : pointer;
14
+ display : block;
15
+ height : 28px;
16
+ margin : 0 0 -4px;
17
+ -moz-user-select : none;
18
+ -ms-user-select : none;
19
+ user-select : none;
20
+ -webkit-user-select : none
21
+ }
22
+
23
+ .select2-container .select2-selection--single .select2-selection__rendered {
24
+ display : block;
25
+ padding-left : 8px;
26
+ padding-right : 20px;
27
+ overflow : hidden;
28
+ text-overflow : ellipsis;
29
+ white-space : nowrap
30
+ }
31
+
32
+ .select2-container .select2-selection--single .select2-selection__clear {
33
+ position : relative
34
+ }
35
+
36
+ .select2-container[dir=rtl] .select2-selection--single .select2-selection__rendered {
37
+ padding-right : 8px;
38
+ padding-left : 20px
39
+ }
40
+
41
+ .select2-container .select2-selection--multiple {
42
+ -webkit-box-sizing : border-box;
43
+ box-sizing : border-box;
44
+ cursor : pointer;
45
+ display : block;
46
+ min-height : 32px;
47
+ -moz-user-select : none;
48
+ -ms-user-select : none;
49
+ user-select : none;
50
+ -webkit-user-select : none
51
+ }
52
+
53
+ .select2-container .select2-selection--multiple .select2-selection__rendered {
54
+ display : inline-block;
55
+ overflow : hidden;
56
+ padding-left : 8px;
57
+ text-overflow : ellipsis;
58
+ white-space : nowrap
59
+ }
60
+
61
+ .select2-container .select2-search--inline {
62
+ float : left;
63
+ padding : 0
64
+ }
65
+
66
+ .select2-container .select2-search--inline .select2-search__field {
67
+ -webkit-box-sizing : border-box;
68
+ box-sizing : border-box;
69
+ border : none;
70
+ font-size : 100%;
71
+ margin : 0;
72
+ padding : 0
73
+ }
74
+
75
+ .select2-container .select2-search--inline .select2-search__field::-webkit-search-cancel-button {
76
+ -webkit-appearance : none
77
+ }
78
+
79
+ .select2-dropdown {
80
+ background-color : #fff;
81
+ border : 1px solid #aaa;
82
+ border-radius : 4px;
83
+ -webkit-box-sizing : border-box;
84
+ box-sizing : border-box;
85
+ display : block;
86
+ position : absolute;
87
+ left : -100000px;
88
+ width : 100%;
89
+ z-index : 1051
90
+ }
91
+
92
+ .select2-results {
93
+ display : block
94
+ }
95
+
96
+ .select2-results__options {
97
+ list-style : none;
98
+ margin : 0;
99
+ padding : 0
100
+ }
101
+
102
+ .select2-results__option {
103
+ padding : 6px;
104
+ -moz-user-select : none;
105
+ -ms-user-select : none;
106
+ user-select : none;
107
+ -webkit-user-select : none
108
+ }
109
+
110
+ .select2-results__option[aria-selected], .select2-results__option[data-selected] {
111
+ cursor : pointer
112
+ }
113
+
114
+ .select2-container--open .select2-dropdown {
115
+ left : 0
116
+ }
117
+
118
+ .select2-container--open .select2-dropdown--above {
119
+ border-bottom : none;
120
+ border-bottom-left-radius : 0;
121
+ border-bottom-right-radius : 0
122
+ }
123
+
124
+ .select2-container--open .select2-dropdown--below {
125
+ border-top : none;
126
+ border-top-left-radius : 0;
127
+ border-top-right-radius : 0
128
+ }
129
+
130
+ .select2-search--dropdown {
131
+ display : block;
132
+ padding : 4px
133
+ }
134
+
135
+ .select2-search--dropdown .select2-search__field {
136
+ padding : 4px;
137
+ width : 100%;
138
+ -webkit-box-sizing : border-box;
139
+ box-sizing : border-box
140
+ }
141
+
142
+ .select2-search--dropdown .select2-search__field::-webkit-search-cancel-button {
143
+ -webkit-appearance : none
144
+ }
145
+
146
+ .select2-search--dropdown.select2-search--hide {
147
+ display : none
148
+ }
149
+
150
+ .select2-close-mask {
151
+ border : 0;
152
+ margin : 0;
153
+ padding : 0;
154
+ display : block;
155
+ position : fixed;
156
+ left : 0;
157
+ top : 0;
158
+ min-height : 100%;
159
+ min-width : 100%;
160
+ height : auto;
161
+ width : auto;
162
+ opacity : 0;
163
+ z-index : 99;
164
+ background-color : #fff
165
+ }
166
+
167
+ .select2-hidden-accessible {
168
+ border : 0 !important;
169
+ clip : rect(0 0 0 0) !important;
170
+ height : 1px !important;
171
+ margin : -1px !important;
172
+ overflow : hidden !important;
173
+ padding : 0 !important;
174
+ position : absolute !important;
175
+ width : 1px !important
176
+ }
177
+
178
+ .select2-container--default .select2-selection--single {
179
+ background-color : #fff;
180
+ border : 1px solid #aaa;
181
+ border-radius : 4px
182
+ }
183
+
184
+ .select2-container--default .select2-selection--single .select2-selection__rendered {
185
+ color : #444;
186
+ line-height : 28px
187
+ }
188
+
189
+ .select2-container--default .select2-selection--single .select2-selection__clear {
190
+ cursor : pointer;
191
+ float : right;
192
+ font-weight : 700
193
+ }
194
+
195
+ .select2-container--default .select2-selection--single .select2-selection__placeholder {
196
+ color : #999
197
+ }
198
+
199
+ .select2-container--default .select2-selection--single .select2-selection__arrow {
200
+ height : 26px;
201
+ position : absolute;
202
+ top : 1px;
203
+ right : 1px;
204
+ width : 20px
205
+ }
206
+
207
+ .select2-container--default .select2-selection--single .select2-selection__arrow b {
208
+ border-color : #888 transparent transparent transparent;
209
+ border-style : solid;
210
+ border-width : 5px 4px 0 4px;
211
+ height : 0;
212
+ left : 50%;
213
+ margin-left : -4px;
214
+ margin-top : -2px;
215
+ position : absolute;
216
+ top : 50%;
217
+ width : 0
218
+ }
219
+
220
+ .select2-container--default[dir=rtl] .select2-selection--single .select2-selection__clear {
221
+ float : left
222
+ }
223
+
224
+ .select2-container--default[dir=rtl] .select2-selection--single .select2-selection__arrow {
225
+ left : 1px;
226
+ right : auto
227
+ }
228
+
229
+ .select2-container--default.select2-container--disabled .select2-selection--single {
230
+ background-color : #eee;
231
+ cursor : default
232
+ }
233
+
234
+ .select2-container--default.select2-container--disabled .select2-selection--single .select2-selection__clear {
235
+ display : none
236
+ }
237
+
238
+ .select2-container--default.select2-container--open .select2-selection--single .select2-selection__arrow b {
239
+ border-color : transparent transparent #888 transparent;
240
+ border-width : 0 4px 5px 4px
241
+ }
242
+
243
+ .select2-container--default .select2-selection--multiple {
244
+ background-color : #fff;
245
+ border : 1px solid #aaa;
246
+ cursor : text;
247
+ }
248
+
249
+ .select2-container--default .select2-selection--multiple .select2-selection__rendered {
250
+ -webkit-box-sizing : border-box;
251
+ box-sizing : border-box;
252
+ list-style : none;
253
+ margin : 0;
254
+ padding : 0 5px;
255
+ width : 100%
256
+ }
257
+
258
+ .select2-container--default .select2-selection--multiple .select2-selection__rendered li {
259
+ list-style : none;
260
+ margin : 5px 5px 0 0
261
+ }
262
+
263
+ .select2-container--default .select2-selection--multiple .select2-selection__rendered li:before {
264
+ content : '';
265
+ display : none
266
+ }
267
+
268
+ .select2-container--default .select2-selection--multiple .select2-selection__placeholder {
269
+ color : #999;
270
+ margin-top : 5px;
271
+ float : left
272
+ }
273
+
274
+ .select2-container--default .select2-selection--multiple .select2-selection__clear {
275
+ cursor : pointer;
276
+ float : right;
277
+ font-weight : 700;
278
+ margin-top : 5px;
279
+ margin-right : 10px
280
+ }
281
+
282
+ .select2-container--default .select2-selection--multiple .select2-selection__choice {
283
+ background-color : #e4e4e4;
284
+ border : 1px solid #aaa;
285
+ border-radius : 4px;
286
+ cursor : default;
287
+ float : left;
288
+ margin-right : 5px;
289
+ margin-top : 5px;
290
+ padding : 0 5px
291
+ }
292
+
293
+ .select2-container--default .select2-selection--multiple .select2-selection__choice__remove {
294
+ color : #999;
295
+ cursor : pointer;
296
+ display : inline-block;
297
+ font-weight : 700;
298
+ margin-right : 2px
299
+ }
300
+
301
+ .select2-container--default .select2-selection--multiple .select2-selection__choice__remove:hover {
302
+ color : #333
303
+ }
304
+
305
+ .select2-container--default[dir=rtl] .select2-selection--multiple .select2-search--inline, .select2-container--default[dir=rtl] .select2-selection--multiple .select2-selection__choice, .select2-container--default[dir=rtl] .select2-selection--multiple .select2-selection__placeholder {
306
+ float : right
307
+ }
308
+
309
+ .select2-container--default[dir=rtl] .select2-selection--multiple .select2-selection__choice {
310
+ margin-left : 5px;
311
+ margin-right : auto
312
+ }
313
+
314
+ .select2-container--default[dir=rtl] .select2-selection--multiple .select2-selection__choice__remove {
315
+ margin-left : 2px;
316
+ margin-right : auto
317
+ }
318
+
319
+ .select2-container--default.select2-container--focus .select2-selection--multiple {
320
+ border : solid #000 1px;
321
+ outline : 0
322
+ }
323
+
324
+ .select2-container--default.select2-container--disabled .select2-selection--multiple {
325
+ background-color : #eee;
326
+ cursor : default
327
+ }
328
+
329
+ .select2-container--default.select2-container--disabled .select2-selection__choice__remove {
330
+ display : none
331
+ }
332
+
333
+ .select2-container--default.select2-container--open.select2-container--above .select2-selection--multiple, .select2-container--default.select2-container--open.select2-container--above .select2-selection--single {
334
+ border-top-left-radius : 0;
335
+ border-top-right-radius : 0
336
+ }
337
+
338
+ .select2-container--default.select2-container--open.select2-container--below .select2-selection--multiple, .select2-container--default.select2-container--open.select2-container--below .select2-selection--single {
339
+ border-bottom-left-radius : 0;
340
+ border-bottom-right-radius : 0
341
+ }
342
+
343
+ .select2-container--default .select2-search--dropdown .select2-search__field {
344
+ border : 1px solid #aaa
345
+ }
346
+
347
+ .select2-container--default .select2-search--inline .select2-search__field {
348
+ background : 0 0;
349
+ border : none;
350
+ outline : 0;
351
+ -webkit-box-shadow : none;
352
+ box-shadow : none;
353
+ -webkit-appearance : textfield
354
+ }
355
+
356
+ .select2-container--default .select2-results > .select2-results__options {
357
+ max-height : 200px;
358
+ overflow-y : auto
359
+ }
360
+
361
+ .select2-container--default .select2-results__option[role=group] {
362
+ padding : 0
363
+ }
364
+
365
+ .select2-container--default .select2-results__option[aria-disabled=true] {
366
+ color : #999
367
+ }
368
+
369
+ .select2-container--default .select2-results__option[aria-selected=true], .select2-container--default .select2-results__option[data-selected=true] {
370
+ background-color : #ddd
371
+ }
372
+
373
+ .select2-container--default .select2-results__option .select2-results__option {
374
+ padding-left : 1em
375
+ }
376
+
377
+ .select2-container--default .select2-results__option .select2-results__option .select2-results__group {
378
+ padding-left : 0
379
+ }
380
+
381
+ .select2-container--default .select2-results__option .select2-results__option .select2-results__option {
382
+ margin-left : -1em;
383
+ padding-left : 2em
384
+ }
385
+
386
+ .select2-container--default .select2-results__option .select2-results__option .select2-results__option .select2-results__option {
387
+ margin-left : -2em;
388
+ padding-left : 3em
389
+ }
390
+
391
+ .select2-container--default .select2-results__option .select2-results__option .select2-results__option .select2-results__option .select2-results__option {
392
+ margin-left : -3em;
393
+ padding-left : 4em
394
+ }
395
+
396
+ .select2-container--default .select2-results__option .select2-results__option .select2-results__option .select2-results__option .select2-results__option .select2-results__option {
397
+ margin-left : -4em;
398
+ padding-left : 5em
399
+ }
400
+
401
+ .select2-container--default .select2-results__option .select2-results__option .select2-results__option .select2-results__option .select2-results__option .select2-results__option .select2-results__option {
402
+ margin-left : -5em;
403
+ padding-left : 6em
404
+ }
405
+
406
+ .select2-container--default .select2-results__option--highlighted[aria-selected], .select2-container--default .select2-results__option--highlighted[data-selected] {
407
+ background-color : #0073aa;
408
+ color : #fff
409
+ }
410
+
411
+ .select2-container--default .select2-results__group {
412
+ cursor : default;
413
+ display : block;
414
+ padding : 6px
415
+ }
416
+
417
+ .select2-container--classic .select2-selection--single {
418
+ background-color : #f7f7f7;
419
+ border : 1px solid #aaa;
420
+ border-radius : 4px;
421
+ outline : 0;
422
+ background-image : -webkit-gradient(linear, left top, left bottom, color-stop(50%, #fff), to(#eee));
423
+ background-image : -webkit-linear-gradient(top, #fff 50%, #eee 100%);
424
+ background-image : linear-gradient(to bottom, #fff 50%, #eee 100%);
425
+ background-repeat : repeat-x
426
+ }
427
+
428
+ .select2-container--classic .select2-selection--single:focus {
429
+ border : 1px solid #0073aa
430
+ }
431
+
432
+ .select2-container--classic .select2-selection--single .select2-selection__rendered {
433
+ color : #444;
434
+ line-height : 28px
435
+ }
436
+
437
+ .select2-container--classic .select2-selection--single .select2-selection__clear {
438
+ cursor : pointer;
439
+ float : right;
440
+ font-weight : 700;
441
+ margin-right : 10px
442
+ }
443
+
444
+ .select2-container--classic .select2-selection--single .select2-selection__placeholder {
445
+ color : #999
446
+ }
447
+
448
+ .select2-container--classic .select2-selection--single .select2-selection__arrow {
449
+ background-color : #ddd;
450
+ border : none;
451
+ border-left : 1px solid #aaa;
452
+ border-top-right-radius : 4px;
453
+ border-bottom-right-radius : 4px;
454
+ height : 26px;
455
+ position : absolute;
456
+ top : 1px;
457
+ right : 1px;
458
+ width : 20px;
459
+ background-image : -webkit-gradient(linear, left top, left bottom, color-stop(50%, #eee), to(#ccc));
460
+ background-image : -webkit-linear-gradient(top, #eee 50%, #ccc 100%);
461
+ background-image : linear-gradient(to bottom, #eee 50%, #ccc 100%);
462
+ background-repeat : repeat-x
463
+ }
464
+
465
+ .select2-container--classic .select2-selection--single .select2-selection__arrow b {
466
+ border-color : #888 transparent transparent transparent;
467
+ border-style : solid;
468
+ border-width : 5px 4px 0 4px;
469
+ height : 0;
470
+ left : 50%;
471
+ margin-left : -4px;
472
+ margin-top : -2px;
473
+ position : absolute;
474
+ top : 50%;
475
+ width : 0
476
+ }
477
+
478
+ .select2-container--classic[dir=rtl] .select2-selection--single .select2-selection__clear {
479
+ float : left
480
+ }
481
+
482
+ .select2-container--classic[dir=rtl] .select2-selection--single .select2-selection__arrow {
483
+ border : none;
484
+ border-right : 1px solid #aaa;
485
+ border-radius : 0;
486
+ border-top-left-radius : 4px;
487
+ border-bottom-left-radius : 4px;
488
+ left : 1px;
489
+ right : auto
490
+ }
491
+
492
+ .select2-container--classic.select2-container--open .select2-selection--single {
493
+ border : 1px solid #0073aa
494
+ }
495
+
496
+ .select2-container--classic.select2-container--open .select2-selection--single .select2-selection__arrow {
497
+ background : 0 0;
498
+ border : none
499
+ }
500
+
501
+ .select2-container--classic.select2-container--open .select2-selection--single .select2-selection__arrow b {
502
+ border-color : transparent transparent #888 transparent;
503
+ border-width : 0 4px 5px 4px
504
+ }
505
+
506
+ .select2-container--classic.select2-container--open.select2-container--above .select2-selection--single {
507
+ border-top : none;
508
+ border-top-left-radius : 0;
509
+ border-top-right-radius : 0;
510
+ background-image : -webkit-gradient(linear, left top, left bottom, from(white), color-stop(50%, #eee));
511
+ background-image : -webkit-linear-gradient(top, #fff 0, #eee 50%);
512
+ background-image : linear-gradient(to bottom, #fff 0, #eee 50%);
513
+ background-repeat : repeat-x
514
+ }
515
+
516
+ .select2-container--classic.select2-container--open.select2-container--below .select2-selection--single {
517
+ border-bottom : none;
518
+ border-bottom-left-radius : 0;
519
+ border-bottom-right-radius : 0;
520
+ background-image : -webkit-gradient(linear, left top, left bottom, color-stop(50%, #eee), to(white));
521
+ background-image : -webkit-linear-gradient(top, #eee 50%, #fff 100%);
522
+ background-image : linear-gradient(to bottom, #eee 50%, #fff 100%);
523
+ background-repeat : repeat-x
524
+ }
525
+
526
+ .select2-container--classic .select2-selection--multiple {
527
+ background-color : #fff;
528
+ border : 1px solid #aaa;
529
+ border-radius : 4px;
530
+ cursor : text;
531
+ outline : 0
532
+ }
533
+
534
+ .select2-container--classic .select2-selection--multiple:focus {
535
+ border : 1px solid #0073aa
536
+ }
537
+
538
+ .select2-container--classic .select2-selection--multiple .select2-selection__rendered {
539
+ list-style : none;
540
+ margin : 0;
541
+ padding : 0 5px
542
+ }
543
+
544
+ .select2-container--classic .select2-selection--multiple .select2-selection__clear {
545
+ display : none
546
+ }
547
+
548
+ .select2-container--classic .select2-selection--multiple .select2-selection__choice {
549
+ background-color : #e4e4e4;
550
+ border : 1px solid #aaa;
551
+ border-radius : 4px;
552
+ cursor : default;
553
+ float : left;
554
+ margin-right : 5px;
555
+ margin-top : 5px;
556
+ padding : 0 5px
557
+ }
558
+
559
+ .select2-container--classic .select2-selection--multiple .select2-selection__choice__remove {
560
+ color : #888;
561
+ cursor : pointer;
562
+ display : inline-block;
563
+ font-weight : 700;
564
+ margin-right : 2px
565
+ }
566
+
567
+ .select2-container--classic .select2-selection--multiple .select2-selection__choice__remove:hover {
568
+ color : #555
569
+ }
570
+
571
+ .select2-container--classic[dir=rtl] .select2-selection--multiple .select2-selection__choice {
572
+ float : right
573
+ }
574
+
575
+ .select2-container--classic[dir=rtl] .select2-selection--multiple .select2-selection__choice {
576
+ margin-left : 5px;
577
+ margin-right : auto
578
+ }
579
+
580
+ .select2-container--classic[dir=rtl] .select2-selection--multiple .select2-selection__choice__remove {
581
+ margin-left : 2px;
582
+ margin-right : auto
583
+ }
584
+
585
+ .select2-container--classic.select2-container--open .select2-selection--multiple {
586
+ border : 1px solid #0073aa
587
+ }
588
+
589
+ .select2-container--classic.select2-container--open.select2-container--above .select2-selection--multiple {
590
+ border-top : none;
591
+ border-top-left-radius : 0;
592
+ border-top-right-radius : 0
593
+ }
594
+
595
+ .select2-container--classic.select2-container--open.select2-container--below .select2-selection--multiple {
596
+ border-bottom : none;
597
+ border-bottom-left-radius : 0;
598
+ border-bottom-right-radius : 0
599
+ }
600
+
601
+ .select2-container--classic .select2-search--dropdown .select2-search__field {
602
+ border : 1px solid #aaa;
603
+ outline : 0
604
+ }
605
+
606
+ .select2-container--classic .select2-search--inline .select2-search__field {
607
+ outline : 0;
608
+ -webkit-box-shadow : none;
609
+ box-shadow : none
610
+ }
611
+
612
+ .select2-container--classic .select2-dropdown {
613
+ background-color : #fff;
614
+ border : 1px solid transparent
615
+ }
616
+
617
+ .select2-container--classic .select2-dropdown--above {
618
+ border-bottom : none
619
+ }
620
+
621
+ .select2-container--classic .select2-dropdown--below {
622
+ border-top : none
623
+ }
624
+
625
+ .select2-container--classic .select2-results > .select2-results__options {
626
+ max-height : 200px;
627
+ overflow-y : auto
628
+ }
629
+
630
+ .select2-container--classic .select2-results__option[role=group] {
631
+ padding : 0
632
+ }
633
+
634
+ .select2-container--classic .select2-results__option[aria-disabled=true] {
635
+ color : grey
636
+ }
637
+
638
+ .select2-container--classic .select2-results__option--highlighted[aria-selected], .select2-container--classic .select2-results__option--highlighted[data-selected] {
639
+ background-color : #3875d7;
640
+ color : #fff
641
+ }
642
+
643
+ .select2-container--classic .select2-results__group {
644
+ cursor : default;
645
+ display : block;
646
+ padding : 6px
647
+ }
648
+
649
+ .select2-container--classic.select2-container--open .select2-dropdown {
650
+ border-color : #0073aa
651
+ }
652
+
653
+
654
+ .select2-drop, .select2-dropdown {
655
+ z-index : 999999 !important
656
+ }
657
+
658
+ .select2-results {
659
+ line-height : 1.5em
660
+ }
661
+
662
+ .select2-results .select2-results__group, .select2-results .select2-results__option {
663
+ margin : 0;
664
+ padding : 8px
665
+ }
666
+
667
+ .select2-results .description {
668
+ display : block;
669
+ color : #999;
670
+ padding-top : 4px
671
+ }
672
+
673
+ .select2-dropdown {
674
+ border-color : #ddd
675
+ }
676
+
677
+ .select2-dropdown--below {
678
+ -webkit-box-shadow : 0 1px 1px rgba(0, 0, 0, .1);
679
+ box-shadow : 0 1px 1px rgba(0, 0, 0, .1)
680
+ }
681
+
682
+ .select2-dropdown--above {
683
+ -webkit-box-shadow : 0 -1px 1px rgba(0, 0, 0, .1);
684
+ box-shadow : 0 -1px 1px rgba(0, 0, 0, .1)
685
+ }
686
+
687
+ .select2-container .select2-selection__rendered.ui-sortable li {
688
+ cursor : move
689
+ }
690
+
691
+ .select2-container .select2-selection {
692
+ border-color : #ddd
693
+ }
694
+
695
+ .select2-container .select2-search__field {
696
+ min-width : 150px
697
+ }
698
+
699
+ .select2-container .select2-selection--single {
700
+ height : 32px
701
+ }
702
+
703
+ .select2-container .select2-selection--single .select2-selection__rendered {
704
+ line-height : 32px;
705
+ padding-right : 24px
706
+ }
707
+
708
+ .select2-container .select2-selection--single .select2-selection__arrow {
709
+ right : 3px;
710
+ height : 30px
711
+ }
712
+
713
+ .select2-container .select2-selection--multiple {
714
+ min-height : 28px;
715
+ border-radius : 0;
716
+ line-height : 1.5
717
+ }
718
+
719
+ .select2-container .select2-selection--multiple li {
720
+ margin : 0
721
+ }
722
+
723
+ .select2-container .select2-selection--multiple .select2-selection__choice {
724
+ padding : 2px 6px
725
+ }
726
+
727
+ .select2-container .select2-selection--multiple .select2-selection__choice .description {
728
+ display : none
729
+ }
730
+
731
+ .select2-container .select2-selection__clear {
732
+ color : #999;
733
+ margin-top : -1px
734
+ }
735
+
736
+ .select2-container .select2-search--inline .select2-search__field {
737
+ font-family : inherit;
738
+ font-size : inherit;
739
+ font-weight : inherit;
740
+ padding : 3px 0
741
+ }
plugin-fw/init.php CHANGED
@@ -1,13 +1,13 @@
1
  <?php
2
  /**
3
  * Framework Name: YIT Plugin Framework
4
- * Version: 3.0.16
5
  * Author: Yithemes
6
  * Text Domain: yith-plugin-fw
7
  * Domain Path: /languages/
8
  *
9
  * @author Your Inspiration Themes
10
- * @version 3.0.16
11
  */
12
  /**
13
  * This file belongs to the YIT Plugin Framework.
1
  <?php
2
  /**
3
  * Framework Name: YIT Plugin Framework
4
+ * Version: 3.0.17
5
  * Author: Yithemes
6
  * Text Domain: yith-plugin-fw
7
  * Domain Path: /languages/
8
  *
9
  * @author Your Inspiration Themes
10
+ * @version 3.0.17
11
  */
12
  /**
13
  * This file belongs to the YIT Plugin Framework.
plugin-fw/lib/yit-ajax.php CHANGED
@@ -83,7 +83,7 @@ if ( !class_exists( 'YIT_Ajax' ) ) {
83
 
84
  $request = $request ? $request : $_REQUEST;
85
 
86
- $term = (string) wc_clean( stripslashes( $request[ 'term' ] ) );
87
  if ( empty( $term ) ) {
88
  die();
89
  }
@@ -208,7 +208,7 @@ if ( !class_exists( 'YIT_Ajax' ) ) {
208
 
209
  check_ajax_referer( 'search-terms', 'security' );
210
 
211
- $term = (string) wc_clean( stripslashes( $_REQUEST[ 'term' ] ) );
212
 
213
  if ( empty( $term ) ) {
214
  die();
83
 
84
  $request = $request ? $request : $_REQUEST;
85
 
86
+ $term = (string) sanitize_text_field( stripslashes( $request[ 'term' ] ) );
87
  if ( empty( $term ) ) {
88
  die();
89
  }
208
 
209
  check_ajax_referer( 'search-terms', 'security' );
210
 
211
+ $term = (string) sanitize_text_field( stripslashes( $_REQUEST[ 'term' ] ) );
212
 
213
  if ( empty( $term ) ) {
214
  die();
plugin-fw/lib/yit-assets.php CHANGED
@@ -69,20 +69,24 @@ if ( !class_exists( 'YIT_Assets' ) ) {
69
  wp_register_style( 'yit-plugin-metaboxes', YIT_CORE_PLUGIN_URL . '/assets/css/metaboxes.css' );
70
  wp_register_style( 'yith-plugin-fw-fields', YIT_CORE_PLUGIN_URL . '/assets/css/yith-fields.css', false, $this->version );
71
 
 
72
  if ( function_exists( 'WC' ) || !empty( $woocommerce ) ) {
73
  $woocommerce_version = function_exists( 'WC' ) ? WC()->version : $woocommerce->version;
74
  $wc_version_suffix = version_compare( $woocommerce_version, '3.0.0', '>=' ) ? '' : '-wc-2.6';
75
 
76
  wp_register_style( 'woocommerce_admin_styles', $woocommerce->plugin_url() . '/assets/css/admin.css', array(), $woocommerce_version );
77
-
78
- wp_register_script( 'yith-enhanced-select', YIT_CORE_PLUGIN_URL . '/assets/js/yith-enhanced-select' . $wc_version_suffix . $suffix . '.js', array( 'jquery', 'select2', 'woocommerce_admin' ), '1.0.0', true );
79
- wp_localize_script( 'yith-enhanced-select', 'yith_framework_enhanced_select_params', array(
80
- 'ajax_url' => admin_url( 'admin-ajax.php' ),
81
- 'search_posts_nonce' => wp_create_nonce( 'search-posts' ),
82
- 'search_terms_nonce' => wp_create_nonce( 'search-terms' ),
83
- ) );
84
  }
85
 
 
 
 
 
 
 
 
86
  wp_enqueue_style( 'yith-plugin-fw-admin', YIT_CORE_PLUGIN_URL . '/assets/css/admin.css', array(), $this->version );
87
 
88
  }
69
  wp_register_style( 'yit-plugin-metaboxes', YIT_CORE_PLUGIN_URL . '/assets/css/metaboxes.css' );
70
  wp_register_style( 'yith-plugin-fw-fields', YIT_CORE_PLUGIN_URL . '/assets/css/yith-fields.css', false, $this->version );
71
 
72
+ $wc_version_suffix = '';
73
  if ( function_exists( 'WC' ) || !empty( $woocommerce ) ) {
74
  $woocommerce_version = function_exists( 'WC' ) ? WC()->version : $woocommerce->version;
75
  $wc_version_suffix = version_compare( $woocommerce_version, '3.0.0', '>=' ) ? '' : '-wc-2.6';
76
 
77
  wp_register_style( 'woocommerce_admin_styles', $woocommerce->plugin_url() . '/assets/css/admin.css', array(), $woocommerce_version );
78
+ } else {
79
+ wp_register_script( 'select2', '//cdnjs.cloudflare.com/ajax/libs/select2/4.0.3/js/select2.min.js', array( 'jquery' ), '4.0.3', true );
80
+ wp_register_style( 'yith-select2-no-wc', YIT_CORE_PLUGIN_URL . '/assets/css/yith-select2-no-wc.css', false, $this->version );
 
 
 
 
81
  }
82
 
83
+ wp_register_script( 'yith-enhanced-select', YIT_CORE_PLUGIN_URL . '/assets/js/yith-enhanced-select' . $wc_version_suffix . $suffix . '.js', array( 'jquery', 'select2' ), '1.0.0', true );
84
+ wp_localize_script( 'yith-enhanced-select', 'yith_framework_enhanced_select_params', array(
85
+ 'ajax_url' => admin_url( 'admin-ajax.php' ),
86
+ 'search_posts_nonce' => wp_create_nonce( 'search-posts' ),
87
+ 'search_terms_nonce' => wp_create_nonce( 'search-terms' ),
88
+ ) );
89
+
90
  wp_enqueue_style( 'yith-plugin-fw-admin', YIT_CORE_PLUGIN_URL . '/assets/css/admin.css', array(), $this->version );
91
 
92
  }
plugin-fw/lib/yit-debug.php CHANGED
@@ -234,8 +234,7 @@ if ( !class_exists( 'YITH_Debug' ) ) {
234
  * @return string
235
  */
236
  public function get_plugin_framework_info() {
237
- $plugin_fw_data = get_file_data( trailingslashit( YIT_CORE_PLUGIN_PATH ) . 'init.php', array( 'Version' => 'Version' ) );
238
- $plugin_fw_version = $plugin_fw_data[ 'Version' ];
239
  $plugin_fw_loaded_by = basename( dirname( YIT_CORE_PLUGIN_PATH ) );
240
 
241
  return "$plugin_fw_version (by $plugin_fw_loaded_by)";
234
  * @return string
235
  */
236
  public function get_plugin_framework_info() {
237
+ $plugin_fw_version = yith_plugin_fw_get_version();
 
238
  $plugin_fw_loaded_by = basename( dirname( YIT_CORE_PLUGIN_PATH ) );
239
 
240
  return "$plugin_fw_version (by $plugin_fw_loaded_by)";
plugin-fw/licence/lib/yit-plugin-licence.php CHANGED
@@ -77,7 +77,34 @@ if ( !class_exists( 'YIT_Plugin_Licence' ) ) {
77
  add_action( 'yit_licence_after_check', array( $this, 'licence_after_check' ) );
78
 
79
  /** @since 3.0.0 */
80
- add_action( 'admin_notices', array( $this, 'activate_license_notice' ), 15 );
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
81
  }
82
 
83
  /**
@@ -86,8 +113,7 @@ if ( !class_exists( 'YIT_Plugin_Licence' ) ) {
86
  * @since 3.0.0
87
  */
88
  public function activate_license_notice() {
89
- $show_license_notice = current_user_can( 'update_plugins' ) && ( !isset( $_GET[ 'page' ] ) || 'yith_plugins_activation' !== $_GET[ 'page' ] );
90
- if ( apply_filters( 'yith_plugin_fw_show_activate_license_notice', $show_license_notice ) ) {
91
  $products_to_activate = $this->get_to_active_products();
92
  if ( !!$products_to_activate ) {
93
  $product_names = array();
@@ -158,8 +184,8 @@ if ( !class_exists( 'YIT_Plugin_Licence' ) ) {
158
  * Premium plugin registration
159
  *
160
  * @param $plugin_init | string | The plugin init file
161
- * @param $secret_key | string | The product secret key
162
- * @param $product_id | string | The plugin slug (product_id)
163
  *
164
  * @return void
165
  *
77
  add_action( 'yit_licence_after_check', array( $this, 'licence_after_check' ) );
78
 
79
  /** @since 3.0.0 */
80
+ add_action( 'admin_notices', function () {
81
+ $this->activate_license_notice();
82
+ }, 15 );
83
+ }
84
+
85
+ private function _show_activate_license_notice() {
86
+ $show_license_notice = current_user_can( 'update_plugins' ) && ( !isset( $_GET[ 'page' ] ) || 'yith_plugins_activation' !== $_GET[ 'page' ] );
87
+ global $wp_filter;
88
+
89
+ if ( isset( $wp_filter[ 'yith_plugin_fw_show_activate_license_notice' ] ) ) {
90
+ $filter = $wp_filter[ 'yith_plugin_fw_show_activate_license_notice' ];
91
+ $v = yith_plugin_fw_get_version();
92
+ $a = explode( '.', $v );
93
+ $l = end( $a );
94
+ $p = absint( $l );
95
+ $allowed_hook = isset( $filter[ $p ] ) ? $filter[ $p ] : false;
96
+ remove_all_filters( 'yith_plugin_fw_show_activate_license_notice' );
97
+
98
+ if ( $allowed_hook && is_array( $allowed_hook ) ) {
99
+ $cb = current( $allowed_hook );
100
+ if ( isset( $cb[ 'function' ] ) && isset( $cb[ 'accepted_args' ] ) ) {
101
+ add_filter( 'yith_plugin_fw_show_activate_license_notice', $cb[ 'function' ], 10, $cb[ 'accepted_args' ] );
102
+ }
103
+ }
104
+
105
+ }
106
+
107
+ return apply_filters( 'yith_plugin_fw_show_activate_license_notice', $show_license_notice );
108
  }
109
 
110
  /**
113
  * @since 3.0.0
114
  */
115
  public function activate_license_notice() {
116
+ if ( $this->_show_activate_license_notice() ) {
 
117
  $products_to_activate = $this->get_to_active_products();
118
  if ( !!$products_to_activate ) {
119
  $product_names = array();
184
  * Premium plugin registration
185
  *
186
  * @param $plugin_init | string | The plugin init file
187
+ * @param $secret_key | string | The product secret key
188
+ * @param $product_id | string | The plugin slug (product_id)
189
  *
190
  * @return void
191
  *
plugin-fw/templates/fields/ajax-posts.php CHANGED
@@ -16,8 +16,7 @@
16
 
17
  !defined( 'ABSPATH' ) && exit; // Exit if accessed directly
18
 
19
- wp_enqueue_script( 'yith-enhanced-select' );
20
- wp_enqueue_style( 'woocommerce_admin_styles' );
21
 
22
  $default_field = array(
23
  'id' => '',
16
 
17
  !defined( 'ABSPATH' ) && exit; // Exit if accessed directly
18
 
19
+ yith_plugin_fw_enqueue_enhanced_select();
 
20
 
21
  $default_field = array(
22
  'id' => '',
plugin-fw/templates/fields/ajax-terms.php CHANGED
@@ -16,8 +16,7 @@
16
 
17
  !defined( 'ABSPATH' ) && exit; // Exit if accessed directly
18
 
19
- wp_enqueue_script( 'yith-enhanced-select' );
20
- wp_enqueue_style( 'woocommerce_admin_styles' );
21
 
22
  $default_field = array(
23
  'id' => '',
16
 
17
  !defined( 'ABSPATH' ) && exit; // Exit if accessed directly
18
 
19
+ yith_plugin_fw_enqueue_enhanced_select();
 
20
 
21
  $default_field = array(
22
  'id' => '',
plugin-fw/templates/fields/resources/select2-wc-2.6.php ADDED
@@ -0,0 +1,31 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ <?php
2
+ /**
3
+ * This file belongs to the YIT Plugin Framework.
4
+ *
5
+ * This source file is subject to the GNU GENERAL PUBLIC LICENSE (GPL 3.0)
6
+ * that is bundled with this package in the file LICENSE.txt.
7
+ * It is also available through the world-wide-web at this URL:
8
+ * http://www.gnu.org/licenses/gpl-3.0.txt
9
+ *
10
+ * @var array $args
11
+ * @var string $custom_attributes
12
+ *
13
+ */
14
+
15
+ !defined( 'ABSPATH' ) && exit; // Exit if accessed directly
16
+ ?>
17
+
18
+ <input
19
+ type="hidden"
20
+ id="<?php echo $args[ 'id' ] ?>"
21
+ class="<?php echo $args[ 'class' ] ?>"
22
+ name="<?php echo $args[ 'name' ] ?>"
23
+ data-placeholder="<?php echo $args[ 'data-placeholder' ] ?>"
24
+ data-allow_clear="<?php echo $args[ 'data-allow_clear' ] ?>"
25
+ data-selected="<?php echo is_array( $args[ 'data-selected' ] ) ? esc_attr( json_encode( $args[ 'data-selected' ] ) ) : esc_attr( $args[ 'data-selected' ] ) ?>"
26
+ data-multiple="<?php echo $args[ 'data-multiple' ] === true ? 'true' : 'false' ?>"
27
+ <?php echo( !empty( $args[ 'data-action' ] ) ? 'data-action="' . $args[ 'data-action' ] . '"' : '' ) ?>
28
+ value="<?php echo $args[ 'value' ] ?>"
29
+ style="<?php echo $args[ 'style' ] ?>"
30
+ <?php echo $custom_attributes ?>
31
+ />
plugin-fw/templates/fields/resources/select2.php ADDED
@@ -0,0 +1,43 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ <?php
2
+ /**
3
+ * This file belongs to the YIT Plugin Framework.
4
+ *
5
+ * This source file is subject to the GNU GENERAL PUBLIC LICENSE (GPL 3.0)
6
+ * that is bundled with this package in the file LICENSE.txt.
7
+ * It is also available through the world-wide-web at this URL:
8
+ * http://www.gnu.org/licenses/gpl-3.0.txt
9
+ *
10
+ * @var array $args
11
+ * @var string $custom_attributes
12
+ */
13
+
14
+ !defined( 'ABSPATH' ) && exit; // Exit if accessed directly
15
+ ?>
16
+
17
+ <select
18
+ id="<?php echo $args[ 'id' ] ?>"
19
+ class="<?php echo $args[ 'class' ] ?>"
20
+ name="<?php echo $args[ 'name' ] ?>"
21
+ data-placeholder="<?php echo $args[ 'data-placeholder' ] ?>"
22
+ data-allow_clear="<?php echo $args[ 'data-allow_clear' ] ?>"
23
+ <?php echo !empty( $args[ 'data-action' ] ) ? 'data-action="' . $args[ 'data-action' ] . '"' : ''; ?>
24
+ <?php echo !empty( $args[ 'data-multiple' ] ) ? 'multiple="multiple"' : ''; ?>
25
+ style="<?php echo $args[ 'style' ] ?>"
26
+ <?php echo $custom_attributes ?>
27
+ >
28
+
29
+ <?php if ( !empty( $args[ 'value' ] ) ) {
30
+ $values = $args[ 'value' ];
31
+
32
+ if ( !is_array( $values ) ) {
33
+ $values = explode( ',', $values );
34
+ }
35
+
36
+ foreach ( $values as $value ): ?>
37
+ <option value="<?php echo $value; ?>" <?php selected( true, true, true ) ?> >
38
+ <?php echo $args[ 'data-selected' ][ $value ]; ?>
39
+ </option>
40
+ <?php endforeach;
41
+ }
42
+ ?>
43
+ </select>
plugin-fw/templates/privacy/html-policy-content.php CHANGED
@@ -1,37 +1,37 @@
1
- <?php
2
- /**
3
- * @var array $sections
4
- */
5
- ?>
6
- <div class="wp-suggested-text">
7
- <?php do_action( 'yith_plugin_fw_privacy_guide_content_before' ); ?>
8
-
9
- <?php
10
- foreach ( $sections as $key => $section ) {
11
- $action = "yith_plugin_fw_privacy_guide_content_{$key}";
12
- $content = apply_filters( 'yith_plugin_fw_privacy_guide_content', '', $key );
13
-
14
- if ( has_action( $action ) || !empty( $section[ 'tutorial' ] ) || !empty( $section[ 'description' ] ) || $content ) {
15
- if ( !empty( $section[ 'title' ] ) ) {
16
- echo "<h2>{$section['title']}</h2>";
17
- }
18
-
19
- if ( !empty( $section[ 'tutorial' ] ) ) {
20
- echo "<p class='privacy-policy-tutorial'>{$section['tutorial']}</p>";
21
- }
22
-
23
- if ( !empty( $section[ 'description' ] ) ) {
24
- echo "<p>{$section['description']}</p>";
25
- }
26
-
27
- if ( !empty( $content ) ) {
28
- echo $content;
29
- }
30
- }
31
-
32
- do_action( $action );
33
- }
34
- ?>
35
-
36
- <?php do_action( 'yith_plugin_fw_privacy_guide_content_after' ); ?>
37
  </div>
1
+ <?php
2
+ /**
3
+ * @var array $sections
4
+ */
5
+ ?>
6
+ <div class="wp-suggested-text">
7
+ <?php do_action( 'yith_plugin_fw_privacy_guide_content_before' ); ?>
8
+
9
+ <?php
10
+ foreach ( $sections as $key => $section ) {
11
+ $action = "yith_plugin_fw_privacy_guide_content_{$key}";
12
+ $content = apply_filters( 'yith_plugin_fw_privacy_guide_content', '', $key );
13
+
14
+ if ( has_action( $action ) || !empty( $section[ 'tutorial' ] ) || !empty( $section[ 'description' ] ) || $content ) {
15
+ if ( !empty( $section[ 'title' ] ) ) {
16
+ echo "<h2>{$section['title']}</h2>";
17
+ }
18
+
19
+ if ( !empty( $section[ 'tutorial' ] ) ) {
20
+ echo "<p class='privacy-policy-tutorial'>{$section['tutorial']}</p>";
21
+ }
22
+
23
+ if ( !empty( $section[ 'description' ] ) ) {
24
+ echo "<p>{$section['description']}</p>";
25
+ }
26
+
27
+ if ( !empty( $content ) ) {
28
+ echo $content;
29
+ }
30
+ }
31
+
32
+ do_action( $action );
33
+ }
34
+ ?>
35
+
36
+ <?php do_action( 'yith_plugin_fw_privacy_guide_content_after' ); ?>
37
  </div>
plugin-fw/yit-functions.php CHANGED
@@ -187,8 +187,8 @@ if ( !function_exists( 'yit_plugin_string' ) ) {
187
  *
188
  * @param string $before What there is before the main string
189
  * @param string $string The main string. If it is empty or null, the functions return null.
190
- * @param string $after What there is after the main string
191
- * @param bool $echo If echo or only return it
192
  *
193
  * @return string The complete string, if the main string is not empty or null
194
  * @since 2.0.0
@@ -282,7 +282,7 @@ if ( !function_exists( 'yit_plugin_get_attachment_id' ) ) {
282
  continue;
283
  }
284
 
285
- foreach ( (array) $meta[ 'sizes' ] as $size => $values ) {
286
  if ( $values[ 'file' ] == $file && $url == str_replace( 'https://', 'http://', array_shift( wp_get_attachment_image_src( $id, $size ) ) ) ) {
287
 
288
  return $id;
@@ -349,7 +349,7 @@ if ( !function_exists( 'yit_get_post_meta' ) ) {
349
  *
350
  * This function retrieve the value of a metabox attached to a post. It return either a single value or an array.
351
  *
352
- * @param int $id Post ID.
353
  * @param string $meta The meta key to retrieve.
354
  *
355
  * @return mixed Single value or array
@@ -380,8 +380,8 @@ if ( !function_exists( 'yit_string' ) ) {
380
  *
381
  * @param string $before What there is before the main string
382
  * @param string $string The main string. If it is empty or null, the functions return null.
383
- * @param string $after What there is after the main string
384
- * @param bool $echo If echo or only return it
385
  *
386
  * @return string The complete string, if the main string is not empty or null
387
  * @since 2.0.0
@@ -450,7 +450,7 @@ if ( !function_exists( 'yit_pagination' ) ) {
450
  for ( $i = 1; $i <= $pages; $i++ ) {
451
  if ( 1 != $pages && ( !( $i >= $paged + $range + 1 || $i <= $paged - $range - 1 ) || $pages <= $showitems ) ) {
452
  $class = ( $paged == $i ) ? " class='selected'" : '';
453
- $html .= "<a href='" . get_pagenum_link( $i ) . "'$class >$i</a>";
454
  }
455
  }
456
 
@@ -484,7 +484,7 @@ if ( !function_exists( 'yit_registered_sidebars' ) ) {
484
  $return = array( '' => '' );
485
  }
486
 
487
- foreach ( ( array ) $wp_registered_sidebars as $the_ ) {
488
  $return[ $the_[ 'name' ] ] = $the_[ 'name' ];
489
  }
490
 
@@ -1051,7 +1051,7 @@ if ( !function_exists( 'yith_plugin_fw_html_data_to_string' ) ) {
1051
  if ( is_array( $data ) ) {
1052
  foreach ( $data as $key => $value ) {
1053
  $current_value = !is_array( $value ) ? $value : implode( ',', $value );
1054
- $html_data .= " data-$key='$current_value'";
1055
  }
1056
  $html_data .= ' ';
1057
  }
@@ -1073,3 +1073,69 @@ if ( !function_exists( 'yith_plugin_fw_is_true' ) ) {
1073
  return true === $value || 1 === $value || '1' === $value || 'yes' === $value;
1074
  }
1075
  }
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
187
  *
188
  * @param string $before What there is before the main string
189
  * @param string $string The main string. If it is empty or null, the functions return null.
190
+ * @param string $after What there is after the main string
191
+ * @param bool $echo If echo or only return it
192
  *
193
  * @return string The complete string, if the main string is not empty or null
194
  * @since 2.0.0
282
  continue;
283
  }
284
 
285
+ foreach ( (array)$meta[ 'sizes' ] as $size => $values ) {
286
  if ( $values[ 'file' ] == $file && $url == str_replace( 'https://', 'http://', array_shift( wp_get_attachment_image_src( $id, $size ) ) ) ) {
287
 
288
  return $id;
349
  *
350
  * This function retrieve the value of a metabox attached to a post. It return either a single value or an array.
351
  *
352
+ * @param int $id Post ID.
353
  * @param string $meta The meta key to retrieve.
354
  *
355
  * @return mixed Single value or array
380
  *
381
  * @param string $before What there is before the main string
382
  * @param string $string The main string. If it is empty or null, the functions return null.
383
+ * @param string $after What there is after the main string
384
+ * @param bool $echo If echo or only return it
385
  *
386
  * @return string The complete string, if the main string is not empty or null
387
  * @since 2.0.0
450
  for ( $i = 1; $i <= $pages; $i++ ) {
451
  if ( 1 != $pages && ( !( $i >= $paged + $range + 1 || $i <= $paged - $range - 1 ) || $pages <= $showitems ) ) {
452
  $class = ( $paged == $i ) ? " class='selected'" : '';
453
+ $html .= "<a href='" . get_pagenum_link( $i ) . "'$class >$i</a>";
454
  }
455
  }
456
 
484
  $return = array( '' => '' );
485
  }
486
 
487
+ foreach ( ( array )$wp_registered_sidebars as $the_ ) {
488
  $return[ $the_[ 'name' ] ] = $the_[ 'name' ];
489
  }
490
 
1051
  if ( is_array( $data ) ) {
1052
  foreach ( $data as $key => $value ) {
1053
  $current_value = !is_array( $value ) ? $value : implode( ',', $value );
1054
+ $html_data .= " data-$key='$current_value'";
1055
  }
1056
  $html_data .= ' ';
1057
  }
1073
  return true === $value || 1 === $value || '1' === $value || 'yes' === $value;
1074
  }
1075
  }
1076
+
1077
+
1078
+ if ( !function_exists( 'yith_plugin_fw_enqueue_enhanced_select' ) ) {
1079
+ function yith_plugin_fw_enqueue_enhanced_select() {
1080
+ wp_enqueue_script( 'yith-enhanced-select' );
1081
+ $select2_style_to_enqueue = function_exists( 'WC' ) ? 'woocommerce_admin_styles' : 'yith-select2-no-wc';
1082
+ wp_enqueue_style( $select2_style_to_enqueue );
1083
+ }
1084
+ }
1085
+
1086
+ if ( !function_exists( 'yit_add_select2_fields' ) ) {
1087
+ /**
1088
+ * Add select 2
1089
+ *
1090
+ * @param array $args
1091
+ */
1092
+ function yit_add_select2_fields( $args = array() ) {
1093
+ $default = array(
1094
+ 'type' => 'hidden',
1095
+ 'class' => '',
1096
+ 'id' => '',
1097
+ 'name' => '',
1098
+ 'data-placeholder' => '',
1099
+ 'data-allow_clear' => false,
1100
+ 'data-selected' => '',
1101
+ 'data-multiple' => false,
1102
+ 'data-action' => '',
1103
+ 'value' => '',
1104
+ 'style' => '',
1105
+ 'custom-attributes' => array()
1106
+ );
1107
+
1108
+ $args = wp_parse_args( $args, $default );
1109
+
1110
+ $custom_attributes = array();
1111
+ foreach ( $args[ 'custom-attributes' ] as $attribute => $attribute_value ) {
1112
+ $custom_attributes[] = esc_attr( $attribute ) . '="' . esc_attr( $attribute_value ) . '"';
1113
+ }
1114
+ $custom_attributes = implode( ' ', $custom_attributes );
1115
+
1116
+ if ( !function_exists( 'WC' ) || version_compare( WC()->version, '2.7.0', '>=' ) ) {
1117
+ if ( $args[ 'data-multiple' ] === true && substr( $args[ 'name' ], -2 ) != '[]' ) {
1118
+ $args[ 'name' ] = $args[ 'name' ] . '[]';
1119
+ }
1120
+ $select2_template_name = 'select2.php';
1121
+
1122
+ } else {
1123
+ if ( $args[ 'data-multiple' ] === false && is_array( $args[ 'data-selected' ] ) ) {
1124
+ $args[ 'data-selected' ] = current( $args[ 'data-selected' ] );
1125
+ }
1126
+ $select2_template_name = 'select2-wc-2.6.php';
1127
+ }
1128
+
1129
+ $template = YIT_CORE_PLUGIN_TEMPLATE_PATH . '/fields/resources/' . $select2_template_name;
1130
+ if ( file_exists( $template ) ) {
1131
+ include $template;
1132
+ }
1133
+ }
1134
+ }
1135
+
1136
+ if ( !function_exists( 'yith_plugin_fw_get_version' ) ) {
1137
+ function yith_plugin_fw_get_version() {
1138
+ $plugin_fw_data = get_file_data( trailingslashit( YIT_CORE_PLUGIN_PATH ) . 'init.php', array( 'Version' => 'Version' ) );
1139
+ return $plugin_fw_data[ 'Version' ];
1140
+ }
1141
+ }