WPC Smart Wishlist for WooCommerce - Version 4.3.1

Version Description

  • Fixed: Minor JS for variable product
Download this release

Release Info

Developer wpclever
Plugin Icon 128x128 WPC Smart Wishlist for WooCommerce
Version 4.3.1
Comparing to
See all releases

Code changes from version 4.3.0 to 4.3.1

assets/js/frontend.js CHANGED
@@ -2,6 +2,7 @@
2
 
3
  (function ($) {
4
  var $storage = true;
 
5
  var key = Cookies.get('woosw_key');
6
 
7
  try {
@@ -48,8 +49,14 @@
48
 
49
  if (id > 0) {
50
  $('.woosw-btn-' + pid).attr('data-id', id).removeClass('woosw-btn-added woosw-added');
 
 
 
51
  } else {
52
  $('.woosw-btn-' + pid).attr('data-id', pid).removeClass('woosw-btn-added woosw-added');
 
 
 
53
  }
54
  });
55
 
@@ -57,14 +64,22 @@
57
  $(document).on('found_variation', function (e, t) {
58
  var product_id = $(e['target']).attr('data-product_id');
59
 
 
60
  $('.woosw-btn-' + product_id).attr('data-id', t.variation_id).removeClass('woosw-btn-added woosw-added');
 
 
 
61
  });
62
 
63
  // reset data
64
  $(document).on('reset_data', function (e) {
65
  var product_id = $(e['target']).attr('data-product_id');
66
 
 
67
  $('.woosw-btn-' + product_id).attr('data-id', product_id).removeClass('woosw-btn-added woosw-added');
 
 
 
68
  });
69
 
70
  // quick view
@@ -161,6 +176,10 @@
161
  woosw_refresh_fragments(response.data.fragments);
162
  }
163
 
 
 
 
 
164
  $(document.body).trigger('woosw_add', [id]);
165
  });
166
  }
@@ -186,6 +205,7 @@
186
 
187
  if (response.status === 1) {
188
  $('.woosw-btn-' + product_id).removeClass('woosw-added').html(woosw_vars.button_text);
 
189
  }
190
 
191
  if (response.content != null) {
@@ -208,6 +228,10 @@
208
  woosw_refresh_fragments(response.data.fragments);
209
  }
210
 
 
 
 
 
211
  $(document.body).trigger('woosw_remove', [product_id]);
212
  });
213
 
@@ -251,6 +275,10 @@
251
  woosw_refresh_fragments(response.data.fragments);
252
  }
253
 
 
 
 
 
254
  woosw_popup_loaded();
255
 
256
  $(document.body).trigger('woosw_empty', [key]);
@@ -651,6 +679,7 @@
651
 
652
  if (data.ids) {
653
  woosw_refresh_buttons(data.ids);
 
654
  }
655
 
656
  if (data.key && (key === null || key === undefined || key === '')) {
@@ -681,6 +710,7 @@
681
 
682
  if (response.ids) {
683
  woosw_refresh_buttons(response.ids);
 
684
  }
685
 
686
  if (response.key && (key === null || key === undefined || key === '' || key !== response.key)) {
@@ -700,13 +730,33 @@
700
  $(document.body).trigger('woosw_fragments_refreshed', [fragments]);
701
  }
702
 
 
 
 
 
703
  function woosw_refresh_buttons(ids) {
704
  $('.woosw-btn').removeClass('woosw-btn-added woosw-added').html(woosw_vars.button_text);
705
 
706
- $.each(ids, function (key) {
707
  $('.woosw-btn-' + key).addClass('woosw-btn-added woosw-added').html(woosw_vars.button_text_added);
 
 
 
 
708
  });
709
 
710
  $(document.body).trigger('woosw_buttons_refreshed', [ids]);
711
  }
 
 
 
 
 
 
 
 
 
 
 
 
712
  })(jQuery);
2
 
3
  (function ($) {
4
  var $storage = true;
5
+ var added_ids = [];
6
  var key = Cookies.get('woosw_key');
7
 
8
  try {
49
 
50
  if (id > 0) {
51
  $('.woosw-btn-' + pid).attr('data-id', id).removeClass('woosw-btn-added woosw-added');
52
+
53
+ // refresh button
54
+ woosw_refresh_button_id(id);
55
  } else {
56
  $('.woosw-btn-' + pid).attr('data-id', pid).removeClass('woosw-btn-added woosw-added');
57
+
58
+ // refresh button
59
+ woosw_refresh_button_id(pid);
60
  }
61
  });
62
 
64
  $(document).on('found_variation', function (e, t) {
65
  var product_id = $(e['target']).attr('data-product_id');
66
 
67
+ // change id
68
  $('.woosw-btn-' + product_id).attr('data-id', t.variation_id).removeClass('woosw-btn-added woosw-added');
69
+
70
+ // refresh button
71
+ woosw_refresh_button_id(t.variation_id);
72
  });
73
 
74
  // reset data
75
  $(document).on('reset_data', function (e) {
76
  var product_id = $(e['target']).attr('data-product_id');
77
 
78
+ // change id
79
  $('.woosw-btn-' + product_id).attr('data-id', product_id).removeClass('woosw-btn-added woosw-added');
80
+
81
+ // refresh button
82
+ woosw_refresh_button_id(product_id);
83
  });
84
 
85
  // quick view
176
  woosw_refresh_fragments(response.data.fragments);
177
  }
178
 
179
+ if (response.data.ids) {
180
+ woosw_refresh_ids(response.data.ids);
181
+ }
182
+
183
  $(document.body).trigger('woosw_add', [id]);
184
  });
185
  }
205
 
206
  if (response.status === 1) {
207
  $('.woosw-btn-' + product_id).removeClass('woosw-added').html(woosw_vars.button_text);
208
+ $('.woosw-btn[data-id="' + product_id + '"]').removeClass('woosw-added').html(woosw_vars.button_text);
209
  }
210
 
211
  if (response.content != null) {
228
  woosw_refresh_fragments(response.data.fragments);
229
  }
230
 
231
+ if (response.data.ids) {
232
+ woosw_refresh_ids(response.data.ids);
233
+ }
234
+
235
  $(document.body).trigger('woosw_remove', [product_id]);
236
  });
237
 
275
  woosw_refresh_fragments(response.data.fragments);
276
  }
277
 
278
+ if (response.data.ids) {
279
+ woosw_refresh_ids(response.data.ids);
280
+ }
281
+
282
  woosw_popup_loaded();
283
 
284
  $(document.body).trigger('woosw_empty', [key]);
679
 
680
  if (data.ids) {
681
  woosw_refresh_buttons(data.ids);
682
+ woosw_refresh_ids(data.ids);
683
  }
684
 
685
  if (data.key && (key === null || key === undefined || key === '')) {
710
 
711
  if (response.ids) {
712
  woosw_refresh_buttons(response.ids);
713
+ woosw_refresh_ids(data.ids);
714
  }
715
 
716
  if (response.key && (key === null || key === undefined || key === '' || key !== response.key)) {
730
  $(document.body).trigger('woosw_fragments_refreshed', [fragments]);
731
  }
732
 
733
+ function woosw_refresh_ids(ids) {
734
+ added_ids = ids;
735
+ }
736
+
737
  function woosw_refresh_buttons(ids) {
738
  $('.woosw-btn').removeClass('woosw-btn-added woosw-added').html(woosw_vars.button_text);
739
 
740
+ $.each(ids, function (key, value) {
741
  $('.woosw-btn-' + key).addClass('woosw-btn-added woosw-added').html(woosw_vars.button_text_added);
742
+
743
+ if (value.parent !== undefined) {
744
+ $('.woosw-btn-' + value.parent).addClass('woosw-btn-added woosw-added').html(woosw_vars.button_text_added);
745
+ }
746
  });
747
 
748
  $(document.body).trigger('woosw_buttons_refreshed', [ids]);
749
  }
750
+
751
+ function woosw_refresh_button_id(id) {
752
+ $('.woosw-btn[data-id="' + id + '"]').removeClass('woosw-btn-added woosw-added').html(woosw_vars.button_text);
753
+
754
+ $.each(added_ids, function (key) {
755
+ if (parseInt(key) === parseInt(id)) {
756
+ $('.woosw-btn[data-id="' + id + '"]').addClass('woosw-btn-added woosw-added').html(woosw_vars.button_text_added);
757
+ }
758
+ });
759
+
760
+ $(document.body).trigger('woosw_refresh_button_id', [id, added_ids]);
761
+ }
762
  })(jQuery);
