Version Description
- Fixed an issue with the paypal smart checkout option sometimes giving an error "Order ID does not exist".
Download this release
Release Info
Developer | mra13 |
Plugin | WordPress Simple PayPal Shopping Cart |
Version | 4.5.4 |
Comparing to | |
See all releases |
Code changes from version 4.5.0 to 4.5.4
- assets/images/index.html +0 -0
- assets/images/ui-icons_444444_256x240.png +0 -0
- assets/images/ui-icons_555555_256x240.png +0 -0
- assets/images/ui-icons_777620_256x240.png +0 -0
- assets/images/ui-icons_777777_256x240.png +0 -0
- assets/images/ui-icons_cc0000_256x240.png +0 -0
- assets/images/ui-icons_ffffff_256x240.png +0 -0
- assets/index.html +0 -0
- assets/jquery.ui.min.css +7 -0
- includes/admin/wp_shopping_cart_menu_email_settings.php +30 -30
- includes/admin/wp_shopping_cart_menu_general_settings.php +59 -45
- languages/wordpress-simple-paypal-shopping-cart-es_ES.mo +0 -0
- languages/wordpress-simple-paypal-shopping-cart-es_ES.po +1389 -0
- paypal.php +11 -3
- readme.txt +19 -3
- wp_shopping_cart.php +46 -35
- wp_shopping_cart_misc_functions.php +12 -7
- wp_shopping_cart_utility_functions.php +36 -6
assets/images/index.html
ADDED
File without changes
|
assets/images/ui-icons_444444_256x240.png
ADDED
Binary file
|
assets/images/ui-icons_555555_256x240.png
ADDED
Binary file
|
assets/images/ui-icons_777620_256x240.png
ADDED
Binary file
|
assets/images/ui-icons_777777_256x240.png
ADDED
Binary file
|
assets/images/ui-icons_cc0000_256x240.png
ADDED
Binary file
|
assets/images/ui-icons_ffffff_256x240.png
ADDED
Binary file
|
assets/index.html
ADDED
File without changes
|
assets/jquery.ui.min.css
ADDED
@@ -0,0 +1,7 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
/*! jQuery UI - v1.12.1 - 2017-07-30
|
2 |
+
* http://jqueryui.com
|
3 |
+
* Includes: draggable.css, core.css, resizable.css, selectable.css, sortable.css, accordion.css, autocomplete.css, menu.css, button.css, controlgroup.css, checkboxradio.css, datepicker.css, dialog.css, progressbar.css, selectmenu.css, slider.css, spinner.css, tabs.css, tooltip.css, theme.css
|
4 |
+
* To view and modify this theme, visit http://jqueryui.com/themeroller/?scope=&folderName=base&cornerRadiusShadow=8px&offsetLeftShadow=0px&offsetTopShadow=0px&thicknessShadow=5px&opacityShadow=30&bgImgOpacityShadow=0&bgTextureShadow=flat&bgColorShadow=666666&opacityOverlay=30&bgImgOpacityOverlay=0&bgTextureOverlay=flat&bgColorOverlay=aaaaaa&iconColorError=cc0000&fcError=5f3f3f&borderColorError=f1a899&bgTextureError=flat&bgColorError=fddfdf&iconColorHighlight=777620&fcHighlight=777620&borderColorHighlight=dad55e&bgTextureHighlight=flat&bgColorHighlight=fffa90&iconColorActive=ffffff&fcActive=ffffff&borderColorActive=003eff&bgTextureActive=flat&bgColorActive=007fff&iconColorHover=555555&fcHover=2b2b2b&borderColorHover=cccccc&bgTextureHover=flat&bgColorHover=ededed&iconColorDefault=777777&fcDefault=454545&borderColorDefault=c5c5c5&bgTextureDefault=flat&bgColorDefault=f6f6f6&iconColorContent=444444&fcContent=333333&borderColorContent=dddddd&bgTextureContent=flat&bgColorContent=ffffff&iconColorHeader=444444&fcHeader=333333&borderColorHeader=dddddd&bgTextureHeader=flat&bgColorHeader=e9e9e9&cornerRadius=3px&fwDefault=normal&fsDefault=1em&ffDefault=Arial%2CHelvetica%2Csans-serif
|
5 |
+
* Copyright jQuery Foundation and other contributors; Licensed MIT */
|
6 |
+
|
7 |
+
.ui-draggable-handle{-ms-touch-action:none;touch-action:none}.ui-helper-hidden{display:none}.ui-helper-hidden-accessible{border:0;clip:rect(0 0 0 0);height:1px;margin:-1px;overflow:hidden;padding:0;position:absolute;width:1px}.ui-helper-reset{margin:0;padding:0;border:0;outline:0;line-height:1.3;text-decoration:none;font-size:100%;list-style:none}.ui-helper-clearfix:before,.ui-helper-clearfix:after{content:"";display:table;border-collapse:collapse}.ui-helper-clearfix:after{clear:both}.ui-helper-zfix{width:100%;height:100%;top:0;left:0;position:absolute;opacity:0;filter:Alpha(Opacity=0)}.ui-front{z-index:100}.ui-state-disabled{cursor:default!important;pointer-events:none}.ui-icon{display:inline-block;vertical-align:middle;margin-top:-.25em;position:relative;text-indent:-99999px;overflow:hidden;background-repeat:no-repeat}.ui-widget-icon-block{left:50%;margin-left:-8px;display:block}.ui-widget-overlay{position:fixed;top:0;left:0;width:100%;height:100%}.ui-resizable{position:relative}.ui-resizable-handle{position:absolute;font-size:0.1px;display:block;-ms-touch-action:none;touch-action:none}.ui-resizable-disabled .ui-resizable-handle,.ui-resizable-autohide .ui-resizable-handle{display:none}.ui-resizable-n{cursor:n-resize;height:7px;width:100%;top:-5px;left:0}.ui-resizable-s{cursor:s-resize;height:7px;width:100%;bottom:-5px;left:0}.ui-resizable-e{cursor:e-resize;width:7px;right:-5px;top:0;height:100%}.ui-resizable-w{cursor:w-resize;width:7px;left:-5px;top:0;height:100%}.ui-resizable-se{cursor:se-resize;width:12px;height:12px;right:1px;bottom:1px}.ui-resizable-sw{cursor:sw-resize;width:9px;height:9px;left:-5px;bottom:-5px}.ui-resizable-nw{cursor:nw-resize;width:9px;height:9px;left:-5px;top:-5px}.ui-resizable-ne{cursor:ne-resize;width:9px;height:9px;right:-5px;top:-5px}.ui-selectable{-ms-touch-action:none;touch-action:none}.ui-selectable-helper{position:absolute;z-index:100;border:1px dotted black}.ui-sortable-handle{-ms-touch-action:none;touch-action:none}.ui-accordion .ui-accordion-header{display:block;cursor:pointer;position:relative;margin:2px 0 0 0;padding:.5em .5em .5em .7em;font-size:100%}.ui-accordion .ui-accordion-content{padding:1em 2.2em;border-top:0;overflow:auto}.ui-autocomplete{position:absolute;top:0;left:0;cursor:default}.ui-menu{list-style:none;padding:0;margin:0;display:block;outline:0}.ui-menu .ui-menu{position:absolute}.ui-menu .ui-menu-item{margin:0;cursor:pointer;list-style-image:url("data:image/gif;base64,R0lGODlhAQABAIAAAAAAAP///yH5BAEAAAAALAAAAAABAAEAAAIBRAA7")}.ui-menu .ui-menu-item-wrapper{position:relative;padding:3px 1em 3px .4em}.ui-menu .ui-menu-divider{margin:5px 0;height:0;font-size:0;line-height:0;border-width:1px 0 0 0}.ui-menu .ui-state-focus,.ui-menu .ui-state-active{margin:-1px}.ui-menu-icons{position:relative}.ui-menu-icons .ui-menu-item-wrapper{padding-left:2em}.ui-menu .ui-icon{position:absolute;top:0;bottom:0;left:.2em;margin:auto 0}.ui-menu .ui-menu-icon{left:auto;right:0}.ui-button{padding:.4em 1em;display:inline-block;position:relative;line-height:normal;margin-right:.1em;cursor:pointer;vertical-align:middle;text-align:center;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;overflow:visible}.ui-button,.ui-button:link,.ui-button:visited,.ui-button:hover,.ui-button:active{text-decoration:none}.ui-button-icon-only{width:2em;box-sizing:border-box;text-indent:-9999px;white-space:nowrap}input.ui-button.ui-button-icon-only{text-indent:0}.ui-button-icon-only .ui-icon{position:absolute;top:50%;left:50%;margin-top:-8px;margin-left:-8px}.ui-button.ui-icon-notext .ui-icon{padding:0;width:2.1em;height:2.1em;text-indent:-9999px;white-space:nowrap}input.ui-button.ui-icon-notext .ui-icon{width:auto;height:auto;text-indent:0;white-space:normal;padding:.4em 1em}input.ui-button::-moz-focus-inner,button.ui-button::-moz-focus-inner{border:0;padding:0}.ui-controlgroup{vertical-align:middle;display:inline-block}.ui-controlgroup > .ui-controlgroup-item{float:left;margin-left:0;margin-right:0}.ui-controlgroup > .ui-controlgroup-item:focus,.ui-controlgroup > .ui-controlgroup-item.ui-visual-focus{z-index:9999}.ui-controlgroup-vertical > .ui-controlgroup-item{display:block;float:none;width:100%;margin-top:0;margin-bottom:0;text-align:left}.ui-controlgroup-vertical .ui-controlgroup-item{box-sizing:border-box}.ui-controlgroup .ui-controlgroup-label{padding:.4em 1em}.ui-controlgroup .ui-controlgroup-label span{font-size:80%}.ui-controlgroup-horizontal .ui-controlgroup-label + .ui-controlgroup-item{border-left:none}.ui-controlgroup-vertical .ui-controlgroup-label + .ui-controlgroup-item{border-top:none}.ui-controlgroup-horizontal .ui-controlgroup-label.ui-widget-content{border-right:none}.ui-controlgroup-vertical .ui-controlgroup-label.ui-widget-content{border-bottom:none}.ui-controlgroup-vertical .ui-spinner-input{width:75%;width:calc( 100% - 2.4em )}.ui-controlgroup-vertical .ui-spinner .ui-spinner-up{border-top-style:solid}.ui-checkboxradio-label .ui-icon-background{box-shadow:inset 1px 1px 1px #ccc;border-radius:.12em;border:none}.ui-checkboxradio-radio-label .ui-icon-background{width:16px;height:16px;border-radius:1em;overflow:visible;border:none}.ui-checkboxradio-radio-label.ui-checkboxradio-checked .ui-icon,.ui-checkboxradio-radio-label.ui-checkboxradio-checked:hover .ui-icon{background-image:none;width:8px;height:8px;border-width:4px;border-style:solid}.ui-checkboxradio-disabled{pointer-events:none}.ui-datepicker{width:17em;padding:.2em .2em 0;display:none}.ui-datepicker .ui-datepicker-header{position:relative;padding:.2em 0}.ui-datepicker .ui-datepicker-prev,.ui-datepicker .ui-datepicker-next{position:absolute;top:2px;width:1.8em;height:1.8em}.ui-datepicker .ui-datepicker-prev-hover,.ui-datepicker .ui-datepicker-next-hover{top:1px}.ui-datepicker .ui-datepicker-prev{left:2px}.ui-datepicker .ui-datepicker-next{right:2px}.ui-datepicker .ui-datepicker-prev-hover{left:1px}.ui-datepicker .ui-datepicker-next-hover{right:1px}.ui-datepicker .ui-datepicker-prev span,.ui-datepicker .ui-datepicker-next span{display:block;position:absolute;left:50%;margin-left:-8px;top:50%;margin-top:-8px}.ui-datepicker .ui-datepicker-title{margin:0 2.3em;line-height:1.8em;text-align:center}.ui-datepicker .ui-datepicker-title select{font-size:1em;margin:1px 0}.ui-datepicker select.ui-datepicker-month,.ui-datepicker select.ui-datepicker-year{width:45%}.ui-datepicker table{width:100%;font-size:.9em;border-collapse:collapse;margin:0 0 .4em}.ui-datepicker th{padding:.7em .3em;text-align:center;font-weight:bold;border:0}.ui-datepicker td{border:0;padding:1px}.ui-datepicker td span,.ui-datepicker td a{display:block;padding:.2em;text-align:right;text-decoration:none}.ui-datepicker .ui-datepicker-buttonpane{background-image:none;margin:.7em 0 0 0;padding:0 .2em;border-left:0;border-right:0;border-bottom:0}.ui-datepicker .ui-datepicker-buttonpane button{float:right;margin:.5em .2em .4em;cursor:pointer;padding:.2em .6em .3em .6em;width:auto;overflow:visible}.ui-datepicker .ui-datepicker-buttonpane button.ui-datepicker-current{float:left}.ui-datepicker.ui-datepicker-multi{width:auto}.ui-datepicker-multi .ui-datepicker-group{float:left}.ui-datepicker-multi .ui-datepicker-group table{width:95%;margin:0 auto .4em}.ui-datepicker-multi-2 .ui-datepicker-group{width:50%}.ui-datepicker-multi-3 .ui-datepicker-group{width:33.3%}.ui-datepicker-multi-4 .ui-datepicker-group{width:25%}.ui-datepicker-multi .ui-datepicker-group-last .ui-datepicker-header,.ui-datepicker-multi .ui-datepicker-group-middle .ui-datepicker-header{border-left-width:0}.ui-datepicker-multi .ui-datepicker-buttonpane{clear:left}.ui-datepicker-row-break{clear:both;width:100%;font-size:0}.ui-datepicker-rtl{direction:rtl}.ui-datepicker-rtl .ui-datepicker-prev{right:2px;left:auto}.ui-datepicker-rtl .ui-datepicker-next{left:2px;right:auto}.ui-datepicker-rtl .ui-datepicker-prev:hover{right:1px;left:auto}.ui-datepicker-rtl .ui-datepicker-next:hover{left:1px;right:auto}.ui-datepicker-rtl .ui-datepicker-buttonpane{clear:right}.ui-datepicker-rtl .ui-datepicker-buttonpane button{float:left}.ui-datepicker-rtl .ui-datepicker-buttonpane button.ui-datepicker-current,.ui-datepicker-rtl .ui-datepicker-group{float:right}.ui-datepicker-rtl .ui-datepicker-group-last .ui-datepicker-header,.ui-datepicker-rtl .ui-datepicker-group-middle .ui-datepicker-header{border-right-width:0;border-left-width:1px}.ui-datepicker .ui-icon{display:block;text-indent:-99999px;overflow:hidden;background-repeat:no-repeat;left:.5em;top:.3em}.ui-dialog{position:absolute;top:0;left:0;padding:.2em;outline:0}.ui-dialog .ui-dialog-titlebar{padding:.4em 1em;position:relative}.ui-dialog .ui-dialog-title{float:left;margin:.1em 0;white-space:nowrap;width:90%;overflow:hidden;text-overflow:ellipsis}.ui-dialog .ui-dialog-titlebar-close{position:absolute;right:.3em;top:50%;width:20px;margin:-10px 0 0 0;padding:1px;height:20px}.ui-dialog .ui-dialog-content{position:relative;border:0;padding:.5em 1em;background:none;overflow:auto}.ui-dialog .ui-dialog-buttonpane{text-align:left;border-width:1px 0 0 0;background-image:none;margin-top:.5em;padding:.3em 1em .5em .4em}.ui-dialog .ui-dialog-buttonpane .ui-dialog-buttonset{float:right}.ui-dialog .ui-dialog-buttonpane button{margin:.5em .4em .5em 0;cursor:pointer}.ui-dialog .ui-resizable-n{height:2px;top:0}.ui-dialog .ui-resizable-e{width:2px;right:0}.ui-dialog .ui-resizable-s{height:2px;bottom:0}.ui-dialog .ui-resizable-w{width:2px;left:0}.ui-dialog .ui-resizable-se,.ui-dialog .ui-resizable-sw,.ui-dialog .ui-resizable-ne,.ui-dialog .ui-resizable-nw{width:7px;height:7px}.ui-dialog .ui-resizable-se{right:0;bottom:0}.ui-dialog .ui-resizable-sw{left:0;bottom:0}.ui-dialog .ui-resizable-ne{right:0;top:0}.ui-dialog .ui-resizable-nw{left:0;top:0}.ui-draggable .ui-dialog-titlebar{cursor:move}.ui-progressbar{height:2em;text-align:left;overflow:hidden}.ui-progressbar .ui-progressbar-value{margin:-1px;height:100%}.ui-progressbar .ui-progressbar-overlay{background:url("data:image/gif;base64,R0lGODlhKAAoAIABAAAAAP///yH/C05FVFNDQVBFMi4wAwEAAAAh+QQJAQABACwAAAAAKAAoAAACkYwNqXrdC52DS06a7MFZI+4FHBCKoDeWKXqymPqGqxvJrXZbMx7Ttc+w9XgU2FB3lOyQRWET2IFGiU9m1frDVpxZZc6bfHwv4c1YXP6k1Vdy292Fb6UkuvFtXpvWSzA+HycXJHUXiGYIiMg2R6W459gnWGfHNdjIqDWVqemH2ekpObkpOlppWUqZiqr6edqqWQAAIfkECQEAAQAsAAAAACgAKAAAApSMgZnGfaqcg1E2uuzDmmHUBR8Qil95hiPKqWn3aqtLsS18y7G1SzNeowWBENtQd+T1JktP05nzPTdJZlR6vUxNWWjV+vUWhWNkWFwxl9VpZRedYcflIOLafaa28XdsH/ynlcc1uPVDZxQIR0K25+cICCmoqCe5mGhZOfeYSUh5yJcJyrkZWWpaR8doJ2o4NYq62lAAACH5BAkBAAEALAAAAAAoACgAAAKVDI4Yy22ZnINRNqosw0Bv7i1gyHUkFj7oSaWlu3ovC8GxNso5fluz3qLVhBVeT/Lz7ZTHyxL5dDalQWPVOsQWtRnuwXaFTj9jVVh8pma9JjZ4zYSj5ZOyma7uuolffh+IR5aW97cHuBUXKGKXlKjn+DiHWMcYJah4N0lYCMlJOXipGRr5qdgoSTrqWSq6WFl2ypoaUAAAIfkECQEAAQAsAAAAACgAKAAAApaEb6HLgd/iO7FNWtcFWe+ufODGjRfoiJ2akShbueb0wtI50zm02pbvwfWEMWBQ1zKGlLIhskiEPm9R6vRXxV4ZzWT2yHOGpWMyorblKlNp8HmHEb/lCXjcW7bmtXP8Xt229OVWR1fod2eWqNfHuMjXCPkIGNileOiImVmCOEmoSfn3yXlJWmoHGhqp6ilYuWYpmTqKUgAAIfkECQEAAQAsAAAAACgAKAAAApiEH6kb58biQ3FNWtMFWW3eNVcojuFGfqnZqSebuS06w5V80/X02pKe8zFwP6EFWOT1lDFk8rGERh1TTNOocQ61Hm4Xm2VexUHpzjymViHrFbiELsefVrn6XKfnt2Q9G/+Xdie499XHd2g4h7ioOGhXGJboGAnXSBnoBwKYyfioubZJ2Hn0RuRZaflZOil56Zp6iioKSXpUAAAh+QQJAQABACwAAAAAKAAoAAACkoQRqRvnxuI7kU1a1UU5bd5tnSeOZXhmn5lWK3qNTWvRdQxP8qvaC+/yaYQzXO7BMvaUEmJRd3TsiMAgswmNYrSgZdYrTX6tSHGZO73ezuAw2uxuQ+BbeZfMxsexY35+/Qe4J1inV0g4x3WHuMhIl2jXOKT2Q+VU5fgoSUI52VfZyfkJGkha6jmY+aaYdirq+lQAACH5BAkBAAEALAAAAAAoACgAAAKWBIKpYe0L3YNKToqswUlvznigd4wiR4KhZrKt9Upqip61i9E3vMvxRdHlbEFiEXfk9YARYxOZZD6VQ2pUunBmtRXo1Lf8hMVVcNl8JafV38aM2/Fu5V16Bn63r6xt97j09+MXSFi4BniGFae3hzbH9+hYBzkpuUh5aZmHuanZOZgIuvbGiNeomCnaxxap2upaCZsq+1kAACH5BAkBAAEALAAAAAAoACgAAAKXjI8By5zf4kOxTVrXNVlv1X0d8IGZGKLnNpYtm8Lr9cqVeuOSvfOW79D9aDHizNhDJidFZhNydEahOaDH6nomtJjp1tutKoNWkvA6JqfRVLHU/QUfau9l2x7G54d1fl995xcIGAdXqMfBNadoYrhH+Mg2KBlpVpbluCiXmMnZ2Sh4GBqJ+ckIOqqJ6LmKSllZmsoq6wpQAAAh+QQJAQABACwAAAAAKAAoAAAClYx/oLvoxuJDkU1a1YUZbJ59nSd2ZXhWqbRa2/gF8Gu2DY3iqs7yrq+xBYEkYvFSM8aSSObE+ZgRl1BHFZNr7pRCavZ5BW2142hY3AN/zWtsmf12p9XxxFl2lpLn1rseztfXZjdIWIf2s5dItwjYKBgo9yg5pHgzJXTEeGlZuenpyPmpGQoKOWkYmSpaSnqKileI2FAAACH5BAkBAAEALAAAAAAoACgAAAKVjB+gu+jG4kORTVrVhRlsnn2dJ3ZleFaptFrb+CXmO9OozeL5VfP99HvAWhpiUdcwkpBH3825AwYdU8xTqlLGhtCosArKMpvfa1mMRae9VvWZfeB2XfPkeLmm18lUcBj+p5dnN8jXZ3YIGEhYuOUn45aoCDkp16hl5IjYJvjWKcnoGQpqyPlpOhr3aElaqrq56Bq7VAAAOw==");height:100%;filter:alpha(opacity=25);opacity:0.25}.ui-progressbar-indeterminate .ui-progressbar-value{background-image:none}.ui-selectmenu-menu{padding:0;margin:0;position:absolute;top:0;left:0;display:none}.ui-selectmenu-menu .ui-menu{overflow:auto;overflow-x:hidden;padding-bottom:1px}.ui-selectmenu-menu .ui-menu .ui-selectmenu-optgroup{font-size:1em;font-weight:bold;line-height:1.5;padding:2px 0.4em;margin:0.5em 0 0 0;height:auto;border:0}.ui-selectmenu-open{display:block}.ui-selectmenu-text{display:block;margin-right:20px;overflow:hidden;text-overflow:ellipsis}.ui-selectmenu-button.ui-button{text-align:left;white-space:nowrap;width:14em}.ui-selectmenu-icon.ui-icon{float:right;margin-top:0}.ui-slider{position:relative;text-align:left}.ui-slider .ui-slider-handle{position:absolute;z-index:2;width:1.2em;height:1.2em;cursor:default;-ms-touch-action:none;touch-action:none}.ui-slider .ui-slider-range{position:absolute;z-index:1;font-size:.7em;display:block;border:0;background-position:0 0}.ui-slider.ui-state-disabled .ui-slider-handle,.ui-slider.ui-state-disabled .ui-slider-range{filter:inherit}.ui-slider-horizontal{height:.8em}.ui-slider-horizontal .ui-slider-handle{top:-.3em;margin-left:-.6em}.ui-slider-horizontal .ui-slider-range{top:0;height:100%}.ui-slider-horizontal .ui-slider-range-min{left:0}.ui-slider-horizontal .ui-slider-range-max{right:0}.ui-slider-vertical{width:.8em;height:100px}.ui-slider-vertical .ui-slider-handle{left:-.3em;margin-left:0;margin-bottom:-.6em}.ui-slider-vertical .ui-slider-range{left:0;width:100%}.ui-slider-vertical .ui-slider-range-min{bottom:0}.ui-slider-vertical .ui-slider-range-max{top:0}.ui-spinner{position:relative;display:inline-block;overflow:hidden;padding:0;vertical-align:middle}.ui-spinner-input{border:none;background:none;color:inherit;padding:.222em 0;margin:.2em 0;vertical-align:middle;margin-left:.4em;margin-right:2em}.ui-spinner-button{width:1.6em;height:50%;font-size:.5em;padding:0;margin:0;text-align:center;position:absolute;cursor:default;display:block;overflow:hidden;right:0}.ui-spinner a.ui-spinner-button{border-top-style:none;border-bottom-style:none;border-right-style:none}.ui-spinner-up{top:0}.ui-spinner-down{bottom:0}.ui-tabs{position:relative;padding:.2em}.ui-tabs .ui-tabs-nav{margin:0;padding:.2em .2em 0}.ui-tabs .ui-tabs-nav li{list-style:none;float:left;position:relative;top:0;margin:1px .2em 0 0;border-bottom-width:0;padding:0;white-space:nowrap}.ui-tabs .ui-tabs-nav .ui-tabs-anchor{float:left;padding:.5em 1em;text-decoration:none}.ui-tabs .ui-tabs-nav li.ui-tabs-active{margin-bottom:-1px;padding-bottom:1px}.ui-tabs .ui-tabs-nav li.ui-tabs-active .ui-tabs-anchor,.ui-tabs .ui-tabs-nav li.ui-state-disabled .ui-tabs-anchor,.ui-tabs .ui-tabs-nav li.ui-tabs-loading .ui-tabs-anchor{cursor:text}.ui-tabs-collapsible .ui-tabs-nav li.ui-tabs-active .ui-tabs-anchor{cursor:pointer}.ui-tabs .ui-tabs-panel{display:block;border-width:0;padding:1em 1.4em;background:none}.ui-tooltip{padding:8px;position:absolute;z-index:9999;max-width:300px}body .ui-tooltip{border-width:2px}.ui-widget{font-family:Arial,Helvetica,sans-serif;font-size:1em}.ui-widget .ui-widget{font-size:1em}.ui-widget input,.ui-widget select,.ui-widget textarea,.ui-widget button{font-family:Arial,Helvetica,sans-serif;font-size:1em}.ui-widget.ui-widget-content{border:1px solid #c5c5c5}.ui-widget-content{border:1px solid #ddd;background:#fff;color:#333}.ui-widget-content a{color:#333}.ui-widget-header{border:1px solid #ddd;background:#e9e9e9;color:#333;font-weight:bold}.ui-widget-header a{color:#333}.ui-state-default,.ui-widget-content .ui-state-default,.ui-widget-header .ui-state-default,.ui-button,html .ui-button.ui-state-disabled:hover,html .ui-button.ui-state-disabled:active{border:1px solid #c5c5c5;background:#f6f6f6;font-weight:normal;color:#454545}.ui-state-default a,.ui-state-default a:link,.ui-state-default a:visited,a.ui-button,a:link.ui-button,a:visited.ui-button,.ui-button{color:#454545;text-decoration:none}.ui-state-hover,.ui-widget-content .ui-state-hover,.ui-widget-header .ui-state-hover,.ui-state-focus,.ui-widget-content .ui-state-focus,.ui-widget-header .ui-state-focus,.ui-button:hover,.ui-button:focus{border:1px solid #ccc;background:#ededed;font-weight:normal;color:#2b2b2b}.ui-state-hover a,.ui-state-hover a:hover,.ui-state-hover a:link,.ui-state-hover a:visited,.ui-state-focus a,.ui-state-focus a:hover,.ui-state-focus a:link,.ui-state-focus a:visited,a.ui-button:hover,a.ui-button:focus{color:#2b2b2b;text-decoration:none}.ui-visual-focus{box-shadow:0 0 3px 1px rgb(94,158,214)}.ui-state-active,.ui-widget-content .ui-state-active,.ui-widget-header .ui-state-active,a.ui-button:active,.ui-button:active,.ui-button.ui-state-active:hover{border:1px solid #003eff;background:#007fff;font-weight:normal;color:#fff}.ui-icon-background,.ui-state-active .ui-icon-background{border:#003eff;background-color:#fff}.ui-state-active a,.ui-state-active a:link,.ui-state-active a:visited{color:#fff;text-decoration:none}.ui-state-highlight,.ui-widget-content .ui-state-highlight,.ui-widget-header .ui-state-highlight{border:1px solid #dad55e;background:#fffa90;color:#777620}.ui-state-checked{border:1px solid #dad55e;background:#fffa90}.ui-state-highlight a,.ui-widget-content .ui-state-highlight a,.ui-widget-header .ui-state-highlight a{color:#777620}.ui-state-error,.ui-widget-content .ui-state-error,.ui-widget-header .ui-state-error{border:1px solid #f1a899;background:#fddfdf;color:#5f3f3f}.ui-state-error a,.ui-widget-content .ui-state-error a,.ui-widget-header .ui-state-error a{color:#5f3f3f}.ui-state-error-text,.ui-widget-content .ui-state-error-text,.ui-widget-header .ui-state-error-text{color:#5f3f3f}.ui-priority-primary,.ui-widget-content .ui-priority-primary,.ui-widget-header .ui-priority-primary{font-weight:bold}.ui-priority-secondary,.ui-widget-content .ui-priority-secondary,.ui-widget-header .ui-priority-secondary{opacity:.7;filter:Alpha(Opacity=70);font-weight:normal}.ui-state-disabled,.ui-widget-content .ui-state-disabled,.ui-widget-header .ui-state-disabled{opacity:.35;filter:Alpha(Opacity=35);background-image:none}.ui-state-disabled .ui-icon{filter:Alpha(Opacity=35)}.ui-icon{width:16px;height:16px}.ui-icon,.ui-widget-content .ui-icon{background-image:url("images/ui-icons_444444_256x240.png")}.ui-widget-header .ui-icon{background-image:url("images/ui-icons_444444_256x240.png")}.ui-state-hover .ui-icon,.ui-state-focus .ui-icon,.ui-button:hover .ui-icon,.ui-button:focus .ui-icon{background-image:url("images/ui-icons_555555_256x240.png")}.ui-state-active .ui-icon,.ui-button:active .ui-icon{background-image:url("images/ui-icons_ffffff_256x240.png")}.ui-state-highlight .ui-icon,.ui-button .ui-state-highlight.ui-icon{background-image:url("images/ui-icons_777620_256x240.png")}.ui-state-error .ui-icon,.ui-state-error-text .ui-icon{background-image:url("images/ui-icons_cc0000_256x240.png")}.ui-button .ui-icon{background-image:url("images/ui-icons_777777_256x240.png")}.ui-icon-blank{background-position:16px 16px}.ui-icon-caret-1-n{background-position:0 0}.ui-icon-caret-1-ne{background-position:-16px 0}.ui-icon-caret-1-e{background-position:-32px 0}.ui-icon-caret-1-se{background-position:-48px 0}.ui-icon-caret-1-s{background-position:-65px 0}.ui-icon-caret-1-sw{background-position:-80px 0}.ui-icon-caret-1-w{background-position:-96px 0}.ui-icon-caret-1-nw{background-position:-112px 0}.ui-icon-caret-2-n-s{background-position:-128px 0}.ui-icon-caret-2-e-w{background-position:-144px 0}.ui-icon-triangle-1-n{background-position:0 -16px}.ui-icon-triangle-1-ne{background-position:-16px -16px}.ui-icon-triangle-1-e{background-position:-32px -16px}.ui-icon-triangle-1-se{background-position:-48px -16px}.ui-icon-triangle-1-s{background-position:-65px -16px}.ui-icon-triangle-1-sw{background-position:-80px -16px}.ui-icon-triangle-1-w{background-position:-96px -16px}.ui-icon-triangle-1-nw{background-position:-112px -16px}.ui-icon-triangle-2-n-s{background-position:-128px -16px}.ui-icon-triangle-2-e-w{background-position:-144px -16px}.ui-icon-arrow-1-n{background-position:0 -32px}.ui-icon-arrow-1-ne{background-position:-16px -32px}.ui-icon-arrow-1-e{background-position:-32px -32px}.ui-icon-arrow-1-se{background-position:-48px -32px}.ui-icon-arrow-1-s{background-position:-65px -32px}.ui-icon-arrow-1-sw{background-position:-80px -32px}.ui-icon-arrow-1-w{background-position:-96px -32px}.ui-icon-arrow-1-nw{background-position:-112px -32px}.ui-icon-arrow-2-n-s{background-position:-128px -32px}.ui-icon-arrow-2-ne-sw{background-position:-144px -32px}.ui-icon-arrow-2-e-w{background-position:-160px -32px}.ui-icon-arrow-2-se-nw{background-position:-176px -32px}.ui-icon-arrowstop-1-n{background-position:-192px -32px}.ui-icon-arrowstop-1-e{background-position:-208px -32px}.ui-icon-arrowstop-1-s{background-position:-224px -32px}.ui-icon-arrowstop-1-w{background-position:-240px -32px}.ui-icon-arrowthick-1-n{background-position:1px -48px}.ui-icon-arrowthick-1-ne{background-position:-16px -48px}.ui-icon-arrowthick-1-e{background-position:-32px -48px}.ui-icon-arrowthick-1-se{background-position:-48px -48px}.ui-icon-arrowthick-1-s{background-position:-64px -48px}.ui-icon-arrowthick-1-sw{background-position:-80px -48px}.ui-icon-arrowthick-1-w{background-position:-96px -48px}.ui-icon-arrowthick-1-nw{background-position:-112px -48px}.ui-icon-arrowthick-2-n-s{background-position:-128px -48px}.ui-icon-arrowthick-2-ne-sw{background-position:-144px -48px}.ui-icon-arrowthick-2-e-w{background-position:-160px -48px}.ui-icon-arrowthick-2-se-nw{background-position:-176px -48px}.ui-icon-arrowthickstop-1-n{background-position:-192px -48px}.ui-icon-arrowthickstop-1-e{background-position:-208px -48px}.ui-icon-arrowthickstop-1-s{background-position:-224px -48px}.ui-icon-arrowthickstop-1-w{background-position:-240px -48px}.ui-icon-arrowreturnthick-1-w{background-position:0 -64px}.ui-icon-arrowreturnthick-1-n{background-position:-16px -64px}.ui-icon-arrowreturnthick-1-e{background-position:-32px -64px}.ui-icon-arrowreturnthick-1-s{background-position:-48px -64px}.ui-icon-arrowreturn-1-w{background-position:-64px -64px}.ui-icon-arrowreturn-1-n{background-position:-80px -64px}.ui-icon-arrowreturn-1-e{background-position:-96px -64px}.ui-icon-arrowreturn-1-s{background-position:-112px -64px}.ui-icon-arrowrefresh-1-w{background-position:-128px -64px}.ui-icon-arrowrefresh-1-n{background-position:-144px -64px}.ui-icon-arrowrefresh-1-e{background-position:-160px -64px}.ui-icon-arrowrefresh-1-s{background-position:-176px -64px}.ui-icon-arrow-4{background-position:0 -80px}.ui-icon-arrow-4-diag{background-position:-16px -80px}.ui-icon-extlink{background-position:-32px -80px}.ui-icon-newwin{background-position:-48px -80px}.ui-icon-refresh{background-position:-64px -80px}.ui-icon-shuffle{background-position:-80px -80px}.ui-icon-transfer-e-w{background-position:-96px -80px}.ui-icon-transferthick-e-w{background-position:-112px -80px}.ui-icon-folder-collapsed{background-position:0 -96px}.ui-icon-folder-open{background-position:-16px -96px}.ui-icon-document{background-position:-32px -96px}.ui-icon-document-b{background-position:-48px -96px}.ui-icon-note{background-position:-64px -96px}.ui-icon-mail-closed{background-position:-80px -96px}.ui-icon-mail-open{background-position:-96px -96px}.ui-icon-suitcase{background-position:-112px -96px}.ui-icon-comment{background-position:-128px -96px}.ui-icon-person{background-position:-144px -96px}.ui-icon-print{background-position:-160px -96px}.ui-icon-trash{background-position:-176px -96px}.ui-icon-locked{background-position:-192px -96px}.ui-icon-unlocked{background-position:-208px -96px}.ui-icon-bookmark{background-position:-224px -96px}.ui-icon-tag{background-position:-240px -96px}.ui-icon-home{background-position:0 -112px}.ui-icon-flag{background-position:-16px -112px}.ui-icon-calendar{background-position:-32px -112px}.ui-icon-cart{background-position:-48px -112px}.ui-icon-pencil{background-position:-64px -112px}.ui-icon-clock{background-position:-80px -112px}.ui-icon-disk{background-position:-96px -112px}.ui-icon-calculator{background-position:-112px -112px}.ui-icon-zoomin{background-position:-128px -112px}.ui-icon-zoomout{background-position:-144px -112px}.ui-icon-search{background-position:-160px -112px}.ui-icon-wrench{background-position:-176px -112px}.ui-icon-gear{background-position:-192px -112px}.ui-icon-heart{background-position:-208px -112px}.ui-icon-star{background-position:-224px -112px}.ui-icon-link{background-position:-240px -112px}.ui-icon-cancel{background-position:0 -128px}.ui-icon-plus{background-position:-16px -128px}.ui-icon-plusthick{background-position:-32px -128px}.ui-icon-minus{background-position:-48px -128px}.ui-icon-minusthick{background-position:-64px -128px}.ui-icon-close{background-position:-80px -128px}.ui-icon-closethick{background-position:-96px -128px}.ui-icon-key{background-position:-112px -128px}.ui-icon-lightbulb{background-position:-128px -128px}.ui-icon-scissors{background-position:-144px -128px}.ui-icon-clipboard{background-position:-160px -128px}.ui-icon-copy{background-position:-176px -128px}.ui-icon-contact{background-position:-192px -128px}.ui-icon-image{background-position:-208px -128px}.ui-icon-video{background-position:-224px -128px}.ui-icon-script{background-position:-240px -128px}.ui-icon-alert{background-position:0 -144px}.ui-icon-info{background-position:-16px -144px}.ui-icon-notice{background-position:-32px -144px}.ui-icon-help{background-position:-48px -144px}.ui-icon-check{background-position:-64px -144px}.ui-icon-bullet{background-position:-80px -144px}.ui-icon-radio-on{background-position:-96px -144px}.ui-icon-radio-off{background-position:-112px -144px}.ui-icon-pin-w{background-position:-128px -144px}.ui-icon-pin-s{background-position:-144px -144px}.ui-icon-play{background-position:0 -160px}.ui-icon-pause{background-position:-16px -160px}.ui-icon-seek-next{background-position:-32px -160px}.ui-icon-seek-prev{background-position:-48px -160px}.ui-icon-seek-end{background-position:-64px -160px}.ui-icon-seek-start{background-position:-80px -160px}.ui-icon-seek-first{background-position:-80px -160px}.ui-icon-stop{background-position:-96px -160px}.ui-icon-eject{background-position:-112px -160px}.ui-icon-volume-off{background-position:-128px -160px}.ui-icon-volume-on{background-position:-144px -160px}.ui-icon-power{background-position:0 -176px}.ui-icon-signal-diag{background-position:-16px -176px}.ui-icon-signal{background-position:-32px -176px}.ui-icon-battery-0{background-position:-48px -176px}.ui-icon-battery-1{background-position:-64px -176px}.ui-icon-battery-2{background-position:-80px -176px}.ui-icon-battery-3{background-position:-96px -176px}.ui-icon-circle-plus{background-position:0 -192px}.ui-icon-circle-minus{background-position:-16px -192px}.ui-icon-circle-close{background-position:-32px -192px}.ui-icon-circle-triangle-e{background-position:-48px -192px}.ui-icon-circle-triangle-s{background-position:-64px -192px}.ui-icon-circle-triangle-w{background-position:-80px -192px}.ui-icon-circle-triangle-n{background-position:-96px -192px}.ui-icon-circle-arrow-e{background-position:-112px -192px}.ui-icon-circle-arrow-s{background-position:-128px -192px}.ui-icon-circle-arrow-w{background-position:-144px -192px}.ui-icon-circle-arrow-n{background-position:-160px -192px}.ui-icon-circle-zoomin{background-position:-176px -192px}.ui-icon-circle-zoomout{background-position:-192px -192px}.ui-icon-circle-check{background-position:-208px -192px}.ui-icon-circlesmall-plus{background-position:0 -208px}.ui-icon-circlesmall-minus{background-position:-16px -208px}.ui-icon-circlesmall-close{background-position:-32px -208px}.ui-icon-squaresmall-plus{background-position:-48px -208px}.ui-icon-squaresmall-minus{background-position:-64px -208px}.ui-icon-squaresmall-close{background-position:-80px -208px}.ui-icon-grip-dotted-vertical{background-position:0 -224px}.ui-icon-grip-dotted-horizontal{background-position:-16px -224px}.ui-icon-grip-solid-vertical{background-position:-32px -224px}.ui-icon-grip-solid-horizontal{background-position:-48px -224px}.ui-icon-gripsmall-diagonal-se{background-position:-64px -224px}.ui-icon-grip-diagonal-se{background-position:-80px -224px}.ui-corner-all,.ui-corner-top,.ui-corner-left,.ui-corner-tl{border-top-left-radius:3px}.ui-corner-all,.ui-corner-top,.ui-corner-right,.ui-corner-tr{border-top-right-radius:3px}.ui-corner-all,.ui-corner-bottom,.ui-corner-left,.ui-corner-bl{border-bottom-left-radius:3px}.ui-corner-all,.ui-corner-bottom,.ui-corner-right,.ui-corner-br{border-bottom-right-radius:3px}.ui-widget-overlay{background:#aaa;opacity:.3;filter:Alpha(Opacity=30)}.ui-widget-shadow{-webkit-box-shadow:0 0 5px #666;box-shadow:0 0 5px #666}
|
includes/admin/wp_shopping_cart_menu_email_settings.php
CHANGED
@@ -5,23 +5,23 @@ function show_wp_cart_email_settings_page()
|
|
5 |
if(!current_user_can('manage_options')){
|
6 |
wp_die('You do not have permission to access the settings page.');
|
7 |
}
|
8 |
-
|
9 |
if (isset($_POST['wpspc_email_settings_update']))
|
10 |
{
|
11 |
$nonce = $_REQUEST['_wpnonce'];
|
12 |
if ( !wp_verify_nonce($nonce, 'wpspc_email_settings_update')){
|
13 |
wp_die('Error! Nonce Security Check Failed! Go back to email settings menu and save the settings again.');
|
14 |
}
|
15 |
-
update_option('wpspc_send_buyer_email', (isset($_POST['wpspc_send_buyer_email']) && $_POST['wpspc_send_buyer_email']!='') ? 'checked="checked"':'' );
|
16 |
-
update_option('wpspc_buyer_from_email', stripslashes(
|
17 |
-
update_option('wpspc_buyer_email_subj', stripslashes((
|
18 |
-
update_option('wpspc_buyer_email_body', stripslashes((
|
19 |
-
|
20 |
-
update_option('wpspc_send_seller_email', (isset($_POST['wpspc_send_seller_email']) && $_POST['wpspc_send_seller_email']!='') ? 'checked="checked"':'' );
|
21 |
-
update_option('wpspc_notify_email_address', stripslashes((
|
22 |
-
update_option('wpspc_seller_email_subj', stripslashes((
|
23 |
-
update_option('wpspc_seller_email_body', stripslashes((
|
24 |
-
|
25 |
echo '<div id="message" class="updated fade"><p><strong>';
|
26 |
echo 'Email Settings Updated!';
|
27 |
echo '</strong></p></div>';
|
@@ -30,18 +30,18 @@ function show_wp_cart_email_settings_page()
|
|
30 |
if (get_option('wpspc_send_buyer_email')){
|
31 |
$wpspc_send_buyer_email = 'checked="checked"';
|
32 |
}
|
33 |
-
$wpspc_buyer_from_email = get_option('wpspc_buyer_from_email');
|
34 |
-
$wpspc_buyer_email_subj = get_option('wpspc_buyer_email_subj');
|
35 |
$wpspc_buyer_email_body = get_option('wpspc_buyer_email_body');
|
36 |
$wpspc_send_seller_email = '';
|
37 |
if (get_option('wpspc_send_seller_email')){
|
38 |
$wpspc_send_seller_email = 'checked="checked"';
|
39 |
}
|
40 |
-
$wpspc_notify_email_address = get_option('wpspc_notify_email_address');
|
41 |
if(empty($wpspc_notify_email_address)){
|
42 |
$wpspc_notify_email_address = get_bloginfo('admin_email'); //default value
|
43 |
}
|
44 |
-
$wpspc_seller_email_subj = get_option('wpspc_seller_email_subj');
|
45 |
if(empty($wpspc_seller_email_subj)){
|
46 |
$wpspc_seller_email_subj = "Notification of product sale";
|
47 |
}
|
@@ -49,21 +49,21 @@ function show_wp_cart_email_settings_page()
|
|
49 |
if(empty($wpspc_seller_email_body)){
|
50 |
$wpspc_seller_email_body = "Dear Seller\n".
|
51 |
"\nThis mail is to notify you of a product sale.\n".
|
52 |
-
"\n{product_details}".
|
53 |
"\n\nThe sale was made to {first_name} {last_name} ({payer_email})".
|
54 |
"\n\nThanks";
|
55 |
}
|
56 |
?>
|
57 |
-
|
58 |
<div class="wspsc_yellow_box">
|
59 |
<p><?php _e("For more information, updates, detailed documentation and video tutorial, please visit:", "wordpress-simple-paypal-shopping-cart"); ?><br />
|
60 |
<a href="https://www.tipsandtricks-hq.com/wordpress-simple-paypal-shopping-cart-plugin-768" target="_blank"><?php _e("WP Simple Cart Homepage", "wordpress-simple-paypal-shopping-cart"); ?></a></p>
|
61 |
</div>
|
62 |
-
|
63 |
<form method="post" action="">
|
64 |
<?php wp_nonce_field('wpspc_email_settings_update'); ?>
|
65 |
<input type="hidden" name="info_update" id="info_update" value="true" />
|
66 |
-
|
67 |
<div class="postbox">
|
68 |
<h3 class="hndle"><label for="title"><?php _e("Purchase Confirmation Email Settings", "wordpress-simple-paypal-shopping-cart");?></label></h3>
|
69 |
<div class="inside">
|
@@ -76,7 +76,7 @@ function show_wp_cart_email_settings_page()
|
|
76 |
<th scope="row"><?php _e("Send Emails to Buyer After Purchase", "wordpress-simple-paypal-shopping-cart");?></th>
|
77 |
<td><input type="checkbox" name="wpspc_send_buyer_email" value="1" <?php echo $wpspc_send_buyer_email; ?> /><span class="description"><?php _e("If checked the plugin will send an email to the buyer with the sale details. If digital goods are purchased then the email will contain the download links for the purchased products.", "wordpress-simple-paypal-shopping-cart");?></a></span></td>
|
78 |
</tr>
|
79 |
-
|
80 |
<tr valign="top">
|
81 |
<th scope="row"><?php _e("From Email Address", "wordpress-simple-paypal-shopping-cart");?></th>
|
82 |
<td><input type="text" name="wpspc_buyer_from_email" value="<?php echo esc_attr($wpspc_buyer_from_email); ?>" size="50" />
|
@@ -97,21 +97,21 @@ function show_wp_cart_email_settings_page()
|
|
97 |
<br />{first_name} – <?php _e("First name of the buyer", "wordpress-simple-paypal-shopping-cart");?>
|
98 |
<br />{last_name} – <?php _e("Last name of the buyer", "wordpress-simple-paypal-shopping-cart");?>
|
99 |
<br />{payer_email} – <?php _e("Email Address of the buyer", "wordpress-simple-paypal-shopping-cart");?>
|
100 |
-
<br />{address} – <?php _e("Address of the buyer", "wordpress-simple-paypal-shopping-cart");?>
|
101 |
-
<br />{product_details} – <?php _e("The item details of the purchased product (this will include the download link for digital items).", "wordpress-simple-paypal-shopping-cart");?>
|
102 |
-
<br />{transaction_id} – <?php _e("The unique transaction ID of the purchase", "wordpress-simple-paypal-shopping-cart");?>
|
103 |
-
<br />{order_id} – <?php _e("The order ID reference of this transaction in the cart orders menu", "wordpress-simple-paypal-shopping-cart");?>
|
104 |
<br />{purchase_amt} – <?php _e("The amount paid for the current transaction", "wordpress-simple-paypal-shopping-cart");?>
|
105 |
<br />{purchase_date} – <?php _e("The date of the purchase", "wordpress-simple-paypal-shopping-cart");?>
|
106 |
<br />{coupon_code} – <?php _e("Coupon code applied to the purchase", "wordpress-simple-paypal-shopping-cart");?>
|
107 |
</p></td>
|
108 |
</tr>
|
109 |
-
|
110 |
<tr valign="top">
|
111 |
<th scope="row"><?php _e("Send Emails to Seller After Purchase", "wordpress-simple-paypal-shopping-cart");?></th>
|
112 |
<td><input type="checkbox" name="wpspc_send_seller_email" value="1" <?php echo $wpspc_send_seller_email; ?> /><span class="description"><?php _e("If checked the plugin will send an email to the seller with the sale details", "wordpress-simple-paypal-shopping-cart");?></a></span></td>
|
113 |
</tr>
|
114 |
-
|
115 |
<tr valign="top">
|
116 |
<th scope="row"><?php _e("Notification Email Address*", "wordpress-simple-paypal-shopping-cart");?></th>
|
117 |
<td><input type="text" name="wpspc_notify_email_address" value="<?php echo esc_attr($wpspc_notify_email_address); ?>" size="50" />
|
@@ -132,7 +132,7 @@ function show_wp_cart_email_settings_page()
|
|
132 |
<br />{first_name} – <?php _e("First name of the buyer", "wordpress-simple-paypal-shopping-cart");?>
|
133 |
<br />{last_name} – <?php _e("Last name of the buyer", "wordpress-simple-paypal-shopping-cart");?>
|
134 |
<br />{payer_email} – <?php _e("Email Address of the buyer", "wordpress-simple-paypal-shopping-cart");?>
|
135 |
-
<br />{address} – <?php _e("Address of the buyer", "wordpress-simple-paypal-shopping-cart");?>
|
136 |
<br />{product_details} – <?php _e("The item details of the purchased product (this will include the download link for digital items).", "wordpress-simple-paypal-shopping-cart");?>
|
137 |
<br />{transaction_id} – <?php _e("The unique transaction ID of the purchase", "wordpress-simple-paypal-shopping-cart");?>
|
138 |
<br />{order_id} – <?php _e("The order ID reference of this transaction in the cart orders menu", "wordpress-simple-paypal-shopping-cart");?>
|
@@ -142,15 +142,15 @@ function show_wp_cart_email_settings_page()
|
|
142 |
</p></td>
|
143 |
</tr>
|
144 |
|
145 |
-
</table>
|
146 |
|
147 |
</div></div>
|
148 |
-
|
149 |
<div class="submit">
|
150 |
<input type="submit" class="button-primary" name="wpspc_email_settings_update" value="<?php echo (__("Update Options »", "wordpress-simple-paypal-shopping-cart")) ?>" />
|
151 |
</div>
|
152 |
</form>
|
153 |
-
|
154 |
<?php
|
155 |
wpspsc_settings_menu_footer();
|
156 |
}
|
5 |
if(!current_user_can('manage_options')){
|
6 |
wp_die('You do not have permission to access the settings page.');
|
7 |
}
|
8 |
+
|
9 |
if (isset($_POST['wpspc_email_settings_update']))
|
10 |
{
|
11 |
$nonce = $_REQUEST['_wpnonce'];
|
12 |
if ( !wp_verify_nonce($nonce, 'wpspc_email_settings_update')){
|
13 |
wp_die('Error! Nonce Security Check Failed! Go back to email settings menu and save the settings again.');
|
14 |
}
|
15 |
+
update_option('wpspc_send_buyer_email', (isset($_POST['wpspc_send_buyer_email']) && $_POST['wpspc_send_buyer_email']!='') ? 'checked="checked"':'' );
|
16 |
+
update_option('wpspc_buyer_from_email', stripslashes($_POST["wpspc_buyer_from_email"]));
|
17 |
+
update_option('wpspc_buyer_email_subj', stripslashes(sanitize_text_field($_POST["wpspc_buyer_email_subj"])));
|
18 |
+
update_option('wpspc_buyer_email_body', stripslashes(wp_filter_post_kses($_POST["wpspc_buyer_email_body"])));
|
19 |
+
|
20 |
+
update_option('wpspc_send_seller_email', (isset($_POST['wpspc_send_seller_email']) && $_POST['wpspc_send_seller_email']!='') ? 'checked="checked"':'' );
|
21 |
+
update_option('wpspc_notify_email_address', stripslashes(sanitize_text_field($_POST["wpspc_notify_email_address"])));
|
22 |
+
update_option('wpspc_seller_email_subj', stripslashes(sanitize_text_field($_POST["wpspc_seller_email_subj"])));
|
23 |
+
update_option('wpspc_seller_email_body', stripslashes(wp_filter_post_kses($_POST["wpspc_seller_email_body"])));
|
24 |
+
|
25 |
echo '<div id="message" class="updated fade"><p><strong>';
|
26 |
echo 'Email Settings Updated!';
|
27 |
echo '</strong></p></div>';
|
30 |
if (get_option('wpspc_send_buyer_email')){
|
31 |
$wpspc_send_buyer_email = 'checked="checked"';
|
32 |
}
|
33 |
+
$wpspc_buyer_from_email = get_option('wpspc_buyer_from_email');
|
34 |
+
$wpspc_buyer_email_subj = get_option('wpspc_buyer_email_subj');
|
35 |
$wpspc_buyer_email_body = get_option('wpspc_buyer_email_body');
|
36 |
$wpspc_send_seller_email = '';
|
37 |
if (get_option('wpspc_send_seller_email')){
|
38 |
$wpspc_send_seller_email = 'checked="checked"';
|
39 |
}
|
40 |
+
$wpspc_notify_email_address = get_option('wpspc_notify_email_address');
|
41 |
if(empty($wpspc_notify_email_address)){
|
42 |
$wpspc_notify_email_address = get_bloginfo('admin_email'); //default value
|
43 |
}
|
44 |
+
$wpspc_seller_email_subj = get_option('wpspc_seller_email_subj');
|
45 |
if(empty($wpspc_seller_email_subj)){
|
46 |
$wpspc_seller_email_subj = "Notification of product sale";
|
47 |
}
|
49 |
if(empty($wpspc_seller_email_body)){
|
50 |
$wpspc_seller_email_body = "Dear Seller\n".
|
51 |
"\nThis mail is to notify you of a product sale.\n".
|
52 |
+
"\n{product_details}".
|
53 |
"\n\nThe sale was made to {first_name} {last_name} ({payer_email})".
|
54 |
"\n\nThanks";
|
55 |
}
|
56 |
?>
|
57 |
+
|
58 |
<div class="wspsc_yellow_box">
|
59 |
<p><?php _e("For more information, updates, detailed documentation and video tutorial, please visit:", "wordpress-simple-paypal-shopping-cart"); ?><br />
|
60 |
<a href="https://www.tipsandtricks-hq.com/wordpress-simple-paypal-shopping-cart-plugin-768" target="_blank"><?php _e("WP Simple Cart Homepage", "wordpress-simple-paypal-shopping-cart"); ?></a></p>
|
61 |
</div>
|
62 |
+
|
63 |
<form method="post" action="">
|
64 |
<?php wp_nonce_field('wpspc_email_settings_update'); ?>
|
65 |
<input type="hidden" name="info_update" id="info_update" value="true" />
|
66 |
+
|
67 |
<div class="postbox">
|
68 |
<h3 class="hndle"><label for="title"><?php _e("Purchase Confirmation Email Settings", "wordpress-simple-paypal-shopping-cart");?></label></h3>
|
69 |
<div class="inside">
|
76 |
<th scope="row"><?php _e("Send Emails to Buyer After Purchase", "wordpress-simple-paypal-shopping-cart");?></th>
|
77 |
<td><input type="checkbox" name="wpspc_send_buyer_email" value="1" <?php echo $wpspc_send_buyer_email; ?> /><span class="description"><?php _e("If checked the plugin will send an email to the buyer with the sale details. If digital goods are purchased then the email will contain the download links for the purchased products.", "wordpress-simple-paypal-shopping-cart");?></a></span></td>
|
78 |
</tr>
|
79 |
+
|
80 |
<tr valign="top">
|
81 |
<th scope="row"><?php _e("From Email Address", "wordpress-simple-paypal-shopping-cart");?></th>
|
82 |
<td><input type="text" name="wpspc_buyer_from_email" value="<?php echo esc_attr($wpspc_buyer_from_email); ?>" size="50" />
|
97 |
<br />{first_name} – <?php _e("First name of the buyer", "wordpress-simple-paypal-shopping-cart");?>
|
98 |
<br />{last_name} – <?php _e("Last name of the buyer", "wordpress-simple-paypal-shopping-cart");?>
|
99 |
<br />{payer_email} – <?php _e("Email Address of the buyer", "wordpress-simple-paypal-shopping-cart");?>
|
100 |
+
<br />{address} – <?php _e("Address of the buyer", "wordpress-simple-paypal-shopping-cart");?>
|
101 |
+
<br />{product_details} – <?php _e("The item details of the purchased product (this will include the download link for digital items).", "wordpress-simple-paypal-shopping-cart");?>
|
102 |
+
<br />{transaction_id} – <?php _e("The unique transaction ID of the purchase", "wordpress-simple-paypal-shopping-cart");?>
|
103 |
+
<br />{order_id} – <?php _e("The order ID reference of this transaction in the cart orders menu", "wordpress-simple-paypal-shopping-cart");?>
|
104 |
<br />{purchase_amt} – <?php _e("The amount paid for the current transaction", "wordpress-simple-paypal-shopping-cart");?>
|
105 |
<br />{purchase_date} – <?php _e("The date of the purchase", "wordpress-simple-paypal-shopping-cart");?>
|
106 |
<br />{coupon_code} – <?php _e("Coupon code applied to the purchase", "wordpress-simple-paypal-shopping-cart");?>
|
107 |
</p></td>
|
108 |
</tr>
|
109 |
+
|
110 |
<tr valign="top">
|
111 |
<th scope="row"><?php _e("Send Emails to Seller After Purchase", "wordpress-simple-paypal-shopping-cart");?></th>
|
112 |
<td><input type="checkbox" name="wpspc_send_seller_email" value="1" <?php echo $wpspc_send_seller_email; ?> /><span class="description"><?php _e("If checked the plugin will send an email to the seller with the sale details", "wordpress-simple-paypal-shopping-cart");?></a></span></td>
|
113 |
</tr>
|
114 |
+
|
115 |
<tr valign="top">
|
116 |
<th scope="row"><?php _e("Notification Email Address*", "wordpress-simple-paypal-shopping-cart");?></th>
|
117 |
<td><input type="text" name="wpspc_notify_email_address" value="<?php echo esc_attr($wpspc_notify_email_address); ?>" size="50" />
|
132 |
<br />{first_name} – <?php _e("First name of the buyer", "wordpress-simple-paypal-shopping-cart");?>
|
133 |
<br />{last_name} – <?php _e("Last name of the buyer", "wordpress-simple-paypal-shopping-cart");?>
|
134 |
<br />{payer_email} – <?php _e("Email Address of the buyer", "wordpress-simple-paypal-shopping-cart");?>
|
135 |
+
<br />{address} – <?php _e("Address of the buyer", "wordpress-simple-paypal-shopping-cart");?>
|
136 |
<br />{product_details} – <?php _e("The item details of the purchased product (this will include the download link for digital items).", "wordpress-simple-paypal-shopping-cart");?>
|
137 |
<br />{transaction_id} – <?php _e("The unique transaction ID of the purchase", "wordpress-simple-paypal-shopping-cart");?>
|
138 |
<br />{order_id} – <?php _e("The order ID reference of this transaction in the cart orders menu", "wordpress-simple-paypal-shopping-cart");?>
|
142 |
</p></td>
|
143 |
</tr>
|
144 |
|
145 |
+
</table>
|
146 |
|
147 |
</div></div>
|
148 |
+
|
149 |
<div class="submit">
|
150 |
<input type="submit" class="button-primary" name="wpspc_email_settings_update" value="<?php echo (__("Update Options »", "wordpress-simple-paypal-shopping-cart")) ?>" />
|
151 |
</div>
|
152 |
</form>
|
153 |
+
|
154 |
<?php
|
155 |
wpspsc_settings_menu_footer();
|
156 |
}
|
includes/admin/wp_shopping_cart_menu_general_settings.php
CHANGED
@@ -3,12 +3,12 @@
|
|
3 |
/*
|
4 |
* General settings menu page
|
5 |
*/
|
6 |
-
function wspsc_show_general_settings_page ()
|
7 |
{
|
8 |
if(!current_user_can('manage_options')){
|
9 |
wp_die('You do not have permission to access this settings page.');
|
10 |
}
|
11 |
-
|
12 |
if(isset($_POST['wspsc_reset_logfile'])) {
|
13 |
// Reset the debug log file
|
14 |
if(wspsc_reset_logfile()){
|
@@ -30,10 +30,10 @@ function wspsc_show_general_settings_page ()
|
|
30 |
update_option('cart_payment_currency', $currency_code);
|
31 |
update_option('cart_currency_symbol', sanitize_text_field($_POST["cart_currency_symbol"]));
|
32 |
update_option('cart_base_shipping_cost', sanitize_text_field($_POST["cart_base_shipping_cost"]));
|
33 |
-
update_option('cart_free_shipping_threshold', sanitize_text_field($_POST["cart_free_shipping_threshold"]));
|
34 |
-
update_option('wp_shopping_cart_collect_address', (isset($_POST['wp_shopping_cart_collect_address']) && $_POST['wp_shopping_cart_collect_address']!='') ? 'checked="checked"':'' );
|
35 |
update_option('wp_shopping_cart_use_profile_shipping', (isset($_POST['wp_shopping_cart_use_profile_shipping']) && $_POST['wp_shopping_cart_use_profile_shipping']!='') ? 'checked="checked"':'' );
|
36 |
-
|
37 |
update_option('cart_paypal_email', sanitize_email($_POST["cart_paypal_email"]));
|
38 |
update_option('addToCartButtonName', sanitize_text_field($_POST["addToCartButtonName"]));
|
39 |
update_option('wp_cart_title', sanitize_text_field($_POST["wp_cart_title"]));
|
@@ -45,72 +45,73 @@ function wspsc_show_general_settings_page ()
|
|
45 |
update_option('wp_shopping_cart_auto_redirect_to_checkout_page', (isset($_POST['wp_shopping_cart_auto_redirect_to_checkout_page']) && $_POST['wp_shopping_cart_auto_redirect_to_checkout_page']!='') ? 'checked="checked"':'' );
|
46 |
update_option('cart_checkout_page_url', sanitize_text_field($_POST["cart_checkout_page_url"]));
|
47 |
update_option('wspsc_open_pp_checkout_in_new_tab', (isset($_POST['wspsc_open_pp_checkout_in_new_tab']) && $_POST['wspsc_open_pp_checkout_in_new_tab']!='') ? 'checked="checked"':'' );
|
48 |
-
update_option('wp_shopping_cart_reset_after_redirection_to_return_page', (isset($_POST['wp_shopping_cart_reset_after_redirection_to_return_page']) && $_POST['wp_shopping_cart_reset_after_redirection_to_return_page']!='') ? 'checked="checked"':'' );
|
49 |
|
50 |
update_option('wp_shopping_cart_image_hide', (isset($_POST['wp_shopping_cart_image_hide']) && $_POST['wp_shopping_cart_image_hide']!='') ? 'checked="checked"':'' );
|
51 |
update_option('wp_cart_paypal_co_page_style', sanitize_text_field($_POST["wp_cart_paypal_co_page_style"]));
|
52 |
update_option('wp_shopping_cart_strict_email_check', (isset($_POST['wp_shopping_cart_strict_email_check']) && $_POST['wp_shopping_cart_strict_email_check']!='') ? 'checked="checked"':'' );
|
53 |
update_option('wspsc_disable_nonce_add_cart', (isset($_POST['wspsc_disable_nonce_add_cart']) && $_POST['wspsc_disable_nonce_add_cart']!='') ? 'checked="checked"':'' );
|
|
|
54 |
update_option('wp_use_aff_platform', (isset($_POST['wp_use_aff_platform']) && $_POST['wp_use_aff_platform']!='') ? 'checked="checked"':'' );
|
55 |
-
|
56 |
update_option('wp_shopping_cart_enable_sandbox', (isset($_POST['wp_shopping_cart_enable_sandbox']) && $_POST['wp_shopping_cart_enable_sandbox']!='') ? 'checked="checked"':'' );
|
57 |
update_option('wp_shopping_cart_enable_debug', (isset($_POST['wp_shopping_cart_enable_debug']) && $_POST['wp_shopping_cart_enable_debug']!='') ? 'checked="checked"':'' );
|
58 |
-
|
59 |
echo '<div id="message" class="updated fade">';
|
60 |
echo '<p><strong>'.(__("Options Updated!", "wordpress-simple-paypal-shopping-cart")).'</strong></p></div>';
|
61 |
-
}
|
62 |
-
|
63 |
-
$defaultCurrency = get_option('cart_payment_currency');
|
64 |
if (empty($defaultCurrency)) $defaultCurrency = __("USD", "wordpress-simple-paypal-shopping-cart");
|
65 |
-
|
66 |
$defaultSymbol = get_option('cart_currency_symbol');
|
67 |
if (empty($defaultSymbol)) $defaultSymbol = __("$", "wordpress-simple-paypal-shopping-cart");
|
68 |
|
69 |
$baseShipping = get_option('cart_base_shipping_cost');
|
70 |
if (empty($baseShipping)) $baseShipping = 0;
|
71 |
-
|
72 |
$cart_free_shipping_threshold = get_option('cart_free_shipping_threshold');
|
73 |
|
74 |
$defaultEmail = get_option('cart_paypal_email');
|
75 |
if (empty($defaultEmail)) $defaultEmail = get_bloginfo('admin_email');
|
76 |
-
|
77 |
$return_url = get_option('cart_return_from_paypal_url');
|
78 |
$cancel_url = get_option('cart_cancel_from_paypal_url');
|
79 |
$addcart = get_option('addToCartButtonName');
|
80 |
-
if (empty($addcart)) $addcart = __("Add to Cart", "wordpress-simple-paypal-shopping-cart");
|
81 |
|
82 |
$title = get_option('wp_cart_title');
|
83 |
$emptyCartText = get_option('wp_cart_empty_text');
|
84 |
-
$cart_products_page_url = get_option('cart_products_page_url');
|
85 |
$cart_checkout_page_url = get_option('cart_checkout_page_url');
|
86 |
-
|
87 |
if (get_option('wp_shopping_cart_auto_redirect_to_checkout_page'))
|
88 |
$wp_shopping_cart_auto_redirect_to_checkout_page = 'checked="checked"';
|
89 |
else
|
90 |
-
$wp_shopping_cart_auto_redirect_to_checkout_page = '';
|
91 |
-
|
92 |
if (get_option('wspsc_open_pp_checkout_in_new_tab'))
|
93 |
$wspsc_open_pp_checkout_in_new_tab = 'checked="checked"';
|
94 |
else
|
95 |
$wspsc_open_pp_checkout_in_new_tab = '';
|
96 |
-
|
97 |
if (get_option('wp_shopping_cart_reset_after_redirection_to_return_page'))
|
98 |
$wp_shopping_cart_reset_after_redirection_to_return_page = 'checked="checked"';
|
99 |
else
|
100 |
-
$wp_shopping_cart_reset_after_redirection_to_return_page = '';
|
101 |
-
|
102 |
if (get_option('wp_shopping_cart_collect_address'))
|
103 |
$wp_shopping_cart_collect_address = 'checked="checked"';
|
104 |
else
|
105 |
$wp_shopping_cart_collect_address = '';
|
106 |
-
|
107 |
if (get_option('wp_shopping_cart_use_profile_shipping')){
|
108 |
$wp_shopping_cart_use_profile_shipping = 'checked="checked"';
|
109 |
}
|
110 |
else {
|
111 |
$wp_shopping_cart_use_profile_shipping = '';
|
112 |
}
|
113 |
-
|
114 |
if (get_option('wp_shopping_cart_image_hide')){
|
115 |
$wp_cart_image_hide = 'checked="checked"';
|
116 |
}
|
@@ -124,40 +125,45 @@ function wspsc_show_general_settings_page ()
|
|
124 |
if (get_option('wp_shopping_cart_strict_email_check')){
|
125 |
$wp_shopping_cart_strict_email_check = 'checked="checked"';
|
126 |
}
|
127 |
-
|
128 |
$wspsc_disable_nonce_add_cart = '';
|
129 |
if (get_option('wspsc_disable_nonce_add_cart')){
|
130 |
$wspsc_disable_nonce_add_cart = 'checked="checked"';
|
131 |
}
|
132 |
-
|
|
|
|
|
|
|
|
|
|
|
133 |
if (get_option('wp_use_aff_platform')){
|
134 |
$wp_use_aff_platform = 'checked="checked"';
|
135 |
}
|
136 |
else{
|
137 |
$wp_use_aff_platform = '';
|
138 |
}
|
139 |
-
|
140 |
//$wp_shopping_cart_enable_sandbox = get_option('wp_shopping_cart_enable_sandbox');
|
141 |
if (get_option('wp_shopping_cart_enable_sandbox'))
|
142 |
$wp_shopping_cart_enable_sandbox = 'checked="checked"';
|
143 |
else
|
144 |
-
$wp_shopping_cart_enable_sandbox = '';
|
145 |
-
|
146 |
$wp_shopping_cart_enable_debug = '';
|
147 |
if (get_option('wp_shopping_cart_enable_debug')){
|
148 |
$wp_shopping_cart_enable_debug = 'checked="checked"';
|
149 |
-
}
|
150 |
-
?>
|
151 |
-
|
152 |
<div class="wspsc_yellow_box">
|
153 |
<p><?php _e("For more information, updates, detailed documentation and video tutorial, please visit:", "wordpress-simple-paypal-shopping-cart"); ?><br />
|
154 |
<a href="https://www.tipsandtricks-hq.com/wordpress-simple-paypal-shopping-cart-plugin-768" target="_blank"><?php _e("WP Simple Cart Homepage", "wordpress-simple-paypal-shopping-cart"); ?></a></p>
|
155 |
</div>
|
156 |
-
|
157 |
<div class="postbox">
|
158 |
<h3 class="hndle"><label for="title"><?php _e("Quick Usage Guide", "wordpress-simple-paypal-shopping-cart"); ?></label></h3>
|
159 |
<div class="inside">
|
160 |
-
|
161 |
<p><strong><?php _e("Step 1) ","wordpress-simple-paypal-shopping-cart"); ?></strong><?php _e("To add an 'Add to Cart' button for a product simply add the shortcode", "wordpress-simple-paypal-shopping-cart"); ?> [wp_cart_button name="<?php _e("PRODUCT-NAME", "wordpress-simple-paypal-shopping-cart"); ?>" price="<?php _e("PRODUCT-PRICE", "wordpress-simple-paypal-shopping-cart"); ?>"] <?php _e("to a post or page next to the product. Replace PRODUCT-NAME and PRODUCT-PRICE with the actual name and price of your product.", "wordpress-simple-paypal-shopping-cart"); ?></p>
|
162 |
<p><?php _e("Example add to cart button shortcode usage:", "wordpress-simple-paypal-shopping-cart");?> <p style="background-color: #DDDDDD; padding: 5px; display: inline;">[wp_cart_button name="Test Product" price="29.95"]</p></p>
|
163 |
<p><strong><?php _e("Step 2) ","wordpress-simple-paypal-shopping-cart"); ?></strong><?php _e("To add the shopping cart to a post or page (example: a checkout page) simply add the shortcode", "wordpress-simple-paypal-shopping-cart"); ?> [show_wp_shopping_cart] <?php _e("to a post or page or use the sidebar widget to add the shopping cart to the sidebar.", "wordpress-simple-paypal-shopping-cart"); ?></p>
|
@@ -166,7 +172,7 @@ function wspsc_show_general_settings_page ()
|
|
166 |
|
167 |
<form method="post" action="">
|
168 |
<?php wp_nonce_field('wp_simple_cart_settings_update'); ?>
|
169 |
-
<input type="hidden" name="info_update" id="info_update" value="true" />
|
170 |
<?php
|
171 |
echo '
|
172 |
<div class="postbox">
|
@@ -231,7 +237,7 @@ echo '
|
|
231 |
|
232 |
echo '<tr valign="top">
|
233 |
<th scope="row">'.(__("Currency Symbol", "wordpress-simple-paypal-shopping-cart")).'</th>
|
234 |
-
<td><input type="text" name="cart_currency_symbol" value="'.esc_attr($defaultSymbol).'" size="3" style="width: 2em;" /> ('.(__("e.g.", "wordpress-simple-paypal-shopping-cart")).' $, £, €)
|
235 |
</td>
|
236 |
</tr>
|
237 |
|
@@ -254,7 +260,7 @@ echo '<tr valign="top">
|
|
254 |
<th scope="row">'.(__("Use PayPal Profile Based Shipping", "wordpress-simple-paypal-shopping-cart")).'</th>
|
255 |
<td><input type="checkbox" name="wp_shopping_cart_use_profile_shipping" value="1" '.$wp_shopping_cart_use_profile_shipping.' /><br />'.(__("Check this if you want to use", "wordpress-simple-paypal-shopping-cart")).' <a href="https://www.tipsandtricks-hq.com/setup-paypal-profile-based-shipping-5865" target="_blank">'.(__("PayPal profile based shipping", "wordpress-simple-paypal-shopping-cart")).'</a>. '.(__("Using this will ignore any other shipping options that you have specified in this plugin.", "wordpress-simple-paypal-shopping-cart")).'</td>
|
256 |
</tr>
|
257 |
-
|
258 |
<tr valign="top">
|
259 |
<th scope="row">'.(__("Add to Cart button text or Image", "wordpress-simple-paypal-shopping-cart")).'</th>
|
260 |
<td><input type="text" name="addToCartButtonName" value="'.esc_attr($addcart).'" size="100" />
|
@@ -272,7 +278,7 @@ echo '<tr valign="top">
|
|
272 |
<th scope="row">'.(__("Cancel URL", "wordpress-simple-paypal-shopping-cart")).'</th>
|
273 |
<td><input type="text" name="cart_cancel_from_paypal_url" value="'.esc_attr($cancel_url).'" size="100" /><br />'.(__("The customer will be sent to the above page if the cancel link is clicked on the PayPal checkout page.", "wordpress-simple-paypal-shopping-cart")).'</td>
|
274 |
</tr>
|
275 |
-
|
276 |
<tr valign="top">
|
277 |
<th scope="row">'.(__("Products Page URL", "wordpress-simple-paypal-shopping-cart")).'</th>
|
278 |
<td><input type="text" name="cart_products_page_url" value="'.esc_attr($cart_products_page_url).'" size="100" /><br />'.(__("This is the URL of your products page if you have any. If used, the shopping cart widget will display a link to this page when cart is empty", "wordpress-simple-paypal-shopping-cart")).'</td>
|
@@ -329,6 +335,14 @@ echo '<tr valign="top">
|
|
329 |
</tr>
|
330 |
</table>
|
331 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
332 |
<table class="form-table">
|
333 |
<tr valign="top">
|
334 |
<th scope="row">'.(__("Customize the Note to Seller Text", "wordpress-simple-paypal-shopping-cart")).'</th>
|
@@ -349,9 +363,9 @@ echo '<tr valign="top">
|
|
349 |
<div class="postbox">
|
350 |
<h3 class="hndle"><label for="title">'.(__("Testing and Debugging Settings", "wordpress-simple-paypal-shopping-cart")).'</label></h3>
|
351 |
<div class="inside">
|
352 |
-
|
353 |
-
<table class="form-table">
|
354 |
-
|
355 |
<tr valign="top">
|
356 |
<th scope="row">'.(__("Enable Debug", "wordpress-simple-paypal-shopping-cart")).'</th>
|
357 |
<td><input type="checkbox" name="wp_shopping_cart_enable_debug" value="1" '.$wp_shopping_cart_enable_debug.' />
|
@@ -361,7 +375,7 @@ echo '<tr valign="top">
|
|
361 |
<li><a href="'.WP_CART_URL.'/ipn_handle_debug.txt" target="_blank">ipn_handle_debug.txt</a></li>
|
362 |
</ul>
|
363 |
</p>
|
364 |
-
<input type="submit" name="wspsc_reset_logfile" class="button" style="font-weight:bold; color:red" value="Reset Debug Log file"/>
|
365 |
<p class="description">It will reset the debug log file and timestamp it with a log file reset message.</a>
|
366 |
</td></tr>
|
367 |
|
@@ -370,15 +384,15 @@ echo '<tr valign="top">
|
|
370 |
<td><input type="checkbox" name="wp_shopping_cart_enable_sandbox" value="1" '.$wp_shopping_cart_enable_sandbox.' />
|
371 |
<br />'.(__("Check this option if you want to do PayPal sandbox testing. You will need to create a PayPal sandbox account from PayPal Developer site", "wordpress-simple-paypal-shopping-cart")).'</td>
|
372 |
</tr>
|
373 |
-
|
374 |
</table>
|
375 |
-
|
376 |
</div>
|
377 |
</div>
|
378 |
|
379 |
<div class="submit">
|
380 |
<input type="submit" class="button-primary" name="info_update" value="'.(__("Update Options »", "wordpress-simple-paypal-shopping-cart")).'" />
|
381 |
-
</div>
|
382 |
</form>
|
383 |
';
|
384 |
echo (__("Like the Simple WordPress Shopping Cart Plugin?", "wordpress-simple-paypal-shopping-cart")).' <a href="https://wordpress.org/support/plugin/wordpress-simple-paypal-shopping-cart/reviews/?filter=5" target="_blank">'.(__("Give it a good rating", "wordpress-simple-paypal-shopping-cart")).'</a>';
|
3 |
/*
|
4 |
* General settings menu page
|
5 |
*/
|
6 |
+
function wspsc_show_general_settings_page ()
|
7 |
{
|
8 |
if(!current_user_can('manage_options')){
|
9 |
wp_die('You do not have permission to access this settings page.');
|
10 |
}
|
11 |
+
|
12 |
if(isset($_POST['wspsc_reset_logfile'])) {
|
13 |
// Reset the debug log file
|
14 |
if(wspsc_reset_logfile()){
|
30 |
update_option('cart_payment_currency', $currency_code);
|
31 |
update_option('cart_currency_symbol', sanitize_text_field($_POST["cart_currency_symbol"]));
|
32 |
update_option('cart_base_shipping_cost', sanitize_text_field($_POST["cart_base_shipping_cost"]));
|
33 |
+
update_option('cart_free_shipping_threshold', sanitize_text_field($_POST["cart_free_shipping_threshold"]));
|
34 |
+
update_option('wp_shopping_cart_collect_address', (isset($_POST['wp_shopping_cart_collect_address']) && $_POST['wp_shopping_cart_collect_address']!='') ? 'checked="checked"':'' );
|
35 |
update_option('wp_shopping_cart_use_profile_shipping', (isset($_POST['wp_shopping_cart_use_profile_shipping']) && $_POST['wp_shopping_cart_use_profile_shipping']!='') ? 'checked="checked"':'' );
|
36 |
+
|
37 |
update_option('cart_paypal_email', sanitize_email($_POST["cart_paypal_email"]));
|
38 |
update_option('addToCartButtonName', sanitize_text_field($_POST["addToCartButtonName"]));
|
39 |
update_option('wp_cart_title', sanitize_text_field($_POST["wp_cart_title"]));
|
45 |
update_option('wp_shopping_cart_auto_redirect_to_checkout_page', (isset($_POST['wp_shopping_cart_auto_redirect_to_checkout_page']) && $_POST['wp_shopping_cart_auto_redirect_to_checkout_page']!='') ? 'checked="checked"':'' );
|
46 |
update_option('cart_checkout_page_url', sanitize_text_field($_POST["cart_checkout_page_url"]));
|
47 |
update_option('wspsc_open_pp_checkout_in_new_tab', (isset($_POST['wspsc_open_pp_checkout_in_new_tab']) && $_POST['wspsc_open_pp_checkout_in_new_tab']!='') ? 'checked="checked"':'' );
|
48 |
+
update_option('wp_shopping_cart_reset_after_redirection_to_return_page', (isset($_POST['wp_shopping_cart_reset_after_redirection_to_return_page']) && $_POST['wp_shopping_cart_reset_after_redirection_to_return_page']!='') ? 'checked="checked"':'' );
|
49 |
|
50 |
update_option('wp_shopping_cart_image_hide', (isset($_POST['wp_shopping_cart_image_hide']) && $_POST['wp_shopping_cart_image_hide']!='') ? 'checked="checked"':'' );
|
51 |
update_option('wp_cart_paypal_co_page_style', sanitize_text_field($_POST["wp_cart_paypal_co_page_style"]));
|
52 |
update_option('wp_shopping_cart_strict_email_check', (isset($_POST['wp_shopping_cart_strict_email_check']) && $_POST['wp_shopping_cart_strict_email_check']!='') ? 'checked="checked"':'' );
|
53 |
update_option('wspsc_disable_nonce_add_cart', (isset($_POST['wspsc_disable_nonce_add_cart']) && $_POST['wspsc_disable_nonce_add_cart']!='') ? 'checked="checked"':'' );
|
54 |
+
update_option('wspsc_disable_price_check_add_cart', (isset($_POST['wspsc_disable_price_check_add_cart']) && $_POST['wspsc_disable_price_check_add_cart']!='') ? 'checked="checked"':'' );
|
55 |
update_option('wp_use_aff_platform', (isset($_POST['wp_use_aff_platform']) && $_POST['wp_use_aff_platform']!='') ? 'checked="checked"':'' );
|
56 |
+
|
57 |
update_option('wp_shopping_cart_enable_sandbox', (isset($_POST['wp_shopping_cart_enable_sandbox']) && $_POST['wp_shopping_cart_enable_sandbox']!='') ? 'checked="checked"':'' );
|
58 |
update_option('wp_shopping_cart_enable_debug', (isset($_POST['wp_shopping_cart_enable_debug']) && $_POST['wp_shopping_cart_enable_debug']!='') ? 'checked="checked"':'' );
|
59 |
+
|
60 |
echo '<div id="message" class="updated fade">';
|
61 |
echo '<p><strong>'.(__("Options Updated!", "wordpress-simple-paypal-shopping-cart")).'</strong></p></div>';
|
62 |
+
}
|
63 |
+
|
64 |
+
$defaultCurrency = get_option('cart_payment_currency');
|
65 |
if (empty($defaultCurrency)) $defaultCurrency = __("USD", "wordpress-simple-paypal-shopping-cart");
|
66 |
+
|
67 |
$defaultSymbol = get_option('cart_currency_symbol');
|
68 |
if (empty($defaultSymbol)) $defaultSymbol = __("$", "wordpress-simple-paypal-shopping-cart");
|
69 |
|
70 |
$baseShipping = get_option('cart_base_shipping_cost');
|
71 |
if (empty($baseShipping)) $baseShipping = 0;
|
72 |
+
|
73 |
$cart_free_shipping_threshold = get_option('cart_free_shipping_threshold');
|
74 |
|
75 |
$defaultEmail = get_option('cart_paypal_email');
|
76 |
if (empty($defaultEmail)) $defaultEmail = get_bloginfo('admin_email');
|
77 |
+
|
78 |
$return_url = get_option('cart_return_from_paypal_url');
|
79 |
$cancel_url = get_option('cart_cancel_from_paypal_url');
|
80 |
$addcart = get_option('addToCartButtonName');
|
81 |
+
if (empty($addcart)) $addcart = __("Add to Cart", "wordpress-simple-paypal-shopping-cart");
|
82 |
|
83 |
$title = get_option('wp_cart_title');
|
84 |
$emptyCartText = get_option('wp_cart_empty_text');
|
85 |
+
$cart_products_page_url = get_option('cart_products_page_url');
|
86 |
$cart_checkout_page_url = get_option('cart_checkout_page_url');
|
87 |
+
|
88 |
if (get_option('wp_shopping_cart_auto_redirect_to_checkout_page'))
|
89 |
$wp_shopping_cart_auto_redirect_to_checkout_page = 'checked="checked"';
|
90 |
else
|
91 |
+
$wp_shopping_cart_auto_redirect_to_checkout_page = '';
|
92 |
+
|
93 |
if (get_option('wspsc_open_pp_checkout_in_new_tab'))
|
94 |
$wspsc_open_pp_checkout_in_new_tab = 'checked="checked"';
|
95 |
else
|
96 |
$wspsc_open_pp_checkout_in_new_tab = '';
|
97 |
+
|
98 |
if (get_option('wp_shopping_cart_reset_after_redirection_to_return_page'))
|
99 |
$wp_shopping_cart_reset_after_redirection_to_return_page = 'checked="checked"';
|
100 |
else
|
101 |
+
$wp_shopping_cart_reset_after_redirection_to_return_page = '';
|
102 |
+
|
103 |
if (get_option('wp_shopping_cart_collect_address'))
|
104 |
$wp_shopping_cart_collect_address = 'checked="checked"';
|
105 |
else
|
106 |
$wp_shopping_cart_collect_address = '';
|
107 |
+
|
108 |
if (get_option('wp_shopping_cart_use_profile_shipping')){
|
109 |
$wp_shopping_cart_use_profile_shipping = 'checked="checked"';
|
110 |
}
|
111 |
else {
|
112 |
$wp_shopping_cart_use_profile_shipping = '';
|
113 |
}
|
114 |
+
|
115 |
if (get_option('wp_shopping_cart_image_hide')){
|
116 |
$wp_cart_image_hide = 'checked="checked"';
|
117 |
}
|
125 |
if (get_option('wp_shopping_cart_strict_email_check')){
|
126 |
$wp_shopping_cart_strict_email_check = 'checked="checked"';
|
127 |
}
|
128 |
+
|
129 |
$wspsc_disable_nonce_add_cart = '';
|
130 |
if (get_option('wspsc_disable_nonce_add_cart')){
|
131 |
$wspsc_disable_nonce_add_cart = 'checked="checked"';
|
132 |
}
|
133 |
+
|
134 |
+
$wspsc_disable_price_check_add_cart = '';
|
135 |
+
if (get_option('wspsc_disable_price_check_add_cart')){
|
136 |
+
$wspsc_disable_price_check_add_cart = 'checked="checked"';
|
137 |
+
}
|
138 |
+
|
139 |
if (get_option('wp_use_aff_platform')){
|
140 |
$wp_use_aff_platform = 'checked="checked"';
|
141 |
}
|
142 |
else{
|
143 |
$wp_use_aff_platform = '';
|
144 |
}
|
145 |
+
|
146 |
//$wp_shopping_cart_enable_sandbox = get_option('wp_shopping_cart_enable_sandbox');
|
147 |
if (get_option('wp_shopping_cart_enable_sandbox'))
|
148 |
$wp_shopping_cart_enable_sandbox = 'checked="checked"';
|
149 |
else
|
150 |
+
$wp_shopping_cart_enable_sandbox = '';
|
151 |
+
|
152 |
$wp_shopping_cart_enable_debug = '';
|
153 |
if (get_option('wp_shopping_cart_enable_debug')){
|
154 |
$wp_shopping_cart_enable_debug = 'checked="checked"';
|
155 |
+
}
|
156 |
+
?>
|
157 |
+
|
158 |
<div class="wspsc_yellow_box">
|
159 |
<p><?php _e("For more information, updates, detailed documentation and video tutorial, please visit:", "wordpress-simple-paypal-shopping-cart"); ?><br />
|
160 |
<a href="https://www.tipsandtricks-hq.com/wordpress-simple-paypal-shopping-cart-plugin-768" target="_blank"><?php _e("WP Simple Cart Homepage", "wordpress-simple-paypal-shopping-cart"); ?></a></p>
|
161 |
</div>
|
162 |
+
|
163 |
<div class="postbox">
|
164 |
<h3 class="hndle"><label for="title"><?php _e("Quick Usage Guide", "wordpress-simple-paypal-shopping-cart"); ?></label></h3>
|
165 |
<div class="inside">
|
166 |
+
|
167 |
<p><strong><?php _e("Step 1) ","wordpress-simple-paypal-shopping-cart"); ?></strong><?php _e("To add an 'Add to Cart' button for a product simply add the shortcode", "wordpress-simple-paypal-shopping-cart"); ?> [wp_cart_button name="<?php _e("PRODUCT-NAME", "wordpress-simple-paypal-shopping-cart"); ?>" price="<?php _e("PRODUCT-PRICE", "wordpress-simple-paypal-shopping-cart"); ?>"] <?php _e("to a post or page next to the product. Replace PRODUCT-NAME and PRODUCT-PRICE with the actual name and price of your product.", "wordpress-simple-paypal-shopping-cart"); ?></p>
|
168 |
<p><?php _e("Example add to cart button shortcode usage:", "wordpress-simple-paypal-shopping-cart");?> <p style="background-color: #DDDDDD; padding: 5px; display: inline;">[wp_cart_button name="Test Product" price="29.95"]</p></p>
|
169 |
<p><strong><?php _e("Step 2) ","wordpress-simple-paypal-shopping-cart"); ?></strong><?php _e("To add the shopping cart to a post or page (example: a checkout page) simply add the shortcode", "wordpress-simple-paypal-shopping-cart"); ?> [show_wp_shopping_cart] <?php _e("to a post or page or use the sidebar widget to add the shopping cart to the sidebar.", "wordpress-simple-paypal-shopping-cart"); ?></p>
|
172 |
|
173 |
<form method="post" action="">
|
174 |
<?php wp_nonce_field('wp_simple_cart_settings_update'); ?>
|
175 |
+
<input type="hidden" name="info_update" id="info_update" value="true" />
|
176 |
<?php
|
177 |
echo '
|
178 |
<div class="postbox">
|
237 |
|
238 |
echo '<tr valign="top">
|
239 |
<th scope="row">'.(__("Currency Symbol", "wordpress-simple-paypal-shopping-cart")).'</th>
|
240 |
+
<td><input type="text" name="cart_currency_symbol" value="'.esc_attr($defaultSymbol).'" size="3" style="width: 2em;" /> ('.(__("e.g.", "wordpress-simple-paypal-shopping-cart")).' $, £, €)
|
241 |
</td>
|
242 |
</tr>
|
243 |
|
260 |
<th scope="row">'.(__("Use PayPal Profile Based Shipping", "wordpress-simple-paypal-shopping-cart")).'</th>
|
261 |
<td><input type="checkbox" name="wp_shopping_cart_use_profile_shipping" value="1" '.$wp_shopping_cart_use_profile_shipping.' /><br />'.(__("Check this if you want to use", "wordpress-simple-paypal-shopping-cart")).' <a href="https://www.tipsandtricks-hq.com/setup-paypal-profile-based-shipping-5865" target="_blank">'.(__("PayPal profile based shipping", "wordpress-simple-paypal-shopping-cart")).'</a>. '.(__("Using this will ignore any other shipping options that you have specified in this plugin.", "wordpress-simple-paypal-shopping-cart")).'</td>
|
262 |
</tr>
|
263 |
+
|
264 |
<tr valign="top">
|
265 |
<th scope="row">'.(__("Add to Cart button text or Image", "wordpress-simple-paypal-shopping-cart")).'</th>
|
266 |
<td><input type="text" name="addToCartButtonName" value="'.esc_attr($addcart).'" size="100" />
|
278 |
<th scope="row">'.(__("Cancel URL", "wordpress-simple-paypal-shopping-cart")).'</th>
|
279 |
<td><input type="text" name="cart_cancel_from_paypal_url" value="'.esc_attr($cancel_url).'" size="100" /><br />'.(__("The customer will be sent to the above page if the cancel link is clicked on the PayPal checkout page.", "wordpress-simple-paypal-shopping-cart")).'</td>
|
280 |
</tr>
|
281 |
+
|
282 |
<tr valign="top">
|
283 |
<th scope="row">'.(__("Products Page URL", "wordpress-simple-paypal-shopping-cart")).'</th>
|
284 |
<td><input type="text" name="cart_products_page_url" value="'.esc_attr($cart_products_page_url).'" size="100" /><br />'.(__("This is the URL of your products page if you have any. If used, the shopping cart widget will display a link to this page when cart is empty", "wordpress-simple-paypal-shopping-cart")).'</td>
|
335 |
</tr>
|
336 |
</table>
|
337 |
|
338 |
+
<table class="form-table">
|
339 |
+
<tr valign="top">
|
340 |
+
<th scope="row">'.(__("Disable Price Check for Add to Cart", "wordpress-simple-paypal-shopping-cart")).'</th>
|
341 |
+
<td><input type="checkbox" name="wspsc_disable_price_check_add_cart" value="1" '.$wspsc_disable_price_check_add_cart.' />
|
342 |
+
<br />'.(__("Using complex characters for the product name can trigger the error: The price field may have been tampered. Security check failed. This option will stop that check and remove the error.", "wordpress-simple-paypal-shopping-cart")).'</td>
|
343 |
+
</tr>
|
344 |
+
</table>
|
345 |
+
|
346 |
<table class="form-table">
|
347 |
<tr valign="top">
|
348 |
<th scope="row">'.(__("Customize the Note to Seller Text", "wordpress-simple-paypal-shopping-cart")).'</th>
|
363 |
<div class="postbox">
|
364 |
<h3 class="hndle"><label for="title">'.(__("Testing and Debugging Settings", "wordpress-simple-paypal-shopping-cart")).'</label></h3>
|
365 |
<div class="inside">
|
366 |
+
|
367 |
+
<table class="form-table">
|
368 |
+
|
369 |
<tr valign="top">
|
370 |
<th scope="row">'.(__("Enable Debug", "wordpress-simple-paypal-shopping-cart")).'</th>
|
371 |
<td><input type="checkbox" name="wp_shopping_cart_enable_debug" value="1" '.$wp_shopping_cart_enable_debug.' />
|
375 |
<li><a href="'.WP_CART_URL.'/ipn_handle_debug.txt" target="_blank">ipn_handle_debug.txt</a></li>
|
376 |
</ul>
|
377 |
</p>
|
378 |
+
<input type="submit" name="wspsc_reset_logfile" class="button" style="font-weight:bold; color:red" value="Reset Debug Log file"/>
|
379 |
<p class="description">It will reset the debug log file and timestamp it with a log file reset message.</a>
|
380 |
</td></tr>
|
381 |
|
384 |
<td><input type="checkbox" name="wp_shopping_cart_enable_sandbox" value="1" '.$wp_shopping_cart_enable_sandbox.' />
|
385 |
<br />'.(__("Check this option if you want to do PayPal sandbox testing. You will need to create a PayPal sandbox account from PayPal Developer site", "wordpress-simple-paypal-shopping-cart")).'</td>
|
386 |
</tr>
|
387 |
+
|
388 |
</table>
|
389 |
+
|
390 |
</div>
|
391 |
</div>
|
392 |
|
393 |
<div class="submit">
|
394 |
<input type="submit" class="button-primary" name="info_update" value="'.(__("Update Options »", "wordpress-simple-paypal-shopping-cart")).'" />
|
395 |
+
</div>
|
396 |
</form>
|
397 |
';
|
398 |
echo (__("Like the Simple WordPress Shopping Cart Plugin?", "wordpress-simple-paypal-shopping-cart")).' <a href="https://wordpress.org/support/plugin/wordpress-simple-paypal-shopping-cart/reviews/?filter=5" target="_blank">'.(__("Give it a good rating", "wordpress-simple-paypal-shopping-cart")).'</a>';
|
languages/wordpress-simple-paypal-shopping-cart-es_ES.mo
ADDED
Binary file
|
languages/wordpress-simple-paypal-shopping-cart-es_ES.po
ADDED
@@ -0,0 +1,1389 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
# Translation of Plugins - WordPress Simple PayPal Shopping Cart - Development (trunk) in Spanish (Spain)
|
2 |
+
# This file is distributed under the same license as the Plugins - WordPress Simple PayPal Shopping Cart - Development (trunk) package.
|
3 |
+
msgid ""
|
4 |
+
msgstr ""
|
5 |
+
"Project-Id-Version: wordpress-simple-paypal-shopping-cart v4.5.0\n"
|
6 |
+
"POT-Creation-Date: 2018-09-24 09:58+0600\n"
|
7 |
+
"PO-Revision-Date: 2020-08-06 14:40+1000\n"
|
8 |
+
"Last-Translator: \n"
|
9 |
+
"Language-Team: \n"
|
10 |
+
"Language: es\n"
|
11 |
+
"MIME-Version: 1.0\n"
|
12 |
+
"Content-Type: text/plain; charset=UTF-8\n"
|
13 |
+
"Content-Transfer-Encoding: 8bit\n"
|
14 |
+
"Plural-Forms: nplurals=2; plural=n != 1;\n"
|
15 |
+
"X-Generator: Poedit 2.4\n"
|
16 |
+
|
17 |
+
#: class-coupon.php:19
|
18 |
+
msgid "Admin needs to configure some discount coupons before it can be used"
|
19 |
+
msgstr ""
|
20 |
+
"El administrador necesita ajustar algunos cupones de descuento antes de "
|
21 |
+
"utilizarse"
|
22 |
+
|
23 |
+
#: class-coupon.php:86
|
24 |
+
msgid "Coupon ID: "
|
25 |
+
msgstr "El ID del cupón: "
|
26 |
+
|
27 |
+
#: class-coupon.php:87
|
28 |
+
msgid "Coupon Code: "
|
29 |
+
msgstr "El código del cupón: "
|
30 |
+
|
31 |
+
#: class-coupon.php:88
|
32 |
+
msgid "Discount Amt: "
|
33 |
+
msgstr "Descuento Amt: "
|
34 |
+
|
35 |
+
#: class-coupon.php:89
|
36 |
+
msgid "Expiry date: "
|
37 |
+
msgstr "Fecha de caducidad: "
|
38 |
+
|
39 |
+
#: class-coupon.php:98
|
40 |
+
msgid "Coupon code used does not exist!"
|
41 |
+
msgstr "¡Código del cupón usado no existe!"
|
42 |
+
|
43 |
+
#: class-coupon.php:105
|
44 |
+
msgid "Coupon code expired!"
|
45 |
+
msgstr "¡El código del cupón a caducado!"
|
46 |
+
|
47 |
+
#: class-coupon.php:110
|
48 |
+
msgid "Discount can only be applied once per checkout!"
|
49 |
+
msgstr "¡Descuento sólo se puede aplicar una vez por pago y envío!"
|
50 |
+
|
51 |
+
#: class-coupon.php:132
|
52 |
+
msgid "Discount applied successfully! Total Discount: "
|
53 |
+
msgstr "¡Descuento aplicado con éxito! Descuento total: "
|
54 |
+
|
55 |
+
#: gallery-wp-cart.php:32
|
56 |
+
msgid "[View with PicLens]"
|
57 |
+
msgstr "[Ver con PicLens]"
|
58 |
+
|
59 |
+
#: paypal.php:404 paypal.php:429
|
60 |
+
#, php-format
|
61 |
+
msgid "Error occured during payment verification. Error code: %d. Message: %s"
|
62 |
+
msgstr ""
|
63 |
+
"Se ha producido un error durante la verificación del pago. Código de error: "
|
64 |
+
"%d. Mensaje: %s"
|
65 |
+
|
66 |
+
#: paypal.php:442
|
67 |
+
#, php-format
|
68 |
+
msgid ""
|
69 |
+
"Payment check failed: invalid amount received. Expected %s %s, got %s %s."
|
70 |
+
msgstr ""
|
71 |
+
"Error en la comprobación de pago: se ha recibido la cantidad no válida. Se "
|
72 |
+
"esperaba %s %s, pero recibí %s %s."
|
73 |
+
|
74 |
+
#: wp_shopping_cart.php:106
|
75 |
+
msgid "Empty payment data received."
|
76 |
+
msgstr "Datos de pago vacíos recibidos."
|
77 |
+
|
78 |
+
#: wp_shopping_cart.php:141
|
79 |
+
msgid ""
|
80 |
+
"Error occured during payment processing. Check debug log for additional "
|
81 |
+
"details."
|
82 |
+
msgstr ""
|
83 |
+
"Se ha producido un error durante el procesamiento del pago. Verifica el "
|
84 |
+
"registro de depuración para obtener detalles adicionales."
|
85 |
+
|
86 |
+
#: wp_shopping_cart.php:276
|
87 |
+
msgid "Error! Your session is out of sync. Please reset your session."
|
88 |
+
msgstr ""
|
89 |
+
"¡Error! Tu sesión está fuera de sincronización. Por favor, restablece tu "
|
90 |
+
"sesión."
|
91 |
+
|
92 |
+
#: wp_shopping_cart.php:284
|
93 |
+
msgid ""
|
94 |
+
"Shopping Cart Configuration Error! You must specify a value in the 'Checkout "
|
95 |
+
"Page URL' field for the automatic redirection feature to work!"
|
96 |
+
msgstr ""
|
97 |
+
"¡Error de configuración del carrito de compras! ¡Debes especificar un valor "
|
98 |
+
"en el campo 'URL de la página de pago' para que la característica de "
|
99 |
+
"redirección automática funcione!"
|
100 |
+
|
101 |
+
#: wp_shopping_cart.php:395 wp_shopping_cart.php:471 wp_shopping_cart.php:548
|
102 |
+
#: wp_shopping_cart.php:592 wp_shopping_cart.php:600
|
103 |
+
#: includes/admin/wp_shopping_cart_menu_general_settings.php:80
|
104 |
+
msgid "Add to Cart"
|
105 |
+
msgstr "Añadir al carrito"
|
106 |
+
|
107 |
+
#: wp_shopping_cart.php:719
|
108 |
+
msgid "Shopping Cart"
|
109 |
+
msgstr "Carrito de compras"
|
110 |
+
|
111 |
+
#: wp_shopping_cart.php:754 includes/admin/wp_shopping_cart_menu_main.php:14
|
112 |
+
msgid "Settings"
|
113 |
+
msgstr "Ajustes"
|
114 |
+
|
115 |
+
#: wp_shopping_cart_misc_functions.php:171
|
116 |
+
msgid "Your Shopping Cart"
|
117 |
+
msgstr "Tu carrito de compras"
|
118 |
+
|
119 |
+
#: wp_shopping_cart_misc_functions.php:172
|
120 |
+
msgid "Your cart is empty"
|
121 |
+
msgstr "Tu carrito está vacío"
|
122 |
+
|
123 |
+
#: wp_shopping_cart_misc_functions.php:206
|
124 |
+
msgid ""
|
125 |
+
"Need a shopping cart plugin with a lot of features and good support? Check "
|
126 |
+
"out our "
|
127 |
+
msgstr ""
|
128 |
+
"¿Necesitas un plugin de carrito de compras con muchas características y buen "
|
129 |
+
"soporte? Echa un vistazo a nuestro "
|
130 |
+
|
131 |
+
#: wp_shopping_cart_misc_functions.php:207
|
132 |
+
msgid "WP eStore Plugin"
|
133 |
+
msgstr "WP eStore Plugin"
|
134 |
+
|
135 |
+
#: wp_shopping_cart_orders.php:11
|
136 |
+
msgid "Cart Orders"
|
137 |
+
msgstr "Los pedidos del carrito"
|
138 |
+
|
139 |
+
#: wp_shopping_cart_orders.php:12
|
140 |
+
msgid "Cart Order"
|
141 |
+
msgstr "El pedido del carrito"
|
142 |
+
|
143 |
+
#: wp_shopping_cart_orders.php:13
|
144 |
+
msgid "Add New"
|
145 |
+
msgstr "Añadir nuevo"
|
146 |
+
|
147 |
+
#: wp_shopping_cart_orders.php:14
|
148 |
+
msgid "Add New Order"
|
149 |
+
msgstr "Añadir un nuevo pedido"
|
150 |
+
|
151 |
+
#: wp_shopping_cart_orders.php:15
|
152 |
+
msgid "Edit"
|
153 |
+
msgstr "Editar"
|
154 |
+
|
155 |
+
#: wp_shopping_cart_orders.php:16
|
156 |
+
msgid "Edit Order"
|
157 |
+
msgstr "Editar el pedido"
|
158 |
+
|
159 |
+
#: wp_shopping_cart_orders.php:17
|
160 |
+
msgid "New Order"
|
161 |
+
msgstr "Nuevo pedido"
|
162 |
+
|
163 |
+
#: wp_shopping_cart_orders.php:18
|
164 |
+
msgid "View"
|
165 |
+
msgstr "Ver"
|
166 |
+
|
167 |
+
#: wp_shopping_cart_orders.php:19
|
168 |
+
msgid "View Order"
|
169 |
+
msgstr "Ver el pedido"
|
170 |
+
|
171 |
+
#: wp_shopping_cart_orders.php:20
|
172 |
+
msgid "Search Order"
|
173 |
+
msgstr "Buscar el pedido"
|
174 |
+
|
175 |
+
#: wp_shopping_cart_orders.php:21
|
176 |
+
msgid "No order found"
|
177 |
+
msgstr "No se encontró el pedido"
|
178 |
+
|
179 |
+
#: wp_shopping_cart_orders.php:22
|
180 |
+
msgid "No order found in Trash"
|
181 |
+
msgstr "Ningún pedido se encontró en la papelera"
|
182 |
+
|
183 |
+
#: wp_shopping_cart_orders.php:23
|
184 |
+
msgid "Parent Order"
|
185 |
+
msgstr "El primer pedido"
|
186 |
+
|
187 |
+
#: wp_shopping_cart_orders.php:36
|
188 |
+
msgid "Order Review"
|
189 |
+
msgstr "Revisión del pedido"
|
190 |
+
|
191 |
+
#: wp_shopping_cart_orders.php:63
|
192 |
+
msgid "Order ID: #"
|
193 |
+
msgstr "El ID del pedido: #"
|
194 |
+
|
195 |
+
#: wp_shopping_cart_orders.php:68
|
196 |
+
msgid "Transaction ID: #"
|
197 |
+
msgstr "El ID: # de transacción"
|
198 |
+
|
199 |
+
#: wp_shopping_cart_orders.php:73 wp_shopping_cart_orders.php:195
|
200 |
+
msgid "First Name"
|
201 |
+
msgstr "Nombre de pila"
|
202 |
+
|
203 |
+
#: wp_shopping_cart_orders.php:77 wp_shopping_cart_orders.php:196
|
204 |
+
msgid "Last Name"
|
205 |
+
msgstr "Apellido"
|
206 |
+
|
207 |
+
#: wp_shopping_cart_orders.php:81
|
208 |
+
msgid "Email Address"
|
209 |
+
msgstr "Dirección de correo electrónico"
|
210 |
+
|
211 |
+
#: wp_shopping_cart_orders.php:85
|
212 |
+
msgid "IP Address"
|
213 |
+
msgstr "Dirección de IP"
|
214 |
+
|
215 |
+
#: wp_shopping_cart_orders.php:89 wp_shopping_cart_orders.php:198
|
216 |
+
#: includes/wspsc-cart-functions.php:172
|
217 |
+
msgid "Total"
|
218 |
+
msgstr "Total"
|
219 |
+
|
220 |
+
#: wp_shopping_cart_orders.php:93 includes/wspsc-cart-functions.php:169
|
221 |
+
msgid "Shipping"
|
222 |
+
msgstr "Envío"
|
223 |
+
|
224 |
+
#: wp_shopping_cart_orders.php:97
|
225 |
+
msgid "Address"
|
226 |
+
msgstr "Dirección"
|
227 |
+
|
228 |
+
#: wp_shopping_cart_orders.php:101
|
229 |
+
msgid ""
|
230 |
+
"An address value will only be present if the order has physical item(s) with "
|
231 |
+
"shipping amount. "
|
232 |
+
msgstr ""
|
233 |
+
"Sólo se mostrará la dirección si el pedido tiene artículos físicos con en el "
|
234 |
+
"importe de envío. "
|
235 |
+
|
236 |
+
#: wp_shopping_cart_orders.php:102
|
237 |
+
msgid ""
|
238 |
+
"If you want to collect address for all orders then enable the 'Must Collect "
|
239 |
+
"Shipping Address on PayPal' option from the plugin settings."
|
240 |
+
msgstr ""
|
241 |
+
"Si quieres recopilar direcciones para todos los pedidos entonces activa la "
|
242 |
+
"opción \"Debe recopilar direcciones de envío en PayPal\" en los ajustes del "
|
243 |
+
"plugin."
|
244 |
+
|
245 |
+
#: wp_shopping_cart_orders.php:107
|
246 |
+
msgid "Phone"
|
247 |
+
msgstr "Teléfono"
|
248 |
+
|
249 |
+
#: wp_shopping_cart_orders.php:111
|
250 |
+
msgid ""
|
251 |
+
"A phone number will only be present if the customer entered one during the "
|
252 |
+
"checkout."
|
253 |
+
msgstr ""
|
254 |
+
"Sólo se mostrará un número de teléfono si el usuario lo introdujo durante el "
|
255 |
+
"pago."
|
256 |
+
|
257 |
+
#: wp_shopping_cart_orders.php:116
|
258 |
+
msgid "Buyer Email Sent?"
|
259 |
+
msgstr "¿Correo electrónico del comprador envidado?"
|
260 |
+
|
261 |
+
#: wp_shopping_cart_orders.php:120
|
262 |
+
msgid "Item(s) Ordered:"
|
263 |
+
msgstr "Artículo(s) pedidos:"
|
264 |
+
|
265 |
+
#: wp_shopping_cart_orders.php:124
|
266 |
+
msgid "Applied Coupon Code:"
|
267 |
+
msgstr "Aplicar el código del cupón:"
|
268 |
+
|
269 |
+
#: wp_shopping_cart_orders.php:194
|
270 |
+
msgid "Order ID"
|
271 |
+
msgstr "El ID del pedido"
|
272 |
+
|
273 |
+
#: wp_shopping_cart_orders.php:197
|
274 |
+
msgid "Email"
|
275 |
+
msgstr "Correo electrónico"
|
276 |
+
|
277 |
+
#: wp_shopping_cart_orders.php:199
|
278 |
+
msgid "Status"
|
279 |
+
msgstr "Estatus"
|
280 |
+
|
281 |
+
#: wp_shopping_cart_orders.php:200
|
282 |
+
msgid "Date"
|
283 |
+
msgstr "Fecha"
|
284 |
+
|
285 |
+
#: wp_shopping_cart_shortcodes.php:27 wp_shopping_cart_shortcodes.php:59
|
286 |
+
msgid "Error! You must specify a product name in the shortcode."
|
287 |
+
msgstr "¡Error! Debes especificar el nombre del producto en el shortcode."
|
288 |
+
|
289 |
+
#: wp_shopping_cart_shortcodes.php:30 wp_shopping_cart_shortcodes.php:62
|
290 |
+
msgid "Error! You must specify a price for your product in the shortcode."
|
291 |
+
msgstr "¡Error! Debes especificar un precio para tu producto en el shortcode."
|
292 |
+
|
293 |
+
#: wp_shopping_cart_shortcodes.php:65
|
294 |
+
msgid ""
|
295 |
+
"Error! You must specify a thumbnail image for your product in the shortcode."
|
296 |
+
msgstr ""
|
297 |
+
"¡Error! Debes especificar una imagen en miniatura para tu producto en el "
|
298 |
+
"shortcode."
|
299 |
+
|
300 |
+
#: wp_shopping_cart_shortcodes.php:122
|
301 |
+
msgid "View Cart"
|
302 |
+
msgstr "Ver el carrito"
|
303 |
+
|
304 |
+
#: wp_shopping_cart_shortcodes.php:127
|
305 |
+
msgid "Cart is empty"
|
306 |
+
msgstr "El carrito está vacío"
|
307 |
+
|
308 |
+
#: includes/wspsc-cart-functions.php:22
|
309 |
+
msgid "Visit The Shop"
|
310 |
+
msgstr "Visitar la tienda"
|
311 |
+
|
312 |
+
#: includes/wspsc-cart-functions.php:34
|
313 |
+
#: includes/admin/wp_shopping_cart_menu_general_settings.php:64
|
314 |
+
msgid "USD"
|
315 |
+
msgstr "USD"
|
316 |
+
|
317 |
+
#: includes/wspsc-cart-functions.php:38
|
318 |
+
#: includes/admin/wp_shopping_cart_menu_general_settings.php:67
|
319 |
+
msgid "$"
|
320 |
+
msgstr "$"
|
321 |
+
|
322 |
+
#: includes/wspsc-cart-functions.php:71
|
323 |
+
msgid "Cart"
|
324 |
+
msgstr "Carrito"
|
325 |
+
|
326 |
+
#: includes/wspsc-cart-functions.php:79
|
327 |
+
msgid "Hit enter to submit new Quantity."
|
328 |
+
msgstr "Presiona enter para enviar nueva cantidad."
|
329 |
+
|
330 |
+
#: includes/wspsc-cart-functions.php:89
|
331 |
+
msgid "Item Name"
|
332 |
+
msgstr "Nombre del artículo"
|
333 |
+
|
334 |
+
#: includes/wspsc-cart-functions.php:89
|
335 |
+
msgid "Quantity"
|
336 |
+
msgstr "Cantidad"
|
337 |
+
|
338 |
+
#: includes/wspsc-cart-functions.php:89
|
339 |
+
#: includes/admin/wp_shopping_cart_tinymce.php:165
|
340 |
+
msgid "Price"
|
341 |
+
msgstr "Precio"
|
342 |
+
|
343 |
+
#: includes/wspsc-cart-functions.php:133
|
344 |
+
msgid "Remove"
|
345 |
+
msgstr "Quitar"
|
346 |
+
|
347 |
+
#: includes/wspsc-cart-functions.php:168
|
348 |
+
msgid "Subtotal"
|
349 |
+
msgstr "Subtotal"
|
350 |
+
|
351 |
+
#: includes/wspsc-cart-functions.php:181
|
352 |
+
msgid "Enter Coupon Code"
|
353 |
+
msgstr "Introduce el código del cupón"
|
354 |
+
|
355 |
+
#: includes/wspsc-cart-functions.php:184
|
356 |
+
msgid "Apply"
|
357 |
+
msgstr "Aplicar"
|
358 |
+
|
359 |
+
#: includes/wspsc-cart-functions.php:207
|
360 |
+
msgid "paypal_checkout_EN.png"
|
361 |
+
msgstr "paypal_checkout_ES.png"
|
362 |
+
|
363 |
+
#: includes/wspsc-cart-functions.php:208
|
364 |
+
msgid "Make payments with PayPal - it\\'s fast, free and secure!"
|
365 |
+
msgstr "Hacer pagos con PayPal - ¡es rápido, gratis y seguro!"
|
366 |
+
|
367 |
+
#: includes/wspsc-cart-functions.php:236
|
368 |
+
#, php-format
|
369 |
+
msgid ""
|
370 |
+
"PayPal Smart Checkout error: %s client ID is not set. Please set it on the "
|
371 |
+
"Advanced Settings tab."
|
372 |
+
msgstr ""
|
373 |
+
"Error de pago inteligente de PayPal: %s ID de cliente no está establecido. "
|
374 |
+
"Por favor, configúralo en la pestaña de Ajustes avanzados."
|
375 |
+
|
376 |
+
#: includes/wspsc-cart-functions.php:321
|
377 |
+
msgid "Error occured during PayPal Smart Checkout process."
|
378 |
+
msgstr ""
|
379 |
+
"Se ha producido un error durante el proceso de pago inteligente de PayPal."
|
380 |
+
|
381 |
+
#: includes/wspsc-cart-functions.php:351
|
382 |
+
msgid "HTTP error occured during payment process:"
|
383 |
+
msgstr "El error HTTP ha ocurrido durante el proceso de pago:"
|
384 |
+
|
385 |
+
#: includes/admin/wp_shopping_cart_menu_adv_settings.php:77
|
386 |
+
#: includes/admin/wp_shopping_cart_menu_discounts.php:61
|
387 |
+
#: includes/admin/wp_shopping_cart_menu_email_settings.php:59
|
388 |
+
#: includes/admin/wp_shopping_cart_menu_general_settings.php:153
|
389 |
+
#: includes/admin/wp_shopping_cart_menu_tools.php:28
|
390 |
+
msgid ""
|
391 |
+
"For more information, updates, detailed documentation and video tutorial, "
|
392 |
+
"please visit:"
|
393 |
+
msgstr ""
|
394 |
+
"Para obtener más información, actualizaciones, documentación detallada y un "
|
395 |
+
"tutorial de vídeo, por favor visite:"
|
396 |
+
|
397 |
+
#: includes/admin/wp_shopping_cart_menu_adv_settings.php:78
|
398 |
+
#: includes/admin/wp_shopping_cart_menu_discounts.php:62
|
399 |
+
#: includes/admin/wp_shopping_cart_menu_email_settings.php:60
|
400 |
+
#: includes/admin/wp_shopping_cart_menu_general_settings.php:154
|
401 |
+
#: includes/admin/wp_shopping_cart_menu_tools.php:29
|
402 |
+
msgid "WP Simple Cart Homepage"
|
403 |
+
msgstr "Página de inicio de WP Simple Cart"
|
404 |
+
|
405 |
+
#: includes/admin/wp_shopping_cart_menu_adv_settings.php:87
|
406 |
+
msgid "PayPal Smart Checkout Settings"
|
407 |
+
msgstr "Ajustes de pago inteligente de PayPal"
|
408 |
+
|
409 |
+
#: includes/admin/wp_shopping_cart_menu_adv_settings.php:94
|
410 |
+
msgid "Enable PayPal Smart Checkout"
|
411 |
+
msgstr "Activar el pago inteligente de PayPal"
|
412 |
+
|
413 |
+
#: includes/admin/wp_shopping_cart_menu_adv_settings.php:96
|
414 |
+
msgid "Enable PayPal Smart Checkout."
|
415 |
+
msgstr "Activar el pago inteligente de PayPal."
|
416 |
+
|
417 |
+
msgid "View Documentation"
|
418 |
+
msgstr "Ver la documentación"
|
419 |
+
|
420 |
+
#: includes/admin/wp_shopping_cart_menu_adv_settings.php:100
|
421 |
+
msgid "Live Client ID"
|
422 |
+
msgstr "ID de cliente en vivo"
|
423 |
+
|
424 |
+
#: includes/admin/wp_shopping_cart_menu_adv_settings.php:102
|
425 |
+
msgid "Enter your live Client ID."
|
426 |
+
msgstr "Introduce tu ID de cliente en vivo."
|
427 |
+
|
428 |
+
#: includes/admin/wp_shopping_cart_menu_adv_settings.php:106
|
429 |
+
msgid "Live Secret"
|
430 |
+
msgstr "Secreto en vivo"
|
431 |
+
|
432 |
+
#: includes/admin/wp_shopping_cart_menu_adv_settings.php:108
|
433 |
+
msgid "Enter your live Secret."
|
434 |
+
msgstr "Introduce tu secreto en vivo."
|
435 |
+
|
436 |
+
#: includes/admin/wp_shopping_cart_menu_adv_settings.php:112
|
437 |
+
msgid "Sandbox Client ID"
|
438 |
+
msgstr "ID de cliente de Sandbox"
|
439 |
+
|
440 |
+
#: includes/admin/wp_shopping_cart_menu_adv_settings.php:114
|
441 |
+
msgid "Enter your sandbox Client ID."
|
442 |
+
msgstr "Introduce tu ID de cliente de sandbox."
|
443 |
+
|
444 |
+
#: includes/admin/wp_shopping_cart_menu_adv_settings.php:118
|
445 |
+
msgid "Sandbox Secret"
|
446 |
+
msgstr "Secreto de Sandbox"
|
447 |
+
|
448 |
+
#: includes/admin/wp_shopping_cart_menu_adv_settings.php:120
|
449 |
+
msgid "Enter your sandbox Secret."
|
450 |
+
msgstr "Introduce tu secreto de sandbox."
|
451 |
+
|
452 |
+
#: includes/admin/wp_shopping_cart_menu_adv_settings.php:126
|
453 |
+
msgid "Button Appearance Settings"
|
454 |
+
msgstr "Ajustes de apariencia del botón"
|
455 |
+
|
456 |
+
#: includes/admin/wp_shopping_cart_menu_adv_settings.php:131
|
457 |
+
msgid "Size"
|
458 |
+
msgstr "Tamaño"
|
459 |
+
|
460 |
+
#: includes/admin/wp_shopping_cart_menu_adv_settings.php:137
|
461 |
+
msgid "Medium"
|
462 |
+
msgstr "Mediano"
|
463 |
+
|
464 |
+
#: includes/admin/wp_shopping_cart_menu_adv_settings.php:138
|
465 |
+
msgid "Large"
|
466 |
+
msgstr "Grande"
|
467 |
+
|
468 |
+
#: includes/admin/wp_shopping_cart_menu_adv_settings.php:139
|
469 |
+
msgid "Repsonsive"
|
470 |
+
msgstr "Adaptable"
|
471 |
+
|
472 |
+
#: includes/admin/wp_shopping_cart_menu_adv_settings.php:143
|
473 |
+
msgid "Select button size."
|
474 |
+
msgstr "Selecciona el tamaño del botón."
|
475 |
+
|
476 |
+
#: includes/admin/wp_shopping_cart_menu_adv_settings.php:147
|
477 |
+
msgid "Color"
|
478 |
+
msgstr "Color"
|
479 |
+
|
480 |
+
#: includes/admin/wp_shopping_cart_menu_adv_settings.php:153
|
481 |
+
msgid "Gold"
|
482 |
+
msgstr "Oro"
|
483 |
+
|
484 |
+
#: includes/admin/wp_shopping_cart_menu_adv_settings.php:154
|
485 |
+
msgid "Blue"
|
486 |
+
msgstr "Azul"
|
487 |
+
|
488 |
+
#: includes/admin/wp_shopping_cart_menu_adv_settings.php:155
|
489 |
+
msgid "Silver"
|
490 |
+
msgstr "Plata"
|
491 |
+
|
492 |
+
#: includes/admin/wp_shopping_cart_menu_adv_settings.php:156
|
493 |
+
msgid "Black"
|
494 |
+
msgstr "Negro"
|
495 |
+
|
496 |
+
#: includes/admin/wp_shopping_cart_menu_adv_settings.php:160
|
497 |
+
msgid "Select button color."
|
498 |
+
msgstr "Selecciona el color del botón."
|
499 |
+
|
500 |
+
#: includes/admin/wp_shopping_cart_menu_adv_settings.php:168
|
501 |
+
msgid "Shape"
|
502 |
+
msgstr "Forma"
|
503 |
+
|
504 |
+
#: includes/admin/wp_shopping_cart_menu_adv_settings.php:170
|
505 |
+
msgid "Rectangular "
|
506 |
+
msgstr "Rectangular "
|
507 |
+
|
508 |
+
#: includes/admin/wp_shopping_cart_menu_adv_settings.php:171
|
509 |
+
msgid "Pill"
|
510 |
+
msgstr "Píldora"
|
511 |
+
|
512 |
+
#: includes/admin/wp_shopping_cart_menu_adv_settings.php:172
|
513 |
+
msgid "Select button shape."
|
514 |
+
msgstr "Selecciona la forma del botón."
|
515 |
+
|
516 |
+
#: includes/admin/wp_shopping_cart_menu_adv_settings.php:176
|
517 |
+
msgid "Layout"
|
518 |
+
msgstr "Diseño"
|
519 |
+
|
520 |
+
#: includes/admin/wp_shopping_cart_menu_adv_settings.php:178
|
521 |
+
msgid "Vertical"
|
522 |
+
msgstr "Vertical"
|
523 |
+
|
524 |
+
#: includes/admin/wp_shopping_cart_menu_adv_settings.php:179
|
525 |
+
msgid "Horizontal"
|
526 |
+
msgstr "Horizontal"
|
527 |
+
|
528 |
+
#: includes/admin/wp_shopping_cart_menu_adv_settings.php:180
|
529 |
+
msgid "Select button layout."
|
530 |
+
msgstr "Selecciona el diseño del botón."
|
531 |
+
|
532 |
+
#: includes/admin/wp_shopping_cart_menu_adv_settings.php:185
|
533 |
+
msgid "Additional Settings"
|
534 |
+
msgstr "Ajustes adicionales"
|
535 |
+
|
536 |
+
#: includes/admin/wp_shopping_cart_menu_adv_settings.php:193
|
537 |
+
msgid "Payment Methods"
|
538 |
+
msgstr "Métodos de pago"
|
539 |
+
|
540 |
+
#: includes/admin/wp_shopping_cart_menu_adv_settings.php:195
|
541 |
+
msgid "PayPal Credit"
|
542 |
+
msgstr "Crédito de PayPal"
|
543 |
+
|
544 |
+
#: includes/admin/wp_shopping_cart_menu_adv_settings.php:196
|
545 |
+
msgid "ELV"
|
546 |
+
msgstr "ELV"
|
547 |
+
|
548 |
+
#: includes/admin/wp_shopping_cart_menu_adv_settings.php:197
|
549 |
+
msgid ""
|
550 |
+
"Select payment methods that could be used by customers. Note that payment "
|
551 |
+
"with cards is always enabled."
|
552 |
+
msgstr ""
|
553 |
+
"Selecciona los métodos de pago que podrían ser utilizados por los clientes. "
|
554 |
+
"Ten en cuenta que el pago con tarjetas siempre está activado."
|
555 |
+
|
556 |
+
#: includes/admin/wp_shopping_cart_menu_adv_settings.php:201
|
557 |
+
msgid "Disable Standard PayPal Checkout"
|
558 |
+
msgstr "Desactivar el pago estándar de PayPal"
|
559 |
+
|
560 |
+
#: includes/admin/wp_shopping_cart_menu_adv_settings.php:203
|
561 |
+
msgid ""
|
562 |
+
"By default PayPal standard checkout is always enabled. If you only want to "
|
563 |
+
"use the PayPal Smart Checkout instead then use this checkbox to disable the "
|
564 |
+
"standard checkout option. This option will only have effect when Smart "
|
565 |
+
"Checkout is enabled."
|
566 |
+
msgstr ""
|
567 |
+
"Por defecto, el pago estándar de PayPal siempre está activado. Si solo "
|
568 |
+
"deseas utilizar el pago inteligente de PayPal en su lugar, utiliza esta "
|
569 |
+
"casilla de verificación para desactivar la opción de pago estándar. Esta "
|
570 |
+
"opción solo tendrá efecto cuando Smart Checkout esta activado."
|
571 |
+
|
572 |
+
#: includes/admin/wp_shopping_cart_menu_adv_settings.php:212
|
573 |
+
#: includes/admin/wp_shopping_cart_menu_email_settings.php:150
|
574 |
+
#: includes/admin/wp_shopping_cart_menu_general_settings.php:380
|
575 |
+
msgid "Update Options »"
|
576 |
+
msgstr "Actualización de opciones »"
|
577 |
+
|
578 |
+
#: includes/admin/wp_shopping_cart_menu_discounts.php:10
|
579 |
+
msgid "Simple Cart Coupons/Discounts"
|
580 |
+
msgstr "Cupones / descuentos de carrito simple"
|
581 |
+
|
582 |
+
#: includes/admin/wp_shopping_cart_menu_discounts.php:70
|
583 |
+
msgid "Coupon/Discount Settings"
|
584 |
+
msgstr "Ajustes del descuento / cupón"
|
585 |
+
|
586 |
+
#: includes/admin/wp_shopping_cart_menu_discounts.php:77
|
587 |
+
msgid "Enable Discount Coupon Feature"
|
588 |
+
msgstr "Activar las característica del cupón de descuento"
|
589 |
+
|
590 |
+
#: includes/admin/wp_shopping_cart_menu_discounts.php:80
|
591 |
+
msgid ""
|
592 |
+
"When checked your customers will be able to enter a coupon code in the "
|
593 |
+
"shopping cart before checkout."
|
594 |
+
msgstr ""
|
595 |
+
"Cuando esta seleccionado, tus clientes podrán introducir un código de cupón "
|
596 |
+
"en el carrito de compras antes de finalizar la compra."
|
597 |
+
|
598 |
+
#: includes/admin/wp_shopping_cart_menu_discounts.php:87
|
599 |
+
msgid "Update »"
|
600 |
+
msgstr "Actualizar »"
|
601 |
+
|
602 |
+
#: includes/admin/wp_shopping_cart_menu_discounts.php:103
|
603 |
+
msgid "Add Coupon/Discount"
|
604 |
+
msgstr "Añadir cupón/descuento"
|
605 |
+
|
606 |
+
#: includes/admin/wp_shopping_cart_menu_discounts.php:128
|
607 |
+
msgid "Save Coupon »"
|
608 |
+
msgstr "Guardar el cupón »"
|
609 |
+
|
610 |
+
#: includes/admin/wp_shopping_cart_menu_discounts.php:146
|
611 |
+
msgid "Coupon Code"
|
612 |
+
msgstr "Código del cupón"
|
613 |
+
|
614 |
+
#: includes/admin/wp_shopping_cart_menu_discounts.php:147
|
615 |
+
msgid "Discount Rate (%)"
|
616 |
+
msgstr "Tasa de descuento (%)"
|
617 |
+
|
618 |
+
#: includes/admin/wp_shopping_cart_menu_discounts.php:148
|
619 |
+
msgid "Expiry Date"
|
620 |
+
msgstr "Fecha de caducidad"
|
621 |
+
|
622 |
+
#: includes/admin/wp_shopping_cart_menu_discounts.php:167
|
623 |
+
msgid "No Expiry"
|
624 |
+
msgstr "Sin caducidad"
|
625 |
+
|
626 |
+
#: includes/admin/wp_shopping_cart_menu_discounts.php:183
|
627 |
+
msgid "No Coupons Configured."
|
628 |
+
msgstr "No se han configurado los cupones."
|
629 |
+
|
630 |
+
#: includes/admin/wp_shopping_cart_menu_discounts.php:188
|
631 |
+
msgid "No Record found"
|
632 |
+
msgstr "No se encontró ningún registro"
|
633 |
+
|
634 |
+
#: includes/admin/wp_shopping_cart_menu_email_settings.php:68
|
635 |
+
msgid "Purchase Confirmation Email Settings"
|
636 |
+
msgstr "Ajustes del correo electrónico de confirmación de compra"
|
637 |
+
|
638 |
+
#: includes/admin/wp_shopping_cart_menu_email_settings.php:71
|
639 |
+
msgid ""
|
640 |
+
"The following options affect the emails that gets sent to your buyers after "
|
641 |
+
"a purchase."
|
642 |
+
msgstr ""
|
643 |
+
"Las siguientes opciones afectan a los mensajes de correo electrónico que se "
|
644 |
+
"envía a los compradores después de una compra."
|
645 |
+
|
646 |
+
#: includes/admin/wp_shopping_cart_menu_email_settings.php:76
|
647 |
+
msgid "Send Emails to Buyer After Purchase"
|
648 |
+
msgstr "Enviar mensajes de correo electrónico al comprador después de comprar"
|
649 |
+
|
650 |
+
#: includes/admin/wp_shopping_cart_menu_email_settings.php:77
|
651 |
+
msgid ""
|
652 |
+
"If checked the plugin will send an email to the buyer with the sale details. "
|
653 |
+
"If digital goods are purchased then the email will contain the download "
|
654 |
+
"links for the purchased products."
|
655 |
+
msgstr ""
|
656 |
+
"Si se selecciona el plugin enviará un correo electrónico al comprador con "
|
657 |
+
"los detalles de la venta. Si se compran bienes digitales a continuación, el "
|
658 |
+
"correo electrónico contendrá los vínculos de descarga de los productos "
|
659 |
+
"adquiridos."
|
660 |
+
|
661 |
+
#: includes/admin/wp_shopping_cart_menu_email_settings.php:81
|
662 |
+
msgid "From Email Address"
|
663 |
+
msgstr "El correo electrónico de"
|
664 |
+
|
665 |
+
#: includes/admin/wp_shopping_cart_menu_email_settings.php:83
|
666 |
+
msgid ""
|
667 |
+
"Example: Your Name <sales@your-domain.com> This is the email address "
|
668 |
+
"that will be used to send the email to the buyer. This name and email "
|
669 |
+
"address will appear in the from field of the email."
|
670 |
+
msgstr ""
|
671 |
+
"Ejemplo: Tu nombre <ventas@tu-dominio.com> Esta es la dirección del "
|
672 |
+
"correo electrónico que se utilizará para enviar el correo electrónico al "
|
673 |
+
"comprador. Este nombre y dirección de correo electrónico aparecerá en el "
|
674 |
+
"campo de del correo electrónico."
|
675 |
+
|
676 |
+
#: includes/admin/wp_shopping_cart_menu_email_settings.php:87
|
677 |
+
msgid "Buyer Email Subject"
|
678 |
+
msgstr "Asunto del correo electrónico del comprador"
|
679 |
+
|
680 |
+
#: includes/admin/wp_shopping_cart_menu_email_settings.php:89
|
681 |
+
msgid "This is the subject of the email that will be sent to the buyer."
|
682 |
+
msgstr "Este es el asunto de correo electrónico que será enviado al comprador."
|
683 |
+
|
684 |
+
#: includes/admin/wp_shopping_cart_menu_email_settings.php:93
|
685 |
+
msgid "Buyer Email Body"
|
686 |
+
msgstr "El cuerpo de correo electrónico del comprador"
|
687 |
+
|
688 |
+
#: includes/admin/wp_shopping_cart_menu_email_settings.php:96
|
689 |
+
msgid ""
|
690 |
+
"This is the body of the email that will be sent to the buyer. Do not change "
|
691 |
+
"the text within the braces {}. You can use the following email tags in this "
|
692 |
+
"email body field:"
|
693 |
+
msgstr ""
|
694 |
+
"Esto es el cuerpo de correo electrónico que será enviado al comprador. No "
|
695 |
+
"cambies el texto dentro de las llaves {}. Puedes usar las siguientes "
|
696 |
+
"etiquetas de correo electrónico en este campo del cuerpo de correo "
|
697 |
+
"electrónico:"
|
698 |
+
|
699 |
+
#: includes/admin/wp_shopping_cart_menu_email_settings.php:97
|
700 |
+
#: includes/admin/wp_shopping_cart_menu_email_settings.php:132
|
701 |
+
msgid "First name of the buyer"
|
702 |
+
msgstr "Primer nombre del comprador"
|
703 |
+
|
704 |
+
#: includes/admin/wp_shopping_cart_menu_email_settings.php:98
|
705 |
+
#: includes/admin/wp_shopping_cart_menu_email_settings.php:133
|
706 |
+
msgid "Last name of the buyer"
|
707 |
+
msgstr "Apellido del comprador"
|
708 |
+
|
709 |
+
#: includes/admin/wp_shopping_cart_menu_email_settings.php:99
|
710 |
+
#: includes/admin/wp_shopping_cart_menu_email_settings.php:134
|
711 |
+
msgid "Email Address of the buyer"
|
712 |
+
msgstr "El correo electrónico del comprador"
|
713 |
+
|
714 |
+
#: includes/admin/wp_shopping_cart_menu_email_settings.php:100
|
715 |
+
#: includes/admin/wp_shopping_cart_menu_email_settings.php:135
|
716 |
+
msgid "Address of the buyer"
|
717 |
+
msgstr "La dirección del comprador"
|
718 |
+
|
719 |
+
#: includes/admin/wp_shopping_cart_menu_email_settings.php:101
|
720 |
+
#: includes/admin/wp_shopping_cart_menu_email_settings.php:136
|
721 |
+
msgid ""
|
722 |
+
"The item details of the purchased product (this will include the download "
|
723 |
+
"link for digital items)."
|
724 |
+
msgstr ""
|
725 |
+
"Los detalles del artículo del producto adquirido (esto incluirá el enlace de "
|
726 |
+
"descarga para los artículos digitales)."
|
727 |
+
|
728 |
+
#: includes/admin/wp_shopping_cart_menu_email_settings.php:102
|
729 |
+
#: includes/admin/wp_shopping_cart_menu_email_settings.php:137
|
730 |
+
msgid "The unique transaction ID of the purchase"
|
731 |
+
msgstr "El ID de transacción única de la compra"
|
732 |
+
|
733 |
+
#: includes/admin/wp_shopping_cart_menu_email_settings.php:103
|
734 |
+
#: includes/admin/wp_shopping_cart_menu_email_settings.php:138
|
735 |
+
msgid "The order ID reference of this transaction in the cart orders menu"
|
736 |
+
msgstr ""
|
737 |
+
"La referencia de ID de pedido de esta transacción en el menú de pedidos del "
|
738 |
+
"carrito"
|
739 |
+
|
740 |
+
#: includes/admin/wp_shopping_cart_menu_email_settings.php:104
|
741 |
+
#: includes/admin/wp_shopping_cart_menu_email_settings.php:139
|
742 |
+
msgid "The amount paid for the current transaction"
|
743 |
+
msgstr "La cantidad pagada por la transacción actual"
|
744 |
+
|
745 |
+
#: includes/admin/wp_shopping_cart_menu_email_settings.php:105
|
746 |
+
#: includes/admin/wp_shopping_cart_menu_email_settings.php:140
|
747 |
+
msgid "The date of the purchase"
|
748 |
+
msgstr "La fecha de compras"
|
749 |
+
|
750 |
+
#: includes/admin/wp_shopping_cart_menu_email_settings.php:106
|
751 |
+
#: includes/admin/wp_shopping_cart_menu_email_settings.php:141
|
752 |
+
msgid "Coupon code applied to the purchase"
|
753 |
+
msgstr "Se ha agregado el código del cupón a la compra"
|
754 |
+
|
755 |
+
#: includes/admin/wp_shopping_cart_menu_email_settings.php:111
|
756 |
+
msgid "Send Emails to Seller After Purchase"
|
757 |
+
msgstr "Enviar mensajes de correo electrónico al vendedor después de la compra"
|
758 |
+
|
759 |
+
#: includes/admin/wp_shopping_cart_menu_email_settings.php:112
|
760 |
+
msgid ""
|
761 |
+
"If checked the plugin will send an email to the seller with the sale details"
|
762 |
+
msgstr ""
|
763 |
+
"Si se selecciona el plugin enviará un correo electrónico al vendedor con los "
|
764 |
+
"detalles de la venta"
|
765 |
+
|
766 |
+
#: includes/admin/wp_shopping_cart_menu_email_settings.php:116
|
767 |
+
msgid "Notification Email Address*"
|
768 |
+
msgstr "Notificación de la dirección del correo electrónico*"
|
769 |
+
|
770 |
+
#: includes/admin/wp_shopping_cart_menu_email_settings.php:118
|
771 |
+
msgid ""
|
772 |
+
"This is the email address where the seller will be notified of product "
|
773 |
+
"sales. You can put multiple email addresses separated by comma (,) in the "
|
774 |
+
"above field to send the notification to multiple email addresses."
|
775 |
+
msgstr ""
|
776 |
+
"Esta es la dirección de correo electrónico donde el vendedor será notificado "
|
777 |
+
"de las ventas de productos. Usted puede poner múltiples direcciones de "
|
778 |
+
"correo electrónico separadas por una coma (,) en el campo de arriba para "
|
779 |
+
"enviar la notificación a varias direcciones de correo electrónico."
|
780 |
+
|
781 |
+
#: includes/admin/wp_shopping_cart_menu_email_settings.php:122
|
782 |
+
msgid "Seller Email Subject*"
|
783 |
+
msgstr "Sujeto del correo electrónico del vendedor*"
|
784 |
+
|
785 |
+
#: includes/admin/wp_shopping_cart_menu_email_settings.php:124
|
786 |
+
msgid ""
|
787 |
+
"This is the subject of the email that will be sent to the seller for record."
|
788 |
+
msgstr ""
|
789 |
+
"Este es el asunto de correo electrónico que se enviará al vendedor para el "
|
790 |
+
"registro."
|
791 |
+
|
792 |
+
#: includes/admin/wp_shopping_cart_menu_email_settings.php:128
|
793 |
+
msgid "Seller Email Body*"
|
794 |
+
msgstr "Cuerpo del correo electrónico del vendedor*"
|
795 |
+
|
796 |
+
#: includes/admin/wp_shopping_cart_menu_email_settings.php:131
|
797 |
+
msgid ""
|
798 |
+
"This is the body of the email that will be sent to the seller for record. Do "
|
799 |
+
"not change the text within the braces {}. You can use the following email "
|
800 |
+
"tags in this email body field:"
|
801 |
+
msgstr ""
|
802 |
+
"Este es el cuerpo del correo electrónico que se enviará al vendedor de "
|
803 |
+
"registro. No cambie el texto dentro de las llaves {}. Puedes usar las "
|
804 |
+
"siguientes etiquetas de correo electrónico en este campo de cuerpo de correo "
|
805 |
+
"electrónico:"
|
806 |
+
|
807 |
+
#: includes/admin/wp_shopping_cart_menu_general_settings.php:60
|
808 |
+
msgid "Options Updated!"
|
809 |
+
msgstr "¡Opciones actualizadas!"
|
810 |
+
|
811 |
+
#: includes/admin/wp_shopping_cart_menu_general_settings.php:158
|
812 |
+
msgid "Quick Usage Guide"
|
813 |
+
msgstr "Instrucciones rápidas para el uso"
|
814 |
+
|
815 |
+
#: includes/admin/wp_shopping_cart_menu_general_settings.php:161
|
816 |
+
msgid "Step 1) "
|
817 |
+
msgstr "Paso 1) "
|
818 |
+
|
819 |
+
#: includes/admin/wp_shopping_cart_menu_general_settings.php:161
|
820 |
+
msgid "To add an 'Add to Cart' button for a product simply add the shortcode"
|
821 |
+
msgstr ""
|
822 |
+
"Para añadir un botón \"Añadir al carrito\" para un producto simplemente "
|
823 |
+
"agrega el shortcode"
|
824 |
+
|
825 |
+
#: includes/admin/wp_shopping_cart_menu_general_settings.php:161
|
826 |
+
msgid "PRODUCT-NAME"
|
827 |
+
msgstr "NOMBRE-PRODUCTO"
|
828 |
+
|
829 |
+
#: includes/admin/wp_shopping_cart_menu_general_settings.php:161
|
830 |
+
msgid "PRODUCT-PRICE"
|
831 |
+
msgstr "PRECIO-PRODUCTO"
|
832 |
+
|
833 |
+
#: includes/admin/wp_shopping_cart_menu_general_settings.php:161
|
834 |
+
msgid ""
|
835 |
+
"to a post or page next to the product. Replace PRODUCT-NAME and PRODUCT-"
|
836 |
+
"PRICE with the actual name and price of your product."
|
837 |
+
msgstr ""
|
838 |
+
"para una entrada o página junto al producto. Reemplaza NOMBRE-PRODUCTO y "
|
839 |
+
"PRECIO-PRODUCTO con el nombre y precio actual de tu producto."
|
840 |
+
|
841 |
+
#: includes/admin/wp_shopping_cart_menu_general_settings.php:162
|
842 |
+
msgid "Example add to cart button shortcode usage:"
|
843 |
+
msgstr "Ejemplo del uso del shortcode del botón del carrito de compras:"
|
844 |
+
|
845 |
+
#: includes/admin/wp_shopping_cart_menu_general_settings.php:163
|
846 |
+
msgid "Step 2) "
|
847 |
+
msgstr "Paso 2) "
|
848 |
+
|
849 |
+
#: includes/admin/wp_shopping_cart_menu_general_settings.php:163
|
850 |
+
msgid ""
|
851 |
+
"To add the shopping cart to a post or page (example: a checkout page) simply "
|
852 |
+
"add the shortcode"
|
853 |
+
msgstr ""
|
854 |
+
"Para añadir el carrito de compras a una entrada o una página (ejemplo: una "
|
855 |
+
"página de finalizar la compra) sólo tienes que añadir el shortcode"
|
856 |
+
|
857 |
+
#: includes/admin/wp_shopping_cart_menu_general_settings.php:163
|
858 |
+
msgid ""
|
859 |
+
"to a post or page or use the sidebar widget to add the shopping cart to the "
|
860 |
+
"sidebar."
|
861 |
+
msgstr ""
|
862 |
+
"a una entrada o página o utiliza el widget de la barra lateral para añadir "
|
863 |
+
"el carrito de compras a la barra lateral."
|
864 |
+
|
865 |
+
#: includes/admin/wp_shopping_cart_menu_general_settings.php:164
|
866 |
+
msgid "Example shopping cart shortcode usage:"
|
867 |
+
msgstr "Ejemplo de uso del chortcode del carrito de compras:"
|
868 |
+
|
869 |
+
#: includes/admin/wp_shopping_cart_menu_general_settings.php:173
|
870 |
+
msgid "PayPal and Shopping Cart Settings"
|
871 |
+
msgstr "Ajustes de PayPal y el carrito de compras"
|
872 |
+
|
873 |
+
#: includes/admin/wp_shopping_cart_menu_general_settings.php:179
|
874 |
+
msgid "Paypal Email Address"
|
875 |
+
msgstr "Dirección de correo electrónico de Paypal"
|
876 |
+
|
877 |
+
#: includes/admin/wp_shopping_cart_menu_general_settings.php:183
|
878 |
+
msgid "Shopping Cart title"
|
879 |
+
msgstr "Título del carrito de compras"
|
880 |
+
|
881 |
+
#: includes/admin/wp_shopping_cart_menu_general_settings.php:187
|
882 |
+
msgid "Text/Image to Show When Cart Empty"
|
883 |
+
msgstr "Texto/Imagen para mostrar cuando la cesta esta vacía"
|
884 |
+
|
885 |
+
#: includes/admin/wp_shopping_cart_menu_general_settings.php:188
|
886 |
+
msgid ""
|
887 |
+
"You can either enter plain text or the URL of an image that you want to show "
|
888 |
+
"when the shopping cart is empty"
|
889 |
+
msgstr ""
|
890 |
+
"Puedes introducir texto sin formato o la URL de una imagen que deseas "
|
891 |
+
"mostrar cuando el carrito está vacío"
|
892 |
+
|
893 |
+
#: includes/admin/wp_shopping_cart_menu_general_settings.php:193
|
894 |
+
msgid "Currency"
|
895 |
+
msgstr "Moneda"
|
896 |
+
|
897 |
+
#: includes/admin/wp_shopping_cart_menu_general_settings.php:233
|
898 |
+
msgid "Currency Symbol"
|
899 |
+
msgstr "Símbolo de la moneda"
|
900 |
+
|
901 |
+
#: includes/admin/wp_shopping_cart_menu_general_settings.php:234
|
902 |
+
#: includes/admin/wp_shopping_cart_menu_general_settings.php:261
|
903 |
+
msgid "e.g."
|
904 |
+
msgstr "p.ej."
|
905 |
+
|
906 |
+
#: includes/admin/wp_shopping_cart_menu_general_settings.php:239
|
907 |
+
msgid "Base Shipping Cost"
|
908 |
+
msgstr "Base de costo de envío"
|
909 |
+
|
910 |
+
#: includes/admin/wp_shopping_cart_menu_general_settings.php:240
|
911 |
+
msgid ""
|
912 |
+
"This is the base shipping cost that will be added to the total of individual "
|
913 |
+
"products shipping cost. Put 0 if you do not want to charge shipping cost or "
|
914 |
+
"use base shipping cost."
|
915 |
+
msgstr ""
|
916 |
+
"Esto es el coste base de los gastos de envío, que se sumará al total de los "
|
917 |
+
"costes unitarios de envío del producto. Pon 0 si no quieres cargar el coste "
|
918 |
+
"de envío o usar el coste de base de envió."
|
919 |
+
|
920 |
+
#: includes/admin/wp_shopping_cart_menu_general_settings.php:240
|
921 |
+
msgid "Learn More on Shipping Calculation"
|
922 |
+
msgstr "Aprende más sobre el cálculo de envío"
|
923 |
+
|
924 |
+
#: includes/admin/wp_shopping_cart_menu_general_settings.php:244
|
925 |
+
msgid "Free Shipping for Orders Over"
|
926 |
+
msgstr "Envío gratuito para pedidos superiores a"
|
927 |
+
|
928 |
+
#: includes/admin/wp_shopping_cart_menu_general_settings.php:245
|
929 |
+
msgid ""
|
930 |
+
"When a customer orders more than this amount he/she will get free shipping. "
|
931 |
+
"Leave empty if you do not want to use it."
|
932 |
+
msgstr ""
|
933 |
+
"Cuando un cliente pide más de esta cantidad, él/ella recibirá un envío "
|
934 |
+
"gratuito. Déjalo vacío si no quieres usarlo."
|
935 |
+
|
936 |
+
#: includes/admin/wp_shopping_cart_menu_general_settings.php:249
|
937 |
+
msgid "Must Collect Shipping Address on PayPal"
|
938 |
+
msgstr "Debe recoger la dirección de envío en Paypal"
|
939 |
+
|
940 |
+
#: includes/admin/wp_shopping_cart_menu_general_settings.php:250
|
941 |
+
msgid ""
|
942 |
+
"If checked the customer will be forced to enter a shipping address on PayPal "
|
943 |
+
"when checking out."
|
944 |
+
msgstr ""
|
945 |
+
"Si se selecciona, el cliente será forzado a introducir una dirección de "
|
946 |
+
"envío en PayPal al finalizar la compra."
|
947 |
+
|
948 |
+
#: includes/admin/wp_shopping_cart_menu_general_settings.php:254
|
949 |
+
msgid "Use PayPal Profile Based Shipping"
|
950 |
+
msgstr "Utiliza el envío de base del perfil de PayPal"
|
951 |
+
|
952 |
+
#: includes/admin/wp_shopping_cart_menu_general_settings.php:255
|
953 |
+
msgid "Check this if you want to use"
|
954 |
+
msgstr "Selecciona esta opción si deseas utilizar"
|
955 |
+
|
956 |
+
#: includes/admin/wp_shopping_cart_menu_general_settings.php:255
|
957 |
+
msgid "PayPal profile based shipping"
|
958 |
+
msgstr "Envío basado en el perfil de Paypal"
|
959 |
+
|
960 |
+
#: includes/admin/wp_shopping_cart_menu_general_settings.php:255
|
961 |
+
msgid ""
|
962 |
+
"Using this will ignore any other shipping options that you have specified in "
|
963 |
+
"this plugin."
|
964 |
+
msgstr ""
|
965 |
+
"Usando esto se ignorará cualquier otra opción de gastos de envío que hayas "
|
966 |
+
"especificado en este plugin."
|
967 |
+
|
968 |
+
#: includes/admin/wp_shopping_cart_menu_general_settings.php:259
|
969 |
+
msgid "Add to Cart button text or Image"
|
970 |
+
msgstr "Texto del botón de añadir al carrito o imagen"
|
971 |
+
|
972 |
+
#: includes/admin/wp_shopping_cart_menu_general_settings.php:261
|
973 |
+
msgid ""
|
974 |
+
"To use a customized image as the button simply enter the URL of the image "
|
975 |
+
"file."
|
976 |
+
msgstr ""
|
977 |
+
"Para utilizar una imagen personalizada como botón sólo escribe la dirección "
|
978 |
+
"de la URL del archivo de la imagen."
|
979 |
+
|
980 |
+
#: includes/admin/wp_shopping_cart_menu_general_settings.php:267
|
981 |
+
msgid "Return URL"
|
982 |
+
msgstr "URL de retorno"
|
983 |
+
|
984 |
+
#: includes/admin/wp_shopping_cart_menu_general_settings.php:268
|
985 |
+
msgid ""
|
986 |
+
"This is the URL the customer will be redirected to after a successful payment"
|
987 |
+
msgstr ""
|
988 |
+
"Esta es la URL que el cliente va a ser redirigido después de haber pagado "
|
989 |
+
"correctamente"
|
990 |
+
|
991 |
+
#: includes/admin/wp_shopping_cart_menu_general_settings.php:272
|
992 |
+
msgid "Cancel URL"
|
993 |
+
msgstr "Cancelar la URL"
|
994 |
+
|
995 |
+
#: includes/admin/wp_shopping_cart_menu_general_settings.php:273
|
996 |
+
msgid ""
|
997 |
+
"The customer will be sent to the above page if the cancel link is clicked on "
|
998 |
+
"the PayPal checkout page."
|
999 |
+
msgstr ""
|
1000 |
+
"El cliente será enviado a la página anterior, si haces clic en el enlace de "
|
1001 |
+
"cancelación en la página de pago de PayPal."
|
1002 |
+
|
1003 |
+
#: includes/admin/wp_shopping_cart_menu_general_settings.php:277
|
1004 |
+
msgid "Products Page URL"
|
1005 |
+
msgstr "URL de la página de productos"
|
1006 |
+
|
1007 |
+
#: includes/admin/wp_shopping_cart_menu_general_settings.php:278
|
1008 |
+
msgid ""
|
1009 |
+
"This is the URL of your products page if you have any. If used, the shopping "
|
1010 |
+
"cart widget will display a link to this page when cart is empty"
|
1011 |
+
msgstr ""
|
1012 |
+
"Esta es la URL de la página de productos si tienes alguna. Si se utiliza, el "
|
1013 |
+
"widget del carrito de compra mostrará un enlace a esta página cuando el "
|
1014 |
+
"carrito este vacío"
|
1015 |
+
|
1016 |
+
#: includes/admin/wp_shopping_cart_menu_general_settings.php:282
|
1017 |
+
msgid "Automatic redirection to checkout page"
|
1018 |
+
msgstr "Redirección automática a la página de finalizar la compra"
|
1019 |
+
|
1020 |
+
#: includes/admin/wp_shopping_cart_menu_general_settings.php:284
|
1021 |
+
msgid "Checkout Page URL"
|
1022 |
+
msgstr "URL de la página de finalizar la compra"
|
1023 |
+
|
1024 |
+
#: includes/admin/wp_shopping_cart_menu_general_settings.php:285
|
1025 |
+
msgid ""
|
1026 |
+
"If checked the visitor will be redirected to the Checkout page after a "
|
1027 |
+
"product is added to the cart. You must enter a URL in the Checkout Page URL "
|
1028 |
+
"field for this to work."
|
1029 |
+
msgstr ""
|
1030 |
+
"Si se selecciona el visitante será redirigido a la página de finalizar la "
|
1031 |
+
"compra después de añadir un producto al carrito. Debes introducir una URL en "
|
1032 |
+
"el campo de la URL de la página de finalizar la compra para que esto "
|
1033 |
+
"funcione."
|
1034 |
+
|
1035 |
+
#: includes/admin/wp_shopping_cart_menu_general_settings.php:289
|
1036 |
+
msgid "Open PayPal Checkout Page in a New Tab"
|
1037 |
+
msgstr "Abrir la página de finalizar la compra de PayPal en una nueva pestaña"
|
1038 |
+
|
1039 |
+
#: includes/admin/wp_shopping_cart_menu_general_settings.php:291
|
1040 |
+
msgid ""
|
1041 |
+
"If checked the PayPal checkout page will be opened in a new tab/window when "
|
1042 |
+
"the user clicks the checkout button."
|
1043 |
+
msgstr ""
|
1044 |
+
"Si se selecciona la página de finalizar la compra de PayPal se abrirá en una "
|
1045 |
+
"nueva pestaña/ventana cuando el usuario hace clic en el botón de pago."
|
1046 |
+
|
1047 |
+
#: includes/admin/wp_shopping_cart_menu_general_settings.php:295
|
1048 |
+
msgid "Reset Cart After Redirection to Return Page"
|
1049 |
+
msgstr ""
|
1050 |
+
"Restablecer el carrito después de la redirección a la página de retorno"
|
1051 |
+
|
1052 |
+
#: includes/admin/wp_shopping_cart_menu_general_settings.php:297
|
1053 |
+
msgid ""
|
1054 |
+
"If checked the shopping cart will be reset when the customer lands on the "
|
1055 |
+
"return URL (Thank You) page."
|
1056 |
+
msgstr ""
|
1057 |
+
"Si se selecciona, el carrito de compras se restablecerá cuando el cliente "
|
1058 |
+
"llegue a la página (Agradecimiento) de la URL de retorno."
|
1059 |
+
|
1060 |
+
#: includes/admin/wp_shopping_cart_menu_general_settings.php:304
|
1061 |
+
msgid "Hide Shopping Cart Image"
|
1062 |
+
msgstr "Ocultar Imagen del carrito de compras"
|
1063 |
+
|
1064 |
+
#: includes/admin/wp_shopping_cart_menu_general_settings.php:305
|
1065 |
+
msgid "If ticked the shopping cart image will not be shown."
|
1066 |
+
msgstr "Si se activa la imagen del carrito de compra no se mostrará."
|
1067 |
+
|
1068 |
+
#: includes/admin/wp_shopping_cart_menu_general_settings.php:311
|
1069 |
+
msgid "Custom Checkout Page Logo Image"
|
1070 |
+
msgstr "Imagen de logotipo de la página de finalizar la compra personalizada"
|
1071 |
+
|
1072 |
+
#: includes/admin/wp_shopping_cart_menu_general_settings.php:313
|
1073 |
+
msgid ""
|
1074 |
+
"Specify an image URL if you want to customize the paypal checkout page with "
|
1075 |
+
"a custom logo/image. The image URL must be a 'https' URL otherwise PayPal "
|
1076 |
+
"will ignore it."
|
1077 |
+
msgstr ""
|
1078 |
+
"Especifica una URL de imagen si deseas personalizar la página de finalizar "
|
1079 |
+
"la compra de PayPal con un logotipo/imagen personalizado. La URL de la "
|
1080 |
+
"imagen debe ser una URL \"https\"; de lo contrario, PayPal la ignorará."
|
1081 |
+
|
1082 |
+
#: includes/admin/wp_shopping_cart_menu_general_settings.php:319
|
1083 |
+
msgid "Use Strict PayPal Email Address Checking"
|
1084 |
+
msgstr ""
|
1085 |
+
"Utiliza la comprobación estricta de la dirección de correo electrónico de "
|
1086 |
+
"PayPal"
|
1087 |
+
|
1088 |
+
#: includes/admin/wp_shopping_cart_menu_general_settings.php:320
|
1089 |
+
msgid ""
|
1090 |
+
"If checked the script will check to make sure that the PayPal email address "
|
1091 |
+
"specified is the same as the account where the payment was deposited (Usage "
|
1092 |
+
"of PayPal Email Alias will fail too)."
|
1093 |
+
msgstr ""
|
1094 |
+
"Si se selecciona, la secuencia de comandos comprobará para asegurarse de que "
|
1095 |
+
"la dirección de correo electrónico de PayPal especificada sea la misma que "
|
1096 |
+
"la cuenta donde el pago fue depositado (El uso de alias de correo "
|
1097 |
+
"electrónico de PayPal también fallará)."
|
1098 |
+
|
1099 |
+
#: includes/admin/wp_shopping_cart_menu_general_settings.php:326
|
1100 |
+
msgid "Disable Nonce Check for Add to Cart"
|
1101 |
+
msgstr "Desactiva el chequeo de nonce para añadir al carrito"
|
1102 |
+
|
1103 |
+
#: includes/admin/wp_shopping_cart_menu_general_settings.php:328
|
1104 |
+
msgid ""
|
1105 |
+
"Check this option if you are using a caching solution on your site. This "
|
1106 |
+
"will bypass the nonce check on the add to cart buttons."
|
1107 |
+
msgstr ""
|
1108 |
+
"Selecciona esta opción si estas usando una solución de caché en tu sitio. "
|
1109 |
+
"Esto omitirá la verificación nonce en los botones para agregar al carrito."
|
1110 |
+
|
1111 |
+
#: includes/admin/wp_shopping_cart_menu_general_settings.php:334
|
1112 |
+
msgid "Customize the Note to Seller Text"
|
1113 |
+
msgstr "Personalizar la nota del texto del vendedor"
|
1114 |
+
|
1115 |
+
#: includes/admin/wp_shopping_cart_menu_general_settings.php:335
|
1116 |
+
msgid ""
|
1117 |
+
"PayPal has removed this feature. We have created an addon so you can still "
|
1118 |
+
"collect instructions from customers at the time of checking out. "
|
1119 |
+
msgstr ""
|
1120 |
+
"PayPal ha eliminado esta característica. Hemos creado una extensión para que "
|
1121 |
+
"puedas seguir recogiendo instrucciones de los clientes en el momento de "
|
1122 |
+
"realizar el pago. "
|
1123 |
+
|
1124 |
+
#: includes/admin/wp_shopping_cart_menu_general_settings.php:336
|
1125 |
+
msgid "View the addon details"
|
1126 |
+
msgstr "Ver los detalles de la extensión"
|
1127 |
+
|
1128 |
+
#: includes/admin/wp_shopping_cart_menu_general_settings.php:342
|
1129 |
+
msgid "Use WP Affiliate Platform"
|
1130 |
+
msgstr "Usar WP Affiliate Platform"
|
1131 |
+
|
1132 |
+
#: includes/admin/wp_shopping_cart_menu_general_settings.php:344
|
1133 |
+
msgid "Check this if using with the"
|
1134 |
+
msgstr "Compruebe esto si se utiliza con el"
|
1135 |
+
|
1136 |
+
#: includes/admin/wp_shopping_cart_menu_general_settings.php:344
|
1137 |
+
msgid ""
|
1138 |
+
"This plugin lets you run your own affiliate campaign/program and allows you "
|
1139 |
+
"to reward (pay commission) your affiliates for referred sales"
|
1140 |
+
msgstr ""
|
1141 |
+
"Este plugin te permite ejecutar tu propia campaña / programa de afiliados y "
|
1142 |
+
"te permite recompensar con (pagar comisiones) a tus afiliados por las ventas "
|
1143 |
+
"recomendadas"
|
1144 |
+
|
1145 |
+
#: includes/admin/wp_shopping_cart_menu_general_settings.php:350
|
1146 |
+
msgid "Testing and Debugging Settings"
|
1147 |
+
msgstr "Ajustes de pruebas y depuración"
|
1148 |
+
|
1149 |
+
#: includes/admin/wp_shopping_cart_menu_general_settings.php:356
|
1150 |
+
msgid "Enable Debug"
|
1151 |
+
msgstr "Activar depuración"
|
1152 |
+
|
1153 |
+
#: includes/admin/wp_shopping_cart_menu_general_settings.php:358
|
1154 |
+
msgid ""
|
1155 |
+
"If checked, debug output will be written to the log file. This is useful for "
|
1156 |
+
"troubleshooting post payment failures"
|
1157 |
+
msgstr ""
|
1158 |
+
"Si se selecciona, la salida de depuración se escribirá en el archivo de "
|
1159 |
+
"registro. Esto es útil para resolver los problemas de fracasos de pagos "
|
1160 |
+
"posteriores"
|
1161 |
+
|
1162 |
+
#: includes/admin/wp_shopping_cart_menu_general_settings.php:369
|
1163 |
+
msgid "Enable Sandbox Testing"
|
1164 |
+
msgstr "Activar la prueba de sandbox"
|
1165 |
+
|
1166 |
+
#: includes/admin/wp_shopping_cart_menu_general_settings.php:371
|
1167 |
+
msgid ""
|
1168 |
+
"Check this option if you want to do PayPal sandbox testing. You will need to "
|
1169 |
+
"create a PayPal sandbox account from PayPal Developer site"
|
1170 |
+
msgstr ""
|
1171 |
+
"Selecciona esta opción si vas a realizar pruebas de sandbox en PayPal. "
|
1172 |
+
"Tienes que abrir una cuenta de sandbox en PayPal desde el sitio PayPal "
|
1173 |
+
"Developer"
|
1174 |
+
|
1175 |
+
#: includes/admin/wp_shopping_cart_menu_general_settings.php:384
|
1176 |
+
msgid "Like the Simple WordPress Shopping Cart Plugin?"
|
1177 |
+
msgstr "¿Te gusta el plugin WordPress Simple PayPal Shopping Cart?"
|
1178 |
+
|
1179 |
+
#: includes/admin/wp_shopping_cart_menu_general_settings.php:384
|
1180 |
+
msgid "Give it a good rating"
|
1181 |
+
msgstr "Dale una buena valoración"
|
1182 |
+
|
1183 |
+
#: includes/admin/wp_shopping_cart_menu_main.php:13
|
1184 |
+
msgid "Simple Cart"
|
1185 |
+
msgstr "Carrito simple"
|
1186 |
+
|
1187 |
+
#: includes/admin/wp_shopping_cart_menu_main.php:15
|
1188 |
+
msgid "Coupons"
|
1189 |
+
msgstr "Cupones"
|
1190 |
+
|
1191 |
+
#: includes/admin/wp_shopping_cart_menu_main.php:16
|
1192 |
+
msgid "Tools"
|
1193 |
+
msgstr "Herramientas"
|
1194 |
+
|
1195 |
+
#: includes/admin/wp_shopping_cart_menu_main.php:23
|
1196 |
+
msgid "WP Paypal Shopping Cart"
|
1197 |
+
msgstr "WP Paypal Shopping Cart"
|
1198 |
+
|
1199 |
+
#: includes/admin/wp_shopping_cart_menu_main.php:23
|
1200 |
+
msgid "WP Shopping Cart"
|
1201 |
+
msgstr "WP Shopping Cart"
|
1202 |
+
|
1203 |
+
#: includes/admin/wp_shopping_cart_menu_main.php:40
|
1204 |
+
msgid "General Settings"
|
1205 |
+
msgstr "Ajustes generales"
|
1206 |
+
|
1207 |
+
#: includes/admin/wp_shopping_cart_menu_main.php:41
|
1208 |
+
msgid "Email Settings"
|
1209 |
+
msgstr "Ajustes de correo electrónico"
|
1210 |
+
|
1211 |
+
#: includes/admin/wp_shopping_cart_menu_main.php:42
|
1212 |
+
msgid "Advanced Settings"
|
1213 |
+
msgstr "Ajustes avanzados"
|
1214 |
+
|
1215 |
+
#: includes/admin/wp_shopping_cart_menu_main.php:45
|
1216 |
+
msgid "WP Paypal Shopping Cart Options"
|
1217 |
+
msgstr "Opciones de WP Paypal Shopping Cart"
|
1218 |
+
|
1219 |
+
#: includes/admin/wp_shopping_cart_menu_tools.php:9
|
1220 |
+
msgid "Simple Cart Tools"
|
1221 |
+
msgstr "Herramientas simples de carrito"
|
1222 |
+
|
1223 |
+
#: includes/admin/wp_shopping_cart_menu_tools.php:33
|
1224 |
+
msgid "Export Cart Orders Data"
|
1225 |
+
msgstr "Exportar pedidos de encargo del carrito"
|
1226 |
+
|
1227 |
+
#: includes/admin/wp_shopping_cart_menu_tools.php:38
|
1228 |
+
msgid ""
|
1229 |
+
"You can use this option to export all the orders data to a CSV/Excel file."
|
1230 |
+
msgstr ""
|
1231 |
+
"Puedes utilizar esta opción para exportar todos los datos de pedidos a un "
|
1232 |
+
"archivo CSV / Excel."
|
1233 |
+
|
1234 |
+
#: includes/admin/wp_shopping_cart_menu_tools.php:40
|
1235 |
+
msgid "Export Data"
|
1236 |
+
msgstr "Exportar datos"
|
1237 |
+
|
1238 |
+
#: includes/admin/wp_shopping_cart_tinymce.php:91
|
1239 |
+
msgid "Please enter product name"
|
1240 |
+
msgstr "Por favor, introduce el nombre del producto"
|
1241 |
+
|
1242 |
+
#: includes/admin/wp_shopping_cart_tinymce.php:99
|
1243 |
+
msgid "Please enter product price"
|
1244 |
+
msgstr "Por favor, introduce el precio del producto"
|
1245 |
+
|
1246 |
+
#: includes/admin/wp_shopping_cart_tinymce.php:148
|
1247 |
+
msgid "Simple Cart Documentation"
|
1248 |
+
msgstr "Documentación de Simple Cart"
|
1249 |
+
|
1250 |
+
#: includes/admin/wp_shopping_cart_tinymce.php:154
|
1251 |
+
msgid "Product Name"
|
1252 |
+
msgstr "Nombre del producto"
|
1253 |
+
|
1254 |
+
#: includes/admin/wp_shopping_cart_tinymce.php:160
|
1255 |
+
msgid "Example: My Great Product"
|
1256 |
+
msgstr "Ejemplo: Mi gran producto"
|
1257 |
+
|
1258 |
+
#: includes/admin/wp_shopping_cart_tinymce.php:171
|
1259 |
+
#: includes/admin/wp_shopping_cart_tinymce.php:182
|
1260 |
+
msgid "Example: 10 or 10.50"
|
1261 |
+
msgstr "Ejemplo: 10 o 10.50"
|
1262 |
+
|
1263 |
+
#: includes/admin/wp_shopping_cart_tinymce.php:176
|
1264 |
+
msgid "Shipping (Optional)"
|
1265 |
+
msgstr "Envío (Opcional)"
|
1266 |
+
|
1267 |
+
#: includes/admin/wp_shopping_cart_tinymce.php:187
|
1268 |
+
msgid "File URL (Optional)"
|
1269 |
+
msgstr "URL del archivo (Opcional)"
|
1270 |
+
|
1271 |
+
#: includes/admin/wp_shopping_cart_tinymce.php:193
|
1272 |
+
msgid "Example:"
|
1273 |
+
msgstr "Ejemplo:"
|
1274 |
+
|
1275 |
+
#: includes/admin/wp_shopping_cart_tinymce.php:199
|
1276 |
+
msgid "Product Variations (Optional)"
|
1277 |
+
msgstr "Variaciones del producto (opcional)"
|
1278 |
+
|
1279 |
+
#: includes/admin/wp_shopping_cart_tinymce.php:200
|
1280 |
+
msgid ""
|
1281 |
+
"Example: For a T-Shirt product you may want to use a variation with name "
|
1282 |
+
"\"Size\" and values as \"Small, Medium, Large\""
|
1283 |
+
msgstr ""
|
1284 |
+
"Ejemplo: Para un producto de camiseta es posible que desees utilizar una "
|
1285 |
+
"variación con el nombre \"Tamaño\" y valores como \"pequeño, mediano, grande"
|
1286 |
+
"\""
|
1287 |
+
|
1288 |
+
#: includes/admin/wp_shopping_cart_tinymce.php:205
|
1289 |
+
msgid "Variation 1: Name"
|
1290 |
+
msgstr "Variación 1: Nombre"
|
1291 |
+
|
1292 |
+
#: includes/admin/wp_shopping_cart_tinymce.php:210
|
1293 |
+
#: includes/admin/wp_shopping_cart_tinymce.php:221
|
1294 |
+
#: includes/admin/wp_shopping_cart_tinymce.php:232
|
1295 |
+
msgid "Values"
|
1296 |
+
msgstr "Valores"
|
1297 |
+
|
1298 |
+
#: includes/admin/wp_shopping_cart_tinymce.php:216
|
1299 |
+
msgid "Variation 2: Name"
|
1300 |
+
msgstr "Variación 2: Nombre"
|
1301 |
+
|
1302 |
+
#: includes/admin/wp_shopping_cart_tinymce.php:227
|
1303 |
+
msgid "Variation 3: Name"
|
1304 |
+
msgstr "Variación 3: Nombre"
|
1305 |
+
|
1306 |
+
#: includes/admin/wp_shopping_cart_tinymce.php:243
|
1307 |
+
msgid "Insert"
|
1308 |
+
msgstr "Insertar"
|
1309 |
+
|
1310 |
+
#: includes/admin/wp_shopping_cart_tinymce.php:250
|
1311 |
+
msgid "Cancel"
|
1312 |
+
msgstr "Cancelar"
|
1313 |
+
|
1314 |
+
msgid "Item"
|
1315 |
+
msgstr "Artículo"
|
1316 |
+
|
1317 |
+
msgid "Items"
|
1318 |
+
msgstr "Artículos"
|
1319 |
+
|
1320 |
+
#~ msgid "Add-ons"
|
1321 |
+
#~ msgstr "Extensiones"
|
1322 |
+
|
1323 |
+
#~ msgid "View Details"
|
1324 |
+
#~ msgstr "Ver detalles"
|
1325 |
+
|
1326 |
+
#~ msgid ""
|
1327 |
+
#~ "This plugin allows you to award commission to affiliates for referring "
|
1328 |
+
#~ "customers to your site."
|
1329 |
+
#~ msgstr ""
|
1330 |
+
#~ "Este plugin te permite otorgar comisiones a los afiliados por remitir "
|
1331 |
+
#~ "clientes a tu sitio."
|
1332 |
+
|
1333 |
+
#~ msgid "WP Affiliate Plugin"
|
1334 |
+
#~ msgstr "WP Affiliate Plugin"
|
1335 |
+
|
1336 |
+
#~ msgid ""
|
1337 |
+
#~ "This addon allows you to add users to your Mailchimp list after they "
|
1338 |
+
#~ "purchase an item."
|
1339 |
+
#~ msgstr ""
|
1340 |
+
#~ "Este plugin te permite añadir usuarios a tu lista de Mailchimp después de "
|
1341 |
+
#~ "comprar un artículo."
|
1342 |
+
|
1343 |
+
#~ msgid "Mailchimp Integration"
|
1344 |
+
#~ msgstr "Integración de Mailchimp"
|
1345 |
+
|
1346 |
+
#~ msgid ""
|
1347 |
+
#~ "This addon allows you to collect customer input in the shopping cart at "
|
1348 |
+
#~ "the time of checkout."
|
1349 |
+
#~ msgstr ""
|
1350 |
+
#~ "Este plugin te permite recopilar información del cliente en el carrito de "
|
1351 |
+
#~ "compras cuando vas a finalizar la compra."
|
1352 |
+
|
1353 |
+
#~ msgid "Collect Customer Input"
|
1354 |
+
#~ msgstr "Recopilar información del cliente"
|
1355 |
+
|
1356 |
+
#~ msgid "Simple Cart Add-ons"
|
1357 |
+
#~ msgstr "Extensiones de Simple Cart"
|
1358 |
+
|
1359 |
+
#~ msgid " Example: Short, Full"
|
1360 |
+
#~ msgstr "Ejemplo: corto, completo"
|
1361 |
+
|
1362 |
+
#~ msgid " Example: Blue, Red, Black, White"
|
1363 |
+
#~ msgstr "Ejemplo: azul, rojo, negro, blanco"
|
1364 |
+
|
1365 |
+
#~ msgid " Example: Small, Medium, Large"
|
1366 |
+
#~ msgstr "Ejemplo: pequeño, mediano, grande"
|
1367 |
+
|
1368 |
+
#~ msgid "Tips and Tricks HQ, Ruhul Amin, mra13"
|
1369 |
+
#~ msgstr "Tips and Tricks HQ, Ruhul Amin, mra13"
|
1370 |
+
|
1371 |
+
#~ msgid "https://www.tipsandtricks-hq.com/"
|
1372 |
+
#~ msgstr "https://www.tipsandtricks-hq.com/"
|
1373 |
+
|
1374 |
+
#~ msgid ""
|
1375 |
+
#~ "Simple WordPress Shopping Cart Plugin, very easy to use and great for "
|
1376 |
+
#~ "selling products and services from your blog!"
|
1377 |
+
#~ msgstr ""
|
1378 |
+
#~ "¡WordPress Simple PayPal Shopping Cart es muy fácil de utilizar y "
|
1379 |
+
#~ "excelente para vender productos y servicios desde tu blog!"
|
1380 |
+
|
1381 |
+
#~ msgid ""
|
1382 |
+
#~ "https://www.tipsandtricks-hq.com/wordpress-simple-paypal-shopping-cart-"
|
1383 |
+
#~ "plugin-768"
|
1384 |
+
#~ msgstr ""
|
1385 |
+
#~ "https://www.tipsandtricks-hq.com/wordpress-simple-paypal-shopping-cart-"
|
1386 |
+
#~ "plugin-768"
|
1387 |
+
|
1388 |
+
#~ msgid "WP Simple Paypal Shopping cart"
|
1389 |
+
#~ msgstr "WordPress Simple PayPal Shopping Cart"
|
paypal.php
CHANGED
@@ -21,8 +21,16 @@ class paypal_ipn_handler {
|
|
21 |
$this->ipn_response = '';
|
22 |
}
|
23 |
|
|
|
|
|
|
|
|
|
|
|
24 |
function validate_and_dispatch_product() {
|
25 |
//Check Product Name, Price, Currency, Receiver email
|
|
|
|
|
|
|
26 |
//Decode the custom field before sanitizing.
|
27 |
$custom_field_value = urldecode( $this->ipn_data[ 'custom' ] ); //urldecode is harmless
|
28 |
$this->ipn_data[ 'custom' ] = $custom_field_value;
|
@@ -146,12 +154,12 @@ class paypal_ipn_handler {
|
|
146 |
|
147 |
//*** Do security checks ***
|
148 |
if ( empty( $post_id ) ) {
|
149 |
-
$this->debug_log( 'Order ID ' . $post_id . ' does not exist in the IPN notification. This request will not be processed.', false );
|
150 |
return;
|
151 |
}
|
152 |
|
153 |
if ( ! get_post_status( $post_id ) ) {
|
154 |
-
$this->debug_log( 'Order ID ' . $post_id . ' does not exist in the database. This is not a Simple PayPal Shopping Cart order', false );
|
155 |
return;
|
156 |
}
|
157 |
|
@@ -549,7 +557,7 @@ class paypal_ipn_handler {
|
|
549 |
|
550 |
// Start of IPN handling (script execution)
|
551 |
function wpc_handle_paypal_ipn() {
|
552 |
-
$debug_log = "ipn_handle_debug.txt"; // Debug log file name
|
553 |
$ipn_handler_instance = new paypal_ipn_handler();
|
554 |
|
555 |
$debug_enabled = false;
|
21 |
$this->ipn_response = '';
|
22 |
}
|
23 |
|
24 |
+
/*
|
25 |
+
* This function gets called for both the following scenarios.
|
26 |
+
* 1) Standard PayPal checkout IPN
|
27 |
+
* 2) Smart checkout (from the wpspsc_process_pp_smart_checkout() function).
|
28 |
+
*/
|
29 |
function validate_and_dispatch_product() {
|
30 |
//Check Product Name, Price, Currency, Receiver email
|
31 |
+
|
32 |
+
$this->debug_log( 'Executing validate_and_dispatch_product()', true );
|
33 |
+
|
34 |
//Decode the custom field before sanitizing.
|
35 |
$custom_field_value = urldecode( $this->ipn_data[ 'custom' ] ); //urldecode is harmless
|
36 |
$this->ipn_data[ 'custom' ] = $custom_field_value;
|
154 |
|
155 |
//*** Do security checks ***
|
156 |
if ( empty( $post_id ) ) {
|
157 |
+
$this->debug_log( 'Order ID: ' . $post_id . ', does not exist in the IPN notification. This request will not be processed.', false );
|
158 |
return;
|
159 |
}
|
160 |
|
161 |
if ( ! get_post_status( $post_id ) ) {
|
162 |
+
$this->debug_log( 'Order ID: ' . $post_id . ', does not exist in the database. This is not a Simple PayPal Shopping Cart order', false );
|
163 |
return;
|
164 |
}
|
165 |
|
557 |
|
558 |
// Start of IPN handling (script execution)
|
559 |
function wpc_handle_paypal_ipn() {
|
560 |
+
$debug_log = "ipn_handle_debug.txt"; // Debug log file name
|
561 |
$ipn_handler_instance = new paypal_ipn_handler();
|
562 |
|
563 |
$debug_enabled = false;
|
readme.txt
CHANGED
@@ -2,9 +2,9 @@
|
|
2 |
Contributors: Tips and Tricks HQ, Ruhul Amin, wptipsntricks, mbrsolution, mra13
|
3 |
Donate link: https://www.tipsandtricks-hq.com
|
4 |
Tags: cart, shopping cart, WordPress shopping cart, Paypal shopping cart, sell, selling, sell products, online shop, shop, e-commerce, wordpress ecommerce, wordpress store, store, PayPal cart widget, sell digital products, sell service, digital downloads, paypal, paypal cart, e-shop, compact cart, coupon, discount
|
5 |
-
Requires at least:
|
6 |
-
Tested up to: 5.
|
7 |
-
Stable tag: 4.5.
|
8 |
License: GPLv2 or later
|
9 |
|
10 |
Very easy to use Simple WordPress PayPal Shopping Cart Plugin. Great for selling products online in one click from your WordPress site.
|
@@ -203,6 +203,22 @@ None
|
|
203 |
|
204 |
== Changelog ==
|
205 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
206 |
= 4.5.0 =
|
207 |
- Added a new action hook to allow affiliate plugin integration with the PayPal smart checkout option.
|
208 |
- The compact cart shortcode output can be translated fully.
|
2 |
Contributors: Tips and Tricks HQ, Ruhul Amin, wptipsntricks, mbrsolution, mra13
|
3 |
Donate link: https://www.tipsandtricks-hq.com
|
4 |
Tags: cart, shopping cart, WordPress shopping cart, Paypal shopping cart, sell, selling, sell products, online shop, shop, e-commerce, wordpress ecommerce, wordpress store, store, PayPal cart widget, sell digital products, sell service, digital downloads, paypal, paypal cart, e-shop, compact cart, coupon, discount
|
5 |
+
Requires at least: 5.0
|
6 |
+
Tested up to: 5.8
|
7 |
+
Stable tag: 4.5.4
|
8 |
License: GPLv2 or later
|
9 |
|
10 |
Very easy to use Simple WordPress PayPal Shopping Cart Plugin. Great for selling products online in one click from your WordPress site.
|
203 |
|
204 |
== Changelog ==
|
205 |
|
206 |
+
= 4.5.4 =
|
207 |
+
- Fixed an issue with the paypal smart checkout option sometimes giving an error "Order ID does not exist".
|
208 |
+
|
209 |
+
= 4.5.3 =
|
210 |
+
- WP 5.6.1 compatibility update.
|
211 |
+
|
212 |
+
= 4.5.2 =
|
213 |
+
- JQuery UI CSS library is now included inside the plugin.
|
214 |
+
- Added more input sanitization.
|
215 |
+
- Added an option in the settings to disable the price check validation. Some admins prefer to have this check turned off.
|
216 |
+
|
217 |
+
= 4.5.1 =
|
218 |
+
- If your site uses caching, empty the cache after you upgrade the plugin (to delete stale cached data).
|
219 |
+
- Improved the price hash compare function. Thanks to @XshIsMe.
|
220 |
+
- Added Spanish language translation files.
|
221 |
+
|
222 |
= 4.5.0 =
|
223 |
- Added a new action hook to allow affiliate plugin integration with the PayPal smart checkout option.
|
224 |
- The compact cart shortcode output can be translated fully.
|
wp_shopping_cart.php
CHANGED
@@ -2,7 +2,7 @@
|
|
2 |
|
3 |
/*
|
4 |
Plugin Name: WP Simple Paypal Shopping cart
|
5 |
-
Version: 4.5.
|
6 |
Plugin URI: https://www.tipsandtricks-hq.com/wordpress-simple-paypal-shopping-cart-plugin-768
|
7 |
Author: Tips and Tricks HQ, Ruhul Amin, mra13
|
8 |
Author URI: https://www.tipsandtricks-hq.com/
|
@@ -17,7 +17,7 @@ if ( ! defined( 'ABSPATH' ) ) {//Exit if accessed directly
|
|
17 |
exit;
|
18 |
}
|
19 |
|
20 |
-
define( 'WP_CART_VERSION', '4.5.
|
21 |
define( 'WP_CART_FOLDER', dirname( plugin_basename( __FILE__ ) ) );
|
22 |
define( 'WP_CART_PATH', plugin_dir_path( __FILE__ ) );
|
23 |
define( 'WP_CART_URL', plugins_url( '', __FILE__ ) );
|
@@ -36,20 +36,6 @@ $locale = apply_filters( 'plugin_locale', get_locale(), 'wordpress-simple-paypal
|
|
36 |
load_textdomain( 'wordpress-simple-paypal-shopping-cart', WP_LANG_DIR . "/wordpress-simple-paypal-shopping-cart-$locale.mo" );
|
37 |
load_plugin_textdomain( 'wordpress-simple-paypal-shopping-cart', false, WP_CART_FOLDER . '/languages' );
|
38 |
|
39 |
-
//PHP session
|
40 |
-
if ( ! is_admin() || wp_doing_ajax() ) {
|
41 |
-
//Only use session for front-end and ajax.
|
42 |
-
if ( version_compare( PHP_VERSION, '5.4.0' ) >= 0 ) {
|
43 |
-
if ( session_status() == PHP_SESSION_NONE ) {
|
44 |
-
session_start();
|
45 |
-
}
|
46 |
-
} else {
|
47 |
-
if ( session_id() == '' ) {
|
48 |
-
session_start();
|
49 |
-
}
|
50 |
-
}
|
51 |
-
}
|
52 |
-
|
53 |
include_once('wp_shopping_cart_utility_functions.php');
|
54 |
include_once('wp_shopping_cart_shortcodes.php');
|
55 |
include_once('wp_shopping_cart_misc_functions.php');
|
@@ -59,6 +45,8 @@ include_once('includes/wspsc-cart-functions.php');
|
|
59 |
include_once('includes/admin/wp_shopping_cart_menu_main.php');
|
60 |
include_once('includes/admin/wp_shopping_cart_tinymce.php');
|
61 |
|
|
|
|
|
62 |
function always_show_cart_handler( $atts ) {
|
63 |
return print_wp_shopping_cart( $atts );
|
64 |
}
|
@@ -107,6 +95,11 @@ function wpspsc_process_pp_smart_checkout() {
|
|
107 |
}
|
108 |
if ( empty( $data ) ) {
|
109 |
wp_send_json( array( 'success' => false, 'errMsg' => __( 'Empty payment data received.', "wordpress-simple-paypal-shopping-cart" ) ) );
|
|
|
|
|
|
|
|
|
|
|
110 |
}
|
111 |
|
112 |
include_once('paypal.php');
|
@@ -191,15 +184,26 @@ function wpspc_cart_actions_handler() {
|
|
191 |
$post_stamp_pdf = isset( $_POST[ 'stamp_pdf' ] ) ? sanitize_text_field( $_POST[ 'stamp_pdf' ] ) : '';
|
192 |
$post_encoded_file_val = isset( $_POST[ 'file_url' ] ) ? sanitize_text_field( $_POST[ 'file_url' ] ) : '';
|
193 |
$post_thumbnail = isset( $_POST[ 'thumbnail' ] ) ? esc_url_raw( sanitize_text_field( $_POST[ 'thumbnail' ] ) ) : '';
|
|
|
|
|
194 |
//Sanitize and validate price
|
195 |
if ( isset( $_POST[ 'price' ] ) ) {
|
196 |
$price = sanitize_text_field( $_POST[ 'price' ] );
|
197 |
$hash_once_p = sanitize_text_field( $_POST[ 'hash_one' ] );
|
198 |
$p_key = get_option( 'wspsc_private_key_one' );
|
199 |
-
$hash_one_cm = md5( $p_key . '|' . $price );
|
200 |
-
|
201 |
-
|
202 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
203 |
$price = str_replace( WP_CART_CURRENCY_SYMBOL, "", $price ); //Remove any currency symbol from the price.
|
204 |
//Check that the price field is numeric.
|
205 |
if ( ! is_numeric( $price ) ) {//Price validation failed
|
@@ -215,10 +219,16 @@ function wpspc_cart_actions_handler() {
|
|
215 |
$shipping = sanitize_text_field( $_POST[ 'shipping' ] );
|
216 |
$hash_two_val = sanitize_text_field( $_POST[ 'hash_two' ] );
|
217 |
$p_key = get_option( 'wspsc_private_key_one' );
|
218 |
-
$hash_two_cm = md5( $p_key . '|' . $shipping );
|
219 |
-
|
220 |
-
|
221 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
222 |
|
223 |
$shipping = str_replace( WP_CART_CURRENCY_SYMBOL, "", $shipping ); //Remove any currency symbol from the price.
|
224 |
//Check that the shipping price field is numeric.
|
@@ -395,7 +405,7 @@ function wp_cart_add_custom_field() {
|
|
395 |
return $output;
|
396 |
}
|
397 |
|
398 |
-
function
|
399 |
$addcart = get_option( 'addToCartButtonName' );
|
400 |
if ( ! $addcart || ($addcart == '') )
|
401 |
$addcart = __( "Add to Cart", "wordpress-simple-paypal-shopping-cart" );
|
@@ -499,10 +509,10 @@ function print_wp_cart_button_new( $content ) {
|
|
499 |
$p_key = uniqid( '', true );
|
500 |
update_option( 'wspsc_private_key_one', $p_key );
|
501 |
}
|
502 |
-
$hash_one = md5( $p_key . '|' . $pieces[ '1' ] ); //Price hash
|
503 |
$replacement .= '<input type="hidden" name="hash_one" value="' . $hash_one . '" />';
|
504 |
|
505 |
-
$hash_two = md5( $p_key . '|' . $pieces[ '2' ] ); //Shipping hash
|
506 |
$replacement .= '<input type="hidden" name="hash_two" value="' . $hash_two . '" />';
|
507 |
|
508 |
$replacement .= '<input type="hidden" name="cartLink" value="' . esc_url( cart_current_page_url() ) . '" />';
|
@@ -636,14 +646,14 @@ function print_wp_cart_button_for_product( $name, $price, $shipping = 0, $var1 =
|
|
636 |
$p_key = uniqid( '', true );
|
637 |
update_option( 'wspsc_private_key_one', $p_key );
|
638 |
}
|
639 |
-
$hash_one
|
640 |
-
$replacement
|
641 |
|
642 |
-
$hash_two
|
643 |
-
$replacement
|
644 |
|
645 |
-
$replacement
|
646 |
-
$replacement
|
647 |
return $replacement;
|
648 |
}
|
649 |
|
@@ -734,7 +744,8 @@ class WP_PayPal_Cart_Widget extends WP_Widget {
|
|
734 |
|
735 |
function wspsc_admin_side_enqueue_scripts() {
|
736 |
if ( isset( $_GET[ 'page' ] ) && $_GET[ 'page' ] == 'wspsc-discounts' ) { //simple paypal shopping cart discount page
|
737 |
-
wp_enqueue_style( 'jquery-ui-style', '
|
|
|
738 |
wp_register_script( 'wpspsc-admin', WP_CART_URL . '/lib/wpspsc_admin_side.js', array( 'jquery', 'jquery-ui-datepicker' ) );
|
739 |
wp_enqueue_script( 'wpspsc-admin' );
|
740 |
}
|
@@ -770,7 +781,7 @@ add_action( 'widgets_init', 'wp_paypal_shopping_cart_load_widgets' );
|
|
770 |
add_action( 'init', 'wp_cart_init_handler' );
|
771 |
add_action( 'admin_init', 'wp_cart_admin_init_handler' );
|
772 |
|
773 |
-
add_filter( 'the_content', '
|
774 |
add_filter( 'the_content', 'shopping_cart_show' );
|
775 |
|
776 |
if ( ! is_admin() ) {
|
2 |
|
3 |
/*
|
4 |
Plugin Name: WP Simple Paypal Shopping cart
|
5 |
+
Version: 4.5.4
|
6 |
Plugin URI: https://www.tipsandtricks-hq.com/wordpress-simple-paypal-shopping-cart-plugin-768
|
7 |
Author: Tips and Tricks HQ, Ruhul Amin, mra13
|
8 |
Author URI: https://www.tipsandtricks-hq.com/
|
17 |
exit;
|
18 |
}
|
19 |
|
20 |
+
define( 'WP_CART_VERSION', '4.5.4' );
|
21 |
define( 'WP_CART_FOLDER', dirname( plugin_basename( __FILE__ ) ) );
|
22 |
define( 'WP_CART_PATH', plugin_dir_path( __FILE__ ) );
|
23 |
define( 'WP_CART_URL', plugins_url( '', __FILE__ ) );
|
36 |
load_textdomain( 'wordpress-simple-paypal-shopping-cart', WP_LANG_DIR . "/wordpress-simple-paypal-shopping-cart-$locale.mo" );
|
37 |
load_plugin_textdomain( 'wordpress-simple-paypal-shopping-cart', false, WP_CART_FOLDER . '/languages' );
|
38 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
39 |
include_once('wp_shopping_cart_utility_functions.php');
|
40 |
include_once('wp_shopping_cart_shortcodes.php');
|
41 |
include_once('wp_shopping_cart_misc_functions.php');
|
45 |
include_once('includes/admin/wp_shopping_cart_menu_main.php');
|
46 |
include_once('includes/admin/wp_shopping_cart_tinymce.php');
|
47 |
|
48 |
+
wspsc_check_and_start_session();
|
49 |
+
|
50 |
function always_show_cart_handler( $atts ) {
|
51 |
return print_wp_shopping_cart( $atts );
|
52 |
}
|
95 |
}
|
96 |
if ( empty( $data ) ) {
|
97 |
wp_send_json( array( 'success' => false, 'errMsg' => __( 'Empty payment data received.', "wordpress-simple-paypal-shopping-cart" ) ) );
|
98 |
+
}
|
99 |
+
|
100 |
+
//Start session
|
101 |
+
if ( session_status() == PHP_SESSION_NONE ) {
|
102 |
+
session_start();
|
103 |
}
|
104 |
|
105 |
include_once('paypal.php');
|
184 |
$post_stamp_pdf = isset( $_POST[ 'stamp_pdf' ] ) ? sanitize_text_field( $_POST[ 'stamp_pdf' ] ) : '';
|
185 |
$post_encoded_file_val = isset( $_POST[ 'file_url' ] ) ? sanitize_text_field( $_POST[ 'file_url' ] ) : '';
|
186 |
$post_thumbnail = isset( $_POST[ 'thumbnail' ] ) ? esc_url_raw( sanitize_text_field( $_POST[ 'thumbnail' ] ) ) : '';
|
187 |
+
$post_wspsc_tmp_name = isset( $_POST[ 'product_tmp' ] ) ? stripslashes( sanitize_text_field( $_POST[ 'product_tmp' ] ) ) : '';
|
188 |
+
|
189 |
//Sanitize and validate price
|
190 |
if ( isset( $_POST[ 'price' ] ) ) {
|
191 |
$price = sanitize_text_field( $_POST[ 'price' ] );
|
192 |
$hash_once_p = sanitize_text_field( $_POST[ 'hash_one' ] );
|
193 |
$p_key = get_option( 'wspsc_private_key_one' );
|
194 |
+
$hash_one_cm = md5( $p_key . '|' . $price . '|' . $post_wspsc_tmp_name );
|
195 |
+
|
196 |
+
if ( get_option( 'wspsc_disable_price_check_add_cart' ) ) {
|
197 |
+
//This site has disabled the price check for add cart button.
|
198 |
+
//Do not perform the price check for this site since the site admin has indicated that he does not want to do it on this site.
|
199 |
+
} else {
|
200 |
+
if ( $hash_once_p != $hash_one_cm ) {//Security check failed. Price field has been tampered. Fail validation.
|
201 |
+
$error_msg = '<p>Error! The price field may have been tampered. Security check failed.</p>';
|
202 |
+
$error_msg .= '<p>If this site uses any caching, empty the cache then try again.</p>';
|
203 |
+
wp_die( $error_msg );
|
204 |
+
}
|
205 |
+
}
|
206 |
+
|
207 |
$price = str_replace( WP_CART_CURRENCY_SYMBOL, "", $price ); //Remove any currency symbol from the price.
|
208 |
//Check that the price field is numeric.
|
209 |
if ( ! is_numeric( $price ) ) {//Price validation failed
|
219 |
$shipping = sanitize_text_field( $_POST[ 'shipping' ] );
|
220 |
$hash_two_val = sanitize_text_field( $_POST[ 'hash_two' ] );
|
221 |
$p_key = get_option( 'wspsc_private_key_one' );
|
222 |
+
$hash_two_cm = md5( $p_key . '|' . $shipping . '|' . $post_wspsc_tmp_name );
|
223 |
+
|
224 |
+
if ( get_option( 'wspsc_disable_price_check_add_cart' ) ) {
|
225 |
+
//This site has disabled the price check for add cart button.
|
226 |
+
//Do not perform the price check for this site since the site admin has indicated that he does not want to do it on this site.
|
227 |
+
} else {
|
228 |
+
if ( $hash_two_val != $hash_two_cm ) {//Shipping validation failed
|
229 |
+
wp_die( 'Error! The shipping price validation failed.' );
|
230 |
+
}
|
231 |
+
}
|
232 |
|
233 |
$shipping = str_replace( WP_CART_CURRENCY_SYMBOL, "", $shipping ); //Remove any currency symbol from the price.
|
234 |
//Check that the shipping price field is numeric.
|
405 |
return $output;
|
406 |
}
|
407 |
|
408 |
+
function print_wp_cart_button_deprecated( $content ) {
|
409 |
$addcart = get_option( 'addToCartButtonName' );
|
410 |
if ( ! $addcart || ($addcart == '') )
|
411 |
$addcart = __( "Add to Cart", "wordpress-simple-paypal-shopping-cart" );
|
509 |
$p_key = uniqid( '', true );
|
510 |
update_option( 'wspsc_private_key_one', $p_key );
|
511 |
}
|
512 |
+
$hash_one = md5( $p_key . '|' . $pieces[ '1' ] . '|' . $pieces[ '0' ] ); //Price hash
|
513 |
$replacement .= '<input type="hidden" name="hash_one" value="' . $hash_one . '" />';
|
514 |
|
515 |
+
$hash_two = md5( $p_key . '|' . $pieces[ '2' ] . '|' . $pieces[ '0' ] ); //Shipping hash
|
516 |
$replacement .= '<input type="hidden" name="hash_two" value="' . $hash_two . '" />';
|
517 |
|
518 |
$replacement .= '<input type="hidden" name="cartLink" value="' . esc_url( cart_current_page_url() ) . '" />';
|
646 |
$p_key = uniqid( '', true );
|
647 |
update_option( 'wspsc_private_key_one', $p_key );
|
648 |
}
|
649 |
+
$hash_one = md5( $p_key . '|' . $price . '|' . $name );
|
650 |
+
$replacement .= '<input type="hidden" name="hash_one" value="' . $hash_one . '" />';
|
651 |
|
652 |
+
$hash_two = md5( $p_key . '|' . $shipping . '|' . $name );
|
653 |
+
$replacement .= '<input type="hidden" name="hash_two" value="' . $hash_two . '" />';
|
654 |
|
655 |
+
$replacement .= '</form>';
|
656 |
+
$replacement .= '</div>';
|
657 |
return $replacement;
|
658 |
}
|
659 |
|
744 |
|
745 |
function wspsc_admin_side_enqueue_scripts() {
|
746 |
if ( isset( $_GET[ 'page' ] ) && $_GET[ 'page' ] == 'wspsc-discounts' ) { //simple paypal shopping cart discount page
|
747 |
+
wp_enqueue_style( 'jquery-ui-style', WP_CART_URL . '/assets/jquery.ui.min.css', array(), WP_CART_VERSION );
|
748 |
+
|
749 |
wp_register_script( 'wpspsc-admin', WP_CART_URL . '/lib/wpspsc_admin_side.js', array( 'jquery', 'jquery-ui-datepicker' ) );
|
750 |
wp_enqueue_script( 'wpspsc-admin' );
|
751 |
}
|
781 |
add_action( 'init', 'wp_cart_init_handler' );
|
782 |
add_action( 'admin_init', 'wp_cart_admin_init_handler' );
|
783 |
|
784 |
+
add_filter( 'the_content', 'print_wp_cart_button_deprecated', 11 );
|
785 |
add_filter( 'the_content', 'shopping_cart_show' );
|
786 |
|
787 |
if ( ! is_admin() ) {
|
wp_shopping_cart_misc_functions.php
CHANGED
@@ -22,7 +22,7 @@ function wp_cart_init_handler()
|
|
22 |
}
|
23 |
if (is_admin()) {
|
24 |
add_action('admin_init', 'wp_cart_add_tinymce_button');
|
25 |
-
|
26 |
//TODO - can be removed at a later version.
|
27 |
if (isset($_GET['page']) && $_GET['page'] == 'wordpress-paypal-shopping-cart') {
|
28 |
//let's redirect old settings page to new
|
@@ -156,7 +156,7 @@ function wpspc_run_activation()
|
|
156 |
add_option('cart_return_from_paypal_url', get_bloginfo('wpurl'));
|
157 |
|
158 |
//Add Confirmation Email Settings
|
159 |
-
add_option("wpspc_send_buyer_email", 1);
|
160 |
$from_email_address = get_bloginfo('name')." <sales@your-domain.com>";
|
161 |
add_option('wpspc_buyer_from_email', $from_email_address);
|
162 |
$buyer_email_subj = "Thank you for the purchase";
|
@@ -165,18 +165,18 @@ function wpspc_run_activation()
|
|
165 |
$email_body .= "\nThank you for your purchase! You ordered the following item(s):\n";
|
166 |
$email_body .= "\n{product_details}";
|
167 |
add_option('wpspc_buyer_email_body', $email_body);
|
168 |
-
|
169 |
$notify_email_address = get_bloginfo('admin_email');
|
170 |
add_option('wpspc_notify_email_address', $notify_email_address);
|
171 |
$seller_email_subj = "Notification of product sale";
|
172 |
add_option('wpspc_seller_email_subj', $seller_email_subj);
|
173 |
$seller_email_body = "Dear Seller\n";
|
174 |
$seller_email_body .= "\nThis mail is to notify you of a product sale.\n";
|
175 |
-
$seller_email_body .= "\n{product_details}";
|
176 |
$seller_email_body .= "\n\nThe sale was made to {first_name} {last_name} ({payer_email})";
|
177 |
$seller_email_body .= "\n\nThanks";
|
178 |
add_option('wpspc_seller_email_body', $seller_email_body);
|
179 |
-
|
180 |
//Generate and save a private key for this site
|
181 |
$unique_id = uniqid('', true);
|
182 |
add_option('wspsc_private_key_one',$unique_id);
|
@@ -186,8 +186,13 @@ function wpspsc_settings_menu_footer()
|
|
186 |
{
|
187 |
?>
|
188 |
<div class="wspsc_yellow_box">
|
189 |
-
<p
|
190 |
-
|
|
|
|
|
|
|
|
|
|
|
191 |
</div>
|
192 |
<?php
|
193 |
}
|
22 |
}
|
23 |
if (is_admin()) {
|
24 |
add_action('admin_init', 'wp_cart_add_tinymce_button');
|
25 |
+
|
26 |
//TODO - can be removed at a later version.
|
27 |
if (isset($_GET['page']) && $_GET['page'] == 'wordpress-paypal-shopping-cart') {
|
28 |
//let's redirect old settings page to new
|
156 |
add_option('cart_return_from_paypal_url', get_bloginfo('wpurl'));
|
157 |
|
158 |
//Add Confirmation Email Settings
|
159 |
+
add_option("wpspc_send_buyer_email", 1);
|
160 |
$from_email_address = get_bloginfo('name')." <sales@your-domain.com>";
|
161 |
add_option('wpspc_buyer_from_email', $from_email_address);
|
162 |
$buyer_email_subj = "Thank you for the purchase";
|
165 |
$email_body .= "\nThank you for your purchase! You ordered the following item(s):\n";
|
166 |
$email_body .= "\n{product_details}";
|
167 |
add_option('wpspc_buyer_email_body', $email_body);
|
168 |
+
|
169 |
$notify_email_address = get_bloginfo('admin_email');
|
170 |
add_option('wpspc_notify_email_address', $notify_email_address);
|
171 |
$seller_email_subj = "Notification of product sale";
|
172 |
add_option('wpspc_seller_email_subj', $seller_email_subj);
|
173 |
$seller_email_body = "Dear Seller\n";
|
174 |
$seller_email_body .= "\nThis mail is to notify you of a product sale.\n";
|
175 |
+
$seller_email_body .= "\n{product_details}";
|
176 |
$seller_email_body .= "\n\nThe sale was made to {first_name} {last_name} ({payer_email})";
|
177 |
$seller_email_body .= "\n\nThanks";
|
178 |
add_option('wpspc_seller_email_body', $seller_email_body);
|
179 |
+
|
180 |
//Generate and save a private key for this site
|
181 |
$unique_id = uniqid('', true);
|
182 |
add_option('wspsc_private_key_one',$unique_id);
|
186 |
{
|
187 |
?>
|
188 |
<div class="wspsc_yellow_box">
|
189 |
+
<p>
|
190 |
+
<?php _e("Need a shopping cart plugin with a lot of features and support? Check out our ", "wordpress-simple-paypal-shopping-cart"); ?>
|
191 |
+
<a href="https://www.tipsandtricks-hq.com/wordpress-estore-plugin-complete-solution-to-sell-digital-products-from-your-wordpress-blog-securely-1059" target="_blank"><?php _e("WP eStore Plugin", "wordpress-simple-paypal-shopping-cart"); ?></a>
|
192 |
+
</p>
|
193 |
+
<p>
|
194 |
+
You can also try our free <a href="https://wordpress.org/plugins/wp-express-checkout/" target="_blank">WP Express Checkout</a> plugin to sell your products using PayPal's Express Checkout API.
|
195 |
+
</p>
|
196 |
</div>
|
197 |
<?php
|
198 |
}
|
wp_shopping_cart_utility_functions.php
CHANGED
@@ -7,7 +7,7 @@ function wspsc_log_payment_debug($message, $success, $end = false) {
|
|
7 |
//Debug is not enabled.
|
8 |
return;
|
9 |
}
|
10 |
-
|
11 |
// Timestamp
|
12 |
$text = '[' . date('m/d/Y g:i A') . '] - ' . (($success) ? 'SUCCESS :' : 'FAILURE :') . $message . "\n";
|
13 |
if ($end) {
|
@@ -31,7 +31,7 @@ function wspsc_reset_logfile()
|
|
31 |
@fclose($fp);
|
32 |
}
|
33 |
else{
|
34 |
-
$log_reset = false;
|
35 |
}
|
36 |
return $log_reset;
|
37 |
}
|
@@ -63,11 +63,41 @@ function wspsc_clean_incomplete_old_cart_orders() {
|
|
63 |
global $wpdb;
|
64 |
$specific_time = date('Y-m-d H:i:s', strtotime('-12 hours'));
|
65 |
$wpdb->query(
|
66 |
-
$wpdb->prepare("DELETE FROM $wpdb->posts
|
67 |
-
WHERE post_type = %s
|
68 |
-
AND post_status = %s
|
69 |
-
AND post_date < %s
|
70 |
", 'wpsc_cart_orders', 'trash', $specific_time
|
71 |
)
|
72 |
);
|
73 |
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
7 |
//Debug is not enabled.
|
8 |
return;
|
9 |
}
|
10 |
+
|
11 |
// Timestamp
|
12 |
$text = '[' . date('m/d/Y g:i A') . '] - ' . (($success) ? 'SUCCESS :' : 'FAILURE :') . $message . "\n";
|
13 |
if ($end) {
|
31 |
@fclose($fp);
|
32 |
}
|
33 |
else{
|
34 |
+
$log_reset = false;
|
35 |
}
|
36 |
return $log_reset;
|
37 |
}
|
63 |
global $wpdb;
|
64 |
$specific_time = date('Y-m-d H:i:s', strtotime('-12 hours'));
|
65 |
$wpdb->query(
|
66 |
+
$wpdb->prepare("DELETE FROM $wpdb->posts
|
67 |
+
WHERE post_type = %s
|
68 |
+
AND post_status = %s
|
69 |
+
AND post_date < %s
|
70 |
", 'wpsc_cart_orders', 'trash', $specific_time
|
71 |
)
|
72 |
);
|
73 |
}
|
74 |
+
|
75 |
+
function wspsc_check_and_start_session() {
|
76 |
+
//No session needed for admin side. Only use session on front-end
|
77 |
+
if ( is_admin() ) {
|
78 |
+
return false;
|
79 |
+
}
|
80 |
+
|
81 |
+
//No session if wp_doing_ajax()
|
82 |
+
if ( function_exists( 'wp_doing_ajax' ) && wp_doing_ajax() ) {
|
83 |
+
return false;
|
84 |
+
}
|
85 |
+
|
86 |
+
//Don't start session if headers are already sent
|
87 |
+
if ( headers_sent() ) {
|
88 |
+
return false;
|
89 |
+
}
|
90 |
+
|
91 |
+
//Don't break Site Health test
|
92 |
+
$request_uri = filter_var( ! empty( $_SERVER['REQUEST_URI'] ) ? $_SERVER['REQUEST_URI'] : '', FILTER_SANITIZE_STRING );
|
93 |
+
if ( ! empty( $request_uri ) && ! empty( strpos( strtolower( $request_uri ), 'wp-site-health/v1/tests/loopback-requests' ) ) ) {
|
94 |
+
return false;
|
95 |
+
}
|
96 |
+
|
97 |
+
//Start session
|
98 |
+
if ( session_status() == PHP_SESSION_NONE ) {
|
99 |
+
session_start();
|
100 |
+
}
|
101 |
+
|
102 |
+
return true;
|
103 |
+
}
|