Version Description
- Fixed: Minor JS/CSS issues
Download this release
Release Info
Developer | wpclever |
Plugin | WPC Smart Wishlist for WooCommerce |
Version | 4.2.0 |
Comparing to | |
See all releases |
Code changes from version 4.1.0 to 4.2.0
- assets/css/frontend.css +67 -45
- assets/js/frontend.js +14 -0
- languages/woo-smart-wishlist.pot +134 -134
- readme.txt +4 -1
- wpc-smart-wishlist.php +77 -61
assets/css/frontend.css
CHANGED
@@ -256,6 +256,7 @@ body.rtl .woosw-popup .woosw-popup-inner .woosw-popup-content .woosw-popup-conte
|
|
256 |
position: relative;
|
257 |
min-height: 80px;
|
258 |
flex: 1 1 auto;
|
|
|
259 |
padding: 0;
|
260 |
margin: 0;
|
261 |
background-color: #fff;
|
@@ -271,47 +272,55 @@ body.rtl .woosw-popup .woosw-popup-inner .woosw-popup-content .woosw-popup-conte
|
|
271 |
text-align: center;
|
272 |
}
|
273 |
|
274 |
-
.woosw-popup .woosw-
|
275 |
margin: 0;
|
276 |
-
padding: 0;
|
|
|
|
|
277 |
}
|
278 |
|
279 |
-
.woosw-popup .woosw-
|
280 |
-
|
281 |
-
padding: 10px;
|
282 |
}
|
283 |
|
284 |
-
.woosw-popup .woosw-
|
285 |
-
|
|
|
|
|
|
|
|
|
286 |
}
|
287 |
|
288 |
-
.woosw-popup .woosw-
|
289 |
-
|
290 |
}
|
291 |
|
292 |
-
.woosw-popup .woosw-
|
293 |
-
|
294 |
}
|
295 |
|
296 |
-
.woosw-popup .woosw-
|
297 |
-
|
298 |
}
|
299 |
|
300 |
-
.woosw-popup .woosw-
|
301 |
-
|
302 |
-
width: 16px;
|
303 |
}
|
304 |
|
305 |
-
.woosw-popup .woosw-
|
|
|
|
|
|
|
|
|
|
|
|
|
306 |
display: inline-block;
|
307 |
-
width:
|
308 |
-
height: 16px;
|
309 |
-
line-height: 16px;
|
310 |
text-align: center;
|
311 |
cursor: pointer;
|
312 |
}
|
313 |
|
314 |
-
.woosw-popup .woosw-
|
315 |
display: inline-block;
|
316 |
content: '\e9ea';
|
317 |
font-size: 16px;
|
@@ -325,34 +334,35 @@ body.rtl .woosw-popup .woosw-popup-inner .woosw-popup-content .woosw-popup-conte
|
|
325 |
-moz-osx-font-smoothing: grayscale;
|
326 |
}
|
327 |
|
328 |
-
.woosw-popup .woosw-
|
329 |
animation: woosw-spinner 1s linear infinite;
|
330 |
-webkit-animation: woosw-spinner 1s linear infinite;
|
331 |
}
|
332 |
|
333 |
-
.woosw-popup .woosw-
|
334 |
color: #cc6055;
|
335 |
}
|
336 |
|
337 |
-
.woosw-popup .woosw-
|
338 |
-
width:
|
|
|
339 |
}
|
340 |
|
341 |
-
.woosw-popup .woosw-
|
342 |
-
width:
|
343 |
height: auto;
|
344 |
-
border-radius: 2px;
|
345 |
border: none;
|
346 |
padding: 0;
|
347 |
margin: 0;
|
348 |
box-shadow: none;
|
349 |
}
|
350 |
|
351 |
-
.woosw-popup .woosw-
|
352 |
font-weight: 700;
|
|
|
353 |
}
|
354 |
|
355 |
-
.woosw-popup .woosw-
|
356 |
border: none;
|
357 |
padding: 0;
|
358 |
margin: 0;
|
@@ -360,15 +370,11 @@ body.rtl .woosw-popup .woosw-popup-inner .woosw-popup-content .woosw-popup-conte
|
|
360 |
|
361 |
.woosw-popup .woosw-popup-inner .woosw-popup-content .woosw-popup-content-bot {
|
362 |
flex: 0 0 auto;
|
363 |
-
|
364 |
-
line-height: 48px;
|
365 |
-
padding: 0 20px;
|
366 |
position: relative;
|
367 |
color: #fff;
|
368 |
font-size: 14px;
|
369 |
text-transform: uppercase;
|
370 |
-
background-color: #222;
|
371 |
-
overflow: hidden;
|
372 |
}
|
373 |
|
374 |
.woosw-popup .woosw-popup-inner .woosw-popup-content .woosw-popup-content-bot .woosw-popup-content-bot-inner {
|
@@ -381,16 +387,13 @@ body.rtl .woosw-popup .woosw-popup-inner .woosw-popup-content .woosw-popup-conte
|
|
381 |
}
|
382 |
|
383 |
.woosw-popup .woosw-popup-inner .woosw-popup-content .woosw-popup-content-bot .woosw-popup-content-bot-inner a, .woosw-popup .woosw-popup-inner .woosw-popup-content .woosw-popup-content-bot .woosw-popup-content-bot-inner span {
|
384 |
-
|
385 |
-
text-decoration:
|
|
|
386 |
outline: none;
|
387 |
cursor: pointer;
|
388 |
}
|
389 |
|
390 |
-
.woosw-popup .woosw-popup-inner .woosw-popup-content .woosw-popup-content-bot .woosw-popup-content-bot-inner a:hover {
|
391 |
-
color: #5fbd74;
|
392 |
-
}
|
393 |
-
|
394 |
.woosw-popup .woosw-popup-inner .woosw-popup-content .woosw-popup-content-bot .woosw-notice {
|
395 |
display: block;
|
396 |
text-align: center;
|
@@ -403,17 +406,24 @@ body.rtl .woosw-popup .woosw-popup-inner .woosw-popup-content .woosw-popup-conte
|
|
403 |
font-weight: 400;
|
404 |
background-color: #5fbd74;
|
405 |
position: absolute;
|
406 |
-
top: 50px;
|
407 |
left: 0;
|
|
|
|
|
|
|
408 |
-webkit-transition: all 0.5s;
|
409 |
-moz-transition: all 0.5s;
|
410 |
-ms-transition: all 0.5s;
|
411 |
-o-transition: all 0.5s;
|
412 |
transition: all 0.5s;
|
|
|
|
|
413 |
}
|
414 |
|
415 |
.woosw-popup .woosw-popup-inner .woosw-popup-content .woosw-popup-content-bot .woosw-notice.woosw-notice-show {
|
416 |
-
|
|
|
|
|
|
|
417 |
}
|
418 |
|
419 |
.woosw-items .woosw-item .woosw-item--note {
|
@@ -690,12 +700,18 @@ body.rtl .woosw-list .woosw-share .woosw-share-label, body.rtl .woosw-list .woos
|
|
690 |
-webkit-transform: translate3d(0, 0, 0);
|
691 |
}
|
692 |
|
693 |
-
.woosw-popup.woosw-popup-right .woosw-popup-inner .woosw-popup-content .woosw-popup-content-top
|
694 |
background-color: rgba(0, 0, 0, .1);
|
695 |
color: #222222;
|
696 |
text-transform: uppercase;
|
697 |
}
|
698 |
|
|
|
|
|
|
|
|
|
|
|
|
|
699 |
.woosw-popup.woosw-popup-right .woosw-popup-inner .woosw-popup-content .woosw-popup-content-top a, .woosw-popup.woosw-popup-right .woosw-popup-inner .woosw-popup-content .woosw-popup-content-top .woosw-empty, .woosw-popup.woosw-popup-right .woosw-popup-inner .woosw-popup-content .woosw-popup-content-top .woosw-manage, .woosw-popup.woosw-popup-right .woosw-popup-inner .woosw-popup-content .woosw-popup-content-top .woosw-popup-close, .woosw-popup.woosw-popup-right .woosw-popup-inner .woosw-popup-content .woosw-popup-content-bot a, .woosw-popup.woosw-popup-right .woosw-popup-inner .woosw-popup-content .woosw-popup-content-bot .woosw-continue {
|
700 |
color: #222222;
|
701 |
}
|
@@ -720,12 +736,18 @@ body.rtl .woosw-list .woosw-share .woosw-share-label, body.rtl .woosw-list .woos
|
|
720 |
background-color: rgba(0, 0, 0, .1);
|
721 |
}
|
722 |
|
723 |
-
.woosw-popup.woosw-popup-left .woosw-popup-inner .woosw-popup-content .woosw-popup-content-top
|
724 |
background-color: rgba(0, 0, 0, .1);
|
725 |
color: #222222;
|
726 |
text-transform: uppercase;
|
727 |
}
|
728 |
|
|
|
|
|
|
|
|
|
|
|
|
|
729 |
.woosw-popup.woosw-popup-left .woosw-popup-inner .woosw-popup-content .woosw-popup-content-top a, .woosw-popup.woosw-popup-left .woosw-popup-inner .woosw-popup-content .woosw-popup-content-top .woosw-empty, .woosw-popup.woosw-popup-left .woosw-popup-inner .woosw-popup-content .woosw-popup-content-top .woosw-manage, .woosw-popup.woosw-popup-left .woosw-popup-inner .woosw-popup-content .woosw-popup-content-top .woosw-popup-close, .woosw-popup.woosw-popup-left .woosw-popup-inner .woosw-popup-content .woosw-popup-content-bot a, .woosw-popup.woosw-popup-left .woosw-popup-inner .woosw-popup-content .woosw-popup-content-bot .woosw-continue {
|
730 |
color: #222222;
|
731 |
}
|
256 |
position: relative;
|
257 |
min-height: 80px;
|
258 |
flex: 1 1 auto;
|
259 |
+
flex-grow: 1;
|
260 |
padding: 0;
|
261 |
margin: 0;
|
262 |
background-color: #fff;
|
272 |
text-align: center;
|
273 |
}
|
274 |
|
275 |
+
.woosw-popup .woosw-items {
|
276 |
margin: 0;
|
277 |
+
padding: 10px 0;
|
278 |
+
overflow-y: auto;
|
279 |
+
position: relative;
|
280 |
}
|
281 |
|
282 |
+
.woosw-popup .woosw-items .woosw-item {
|
283 |
+
padding: 0 20px;
|
|
|
284 |
}
|
285 |
|
286 |
+
.woosw-popup .woosw-items .woosw-item .woosw-item-inner {
|
287 |
+
display: flex;
|
288 |
+
align-items: center;
|
289 |
+
justify-content: space-between;
|
290 |
+
padding: 10px 0;
|
291 |
+
border-top: 1px dashed #eeeeee;
|
292 |
}
|
293 |
|
294 |
+
.woosw-popup .woosw-items .woosw-item:first-child .woosw-item-inner {
|
295 |
+
border-top: none;
|
296 |
}
|
297 |
|
298 |
+
.woosw-popup .woosw-items .woosw-item .woosw-item-inner > div {
|
299 |
+
margin-right: 10px;
|
300 |
}
|
301 |
|
302 |
+
.woosw-popup .woosw-items .woosw-item .woosw-item-inner > div:last-child {
|
303 |
+
margin-right: 0;
|
304 |
}
|
305 |
|
306 |
+
.woosw-popup .woosw-items .woosw-item .woosw-item-inner .woosw-item--info {
|
307 |
+
flex-grow: 1;
|
|
|
308 |
}
|
309 |
|
310 |
+
.woosw-popup .woosw-items .woosw-item .woosw-item--remove {
|
311 |
+
width: 14px;
|
312 |
+
flex: 0 0 14px;
|
313 |
+
font-size: 0;
|
314 |
+
}
|
315 |
+
|
316 |
+
.woosw-popup .woosw-items .woosw-item .woosw-item--remove span {
|
317 |
display: inline-block;
|
318 |
+
width: 14px;
|
|
|
|
|
319 |
text-align: center;
|
320 |
cursor: pointer;
|
321 |
}
|
322 |
|
323 |
+
.woosw-popup .woosw-items .woosw-item .woosw-item--remove span:before {
|
324 |
display: inline-block;
|
325 |
content: '\e9ea';
|
326 |
font-size: 16px;
|
334 |
-moz-osx-font-smoothing: grayscale;
|
335 |
}
|
336 |
|
337 |
+
.woosw-popup .woosw-items .woosw-item .woosw-item--remove span.woosw-removing:before {
|
338 |
animation: woosw-spinner 1s linear infinite;
|
339 |
-webkit-animation: woosw-spinner 1s linear infinite;
|
340 |
}
|
341 |
|
342 |
+
.woosw-popup .woosw-items .woosw-item .woosw-item--remove span:hover:before {
|
343 |
color: #cc6055;
|
344 |
}
|
345 |
|
346 |
+
.woosw-popup .woosw-items .woosw-item .woosw-item--image {
|
347 |
+
width: 80px;
|
348 |
+
flex: 0 0 80px;
|
349 |
}
|
350 |
|
351 |
+
.woosw-popup .woosw-items .woosw-item .woosw-item--image img {
|
352 |
+
width: 100%;
|
353 |
height: auto;
|
|
|
354 |
border: none;
|
355 |
padding: 0;
|
356 |
margin: 0;
|
357 |
box-shadow: none;
|
358 |
}
|
359 |
|
360 |
+
.woosw-popup .woosw-items .woosw-item .woosw-item--name, .woosw-popup .woosw-items .woosw-item .woosw-item--name a {
|
361 |
font-weight: 700;
|
362 |
+
text-decoration: none;
|
363 |
}
|
364 |
|
365 |
+
.woosw-popup .woosw-items .woosw-item .woosw-item--add p, .woosw-popup .woosw-items .woosw-item .woosw-item--add .add_to_cart_inline {
|
366 |
border: none;
|
367 |
padding: 0;
|
368 |
margin: 0;
|
370 |
|
371 |
.woosw-popup .woosw-popup-inner .woosw-popup-content .woosw-popup-content-bot {
|
372 |
flex: 0 0 auto;
|
373 |
+
padding: 20px;
|
|
|
|
|
374 |
position: relative;
|
375 |
color: #fff;
|
376 |
font-size: 14px;
|
377 |
text-transform: uppercase;
|
|
|
|
|
378 |
}
|
379 |
|
380 |
.woosw-popup .woosw-popup-inner .woosw-popup-content .woosw-popup-content-bot .woosw-popup-content-bot-inner {
|
387 |
}
|
388 |
|
389 |
.woosw-popup .woosw-popup-inner .woosw-popup-content .woosw-popup-content-bot .woosw-popup-content-bot-inner a, .woosw-popup .woosw-popup-inner .woosw-popup-content .woosw-popup-content-bot .woosw-popup-content-bot-inner span {
|
390 |
+
line-height: 1.2;
|
391 |
+
text-decoration: none;
|
392 |
+
border-bottom: 1px solid #222222;
|
393 |
outline: none;
|
394 |
cursor: pointer;
|
395 |
}
|
396 |
|
|
|
|
|
|
|
|
|
397 |
.woosw-popup .woosw-popup-inner .woosw-popup-content .woosw-popup-content-bot .woosw-notice {
|
398 |
display: block;
|
399 |
text-align: center;
|
406 |
font-weight: 400;
|
407 |
background-color: #5fbd74;
|
408 |
position: absolute;
|
|
|
409 |
left: 0;
|
410 |
+
bottom: 0;
|
411 |
+
transform: translate3d(0, 100%, 0);
|
412 |
+
-webkit-transform: translate3d(0, 100%, 0);
|
413 |
-webkit-transition: all 0.5s;
|
414 |
-moz-transition: all 0.5s;
|
415 |
-ms-transition: all 0.5s;
|
416 |
-o-transition: all 0.5s;
|
417 |
transition: all 0.5s;
|
418 |
+
opacity: 0;
|
419 |
+
visibility: hidden;
|
420 |
}
|
421 |
|
422 |
.woosw-popup .woosw-popup-inner .woosw-popup-content .woosw-popup-content-bot .woosw-notice.woosw-notice-show {
|
423 |
+
transform: translate3d(0, 0, 0);
|
424 |
+
-webkit-transform: translate3d(0, 0, 0);
|
425 |
+
opacity: 1;
|
426 |
+
visibility: visible;
|
427 |
}
|
428 |
|
429 |
.woosw-items .woosw-item .woosw-item--note {
|
700 |
-webkit-transform: translate3d(0, 0, 0);
|
701 |
}
|
702 |
|
703 |
+
.woosw-popup.woosw-popup-right .woosw-popup-inner .woosw-popup-content .woosw-popup-content-top {
|
704 |
background-color: rgba(0, 0, 0, .1);
|
705 |
color: #222222;
|
706 |
text-transform: uppercase;
|
707 |
}
|
708 |
|
709 |
+
.woosw-popup.woosw-popup-right .woosw-popup-inner .woosw-popup-content .woosw-popup-content-bot {
|
710 |
+
background-color: #ffffff;
|
711 |
+
color: #222222;
|
712 |
+
text-transform: uppercase;
|
713 |
+
}
|
714 |
+
|
715 |
.woosw-popup.woosw-popup-right .woosw-popup-inner .woosw-popup-content .woosw-popup-content-top a, .woosw-popup.woosw-popup-right .woosw-popup-inner .woosw-popup-content .woosw-popup-content-top .woosw-empty, .woosw-popup.woosw-popup-right .woosw-popup-inner .woosw-popup-content .woosw-popup-content-top .woosw-manage, .woosw-popup.woosw-popup-right .woosw-popup-inner .woosw-popup-content .woosw-popup-content-top .woosw-popup-close, .woosw-popup.woosw-popup-right .woosw-popup-inner .woosw-popup-content .woosw-popup-content-bot a, .woosw-popup.woosw-popup-right .woosw-popup-inner .woosw-popup-content .woosw-popup-content-bot .woosw-continue {
|
716 |
color: #222222;
|
717 |
}
|
736 |
background-color: rgba(0, 0, 0, .1);
|
737 |
}
|
738 |
|
739 |
+
.woosw-popup.woosw-popup-left .woosw-popup-inner .woosw-popup-content .woosw-popup-content-top {
|
740 |
background-color: rgba(0, 0, 0, .1);
|
741 |
color: #222222;
|
742 |
text-transform: uppercase;
|
743 |
}
|
744 |
|
745 |
+
.woosw-popup.woosw-popup-left .woosw-popup-inner .woosw-popup-content .woosw-popup-content-bot {
|
746 |
+
background-color: #ffffff;
|
747 |
+
color: #222222;
|
748 |
+
text-transform: uppercase;
|
749 |
+
}
|
750 |
+
|
751 |
.woosw-popup.woosw-popup-left .woosw-popup-inner .woosw-popup-content .woosw-popup-content-top a, .woosw-popup.woosw-popup-left .woosw-popup-inner .woosw-popup-content .woosw-popup-content-top .woosw-empty, .woosw-popup.woosw-popup-left .woosw-popup-inner .woosw-popup-content .woosw-popup-content-top .woosw-manage, .woosw-popup.woosw-popup-left .woosw-popup-inner .woosw-popup-content .woosw-popup-content-top .woosw-popup-close, .woosw-popup.woosw-popup-left .woosw-popup-inner .woosw-popup-content .woosw-popup-content-bot a, .woosw-popup.woosw-popup-left .woosw-popup-inner .woosw-popup-content .woosw-popup-content-bot .woosw-continue {
|
752 |
color: #222222;
|
753 |
}
|
assets/js/frontend.js
CHANGED
@@ -429,6 +429,11 @@
|
|
429 |
});
|
430 |
});
|
431 |
|
|
|
|
|
|
|
|
|
|
|
432 |
function woosw_wishlist_load() {
|
433 |
var data = {
|
434 |
action: 'wishlist_load',
|
@@ -471,6 +476,7 @@
|
|
471 |
|
472 |
function woosw_wishlist_show() {
|
473 |
$('#woosw_wishlist').addClass('woosw-show');
|
|
|
474 |
|
475 |
$(document.body).trigger('woosw_wishlist_show');
|
476 |
}
|
@@ -636,4 +642,12 @@
|
|
636 |
|
637 |
return '';
|
638 |
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
639 |
})(jQuery);
|
429 |
});
|
430 |
});
|
431 |
|
432 |
+
// resize
|
433 |
+
$(window).on('resize', function() {
|
434 |
+
woosw_fix_height();
|
435 |
+
});
|
436 |
+
|
437 |
function woosw_wishlist_load() {
|
438 |
var data = {
|
439 |
action: 'wishlist_load',
|
476 |
|
477 |
function woosw_wishlist_show() {
|
478 |
$('#woosw_wishlist').addClass('woosw-show');
|
479 |
+
woosw_fix_height();
|
480 |
|
481 |
$(document.body).trigger('woosw_wishlist_show');
|
482 |
}
|
642 |
|
643 |
return '';
|
644 |
}
|
645 |
+
|
646 |
+
function woosw_fix_height() {
|
647 |
+
// fix for center only
|
648 |
+
jQuery('.woosw-popup-center .woosw-popup-content').
|
649 |
+
height(2 * Math.floor(
|
650 |
+
jQuery('.woosw-popup-center .woosw-popup-content').height() / 2) +
|
651 |
+
2);
|
652 |
+
}
|
653 |
})(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.
|
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-06-
|
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"
|
@@ -37,7 +37,7 @@ msgstr ""
|
|
37 |
#: wpc-smart-wishlist.php:284
|
38 |
#: wpc-smart-wishlist.php:337
|
39 |
#: wpc-smart-wishlist.php:380
|
40 |
-
#: wpc-smart-wishlist.php:
|
41 |
msgid "Please log in to use the Wishlist!"
|
42 |
msgstr ""
|
43 |
|
@@ -45,39 +45,39 @@ msgstr ""
|
|
45 |
#: wpc-smart-wishlist.php:354
|
46 |
#: wpc-smart-wishlist.php:398
|
47 |
#: wpc-smart-wishlist.php:413
|
48 |
-
#: wpc-smart-wishlist.php:
|
49 |
-
#: wpc-smart-wishlist.php:
|
50 |
msgid "There are no products on the Wishlist!"
|
51 |
msgstr ""
|
52 |
|
53 |
#: wpc-smart-wishlist.php:303
|
54 |
-
#: wpc-smart-wishlist.php:
|
55 |
msgid "{name} has been added to Wishlist."
|
56 |
msgstr ""
|
57 |
|
58 |
#: wpc-smart-wishlist.php:305
|
59 |
-
#: wpc-smart-wishlist.php:
|
60 |
msgid "{name} is already in the Wishlist."
|
61 |
msgstr ""
|
62 |
|
63 |
#: wpc-smart-wishlist.php:318
|
64 |
#: wpc-smart-wishlist.php:362
|
65 |
-
#: wpc-smart-wishlist.php:
|
66 |
msgid "Have an error, please try again!"
|
67 |
msgstr ""
|
68 |
|
69 |
#: wpc-smart-wishlist.php:351
|
70 |
-
#: wpc-smart-wishlist.php:
|
71 |
msgid "Product has been removed from the Wishlist."
|
72 |
msgstr ""
|
73 |
|
74 |
#: wpc-smart-wishlist.php:357
|
75 |
-
#: wpc-smart-wishlist.php:
|
76 |
msgid "The product does not exist on the Wishlist!"
|
77 |
msgstr ""
|
78 |
|
79 |
#: wpc-smart-wishlist.php:397
|
80 |
-
#: wpc-smart-wishlist.php:
|
81 |
msgid "All products have been removed from the Wishlist!"
|
82 |
msgstr ""
|
83 |
|
@@ -87,40 +87,40 @@ msgid "Please log in to use Wishlist!"
|
|
87 |
msgstr ""
|
88 |
|
89 |
#: wpc-smart-wishlist.php:477
|
90 |
-
#: wpc-smart-wishlist.php:
|
91 |
-
#: wpc-smart-wishlist.php:
|
92 |
msgid "Add note"
|
93 |
msgstr ""
|
94 |
|
95 |
#: wpc-smart-wishlist.php:625
|
96 |
-
#: wpc-smart-wishlist.php:
|
97 |
-
#: wpc-smart-wishlist.php:
|
98 |
msgid "Browse wishlist"
|
99 |
msgstr ""
|
100 |
|
101 |
#: wpc-smart-wishlist.php:627
|
102 |
-
#: wpc-smart-wishlist.php:
|
103 |
-
#: wpc-smart-wishlist.php:
|
104 |
msgid "Add to wishlist"
|
105 |
msgstr ""
|
106 |
|
107 |
#: wpc-smart-wishlist.php:660
|
108 |
-
#: wpc-smart-wishlist.php:
|
109 |
msgid "Facebook"
|
110 |
msgstr ""
|
111 |
|
112 |
#: wpc-smart-wishlist.php:661
|
113 |
-
#: wpc-smart-wishlist.php:
|
114 |
msgid "Twitter"
|
115 |
msgstr ""
|
116 |
|
117 |
#: wpc-smart-wishlist.php:662
|
118 |
-
#: wpc-smart-wishlist.php:
|
119 |
msgid "Pinterest"
|
120 |
msgstr ""
|
121 |
|
122 |
#: wpc-smart-wishlist.php:663
|
123 |
-
#: wpc-smart-wishlist.php:
|
124 |
msgid "Mail"
|
125 |
msgstr ""
|
126 |
|
@@ -153,17 +153,17 @@ msgid "Discussion"
|
|
153 |
msgstr ""
|
154 |
|
155 |
#: wpc-smart-wishlist.php:725
|
156 |
-
#: wpc-smart-wishlist.php:
|
157 |
msgid "Settings"
|
158 |
msgstr ""
|
159 |
|
160 |
#: wpc-smart-wishlist.php:729
|
161 |
-
#: wpc-smart-wishlist.php:
|
162 |
msgid "Localization"
|
163 |
msgstr ""
|
164 |
|
165 |
#: wpc-smart-wishlist.php:734
|
166 |
-
#: wpc-smart-wishlist.php:
|
167 |
msgid "Premium Version"
|
168 |
msgstr ""
|
169 |
|
@@ -184,10 +184,10 @@ msgstr ""
|
|
184 |
#: wpc-smart-wishlist.php:797
|
185 |
#: wpc-smart-wishlist.php:1015
|
186 |
#: wpc-smart-wishlist.php:1061
|
187 |
-
#: wpc-smart-wishlist.php:
|
188 |
-
#: wpc-smart-wishlist.php:
|
189 |
-
#: wpc-smart-wishlist.php:
|
190 |
-
#: wpc-smart-wishlist.php:
|
191 |
msgid "Yes"
|
192 |
msgstr ""
|
193 |
|
@@ -197,10 +197,10 @@ msgstr ""
|
|
197 |
#: wpc-smart-wishlist.php:1018
|
198 |
#: wpc-smart-wishlist.php:1048
|
199 |
#: wpc-smart-wishlist.php:1064
|
200 |
-
#: wpc-smart-wishlist.php:
|
201 |
-
#: wpc-smart-wishlist.php:
|
202 |
-
#: wpc-smart-wishlist.php:
|
203 |
-
#: wpc-smart-wishlist.php:
|
204 |
msgid "No"
|
205 |
msgstr ""
|
206 |
|
@@ -213,7 +213,7 @@ msgid "Auto remove product from the wishlist after adding to the cart."
|
|
213 |
msgstr ""
|
214 |
|
215 |
#: wpc-smart-wishlist.php:784
|
216 |
-
#: wpc-smart-wishlist.php:
|
217 |
msgid "Multiple Wishlist"
|
218 |
msgstr ""
|
219 |
|
@@ -247,7 +247,7 @@ msgid "Link"
|
|
247 |
msgstr ""
|
248 |
|
249 |
#: wpc-smart-wishlist.php:835
|
250 |
-
#: wpc-smart-wishlist.php:
|
251 |
msgid "Action"
|
252 |
msgstr ""
|
253 |
|
@@ -257,7 +257,7 @@ msgstr ""
|
|
257 |
|
258 |
#: wpc-smart-wishlist.php:842
|
259 |
#: wpc-smart-wishlist.php:881
|
260 |
-
#: wpc-smart-wishlist.php:
|
261 |
msgid "Open wishlist popup"
|
262 |
msgstr ""
|
263 |
|
@@ -302,10 +302,10 @@ msgid "Action (added)"
|
|
302 |
msgstr ""
|
303 |
|
304 |
#: wpc-smart-wishlist.php:884
|
305 |
-
#: wpc-smart-wishlist.php:
|
306 |
-
#: wpc-smart-wishlist.php:
|
307 |
-
#: wpc-smart-wishlist.php:
|
308 |
-
#: wpc-smart-wishlist.php:
|
309 |
msgid "Open wishlist page"
|
310 |
msgstr ""
|
311 |
|
@@ -454,295 +454,295 @@ msgstr ""
|
|
454 |
msgid "Show note on each product for all visitors. Only wishlist owner can add/edit these notes."
|
455 |
msgstr ""
|
456 |
|
457 |
-
#: wpc-smart-wishlist.php:
|
458 |
-
#: wpc-smart-wishlist.php:
|
459 |
msgid "Empty wishlist button"
|
460 |
msgstr ""
|
461 |
|
462 |
-
#: wpc-smart-wishlist.php:
|
463 |
msgid "Show empty wishlist button on the popup?"
|
464 |
msgstr ""
|
465 |
|
466 |
-
#: wpc-smart-wishlist.php:
|
467 |
msgid "Continue shopping link"
|
468 |
msgstr ""
|
469 |
|
470 |
-
#: wpc-smart-wishlist.php:
|
471 |
msgid "By default, the wishlist popup will only be closed when customers click on the \"Continue Shopping\" button."
|
472 |
msgstr ""
|
473 |
|
474 |
-
#: wpc-smart-wishlist.php:
|
475 |
msgid "Page"
|
476 |
msgstr ""
|
477 |
|
478 |
-
#: wpc-smart-wishlist.php:
|
479 |
msgid "Settings for wishlist page."
|
480 |
msgstr ""
|
481 |
|
482 |
-
#: wpc-smart-wishlist.php:
|
483 |
msgid "Wishlist page"
|
484 |
msgstr ""
|
485 |
|
486 |
-
#: wpc-smart-wishlist.php:
|
487 |
msgid "Choose a page"
|
488 |
msgstr ""
|
489 |
|
490 |
-
#: wpc-smart-wishlist.php:
|
491 |
msgid "Add shortcode %s to display the wishlist on a page."
|
492 |
msgstr ""
|
493 |
|
494 |
-
#: wpc-smart-wishlist.php:
|
495 |
msgid "Share buttons"
|
496 |
msgstr ""
|
497 |
|
498 |
-
#: wpc-smart-wishlist.php:
|
499 |
msgid "Enable share buttons on the wishlist page?"
|
500 |
msgstr ""
|
501 |
|
502 |
-
#: wpc-smart-wishlist.php:
|
503 |
msgid "Use font icon"
|
504 |
msgstr ""
|
505 |
|
506 |
-
#: wpc-smart-wishlist.php:
|
507 |
msgid "Social links"
|
508 |
msgstr ""
|
509 |
|
510 |
-
#: wpc-smart-wishlist.php:
|
511 |
msgid "Copy link"
|
512 |
msgstr ""
|
513 |
|
514 |
-
#: wpc-smart-wishlist.php:
|
515 |
msgid "Enable copy wishlist link to share?"
|
516 |
msgstr ""
|
517 |
|
518 |
-
#: wpc-smart-wishlist.php:
|
519 |
msgid "Menu"
|
520 |
msgstr ""
|
521 |
|
522 |
-
#: wpc-smart-wishlist.php:
|
523 |
msgid "Settings for the wishlist menu item."
|
524 |
msgstr ""
|
525 |
|
526 |
-
#: wpc-smart-wishlist.php:
|
527 |
msgid "Menu(s)"
|
528 |
msgstr ""
|
529 |
|
530 |
-
#: wpc-smart-wishlist.php:
|
531 |
msgid "Choose the menu(s) you want to add the \"wishlist menu\" at the end."
|
532 |
msgstr ""
|
533 |
|
534 |
-
#: wpc-smart-wishlist.php:
|
535 |
msgid "Action when clicking on the \"wishlist menu\"."
|
536 |
msgstr ""
|
537 |
|
538 |
-
#: wpc-smart-wishlist.php:
|
539 |
-
#: wpc-smart-wishlist.php:
|
540 |
msgid "Update Options"
|
541 |
msgstr ""
|
542 |
|
543 |
-
#: wpc-smart-wishlist.php:
|
544 |
msgid "Leave blank to use the default text and its equivalent translation in multiple languages."
|
545 |
msgstr ""
|
546 |
|
547 |
-
#: wpc-smart-wishlist.php:
|
548 |
msgid "Button text"
|
549 |
msgstr ""
|
550 |
|
551 |
-
#: wpc-smart-wishlist.php:
|
552 |
msgid "Button text (added)"
|
553 |
msgstr ""
|
554 |
|
555 |
-
#: wpc-smart-wishlist.php:
|
556 |
msgid "Wishlist popup heading"
|
557 |
msgstr ""
|
558 |
|
559 |
-
#: wpc-smart-wishlist.php:
|
560 |
-
#: wpc-smart-wishlist.php:
|
561 |
-
#: wpc-smart-wishlist.php:
|
562 |
-
#: wpc-smart-wishlist.php:
|
563 |
-
#: wpc-smart-wishlist.php:
|
564 |
-
#: wpc-smart-wishlist.php:
|
565 |
-
#: wpc-smart-wishlist.php:
|
566 |
-
#: wpc-smart-wishlist.php:
|
567 |
-
#: wpc-smart-wishlist.php:
|
568 |
-
#: wpc-smart-wishlist.php:
|
569 |
-
#: wpc-smart-wishlist.php:
|
570 |
msgid "Wishlist"
|
571 |
msgstr ""
|
572 |
|
573 |
-
#: wpc-smart-wishlist.php:
|
574 |
-
#: wpc-smart-wishlist.php:
|
575 |
msgid "remove all"
|
576 |
msgstr ""
|
577 |
|
578 |
-
#: wpc-smart-wishlist.php:
|
579 |
msgid "Save note"
|
580 |
msgstr ""
|
581 |
|
582 |
-
#: wpc-smart-wishlist.php:
|
583 |
msgid "Save"
|
584 |
msgstr ""
|
585 |
|
586 |
-
#: wpc-smart-wishlist.php:
|
587 |
-
#: wpc-smart-wishlist.php:
|
588 |
-
#: wpc-smart-wishlist.php:
|
589 |
msgid "Continue shopping"
|
590 |
msgstr ""
|
591 |
|
592 |
-
#: wpc-smart-wishlist.php:
|
593 |
msgid "Menu item label"
|
594 |
msgstr ""
|
595 |
|
596 |
-
#: wpc-smart-wishlist.php:
|
597 |
msgid "Primary wishlist name"
|
598 |
msgstr ""
|
599 |
|
600 |
-
#: wpc-smart-wishlist.php:
|
601 |
-
#: wpc-smart-wishlist.php:
|
602 |
-
#: wpc-smart-wishlist.php:
|
603 |
msgid "Manage wishlists"
|
604 |
msgstr ""
|
605 |
|
606 |
-
#: wpc-smart-wishlist.php:
|
607 |
msgid "Set default"
|
608 |
msgstr ""
|
609 |
|
610 |
-
#: wpc-smart-wishlist.php:
|
611 |
-
#: wpc-smart-wishlist.php:
|
612 |
msgid "set default"
|
613 |
msgstr ""
|
614 |
|
615 |
-
#: wpc-smart-wishlist.php:
|
616 |
msgid "Default"
|
617 |
msgstr ""
|
618 |
|
619 |
-
#: wpc-smart-wishlist.php:
|
620 |
-
#: wpc-smart-wishlist.php:
|
621 |
msgid "default"
|
622 |
msgstr ""
|
623 |
|
624 |
-
#: wpc-smart-wishlist.php:
|
625 |
msgid "Delete"
|
626 |
msgstr ""
|
627 |
|
628 |
-
#: wpc-smart-wishlist.php:
|
629 |
-
#: wpc-smart-wishlist.php:
|
630 |
msgid "delete"
|
631 |
msgstr ""
|
632 |
|
633 |
-
#: wpc-smart-wishlist.php:
|
634 |
msgid "Wishlist name placeholder"
|
635 |
msgstr ""
|
636 |
|
637 |
-
#: wpc-smart-wishlist.php:
|
638 |
-
#: wpc-smart-wishlist.php:
|
639 |
msgid "New Wishlist"
|
640 |
msgstr ""
|
641 |
|
642 |
-
#: wpc-smart-wishlist.php:
|
643 |
msgid "Add new wishlist"
|
644 |
msgstr ""
|
645 |
|
646 |
-
#: wpc-smart-wishlist.php:
|
647 |
-
#: wpc-smart-wishlist.php:
|
648 |
msgid "Add New Wishlist"
|
649 |
msgstr ""
|
650 |
|
651 |
-
#: wpc-smart-wishlist.php:
|
652 |
msgid "Message"
|
653 |
msgstr ""
|
654 |
|
655 |
-
#: wpc-smart-wishlist.php:
|
656 |
msgid "Added to the wishlist"
|
657 |
msgstr ""
|
658 |
|
659 |
-
#: wpc-smart-wishlist.php:
|
660 |
msgid "Already in the wishlist"
|
661 |
msgstr ""
|
662 |
|
663 |
-
#: wpc-smart-wishlist.php:
|
664 |
msgid "Removed from wishlist"
|
665 |
msgstr ""
|
666 |
|
667 |
-
#: wpc-smart-wishlist.php:
|
668 |
msgid "Empty wishlist confirm"
|
669 |
msgstr ""
|
670 |
|
671 |
-
#: wpc-smart-wishlist.php:
|
672 |
-
#: wpc-smart-wishlist.php:
|
|
|
673 |
#: wpc-smart-wishlist.php:1562
|
674 |
-
#: wpc-smart-wishlist.php:1563
|
675 |
msgid "This action cannot be undone. Are you sure?"
|
676 |
msgstr ""
|
677 |
|
678 |
-
#: wpc-smart-wishlist.php:
|
679 |
msgid "Empty wishlist notice"
|
680 |
msgstr ""
|
681 |
|
682 |
-
#: wpc-smart-wishlist.php:
|
683 |
msgid "Empty wishlist"
|
684 |
msgstr ""
|
685 |
|
686 |
-
#: wpc-smart-wishlist.php:
|
687 |
msgid "Delete wishlist confirm"
|
688 |
msgstr ""
|
689 |
|
690 |
-
#: wpc-smart-wishlist.php:
|
691 |
msgid "Product does not exist"
|
692 |
msgstr ""
|
693 |
|
694 |
-
#: wpc-smart-wishlist.php:
|
695 |
msgid "Need to login"
|
696 |
msgstr ""
|
697 |
|
698 |
-
#: wpc-smart-wishlist.php:
|
699 |
msgid "Copied wishlist link"
|
700 |
msgstr ""
|
701 |
|
702 |
-
#: wpc-smart-wishlist.php:
|
703 |
-
#: wpc-smart-wishlist.php:
|
704 |
msgid "Copied the wishlist link:"
|
705 |
msgstr ""
|
706 |
|
707 |
-
#: wpc-smart-wishlist.php:
|
708 |
msgid "Have an error"
|
709 |
msgstr ""
|
710 |
|
711 |
-
#: wpc-smart-wishlist.php:
|
712 |
msgid "Community support"
|
713 |
msgstr ""
|
714 |
|
715 |
-
#: wpc-smart-wishlist.php:
|
716 |
msgid "In stock"
|
717 |
msgstr ""
|
718 |
|
719 |
-
#: wpc-smart-wishlist.php:
|
720 |
msgid "Out of stock"
|
721 |
msgstr ""
|
722 |
|
723 |
-
#: wpc-smart-wishlist.php:
|
724 |
-
#: wpc-smart-wishlist.php:
|
725 |
-
#: wpc-smart-wishlist.php:
|
726 |
-
#: wpc-smart-wishlist.php:
|
727 |
msgid "%s product"
|
728 |
msgid_plural "%s products"
|
729 |
msgstr[0] ""
|
730 |
msgstr[1] ""
|
731 |
|
732 |
-
#: wpc-smart-wishlist.php:
|
733 |
-
#: wpc-smart-wishlist.php:
|
734 |
msgid "Guest"
|
735 |
msgstr ""
|
736 |
|
737 |
-
#: wpc-smart-wishlist.php:
|
738 |
-
#: wpc-smart-wishlist.php:
|
739 |
msgid "Edit"
|
740 |
msgstr ""
|
741 |
|
742 |
-
#: wpc-smart-wishlist.php:
|
743 |
msgid "See in wishlist"
|
744 |
msgstr ""
|
745 |
|
746 |
-
#: wpc-smart-wishlist.php:
|
747 |
msgid "Empty Wishlist"
|
748 |
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.2.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-06-17T04:03:22+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"
|
37 |
#: wpc-smart-wishlist.php:284
|
38 |
#: wpc-smart-wishlist.php:337
|
39 |
#: wpc-smart-wishlist.php:380
|
40 |
+
#: wpc-smart-wishlist.php:1475
|
41 |
msgid "Please log in to use the Wishlist!"
|
42 |
msgstr ""
|
43 |
|
45 |
#: wpc-smart-wishlist.php:354
|
46 |
#: wpc-smart-wishlist.php:398
|
47 |
#: wpc-smart-wishlist.php:413
|
48 |
+
#: wpc-smart-wishlist.php:1448
|
49 |
+
#: wpc-smart-wishlist.php:1717
|
50 |
msgid "There are no products on the Wishlist!"
|
51 |
msgstr ""
|
52 |
|
53 |
#: wpc-smart-wishlist.php:303
|
54 |
+
#: wpc-smart-wishlist.php:1403
|
55 |
msgid "{name} has been added to Wishlist."
|
56 |
msgstr ""
|
57 |
|
58 |
#: wpc-smart-wishlist.php:305
|
59 |
+
#: wpc-smart-wishlist.php:1412
|
60 |
msgid "{name} is already in the Wishlist."
|
61 |
msgstr ""
|
62 |
|
63 |
#: wpc-smart-wishlist.php:318
|
64 |
#: wpc-smart-wishlist.php:362
|
65 |
+
#: wpc-smart-wishlist.php:1493
|
66 |
msgid "Have an error, please try again!"
|
67 |
msgstr ""
|
68 |
|
69 |
#: wpc-smart-wishlist.php:351
|
70 |
+
#: wpc-smart-wishlist.php:1421
|
71 |
msgid "Product has been removed from the Wishlist."
|
72 |
msgstr ""
|
73 |
|
74 |
#: wpc-smart-wishlist.php:357
|
75 |
+
#: wpc-smart-wishlist.php:1466
|
76 |
msgid "The product does not exist on the Wishlist!"
|
77 |
msgstr ""
|
78 |
|
79 |
#: wpc-smart-wishlist.php:397
|
80 |
+
#: wpc-smart-wishlist.php:1439
|
81 |
msgid "All products have been removed from the Wishlist!"
|
82 |
msgstr ""
|
83 |
|
87 |
msgstr ""
|
88 |
|
89 |
#: wpc-smart-wishlist.php:477
|
90 |
+
#: wpc-smart-wishlist.php:1282
|
91 |
+
#: wpc-smart-wishlist.php:1287
|
92 |
msgid "Add note"
|
93 |
msgstr ""
|
94 |
|
95 |
#: wpc-smart-wishlist.php:625
|
96 |
+
#: wpc-smart-wishlist.php:1260
|
97 |
+
#: wpc-smart-wishlist.php:1566
|
98 |
msgid "Browse wishlist"
|
99 |
msgstr ""
|
100 |
|
101 |
#: wpc-smart-wishlist.php:627
|
102 |
+
#: wpc-smart-wishlist.php:1251
|
103 |
+
#: wpc-smart-wishlist.php:1565
|
104 |
msgid "Add to wishlist"
|
105 |
msgstr ""
|
106 |
|
107 |
#: wpc-smart-wishlist.php:660
|
108 |
+
#: wpc-smart-wishlist.php:1156
|
109 |
msgid "Facebook"
|
110 |
msgstr ""
|
111 |
|
112 |
#: wpc-smart-wishlist.php:661
|
113 |
+
#: wpc-smart-wishlist.php:1159
|
114 |
msgid "Twitter"
|
115 |
msgstr ""
|
116 |
|
117 |
#: wpc-smart-wishlist.php:662
|
118 |
+
#: wpc-smart-wishlist.php:1162
|
119 |
msgid "Pinterest"
|
120 |
msgstr ""
|
121 |
|
122 |
#: wpc-smart-wishlist.php:663
|
123 |
+
#: wpc-smart-wishlist.php:1165
|
124 |
msgid "Mail"
|
125 |
msgstr ""
|
126 |
|
153 |
msgstr ""
|
154 |
|
155 |
#: wpc-smart-wishlist.php:725
|
156 |
+
#: wpc-smart-wishlist.php:1589
|
157 |
msgid "Settings"
|
158 |
msgstr ""
|
159 |
|
160 |
#: wpc-smart-wishlist.php:729
|
161 |
+
#: wpc-smart-wishlist.php:1240
|
162 |
msgid "Localization"
|
163 |
msgstr ""
|
164 |
|
165 |
#: wpc-smart-wishlist.php:734
|
166 |
+
#: wpc-smart-wishlist.php:1590
|
167 |
msgid "Premium Version"
|
168 |
msgstr ""
|
169 |
|
184 |
#: wpc-smart-wishlist.php:797
|
185 |
#: wpc-smart-wishlist.php:1015
|
186 |
#: wpc-smart-wishlist.php:1061
|
187 |
+
#: wpc-smart-wishlist.php:1079
|
188 |
+
#: wpc-smart-wishlist.php:1122
|
189 |
+
#: wpc-smart-wishlist.php:1136
|
190 |
+
#: wpc-smart-wishlist.php:1175
|
191 |
msgid "Yes"
|
192 |
msgstr ""
|
193 |
|
197 |
#: wpc-smart-wishlist.php:1018
|
198 |
#: wpc-smart-wishlist.php:1048
|
199 |
#: wpc-smart-wishlist.php:1064
|
200 |
+
#: wpc-smart-wishlist.php:1082
|
201 |
+
#: wpc-smart-wishlist.php:1125
|
202 |
+
#: wpc-smart-wishlist.php:1139
|
203 |
+
#: wpc-smart-wishlist.php:1178
|
204 |
msgid "No"
|
205 |
msgstr ""
|
206 |
|
213 |
msgstr ""
|
214 |
|
215 |
#: wpc-smart-wishlist.php:784
|
216 |
+
#: wpc-smart-wishlist.php:1327
|
217 |
msgid "Multiple Wishlist"
|
218 |
msgstr ""
|
219 |
|
247 |
msgstr ""
|
248 |
|
249 |
#: wpc-smart-wishlist.php:835
|
250 |
+
#: wpc-smart-wishlist.php:1211
|
251 |
msgid "Action"
|
252 |
msgstr ""
|
253 |
|
257 |
|
258 |
#: wpc-smart-wishlist.php:842
|
259 |
#: wpc-smart-wishlist.php:881
|
260 |
+
#: wpc-smart-wishlist.php:1218
|
261 |
msgid "Open wishlist popup"
|
262 |
msgstr ""
|
263 |
|
302 |
msgstr ""
|
303 |
|
304 |
#: wpc-smart-wishlist.php:884
|
305 |
+
#: wpc-smart-wishlist.php:1215
|
306 |
+
#: wpc-smart-wishlist.php:1300
|
307 |
+
#: wpc-smart-wishlist.php:1305
|
308 |
+
#: wpc-smart-wishlist.php:1813
|
309 |
msgid "Open wishlist page"
|
310 |
msgstr ""
|
311 |
|
454 |
msgid "Show note on each product for all visitors. Only wishlist owner can add/edit these notes."
|
455 |
msgstr ""
|
456 |
|
457 |
+
#: wpc-smart-wishlist.php:1075
|
458 |
+
#: wpc-smart-wishlist.php:1273
|
459 |
msgid "Empty wishlist button"
|
460 |
msgstr ""
|
461 |
|
462 |
+
#: wpc-smart-wishlist.php:1085
|
463 |
msgid "Show empty wishlist button on the popup?"
|
464 |
msgstr ""
|
465 |
|
466 |
+
#: wpc-smart-wishlist.php:1089
|
467 |
msgid "Continue shopping link"
|
468 |
msgstr ""
|
469 |
|
470 |
+
#: wpc-smart-wishlist.php:1094
|
471 |
msgid "By default, the wishlist popup will only be closed when customers click on the \"Continue Shopping\" button."
|
472 |
msgstr ""
|
473 |
|
474 |
+
#: wpc-smart-wishlist.php:1099
|
475 |
msgid "Page"
|
476 |
msgstr ""
|
477 |
|
478 |
+
#: wpc-smart-wishlist.php:1102
|
479 |
msgid "Settings for wishlist page."
|
480 |
msgstr ""
|
481 |
|
482 |
+
#: wpc-smart-wishlist.php:1106
|
483 |
msgid "Wishlist page"
|
484 |
msgstr ""
|
485 |
|
486 |
+
#: wpc-smart-wishlist.php:1111
|
487 |
msgid "Choose a page"
|
488 |
msgstr ""
|
489 |
|
490 |
+
#: wpc-smart-wishlist.php:1114
|
491 |
msgid "Add shortcode %s to display the wishlist on a page."
|
492 |
msgstr ""
|
493 |
|
494 |
+
#: wpc-smart-wishlist.php:1118
|
495 |
msgid "Share buttons"
|
496 |
msgstr ""
|
497 |
|
498 |
+
#: wpc-smart-wishlist.php:1128
|
499 |
msgid "Enable share buttons on the wishlist page?"
|
500 |
msgstr ""
|
501 |
|
502 |
+
#: wpc-smart-wishlist.php:1132
|
503 |
msgid "Use font icon"
|
504 |
msgstr ""
|
505 |
|
506 |
+
#: wpc-smart-wishlist.php:1145
|
507 |
msgid "Social links"
|
508 |
msgstr ""
|
509 |
|
510 |
+
#: wpc-smart-wishlist.php:1171
|
511 |
msgid "Copy link"
|
512 |
msgstr ""
|
513 |
|
514 |
+
#: wpc-smart-wishlist.php:1181
|
515 |
msgid "Enable copy wishlist link to share?"
|
516 |
msgstr ""
|
517 |
|
518 |
+
#: wpc-smart-wishlist.php:1186
|
519 |
msgid "Menu"
|
520 |
msgstr ""
|
521 |
|
522 |
+
#: wpc-smart-wishlist.php:1189
|
523 |
msgid "Settings for the wishlist menu item."
|
524 |
msgstr ""
|
525 |
|
526 |
+
#: wpc-smart-wishlist.php:1193
|
527 |
msgid "Menu(s)"
|
528 |
msgstr ""
|
529 |
|
530 |
+
#: wpc-smart-wishlist.php:1207
|
531 |
msgid "Choose the menu(s) you want to add the \"wishlist menu\" at the end."
|
532 |
msgstr ""
|
533 |
|
534 |
+
#: wpc-smart-wishlist.php:1221
|
535 |
msgid "Action when clicking on the \"wishlist menu\"."
|
536 |
msgstr ""
|
537 |
|
538 |
+
#: wpc-smart-wishlist.php:1227
|
539 |
+
#: wpc-smart-wishlist.php:1499
|
540 |
msgid "Update Options"
|
541 |
msgstr ""
|
542 |
|
543 |
+
#: wpc-smart-wishlist.php:1242
|
544 |
msgid "Leave blank to use the default text and its equivalent translation in multiple languages."
|
545 |
msgstr ""
|
546 |
|
547 |
+
#: wpc-smart-wishlist.php:1246
|
548 |
msgid "Button text"
|
549 |
msgstr ""
|
550 |
|
551 |
+
#: wpc-smart-wishlist.php:1255
|
552 |
msgid "Button text (added)"
|
553 |
msgstr ""
|
554 |
|
555 |
+
#: wpc-smart-wishlist.php:1264
|
556 |
msgid "Wishlist popup heading"
|
557 |
msgstr ""
|
558 |
|
559 |
+
#: wpc-smart-wishlist.php:1269
|
560 |
+
#: wpc-smart-wishlist.php:1323
|
561 |
+
#: wpc-smart-wishlist.php:1336
|
562 |
+
#: wpc-smart-wishlist.php:1564
|
563 |
+
#: wpc-smart-wishlist.php:1757
|
564 |
+
#: wpc-smart-wishlist.php:1783
|
565 |
+
#: wpc-smart-wishlist.php:1857
|
566 |
+
#: wpc-smart-wishlist.php:2058
|
567 |
+
#: wpc-smart-wishlist.php:2139
|
568 |
+
#: wpc-smart-wishlist.php:2146
|
569 |
+
#: wpc-smart-wishlist.php:2337
|
570 |
msgid "Wishlist"
|
571 |
msgstr ""
|
572 |
|
573 |
+
#: wpc-smart-wishlist.php:1278
|
574 |
+
#: wpc-smart-wishlist.php:1796
|
575 |
msgid "remove all"
|
576 |
msgstr ""
|
577 |
|
578 |
+
#: wpc-smart-wishlist.php:1291
|
579 |
msgid "Save note"
|
580 |
msgstr ""
|
581 |
|
582 |
+
#: wpc-smart-wishlist.php:1296
|
583 |
msgid "Save"
|
584 |
msgstr ""
|
585 |
|
586 |
+
#: wpc-smart-wishlist.php:1309
|
587 |
+
#: wpc-smart-wishlist.php:1314
|
588 |
+
#: wpc-smart-wishlist.php:1818
|
589 |
msgid "Continue shopping"
|
590 |
msgstr ""
|
591 |
|
592 |
+
#: wpc-smart-wishlist.php:1318
|
593 |
msgid "Menu item label"
|
594 |
msgstr ""
|
595 |
|
596 |
+
#: wpc-smart-wishlist.php:1331
|
597 |
msgid "Primary wishlist name"
|
598 |
msgstr ""
|
599 |
|
600 |
+
#: wpc-smart-wishlist.php:1340
|
601 |
+
#: wpc-smart-wishlist.php:1345
|
602 |
+
#: wpc-smart-wishlist.php:1834
|
603 |
msgid "Manage wishlists"
|
604 |
msgstr ""
|
605 |
|
606 |
+
#: wpc-smart-wishlist.php:1349
|
607 |
msgid "Set default"
|
608 |
msgstr ""
|
609 |
|
610 |
+
#: wpc-smart-wishlist.php:1354
|
611 |
+
#: wpc-smart-wishlist.php:1871
|
612 |
msgid "set default"
|
613 |
msgstr ""
|
614 |
|
615 |
+
#: wpc-smart-wishlist.php:1358
|
616 |
msgid "Default"
|
617 |
msgstr ""
|
618 |
|
619 |
+
#: wpc-smart-wishlist.php:1363
|
620 |
+
#: wpc-smart-wishlist.php:1869
|
621 |
msgid "default"
|
622 |
msgstr ""
|
623 |
|
624 |
+
#: wpc-smart-wishlist.php:1367
|
625 |
msgid "Delete"
|
626 |
msgstr ""
|
627 |
|
628 |
+
#: wpc-smart-wishlist.php:1372
|
629 |
+
#: wpc-smart-wishlist.php:1877
|
630 |
msgid "delete"
|
631 |
msgstr ""
|
632 |
|
633 |
+
#: wpc-smart-wishlist.php:1376
|
634 |
msgid "Wishlist name placeholder"
|
635 |
msgstr ""
|
636 |
|
637 |
+
#: wpc-smart-wishlist.php:1381
|
638 |
+
#: wpc-smart-wishlist.php:1888
|
639 |
msgid "New Wishlist"
|
640 |
msgstr ""
|
641 |
|
642 |
+
#: wpc-smart-wishlist.php:1385
|
643 |
msgid "Add new wishlist"
|
644 |
msgstr ""
|
645 |
|
646 |
+
#: wpc-smart-wishlist.php:1390
|
647 |
+
#: wpc-smart-wishlist.php:1890
|
648 |
msgid "Add New Wishlist"
|
649 |
msgstr ""
|
650 |
|
651 |
+
#: wpc-smart-wishlist.php:1394
|
652 |
msgid "Message"
|
653 |
msgstr ""
|
654 |
|
655 |
+
#: wpc-smart-wishlist.php:1398
|
656 |
msgid "Added to the wishlist"
|
657 |
msgstr ""
|
658 |
|
659 |
+
#: wpc-smart-wishlist.php:1407
|
660 |
msgid "Already in the wishlist"
|
661 |
msgstr ""
|
662 |
|
663 |
+
#: wpc-smart-wishlist.php:1416
|
664 |
msgid "Removed from wishlist"
|
665 |
msgstr ""
|
666 |
|
667 |
+
#: wpc-smart-wishlist.php:1425
|
668 |
msgid "Empty wishlist confirm"
|
669 |
msgstr ""
|
670 |
|
671 |
+
#: wpc-smart-wishlist.php:1430
|
672 |
+
#: wpc-smart-wishlist.php:1457
|
673 |
+
#: wpc-smart-wishlist.php:1561
|
674 |
#: wpc-smart-wishlist.php:1562
|
|
|
675 |
msgid "This action cannot be undone. Are you sure?"
|
676 |
msgstr ""
|
677 |
|
678 |
+
#: wpc-smart-wishlist.php:1434
|
679 |
msgid "Empty wishlist notice"
|
680 |
msgstr ""
|
681 |
|
682 |
+
#: wpc-smart-wishlist.php:1443
|
683 |
msgid "Empty wishlist"
|
684 |
msgstr ""
|
685 |
|
686 |
+
#: wpc-smart-wishlist.php:1452
|
687 |
msgid "Delete wishlist confirm"
|
688 |
msgstr ""
|
689 |
|
690 |
+
#: wpc-smart-wishlist.php:1461
|
691 |
msgid "Product does not exist"
|
692 |
msgstr ""
|
693 |
|
694 |
+
#: wpc-smart-wishlist.php:1470
|
695 |
msgid "Need to login"
|
696 |
msgstr ""
|
697 |
|
698 |
+
#: wpc-smart-wishlist.php:1479
|
699 |
msgid "Copied wishlist link"
|
700 |
msgstr ""
|
701 |
|
702 |
+
#: wpc-smart-wishlist.php:1484
|
703 |
+
#: wpc-smart-wishlist.php:1563
|
704 |
msgid "Copied the wishlist link:"
|
705 |
msgstr ""
|
706 |
|
707 |
+
#: wpc-smart-wishlist.php:1488
|
708 |
msgid "Have an error"
|
709 |
msgstr ""
|
710 |
|
711 |
+
#: wpc-smart-wishlist.php:1606
|
712 |
msgid "Community support"
|
713 |
msgstr ""
|
714 |
|
715 |
+
#: wpc-smart-wishlist.php:1700
|
716 |
msgid "In stock"
|
717 |
msgstr ""
|
718 |
|
719 |
+
#: wpc-smart-wishlist.php:1700
|
720 |
msgid "Out of stock"
|
721 |
msgstr ""
|
722 |
|
723 |
+
#: wpc-smart-wishlist.php:2192
|
724 |
+
#: wpc-smart-wishlist.php:2195
|
725 |
+
#: wpc-smart-wishlist.php:2259
|
726 |
+
#: wpc-smart-wishlist.php:2262
|
727 |
msgid "%s product"
|
728 |
msgid_plural "%s products"
|
729 |
msgstr[0] ""
|
730 |
msgstr[1] ""
|
731 |
|
732 |
+
#: wpc-smart-wishlist.php:2194
|
733 |
+
#: wpc-smart-wishlist.php:2261
|
734 |
msgid "Guest"
|
735 |
msgstr ""
|
736 |
|
737 |
+
#: wpc-smart-wishlist.php:2209
|
738 |
+
#: wpc-smart-wishlist.php:2238
|
739 |
msgid "Edit"
|
740 |
msgstr ""
|
741 |
|
742 |
+
#: wpc-smart-wishlist.php:2209
|
743 |
msgid "See in wishlist"
|
744 |
msgstr ""
|
745 |
|
746 |
+
#: wpc-smart-wishlist.php:2217
|
747 |
msgid "Empty Wishlist"
|
748 |
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.
|
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.1.0 =
|
110 |
* Added: Position left/right for the popup
|
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.2.0
|
8 |
License: GPLv2 or later
|
9 |
License URI: http://www.gnu.org/licenses/gpl-2.0.html
|
10 |
|
106 |
|
107 |
== Changelog ==
|
108 |
|
109 |
+
= 4.2.0 =
|
110 |
+
* Fixed: Minor JS/CSS issues
|
111 |
+
|
112 |
= 4.1.0 =
|
113 |
* Added: Position left/right for the popup
|
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.
|
7 |
Author: WPClever
|
8 |
Author URI: https://wpclever.net
|
9 |
Text Domain: woo-smart-wishlist
|
@@ -16,7 +16,7 @@ WC tested up to: 6.6
|
|
16 |
|
17 |
defined( 'ABSPATH' ) || exit;
|
18 |
|
19 |
-
! defined( 'WOOSW_VERSION' ) && define( 'WOOSW_VERSION', '4.
|
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__ ) );
|
@@ -653,7 +653,7 @@ if ( ! function_exists( 'woosw_init' ) ) {
|
|
653 |
$share_url_raw = self::get_url( $key, true );
|
654 |
$share_url = urlencode( $share_url_raw );
|
655 |
$return_html = '<div class="woosw-list">';
|
656 |
-
$return_html .= self::get_items( $key );
|
657 |
$return_html .= '<div class="woosw-actions">';
|
658 |
|
659 |
if ( get_option( 'woosw_page_share', 'yes' ) === 'yes' ) {
|
@@ -1069,7 +1069,6 @@ if ( ! function_exists( 'woosw_init' ) ) {
|
|
1069 |
This feature is only available on the Premium Version. Click <a
|
1070 |
href="https://wpclever.net/downloads/smart-wishlist?utm_source=pro&utm_medium=woosw&utm_campaign=wporg"
|
1071 |
target="_blank">here</a> to buy, just $29.
|
1072 |
-
</p>
|
1073 |
</td>
|
1074 |
</tr>
|
1075 |
<tr>
|
@@ -1544,7 +1543,7 @@ if ( ! function_exists( 'woosw_init' ) ) {
|
|
1544 |
$color_default = apply_filters( 'woosw_color_default', '#5fbd74' );
|
1545 |
$color = apply_filters( 'woosw_color', get_option( 'woosw_color', $color_default ) );
|
1546 |
$custom_css = ".woosw-popup .woosw-popup-inner .woosw-popup-content .woosw-popup-content-bot .woosw-notice { background-color: {$color}; } ";
|
1547 |
-
$custom_css .= ".woosw-popup .woosw-popup-inner .woosw-popup-content .woosw-popup-content-bot .woosw-popup-content-bot-inner
|
1548 |
wp_add_inline_style( 'woosw-frontend', $custom_css );
|
1549 |
|
1550 |
// main js
|
@@ -1613,16 +1612,23 @@ if ( ! function_exists( 'woosw_init' ) ) {
|
|
1613 |
return (array) $links;
|
1614 |
}
|
1615 |
|
1616 |
-
function get_items( $key ) {
|
1617 |
ob_start();
|
1618 |
|
1619 |
-
$products
|
1620 |
-
$link
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1621 |
|
1622 |
do_action( 'woosw_before_items', $key, $products );
|
1623 |
|
1624 |
if ( is_array( $products ) && ( count( $products ) > 0 ) ) {
|
1625 |
-
echo '<
|
1626 |
|
1627 |
do_action( 'woosw_wishlist_items_before', $key, $products );
|
1628 |
|
@@ -1639,68 +1645,77 @@ if ( ! function_exists( 'woosw_init' ) ) {
|
|
1639 |
// for old version
|
1640 |
$product_time = date_i18n( get_option( 'date_format' ), $product_data );
|
1641 |
}
|
1642 |
-
?>
|
1643 |
-
<tr class="<?php echo esc_attr( 'woosw-item woosw-item-' . $product_id ); ?>"
|
1644 |
-
data-id="<?php echo esc_attr( $product_id ); ?>">
|
1645 |
|
1646 |
-
|
|
|
|
|
|
|
|
|
1647 |
|
1648 |
-
|
1649 |
-
<td class="woosw-item--remove"><span></span></td>
|
1650 |
-
<?php } ?>
|
1651 |
|
1652 |
-
|
1653 |
-
|
1654 |
-
|
1655 |
-
echo '<a ' . ( $link === 'yes_popup' ? 'class="woosq-link" data-id="' . esc_attr( $product_id ) . '" data-context="woosw"' : '' ) . ' href="' . esc_url( $product->get_permalink() ) . '" ' . ( $link === 'yes_blank' ? 'target="_blank"' : '' ) . '>';
|
1656 |
-
echo wp_kses( apply_filters( 'woosw_item_image', $product->get_image() ), 'woosw' );
|
1657 |
-
echo '</a>';
|
1658 |
-
} else {
|
1659 |
-
echo wp_kses( apply_filters( 'woosw_item_image', $product->get_image() ), 'woosw' );
|
1660 |
-
}
|
1661 |
|
1662 |
-
|
1663 |
-
?>
|
1664 |
-
</td>
|
1665 |
|
1666 |
-
|
1667 |
-
|
1668 |
-
|
1669 |
-
|
1670 |
-
echo '<div class="woosw-item--name">' . esc_html( apply_filters( 'woosw_item_name', $product->get_name(), $product ) ) . '</div>';
|
1671 |
-
}
|
1672 |
|
1673 |
-
|
|
|
1674 |
|
1675 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
1676 |
|
1677 |
-
|
1678 |
-
|
1679 |
|
1680 |
-
|
1681 |
-
|
1682 |
-
<?php $product->is_in_stock() ? esc_html_e( 'In stock', 'woo-smart-wishlist' ) : esc_html_e( 'Out of stock', 'woo-smart-wishlist' ); ?>
|
1683 |
-
</div>
|
1684 |
|
1685 |
-
|
1686 |
-
|
1687 |
-
|
|
|
|
|
1688 |
|
1689 |
-
|
1690 |
-
</td>
|
1691 |
|
1692 |
-
|
1693 |
-
</tr>
|
1694 |
-
<?php }
|
1695 |
|
1696 |
-
|
|
|
1697 |
|
1698 |
-
|
1699 |
-
|
1700 |
-
|
1701 |
-
|
1702 |
-
|
1703 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1704 |
|
1705 |
do_action( 'woosw_after_items', $key, $products );
|
1706 |
|
@@ -1797,10 +1812,11 @@ if ( ! function_exists( 'woosw_init' ) ) {
|
|
1797 |
<a class="woosw-page" href="<?php echo esc_url( self::get_url( $key, true ) ); ?>">
|
1798 |
<?php echo self::localization( 'open_page', esc_html__( 'Open wishlist page', 'woo-smart-wishlist' ) ); ?>
|
1799 |
</a>
|
1800 |
-
<
|
1801 |
-
|
1802 |
-
|
1803 |
-
|
|
|
1804 |
</div>
|
1805 |
<div class="woosw-notice"></div>
|
1806 |
</div>
|
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.2.0
|
7 |
Author: WPClever
|
8 |
Author URI: https://wpclever.net
|
9 |
Text Domain: woo-smart-wishlist
|
16 |
|
17 |
defined( 'ABSPATH' ) || exit;
|
18 |
|
19 |
+
! defined( 'WOOSW_VERSION' ) && define( 'WOOSW_VERSION', '4.2.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__ ) );
|
653 |
$share_url_raw = self::get_url( $key, true );
|
654 |
$share_url = urlencode( $share_url_raw );
|
655 |
$return_html = '<div class="woosw-list">';
|
656 |
+
$return_html .= self::get_items( $key, 'table' );
|
657 |
$return_html .= '<div class="woosw-actions">';
|
658 |
|
659 |
if ( get_option( 'woosw_page_share', 'yes' ) === 'yes' ) {
|
1069 |
This feature is only available on the Premium Version. Click <a
|
1070 |
href="https://wpclever.net/downloads/smart-wishlist?utm_source=pro&utm_medium=woosw&utm_campaign=wporg"
|
1071 |
target="_blank">here</a> to buy, just $29.
|
|
|
1072 |
</td>
|
1073 |
</tr>
|
1074 |
<tr>
|
1543 |
$color_default = apply_filters( 'woosw_color_default', '#5fbd74' );
|
1544 |
$color = apply_filters( 'woosw_color', get_option( 'woosw_color', $color_default ) );
|
1545 |
$custom_css = ".woosw-popup .woosw-popup-inner .woosw-popup-content .woosw-popup-content-bot .woosw-notice { background-color: {$color}; } ";
|
1546 |
+
$custom_css .= ".woosw-popup .woosw-popup-inner .woosw-popup-content .woosw-popup-content-bot .woosw-popup-content-bot-inner a:hover { color: {$color}; border-color: {$color}; } ";
|
1547 |
wp_add_inline_style( 'woosw-frontend', $custom_css );
|
1548 |
|
1549 |
// main js
|
1612 |
return (array) $links;
|
1613 |
}
|
1614 |
|
1615 |
+
function get_items( $key, $layout = null ) {
|
1616 |
ob_start();
|
1617 |
|
1618 |
+
$products = get_option( 'woosw_list_' . $key );
|
1619 |
+
$link = get_option( 'woosw_link', 'yes' );
|
1620 |
+
$table_tag = $tr_tag = $td_tag = 'div';
|
1621 |
+
|
1622 |
+
if ( $layout === 'table' ) {
|
1623 |
+
$table_tag = 'table';
|
1624 |
+
$tr_tag = 'tr';
|
1625 |
+
$td_tag = 'td';
|
1626 |
+
}
|
1627 |
|
1628 |
do_action( 'woosw_before_items', $key, $products );
|
1629 |
|
1630 |
if ( is_array( $products ) && ( count( $products ) > 0 ) ) {
|
1631 |
+
echo '<' . $table_tag . ' class="woosw-items">';
|
1632 |
|
1633 |
do_action( 'woosw_wishlist_items_before', $key, $products );
|
1634 |
|
1645 |
// for old version
|
1646 |
$product_time = date_i18n( get_option( 'date_format' ), $product_data );
|
1647 |
}
|
|
|
|
|
|
|
1648 |
|
1649 |
+
if ( is_array( $product_data ) && ! empty( $product_data['note'] ) ) {
|
1650 |
+
$product_note = $product_data['note'];
|
1651 |
+
} else {
|
1652 |
+
$product_note = '';
|
1653 |
+
}
|
1654 |
|
1655 |
+
echo '<' . $tr_tag . ' class="' . esc_attr( 'woosw-item woosw-item-' . $product_id ) . '" data-id="' . esc_attr( $product_id ) . '">';
|
|
|
|
|
1656 |
|
1657 |
+
if ( $layout !== 'table' ) {
|
1658 |
+
echo '<div class="woosw-item-inner">';
|
1659 |
+
}
|
|
|
|
|
|
|
|
|
|
|
|
|
1660 |
|
1661 |
+
do_action( 'woosw_wishlist_item_before', $product, $product_id, $key );
|
|
|
|
|
1662 |
|
1663 |
+
if ( self::can_edit( $key ) ) {
|
1664 |
+
// remove
|
1665 |
+
echo '<' . $td_tag . ' class="woosw-item--remove"><span></span></' . $td_tag . '>';
|
1666 |
+
}
|
|
|
|
|
1667 |
|
1668 |
+
// image
|
1669 |
+
echo '<' . $td_tag . ' class="woosw-item--image">';
|
1670 |
|
1671 |
+
if ( $link !== 'no' ) {
|
1672 |
+
echo '<a ' . ( $link === 'yes_popup' ? 'class="woosq-link" data-id="' . esc_attr( $product_id ) . '" data-context="woosw"' : '' ) . ' href="' . esc_url( $product->get_permalink() ) . '" ' . ( $link === 'yes_blank' ? 'target="_blank"' : '' ) . '>';
|
1673 |
+
echo wp_kses( apply_filters( 'woosw_item_image', $product->get_image() ), 'woosw' );
|
1674 |
+
echo '</a>';
|
1675 |
+
} else {
|
1676 |
+
echo wp_kses( apply_filters( 'woosw_item_image', $product->get_image() ), 'woosw' );
|
1677 |
+
}
|
1678 |
|
1679 |
+
do_action( 'woosw_wishlist_item_image', $product, $product_id, $key );
|
1680 |
+
echo '</' . $td_tag . '>';
|
1681 |
|
1682 |
+
// info
|
1683 |
+
echo '<' . $td_tag . ' class="woosw-item--info">';
|
|
|
|
|
1684 |
|
1685 |
+
if ( $link !== 'no' ) {
|
1686 |
+
echo '<div class="woosw-item--name"><a ' . ( $link === 'yes_popup' ? 'class="woosq-link" data-id="' . esc_attr( $product_id ) . '" data-context="woosw"' : '' ) . ' href="' . esc_url( $product->get_permalink() ) . '" ' . ( $link === 'yes_blank' ? 'target="_blank"' : '' ) . '>' . esc_html( apply_filters( 'woosw_item_name', $product->get_name(), $product ) ) . '</a></div>';
|
1687 |
+
} else {
|
1688 |
+
echo '<div class="woosw-item--name">' . esc_html( apply_filters( 'woosw_item_name', $product->get_name(), $product ) ) . '</div>';
|
1689 |
+
}
|
1690 |
|
1691 |
+
echo '<div class="woosw-item--price">' . wp_kses( apply_filters( 'woosw_item_price', $product->get_price_html(), $product ), 'woosw' ) . '</div>';
|
|
|
1692 |
|
1693 |
+
echo '<div class="woosw-item--time">' . esc_html( apply_filters( 'woosw_item_time', $product_time, $product ) ) . '</div>';
|
|
|
|
|
1694 |
|
1695 |
+
do_action( 'woosw_wishlist_item_info', $product, $product_id, $key );
|
1696 |
+
echo '</' . $td_tag . '>';
|
1697 |
|
1698 |
+
// action
|
1699 |
+
echo '<' . $td_tag . ' class="woosw-item--actions">';
|
1700 |
+
echo '<div class="woosw-item--stock">' . ( $product->is_in_stock() ? esc_html_e( 'In stock', 'woo-smart-wishlist' ) : esc_html_e( 'Out of stock', 'woo-smart-wishlist' ) ) . '</div>';
|
1701 |
+
echo '<div class="woosw-item--add">' . do_shortcode( '[add_to_cart style="" show_price="false" id="' . esc_attr( $product_id ) . '"]' ) . '</div>';
|
1702 |
+
do_action( 'woosw_wishlist_item_actions', $product, $product_id, $key );
|
1703 |
+
echo '</' . $td_tag . '>';
|
1704 |
+
|
1705 |
+
do_action( 'woosw_wishlist_item_after', $product, $product_id, $key );
|
1706 |
+
|
1707 |
+
if ( $layout !== 'table' ) {
|
1708 |
+
echo '</div><!-- /woosw-item-inner -->';
|
1709 |
+
}
|
1710 |
+
|
1711 |
+
echo '</' . $tr_tag . '>';
|
1712 |
+
}
|
1713 |
+
|
1714 |
+
do_action( 'woosw_wishlist_items_after', $key, $products );
|
1715 |
+
echo '</' . $table_tag . '>';
|
1716 |
+
} else {
|
1717 |
+
echo '<div class="woosw-popup-content-mid-massage">' . self::localization( 'empty_message', esc_html__( 'There are no products on the Wishlist!', 'woo-smart-wishlist' ) ) . '</div>';
|
1718 |
+
}
|
1719 |
|
1720 |
do_action( 'woosw_after_items', $key, $products );
|
1721 |
|
1812 |
<a class="woosw-page" href="<?php echo esc_url( self::get_url( $key, true ) ); ?>">
|
1813 |
<?php echo self::localization( 'open_page', esc_html__( 'Open wishlist page', 'woo-smart-wishlist' ) ); ?>
|
1814 |
</a>
|
1815 |
+
<a class="woosw-continue"
|
1816 |
+
href="<?php echo esc_url( get_option( 'woosw_continue_url' ) ); ?>"
|
1817 |
+
data-url="<?php echo esc_url( get_option( 'woosw_continue_url' ) ); ?>">
|
1818 |
+
<?php echo self::localization( 'continue', esc_html__( 'Continue shopping', 'woo-smart-wishlist' ) ); ?>
|
1819 |
+
</a>
|
1820 |
</div>
|
1821 |
<div class="woosw-notice"></div>
|
1822 |
</div>
|