languages/woo-smart-wishlist.pot CHANGED
@@ -2,14 +2,14 @@
2
  # This file is distributed under the same license as the WPC Smart Wishlist for WooCommerce plugin.
3
  msgid ""
4
  msgstr ""
5
- "Project-Id-Version: WPC Smart Wishlist for WooCommerce 4.3.0\n"
6
  "Report-Msgid-Bugs-To: https://wordpress.org/support/plugin/woo-smart-wishlist\n"
7
  "Last-Translator: FULL NAME <EMAIL@ADDRESS>\n"
8
  "Language-Team: LANGUAGE <LL@li.org>\n"
9
  "MIME-Version: 1.0\n"
10
  "Content-Type: text/plain; charset=UTF-8\n"
11
  "Content-Transfer-Encoding: 8bit\n"
12
- "POT-Creation-Date: 2022-08-02T00:22:18+00:00\n"
13
  "PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n"
14
  "X-Generator: WP-CLI 2.5.0\n"
15
  "X-Domain: woo-smart-wishlist\n"
@@ -34,706 +34,706 @@ msgstr ""
34
  msgid "https://wpclever.net"
35
  msgstr ""
36
 
37
- #: wpc-smart-wishlist.php:289
38
- #: wpc-smart-wishlist.php:346
39
- #: wpc-smart-wishlist.php:393
40
- #: wpc-smart-wishlist.php:1535
41
  msgid "Please log in to use the Wishlist!"
42
  msgstr ""
43
 
44
- #: wpc-smart-wishlist.php:290
45
- #: wpc-smart-wishlist.php:368
46
- #: wpc-smart-wishlist.php:411
47
- #: wpc-smart-wishlist.php:430
48
- #: wpc-smart-wishlist.php:1508
49
- #: wpc-smart-wishlist.php:1778
50
  msgid "There are no products on the Wishlist!"
51
  msgstr ""
52
 
53
- #: wpc-smart-wishlist.php:308
54
- #: wpc-smart-wishlist.php:1463
55
  msgid "{name} has been added to Wishlist."
56
  msgstr ""
57
 
58
- #: wpc-smart-wishlist.php:310
59
- #: wpc-smart-wishlist.php:1472
60
  msgid "{name} is already in the Wishlist."
61
  msgstr ""
62
 
63
- #: wpc-smart-wishlist.php:328
64
- #: wpc-smart-wishlist.php:376
65
- #: wpc-smart-wishlist.php:1553
66
  msgid "Have an error, please try again!"
67
  msgstr ""
68
 
69
- #: wpc-smart-wishlist.php:360
70
- #: wpc-smart-wishlist.php:1481
71
  msgid "Product has been removed from the Wishlist."
72
  msgstr ""
73
 
74
- #: wpc-smart-wishlist.php:371
75
- #: wpc-smart-wishlist.php:1526
76
  msgid "The product does not exist on the Wishlist!"
77
  msgstr ""
78
 
79
- #: wpc-smart-wishlist.php:410
80
- #: wpc-smart-wishlist.php:1499
81
  msgid "All products have been removed from the Wishlist!"
82
  msgstr ""
83
 
84
- #: wpc-smart-wishlist.php:429
85
- #: wpc-smart-wishlist.php:458
86
  msgid "Please log in to use Wishlist!"
87
  msgstr ""
88
 
89
- #: wpc-smart-wishlist.php:497
90
- #: wpc-smart-wishlist.php:1342
91
- #: wpc-smart-wishlist.php:1347
92
  msgid "Add note"
93
  msgstr ""
94
 
95
- #: wpc-smart-wishlist.php:649
96
- #: wpc-smart-wishlist.php:1320
97
- #: wpc-smart-wishlist.php:1627
98
  msgid "Browse wishlist"
99
  msgstr ""
100
 
101
- #: wpc-smart-wishlist.php:651
102
- #: wpc-smart-wishlist.php:1311
103
- #: wpc-smart-wishlist.php:1626
104
  msgid "Add to wishlist"
105
  msgstr ""
106
 
107
- #: wpc-smart-wishlist.php:684
108
- #: wpc-smart-wishlist.php:1220
109
  msgid "Facebook"
110
  msgstr ""
111
 
112
- #: wpc-smart-wishlist.php:685
113
- #: wpc-smart-wishlist.php:1223
114
  msgid "Twitter"
115
  msgstr ""
116
 
117
- #: wpc-smart-wishlist.php:686
118
- #: wpc-smart-wishlist.php:1226
119
  msgid "Pinterest"
120
  msgstr ""
121
 
122
- #: wpc-smart-wishlist.php:687
123
- #: wpc-smart-wishlist.php:1229
124
  msgid "Mail"
125
  msgstr ""
126
 
127
- #: wpc-smart-wishlist.php:697
128
  msgid "Share on:"
129
  msgstr ""
130
 
131
- #: wpc-smart-wishlist.php:708
132
  msgid "Wishlist link:"
133
  msgstr ""
134
 
135
- #: wpc-smart-wishlist.php:710
136
  msgid "Copy"
137
  msgstr ""
138
 
139
- #: wpc-smart-wishlist.php:770
140
  msgid "Thank you for using our plugin! If you are satisfied, please reward it a full five-star %s rating."
141
  msgstr ""
142
 
143
- #: wpc-smart-wishlist.php:773
144
  msgid "Reviews"
145
  msgstr ""
146
 
147
- #: wpc-smart-wishlist.php:775
148
  msgid "Changelog"
149
  msgstr ""
150
 
151
- #: wpc-smart-wishlist.php:777
152
  msgid "Discussion"
153
  msgstr ""
154
 
155
- #: wpc-smart-wishlist.php:782
156
  msgid "Settings updated."
157
  msgstr ""
158
 
159
- #: wpc-smart-wishlist.php:789
160
- #: wpc-smart-wishlist.php:1650
161
  msgid "Settings"
162
  msgstr ""
163
 
164
- #: wpc-smart-wishlist.php:793
165
- #: wpc-smart-wishlist.php:1300
166
  msgid "Localization"
167
  msgstr ""
168
 
169
- #: wpc-smart-wishlist.php:798
170
- #: wpc-smart-wishlist.php:1651
171
  msgid "Premium Version"
172
  msgstr ""
173
 
174
- #: wpc-smart-wishlist.php:801
175
  msgid "Essential Kit"
176
  msgstr ""
177
 
178
- #: wpc-smart-wishlist.php:815
179
  msgid "General"
180
  msgstr ""
181
 
182
- #: wpc-smart-wishlist.php:819
183
  msgid "Disable the wishlist for unauthenticated users"
184
  msgstr ""
185
 
186
- #: wpc-smart-wishlist.php:823
187
- #: wpc-smart-wishlist.php:836
188
- #: wpc-smart-wishlist.php:860
189
- #: wpc-smart-wishlist.php:1078
190
- #: wpc-smart-wishlist.php:1124
191
- #: wpc-smart-wishlist.php:1143
192
- #: wpc-smart-wishlist.php:1186
193
- #: wpc-smart-wishlist.php:1200
194
- #: wpc-smart-wishlist.php:1239
195
- msgid "Yes"
196
- msgstr ""
197
-
198
  #: wpc-smart-wishlist.php:826
199
  #: wpc-smart-wishlist.php:839
200
  #: wpc-smart-wishlist.php:863
201
  #: wpc-smart-wishlist.php:1081
202
- #: wpc-smart-wishlist.php:1111
203
  #: wpc-smart-wishlist.php:1127
204
  #: wpc-smart-wishlist.php:1146
205
  #: wpc-smart-wishlist.php:1189
206
  #: wpc-smart-wishlist.php:1203
207
  #: wpc-smart-wishlist.php:1242
 
 
 
 
 
 
 
 
 
 
 
 
 
208
  msgid "No"
209
  msgstr ""
210
 
211
- #: wpc-smart-wishlist.php:832
212
  msgid "Auto remove"
213
  msgstr ""
214
 
215
- #: wpc-smart-wishlist.php:842
216
  msgid "Auto remove product from the wishlist after adding to the cart."
217
  msgstr ""
218
 
219
- #: wpc-smart-wishlist.php:847
220
- #: wpc-smart-wishlist.php:1387
221
  msgid "Multiple Wishlist"
222
  msgstr ""
223
 
224
- #: wpc-smart-wishlist.php:856
225
  msgid "Enable"
