WPC Smart Wishlist for WooCommerce - Version 3.0.1

Version Description

  • Updated: Optimized the code
Download this release

Release Info

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

Code changes from version 3.0.0 to 3.0.1

assets/css/backend.css CHANGED
@@ -60,6 +60,10 @@
60
  display: inline-block;
61
  }
62
 
 
 
 
 
63
  /* WPC Dialog */
64
 
65
  .ui-dialog.wpc-dialog {
60
  display: inline-block;
61
  }
62
 
63
+ .wpc-premium, .wpc-premium a {
64
+ color: #c9356e;
65
+ }
66
+
67
  /* WPC Dialog */
68
 
69
  .ui-dialog.wpc-dialog {
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 3.0.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-04-30T09:32:25+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,672 +34,672 @@ msgstr ""
34
  msgid "https://wpclever.net"
35
  msgstr ""
36
 
37
- #: wpc-smart-wishlist.php:286
38
- #: wpc-smart-wishlist.php:343
39
- #: wpc-smart-wishlist.php:386
40
- #: wpc-smart-wishlist.php:1340
41
  msgid "Please log in to use the wishlist!"
42
  msgstr ""
43
 
44
- #: wpc-smart-wishlist.php:287
45
- #: wpc-smart-wishlist.php:360
46
- #: wpc-smart-wishlist.php:404
47
- #: wpc-smart-wishlist.php:419
48
- #: wpc-smart-wishlist.php:1313
49
- #: wpc-smart-wishlist.php:1561
50
  msgid "There are no products on the wishlist!"
51
  msgstr ""
52
 
53
- #: wpc-smart-wishlist.php:306
54
- #: wpc-smart-wishlist.php:1268
55
  msgid "Added to the wishlist!"
56
  msgstr ""
57
 
58
- #: wpc-smart-wishlist.php:309
59
- #: wpc-smart-wishlist.php:1277
60
  msgid "Already in the wishlist!"
61
  msgstr ""
62
 
63
- #: wpc-smart-wishlist.php:323
64
- #: wpc-smart-wishlist.php:368
65
- #: wpc-smart-wishlist.php:1358
66
  msgid "Have an error, please try again!"
67
  msgstr ""
68
 
69
- #: wpc-smart-wishlist.php:357
70
- #: wpc-smart-wishlist.php:1286
71
  msgid "Removed from wishlist!"
72
  msgstr ""
73
 
74
- #: wpc-smart-wishlist.php:363
75
- #: wpc-smart-wishlist.php:1331
76
  msgid "The product does not exist on the wishlist!"
77
  msgstr ""
78
 
79
- #: wpc-smart-wishlist.php:403
80
- #: wpc-smart-wishlist.php:1304
81
  msgid "All products were removed from your wishlist!"
82
  msgstr ""
83
 
84
- #: wpc-smart-wishlist.php:418
85
- #: wpc-smart-wishlist.php:443
86
  msgid "Please log in to use wishlist!"
87
  msgstr ""
88
 
89
- #: wpc-smart-wishlist.php:495
90
- #: wpc-smart-wishlist.php:1125
91
- #: wpc-smart-wishlist.php:1425
92
  msgid "Browse wishlist"
93
  msgstr ""
94
 
95
- #: wpc-smart-wishlist.php:497
96
- #: wpc-smart-wishlist.php:1116
97
- #: wpc-smart-wishlist.php:1424
98
  msgid "Add to wishlist"
99
  msgstr ""
100
 
101
- #: wpc-smart-wishlist.php:530
102
- #: wpc-smart-wishlist.php:1017
103
  msgid "Facebook"
104
  msgstr ""
105
 
106
- #: wpc-smart-wishlist.php:531
107
- #: wpc-smart-wishlist.php:1020
108
  msgid "Twitter"
109
  msgstr ""
110
 
111
- #: wpc-smart-wishlist.php:532
112
- #: wpc-smart-wishlist.php:1023
113
  msgid "Pinterest"
114
  msgstr ""
115
 
116
- #: wpc-smart-wishlist.php:533
117
- #: wpc-smart-wishlist.php:1026
118
  msgid "Mail"
119
  msgstr ""
120
 
121
- #: wpc-smart-wishlist.php:543
122
  msgid "Share on:"
123
  msgstr ""
124
 
125
- #: wpc-smart-wishlist.php:555
126
  msgid "Wishlist link:"
127
  msgstr ""
128
 
129
- #: wpc-smart-wishlist.php:557
130
  msgid "Copy"
131
  msgstr ""
132
 
133
- #: wpc-smart-wishlist.php:582
134
  msgid "Thank you for using our plugin! If you are satisfied, please reward it a full five-star %s rating."
135
  msgstr ""
136
 
137
- #: wpc-smart-wishlist.php:585
138
  msgid "Reviews"
139
  msgstr ""
140
 
141
- #: wpc-smart-wishlist.php:587
142
  msgid "Changelog"
143
  msgstr ""
144
 
145
- #: wpc-smart-wishlist.php:589
146
  msgid "Discussion"
147
  msgstr ""
148
 
149
- #: wpc-smart-wishlist.php:596
150
- #: wpc-smart-wishlist.php:1448
151
  msgid "Settings"
152
  msgstr ""
153
 
154
- #: wpc-smart-wishlist.php:600
155
- #: wpc-smart-wishlist.php:1105
156
  msgid "Localization"
157
  msgstr ""
158
 
159
- #: wpc-smart-wishlist.php:605
160
- #: wpc-smart-wishlist.php:1449
161
  msgid "Premium Version"
162
  msgstr ""
163
 
164
- #: wpc-smart-wishlist.php:609
165
  msgid "Essential Kit"
166
  msgstr ""
167
 
168
- #: wpc-smart-wishlist.php:624
169
  msgid "General"
170
  msgstr ""
171
 
172
- #: wpc-smart-wishlist.php:628
173
  msgid "Disable the wishlist for unauthenticated users"
174
  msgstr ""
175
 
176
- #: wpc-smart-wishlist.php:633
177
- #: wpc-smart-wishlist.php:648
178
- #: wpc-smart-wishlist.php:676
179
- #: wpc-smart-wishlist.php:862
180
- #: wpc-smart-wishlist.php:914
181
- #: wpc-smart-wishlist.php:935
182
- #: wpc-smart-wishlist.php:980
183
- #: wpc-smart-wishlist.php:996
184
- #: wpc-smart-wishlist.php:1037
185
  msgid "Yes"
186
  msgstr ""
187
 
188
- #: wpc-smart-wishlist.php:637
189
- #: wpc-smart-wishlist.php:652
190
- #: wpc-smart-wishlist.php:680
191
- #: wpc-smart-wishlist.php:866
192
- #: wpc-smart-wishlist.php:900
193
- #: wpc-smart-wishlist.php:918
194
- #: wpc-smart-wishlist.php:939
195
- #: wpc-smart-wishlist.php:984
196
- #: wpc-smart-wishlist.php:1000
197
- #: wpc-smart-wishlist.php:1041
198
  msgid "No"
199
  msgstr ""
200
 
201
- #: wpc-smart-wishlist.php:643
202
  msgid "Auto remove"
203
  msgstr ""
204
 
205
- #: wpc-smart-wishlist.php:655
206
  msgid "Auto remove product from the wishlist after adding to the cart."
207
  msgstr ""
208
 
209
- #: wpc-smart-wishlist.php:660
210
- #: wpc-smart-wishlist.php:1192
211
  msgid "Multiple Wishlist"
212
  msgstr ""
213
 
214
- #: wpc-smart-wishlist.php:671
215
  msgid "Enable"
216
  msgstr ""
217
 
218
- #: wpc-smart-wishlist.php:683
219
  msgid "Enable/disable multiple wishlist."
220
  msgstr ""
221
 
222
- #: wpc-smart-wishlist.php:687
223
  msgid "Maximum wishlists per user"
224
  msgstr ""
225
 
226
- #: wpc-smart-wishlist.php:695
227
- #: wpc-smart-wishlist.php:707
228
  msgid "Button"
229
  msgstr ""
230
 
231
- #: wpc-smart-wishlist.php:698
232
  msgid "Settings for \"Add to wishlist\" button."
233
  msgstr ""
234
 
235
- #: wpc-smart-wishlist.php:702
236
  msgid "Type"
237
  msgstr ""
238
 
239
- #: wpc-smart-wishlist.php:711
240
  msgid "Link"
241
  msgstr ""
242
 
243
- #: wpc-smart-wishlist.php:717
244
- #: wpc-smart-wishlist.php:1074
245
  msgid "Action"
246
  msgstr ""
247
 
248
- #: wpc-smart-wishlist.php:722
249
  msgid "Show message"
250
  msgstr ""
251
 
252
- #: wpc-smart-wishlist.php:726
253
  msgid "Show product list"
254
  msgstr ""
255
 
256
- #: wpc-smart-wishlist.php:730
257
  msgid "Add to wishlist solely"
258
  msgstr ""
259
 
260
- #: wpc-smart-wishlist.php:733
261
  msgid "Action triggered by clicking on the wishlist button."
262
  msgstr ""
263
 
264
- #: wpc-smart-wishlist.php:737
265
  msgid "Action (added)"
266
  msgstr ""
267
 
268
- #: wpc-smart-wishlist.php:742
269
  msgid "Open wishlist popup"
270
  msgstr ""
271
 
272
- #: wpc-smart-wishlist.php:746
273
- #: wpc-smart-wishlist.php:1165
274
- #: wpc-smart-wishlist.php:1170
275
- #: wpc-smart-wishlist.php:1659
276
  msgid "Open wishlist page"
277
  msgstr ""
278
 
279
- #: wpc-smart-wishlist.php:749
280
  msgid "Action triggered by clicking on the wishlist button after adding an item to the wishlist."
281
  msgstr ""
282
 
283
- #: wpc-smart-wishlist.php:753
284
  msgid "Extra class (optional)"
285
  msgstr ""
286
 
287
- #: wpc-smart-wishlist.php:757
288
  msgid "Add extra class for action button/link, split by one space."
289
  msgstr ""
290
 
291
- #: wpc-smart-wishlist.php:761
292
  msgid "Position on archive page"
293
  msgstr ""
294
 
295
- #: wpc-smart-wishlist.php:766
296
- #: wpc-smart-wishlist.php:793
297
  msgid "Under title"
298
  msgstr ""
299
 
300
- #: wpc-smart-wishlist.php:767
301
- #: wpc-smart-wishlist.php:794
302
  msgid "Under rating"
303
  msgstr ""
304
 
305
- #: wpc-smart-wishlist.php:768
306
  msgid "Under price"
307
  msgstr ""
308
 
309
- #: wpc-smart-wishlist.php:769
310
- #: wpc-smart-wishlist.php:796
311
  msgid "Above add to cart button"
312
  msgstr ""
313
 
314
- #: wpc-smart-wishlist.php:770
315
- #: wpc-smart-wishlist.php:797
316
  msgid "Under add to cart button"
317
  msgstr ""
318
 
319
- #: wpc-smart-wishlist.php:771
320
- #: wpc-smart-wishlist.php:800
321
  msgid "None (hide it)"
322
  msgstr ""
323
 
324
- #: wpc-smart-wishlist.php:788
325
  msgid "Position on single page"
326
  msgstr ""
327
 
328
- #: wpc-smart-wishlist.php:795
329
  msgid "Under excerpt"
330
  msgstr ""
331
 
332
- #: wpc-smart-wishlist.php:798
333
  msgid "Under meta"
334
  msgstr ""
335
 
336
- #: wpc-smart-wishlist.php:799
337
  msgid "Under sharing"
338
  msgstr ""
339
 
340
- #: wpc-smart-wishlist.php:817
341
  msgid "Shortcode"
342
  msgstr ""
343
 
344
- #: wpc-smart-wishlist.php:820
345
  msgid "You can add a button manually by using the shortcode %s, eg. %s for the product whose ID is 99."
346
  msgstr ""
347
 
348
- #: wpc-smart-wishlist.php:825
349
  msgid "Categories"
350
  msgstr ""
351
 
352
- #: wpc-smart-wishlist.php:840
353
  msgid "All categories"
354
  msgstr ""
355
 
356
- #: wpc-smart-wishlist.php:845
357
  msgid "Only show the wishlist button for products in selected categories."
358
  msgstr ""
359
 
360
- #: wpc-smart-wishlist.php:850
361
  msgid "Popup"
362
  msgstr ""
363
 
364
- #: wpc-smart-wishlist.php:853
365
  msgid "Settings for the wishlist popup."
366
  msgstr ""
367
 
368
- #: wpc-smart-wishlist.php:857
369
  msgid "Use perfect-scrollbar"
370
  msgstr ""
371
 
372
- #: wpc-smart-wishlist.php:869
373
  msgid "Read more about %s"
374
  msgstr ""
375
 
376
- #: wpc-smart-wishlist.php:873
377
  msgid "Color"
378
  msgstr ""
379
 
380
- #: wpc-smart-wishlist.php:879
381
  msgid "Choose the color, default %s"
382
  msgstr ""
383
 
384
- #: wpc-smart-wishlist.php:883
385
  msgid "Link to individual product"
386
  msgstr ""
387
 
388
- #: wpc-smart-wishlist.php:888
389
  msgid "Yes, open in the same tab"
390
  msgstr ""
391
 
392
- #: wpc-smart-wishlist.php:892
393
  msgid "Yes, open in the new tab"
394
  msgstr ""
395
 
396
- #: wpc-smart-wishlist.php:896
397
  msgid "Yes, open quick view popup"
398
  msgstr ""
399
 
400
- #: wpc-smart-wishlist.php:909
401
  msgid "Show note"
402
  msgstr ""
403
 
404
- #: wpc-smart-wishlist.php:921
405
  msgid "Show note on each product for all visitors. Only wishlist owner can add/edit these notes."
406
  msgstr ""
407
 
408
- #: wpc-smart-wishlist.php:930
409
- #: wpc-smart-wishlist.php:1138
410
  msgid "Empty wishlist button"
411
  msgstr ""
412
 
413
- #: wpc-smart-wishlist.php:942
414
  msgid "Show empty wishlist button on the popup?"
415
  msgstr ""
416
 
417
- #: wpc-smart-wishlist.php:946
418
  msgid "Continue shopping link"
419
  msgstr ""
420
 
421
- #: wpc-smart-wishlist.php:951
422
  msgid "By default, the wishlist popup will only be closed when customers click on the \"Continue Shopping\" button."
423
  msgstr ""
424
 
425
- #: wpc-smart-wishlist.php:956
426
  msgid "Page"
427
  msgstr ""
428
 
429
- #: wpc-smart-wishlist.php:959
430
  msgid "Settings for wishlist page."
431
  msgstr ""
432
 
433
- #: wpc-smart-wishlist.php:963
434
  msgid "Wishlist page"
435
  msgstr ""
436
 
437
- #: wpc-smart-wishlist.php:968
438
  msgid "Choose a page"
439
  msgstr ""
440
 
441
- #: wpc-smart-wishlist.php:971
442
  msgid "Add shortcode %s to display the wishlist on a page."
443
  msgstr ""
444
 
445
- #: wpc-smart-wishlist.php:975
446
  msgid "Share buttons"
447
  msgstr ""
448
 
449
- #: wpc-smart-wishlist.php:987
450
  msgid "Enable share buttons on the wishlist page?"
451
  msgstr ""
452
 
453
- #: wpc-smart-wishlist.php:991
454
  msgid "Use font icon"
455
  msgstr ""
456
 
457
- #: wpc-smart-wishlist.php:1006
458
  msgid "Social links"
459
  msgstr ""
460
 
461
- #: wpc-smart-wishlist.php:1032
462
  msgid "Copy link"
463
  msgstr ""
464
 
465
- #: wpc-smart-wishlist.php:1044
466
  msgid "Enable copy wishlist link to share?"
467
  msgstr ""
468
 
469
- #: wpc-smart-wishlist.php:1049
470
  msgid "Menu"
471
  msgstr ""
472
 
473
- #: wpc-smart-wishlist.php:1052
474
  msgid "Settings for the wishlist menu item."
475
  msgstr ""
476
 
477
- #: wpc-smart-wishlist.php:1056
478
  msgid "Menu(s)"
479
  msgstr ""
480
 
481
- #: wpc-smart-wishlist.php:1070
482
  msgid "Choose the menu(s) you want to add the \"wishlist menu\" at the end."
483
  msgstr ""
484
 
485
- #: wpc-smart-wishlist.php:1079
486
  msgid "Open page"
487
  msgstr ""
488
 
489
- #: wpc-smart-wishlist.php:1083
490
  msgid "Open popup"
491
  msgstr ""
492
 
493
- #: wpc-smart-wishlist.php:1086
494
  msgid "Action when clicking on the \"wishlist menu\"."
495
  msgstr ""
496
 
497
- #: wpc-smart-wishlist.php:1092
498
- #: wpc-smart-wishlist.php:1364
499
  msgid "Update Options"
500
  msgstr ""
501
 
502
- #: wpc-smart-wishlist.php:1107
503
  msgid "Leave blank to use the default text and its equivalent translation in multiple languages."
504
  msgstr ""
505
 
506
- #: wpc-smart-wishlist.php:1111
507
  msgid "Button text"
508
  msgstr ""
509
 
510
- #: wpc-smart-wishlist.php:1120
511
  msgid "Button text (added)"
512
  msgstr ""
513
 
514
- #: wpc-smart-wishlist.php:1129
515
  msgid "Wishlist popup heading"
516
  msgstr ""
517
 
518
- #: wpc-smart-wishlist.php:1134
519
- #: wpc-smart-wishlist.php:1188
520
- #: wpc-smart-wishlist.php:1201
521
- #: wpc-smart-wishlist.php:1423
522
- #: wpc-smart-wishlist.php:1604
523
- #: wpc-smart-wishlist.php:1630
524
- #: wpc-smart-wishlist.php:1830
525
- #: wpc-smart-wishlist.php:1911
526
- #: wpc-smart-wishlist.php:1918
527
- #: wpc-smart-wishlist.php:2082
528
  msgid "Wishlist"
529
  msgstr ""
530
 
531
- #: wpc-smart-wishlist.php:1143
532
- #: wpc-smart-wishlist.php:1643
533
  msgid "remove all"
534
  msgstr ""
535
 
536
- #: wpc-smart-wishlist.php:1147
537
- #: wpc-smart-wishlist.php:1152
538
  msgid "Add note"
539
  msgstr ""
540
 
541
- #: wpc-smart-wishlist.php:1156
542
  msgid "Save note"
543
  msgstr ""
544
 
545
- #: wpc-smart-wishlist.php:1161
546
  msgid "Save"
547
  msgstr ""
548
 
549
- #: wpc-smart-wishlist.php:1174
550
- #: wpc-smart-wishlist.php:1179
551
- #: wpc-smart-wishlist.php:1663
552
  msgid "Continue shopping"
553
  msgstr ""
554
 
555
- #: wpc-smart-wishlist.php:1183
556
  msgid "Menu item label"
557
  msgstr ""
558
 
559
- #: wpc-smart-wishlist.php:1196
560
  msgid "Primary wishlist name"
561
  msgstr ""
562
 
563
- #: wpc-smart-wishlist.php:1205
564
- #: wpc-smart-wishlist.php:1210
565
  msgid "Manage wishlists"
566
  msgstr ""
567
 
568
- #: wpc-smart-wishlist.php:1214
569
  msgid "Set default"
570
  msgstr ""
571
 
572
- #: wpc-smart-wishlist.php:1219
573
  msgid "set default"
574
  msgstr ""
575
 
576
- #: wpc-smart-wishlist.php:1223
577
  msgid "Default"
578
  msgstr ""
579
 
580
- #: wpc-smart-wishlist.php:1228
581
  msgid "default"
582
  msgstr ""
583
 
584
- #: wpc-smart-wishlist.php:1232
585
  msgid "Delete"
586
  msgstr ""
587
 
588
- #: wpc-smart-wishlist.php:1237
589
  msgid "delete"
590
  msgstr ""
591
 
592
- #: wpc-smart-wishlist.php:1241
593
  msgid "Wishlist name placeholder"
594
  msgstr ""
595
 
596
- #: wpc-smart-wishlist.php:1246
597
  msgid "New Wishlist"
598
  msgstr ""
599
 
600
- #: wpc-smart-wishlist.php:1250
601
  msgid "Add new wishlist"
602
  msgstr ""
603
 
604
- #: wpc-smart-wishlist.php:1255
605
  msgid "Add New Wishlist"
606
  msgstr ""
607
 
608
- #: wpc-smart-wishlist.php:1259
609
  msgid "Message"
610
  msgstr ""
611
 
612
- #: wpc-smart-wishlist.php:1263
613
  msgid "Added to the wishlist"
614
  msgstr ""
615
 
616
- #: wpc-smart-wishlist.php:1272
617
  msgid "Already in the wishlist"
618
  msgstr ""
619
 
620
- #: wpc-smart-wishlist.php:1281
621
  msgid "Removed from wishlist"
622
  msgstr ""
623
 
624
- #: wpc-smart-wishlist.php:1290
625
  msgid "Empty wishlist confirm"
626
  msgstr ""
627
 
628
- #: wpc-smart-wishlist.php:1295
629
- #: wpc-smart-wishlist.php:1322
630
- #: wpc-smart-wishlist.php:1420
631
- #: wpc-smart-wishlist.php:1421
632
  msgid "This action cannot be undone. Are you sure?"
633
  msgstr ""
634
 
635
- #: wpc-smart-wishlist.php:1299
636
  msgid "Empty wishlist notice"
637
  msgstr ""
638
 
639
- #: wpc-smart-wishlist.php:1308
640
  msgid "Empty wishlist"
641
  msgstr ""
642
 
643
- #: wpc-smart-wishlist.php:1317
644
  msgid "Delete wishlist confirm"
645
  msgstr ""
646
 
647
- #: wpc-smart-wishlist.php:1326
648
  msgid "Product does not exist"
649
  msgstr ""
650
 
651
- #: wpc-smart-wishlist.php:1335
652
  msgid "Need to login"
653
  msgstr ""
654
 
655
- #: wpc-smart-wishlist.php:1344
656
  msgid "Copied wishlist link"
657
  msgstr ""
658
 
659
- #: wpc-smart-wishlist.php:1349
660
- #: wpc-smart-wishlist.php:1422
661
  msgid "Copied the wishlist link:"
662
  msgstr ""
663
 
664
- #: wpc-smart-wishlist.php:1353
665
  msgid "Have an error"
666
  msgstr ""
667
 
668
- #: wpc-smart-wishlist.php:1465
669
  msgid "Community support"
670
  msgstr ""
671
 
672
- #: wpc-smart-wishlist.php:1542
673
  msgid "In stock"
674
  msgstr ""
675
 
676
- #: wpc-smart-wishlist.php:1542
677
  msgid "Out of stock"
678
  msgstr ""
679
 
680
- #: wpc-smart-wishlist.php:1963
681
- #: wpc-smart-wishlist.php:1966
682
- #: wpc-smart-wishlist.php:2030
683
- #: wpc-smart-wishlist.php:2033
684
  msgid "%s product"
685
  msgid_plural "%s products"
686
  msgstr[0] ""
687
  msgstr[1] ""
688
 
689
- #: wpc-smart-wishlist.php:1965
690
- #: wpc-smart-wishlist.php:2032
691
  msgid "Guest"
692
  msgstr ""
693
 
694
- #: wpc-smart-wishlist.php:1980
695
- #: wpc-smart-wishlist.php:2009
696
  msgid "Edit"
697
  msgstr ""
698
 
699
- #: wpc-smart-wishlist.php:1980
700
  msgid "See in wishlist"
701
  msgstr ""
702
 
703
- #: wpc-smart-wishlist.php:1988
704
  msgid "Empty Wishlist"
705
  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 3.0.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-05-12T18:05:11+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:280
38
+ #: wpc-smart-wishlist.php:337
39
+ #: wpc-smart-wishlist.php:380
40
+ #: wpc-smart-wishlist.php:1301
41
  msgid "Please log in to use the wishlist!"
42
  msgstr ""
43
 
44
+ #: wpc-smart-wishlist.php:281
45
+ #: wpc-smart-wishlist.php:354
46
+ #: wpc-smart-wishlist.php:398
47
+ #: wpc-smart-wishlist.php:413
48
+ #: wpc-smart-wishlist.php:1274
49
+ #: wpc-smart-wishlist.php:1522
50
  msgid "There are no products on the wishlist!"
51
  msgstr ""
52
 
53
+ #: wpc-smart-wishlist.php:300
54
+ #: wpc-smart-wishlist.php:1229
55
  msgid "Added to the wishlist!"
56
  msgstr ""
57
 
58
+ #: wpc-smart-wishlist.php:303
59
+ #: wpc-smart-wishlist.php:1238
60
  msgid "Already in the wishlist!"
61
  msgstr ""
62
 
63
+ #: wpc-smart-wishlist.php:317
64
+ #: wpc-smart-wishlist.php:362
65
+ #: wpc-smart-wishlist.php:1319
66
  msgid "Have an error, please try again!"
67
  msgstr ""
68
 
69
+ #: wpc-smart-wishlist.php:351
70
+ #: wpc-smart-wishlist.php:1247
71
  msgid "Removed from wishlist!"
72
  msgstr ""
73
 
74
+ #: wpc-smart-wishlist.php:357
75
+ #: wpc-smart-wishlist.php:1292
76
  msgid "The product does not exist on the wishlist!"
77
  msgstr ""
78
 
79
+ #: wpc-smart-wishlist.php:397
80
+ #: wpc-smart-wishlist.php:1265
81
  msgid "All products were removed from your wishlist!"
82
  msgstr ""
83
 
84
+ #: wpc-smart-wishlist.php:412
85
+ #: wpc-smart-wishlist.php:437
86
  msgid "Please log in to use wishlist!"
87
  msgstr ""
88
 
89
+ #: wpc-smart-wishlist.php:489
90
+ #: wpc-smart-wishlist.php:1086
91
+ #: wpc-smart-wishlist.php:1386
92
  msgid "Browse wishlist"
93
  msgstr ""
94
 
95
+ #: wpc-smart-wishlist.php:491
96
+ #: wpc-smart-wishlist.php:1077
97
+ #: wpc-smart-wishlist.php:1385
98
  msgid "Add to wishlist"
99
  msgstr ""
100
 
101
+ #: wpc-smart-wishlist.php:524
102
+ #: wpc-smart-wishlist.php:982
103
  msgid "Facebook"
104
  msgstr ""
105
 
106
+ #: wpc-smart-wishlist.php:525
107
+ #: wpc-smart-wishlist.php:985
108
  msgid "Twitter"
109
  msgstr ""
110
 
111
+ #: wpc-smart-wishlist.php:526
112
+ #: wpc-smart-wishlist.php:988
113
  msgid "Pinterest"
114
  msgstr ""
115
 
116
+ #: wpc-smart-wishlist.php:527
117
+ #: wpc-smart-wishlist.php:991
118
  msgid "Mail"
119
  msgstr ""
120
 
121
+ #: wpc-smart-wishlist.php:537
122
  msgid "Share on:"
123
  msgstr ""
124
 
125
+ #: wpc-smart-wishlist.php:548
126
  msgid "Wishlist link:"
127
  msgstr ""
128
 
129
+ #: wpc-smart-wishlist.php:550
130
  msgid "Copy"
131
  msgstr ""
132
 
133
+ #: wpc-smart-wishlist.php:575
134
  msgid "Thank you for using our plugin! If you are satisfied, please reward it a full five-star %s rating."
135
  msgstr ""
136
 
137
+ #: wpc-smart-wishlist.php:578
138
  msgid "Reviews"
139
  msgstr ""
140
 
141
+ #: wpc-smart-wishlist.php:580
142
  msgid "Changelog"
143
  msgstr ""
144
 
145
+ #: wpc-smart-wishlist.php:582
146
  msgid "Discussion"
147
  msgstr ""
148
 
149
+ #: wpc-smart-wishlist.php:589
150
+ #: wpc-smart-wishlist.php:1409
151
  msgid "Settings"
152
  msgstr ""
153
 
154
+ #: wpc-smart-wishlist.php:593
155
+ #: wpc-smart-wishlist.php:1066
156
  msgid "Localization"
157
  msgstr ""
158
 
159
+ #: wpc-smart-wishlist.php:598
160
+ #: wpc-smart-wishlist.php:1410
161
  msgid "Premium Version"
162
  msgstr ""
163
 
164
+ #: wpc-smart-wishlist.php:601
165
  msgid "Essential Kit"
166
  msgstr ""
167
 
168
+ #: wpc-smart-wishlist.php:616
169
  msgid "General"
170
  msgstr ""
171
 
172
+ #: wpc-smart-wishlist.php:620
173
  msgid "Disable the wishlist for unauthenticated users"
174
  msgstr ""
175
 
176
+ #: wpc-smart-wishlist.php:624
177
+ #: wpc-smart-wishlist.php:637
178
+ #: wpc-smart-wishlist.php:663
179
+ #: wpc-smart-wishlist.php:840
180
+ #: wpc-smart-wishlist.php:886
181
+ #: wpc-smart-wishlist.php:905
182
+ #: wpc-smart-wishlist.php:948
183
+ #: wpc-smart-wishlist.php:962
184
+ #: wpc-smart-wishlist.php:1001
185
  msgid "Yes"
186
  msgstr ""
187
 
188
+ #: wpc-smart-wishlist.php:627
189
+ #: wpc-smart-wishlist.php:640
190
+ #: wpc-smart-wishlist.php:666
191
+ #: wpc-smart-wishlist.php:843
192
+ #: wpc-smart-wishlist.php:873
193
+ #: wpc-smart-wishlist.php:889
194
+ #: wpc-smart-wishlist.php:908
195
+ #: wpc-smart-wishlist.php:951
196
+ #: wpc-smart-wishlist.php:965
197
+ #: wpc-smart-wishlist.php:1004
198
  msgid "No"
199
  msgstr ""
200
 
201
+ #: wpc-smart-wishlist.php:633
202
  msgid "Auto remove"
203
  msgstr ""
204
 
205
+ #: wpc-smart-wishlist.php:643
206
  msgid "Auto remove product from the wishlist after adding to the cart."
207
  msgstr ""
208
 
209
+ #: wpc-smart-wishlist.php:648
210
+ #: wpc-smart-wishlist.php:1153
211
  msgid "Multiple Wishlist"
212
  msgstr ""
213
 
214
+ #: wpc-smart-wishlist.php:659
215
  msgid "Enable"
216
  msgstr ""
217
 
218
+ #: wpc-smart-wishlist.php:669
219
  msgid "Enable/disable multiple wishlist."
220
  msgstr ""
221
 
222
+ #: wpc-smart-wishlist.php:673
223
  msgid "Maximum wishlists per user"
224
  msgstr ""
225
 
226
+ #: wpc-smart-wishlist.php:681
227
+ #: wpc-smart-wishlist.php:692
228
  msgid "Button"
229
  msgstr ""
230
 
231
+ #: wpc-smart-wishlist.php:684
232
  msgid "Settings for \"Add to wishlist\" button."
233
  msgstr ""
234
 
235
+ #: wpc-smart-wishlist.php:688
236
  msgid "Type"
237
  msgstr ""
238
 
239
+ #: wpc-smart-wishlist.php:695
240
  msgid "Link"
241
  msgstr ""
242
 
243
+ #: wpc-smart-wishlist.php:701
244
+ #: wpc-smart-wishlist.php:1037
245
  msgid "Action"
246
  msgstr ""
247
 
248
+ #: wpc-smart-wishlist.php:705
249
  msgid "Show message"
250
  msgstr ""
251
 
252
+ #: wpc-smart-wishlist.php:708
253
  msgid "Show product list"
254
  msgstr ""
255
 
256
+ #: wpc-smart-wishlist.php:711
257
  msgid "Add to wishlist solely"
258
  msgstr ""
259
 
260
+ #: wpc-smart-wishlist.php:714
261
  msgid "Action triggered by clicking on the wishlist button."
262
  msgstr ""
263
 
264
+ #: wpc-smart-wishlist.php:718
265
  msgid "Action (added)"
266
  msgstr ""
267
 
268
+ #: wpc-smart-wishlist.php:722
269
  msgid "Open wishlist popup"
270
  msgstr ""
271
 
272
+ #: wpc-smart-wishlist.php:725
273
+ #: wpc-smart-wishlist.php:1126
274
+ #: wpc-smart-wishlist.php:1131
275
+ #: wpc-smart-wishlist.php:1620
276
  msgid "Open wishlist page"
277
  msgstr ""
278
 
279
+ #: wpc-smart-wishlist.php:728
280
  msgid "Action triggered by clicking on the wishlist button after adding an item to the wishlist."
281
  msgstr ""
282
 
283
+ #: wpc-smart-wishlist.php:732
284
  msgid "Extra class (optional)"
285
  msgstr ""
286
 
287
+ #: wpc-smart-wishlist.php:736
288
  msgid "Add extra class for action button/link, split by one space."
289
  msgstr ""
290
 
291
+ #: wpc-smart-wishlist.php:740
292
  msgid "Position on archive page"
293
  msgstr ""
294
 
295
+ #: wpc-smart-wishlist.php:745
296
+ #: wpc-smart-wishlist.php:772
297
  msgid "Under title"
298
  msgstr ""
299
 
300
+ #: wpc-smart-wishlist.php:746
301
+ #: wpc-smart-wishlist.php:773
302
  msgid "Under rating"
303
  msgstr ""
304
 
305
+ #: wpc-smart-wishlist.php:747
306
  msgid "Under price"
307
  msgstr ""
308
 
309
+ #: wpc-smart-wishlist.php:748
310
+ #: wpc-smart-wishlist.php:775
311
  msgid "Above add to cart button"
312
  msgstr ""
313
 
314
+ #: wpc-smart-wishlist.php:749
315
+ #: wpc-smart-wishlist.php:776
316
  msgid "Under add to cart button"
317
  msgstr ""
318
 
319
+ #: wpc-smart-wishlist.php:750
320
+ #: wpc-smart-wishlist.php:779
321
  msgid "None (hide it)"
322
  msgstr ""
323
 
324
+ #: wpc-smart-wishlist.php:767
325
  msgid "Position on single page"
326
  msgstr ""
327
 
328
+ #: wpc-smart-wishlist.php:774
329
  msgid "Under excerpt"
330
  msgstr ""
331
 
332
+ #: wpc-smart-wishlist.php:777
333
  msgid "Under meta"
334
  msgstr ""
335
 
336
+ #: wpc-smart-wishlist.php:778
337
  msgid "Under sharing"
338
  msgstr ""
339
 
340
+ #: wpc-smart-wishlist.php:796
341
  msgid "Shortcode"
342
  msgstr ""
343
 
344
+ #: wpc-smart-wishlist.php:799
345
  msgid "You can add a button manually by using the shortcode %s, eg. %s for the product whose ID is 99."
346
  msgstr ""
347
 
348
+ #: wpc-smart-wishlist.php:804
349
  msgid "Categories"
350
  msgstr ""
351
 
352
+ #: wpc-smart-wishlist.php:819
353
  msgid "All categories"
354
  msgstr ""
355
 
356
+ #: wpc-smart-wishlist.php:824
357
  msgid "Only show the wishlist button for products in selected categories."
358
  msgstr ""
359
 
360
+ #: wpc-smart-wishlist.php:829
361
  msgid "Popup"
362
  msgstr ""
363
 
364
+ #: wpc-smart-wishlist.php:832
365
  msgid "Settings for the wishlist popup."
366
  msgstr ""
367
 
368
+ #: wpc-smart-wishlist.php:836
369
  msgid "Use perfect-scrollbar"
370
  msgstr ""
371
 
372
+ #: wpc-smart-wishlist.php:846
373
  msgid "Read more about %s"
374
  msgstr ""
375
 
376
+ #: wpc-smart-wishlist.php:850
377
  msgid "Color"
378
  msgstr ""
379
 
380
+ #: wpc-smart-wishlist.php:856
381
  msgid "Choose the color, default %s"
382
  msgstr ""
383
 
384
+ #: wpc-smart-wishlist.php:860
385
  msgid "Link to individual product"
386
  msgstr ""
387
 
388
+ #: wpc-smart-wishlist.php:864
389
  msgid "Yes, open in the same tab"
390
  msgstr ""
391
 
392
+ #: wpc-smart-wishlist.php:867
393
  msgid "Yes, open in the new tab"
394
  msgstr ""
395
 
396
+ #: wpc-smart-wishlist.php:870
397
  msgid "Yes, open quick view popup"
398
  msgstr ""
399
 
400
+ #: wpc-smart-wishlist.php:882
401
  msgid "Show note"
402
  msgstr ""
403
 
404
+ #: wpc-smart-wishlist.php:892
405
  msgid "Show note on each product for all visitors. Only wishlist owner can add/edit these notes."
406
  msgstr ""
407
 
408
+ #: wpc-smart-wishlist.php:901
409
+ #: wpc-smart-wishlist.php:1099
410
  msgid "Empty wishlist button"
411
  msgstr ""
412
 
413
+ #: wpc-smart-wishlist.php:911
414
  msgid "Show empty wishlist button on the popup?"
415
  msgstr ""
416
 
417
+ #: wpc-smart-wishlist.php:915
418
  msgid "Continue shopping link"
419
  msgstr ""
420
 
421
+ #: wpc-smart-wishlist.php:920
422
  msgid "By default, the wishlist popup will only be closed when customers click on the \"Continue Shopping\" button."
423
  msgstr ""
424
 
425
+ #: wpc-smart-wishlist.php:925
426
  msgid "Page"
427
  msgstr ""
428
 
429
+ #: wpc-smart-wishlist.php:928
430
  msgid "Settings for wishlist page."
431
  msgstr ""
432
 
433
+ #: wpc-smart-wishlist.php:932
434
  msgid "Wishlist page"
435
  msgstr ""
436
 
437
+ #: wpc-smart-wishlist.php:937
438
  msgid "Choose a page"
439
  msgstr ""
440
 
441
+ #: wpc-smart-wishlist.php:940
442
  msgid "Add shortcode %s to display the wishlist on a page."
443
  msgstr ""
444
 
445
+ #: wpc-smart-wishlist.php:944
446
  msgid "Share buttons"
447
  msgstr ""
448
 
449
+ #: wpc-smart-wishlist.php:954
450
  msgid "Enable share buttons on the wishlist page?"
451
  msgstr ""
452
 
453
+ #: wpc-smart-wishlist.php:958
454
  msgid "Use font icon"
455
  msgstr ""
456
 
457
+ #: wpc-smart-wishlist.php:971
458
  msgid "Social links"
459
  msgstr ""
460
 
461
+ #: wpc-smart-wishlist.php:997
462
  msgid "Copy link"
463
  msgstr ""
464
 
465
+ #: wpc-smart-wishlist.php:1007
466
  msgid "Enable copy wishlist link to share?"
467
  msgstr ""
468
 
469
+ #: wpc-smart-wishlist.php:1012
470
  msgid "Menu"
471
  msgstr ""
472
 
473
+ #: wpc-smart-wishlist.php:1015
474
  msgid "Settings for the wishlist menu item."
475
  msgstr ""
476
 
477
+ #: wpc-smart-wishlist.php:1019
478
  msgid "Menu(s)"
479
  msgstr ""
480
 
481
+ #: wpc-smart-wishlist.php:1033
482
  msgid "Choose the menu(s) you want to add the \"wishlist menu\" at the end."
483
  msgstr ""
484
 
485
+ #: wpc-smart-wishlist.php:1041
486
  msgid "Open page"
487
  msgstr ""
488
 
489
+ #: wpc-smart-wishlist.php:1044
490
  msgid "Open popup"
491
  msgstr ""
492
 
493
+ #: wpc-smart-wishlist.php:1047
494
  msgid "Action when clicking on the \"wishlist menu\"."
495
  msgstr ""
496
 
497
+ #: wpc-smart-wishlist.php:1053
498
+ #: wpc-smart-wishlist.php:1325
499
  msgid "Update Options"
500
  msgstr ""
501
 
502
+ #: wpc-smart-wishlist.php:1068
503
  msgid "Leave blank to use the default text and its equivalent translation in multiple languages."
504
  msgstr ""
505
 
506
+ #: wpc-smart-wishlist.php:1072
507
  msgid "Button text"
508
  msgstr ""
509
 
510
+ #: wpc-smart-wishlist.php:1081
511
  msgid "Button text (added)"
512
  msgstr ""
513
 
514
+ #: wpc-smart-wishlist.php:1090
515
  msgid "Wishlist popup heading"
516
  msgstr ""
517
 
518
+ #: wpc-smart-wishlist.php:1095
519
+ #: wpc-smart-wishlist.php:1149
520
+ #: wpc-smart-wishlist.php:1162
521
+ #: wpc-smart-wishlist.php:1384
522
+ #: wpc-smart-wishlist.php:1565
523
+ #: wpc-smart-wishlist.php:1591
524
+ #: wpc-smart-wishlist.php:1791
525
+ #: wpc-smart-wishlist.php:1872
526
+ #: wpc-smart-wishlist.php:1879
527
+ #: wpc-smart-wishlist.php:2043
528
  msgid "Wishlist"
529
  msgstr ""
530
 
531
+ #: wpc-smart-wishlist.php:1104
532
+ #: wpc-smart-wishlist.php:1604
533
  msgid "remove all"
534
  msgstr ""
535
 
536
+ #: wpc-smart-wishlist.php:1108
537
+ #: wpc-smart-wishlist.php:1113
538
  msgid "Add note"
539
  msgstr ""
540
 
541
+ #: wpc-smart-wishlist.php:1117
542
  msgid "Save note"
543
  msgstr ""
544
 
545
+ #: wpc-smart-wishlist.php:1122
546
  msgid "Save"
547
  msgstr ""
548
 
549
+ #: wpc-smart-wishlist.php:1135
550
+ #: wpc-smart-wishlist.php:1140
551
+ #: wpc-smart-wishlist.php:1624
552
  msgid "Continue shopping"
553
  msgstr ""
554
 
555
+ #: wpc-smart-wishlist.php:1144
556
  msgid "Menu item label"
557
  msgstr ""
558
 
559
+ #: wpc-smart-wishlist.php:1157
560
  msgid "Primary wishlist name"
561
  msgstr ""
562
 
563
+ #: wpc-smart-wishlist.php:1166
564
+ #: wpc-smart-wishlist.php:1171
565
  msgid "Manage wishlists"
566
  msgstr ""
567
 
568
+ #: wpc-smart-wishlist.php:1175
569
  msgid "Set default"
570
  msgstr ""
571
 
572
+ #: wpc-smart-wishlist.php:1180
573
  msgid "set default"
574
  msgstr ""
575
 
576
+ #: wpc-smart-wishlist.php:1184
577
  msgid "Default"
578
  msgstr ""
579
 
580
+ #: wpc-smart-wishlist.php:1189
581
  msgid "default"
582
  msgstr ""
583
 
584
+ #: wpc-smart-wishlist.php:1193
585
  msgid "Delete"
586
  msgstr ""
587
 
588
+ #: wpc-smart-wishlist.php:1198
589
  msgid "delete"
590
  msgstr ""
591
 
592
+ #: wpc-smart-wishlist.php:1202
593
  msgid "Wishlist name placeholder"
594
  msgstr ""
595
 
596
+ #: wpc-smart-wishlist.php:1207
597
  msgid "New Wishlist"
598
  msgstr ""
599
 
600
+ #: wpc-smart-wishlist.php:1211
601
  msgid "Add new wishlist"
602
  msgstr ""
603
 
604
+ #: wpc-smart-wishlist.php:1216
605
  msgid "Add New Wishlist"
606
  msgstr ""
607
 
608
+ #: wpc-smart-wishlist.php:1220
609
  msgid "Message"
610
  msgstr ""
611
 
612
+ #: wpc-smart-wishlist.php:1224
613
  msgid "Added to the wishlist"
614
  msgstr ""
615
 
616
+ #: wpc-smart-wishlist.php:1233
617
  msgid "Already in the wishlist"
618
  msgstr ""
619
 
620
+ #: wpc-smart-wishlist.php:1242
621
  msgid "Removed from wishlist"
622
  msgstr ""
623
 
624
+ #: wpc-smart-wishlist.php:1251
625
  msgid "Empty wishlist confirm"
626
  msgstr ""
627
 
628
+ #: wpc-smart-wishlist.php:1256
629
+ #: wpc-smart-wishlist.php:1283
630
+ #: wpc-smart-wishlist.php:1381
631
+ #: wpc-smart-wishlist.php:1382
632
  msgid "This action cannot be undone. Are you sure?"
633
  msgstr ""
634
 
635
+ #: wpc-smart-wishlist.php:1260
636
  msgid "Empty wishlist notice"
637
  msgstr ""
638
 
639
+ #: wpc-smart-wishlist.php:1269
640
  msgid "Empty wishlist"
641
  msgstr ""
642
 
643
+ #: wpc-smart-wishlist.php:1278
644
  msgid "Delete wishlist confirm"
645
  msgstr ""
646
 
647
+ #: wpc-smart-wishlist.php:1287
648
  msgid "Product does not exist"
649
  msgstr ""
650
 
651
+ #: wpc-smart-wishlist.php:1296
652
  msgid "Need to login"
653
  msgstr ""
654
 
655
+ #: wpc-smart-wishlist.php:1305
656
  msgid "Copied wishlist link"
657
  msgstr ""
658
 
659
+ #: wpc-smart-wishlist.php:1310
660
+ #: wpc-smart-wishlist.php:1383
661
  msgid "Copied the wishlist link:"
662
  msgstr ""
663
 
664
+ #: wpc-smart-wishlist.php:1314
665
  msgid "Have an error"
666
  msgstr ""
667
 
668
+ #: wpc-smart-wishlist.php:1426
669
  msgid "Community support"
670
  msgstr ""
671
 
672
+ #: wpc-smart-wishlist.php:1503
673
  msgid "In stock"
674
  msgstr ""
675
 
676
+ #: wpc-smart-wishlist.php:1503
677
  msgid "Out of stock"
678
  msgstr ""
679
 
680
+ #: wpc-smart-wishlist.php:1924
681
+ #: wpc-smart-wishlist.php:1927
682
+ #: wpc-smart-wishlist.php:1991
683
+ #: wpc-smart-wishlist.php:1994
684
  msgid "%s product"
685
  msgid_plural "%s products"
686
  msgstr[0] ""
687
  msgstr[1] ""
688
 
689
+ #: wpc-smart-wishlist.php:1926
690
+ #: wpc-smart-wishlist.php:1993
691
  msgid "Guest"
692
  msgstr ""
693
 
694
+ #: wpc-smart-wishlist.php:1941
695
+ #: wpc-smart-wishlist.php:1970
696
  msgid "Edit"
697
  msgstr ""
698
 
699
+ #: wpc-smart-wishlist.php:1941
700
  msgid "See in wishlist"
701
  msgstr ""
702
 
703
+ #: wpc-smart-wishlist.php:1949
704
  msgid "Empty Wishlist"
705
  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: 5.9
7
- Stable tag: 3.0.0
8
  License: GPLv2 or later
9
  License URI: http://www.gnu.org/licenses/gpl-2.0.html
10
 
@@ -39,7 +39,7 @@ Visit our [live demo](https://demo.wpclever.net/woosw/ "live demo") here to see
39
  - Edit the destination link for the Continue Shopping button
40
  - Choose a menu to add the wishlist menu
41
  - Choose an action triggered by the wishlist menu
42
- - RTL support
43
  - Premium: Enable multiple wishlists per user
44
  - Premium: Add note for each product
45
  - Premium: Lifetime update and dedicated support
@@ -106,6 +106,9 @@ Example:
106
 
107
  == Changelog ==
108
 
 
 
 
109
  = 3.0.0 =
110
  * Added: Multiple wishlist (Premium Version)
111
  * Updated: Optimized the code
@@ -229,7 +232,7 @@ Fixed: Add to cart button on wishlist
229
  * Updated: Compatible with WordPress 5.7.0 & WooCommerce 5.0.0
230
 
231
  = 2.3.3 =
232
- * Added: RTL support
233
 
234
  = 2.3.2 =
235
  * Updated: Optimized the code
@@ -414,7 +417,7 @@ Fixed: Add to cart button on wishlist
414
 
415
  = 1.1.2 =
416
  * Added: Button text for "added" state
417
- * Added: WPML integration
418
  * Fixed: Fix the height of popup to prevent blur
419
 
420
  = 1.1.1 =
4
  Tags: woocommerce, woo, wpc, smart, wishlist, wish list
5
  Requires at least: 4.0
6
  Tested up to: 5.9
7
+ Stable tag: 3.0.1
8
  License: GPLv2 or later
9
  License URI: http://www.gnu.org/licenses/gpl-2.0.html
10
 
39
  - Edit the destination link for the Continue Shopping button
40
  - Choose a menu to add the wishlist menu
41
  - Choose an action triggered by the wishlist menu
42
+ - RTL support for better displaying right-to-left languages
43
  - Premium: Enable multiple wishlists per user
44
  - Premium: Add note for each product
45
  - Premium: Lifetime update and dedicated support
106
 
107
  == Changelog ==
108
 
109
+ = 3.0.1 =
110
+ * Updated: Optimized the code
111
+
112
  = 3.0.0 =
113
  * Added: Multiple wishlist (Premium Version)
114
  * Updated: Optimized the code
232
  * Updated: Compatible with WordPress 5.7.0 & WooCommerce 5.0.0
233
 
234
  = 2.3.3 =
235
+ * Added: RTL support for better displaying right-to-left languages
236
 
237
  = 2.3.2 =
238
  * Updated: Optimized the code
417
 
418
  = 1.1.2 =
419
  * Added: Button text for "added" state
420
+ * Added: WPML compatible
421
  * Fixed: Fix the height of popup to prevent blur
422
 
423
  = 1.1.1 =
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: 3.0.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: 5.9
13
  WC requires at least: 3.0
14
- WC tested up to: 6.4
15
  */
16
 
17
  defined( 'ABSPATH' ) || exit;
18
 
19
- ! defined( 'WOOSW_VERSION' ) && define( 'WOOSW_VERSION', '3.0.0' );
20
  ! defined( 'WOOSW_URI' ) && define( 'WOOSW_URI', plugin_dir_url( __FILE__ ) );
21
  ! defined( 'WOOSW_REVIEWS' ) && define( 'WOOSW_REVIEWS', 'https://wordpress.org/support/plugin/woo-smart-wishlist/reviews/?filter=5' );
22
  ! defined( 'WOOSW_CHANGELOG' ) && define( 'WOOSW_CHANGELOG', 'https://wordpress.org/plugins/woo-smart-wishlist/#developers' );
@@ -60,7 +60,7 @@ if ( ! function_exists( 'woosw_init' ) ) {
60
  add_action( 'admin_menu', array( $this, 'admin_menu' ) );
61
 
62
  // frontend scripts
63
- add_action( 'wp_enqueue_scripts', array( $this, 'wp_enqueue_scripts' ) );
64
 
65
  // backend scripts
66
  add_action( 'admin_enqueue_scripts', array( $this, 'admin_enqueue_scripts' ) );
@@ -101,33 +101,27 @@ if ( ! function_exists( 'woosw_init' ) ) {
101
  add_filter( 'plugin_row_meta', array( $this, 'row_meta' ), 10, 2 );
102
 
103
  // menu items
104
- add_filter( 'wp_nav_menu_items', array( $this, 'woosw_nav_menu_items' ), 99, 2 );
105
 
106
  // footer
107
  add_action( 'wp_footer', array( $this, 'wp_footer' ) );
108
 
109
  // product columns
110
- add_filter( 'manage_edit-product_columns', array( $this, 'woosw_product_columns' ), 10 );
111
- add_action( 'manage_product_posts_custom_column', array(
112
- $this,
113
- 'woosw_product_posts_custom_column'
114
- ), 10, 2 );
115
- add_filter( 'manage_edit-product_sortable_columns', array(
116
- $this,
117
- 'woosw_product_sortable_columns'
118
- ) );
119
- add_filter( 'request', array( $this, 'woosw_product_request' ) );
120
 
121
  // post states
122
- add_filter( 'display_post_states', array( $this, 'woosw_display_post_states' ), 10, 2 );
123
 
124
  // user login & logout
125
- add_action( 'wp_login', array( $this, 'woosw_wp_login' ), 10, 2 );
126
- add_action( 'wp_logout', array( $this, 'woosw_wp_logout' ), 10, 1 );
127
 
128
  // user columns
129
- add_filter( 'manage_users_columns', array( $this, 'woosw_user_table' ) );
130
- add_filter( 'manage_users_custom_column', array( $this, 'woosw_user_table_row' ), 10, 3 );
131
 
132
  // dropdown multiple
133
  add_filter( 'wp_dropdown_cats', array( $this, 'dropdown_cats_multiple' ), 10, 2 );
@@ -536,18 +530,17 @@ if ( ! function_exists( 'woosw_init' ) ) {
536
  $facebook = $twitter = $pinterest = $mail = "<i class='woosw-icon'></i>";
537
  }
538
 
539
- $woosw_page_items = get_option( 'woosw_page_items' );
540
 
541
- if ( ! empty( $woosw_page_items ) ) {
542
  $return_html .= '<div class="woosw-share">';
543
  $return_html .= '<span class="woosw-share-label">' . esc_html__( 'Share on:', 'woo-smart-wishlist' ) . '</span>';
544
- $return_html .= ( in_array( "facebook", $woosw_page_items ) ) ? '<a class="woosw-share-facebook" href="https://www.facebook.com/sharer.php?u=' . $share_url . '" target="_blank">' . $facebook . '</a>' : '';
545
- $return_html .= ( in_array( "twitter", $woosw_page_items ) ) ? '<a class="woosw-share-twitter" href="https://twitter.com/share?url=' . $share_url . '" target="_blank">' . $twitter . '</a>' : '';
546
- $return_html .= ( in_array( "pinterest", $woosw_page_items ) ) ? '<a class="woosw-share-pinterest" href="https://pinterest.com/pin/create/button/?url=' . $share_url . '" target="_blank">' . $pinterest . '</a>' : '';
547
- $return_html .= ( in_array( "mail", $woosw_page_items ) ) ? '<a class="woosw-share-mail" href="mailto:?body=' . $share_url . '" target="_blank">' . $mail . '</a>' : '';
548
  $return_html .= '</div><!-- /woosw-share -->';
549
  }
550
-
551
  }
552
 
553
  if ( get_option( 'woosw_page_copy', 'yes' ) === 'yes' ) {
@@ -566,7 +559,7 @@ if ( ! function_exists( 'woosw_init' ) ) {
566
 
567
  function admin_menu() {
568
  add_submenu_page( 'wpclever', 'WPC Smart Wishlist', 'Smart Wishlist', 'manage_options', 'wpclever-woosw', array(
569
- &$this,
570
  'admin_menu_content'
571
  ) );
572
  }
@@ -604,8 +597,7 @@ if ( ! function_exists( 'woosw_init' ) ) {
604
  style="color: #c9356e">
605
  <?php esc_html_e( 'Premium Version', 'woo-smart-wishlist' ); ?>
606
  </a>
607
- <a href="<?php echo esc_url( admin_url( 'admin.php?page=wpclever-kit' ) ); ?>"
608
- class="nav-tab">
609
  <?php esc_html_e( 'Essential Kit', 'woo-smart-wishlist' ); ?>
610
  </a>
611
  </h2>
@@ -628,12 +620,10 @@ if ( ! function_exists( 'woosw_init' ) ) {
628
  <th scope="row"><?php esc_html_e( 'Disable the wishlist for unauthenticated users', 'woo-smart-wishlist' ); ?></th>
629
  <td>
630
  <select name="woosw_disable_unauthenticated">
631
- <option
632
- value="yes" <?php echo( get_option( 'woosw_disable_unauthenticated', 'no' ) === 'yes' ? 'selected' : '' ); ?>>
633
  <?php esc_html_e( 'Yes', 'woo-smart-wishlist' ); ?>
634
  </option>
635
- <option
636
- value="no" <?php echo( get_option( 'woosw_disable_unauthenticated', 'no' ) === 'no' ? 'selected' : '' ); ?>>
637
  <?php esc_html_e( 'No', 'woo-smart-wishlist' ); ?>
638
  </option>
639
  </select>
@@ -643,12 +633,10 @@ if ( ! function_exists( 'woosw_init' ) ) {
643
  <th scope="row"><?php esc_html_e( 'Auto remove', 'woo-smart-wishlist' ); ?></th>
644
  <td>
645
  <select name="woosw_auto_remove">
646
- <option
647
- value="yes" <?php echo( get_option( 'woosw_auto_remove', 'no' ) === 'yes' ? 'selected' : '' ); ?>>
648
  <?php esc_html_e( 'Yes', 'woo-smart-wishlist' ); ?>
649
  </option>
650
- <option
651
- value="no" <?php echo( get_option( 'woosw_auto_remove', 'no' ) === 'no' ? 'selected' : '' ); ?>>
652
  <?php esc_html_e( 'No', 'woo-smart-wishlist' ); ?>
653
  </option>
654
  </select>
@@ -671,12 +659,10 @@ if ( ! function_exists( 'woosw_init' ) ) {
671
  <th scope="row"><?php esc_html_e( 'Enable', 'woo-smart-wishlist' ); ?></th>
672
  <td>
673
  <select name="woosw_enable_multiple">
674
- <option
675
- value="yes" <?php echo( get_option( 'woosw_enable_multiple', 'no' ) === 'yes' ? 'selected' : '' ); ?>>
676
  <?php esc_html_e( 'Yes', 'woo-smart-wishlist' ); ?>
677
  </option>
678
- <option
679
- value="no" <?php echo( get_option( 'woosw_enable_multiple', 'no' ) === 'no' ? 'selected' : '' ); ?>>
680
  <?php esc_html_e( 'No', 'woo-smart-wishlist' ); ?>
681
  </option>
682
  </select>
@@ -702,12 +688,10 @@ if ( ! function_exists( 'woosw_init' ) ) {
702
  <th scope="row"><?php esc_html_e( 'Type', 'woo-smart-wishlist' ); ?></th>
703
  <td>
704
  <select name="woosw_button_type">
705
- <option
706
- value="button" <?php echo( get_option( 'woosw_button_type', 'button' ) === 'button' ? 'selected' : '' ); ?>>
707
  <?php esc_html_e( 'Button', 'woo-smart-wishlist' ); ?>
708
  </option>
709
- <option
710
- value="link" <?php echo( get_option( 'woosw_button_type', 'button' ) === 'link' ? 'selected' : '' ); ?>>
711
  <?php esc_html_e( 'Link', 'woo-smart-wishlist' ); ?>
712
  </option>
713
  </select>
@@ -717,16 +701,13 @@ if ( ! function_exists( 'woosw_init' ) ) {
717
  <th scope="row"><?php esc_html_e( 'Action', 'woo-smart-wishlist' ); ?></th>
718
  <td>
719
  <select name="woosw_button_action">
720
- <option
721
- value="message" <?php echo( get_option( 'woosw_button_action', 'list' ) === 'message' ? 'selected' : '' ); ?>>
722
  <?php esc_html_e( 'Show message', 'woo-smart-wishlist' ); ?>
723
  </option>
724
- <option
725
- value="list" <?php echo( get_option( 'woosw_button_action', 'list' ) === 'list' ? 'selected' : '' ); ?>>
726
  <?php esc_html_e( 'Show product list', 'woo-smart-wishlist' ); ?>
727
  </option>
728
- <option
729
- value="no" <?php echo( get_option( 'woosw_button_action', 'list' ) === 'no' ? 'selected' : '' ); ?>>
730
  <?php esc_html_e( 'Add to wishlist solely', 'woo-smart-wishlist' ); ?>
731
  </option>
732
  </select>
@@ -737,12 +718,10 @@ if ( ! function_exists( 'woosw_init' ) ) {
737
  <th scope="row"><?php esc_html_e( 'Action (added)', 'woo-smart-wishlist' ); ?></th>
738
  <td>
739
  <select name="woosw_button_action_added">
740
- <option
741
- value="popup" <?php echo( get_option( 'woosw_button_action_added', 'popup' ) === 'popup' ? 'selected' : '' ); ?>>
742
  <?php esc_html_e( 'Open wishlist popup', 'woo-smart-wishlist' ); ?>
743
  </option>
744
- <option
745
- value="page" <?php echo( get_option( 'woosw_button_action_added', 'popup' ) === 'page' ? 'selected' : '' ); ?>>
746
  <?php esc_html_e( 'Open wishlist page', 'woo-smart-wishlist' ); ?>
747
  </option>
748
  </select>
@@ -857,12 +836,10 @@ if ( ! function_exists( 'woosw_init' ) ) {
857
  <th scope="row"><?php esc_html_e( 'Use perfect-scrollbar', 'woo-smart-wishlist' ); ?></th>
858
  <td>
859
  <select name="woosw_perfect_scrollbar">
860
- <option
861
- value="yes" <?php echo( get_option( 'woosw_perfect_scrollbar', 'yes' ) === 'yes' ? 'selected' : '' ); ?>>
862
  <?php esc_html_e( 'Yes', 'woo-smart-wishlist' ); ?>
863
  </option>
864
- <option
865
- value="no" <?php echo( get_option( 'woosw_perfect_scrollbar', 'yes' ) === 'no' ? 'selected' : '' ); ?>>
866
  <?php esc_html_e( 'No', 'woo-smart-wishlist' ); ?>
867
  </option>
868
  </select>
@@ -883,20 +860,16 @@ if ( ! function_exists( 'woosw_init' ) ) {
883
  <th><?php esc_html_e( 'Link to individual product', 'woo-smart-wishlist' ); ?></th>
884
  <td>
885
  <select name="woosw_link">
886
- <option
887
- value="yes" <?php echo( get_option( 'woosw_link', 'yes' ) === 'yes' ? 'selected' : '' ); ?>>
888
  <?php esc_html_e( 'Yes, open in the same tab', 'woo-smart-wishlist' ); ?>
889
  </option>
890
- <option
891
- value="yes_blank" <?php echo( get_option( 'woosw_link', 'yes' ) === 'yes_blank' ? 'selected' : '' ); ?>>
892
  <?php esc_html_e( 'Yes, open in the new tab', 'woo-smart-wishlist' ); ?>
893
  </option>
894
- <option
895
- value="yes_popup" <?php echo( get_option( 'woosw_link', 'yes' ) === 'yes_popup' ? 'selected' : '' ); ?>>
896
  <?php esc_html_e( 'Yes, open quick view popup', 'woo-smart-wishlist' ); ?>
897
  </option>
898
- <option
899
- value="no" <?php echo( get_option( 'woosw_link', 'yes' ) === 'no' ? 'selected' : '' ); ?>>
900
  <?php esc_html_e( 'No', 'woo-smart-wishlist' ); ?>
901
  </option>
902
  </select>
@@ -909,12 +882,10 @@ if ( ! function_exists( 'woosw_init' ) ) {
909
  <th scope="row"><?php esc_html_e( 'Show note', 'woo-smart-wishlist' ); ?></th>
910
  <td>
911
  <select name="woosw_show_note">
912
- <option
913
- value="yes" <?php echo( get_option( 'woosw_show_note', 'no' ) === 'yes' ? 'selected' : '' ); ?>>
914
  <?php esc_html_e( 'Yes', 'woo-smart-wishlist' ); ?>
915
  </option>
916
- <option
917
- value="no" <?php echo( get_option( 'woosw_show_note', 'no' ) === 'no' ? 'selected' : '' ); ?>>
918
  <?php esc_html_e( 'No', 'woo-smart-wishlist' ); ?>
919
  </option>
920
  </select>
@@ -930,12 +901,10 @@ if ( ! function_exists( 'woosw_init' ) ) {
930
  <th scope="row"><?php esc_html_e( 'Empty wishlist button', 'woo-smart-wishlist' ); ?></th>
931
  <td>
932
  <select name="woosw_empty_button">
933
- <option
934
- value="yes" <?php echo( get_option( 'woosw_empty_button', 'no' ) === 'yes' ? 'selected' : '' ); ?>>
935
  <?php esc_html_e( 'Yes', 'woo-smart-wishlist' ); ?>
936
  </option>
937
- <option
938
- value="no" <?php echo( get_option( 'woosw_empty_button', 'no' ) === 'no' ? 'selected' : '' ); ?>>
939
  <?php esc_html_e( 'No', 'woo-smart-wishlist' ); ?>
940
  </option>
941
  </select>
@@ -975,12 +944,10 @@ if ( ! function_exists( 'woosw_init' ) ) {
975
  <th scope="row"><?php esc_html_e( 'Share buttons', 'woo-smart-wishlist' ); ?></th>
976
  <td>
977
  <select name="woosw_page_share">
978
- <option
979
- value="yes" <?php echo( get_option( 'woosw_page_share', 'yes' ) === 'yes' ? 'selected' : '' ); ?>>
980
  <?php esc_html_e( 'Yes', 'woo-smart-wishlist' ); ?>
981
  </option>
982
- <option
983
- value="no" <?php echo( get_option( 'woosw_page_share', 'yes' ) === 'no' ? 'selected' : '' ); ?>>
984
  <?php esc_html_e( 'No', 'woo-smart-wishlist' ); ?>
985
  </option>
986
  </select>
@@ -991,12 +958,10 @@ if ( ! function_exists( 'woosw_init' ) ) {
991
  <th scope="row"><?php esc_html_e( 'Use font icon', 'woo-smart-wishlist' ); ?></th>
992
  <td>
993
  <select name="woosw_page_icon">
994
- <option
995
- value="yes" <?php echo( get_option( 'woosw_page_icon', 'yes' ) === 'yes' ? 'selected' : '' ); ?>>
996
  <?php esc_html_e( 'Yes', 'woo-smart-wishlist' ); ?>
997
  </option>
998
- <option
999
- value="no" <?php echo( get_option( 'woosw_page_icon', 'yes' ) === 'no' ? 'selected' : '' ); ?>>
1000
  <?php esc_html_e( 'No', 'woo-smart-wishlist' ); ?>
1001
  </option>
1002
  </select>
@@ -1006,24 +971,24 @@ if ( ! function_exists( 'woosw_init' ) ) {
1006
  <th scope="row"><?php esc_html_e( 'Social links', 'woo-smart-wishlist' ); ?></th>
1007
  <td>
1008
  <?php
1009
- $woosw_page_items = get_option( 'woosw_page_items' );
1010
 
1011
- if ( empty( $woosw_page_items ) ) {
1012
- $woosw_page_items = array();
1013
  }
1014
  ?>
1015
  <select multiple name="woosw_page_items[]" id='woosw_page_items'>
1016
- <option <?php echo ( in_array( "facebook", $woosw_page_items ) ) ? "selected" : ""; ?>
1017
- value="facebook"><?php esc_html_e( 'Facebook', 'woo-smart-wishlist' ); ?>
1018
  </option>
1019
- <option <?php echo ( in_array( "twitter", $woosw_page_items ) ) ? "selected" : ""; ?>
1020
- value="twitter"><?php esc_html_e( 'Twitter', 'woo-smart-wishlist' ); ?>
1021
  </option>
1022
- <option <?php echo ( in_array( "pinterest", $woosw_page_items ) ) ? "selected" : ""; ?>
1023
- value="pinterest"><?php esc_html_e( 'Pinterest', 'woo-smart-wishlist' ); ?>
1024
  </option>
1025
- <option <?php echo ( in_array( "mail", $woosw_page_items ) ) ? "selected" : ""; ?>
1026
- value="mail"><?php esc_html_e( 'Mail', 'woo-smart-wishlist' ); ?>
1027
  </option>
1028
  </select>
1029
  </td>
@@ -1032,12 +997,10 @@ if ( ! function_exists( 'woosw_init' ) ) {
1032
  <th scope="row"><?php esc_html_e( 'Copy link', 'woo-smart-wishlist' ); ?></th>
1033
  <td>
1034
  <select name="woosw_page_copy">
1035
- <option
1036
- value="yes" <?php echo( get_option( 'woosw_page_copy', 'yes' ) === 'yes' ? 'selected' : '' ); ?>>
1037
  <?php esc_html_e( 'Yes', 'woo-smart-wishlist' ); ?>
1038
  </option>
1039
- <option
1040
- value="no" <?php echo( get_option( 'woosw_page_copy', 'yes' ) === 'no' ? 'selected' : '' ); ?>>
1041
  <?php esc_html_e( 'No', 'woo-smart-wishlist' ); ?>
1042
  </option>
1043
  </select>
@@ -1074,12 +1037,10 @@ if ( ! function_exists( 'woosw_init' ) ) {
1074
  <th scope="row"><?php esc_html_e( 'Action', 'woo-smart-wishlist' ); ?></th>
1075
  <td>
1076
  <select name="woosw_menu_action">
1077
- <option
1078
- value="open_page" <?php echo( get_option( 'woosw_menu_action', 'open_page' ) === 'open_page' ? 'selected' : '' ); ?>>
1079
  <?php esc_html_e( 'Open page', 'woo-smart-wishlist' ); ?>
1080
  </option>
1081
- <option
1082
- value="open_popup" <?php echo( get_option( 'woosw_menu_action', 'open_page' ) === 'open_popup' ? 'selected' : '' ); ?>>
1083
  <?php esc_html_e( 'Open popup', 'woo-smart-wishlist' ); ?>
1084
  </option>
1085
  </select>
@@ -1387,7 +1348,7 @@ if ( ! function_exists( 'woosw_init' ) ) {
1387
  <?php
1388
  }
1389
 
1390
- function wp_enqueue_scripts() {
1391
  // perfect srollbar
1392
  if ( get_option( 'woosw_perfect_scrollbar', 'yes' ) === 'yes' ) {
1393
  wp_enqueue_style( 'perfect-scrollbar', WOOSW_URI . 'assets/libs/perfect-scrollbar/css/perfect-scrollbar.min.css' );
@@ -1445,8 +1406,8 @@ if ( ! function_exists( 'woosw_init' ) ) {
1445
  }
1446
 
1447
  if ( $plugin === $file ) {
1448
- $settings = '<a href="' . admin_url( 'admin.php?page=wpclever-woosw&tab=settings' ) . '">' . esc_html__( 'Settings', 'woo-smart-wishlist' ) . '</a>';
1449
- $links['premium'] = '<a href="' . admin_url( 'admin.php?page=wpclever-woosw&tab=premium' ) . '" style="color: #c9356e">' . esc_html__( 'Premium Version', 'woo-smart-wishlist' ) . '</a>';
1450
  array_unshift( $links, $settings );
1451
  }
1452
 
@@ -1569,7 +1530,7 @@ if ( ! function_exists( 'woosw_init' ) ) {
1569
  return apply_filters( 'woosw_wishlist_items', $items_html, $key, $products );
1570
  }
1571
 
1572
- function woosw_nav_menu_items( $items, $args ) {
1573
  $selected = false;
1574
  $saved_menus = get_option( 'woosw_menus', array() );
1575
 
@@ -1826,13 +1787,13 @@ if ( ! function_exists( 'woosw_init' ) ) {
1826
  return apply_filters( 'woosw_wishlist_count', $count, $key );
1827
  }
1828
 
1829
- function woosw_product_columns( $columns ) {
1830
  $columns['woosw'] = esc_html__( 'Wishlist', 'woo-smart-wishlist' );
1831
 
1832
  return $columns;
1833
  }
1834
 
1835
- function woosw_product_posts_custom_column( $column, $postid ) {
1836
  if ( $column == 'woosw' ) {
1837
  if ( ( $count = (int) get_post_meta( $postid, 'woosw_count', true ) ) > 0 ) {
1838
  echo '<a href="#" class="woosw_action" data-pid="' . $postid . '">' . $count . '</a>';
@@ -1840,13 +1801,13 @@ if ( ! function_exists( 'woosw_init' ) ) {
1840
  }
1841
  }
1842
 
1843
- function woosw_product_sortable_columns( $columns ) {
1844
  $columns['woosw'] = 'woosw';
1845
 
1846
  return $columns;
1847
  }
1848
 
1849
- function woosw_product_request( $vars ) {
1850
  if ( isset( $vars['orderby'] ) && 'woosw' == $vars['orderby'] ) {
1851
  $vars = array_merge( $vars, array(
1852
  'meta_key' => 'woosw_count',
@@ -1857,7 +1818,7 @@ if ( ! function_exists( 'woosw_init' ) ) {
1857
  return $vars;
1858
  }
1859
 
1860
- function woosw_wp_login( $user_login, $user ) {
1861
  if ( isset( $user->data->ID ) ) {
1862
  $key = get_user_meta( $user->data->ID, 'woosw_key', true );
1863
 
@@ -1894,7 +1855,7 @@ if ( ! function_exists( 'woosw_init' ) ) {
1894
  }
1895
  }
1896
 
1897
- function woosw_wp_logout( $user_id ) {
1898
  if ( isset( $_COOKIE['woosw_key_ori'] ) && ! empty( $_COOKIE['woosw_key_ori'] ) ) {
1899
  $secure = apply_filters( 'woosw_cookie_secure', wc_site_is_https() && is_ssl() );
1900
  $httponly = apply_filters( 'woosw_cookie_httponly', true );
@@ -1906,7 +1867,7 @@ if ( ! function_exists( 'woosw_init' ) ) {
1906
  }
1907
  }
1908
 
1909
- function woosw_display_post_states( $states, $post ) {
1910
  if ( 'page' == get_post_type( $post->ID ) && $post->ID === absint( get_option( 'woosw_page_id' ) ) ) {
1911
  $states[] = esc_html__( 'Wishlist', 'woo-smart-wishlist' );
1912
  }
@@ -1914,13 +1875,13 @@ if ( ! function_exists( 'woosw_init' ) ) {
1914
  return $states;
1915
  }
1916
 
1917
- function woosw_user_table( $column ) {
1918
  $column['woosw'] = esc_html__( 'Wishlist', 'woo-smart-wishlist' );
1919
 
1920
  return $column;
1921
  }
1922
 
1923
- function woosw_user_table_row( $val, $column_name, $user_id ) {
1924
  if ( $column_name === 'woosw' ) {
1925
  $key = get_user_meta( $user_id, 'woosw_key', true );
1926
 
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: 3.0.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: 5.9
13
  WC requires at least: 3.0
14
+ WC tested up to: 6.5
15
  */
16
 
17
  defined( 'ABSPATH' ) || exit;
18
 
19
+ ! defined( 'WOOSW_VERSION' ) && define( 'WOOSW_VERSION', '3.0.1' );
20
  ! defined( 'WOOSW_URI' ) && define( 'WOOSW_URI', plugin_dir_url( __FILE__ ) );
21
  ! defined( 'WOOSW_REVIEWS' ) && define( 'WOOSW_REVIEWS', 'https://wordpress.org/support/plugin/woo-smart-wishlist/reviews/?filter=5' );
22
  ! defined( 'WOOSW_CHANGELOG' ) && define( 'WOOSW_CHANGELOG', 'https://wordpress.org/plugins/woo-smart-wishlist/#developers' );
60
  add_action( 'admin_menu', array( $this, 'admin_menu' ) );
61
 
62
  // frontend scripts
63
+ add_action( 'wp_enqueue_scripts', array( $this, 'enqueue_scripts' ) );
64
 
65
  // backend scripts
66
  add_action( 'admin_enqueue_scripts', array( $this, 'admin_enqueue_scripts' ) );
101
  add_filter( 'plugin_row_meta', array( $this, 'row_meta' ), 10, 2 );
102
 
103
  // menu items
104
+ add_filter( 'wp_nav_menu_items', array( $this, 'nav_menu_items' ), 99, 2 );
105
 
106
  // footer
107
  add_action( 'wp_footer', array( $this, 'wp_footer' ) );
108
 
109
  // product columns
110
+ add_filter( 'manage_edit-product_columns', array( $this, 'product_columns' ), 10 );
111
+ add_action( 'manage_product_posts_custom_column', array( $this, 'posts_custom_column' ), 10, 2 );
112
+ add_filter( 'manage_edit-product_sortable_columns', array( $this, 'sortable_columns' ) );
113
+ add_filter( 'request', array( $this, 'request' ) );
 
 
 
 
 
 
114
 
115
  // post states
116
+ add_filter( 'display_post_states', array( $this, 'display_post_states' ), 10, 2 );
117
 
118
  // user login & logout
119
+ add_action( 'wp_login', array( $this, 'wp_login' ), 10, 2 );
120
+ add_action( 'wp_logout', array( $this, 'wp_logout' ), 10, 1 );
121
 
122
  // user columns
123
+ add_filter( 'manage_users_columns', array( $this, 'users_columns' ) );
124
+ add_filter( 'manage_users_custom_column', array( $this, 'users_columns_content' ), 10, 3 );
125
 
126
  // dropdown multiple
127
  add_filter( 'wp_dropdown_cats', array( $this, 'dropdown_cats_multiple' ), 10, 2 );
530
  $facebook = $twitter = $pinterest = $mail = "<i class='woosw-icon'></i>";
531
  }
532
 
533
+ $share_items = get_option( 'woosw_page_items' );
534
 
535
+ if ( ! empty( $share_items ) ) {
536
  $return_html .= '<div class="woosw-share">';
537
  $return_html .= '<span class="woosw-share-label">' . esc_html__( 'Share on:', 'woo-smart-wishlist' ) . '</span>';
538
+ $return_html .= ( in_array( 'facebook', $share_items ) ) ? '<a class="woosw-share-facebook" href="https://www.facebook.com/sharer.php?u=' . $share_url . '" target="_blank">' . $facebook . '</a>' : '';
539
+ $return_html .= ( in_array( 'twitter', $share_items ) ) ? '<a class="woosw-share-twitter" href="https://twitter.com/share?url=' . $share_url . '" target="_blank">' . $twitter . '</a>' : '';
540
+ $return_html .= ( in_array( 'pinterest', $share_items ) ) ? '<a class="woosw-share-pinterest" href="https://pinterest.com/pin/create/button/?url=' . $share_url . '" target="_blank">' . $pinterest . '</a>' : '';
541
+ $return_html .= ( in_array( 'mail', $share_items ) ) ? '<a class="woosw-share-mail" href="mailto:?body=' . $share_url . '" target="_blank">' . $mail . '</a>' : '';
542
  $return_html .= '</div><!-- /woosw-share -->';
543
  }
 
544
  }
545
 
546
  if ( get_option( 'woosw_page_copy', 'yes' ) === 'yes' ) {
559
 
560
  function admin_menu() {
561
  add_submenu_page( 'wpclever', 'WPC Smart Wishlist', 'Smart Wishlist', 'manage_options', 'wpclever-woosw', array(
562
+ $this,
563
  'admin_menu_content'
564
  ) );
565
  }
597
  style="color: #c9356e">
598
  <?php esc_html_e( 'Premium Version', 'woo-smart-wishlist' ); ?>
599
  </a>
600
+ <a href="<?php echo admin_url( 'admin.php?page=wpclever-kit' ); ?>" class="nav-tab">
 
601
  <?php esc_html_e( 'Essential Kit', 'woo-smart-wishlist' ); ?>
602
  </a>
603
  </h2>
620
  <th scope="row"><?php esc_html_e( 'Disable the wishlist for unauthenticated users', 'woo-smart-wishlist' ); ?></th>
621
  <td>
622
  <select name="woosw_disable_unauthenticated">
623
+ <option value="yes" <?php echo esc_attr( get_option( 'woosw_disable_unauthenticated', 'no' ) === 'yes' ? 'selected' : '' ); ?>>
 
624
  <?php esc_html_e( 'Yes', 'woo-smart-wishlist' ); ?>
625
  </option>
626
+ <option value="no" <?php echo esc_attr( get_option( 'woosw_disable_unauthenticated', 'no' ) === 'no' ? 'selected' : '' ); ?>>
 
627
  <?php esc_html_e( 'No', 'woo-smart-wishlist' ); ?>
628
  </option>
629
  </select>
633
  <th scope="row"><?php esc_html_e( 'Auto remove', 'woo-smart-wishlist' ); ?></th>
634
  <td>
635
  <select name="woosw_auto_remove">
636
+ <option value="yes" <?php echo esc_attr( get_option( 'woosw_auto_remove', 'no' ) === 'yes' ? 'selected' : '' ); ?>>
 
637
  <?php esc_html_e( 'Yes', 'woo-smart-wishlist' ); ?>
638
  </option>
639
+ <option value="no" <?php echo esc_attr( get_option( 'woosw_auto_remove', 'no' ) === 'no' ? 'selected' : '' ); ?>>
 
640
  <?php esc_html_e( 'No', 'woo-smart-wishlist' ); ?>
641
  </option>
642
  </select>
659
  <th scope="row"><?php esc_html_e( 'Enable', 'woo-smart-wishlist' ); ?></th>
660
  <td>
661
  <select name="woosw_enable_multiple">
662
+ <option value="yes" <?php echo esc_attr( get_option( 'woosw_enable_multiple', 'no' ) === 'yes' ? 'selected' : '' ); ?>>
 
663
  <?php esc_html_e( 'Yes', 'woo-smart-wishlist' ); ?>
664
  </option>
665
+ <option value="no" <?php echo esc_attr( get_option( 'woosw_enable_multiple', 'no' ) === 'no' ? 'selected' : '' ); ?>>
 
666
  <?php esc_html_e( 'No', 'woo-smart-wishlist' ); ?>
667
  </option>
668
  </select>
688
  <th scope="row"><?php esc_html_e( 'Type', 'woo-smart-wishlist' ); ?></th>
689
  <td>
690
  <select name="woosw_button_type">
691
+ <option value="button" <?php echo esc_attr( get_option( 'woosw_button_type', 'button' ) === 'button' ? 'selected' : '' ); ?>>
 
692
  <?php esc_html_e( 'Button', 'woo-smart-wishlist' ); ?>
693
  </option>
694
+ <option value="link" <?php echo esc_attr( get_option( 'woosw_button_type', 'button' ) === 'link' ? 'selected' : '' ); ?>>
 
695
  <?php esc_html_e( 'Link', 'woo-smart-wishlist' ); ?>
696
  </option>
697
  </select>
701
  <th scope="row"><?php esc_html_e( 'Action', 'woo-smart-wishlist' ); ?></th>
702
  <td>
703
  <select name="woosw_button_action">
704
+ <option value="message" <?php echo esc_attr( get_option( 'woosw_button_action', 'list' ) === 'message' ? 'selected' : '' ); ?>>
 
705
  <?php esc_html_e( 'Show message', 'woo-smart-wishlist' ); ?>
706
  </option>
707
+ <option value="list" <?php echo esc_attr( get_option( 'woosw_button_action', 'list' ) === 'list' ? 'selected' : '' ); ?>>
 
708
  <?php esc_html_e( 'Show product list', 'woo-smart-wishlist' ); ?>
709
  </option>
710
+ <option value="no" <?php echo esc_attr( get_option( 'woosw_button_action', 'list' ) === 'no' ? 'selected' : '' ); ?>>
 
711
  <?php esc_html_e( 'Add to wishlist solely', 'woo-smart-wishlist' ); ?>
712
  </option>
713
  </select>
718
  <th scope="row"><?php esc_html_e( 'Action (added)', 'woo-smart-wishlist' ); ?></th>
719
  <td>
720
  <select name="woosw_button_action_added">
721
+ <option value="popup" <?php echo esc_attr( get_option( 'woosw_button_action_added', 'popup' ) === 'popup' ? 'selected' : '' ); ?>>
 
722
  <?php esc_html_e( 'Open wishlist popup', 'woo-smart-wishlist' ); ?>
723
  </option>
724
+ <option value="page" <?php echo esc_attr( get_option( 'woosw_button_action_added', 'popup' ) === 'page' ? 'selected' : '' ); ?>>
 
725
  <?php esc_html_e( 'Open wishlist page', 'woo-smart-wishlist' ); ?>
726
  </option>
727
  </select>
836
  <th scope="row"><?php esc_html_e( 'Use perfect-scrollbar', 'woo-smart-wishlist' ); ?></th>
837
  <td>
838
  <select name="woosw_perfect_scrollbar">
839
+ <option value="yes" <?php echo esc_attr( get_option( 'woosw_perfect_scrollbar', 'yes' ) === 'yes' ? 'selected' : '' ); ?>>
 
840
  <?php esc_html_e( 'Yes', 'woo-smart-wishlist' ); ?>
841
  </option>
842
+ <option value="no" <?php echo esc_attr( get_option( 'woosw_perfect_scrollbar', 'yes' ) === 'no' ? 'selected' : '' ); ?>>
 
843
  <?php esc_html_e( 'No', 'woo-smart-wishlist' ); ?>
844
  </option>
845
  </select>
860
  <th><?php esc_html_e( 'Link to individual product', 'woo-smart-wishlist' ); ?></th>
861
  <td>
862
  <select name="woosw_link">
863
+ <option value="yes" <?php echo esc_attr( get_option( 'woosw_link', 'yes' ) === 'yes' ? 'selected' : '' ); ?>>
 
864
  <?php esc_html_e( 'Yes, open in the same tab', 'woo-smart-wishlist' ); ?>
865
  </option>
866
+ <option value="yes_blank" <?php echo esc_attr( get_option( 'woosw_link', 'yes' ) === 'yes_blank' ? 'selected' : '' ); ?>>
 
867
  <?php esc_html_e( 'Yes, open in the new tab', 'woo-smart-wishlist' ); ?>
868
  </option>
869
+ <option value="yes_popup" <?php echo esc_attr( get_option( 'woosw_link', 'yes' ) === 'yes_popup' ? 'selected' : '' ); ?>>
 
870
  <?php esc_html_e( 'Yes, open quick view popup', 'woo-smart-wishlist' ); ?>
871
  </option>
872
+ <option value="no" <?php echo esc_attr( get_option( 'woosw_link', 'yes' ) === 'no' ? 'selected' : '' ); ?>>
 
873
  <?php esc_html_e( 'No', 'woo-smart-wishlist' ); ?>
874
  </option>
875
  </select>
882
  <th scope="row"><?php esc_html_e( 'Show note', 'woo-smart-wishlist' ); ?></th>
883
  <td>
884
  <select name="woosw_show_note">
885
+ <option value="yes" <?php echo esc_attr( get_option( 'woosw_show_note', 'no' ) === 'yes' ? 'selected' : '' ); ?>>
 
886
  <?php esc_html_e( 'Yes', 'woo-smart-wishlist' ); ?>
887
  </option>
888
+ <option value="no" <?php echo esc_attr( get_option( 'woosw_show_note', 'no' ) === 'no' ? 'selected' : '' ); ?>>
 
889
  <?php esc_html_e( 'No', 'woo-smart-wishlist' ); ?>
890
  </option>
891
  </select>
901
  <th scope="row"><?php esc_html_e( 'Empty wishlist button', 'woo-smart-wishlist' ); ?></th>
902
  <td>
903
  <select name="woosw_empty_button">
904
+ <option value="yes" <?php echo esc_attr( get_option( 'woosw_empty_button', 'no' ) === 'yes' ? 'selected' : '' ); ?>>
 
905
  <?php esc_html_e( 'Yes', 'woo-smart-wishlist' ); ?>
906
  </option>
907
+ <option value="no" <?php echo esc_attr( get_option( 'woosw_empty_button', 'no' ) === 'no' ? 'selected' : '' ); ?>>
 
908
  <?php esc_html_e( 'No', 'woo-smart-wishlist' ); ?>
909
  </option>
910
  </select>
944
  <th scope="row"><?php esc_html_e( 'Share buttons', 'woo-smart-wishlist' ); ?></th>
945
  <td>
946
  <select name="woosw_page_share">
947
+ <option value="yes" <?php echo esc_attr( get_option( 'woosw_page_share', 'yes' ) === 'yes' ? 'selected' : '' ); ?>>
 
948
  <?php esc_html_e( 'Yes', 'woo-smart-wishlist' ); ?>
949
  </option>
950
+ <option value="no" <?php echo esc_attr( get_option( 'woosw_page_share', 'yes' ) === 'no' ? 'selected' : '' ); ?>>
 
951
  <?php esc_html_e( 'No', 'woo-smart-wishlist' ); ?>
952
  </option>
953
  </select>
958
  <th scope="row"><?php esc_html_e( 'Use font icon', 'woo-smart-wishlist' ); ?></th>
959
  <td>
960
  <select name="woosw_page_icon">
961
+ <option value="yes" <?php echo esc_attr( get_option( 'woosw_page_icon', 'yes' ) === 'yes' ? 'selected' : '' ); ?>>
 
962
  <?php esc_html_e( 'Yes', 'woo-smart-wishlist' ); ?>
963
  </option>
964
+ <option value="no" <?php echo esc_attr( get_option( 'woosw_page_icon', 'yes' ) === 'no' ? 'selected' : '' ); ?>>
 
965
  <?php esc_html_e( 'No', 'woo-smart-wishlist' ); ?>
966
  </option>
967
  </select>
971
  <th scope="row"><?php esc_html_e( 'Social links', 'woo-smart-wishlist' ); ?></th>
972
  <td>
973
  <?php
974
+ $share_items = get_option( 'woosw_page_items' );
975
 
976
+ if ( empty( $share_items ) ) {
977
+ $share_items = array();
978
  }
979
  ?>
980
  <select multiple name="woosw_page_items[]" id='woosw_page_items'>
981
+ <option value="facebook" <?php echo esc_attr( in_array( 'facebook', $share_items ) ? 'selected' : '' ); ?>>
982
+ <?php esc_html_e( 'Facebook', 'woo-smart-wishlist' ); ?>
983
  </option>
984
+ <option value="twitter" <?php echo esc_attr( in_array( 'twitter', $share_items ) ? 'selected' : '' ); ?>>
985
+ <?php esc_html_e( 'Twitter', 'woo-smart-wishlist' ); ?>
986
  </option>
987
+ <option value="pinterest" <?php echo esc_attr( in_array( 'pinterest', $share_items ) ? 'selected' : '' ); ?>>
988
+ <?php esc_html_e( 'Pinterest', 'woo-smart-wishlist' ); ?>
989
  </option>
990
+ <option value="mail" <?php echo esc_attr( in_array( 'mail', $share_items ) ? 'selected' : '' ); ?>>
991
+ <?php esc_html_e( 'Mail', 'woo-smart-wishlist' ); ?>
992
  </option>
993
  </select>
994
  </td>
997
  <th scope="row"><?php esc_html_e( 'Copy link', 'woo-smart-wishlist' ); ?></th>
998
  <td>
999
  <select name="woosw_page_copy">
1000
+ <option value="yes" <?php echo esc_attr( get_option( 'woosw_page_copy', 'yes' ) === 'yes' ? 'selected' : '' ); ?>>
 
1001
  <?php esc_html_e( 'Yes', 'woo-smart-wishlist' ); ?>
1002
  </option>
1003
+ <option value="no" <?php echo esc_attr( get_option( 'woosw_page_copy', 'yes' ) === 'no' ? 'selected' : '' ); ?>>
 
1004
  <?php esc_html_e( 'No', 'woo-smart-wishlist' ); ?>
1005
  </option>
1006
  </select>
1037
  <th scope="row"><?php esc_html_e( 'Action', 'woo-smart-wishlist' ); ?></th>
1038
  <td>
1039
  <select name="woosw_menu_action">
1040
+ <option value="open_page" <?php echo esc_attr( get_option( 'woosw_menu_action', 'open_page' ) === 'open_page' ? 'selected' : '' ); ?>>
 
1041
  <?php esc_html_e( 'Open page', 'woo-smart-wishlist' ); ?>
1042
  </option>
1043
+ <option value="open_popup" <?php echo esc_attr( get_option( 'woosw_menu_action', 'open_page' ) === 'open_popup' ? 'selected' : '' ); ?>>
 
1044
  <?php esc_html_e( 'Open popup', 'woo-smart-wishlist' ); ?>
1045
  </option>
1046
  </select>
1348
  <?php
1349
  }
1350
 
1351
+ function enqueue_scripts() {
1352
  // perfect srollbar
1353
  if ( get_option( 'woosw_perfect_scrollbar', 'yes' ) === 'yes' ) {
1354
  wp_enqueue_style( 'perfect-scrollbar', WOOSW_URI . 'assets/libs/perfect-scrollbar/css/perfect-scrollbar.min.css' );
1406
  }
1407
 
1408
  if ( $plugin === $file ) {
1409
+ $settings = '<a href="' . admin_url( 'admin.php?page=wpclever-woosw&tab=settings' ) . '">' . esc_html__( 'Settings', 'woo-smart-wishlist' ) . '</a>';
1410
+ $links['wpc-premium'] = '<a href="' . admin_url( 'admin.php?page=wpclever-woosw&tab=premium' ) . '" style="color: #c9356e">' . esc_html__( 'Premium Version', 'woo-smart-wishlist' ) . '</a>';
1411
  array_unshift( $links, $settings );
1412
  }
1413
 
1530
  return apply_filters( 'woosw_wishlist_items', $items_html, $key, $products );
1531
  }
1532
 
1533
+ function nav_menu_items( $items, $args ) {
1534
  $selected = false;
1535
  $saved_menus = get_option( 'woosw_menus', array() );
1536
 
1787
  return apply_filters( 'woosw_wishlist_count', $count, $key );
1788
  }
1789
 
1790
+ function product_columns( $columns ) {
1791
  $columns['woosw'] = esc_html__( 'Wishlist', 'woo-smart-wishlist' );
1792
 
1793
  return $columns;
1794
  }
1795
 
1796
+ function posts_custom_column( $column, $postid ) {
1797
  if ( $column == 'woosw' ) {
1798
  if ( ( $count = (int) get_post_meta( $postid, 'woosw_count', true ) ) > 0 ) {
1799
  echo '<a href="#" class="woosw_action" data-pid="' . $postid . '">' . $count . '</a>';
1801
  }
1802
  }
1803
 
1804
+ function sortable_columns( $columns ) {
1805
  $columns['woosw'] = 'woosw';
1806
 
1807
  return $columns;
1808
  }
1809
 
1810
+ function request( $vars ) {
1811
  if ( isset( $vars['orderby'] ) && 'woosw' == $vars['orderby'] ) {
1812
  $vars = array_merge( $vars, array(
1813
  'meta_key' => 'woosw_count',
1818
  return $vars;
1819
  }
1820
 
1821
+ function wp_login( $user_login, $user ) {
1822
  if ( isset( $user->data->ID ) ) {
1823
  $key = get_user_meta( $user->data->ID, 'woosw_key', true );
1824
 
1855
  }
1856
  }
1857
 
1858
+ function wp_logout( $user_id ) {
1859
  if ( isset( $_COOKIE['woosw_key_ori'] ) && ! empty( $_COOKIE['woosw_key_ori'] ) ) {
1860
  $secure = apply_filters( 'woosw_cookie_secure', wc_site_is_https() && is_ssl() );
1861
  $httponly = apply_filters( 'woosw_cookie_httponly', true );
1867
  }
1868
  }
1869
 
1870
+ function display_post_states( $states, $post ) {
1871
  if ( 'page' == get_post_type( $post->ID ) && $post->ID === absint( get_option( 'woosw_page_id' ) ) ) {
1872
  $states[] = esc_html__( 'Wishlist', 'woo-smart-wishlist' );
1873
  }
1875
  return $states;
1876
  }
1877
 
1878
+ function users_columns( $column ) {
1879
  $column['woosw'] = esc_html__( 'Wishlist', 'woo-smart-wishlist' );
1880
 
1881
  return $column;
1882
  }
1883
 
1884
+ function users_columns_content( $val, $column_name, $user_id ) {
1885
  if ( $column_name === 'woosw' ) {
1886
  $key = get_user_meta( $user_id, 'woosw_key', true );
1887