YITH WooCommerce Wishlist - Version 1.0.6

Version Description

  • Added: Spanish (Argentina) partial translation by Sebastian Jeremias
  • Added: Portuguese (Brazil) translation by Lincoln Lemos
  • Fixed: Share buttons show also when not logged in
  • Fixed: Price shows including or excluding tax based on WooCommerce settings
  • Fixed: Better compatibility for WPML
  • Fixed: Price shows "Free!" if the product product price is without price
  • Fixed: DB Table creation on plugin activation
Download this release

Release Info

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

Code changes from version 1.0.5 to 1.0.6

README.txt CHANGED
@@ -4,7 +4,7 @@ Contributors: yithemes
4
  Tags: wishlist, woocommerce, products, themes, yit, e-commerce, shop
5
  Requires at least: 3.5.1
6
  Tested up to: 3.5.1
7
- Stable tag: 1.0.5
8
  License: GPLv2 or later
9
  License URI: http://www.gnu.org/licenses/gpl-2.0.html
10
 
@@ -74,7 +74,18 @@ Yes, you can change the colors of background, text and border or apply a custom
74
 
75
  == Changelog ==
76
 
 
 
 
 
 
 
 
 
 
 
77
  = 1.0.5 =
 
78
  * Added: Shared wishlists can be seens also by not logged in users
79
  * Added: Support for WPML String translation
80
  * Updated: German translation by Stephanie Schlieske
4
  Tags: wishlist, woocommerce, products, themes, yit, e-commerce, shop
5
  Requires at least: 3.5.1
6
  Tested up to: 3.5.1
7
+ Stable tag: 1.0.6
8
  License: GPLv2 or later
9
  License URI: http://www.gnu.org/licenses/gpl-2.0.html
10
 
74
 
75
  == Changelog ==
76
 
77
+ = 1.0.6 =
78
+
79
+ * Added: Spanish (Argentina) partial translation by Sebastian Jeremias
80
+ * Added: Portuguese (Brazil) translation by Lincoln Lemos
81
+ * Fixed: Share buttons show also when not logged in
82
+ * Fixed: Price shows including or excluding tax based on WooCommerce settings
83
+ * Fixed: Better compatibility for WPML
84
+ * Fixed: Price shows "Free!" if the product product price is without price
85
+ * Fixed: DB Table creation on plugin activation
86
+
87
  = 1.0.5 =
88
+
89
  * Added: Shared wishlists can be seens also by not logged in users
90
  * Added: Support for WPML String translation
91
  * Updated: German translation by Stephanie Schlieske
add-to-cart.php CHANGED
@@ -4,7 +4,7 @@
4
  *
5
  * @author Your Inspiration Themes
6
  * @package YITH WooCommerce Wishlist
7
- * @version 1.0.0
8
  */
9
 
10
  // Handles all ajax requests pertaining to this plugin
@@ -19,7 +19,7 @@ $error_link_url = $yith_wcwl->get_wishlist_url();
19
  //determine to success link redirect url
20
  //handle redirect option chosen by admin
21
  if( isset( $_GET['redirect_to_cart'] ) && $_GET['redirect_to_cart'] == 'true' )
22
- { $redirect_url = $woocommerce->cart->get_cart_url(); }
23
  else
24
  { $redirect_url = $yith_wcwl->get_wishlist_url(); }
25
 
4
  *
5
  * @author Your Inspiration Themes
6
  * @package YITH WooCommerce Wishlist
7
+ * @version 1.0.6
8
  */
9
 
10
  // Handles all ajax requests pertaining to this plugin
19
  //determine to success link redirect url
20
  //handle redirect option chosen by admin
21
  if( isset( $_GET['redirect_to_cart'] ) && $_GET['redirect_to_cart'] == 'true' )
22
+ { $redirect_url = get_permalink( icl_object_id( woocommerce_get_page_id( 'cart' ) ), 'page', true ); }
23
  else
24
  { $redirect_url = $yith_wcwl->get_wishlist_url(); }
25
 
assets/css/admin.css CHANGED
@@ -3,7 +3,7 @@
3
  *
4
  * @author Your Inspiration Themes
5
  * @package YITH WooCommerce Wishlist
6
- * @version 1.0.0
7
  */
8
 
9
  #yith_wcwl_styles .color_box {
3
  *
4
  * @author Your Inspiration Themes
5
  * @package YITH WooCommerce Wishlist
6
+ * @version 1.0.6
7
  */
8
 
9
  #yith_wcwl_styles .color_box {
assets/css/style.css CHANGED
@@ -3,7 +3,7 @@
3
  *
4
  * @author Your Inspiration Themes
5
  * @package YITH WooCommerce Wishlist
6
- * @version 1.0.0
7
  */
8
 
9
 
3
  *
4
  * @author Your Inspiration Themes