226
  msgstr ""
227
 
228
- #: wpc-smart-wishlist.php:866
229
  msgid "Enable/disable multiple wishlist."
230
  msgstr ""
231
 
232
- #: wpc-smart-wishlist.php:870
233
  msgid "Maximum wishlists per user"
234
  msgstr ""
235
 
236
- #: wpc-smart-wishlist.php:878
237
- #: wpc-smart-wishlist.php:889
238
  msgid "Button"
239
  msgstr ""
240
 
241
- #: wpc-smart-wishlist.php:881
242
  msgid "Settings for \"Add to wishlist\" button."
243
  msgstr ""
244
 
245
- #: wpc-smart-wishlist.php:885
246
  msgid "Type"
247
  msgstr ""
248
 
249
- #: wpc-smart-wishlist.php:892
250
  msgid "Link"
251
  msgstr ""
252
 
253
- #: wpc-smart-wishlist.php:898
254
- #: wpc-smart-wishlist.php:1275
255
  msgid "Action"
256
  msgstr ""
257
 
258
- #: wpc-smart-wishlist.php:902
259
  msgid "Show message"
260
  msgstr ""
261
 
262
- #: wpc-smart-wishlist.php:905
263
- #: wpc-smart-wishlist.php:944
264
- #: wpc-smart-wishlist.php:1282
265
  msgid "Open wishlist popup"
266
  msgstr ""
267
 
268
- #: wpc-smart-wishlist.php:908
269
  msgid "Add to wishlist solely"
270
  msgstr ""
271
 
272
- #: wpc-smart-wishlist.php:911
273
  msgid "Action triggered by clicking on the wishlist button."
274
  msgstr ""
275
 
276
- #: wpc-smart-wishlist.php:915
277
  msgid "Message position"
278
  msgstr ""
279
 
280
- #: wpc-smart-wishlist.php:919
281
  msgid "right-top"
282
  msgstr ""
283
 
284
- #: wpc-smart-wishlist.php:922
285
  msgid "right-bottom"
286
  msgstr ""
287
 
288
- #: wpc-smart-wishlist.php:925
289
  msgid "center-top"
290
  msgstr ""
291
 
292
- #: wpc-smart-wishlist.php:928
293
  msgid "center-bottom"
294
  msgstr ""
295
 
296
- #: wpc-smart-wishlist.php:931
297
  msgid "left-top"
298
  msgstr ""
299
 
300
- #: wpc-smart-wishlist.php:934
301
  msgid "left-bottom"
302
  msgstr ""
303
 
304
- #: wpc-smart-wishlist.php:940
305
  msgid "Action (added)"
306
  msgstr ""
307
 
308
- #: wpc-smart-wishlist.php:947
309
- #: wpc-smart-wishlist.php:1279
310
- #: wpc-smart-wishlist.php:1360
311
- #: wpc-smart-wishlist.php:1365
312
- #: wpc-smart-wishlist.php:1885
313
  msgid "Open wishlist page"
314
  msgstr ""
315
 
316
- #: wpc-smart-wishlist.php:950
317
  msgid "Action triggered by clicking on the wishlist button after adding an item to the wishlist."
318
  msgstr ""
319
 
320
- #: wpc-smart-wishlist.php:954
321
  msgid "Extra class (optional)"
322
  msgstr ""
323
 
324
- #: wpc-smart-wishlist.php:958
325
  msgid "Add extra class for action button/link, split by one space."
326
  msgstr ""
327
 
328
- #: wpc-smart-wishlist.php:962
329
  msgid "Position on archive page"
330
  msgstr ""
331
 
332
- #: wpc-smart-wishlist.php:967
333
- #: wpc-smart-wishlist.php:994
334
  msgid "Under title"
335
  msgstr ""
336
 
337
- #: wpc-smart-wishlist.php:968
338
- #: wpc-smart-wishlist.php:995
339
  msgid "Under rating"
340
  msgstr ""
341
 
342
- #: wpc-smart-wishlist.php:969
343
  msgid "Under price"
344
  msgstr ""
345
 
346
- #: wpc-smart-wishlist.php:970
347
- #: wpc-smart-wishlist.php:997
348
  msgid "Above add to cart button"
349
  msgstr ""
350
 
351
- #: wpc-smart-wishlist.php:971
352
- #: wpc-smart-wishlist.php:998
353
  msgid "Under add to cart button"
354
  msgstr ""
355
 
356
- #: wpc-smart-wishlist.php:972
357
- #: wpc-smart-wishlist.php:1001
358
  msgid "None (hide it)"
359
  msgstr ""
360
 
361
- #: wpc-smart-wishlist.php:989
362
  msgid "Position on single page"
363
  msgstr ""
364
 
365
- #: wpc-smart-wishlist.php:996
366
  msgid "Under excerpt"
367
  msgstr ""
368
 
369
- #: wpc-smart-wishlist.php:999
370
  msgid "Under meta"
371
  msgstr ""
372
 
373
- #: wpc-smart-wishlist.php:1000
374
  msgid "Under sharing"
375
  msgstr ""
376
 
377
- #: wpc-smart-wishlist.php:1018
378
  msgid "Shortcode"
379
  msgstr ""
380
 
381
- #: wpc-smart-wishlist.php:1021
382
  msgid "You can add a button manually by using the shortcode %s, eg. %s for the product whose ID is 99."
383
  msgstr ""
384
 
385
- #: wpc-smart-wishlist.php:1026
386
  msgid "Categories"
387
  msgstr ""
388
 
389
- #: wpc-smart-wishlist.php:1041
390
  msgid "All categories"
391
  msgstr ""
392
 
393
- #: wpc-smart-wishlist.php:1046
394
  msgid "Only show the wishlist button for products in selected categories."
395
  msgstr ""
396
 
397
- #: wpc-smart-wishlist.php:1051
398
  msgid "Popup"
399
  msgstr ""
400
 
401
- #: wpc-smart-wishlist.php:1054
402
  msgid "Settings for the wishlist popup."
403
  msgstr ""
404
 
405
- #: wpc-smart-wishlist.php:1058
406
  msgid "Position"
407
  msgstr ""
408
 
409
- #: wpc-smart-wishlist.php:1062
410
  msgid "Center"
411
  msgstr ""
412
 
413
- #: wpc-smart-wishlist.php:1065
414
  msgid "Right"
415
  msgstr ""
416
 
417
- #: wpc-smart-wishlist.php:1068
418
  msgid "Left"
419
  msgstr ""
420
 
421
- #: wpc-smart-wishlist.php:1074
422
  msgid "Use perfect-scrollbar"
423
  msgstr ""
424
 
425
- #: wpc-smart-wishlist.php:1084
426
  msgid "Read more about %s"
427
  msgstr ""
428
 
429
- #: wpc-smart-wishlist.php:1088
430
  msgid "Color"
431
  msgstr ""
432
 
433
- #: wpc-smart-wishlist.php:1094
434
  msgid "Choose the color, default %s"
435
  msgstr ""
436
 
437
- #: wpc-smart-wishlist.php:1098
438
  msgid "Link to individual product"
439
  msgstr ""
440
 
441
- #: wpc-smart-wishlist.php:1102
442
  msgid "Yes, open in the same tab"
443
  msgstr ""
444
 
445
- #: wpc-smart-wishlist.php:1105
446
  msgid "Yes, open in the new tab"
447
  msgstr ""
448
 
449
- #: wpc-smart-wishlist.php:1108
450
  msgid "Yes, open quick view popup"
451
  msgstr ""
452
 
453
- #: wpc-smart-wishlist.php:1120
454
  msgid "Show note"
455
  msgstr ""
456
 
457
- #: wpc-smart-wishlist.php:1130
458
  msgid "Show note on each product for all visitors. Only wishlist owner can add/edit these notes."
459
  msgstr ""
460
 
461
- #: wpc-smart-wishlist.php:1139
462
- #: wpc-smart-wishlist.php:1333
463
  msgid "Empty wishlist button"
464
  msgstr ""
465
 
466
- #: wpc-smart-wishlist.php:1149
467
  msgid "Show empty wishlist button on the popup?"
468
  msgstr ""
469
 
470
- #: wpc-smart-wishlist.php:1153
471
  msgid "Continue shopping link"
472
  msgstr ""
473
 
474
- #: wpc-smart-wishlist.php:1158
475
  msgid "By default, the wishlist popup will only be closed when customers click on the \"Continue Shopping\" button."
476
  msgstr ""
477
 
478
- #: wpc-smart-wishlist.php:1163
479
  msgid "Page"
480
  msgstr ""
481
 
482
- #: wpc-smart-wishlist.php:1166
483
  msgid "Settings for wishlist page."
484
  msgstr ""
485
 
486
- #: wpc-smart-wishlist.php:1170
487
  msgid "Wishlist page"
488
  msgstr ""
489
 
490
- #: wpc-smart-wishlist.php:1175
491
  msgid "Choose a page"
492
  msgstr ""
493
 
494
- #: wpc-smart-wishlist.php:1178
495
  msgid "Add shortcode %s to display the wishlist on a page."
496
  msgstr ""
497
 
498
- #: wpc-smart-wishlist.php:1182
499
  msgid "Share buttons"
500
  msgstr ""
501
 
502
- #: wpc-smart-wishlist.php:1192
503
  msgid "Enable share buttons on the wishlist page?"
504
  msgstr ""
505
 
506
- #: wpc-smart-wishlist.php:1196
507
  msgid "Use font icon"
508
  msgstr ""
509
 
510
- #: wpc-smart-wishlist.php:1209
511
  msgid "Social links"
512
  msgstr ""
513
 
514
- #: wpc-smart-wishlist.php:1235
515
  msgid "Copy link"
516
  msgstr ""
517
 
518
- #: wpc-smart-wishlist.php:1245
519
  msgid "Enable copy wishlist link to share?"
520
  msgstr ""
521
 
522
- #: wpc-smart-wishlist.php:1250
523
  msgid "Menu"
524
  msgstr ""
525
 
526
- #: wpc-smart-wishlist.php:1253
527
  msgid "Settings for the wishlist menu item."
528
  msgstr ""
529
 
530
- #: wpc-smart-wishlist.php:1257
531
  msgid "Menu(s)"
532
  msgstr ""
533
 
534
- #: wpc-smart-wishlist.php:1271
535
  msgid "Choose the menu(s) you want to add the \"wishlist menu\" at the end."
536
  msgstr ""
537
 
538
- #: wpc-smart-wishlist.php:1285
539
  msgid "Action when clicking on the \"wishlist menu\"."
540
  msgstr ""
541
 
542
- #: wpc-smart-wishlist.php:1302
543
  msgid "Leave blank to use the default text and its equivalent translation in multiple languages."
544
  msgstr ""
545
 
546
- #: wpc-smart-wishlist.php:1306
547
  msgid "Button text"
548
  msgstr ""
549
 
550
- #: wpc-smart-wishlist.php:1315
551
  msgid "Button text (added)"
552
  msgstr ""
553
 
554
- #: wpc-smart-wishlist.php:1324
555
  msgid "Wishlist popup heading"
556
  msgstr ""
557
 
558
- #: wpc-smart-wishlist.php:1329
559
- #: wpc-smart-wishlist.php:1383
560
- #: wpc-smart-wishlist.php:1396
561
- #: wpc-smart-wishlist.php:1625
562
- #: wpc-smart-wishlist.php:1833
563
- #: wpc-smart-wishlist.php:1855
564
- #: wpc-smart-wishlist.php:1929
565
- #: wpc-smart-wishlist.php:2130
566
- #: wpc-smart-wishlist.php:2211
567
- #: wpc-smart-wishlist.php:2218
568
- #: wpc-smart-wishlist.php:2428
569
  msgid "Wishlist"
570
  msgstr ""
571
 
572
- #: wpc-smart-wishlist.php:1338
573
- #: wpc-smart-wishlist.php:1868
574
  msgid "remove all"
575
  msgstr ""
576
 
577
- #: wpc-smart-wishlist.php:1351
578
  msgid "Save note"
579
  msgstr ""
580
 
581
- #: wpc-smart-wishlist.php:1356
582
  msgid "Save"
583
  msgstr ""
584
 
585
- #: wpc-smart-wishlist.php:1369
586
- #: wpc-smart-wishlist.php:1374
587
- #: wpc-smart-wishlist.php:1890
588
  msgid "Continue shopping"
589
  msgstr ""
590
 
591
- #: wpc-smart-wishlist.php:1378
592
  msgid "Menu item label"
593
  msgstr ""
594
 
595
- #: wpc-smart-wishlist.php:1391
596
  msgid "Primary wishlist name"
597
  msgstr ""
598
 
599
- #: wpc-smart-wishlist.php:1400
600
- #: wpc-smart-wishlist.php:1405
601
- #: wpc-smart-wishlist.php:1906
602
  msgid "Manage wishlists"
603
  msgstr ""
604
 
605
- #: wpc-smart-wishlist.php:1409
606
  msgid "Set default"
607
  msgstr ""
608
 
609
- #: wpc-smart-wishlist.php:1414
610
- #: wpc-smart-wishlist.php:1943
611
  msgid "set default"
612
  msgstr ""
613
 
614
- #: wpc-smart-wishlist.php:1418
615
  msgid "Default"
616
  msgstr ""
617
 
618
- #: wpc-smart-wishlist.php:1423
619
- #: wpc-smart-wishlist.php:1941
620
  msgid "default"
621
  msgstr ""
622
 
623
- #: wpc-smart-wishlist.php:1427
624
  msgid "Delete"
625
  msgstr ""
626
 
627
- #: wpc-smart-wishlist.php:1432
628
- #: wpc-smart-wishlist.php:1949
629
  msgid "delete"
630
  msgstr ""
631
 
632
- #: wpc-smart-wishlist.php:1436
633
  msgid "Wishlist name placeholder"
634
  msgstr ""
635
 
636
- #: wpc-smart-wishlist.php:1441
637
- #: wpc-smart-wishlist.php:1960
638
  msgid "New Wishlist"
639
  msgstr ""
640
 
641
- #: wpc-smart-wishlist.php:1445
642
  msgid "Add new wishlist"
643
  msgstr ""
644
 
645
- #: wpc-smart-wishlist.php:1450
646
- #: wpc-smart-wishlist.php:1962
647
  msgid "Add New Wishlist"
648
  msgstr ""
649
 
650
- #: wpc-smart-wishlist.php:1454
651
  msgid "Message"
652
  msgstr ""
653
 
654
- #: wpc-smart-wishlist.php:1458
655
  msgid "Added to the wishlist"
656
  msgstr ""
657
 
658
- #: wpc-smart-wishlist.php:1467
659
  msgid "Already in the wishlist"
660
  msgstr ""
661
 
662
- #: wpc-smart-wishlist.php:1476
663
  msgid "Removed from wishlist"
664
  msgstr ""
665
 
666
- #: wpc-smart-wishlist.php:1485
667
  msgid "Empty wishlist confirm"
668
  msgstr ""
669
 
670
- #: wpc-smart-wishlist.php:1490
671
- #: wpc-smart-wishlist.php:1517
672
- #: wpc-smart-wishlist.php:1622
673
- #: wpc-smart-wishlist.php:1623
674
  msgid "This action cannot be undone. Are you sure?"
675
  msgstr ""
676
 
677
- #: wpc-smart-wishlist.php:1494
678
  msgid "Empty wishlist notice"
679
  msgstr ""
680
 
681
- #: wpc-smart-wishlist.php:1503
682
  msgid "Empty wishlist"
683
  msgstr ""
684
 
685
- #: wpc-smart-wishlist.php:1512
686
  msgid "Delete wishlist confirm"
687
  msgstr ""
688
 
689
- #: wpc-smart-wishlist.php:1521
690
  msgid "Product does not exist"
691
  msgstr ""
692
 
693
- #: wpc-smart-wishlist.php:1530
694
  msgid "Need to login"
695
  msgstr ""
696
 
697
- #: wpc-smart-wishlist.php:1539
698
  msgid "Copied wishlist link"
699
  msgstr ""
700
 
701
- #: wpc-smart-wishlist.php:1544
702
- #: wpc-smart-wishlist.php:1624
703
  msgid "Copied the wishlist link:"
704
  msgstr ""
705
 
706
- #: wpc-smart-wishlist.php:1548
707
  msgid "Have an error"
708
  msgstr ""
709
 
710
- #: wpc-smart-wishlist.php:1667
711
  msgid "Community support"
712
  msgstr ""
713
 
714
- #: wpc-smart-wishlist.php:2264
715
  #: wpc-smart-wishlist.php:2267
716
- #: wpc-smart-wishlist.php:2331
717
  #: wpc-smart-wishlist.php:2334
 