5
  * @package YITH WooCommerce Wishlist
6
+ * @version 1.0.6
7
  */
8
 
9
 
class.yith-wcwl-init.php CHANGED
@@ -4,7 +4,7 @@
4
  *
5
  * @author Your Inspiration Themes
6
  * @package YITH WooCommerce Wishlist
7
- * @version 1.0.0
8
  */
9
 
10
  if ( !defined( 'YITH_WCWL' ) ) { exit; } // Exit if accessed directly
@@ -217,7 +217,7 @@ if( !class_exists( 'YITH_WCWL_Init' ) ) {
217
  */
218
  public function install() {
219
  if( $this->db_version != get_option( 'yith_wcwl_db_version' ) || !$this->_yith_wcwl_install->is_installed() ) {
220
- register_activation_hook( YITH_WCWL_DIR, array( $this->_yith_wcwl_install, 'init' ) );
221
  //$this->_yith_wcwl_install->init();
222
  $this->_yith_wcwl_install->default_options( $this->options );
223
 
@@ -257,7 +257,12 @@ if( !class_exists( 'YITH_WCWL_Init' ) ) {
257
  * @since 1.0.0
258
  */
259
  public function add_body_class( $classes ) {
260
- if( is_page( get_option('yith_wcwl_wishlist_page_id') ) ) {
 
 
 
 
 
261
  $classes[] = 'woocommerce-wishlist';
262
  $classes[] = 'woocommerce';
263
  $classes[] = 'woocommerce-page';
4
  *
5
  * @author Your Inspiration Themes
6
  * @package YITH WooCommerce Wishlist
7
+ * @version 1.0.6
8
  */
9
 
10
  if ( !defined( 'YITH_WCWL' ) ) { exit; } // Exit if accessed directly
217
  */
218
  public function install() {
219
  if( $this->db_version != get_option( 'yith_wcwl_db_version' ) || !$this->_yith_wcwl_install->is_installed() ) {
220
+ add_action('init', array( $this->_yith_wcwl_install, 'init' ));
221
  //$this->_yith_wcwl_install->init();
222
  $this->_yith_wcwl_install->default_options( $this->options );
223
 
257
  * @since 1.0.0
258
  */
259
  public function add_body_class( $classes ) {
260
+ $wishlist_page_id = get_option('yith_wcwl_wishlist_page_id');
261
+
262
+ if( is_page( $wishlist_page_id ) ||
263
+
264
+ //WPML Compatibility
265
+ defined( 'ICL_PLUGIN_PATH' ) && is_page( icl_object_id( $wishlist_page_id, 'page', false ) ) ) {
266
  $classes[] = 'woocommerce-wishlist';
267
  $classes[] = 'woocommerce';
268
  $classes[] = 'woocommerce-page';
class.yith-wcwl-install.php CHANGED
@@ -4,7 +4,7 @@
4
  *
5
  * @author Your Inspiration Themes
6
  * @package YITH WooCommerce Wishlist
7
- * @version 1.0.0
8
  */
9
 
10
  if ( !defined( 'YITH_WCWL' ) ) { exit; } // Exit if accessed directly
4
  *
5
  * @author Your Inspiration Themes
6
  * @package YITH WooCommerce Wishlist
7
+ * @version 1.0.6
8
  */
9
 
10
  if ( !defined( 'YITH_WCWL' ) ) { exit; } // Exit if accessed directly
class.yith-wcwl-shortcode.php CHANGED
@@ -4,7 +4,7 @@
4
  *
5
  * @author Your Inspiration Themes
6
  * @package YITH WooCommerce Wishlist
7
- * @version 1.0.0
8
  */
9
 
10
  if ( !defined( 'YITH_WCWL' ) ) { exit; } // Exit if accessed directly
4
  *
5
  * @author Your Inspiration Themes
6
  * @package YITH WooCommerce Wishlist
7
+ * @version 1.0.6
8
  */
9
 
10
  if ( !defined( 'YITH_WCWL' ) ) { exit; } // Exit if accessed directly
class.yith-wcwl-ui.php CHANGED
@@ -4,7 +4,7 @@
4
  *
5
  * @author Your Inspiration Themes
6
  * @package YITH WooCommerce Wishlist
7
- * @version 1.0.0
8
  */
9
 
10
  if ( !defined( 'YITH_WCWL' ) ) { exit; } // Exit if accessed directly
4
  *
5
  * @author Your Inspiration Themes
6
  * @package YITH WooCommerce Wishlist
7
+ * @version 1.0.6
8
  */
9
 
10
  if ( !defined( 'YITH_WCWL' ) ) { exit; } // Exit if accessed directly
class.yith-wcwl.php CHANGED
@@ -4,7 +4,7 @@
4
  *
5
  * @author Your Inspiration Themes
6
  * @package YITH WooCommerce Wishlist
7
- * @version 1.0.0
8
  */
9
 
10
  if ( !defined( 'YITH_WCWL' ) ) { exit; } // Exit if accessed directly
4
  *
5
  * @author Your Inspiration Themes
6
  * @package YITH WooCommerce Wishlist
7
+ * @version 1.0.6
8
  */
9
 
10
  if ( !defined( 'YITH_WCWL' ) ) { exit; } // Exit if accessed directly
functions.yith-wcwl.php CHANGED
@@ -4,7 +4,7 @@
4
  *
5
  * @author Your Inspiration Themes
6
  * @package YITH WooCommerce Wishlist
7
- * @version 1.0.0
8
  */
9
 
10
  if ( !defined( 'YITH_WCWL' ) ) { exit; } // Exit if accessed directly
4
  *
5
  * @author Your Inspiration Themes
6
  * @package YITH WooCommerce Wishlist
7
+ * @version 1.0.6
8
  */
9
 
10
  if ( !defined( 'YITH_WCWL' ) ) { exit; } // Exit if accessed directly
init.php CHANGED
@@ -3,7 +3,7 @@
3
  * Plugin Name: YITH WooCommerce Wishlist
4
  * Plugin URI: http://yithemes.com/
5
  * Description: YITH WooCommerce Wishlist allows you to add Wishlist functionality to your e-commerce.
6
- * Version: 1.0.5
7
  * Author: Your Inspiration Themes
8
  * Author URI: http://yithemes.com/
9
  * Text Domain: yit
@@ -11,7 +11,7 @@
11
  *
12
  * @author Your Inspiration Themes
13
  * @package YITH WooCommerce Wishlist
14
- * @version 1.0.5
15
  */
16
  /* Copyright 2013 Your Inspiration Themes (email : plugins@yithemes.com)
17
 
3
  * Plugin Name: YITH WooCommerce Wishlist
4
  * Plugin URI: http://yithemes.com/
5
  * Description: YITH WooCommerce Wishlist allows you to add Wishlist functionality to your e-commerce.
6
+ * Version: 1.0.6
7
  * Author: Your Inspiration Themes
8
  * Author URI: http://yithemes.com/
9
  * Text Domain: yit
11
  *
12
  * @author Your Inspiration Themes
13
  * @package YITH WooCommerce Wishlist
14
+ * @version 1.0.6
15
  */
16
  /* Copyright 2013 Your Inspiration Themes (email : plugins@yithemes.com)
17
 
languages/yit-es_AR.mo ADDED
Binary file
languages/yit-es_AR.po ADDED
@@ -0,0 +1,464 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ msgid ""
2
+ msgstr ""
3
+ "Project-Id-Version: YITH WCWL\n"
4
+ "POT-Creation-Date: 2013-09-04 16:30+0100\n"
5
+ "PO-Revision-Date: 2013-10-18 10:00+0100\n"
6
+ "Last-Translator: YIThemes <support@yithemes.com>\n"
7
+ "Language-Team: Your Inspiration Themes <support@yithemes.com>\n"
8
+ "Language: Español\n"
9
+ "MIME-Version: 1.0\n"
10
+ "Content-Type: text/plain; charset=UTF-8\n"
11
+ "Content-Transfer-Encoding: 8bit\n"
12
+ "X-Generator: Poedit 1.5.5\n"
13
+ "X-Poedit-KeywordsList: __;_e;_x\n"
14
+ "X-Poedit-Basepath: ./\n"
15
+ "X-Poedit-SearchPath-0: ..\n"
16
+
17
+ #: ../class.yith-wcwl-init.php:105 ../class.yith-wcwl-install.php:137
18
+ msgid "Wishlist"
19
+ msgstr "Lista de deseos"
20
+
21
+ #: ../class.yith-wcwl-init.php:335
22
+ msgid "Cannot add to the cart as product is Out of Stock!"
23
+ msgstr ""
24
+ "Perdón, pero no podemos agregarlo al carrito porque actualmente no tenemos "
25
+ "en stock."
26
+
27
+ #: ../class.yith-wcwl-init.php:364
28
+ msgid "Wishlist Page"
29
+ msgstr "Lista de deseos"
30
+
31
+ #: ../class.yith-wcwl-init.php:365
32
+ msgid "Page contents: [yith_wcwl_wishlist]"
33
+ msgstr "Contenidos: [yith_wcwl_wishlist]"
34
+
35
+ #: ../class.yith-wcwl-init.php:408 ../class.yith-wcwl-init.php:783
36
+ msgid "General Settings"
37
+ msgstr "Configuraciones generales"
38
+
39
+ #: ../class.yith-wcwl-init.php:409 ../class.yith-wcwl-init.php:885
40
+ msgid "Styles"
41
+ msgstr "Estilos"
42
+
43
+ #: ../class.yith-wcwl-init.php:410 ../class.yith-wcwl-init.php:948
44
+ msgid "Socials &amp; Share"
45
+ msgstr "Sociales &amp; Compartir"
46
+
47
+ #: ../class.yith-wcwl-init.php:430
48
+ msgid "Colors"
49
+ msgstr "Colores"
50
+
51
+ #: ../class.yith-wcwl-init.php:457
52
+ msgid "\"Add to Wishlist\" button background"
53
+ msgstr "Fondo del botón \"Agregar a la lista de deseos\""
54
+
55
+ #: ../class.yith-wcwl-init.php:458
56
+ msgid "\"Add to Wishlist\" button text"
57
+ msgstr "Texto del botón \"Agregar a la lista de deseos\""
58
+
59
+ #: ../class.yith-wcwl-init.php:459
60
+ msgid "\"Add to Wishlist\" button border"
61
+ msgstr "Borde del botón \"Agregar a la lista de deseos\""
62
+
63
+ #: ../class.yith-wcwl-init.php:464
64
+ msgid "\"Add to Wishlist\" button background (hover)"
65
+ msgstr "Fondo del botón \"Agregar a la lista de deseos\" (hover)"
66
+
67
+ #: ../class.yith-wcwl-init.php:465
68
+ msgid "\"Add to Wishlist\" button text (hover)"
69
+ msgstr "Texto del botón \"Agregar a la lista de deseos\" (hover)"
70
+
71
+ #: ../class.yith-wcwl-init.php:466
72
+ msgid "\"Add to Wishlist\" button border (hover)"
73
+ msgstr "Borde del botón \"Agregar a la lista de deseos\" (hover)"
74
+
75
+ #: ../class.yith-wcwl-init.php:470
76
+ msgid "\"Add to Cart\" button background"
77
+ msgstr "Fondo del botón \"Agregar al carrito\""
78
+
79
+ #: ../class.yith-wcwl-init.php:471
80
+ msgid "\"Add to Cart\" button text"
81
+ msgstr "Texto del botón \"Agregar al carrito\""
82
+
83
+ #: ../class.yith-wcwl-init.php:472
84
+ msgid "\"Add to Cart\" button border"
85
+ msgstr "Borde del botón \"Agregar al carrito\""
86
+
87
+ #: ../class.yith-wcwl-init.php:477
88
+ msgid "\"Add to Cart\" button background (hover)"
89
+ msgstr "Fondo del botón \"Agregar al carrito\" (hover)"
90
+
91
+ #: ../class.yith-wcwl-init.php:478
92
+ msgid "\"Add to Cart\" button text (hover)"
93
+ msgstr "Texto del botón \"Agregar al carrito\" (hover)"
94
+
95
+ #: ../class.yith-wcwl-init.php:479
96
+ msgid "\"Add to Cart\" button border (hover)"
97
+ msgstr "Borde del botón \"Agregar al carrito\" (hover)"
98
+
99
+ #: ../class.yith-wcwl-init.php:483
100
+ msgid "Wishlist table background"
101
+ msgstr "Fondo de la tabla de la Lista de Deseos"
102
+
103
+ #: ../class.yith-wcwl-init.php:484
104
+ msgid "Wishlist table text"
105
+ msgstr "Texto de la tabla de la Lista de Deseos"
106
+
107
+ #: ../class.yith-wcwl-init.php:485
108
+ msgid "Wishlist table border"
109
+ msgstr "Borde de la tabla de la Lista de Deseos"
110
+
111
+ #: ../class.yith-wcwl-init.php:535
112
+ msgid "Settings"
113
+ msgstr "Configuraciones"
114
+
115
+ #: ../class.yith-wcwl-init.php:536
116
+ msgid "Docs"
117
+ msgstr "Documentación"
118
+
119
+ #: ../class.yith-wcwl-init.php:786
120
+ msgid "Enable YITH Wishlist"
121
+ msgstr "Habilitar YITH Wishlist"
122
+
123
+ #: ../class.yith-wcwl-init.php:787
124
+ #, php-format
125
+ msgid ""
126
+ "Enable all plugin features. <strong>Be sure that the wishlist page is "
127
+ "selected in WooCommerce &gt; Settings &gt; Pages.</strong> Also, please read "
128
+ "the plugin <a href=\"%s\" target=\"_blank\">documentation</a>."
129
+ msgstr ""
130
+ "Habilitar todas las opciones del plugin. <strong> Asegúrate de que la página "
131
+ "de la Lista de Deseos esté seleccionada en WooCommerce &gt; Ajustes &gt; "
132
+ "Páginas.</strong> También, por favor lee la <a href=\"%s\" target=\"_blank"
133
+ "\">documentación</a> del plugin."
134
+
135
+ #: ../class.yith-wcwl-init.php:794
136
+ msgid "Use cookies"
137
+ msgstr "Usar cookies"
138
+
139
+ #: ../class.yith-wcwl-init.php:795
140
+ msgid ""
141
+ "Use cookies instead of sessions. With this feature, the wishlist will be "
142
+ "available for each not logged user for 30 days. Use the filter "
143
+ "yith_wcwl_cookie_expiration_time to change the expiration time ( needs "
144
+ "timestamp )."
145
+ msgstr ""
146
+ "Usar cookies en lugar de sesiones. Con esta funcionalidad, la lista de "
147
+ "deseos estará disponible para usuarios sin actividad durante hasta 30 días. "
148
+ "Usa el filtro yith_wcwl_cookie_expiration_time para cambiar el tiempo de "
149
+ "expiración de la cookie (necesita marca de tiempo)."
150
+
151
+ #: ../class.yith-wcwl-init.php:802
152
+ msgid "Wishlist title"
153
+ msgstr "Título de la Lista de deseos"
154
+
155
+ #: ../class.yith-wcwl-init.php:804 ../class.yith-wcwl-init.php:805
156
+ #: ../class.yith-wcwl-init.php:981 ../class.yith-wcwl-init.php:982
157
+ #, php-format
158
+ msgid "My wishlist on %s"
159
+ msgstr "Mi lista de deseos en %s"
160
+
161
+ #: ../class.yith-wcwl-init.php:810
162
+ msgid "Position"
163
+ msgstr "Posición"
164
+
165
+ #: ../class.yith-wcwl-init.php:811
166
+ msgid ""
167
+ "On variable products you can add it only After \"Add to Cart\" or use the "
168
+ "shortcode [yith_wcwl_add_to_wishlist]."
169
+ msgstr ""
170
+ "En productos variables puedes agregarlo sólo Después de \"Agregar al carrito"
171
+ "\" o usar el shortcode [yith_wcwl_add_to_wishlist]. "
172
+
173
+ #: ../class.yith-wcwl-init.php:817
174
+ msgid "After \"Add to cart\""
175
+ msgstr "Después de \"Agregar al carrito\""
176
+
177
+ #: ../class.yith-wcwl-init.php:818
178
+ msgid "After thumbnails"
179
+ msgstr "Después de las miniaturas"
180
+
181
+ #: ../class.yith-wcwl-init.php:819
182
+ msgid "After summary"
183
+ msgstr "Después del resúmen"
184
+
185
+ #: ../class.yith-wcwl-init.php:820
186
+ msgid "Use shortcode"
187
+ msgstr "Usar shortcode"
188
+
189
+ #: ../class.yith-wcwl-init.php:825
190
+ msgid "Redirect to cart"
191
+ msgstr "Redireccionar al carrito"
192
+
193
+ #: ../class.yith-wcwl-init.php:826
194
+ msgid ""
195
+ "Redirect to cart page if \"Add to cart\" button is clicked in the wishlist "
196
+ "page."
197
+ msgstr ""
198
+ "Redireccionar a la página del carrito si se presiona el botón \"Agregar al "
199
+ "carrito\" en la página de la lista de deseos."
200
+
201
+ #: ../class.yith-wcwl-init.php:833
202
+ msgid "Remove if added to the cart"
203
+ msgstr "Eliminar después de agregar al carrito"
204
+
205
+ #: ../class.yith-wcwl-init.php:834
206
+ msgid "Remove the product from the wishlist if is been added to the cart."
207
+ msgstr "Eliminar el producto de la lista de deseos si fue agregado al carrito."
208
+
209
+ #: ../class.yith-wcwl-init.php:841
210
+ msgid "\"Add to Wishlist\" text"
211
+ msgstr "Texto de \"Agregar a la Lista de deseos\""
212
+
213
+ #: ../class.yith-wcwl-init.php:843 ../class.yith-wcwl-init.php:844
214
+ msgid "Add to Wishlist"
215
+ msgstr "Agregar a la Lista de deseos"
216
+
217
+ #: ../class.yith-wcwl-init.php:849
218
+ msgid "\"Add to Cart\" text"
219
+ msgstr "Texto de \"Agregar al carrito\""
220
+
221
+ #: ../class.yith-wcwl-init.php:851 ../class.yith-wcwl-init.php:852
222
+ msgid "Add to Cart"
223
+ msgstr "Agregar al carrito"
224
+
225
+ #: ../class.yith-wcwl-init.php:857
226
+ msgid "Show Unit price"
227
+ msgstr "Mostrar precio por unidad"
228
+
229
+ #: ../class.yith-wcwl-init.php:865
230
+ msgid "Show \"Add to Cart\" button"
231
+ msgstr "Mostrar el botón \"Agregar al carrito\""
232
+
233
+ #: ../class.yith-wcwl-init.php:873
234
+ msgid "Show Stock status"
235
+ msgstr "Mostrar estado del stock"
236
+
237
+ #: ../class.yith-wcwl-init.php:888
238
+ msgid "Use buttons"
239
+ msgstr "Usar botones"
240
+
241
+ #: ../class.yith-wcwl-init.php:889
242
+ msgid "Use buttons instead of a simple anchors."
243
+ msgstr "Usar botones en lugar de anclas simples."
244
+
245
+ #: ../class.yith-wcwl-init.php:896
246
+ msgid "Custom CSS"
247
+ msgstr "CSS personalizado"
248
+
249
+ #: ../class.yith-wcwl-init.php:904
250
+ msgid "Use theme style"
251
+ msgstr "Usar el estilo del tema"
252
+
253
+ #: ../class.yith-wcwl-init.php:905
254
+ msgid "Use the theme style."
255
+ msgstr "Usar el estilo del tema."
256
+
257
+ #: ../class.yith-wcwl-init.php:912
258
+ msgid "Buttons rounded corners"
259
+ msgstr "Botones con ángulos redondeados"
260
+
261
+ #: ../class.yith-wcwl-init.php:913
262
+ msgid "Make buttons corner rounded"
263
+ msgstr "Redondear los ángulos de los botones"
264
+
265
+ #: ../class.yith-wcwl-init.php:920
266
+ msgid "\"Add to Wishlist\" icon"
267
+ msgstr "Ícono de \"Agregar a la Lista de deseos\""
268
+
269
+ #: ../class.yith-wcwl-init.php:921
270
+ msgid "Add an icon to the \"Add to Wishlist\" button"
271
+ msgstr "Agregar un ícono al botón de \"Agregar a la Lista de deseos\""
272
+
273
+ #: ../class.yith-wcwl-init.php:932
274
+ msgid "\"Add to Cart\" icon"
275
+ msgstr "Ícono de \"Agregar al carrito\""
276
+
277
+ #: ../class.yith-wcwl-init.php:933
278
+ msgid "Add an icon to the \"Add to Cart\" button"
279
+ msgstr "Agregar un ícono para el botón de \"Agregar al carrito\""
280
+
281
+ #: ../class.yith-wcwl-init.php:951
282
+ msgid "Share on Facebook"
283
+ msgstr "Compartir en Facebook"
284
+
285
+ #: ../class.yith-wcwl-init.php:958
286
+ msgid "Tweet on Twitter"
287
+ msgstr "Tuitear en Twitter"
288
+
289
+ #: ../class.yith-wcwl-init.php:965
290
+ msgid "Pin on Pinterest"
291
+ msgstr "Compartir en Pinterest"
292
+
293
+ #: ../class.yith-wcwl-init.php:972
294
+ msgid "Share on Google+"
295
+ msgstr "Compartir en Google+"
296
+
297
+ #: ../class.yith-wcwl-init.php:979
298
+ msgid "Socials title"
299
+ msgstr "Título de sociales"
300
+
301
+ #: ../class.yith-wcwl-init.php:987
302
+ msgid "Socials text"
303
+ msgstr "Texto de sociales"
304
+
305
+ #: ../class.yith-wcwl-init.php:988
306
+ msgid ""
307
+ "Will be used by Facebook, Twitter and Pinterest. Use <strong>%wishlist_url%</"
308
+ "strong> where you want the URL of your wishlist to appear."
309
+ msgstr ""
310
+ "Será usado por Facebook, Twitter y Pinterest. Usar <strong>%wishlist_url%</"
311
+ "strong> donde quieras que aparezca la URL de tu lista de deseos."
312
+
313
+ #: ../class.yith-wcwl-init.php:996
314
+ msgid "Socials image URL"
315
+ msgstr "URL de las imágenes sociales"
316
+
317
+ #: ../class.yith-wcwl-install.php:136
318
+ msgid "wishlist"
319
+ msgstr "lista de deseos"
320
+
321
+ #: ../class.yith-wcwl-ui.php:64 ../class.yith-wcwl.php:351
322
+ #: ../yith-wcwl-ajax.php:47
323
+ msgid "Product added!"
324
+ msgstr "¡Agregado!"
325
+
326
+ #: ../class.yith-wcwl-ui.php:64 ../class.yith-wcwl-ui.php:65
327
+ msgid "Browse Wishlist"
328
+ msgstr "Ir a la Lista de deseos"
329
+
330
+ #: ../class.yith-wcwl-ui.php:65
331
+ msgid "The product is already in the wishlist!"
332
+ msgstr "¡Este producto ya está en la lista de deseos!"
333
+
334
+ #: ../class.yith-wcwl-ui.php:93
335
+ msgid "Select options"
336
+ msgstr "Selecciona opciones"
337
+
338
+ #: ../class.yith-wcwl-ui.php:136
339
+ msgid "Share on:"
340
+ msgstr "Compartir en:"
341
+
342
+ #: ../class.yith-wcwl-ui.php:140
343
+ msgid "Facebook"
344
+ msgstr ""
345
+
346
+ #: ../class.yith-wcwl-ui.php:143
347
+ msgid "Twitter"
348
+ msgstr ""
349
+
350
+ #: ../class.yith-wcwl.php:140
351
+ msgid "Error occurred while adding product to wishlist."
352
+ msgstr ""
353
+ "¡Ups! Ha ocurrido un error al agregar el producto a la lista de deseos. "
354
+ "Intenta nuevamente, por favor."
355
+
356
+ #: ../class.yith-wcwl.php:162
357
+ msgid "Error occurred while removing product from wishlist"
358
+ msgstr ""
359
+ "¡Ups! Ha ocurrido un error al eliminar el producto de tu lista. Intenta "
360
+ "nuevamente, por favor."
361
+
362
+ #: ../class.yith-wcwl.php:353 ../yith-wcwl-ajax.php:49
363
+ msgid "Product already in the wishlist."
364
+ msgstr "Ya está en tu lista de deseos!"
365
+
366
+ #: ../class.yith-wcwl.php:370 ../yith-wcwl-ajax.php:30
367
+ msgid "Product successfully removed."
368
+ msgstr "Bien, lo hemos eliminado de tu lista..."
369
+
370
+ #: ../class.yith-wcwl.php:373 ../yith-wcwl-ajax.php:33
371
+ msgid "Error. Unable to remove the product from the wishlist."
372
+ msgstr ""
373
+ "¡Ups! Ha ocurrido un error al eliminar el producto de tu lista. Intenta "
374
+ "nuevamente, por favor."
375
+
376
+ #: ../class.yith-wcwl.php:377 ../yith-wcwl-ajax.php:37
377
+ #: ../templates/wishlist.php:145
378
+ msgid "No products were added to the wishlist"
379
+ msgstr "Tu lista de deseos está vacía por el momento..."
380
+
381
+ #: ../templates/wishlist.php:75
382
+ msgid "Product Name"
383
+ msgstr "Producto"
384
+
385
+ #: ../templates/wishlist.php:76
386
+ msgid "Unit Price"
387
+ msgstr "Precio por unidad"
388
+
389
+ #: ../templates/wishlist.php:77
390
+ msgid "Stock Status"
391
+ msgstr "Estado de stock"
392
+
393
+ # Not literal but more friendly.
394
+ #: ../templates/wishlist.php:99
395
+ msgid "Remove this product"
396
+ msgstr "Ya no lo quiero"
397
+
398
+ #: ../templates/wishlist.php:126
399
+ msgid "Out of Stock"
400
+ msgstr "No disponible por el momento"
401
+
402
+ #: ../templates/wishlist.php:129
403
+ msgid "In Stock"
404
+ msgstr "¡Disponible!"
405
+
406
+ #: ../yit-common/yith-panel.php:406
407
+ msgid "Select a date"
408
+ msgstr "Selecciona una fecha"
409
+
410
+ #: ../yit-common/yith-panel.php:407
411
+ msgid "Hours"
412
+ msgstr "Horas"
413
+
414
+ #: ../yit-common/yith-panel.php:408 ../yit-common/yith-panel.php:409
415
+ msgid "Minutes"
416
+ msgstr "Minutos"
417
+
418
+ #: ../yit-common/yith-panel.php:417
419
+ msgid "Upload"
420
+ msgstr "Subir"
421
+
422
+ #: ../yit-common/yith-panel.php:444
423
+ msgid "px"
424
+ msgstr ""
425
+
426
+ #: ../yit-common/yith-panel.php:445
427
+ msgid "em"
428
+ msgstr ""
429
+
430
+ #: ../yit-common/yith-panel.php:446
431
+ msgid "pt"
432
+ msgstr ""
433
+
434
+ #: ../yit-common/yith-panel.php:447
435
+ msgid "rem"
436
+ msgstr ""
437
+
438
+ #: ../yit-common/yith-panel.php:457
439
+ msgid "Select a font family"
440
+ msgstr "Selecciona una familia de fuentes"
441
+
442
+ #: ../yit-common/yith-panel.php:465
443
+ msgid "Regular"
444
+ msgstr ""
445
+
446
+ #: ../yit-common/yith-panel.php:466
447
+ msgid "Bold"
448
+ msgstr ""
449
+
450
+ #: ../yit-common/yith-panel.php:467
451
+ msgid "Extra bold"
452
+ msgstr ""
453
+
454
+ #: ../yit-common/yith-panel.php:468
455
+ msgid "Italic"
456
+ msgstr ""
457
+
458
+ #: ../yit-common/yith-panel.php:469
459
+ msgid "Italic bold"
460
+ msgstr ""
461
+
462
+ #: ../yit-common/yith-panel.php:481
463
+ msgid "Click to preview"
464
+ msgstr "Haz click para ir a la vista preliminar"
templates/share.php CHANGED
@@ -4,13 +4,11 @@
4
  *
5
  * @author Your Inspiration Themes
6
  * @package YITH WooCommerce Wishlist
7
- * @version 1.0.0
8
  */
9
 
10
  global $yith_wcwl;
11
 
12
- if( !is_user_logged_in() ) { return; }
13
-
14
  if( get_option( 'yith_wcwl_share_fb' ) == 'yes' || get_option( 'yith_wcwl_share_twitter' ) == 'yes' || get_option( 'yith_wcwl_share_pinterest' ) == 'yes' ) {
15
  $share_url = $yith_wcwl->get_wishlist_url();
16
  $share_url .= get_option( 'permalink-structure' ) != '' ? '&amp;user_id=' : '?user_id=';
4
  *
5
  * @author Your Inspiration Themes
6
  * @package YITH WooCommerce Wishlist
7
+ * @version 1.0.6
8
  */
9
 
10
  global $yith_wcwl;
11
 
 
 
12
  if( get_option( 'yith_wcwl_share_fb' ) == 'yes' || get_option( 'yith_wcwl_share_twitter' ) == 'yes' || get_option( 'yith_wcwl_share_pinterest' ) == 'yes' ) {
13
  $share_url = $yith_wcwl->get_wishlist_url();
14
  $share_url .= get_option( 'permalink-structure' ) != '' ? '&amp;user_id=' : '?user_id=';
templates/wishlist.php CHANGED
@@ -4,7 +4,7 @@
4
  *
5
  * @author Your Inspiration Themes
6
  * @package YITH WooCommerce Wishlist
7
- * @version 1.0.0
8
  */
9
 
10
  global $wpdb, $yith_wcwl, $woocommerce;
@@ -108,10 +108,14 @@ $woocommerce->show_messages() ?>
108
  <?php if( get_option( 'yith_wcwl_price_show' ) == 'yes' ) : ?>
109
  <td class="product-price">
110
  <?php
111
- if( get_option( 'woocommerce_display_cart_prices_excluding_tax' ) == 'yes' )
112
- { echo apply_filters( 'woocommerce_cart_item_price_html', woocommerce_price( $product_obj->get_price_excluding_tax() ), $values, '' ); }
113
- else
114
- { echo apply_filters( 'woocommerce_cart_item_price_html', woocommerce_price( $product_obj->get_price() ), $values, '' ); }
 
 
 
 
115
  ?>
116
  </td>
117
  <?php endif ?>
4
  *
5
  * @author Your Inspiration Themes
6
  * @package YITH WooCommerce Wishlist
7
+ * @version 1.0.6
8
  */
9
 
10
  global $wpdb, $yith_wcwl, $woocommerce;
108
  <?php if( get_option( 'yith_wcwl_price_show' ) == 'yes' ) : ?>
109
  <td class="product-price">
110
  <?php
111
+ if( $product_obj->price != '0' ) {
112
+ if( get_option( 'woocommerce_tax_display_cart' ) == 'excl' )
113
+ { echo apply_filters( 'woocommerce_cart_item_price_html', woocommerce_price( $product_obj->get_price_excluding_tax() ), $values, '' ); }
114
+ else
115
+ { echo apply_filters( 'woocommerce_cart_item_price_html', woocommerce_price( $product_obj->get_price() ), $values, '' ); }
116
+ } else {
117
+ echo apply_filters( 'yith_free_text', __( 'Free!', 'yit' ) );
118
+ }
119
  ?>
120
  </td>
121
  <?php endif ?>
uninstall.php CHANGED
@@ -4,7 +4,7 @@
4
  *
5
  * @author Your Inspiration Themes
6
  * @package YITH WooCommerce Wishlist
7
- * @version 1.0.0
8
  */
9
 
10
  // If uninstall not called from WordPress exit
4
  *
5
  * @author Your Inspiration Themes
6
  * @package YITH WooCommerce Wishlist
7
+ * @version 1.0.6
8
  */
9
 
10
  // If uninstall not called from WordPress exit
yith-wcwl-ajax.php CHANGED
@@ -4,7 +4,7 @@
4
  *
5
  * @author Your Inspiration Themes
6
  * @package YIHT WooCommerce Wishlist
7
- * @version 1.0.0
8
  */
9
 
10
  /**
4
  *
5
  * @author Your Inspiration Themes
6
  * @package YIHT WooCommerce Wishlist
7
+ * @version 1.0.6
8
  */
9
 
10
  /**