718
  msgid "%s product"
719
  msgid_plural "%s products"
720
  msgstr[0] ""
721
  msgstr[1] ""
722
 
723
- #: wpc-smart-wishlist.php:2266
724
- #: wpc-smart-wishlist.php:2333
725
  msgid "Guest"
726
  msgstr ""
727
 
728
- #: wpc-smart-wishlist.php:2281
729
- #: wpc-smart-wishlist.php:2310
730
  msgid "Edit"
731
  msgstr ""
732
 
733
- #: wpc-smart-wishlist.php:2281
734
  msgid "See in wishlist"
735
  msgstr ""
736
 
737
- #: wpc-smart-wishlist.php:2289
738
  msgid "Empty Wishlist"
739
  msgstr ""
2
  # This file is distributed under the same license as the WPC Smart Wishlist for WooCommerce plugin.
3
  msgid ""
4
  msgstr ""
5
+ "Project-Id-Version: WPC Smart Wishlist for WooCommerce 4.3.1\n"
6
  "Report-Msgid-Bugs-To: https://wordpress.org/support/plugin/woo-smart-wishlist\n"
7
  "Last-Translator: FULL NAME <EMAIL@ADDRESS>\n"
8
  "Language-Team: LANGUAGE <LL@li.org>\n"
9
  "MIME-Version: 1.0\n"
10
  "Content-Type: text/plain; charset=UTF-8\n"
11
  "Content-Transfer-Encoding: 8bit\n"
12
+ "POT-Creation-Date: 2022-08-30T04:30:31+00:00\n"
13
  "PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n"
14
  "X-Generator: WP-CLI 2.5.0\n"
15
  "X-Domain: woo-smart-wishlist\n"
34
  msgid "https://wpclever.net"
35
  msgstr ""
36
 
37
+ #: wpc-smart-wishlist.php:290
38
+ #: wpc-smart-wishlist.php:348
39
+ #: wpc-smart-wishlist.php:395
40
+ #: wpc-smart-wishlist.php:1538
41
  msgid "Please log in to use the Wishlist!"
42
  msgstr ""
43
 
44
+ #: wpc-smart-wishlist.php:291
45
+ #: wpc-smart-wishlist.php:370
46
+ #: wpc-smart-wishlist.php:413
47
+ #: wpc-smart-wishlist.php:432
48
+ #: wpc-smart-wishlist.php:1511
49
+ #: wpc-smart-wishlist.php:1781
50
  msgid "There are no products on the Wishlist!"
51
  msgstr ""
52
 
53
+ #: wpc-smart-wishlist.php:310
54
+ #: wpc-smart-wishlist.php:1466
55
  msgid "{name} has been added to Wishlist."
56
  msgstr ""
57
 
58
+ #: wpc-smart-wishlist.php:312
59
+ #: wpc-smart-wishlist.php:1475
60
  msgid "{name} is already in the Wishlist."
61
  msgstr ""
62
 
63
+ #: wpc-smart-wishlist.php:330
64
+ #: wpc-smart-wishlist.php:378
65
+ #: wpc-smart-wishlist.php:1556
66
  msgid "Have an error, please try again!"
67
  msgstr ""
68
 
69
+ #: wpc-smart-wishlist.php:362
70
+ #: wpc-smart-wishlist.php:1484
71
  msgid "Product has been removed from the Wishlist."
72
  msgstr ""
73
 
74
+ #: wpc-smart-wishlist.php:373
75
+ #: wpc-smart-wishlist.php:1529
76
  msgid "The product does not exist on the Wishlist!"
77
  msgstr ""
78
 
79
+ #: wpc-smart-wishlist.php:412
80
+ #: wpc-smart-wishlist.php:1502
81
  msgid "All products have been removed from the Wishlist!"
82
  msgstr ""
83
 
84
+ #: wpc-smart-wishlist.php:431
85
+ #: wpc-smart-wishlist.php:460
86
  msgid "Please log in to use Wishlist!"
87
  msgstr ""
88
 
89
+ #: wpc-smart-wishlist.php:500
90
+ #: wpc-smart-wishlist.php:1345
91
+ #: wpc-smart-wishlist.php:1350
92
  msgid "Add note"
93
  msgstr ""
94
 
95
+ #: wpc-smart-wishlist.php:652
96
+ #: wpc-smart-wishlist.php:1323
97
+ #: wpc-smart-wishlist.php:1630
98
  msgid "Browse wishlist"
99
  msgstr ""
100
 
101
+ #: wpc-smart-wishlist.php:654
102
+ #: wpc-smart-wishlist.php:1314
103
+ #: wpc-smart-wishlist.php:1629
104
  msgid "Add to wishlist"
105
  msgstr ""
106
 
107
+ #: wpc-smart-wishlist.php:687
108
+ #: wpc-smart-wishlist.php:1223
109
  msgid "Facebook"
110
  msgstr ""
111
 
112
+ #: wpc-smart-wishlist.php:688
113
+ #: wpc-smart-wishlist.php:1226
114
  msgid "Twitter"
115
  msgstr ""
116
 
117
+ #: wpc-smart-wishlist.php:689
118
+ #: wpc-smart-wishlist.php:1229
119
  msgid "Pinterest"
120
  msgstr ""
121
 
122
+ #: wpc-smart-wishlist.php:690
123
+ #: wpc-smart-wishlist.php:1232
124
  msgid "Mail"
125
  msgstr ""
126
 
127
+ #: wpc-smart-wishlist.php:700
128
  msgid "Share on:"
129
  msgstr ""
130
 
131
+ #: wpc-smart-wishlist.php:711
132
  msgid "Wishlist link:"
133
  msgstr ""
134
 
135
+ #: wpc-smart-wishlist.php:713
136
  msgid "Copy"
137
  msgstr ""
138
 
139
+ #: wpc-smart-wishlist.php:773
140
  msgid "Thank you for using our plugin! If you are satisfied, please reward it a full five-star %s rating."
141
  msgstr ""
142
 
143
+ #: wpc-smart-wishlist.php:776
144
  msgid "Reviews"
145
  msgstr ""
146
 
147
+ #: wpc-smart-wishlist.php:778
148
  msgid "Changelog"
149
  msgstr ""
150
 
151
+ #: wpc-smart-wishlist.php:780
152
  msgid "Discussion"
153
  msgstr ""
154
 
155
+ #: wpc-smart-wishlist.php:785
156
  msgid "Settings updated."
157
  msgstr ""
158
 
159
+ #: wpc-smart-wishlist.php:792
160
+ #: wpc-smart-wishlist.php:1653
161
  msgid "Settings"
162
  msgstr ""
163
 
164
+ #: wpc-smart-wishlist.php:796
165
+ #: wpc-smart-wishlist.php:1303
166
  msgid "Localization"
167
  msgstr ""
168
 
169
+ #: wpc-smart-wishlist.php:801
170
+ #: wpc-smart-wishlist.php:1654
171
  msgid "Premium Version"
172
  msgstr ""
173
 
174
+ #: wpc-smart-wishlist.php:804
175
  msgid "Essential Kit"
176
  msgstr ""
177
 
178
+ #: wpc-smart-wishlist.php:818
179
  msgid "General"
180
  msgstr ""
181
 
182
+ #: wpc-smart-wishlist.php:822
183
  msgid "Disable the wishlist for unauthenticated users"
184
  msgstr ""
185
 
 
 
 
 
 
 
 
 
 
 
 
 
186
  #: wpc-smart-wishlist.php:826
187
  #: wpc-smart-wishlist.php:839
188
  #: wpc-smart-wishlist.php:863
189
  #: wpc-smart-wishlist.php:1081
 
190
  #: wpc-smart-wishlist.php:1127
191
  #: wpc-smart-wishlist.php:1146
192
  #: wpc-smart-wishlist.php:1189
193
  #: wpc-smart-wishlist.php:1203
194
  #: wpc-smart-wishlist.php:1242
195
+ msgid "Yes"
196
+ msgstr ""
197
+
198
+ #: wpc-smart-wishlist.php:829
199
+ #: wpc-smart-wishlist.php:842
200
+ #: wpc-smart-wishlist.php:866
201
+ #: wpc-smart-wishlist.php:1084
202
+ #: wpc-smart-wishlist.php:1114
203
+ #: wpc-smart-wishlist.php:1130
204
+ #: wpc-smart-wishlist.php:1149
205
+ #: wpc-smart-wishlist.php:1192
206
+ #: wpc-smart-wishlist.php:1206
207
+ #: wpc-smart-wishlist.php:1245
208
  msgid "No"
209
  msgstr ""
210
 
211
+ #: wpc-smart-wishlist.php:835
212
  msgid "Auto remove"
213
  msgstr ""
214
 
215
+ #: wpc-smart-wishlist.php:845
216
  msgid "Auto remove product from the wishlist after adding to the cart."
217
  msgstr ""
218
 
219
+ #: wpc-smart-wishlist.php:850
220
+ #: wpc-smart-wishlist.php:1390
221
  msgid "Multiple Wishlist"
222
  msgstr ""
223
 
224
+ #: wpc-smart-wishlist.php:859
225
  msgid "Enable"
226
  msgstr ""
227
 
228
+ #: wpc-smart-wishlist.php:869
229
  msgid "Enable/disable multiple wishlist."
230
  msgstr ""
231
 
232
+ #: wpc-smart-wishlist.php:873
233
  msgid "Maximum wishlists per user"
234
  msgstr ""
235
 
236
+ #: wpc-smart-wishlist.php:881
237
+ #: wpc-smart-wishlist.php:892
238
  msgid "Button"
239
  msgstr ""
240
 
241
+ #: wpc-smart-wishlist.php:884
242
  msgid "Settings for \"Add to wishlist\" button."
243
  msgstr ""
244
 
245
+ #: wpc-smart-wishlist.php:888
246
  msgid "Type"
247
  msgstr ""
248
 
249
+ #: wpc-smart-wishlist.php:895
250
  msgid "Link"
251
  msgstr ""
252
 
253
+ #: wpc-smart-wishlist.php:901
254
+ #: wpc-smart-wishlist.php:1278
255
  msgid "Action"
256
  msgstr ""
257
 
258
+ #: wpc-smart-wishlist.php:905
259
  msgid "Show message"
260
  msgstr ""
261
 
262
+ #: wpc-smart-wishlist.php:908
263
+ #: wpc-smart-wishlist.php:947
264
+ #: wpc-smart-wishlist.php:1285
265
  msgid "Open wishlist popup"
266
  msgstr ""
267
 
268
+ #: wpc-smart-wishlist.php:911
269
  msgid "Add to wishlist solely"
270
  msgstr ""
271
 
272
+ #: wpc-smart-wishlist.php:914
273
  msgid "Action triggered by clicking on the wishlist button."
274
  msgstr ""
275
 
276
+ #: wpc-smart-wishlist.php:918
277
  msgid "Message position"
278
  msgstr ""
279
 
280
+ #: wpc-smart-wishlist.php:922
281
  msgid "right-top"
282
  msgstr ""
283
 
284
+ #: wpc-smart-wishlist.php:925
285
  msgid "right-bottom"
286
  msgstr ""
287
 
288
+ #: wpc-smart-wishlist.php:928
289
  msgid "center-top"
290
  msgstr ""
291
 
292
+ #: wpc-smart-wishlist.php:931
293
  msgid "center-bottom"
294
  msgstr ""
295
 
296
+ #: wpc-smart-wishlist.php:934
297
  msgid "left-top"
298
  msgstr ""
299
 
300
+ #: wpc-smart-wishlist.php:937
301
  msgid "left-bottom"
302
  msgstr ""
303
 
304
+ #: wpc-smart-wishlist.php:943
305
  msgid "Action (added)"
306
  msgstr ""
307
 
308
+ #: wpc-smart-wishlist.php:950
309
+ #: wpc-smart-wishlist.php:1282
310
+ #: wpc-smart-wishlist.php:1363
311
+ #: wpc-smart-wishlist.php:1368
312
+ #: wpc-smart-wishlist.php:1888
313
  msgid "Open wishlist page"
314
  msgstr ""
315
 
316
+ #: wpc-smart-wishlist.php:953
317
  msgid "Action triggered by clicking on the wishlist button after adding an item to the wishlist."
318
  msgstr ""
319
 
320
+ #: wpc-smart-wishlist.php:957
321
  msgid "Extra class (optional)"
322
  msgstr ""
323
 
324
+ #: wpc-smart-wishlist.php:961
325
  msgid "Add extra class for action button/link, split by one space."
326
  msgstr ""
327
 
328
+ #: wpc-smart-wishlist.php:965
329
  msgid "Position on archive page"
330
  msgstr ""
331
 
332
+ #: wpc-smart-wishlist.php:970
333
+ #: wpc-smart-wishlist.php:997
334
  msgid "Under title"
335
  msgstr ""
336
 
337
+ #: wpc-smart-wishlist.php:971
338
+ #: wpc-smart-wishlist.php:998
339
  msgid "Under rating"
340
  msgstr ""
341
 
342
+ #: wpc-smart-wishlist.php:972
343
  msgid "Under price"
344
  msgstr ""
345
 
346
+ #: wpc-smart-wishlist.php:973
347
+ #: wpc-smart-wishlist.php:1000
348
  msgid "Above add to cart button"
349
  msgstr ""
350
 
351
+ #: wpc-smart-wishlist.php:974
352
+ #: wpc-smart-wishlist.php:1001
353
  msgid "Under add to cart button"
354
  msgstr ""
355
 
356
+ #: wpc-smart-wishlist.php:975
357
+ #: wpc-smart-wishlist.php:1004
358
  msgid "None (hide it)"
359
  msgstr ""
360
 
361
+ #: wpc-smart-wishlist.php:992
362
  msgid "Position on single page"
363
  msgstr ""
364
 
365
+ #: wpc-smart-wishlist.php:999
366
  msgid "Under excerpt"
367
  msgstr ""
368
 
369
+ #: wpc-smart-wishlist.php:1002
370
  msgid "Under meta"
371
  msgstr ""
372
 
373
+ #: wpc-smart-wishlist.php:1003
374
  msgid "Under sharing"
375
  msgstr ""
376
 
377
+ #: wpc-smart-wishlist.php:1021
378
  msgid "Shortcode"
379
  msgstr ""
380
 
381
+ #: wpc-smart-wishlist.php:1024
382
  msgid "You can add a button manually by using the shortcode %s, eg. %s for the product whose ID is 99."
383
  msgstr ""
384
 
385
+ #: wpc-smart-wishlist.php:1029
386
  msgid "Categories"
387
  msgstr ""
388
 
389
+ #: wpc-smart-wishlist.php:1044
390
  msgid "All categories"
391
  msgstr ""
392
 
393
+ #: wpc-smart-wishlist.php:1049
394
  msgid "Only show the wishlist button for products in selected categories."
395
  msgstr ""
396
 
397
+ #: wpc-smart-wishlist.php:1054
398
  msgid "Popup"
399
  msgstr ""
400
 
401
+ #: wpc-smart-wishlist.php:1057
402
  msgid "Settings for the wishlist popup."
403
  msgstr ""
404
 
405
+ #: wpc-smart-wishlist.php:1061
406
  msgid "Position"
407
  msgstr ""
408
 
409
+ #: wpc-smart-wishlist.php:1065
410
  msgid "Center"
411
  msgstr ""
412
 
413
+ #: wpc-smart-wishlist.php:1068
414
  msgid "Right"
415
  msgstr ""
416
 
417
+ #: wpc-smart-wishlist.php:1071
418
  msgid "Left"
419
  msgstr ""
420
 
421
+ #: wpc-smart-wishlist.php:1077
422
  msgid "Use perfect-scrollbar"
423
  msgstr ""
424
 
425
+ #: wpc-smart-wishlist.php:1087
426
  msgid "Read more about %s"
427
  msgstr ""
428
 
429
+ #: wpc-smart-wishlist.php:1091
430
  msgid "Color"
431
  msgstr ""
432
 
433
+ #: wpc-smart-wishlist.php:1097
434
  msgid "Choose the color, default %s"
435
  msgstr ""
436
 
437
+ #: wpc-smart-wishlist.php:1101
438
  msgid "Link to individual product"
439
  msgstr ""
440
 
441
+ #: wpc-smart-wishlist.php:1105
442
  msgid "Yes, open in the same tab"
443
  msgstr ""
444
 
445
+ #: wpc-smart-wishlist.php:1108
446
  msgid "Yes, open in the new tab"
447
  msgstr ""
448
 
449
+ #: wpc-smart-wishlist.php:1111
450
  msgid "Yes, open quick view popup"
451
  msgstr ""
452
 
453
+ #: wpc-smart-wishlist.php:1123
454
  msgid "Show note"
455
  msgstr ""
456
 
457
+ #: wpc-smart-wishlist.php:1133
458
  msgid "Show note on each product for all visitors. Only wishlist owner can add/edit these notes."
459
  msgstr ""
460
 
461
+ #: wpc-smart-wishlist.php:1142
462
+ #: wpc-smart-wishlist.php:1336
463
  msgid "Empty wishlist button"
464
  msgstr ""
465
 
466
+ #: wpc-smart-wishlist.php:1152
467
  msgid "Show empty wishlist button on the popup?"
468
  msgstr ""
469
 
470
+ #: wpc-smart-wishlist.php:1156
471
  msgid "Continue shopping link"
472
  msgstr ""
473
 
474
+ #: wpc-smart-wishlist.php:1161
475
  msgid "By default, the wishlist popup will only be closed when customers click on the \"Continue Shopping\" button."
476
  msgstr ""
477
 
478
+ #: wpc-smart-wishlist.php:1166
479
  msgid "Page"
480
  msgstr ""
481
 
482
+ #: wpc-smart-wishlist.php:1169
483
  msgid "Settings for wishlist page."
484
  msgstr ""
485
 
486
+ #: wpc-smart-wishlist.php:1173
487
  msgid "Wishlist page"
488
  msgstr ""
489
 
490
+ #: wpc-smart-wishlist.php:1178
491
  msgid "Choose a page"
492
  msgstr ""
493
 
494
+ #: wpc-smart-wishlist.php:1181
495
  msgid "Add shortcode %s to display the wishlist on a page."
496
  msgstr ""
497
 
498
+ #: wpc-smart-wishlist.php:1185
499
  msgid "Share buttons"
500
  msgstr ""
501
 
502
+ #: wpc-smart-wishlist.php:1195
503
  msgid "Enable share buttons on the wishlist page?"
504
  msgstr ""
505
 
506
+ #: wpc-smart-wishlist.php:1199
507
  msgid "Use font icon"
508
  msgstr ""
509
 
510
+ #: wpc-smart-wishlist.php:1212
511
  msgid "Social links"
512
  msgstr ""
513
 
514
+ #: wpc-smart-wishlist.php:1238
515
  msgid "Copy link"
516
  msgstr ""
517
 
518
+ #: wpc-smart-wishlist.php:1248
519
  msgid "Enable copy wishlist link to share?"
520
  msgstr ""
521
 
522
+ #: wpc-smart-wishlist.php:1253
523
  msgid "Menu"
524
  msgstr ""
525
 
526
+ #: wpc-smart-wishlist.php:1256
527
  msgid "Settings for the wishlist menu item."
528
  msgstr ""
529
 
530
+ #: wpc-smart-wishlist.php:1260
531
  msgid "Menu(s)"
532
  msgstr ""
533
 
534
+ #: wpc-smart-wishlist.php:1274
535
  msgid "Choose the menu(s) you want to add the \"wishlist menu\" at the end."
536
  msgstr ""
537
 
538
+ #: wpc-smart-wishlist.php:1288
539
  msgid "Action when clicking on the \"wishlist menu\"."
540
  msgstr ""
541
 
542
+ #: wpc-smart-wishlist.php:1305
543
  msgid "Leave blank to use the default text and its equivalent translation in multiple languages."
544
  msgstr ""
545
 
546
+ #: wpc-smart-wishlist.php:1309
547
  msgid "Button text"
548
  msgstr ""
549
 
550
+ #: wpc-smart-wishlist.php:1318
551
  msgid "Button text (added)"
552
  msgstr ""
553
 
554
+ #: wpc-smart-wishlist.php:1327
555
  msgid "Wishlist popup heading"
556
  msgstr ""
557
 
558
+ #: wpc-smart-wishlist.php:1332
559
+ #: wpc-smart-wishlist.php:1386
560
+ #: wpc-smart-wishlist.php:1399
561
+ #: wpc-smart-wishlist.php:1628
562
+ #: wpc-smart-wishlist.php:1836
563
+ #: wpc-smart-wishlist.php:1858
564
+ #: wpc-smart-wishlist.php:1932
565
+ #: wpc-smart-wishlist.php:2133
566
+ #: wpc-smart-wishlist.php:2214
567
+ #: wpc-smart-wishlist.php:2221
568
+ #: wpc-smart-wishlist.php:2431
569
  msgid "Wishlist"
570
  msgstr ""
571
 
572
+ #: wpc-smart-wishlist.php:1341
573
+ #: wpc-smart-wishlist.php:1871
574
  msgid "remove all"
575
  msgstr ""
576
 
577
+ #: wpc-smart-wishlist.php:1354
578
  msgid "Save note"
579
  msgstr ""
580
 
581
+ #: wpc-smart-wishlist.php:1359
582
  msgid "Save"
583
  msgstr ""
584
 
585
+ #: wpc-smart-wishlist.php:1372
586
+ #: wpc-smart-wishlist.php:1377
587
+ #: wpc-smart-wishlist.php:1893
588
  msgid "Continue shopping"
589
  msgstr ""
590
 
591
+ #: wpc-smart-wishlist.php:1381
592
  msgid "Menu item label"
593
  msgstr ""
594
 
595
+ #: wpc-smart-wishlist.php:1394
596
  msgid "Primary wishlist name"
597
  msgstr ""
598
 
599
+ #: wpc-smart-wishlist.php:1403
600
+ #: wpc-smart-wishlist.php:1408
601
+ #: wpc-smart-wishlist.php:1909
602
  msgid "Manage wishlists"
603
  msgstr ""
604
 
605
+ #: wpc-smart-wishlist.php:1412
606
  msgid "Set default"
607
  msgstr ""
608
 
609
+ #: wpc-smart-wishlist.php:1417
610
+ #: wpc-smart-wishlist.php:1946
611
  msgid "set default"
612
  msgstr ""
613
 
614
+ #: wpc-smart-wishlist.php:1421
615
  msgid "Default"
616
  msgstr ""
617
 
618
+ #: wpc-smart-wishlist.php:1426
619
+ #: wpc-smart-wishlist.php:1944
620
  msgid "default"
621
  msgstr ""
622
 
623
+ #: wpc-smart-wishlist.php:1430
624
  msgid "Delete"
625
  msgstr ""
626
 
627
+ #: wpc-smart-wishlist.php:1435
628
+ #: wpc-smart-wishlist.php:1952
629
  msgid "delete"
630
  msgstr ""
631
 
632
+ #: wpc-smart-wishlist.php:1439
633
  msgid "Wishlist name placeholder"
634
  msgstr ""
635
 
636
+ #: wpc-smart-wishlist.php:1444
637
+ #: wpc-smart-wishlist.php:1963
638
  msgid "New Wishlist"
639
  msgstr ""
640
 
641
+ #: wpc-smart-wishlist.php:1448
642
  msgid "Add new wishlist"
643
  msgstr ""
644
 
645
+ #: wpc-smart-wishlist.php:1453
646
+ #: wpc-smart-wishlist.php:1965
647
  msgid "Add New Wishlist"
648
  msgstr ""
649
 
650
+ #: wpc-smart-wishlist.php:1457
651
  msgid "Message"
652
  msgstr ""
653
 
654
+ #: wpc-smart-wishlist.php:1461
655
  msgid "Added to the wishlist"
656
  msgstr ""
657
 
658
+ #: wpc-smart-wishlist.php:1470
659
  msgid "Already in the wishlist"
660
  msgstr ""
661
 
662
+ #: wpc-smart-wishlist.php:1479
663
  msgid "Removed from wishlist"
664
  msgstr ""
665
 
666
+ #: wpc-smart-wishlist.php:1488
667
  msgid "Empty wishlist confirm"
668
  msgstr ""
669
 
670
+ #: wpc-smart-wishlist.php:1493
671
+ #: wpc-smart-wishlist.php:1520
672
+ #: wpc-smart-wishlist.php:1625
673
+ #: wpc-smart-wishlist.php:1626
674
  msgid "This action cannot be undone. Are you sure?"
675
  msgstr ""
676
 
677
+ #: wpc-smart-wishlist.php:1497
678
  msgid "Empty wishlist notice"
679
  msgstr ""
680
 
681
+ #: wpc-smart-wishlist.php:1506
682
  msgid "Empty wishlist"
683
  msgstr ""
684
 
685
+ #: wpc-smart-wishlist.php:1515
686
  msgid "Delete wishlist confirm"
687
  msgstr ""
688
 
689
+ #: wpc-smart-wishlist.php:1524
690
  msgid "Product does not exist"
691
  msgstr ""
692
 
693
+ #: wpc-smart-wishlist.php:1533
694
  msgid "Need to login"
695
  msgstr ""
696
 
697
+ #: wpc-smart-wishlist.php:1542
698
  msgid "Copied wishlist link"
699
  msgstr ""
700
 
701
+ #: wpc-smart-wishlist.php:1547
702
+ #: wpc-smart-wishlist.php:1627
703
  msgid "Copied the wishlist link:"
704
  msgstr ""
705
 
706
+ #: wpc-smart-wishlist.php:1551
707
  msgid "Have an error"
708
  msgstr ""
709
 
710
+ #: wpc-smart-wishlist.php:1670
711
  msgid "Community support"
712
  msgstr ""
713
 
 
714
  #: wpc-smart-wishlist.php:2267
715
+ #: wpc-smart-wishlist.php:2270
716
  #: wpc-smart-wishlist.php:2334
717
+ #: wpc-smart-wishlist.php:2337
718
  msgid "%s product"
719
  msgid_plural "%s products"
720
  msgstr[0] ""
721
  msgstr[1] ""
722
 
723
+ #: wpc-smart-wishlist.php:2269
724
+ #: wpc-smart-wishlist.php:2336
725
  msgid "Guest"
726
  msgstr ""
727
 
728
+ #: wpc-smart-wishlist.php:2284
729
+ #: wpc-smart-wishlist.php:2313
730
  msgid "Edit"
731
  msgstr ""
732
 
733
+ #: wpc-smart-wishlist.php:2284
734
  msgid "See in wishlist"
735
  msgstr ""
736
 
737
+ #: wpc-smart-wishlist.php:2292
738
  msgid "Empty Wishlist"
739
  msgstr ""
readme.txt CHANGED
@@ -4,7 +4,7 @@ Donate link: https://wpclever.net
4
  Tags: woocommerce, woo, wpc, smart, wishlist, wish list
5
  Requires at least: 4.0
6
  Tested up to: 6.0
7
- Stable tag: 4.3.0
8
  License: GPLv2 or later
9
  License URI: http://www.gnu.org/licenses/gpl-2.0.html
10
 
@@ -106,6 +106,9 @@ Example:
106
 
107
  == Changelog ==
108
 
 
 
 
109
  = 4.3.0 =
110
  * Added: Filter hook 'woosw_fragments'
111
 
4
  Tags: woocommerce, woo, wpc, smart, wishlist, wish list
5
  Requires at least: 4.0
6
  Tested up to: 6.0
7
+ Stable tag: 4.3.1
8
  License: GPLv2 or later
9
  License URI: http://www.gnu.org/licenses/gpl-2.0.html
10
 
106
 
107
  == Changelog ==
108
 
109
+ = 4.3.1 =
110
+ * Fixed: Minor JS for variable product
111
+
112
  = 4.3.0 =
113
  * Added: Filter hook 'woosw_fragments'
114
 
wpc-smart-wishlist.php CHANGED
@@ -3,7 +3,7 @@
3
  Plugin Name: WPC Smart Wishlist for WooCommerce
4
  Plugin URI: https://wpclever.net/
5
  Description: WPC Smart Wishlist is a simple but powerful tool that can help your customer save products for buy later.
6
- Version: 4.3.0
7
  Author: WPClever
8
  Author URI: https://wpclever.net
9
  Text Domain: woo-smart-wishlist
@@ -11,12 +11,12 @@ Domain Path: /languages/
11
  Requires at least: 4.0
12
  Tested up to: 6.0
13
  WC requires at least: 3.0
14
- WC tested up to: 6.7
15
  */
16
 
17
  defined( 'ABSPATH' ) || exit;
18
 
19
- ! defined( 'WOOSW_VERSION' ) && define( 'WOOSW_VERSION', '4.3.0' );
20
  ! defined( 'WOOSW_FILE' ) && define( 'WOOSW_FILE', __FILE__ );
21
  ! defined( 'WOOSW_URI' ) && define( 'WOOSW_URI', plugin_dir_url( __FILE__ ) );
22
  ! defined( 'WOOSW_DIR' ) && define( 'WOOSW_DIR', plugin_dir_path( __FILE__ ) );
@@ -266,8 +266,9 @@ if ( ! function_exists( 'woosw_init' ) ) {
266
  // insert if not exists
267
  $products = array(
268
  $product_id => array(
269
- 'time' => time(),
270
- 'note' => ''
 
271
  )
272
  ) + $products;
273
  update_option( 'woosw_list_' . $key, $products );
@@ -299,8 +300,9 @@ if ( ! function_exists( 'woosw_init' ) ) {
299
  // insert if not exists
300
  $products = array(
301
  $product_id => array(
302
- 'time' => time(),
303
- 'note' => ''
 
304
  )
305
  ) + $products;
306
  update_option( 'woosw_list_' . $key, $products );
@@ -485,8 +487,9 @@ if ( ! function_exists( 'woosw_init' ) ) {
485
  // old version
486
  $time = $products[ $product_id ];
487
  $products[ $product_id ] = array(
488
- 'time' => $time,
489
- 'note' => $note
 
490
  );
491
  }
492
 
@@ -644,7 +647,7 @@ if ( ! function_exists( 'woosw_init' ) ) {
644
 
645
  $class = 'woosw-btn woosw-btn-' . esc_attr( $attrs['id'] );
646
 
647
- if ( array_key_exists( $attrs['id'], self::$added_products ) ) {
648
  $class .= ' woosw-added';
649
  $text = apply_filters( 'woosw_button_text_added', self::localization( 'button_added', esc_html__( 'Browse wishlist', 'woo-smart-wishlist' ) ) );
650
  } else {
3
  Plugin Name: WPC Smart Wishlist for WooCommerce
4
  Plugin URI: https://wpclever.net/
5
  Description: WPC Smart Wishlist is a simple but powerful tool that can help your customer save products for buy later.
6
+ Version: 4.3.1
7
  Author: WPClever
8
  Author URI: https://wpclever.net
9
  Text Domain: woo-smart-wishlist
11
  Requires at least: 4.0
12
  Tested up to: 6.0
13
  WC requires at least: 3.0
14
+ WC tested up to: 6.8
15
  */
16
 
17
  defined( 'ABSPATH' ) || exit;
18
 
19
+ ! defined( 'WOOSW_VERSION' ) && define( 'WOOSW_VERSION', '4.3.1' );
20
  ! defined( 'WOOSW_FILE' ) && define( 'WOOSW_FILE', __FILE__ );
21
  ! defined( 'WOOSW_URI' ) && define( 'WOOSW_URI', plugin_dir_url( __FILE__ ) );
22
  ! defined( 'WOOSW_DIR' ) && define( 'WOOSW_DIR', plugin_dir_path( __FILE__ ) );
266
  // insert if not exists
267
  $products = array(
268
  $product_id => array(
269
+ 'time' => time(),
270
+ 'parent' => wp_get_post_parent_id( $product_id ) ?: 0,
271
+ 'note' => ''
272
  )
273
  ) + $products;
274
  update_option( 'woosw_list_' . $key, $products );
300
  // insert if not exists
301
  $products = array(
302
  $product_id => array(
303
+ 'time' => time(),
304
+ 'parent' => wp_get_post_parent_id( $product_id ) ?: 0,
305
+ 'note' => ''
306
  )
307
  ) + $products;
308
  update_option( 'woosw_list_' . $key, $products );
487
  // old version
488
  $time = $products[ $product_id ];
489
  $products[ $product_id ] = array(
490
+ 'time' => $time,
491
+ 'parent' => wp_get_post_parent_id( $product_id ) ?: 0,
492
+ 'note' => $note
493
  );
494
  }
495
 
647
 
648
  $class = 'woosw-btn woosw-btn-' . esc_attr( $attrs['id'] );
649
 
650
+ if ( array_key_exists( $attrs['id'], self::$added_products ) || in_array( $attrs['id'], array_column( self::$added_products, 'parent' ) ) ) {
651
  $class .= ' woosw-added';
652
  $text = apply_filters( 'woosw_button_text_added', self::localization( 'button_added', esc_html__( 'Browse wishlist', 'woo-smart-wishlist' ) ) );
653
  } else {