diff --git a/.scrutinizer.yml b/.scrutinizer.yml index a98f292be23..7f292d863dd 100644 --- a/.scrutinizer.yml +++ b/.scrutinizer.yml @@ -4,8 +4,7 @@ filter: - apigen/* - dummy-data/* - i18n/* - - includes/api/v1/* - - includes/api/v2/* + - includes/api/legacy/* - includes/libraries/* - includes/updates/* - includes/gateways/simplify-commerce/includes/* diff --git a/apigen.neon b/apigen.neon index aec9743d1bc..a1c00dd174f 100644 --- a/apigen.neon +++ b/apigen.neon @@ -29,7 +29,7 @@ main: WC title: WooCommerce 2.5.x Code Reference # base url used for sitemap (useful for public doc) -baseUrl: http://docs.woothemes.com/wc-apidocs/ +baseUrl: https://docs.woothemes.com/wc-apidocs/ # choose ApiGen template theme templateTheme: default diff --git a/assets/css/_mixins.scss b/assets/css/_mixins.scss index d6b592e07cb..43ea1677618 100644 --- a/assets/css/_mixins.scss +++ b/assets/css/_mixins.scss @@ -190,7 +190,7 @@ content: $glyph; } -@mixin icon_dashicons( $glyph: "\e001" ) { +@mixin icon_dashicons( $glyph: "\f333" ) { font-family: 'Dashicons'; speak: none; font-weight: normal; diff --git a/assets/css/admin.css b/assets/css/admin.css index 9ea9531d7c1..d5ec3847860 100644 --- a/assets/css/admin.css +++ b/assets/css/admin.css @@ -1 +1 @@ -@charset "UTF-8";.button.wc-reload:after,.woocommerce-help-tip:after{font-variant:normal;text-transform:none;-webkit-font-smoothing:antialiased}@-webkit-keyframes spin{100%{-webkit-transform:rotate(360deg)}}@-moz-keyframes spin{100%{-moz-transform:rotate(360deg)}}@keyframes spin{100%{-webkit-transform:rotate(360deg);-moz-transform:rotate(360deg);-ms-transform:rotate(360deg);-o-transform:rotate(360deg);transform:rotate(360deg)}}.select2-container{margin:0;position:relative;display:block!important;zoom:1;vertical-align:middle}.select2-container,.select2-drop,.select2-search,.select2-search input{-webkit-box-sizing:border-box;-moz-box-sizing:border-box;box-sizing:border-box}.select2-container .select2-choice{display:block;padding:0 0 0 8px;overflow:hidden;position:relative;border:1px solid #ccc;white-space:nowrap;color:#444;text-decoration:none;border-radius:3px;background-clip:padding-box;-webkit-touch-callout:none;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;background-color:#fff;font-weight:400}html[dir=rtl] .select2-container .select2-choice{padding:0 8px 0 0}.select2-container.select2-drop-above .select2-choice{border-bottom-color:#ccc;border-radius:0 0 4px 4px}.select2-container.select2-allowclear .select2-choice .select2-chosen{margin-right:42px}.select2-container .select2-choice>.select2-chosen{margin-right:26px;display:block;overflow:hidden;white-space:nowrap;text-overflow:ellipsis;float:none;width:auto}html[dir=rtl] .select2-container .select2-choice>.select2-chosen{margin-left:26px;margin-right:0}.select2-container .select2-choice abbr{display:none;width:12px;height:12px;position:absolute;right:24px;top:5px;font-size:1px;text-decoration:none;border:0;background:url(../images/select2.png) right top no-repeat;cursor:pointer;outline:0}.select2-container.select2-allowclear .select2-choice abbr{display:inline-block}.select2-container .select2-choice abbr:hover{background-position:right -11px;cursor:pointer}.select2-drop-mask{border:0;margin:0;padding:0;position:fixed;left:0;top:0;min-height:100%;min-width:100%;height:auto;width:auto;opacity:0;z-index:9998;background-color:#fff;filter:alpha(opacity=0)}.select2-drop{width:100%;margin-top:-1px;position:absolute;top:100%;background:#fff;color:#000;border:1px solid #ccc;border-top:0;border-radius:0 0 3px 3px}.select2-drop.select2-drop-above{margin-top:1px;border-top:1px solid #ccc;border-bottom:0;border-radius:3px 3px 0 0}.select2-drop-active{border:1px solid #666;border-top:none}.select2-drop.select2-drop-above.select2-drop-active{border-top:1px solid #666}.select2-drop-auto-width{border-top:1px solid #ccc;width:auto}.select2-drop-auto-width .select2-search{padding-top:4px}.select2-container .select2-choice .select2-arrow{display:inline-block;width:18px;height:100%;position:absolute;right:0;top:0;border-radius:0 3px 3px 0;background-clip:padding-box}html[dir=rtl] .select2-container .select2-choice .select2-arrow{left:0;right:auto;border-radius:3px 0 0 3px}.select2-container .select2-choice .select2-arrow b{display:block;width:100%;height:100%;position:relative}.select2-container .select2-choice .select2-arrow b:after{position:absolute;display:block;content:"";top:50%;left:50%;border:4px solid transparent;border-top-color:#666;margin-left:-7px;margin-top:-2px}.select2-search{display:inline-block;width:100%;margin:0;padding-left:4px;padding-right:4px;position:relative;z-index:10000;white-space:nowrap;padding-bottom:4px}.select2-search input{width:100%;height:auto!important;padding:4px 20px 4px 5px!important;margin:0;outline:0;font-family:sans-serif;font-size:1em;border:1px solid #ccc;-webkit-box-shadow:none;box-shadow:none;background:url(../images/select2.png) 100% -22px no-repeat #fff}html[dir=rtl] .select2-search input{padding:4px 5px 4px 20px;background:url(../images/select2.png) -37px -22px no-repeat #fff}.select2-drop.select2-drop-above .select2-search input{margin-top:4px}.select2-search input.select2-active{background:url(../images/select2-spinner.gif) 100% no-repeat #fff}.select2-container-active .select2-choice,.select2-container-active .select2-choices{border:1px solid #666;outline:0}.select2-dropdown-open .select2-choice{border-bottom-color:transparent;-webkit-box-shadow:0 1px 0 #fff inset;box-shadow:0 1px 0 #fff inset;border-bottom-left-radius:0;border-bottom-right-radius:0}.select2-dropdown-open .select2-choice .select2-arrow b:after{border-top-color:transparent;border-bottom-color:#666;margin-top:-6px}.select2-dropdown-open.select2-drop-above .select2-choice,.select2-dropdown-open.select2-drop-above .select2-choices{border:1px solid #666;border-top-color:transparent}.select2-dropdown-open .select2-choice .select2-arrow{background:0 0;border-left:none;filter:none}html[dir=rtl] .select2-dropdown-open .select2-choice .select2-arrow{border-right:none}.select2-dropdown-open .select2-choice .select2-arrow b{background-position:-18px 1px}html[dir=rtl] .select2-dropdown-open .select2-choice .select2-arrow b{background-position:-16px 1px}.select2-hidden-accessible{border:0;clip:rect(0 0 0 0);height:1px;margin:-1px;overflow:hidden;padding:0;position:absolute;width:1px}.select2-results{max-height:200px;padding:4px;margin:0;position:relative;overflow-x:hidden;overflow-y:auto;-webkit-tap-highlight-color:transparent;background:#fafafa}html[dir=rtl] .select2-results{padding:0 4px 0 0;margin:4px 0 4px 4px}.select2-results ul.select2-result-sub{margin:0;padding-left:0}.select2-results li{list-style:none;display:list-item;background-image:none;margin:3px 0}.select2-results li.select2-result-with-children>.select2-result-label{font-weight:700}.select2-results .select2-result-label{padding:5px 7px;margin:0;cursor:pointer;min-height:1em;-webkit-touch-callout:none;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none}.select2-results-dept-1 .select2-result-label{padding-left:20px}.select2-results-dept-2 .select2-result-label{padding-left:40px}.select2-results-dept-3 .select2-result-label{padding-left:60px}.select2-results-dept-4 .select2-result-label{padding-left:80px}.select2-results-dept-5 .select2-result-label{padding-left:100px}.select2-results-dept-6 .select2-result-label{padding-left:110px}.select2-results-dept-7 .select2-result-label{padding-left:120px}.select2-results .select2-highlighted{background:#f1f1f1;color:#000;border-radius:3px}.select2-results li em{background:#feffde;font-style:normal}.select2-results .select2-highlighted em{background:0 0}.select2-results .select2-highlighted ul{background:#fff;color:#000}.select2-results .select2-ajax-error,.select2-results .select2-no-results,.select2-results .select2-searching,.select2-results .select2-selection-limit{background:#f4f4f4;display:list-item;padding-left:5px}.select2-results .select2-disabled.select2-highlighted{color:#666;background:#f4f4f4;display:list-item;cursor:default}.select2-results .select2-disabled{background:#f4f4f4;display:list-item;cursor:default}.select2-results .select2-selected{display:none}.select2-more-results.select2-active{background:url(../images/select2-spinner.gif) 100% no-repeat #f4f4f4}.select2-results .select2-ajax-error{background:rgba(255,50,50,.2)}.select2-more-results{background:#f4f4f4;display:list-item}.select2-container.select2-container-disabled .select2-choice{background-color:#f4f4f4;background-image:none;border:1px solid #ddd;cursor:default}.select2-container.select2-container-disabled .select2-choice .select2-arrow{background-color:#f4f4f4;background-image:none;border-left:0}.select2-container.select2-container-disabled .select2-choice abbr{display:none}.select2-container-multi .select2-choices{height:auto!important;height:1%;margin:0;padding:0 5px 0 0;position:relative;border:1px solid #ccc;cursor:text;overflow:hidden;background-color:#fff;min-height:26px}html[dir=rtl] .select2-container-multi .select2-choices{padding:0 0 0 5px}.select2-locked{padding:3px 5px!important}.select2-container-multi.select2-container-active .select2-choices{border:1px solid #666;outline:0}.select2-container-multi .select2-choices li{float:left;list-style:none}html[dir=rtl] .select2-container-multi .select2-choices li{float:right}.select2-container-multi .select2-choices .select2-search-field{margin:0;padding:0;white-space:nowrap}.select2-container-multi .select2-choices .select2-search-field input{margin:1px 0;outline:0;border:0;-webkit-box-shadow:none;box-shadow:none;background:0 0!important}.select2-container-multi .select2-choices .select2-search-field input.select2-active{background:url(../images/select2-spinner.gif) 100% no-repeat #fff!important}.select2-default{color:#999!important}.select2-container-multi .select2-choices .select2-search-choice{padding:5px 8px 5px 24px;margin:3px 0 3px 5px;position:relative;line-height:15px;color:#333;cursor:default;border-radius:2px;background-clip:padding-box;-webkit-touch-callout:none;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;background-color:#e4e4e4}html[dir=rtl] .select2-container-multi .select2-choices .select2-search-choice{margin:3px 5px 3px 0;padding:5px 24px 5px 8px}.select2-container-multi .select2-choices .select2-search-choice .select2-chosen{cursor:default}.select2-container-multi .select2-choices .select2-search-choice-focus{background:#d4d4d4}.select2-search-choice-close{display:block;width:12px;height:13px;position:absolute;right:7px;top:6px;font-size:1px;outline:0;background:url(../images/select2.png) right top no-repeat}html[dir=rtl] .select2-search-choice-close{right:auto;left:7px}.select2-container-multi .select2-search-choice-close{left:7px}html[dir=rtl] .select2-container-multi .select2-search-choice-close{left:auto;right:7px}.select2-container-multi .select2-choices .select2-search-choice .select2-search-choice-close:hover,.select2-container-multi .select2-choices .select2-search-choice-focus .select2-search-choice-close{background-position:right -11px}.select2-container-multi.select2-container-disabled .select2-choices{background-color:#f4f4f4;background-image:none;border:1px solid #ddd;cursor:default}.select2-container-multi.select2-container-disabled .select2-choices .select2-search-choice{padding:3px 5px;border:1px solid #ddd;background-image:none;background-color:#f4f4f4}.select2-container-multi.select2-container-disabled .select2-choices .select2-search-choice .select2-search-choice-close{display:none;background:0 0}.select2-result-selectable .select2-match,.select2-result-unselectable .select2-match{text-decoration:underline}.select2-offscreen,.select2-offscreen:focus{clip:rect(0 0 0 0)!important;width:1px!important;height:1px!important;border:0!important;margin:0!important;padding:0!important;overflow:hidden!important;position:absolute!important;outline:0!important;left:0!important;top:0!important}.select2-display-none{display:none}.select2-measure-scrollbar{position:absolute;top:-10000px;left:-10000px;width:100px;height:100px;overflow:scroll}@media only screen and (-webkit-min-device-pixel-ratio:1.5),only screen and (min-resolution:2dppx){.select2-search input{background-image:url(../images/select2x2.png)!important;background-repeat:no-repeat!important;background-size:60px 40px!important;background-position:100% -21px!important}}@font-face{font-family:star;src:url(../fonts/star.eot);src:url(../fonts/star.eot?#iefix) format("embedded-opentype"),url(../fonts/star.woff) format("woff"),url(../fonts/star.ttf) format("truetype"),url(../fonts/star.svg#star) format("svg");font-weight:400;font-style:normal}@font-face{font-family:WooCommerce;src:url(../fonts/WooCommerce.eot);src:url(../fonts/WooCommerce.eot?#iefix) format("embedded-opentype"),url(../fonts/WooCommerce.woff) format("woff"),url(../fonts/WooCommerce.ttf) format("truetype"),url(../fonts/WooCommerce.svg#WooCommerce) format("svg");font-weight:400;font-style:normal}.blockUI.blockOverlay:before{height:1em;width:1em;position:absolute;top:50%;left:50%;margin-left:-.5em;margin-top:-.5em;display:block;content:"";-webkit-animation:spin 1s ease-in-out infinite;-moz-animation:spin 1s ease-in-out infinite;animation:spin 1s ease-in-out infinite;background:url(../images/icons/loader.svg) center center;background-size:cover;line-height:1;text-align:center;font-size:2em;color:rgba(0,0,0,.75)}.wc_addons_wrap .products{overflow:hidden}.wc_addons_wrap .products li{float:left;margin:0 1em 1em 0!important;padding:0;vertical-align:top;width:300px}.wc_addons_wrap .products li a{text-decoration:none;color:inherit;border:1px solid #ddd;display:block;min-height:220px;overflow:hidden;background:#f5f5f5;-webkit-box-shadow:inset 0 1px 0 rgba(255,255,255,.2),inset 0 -1px 0 rgba(0,0,0,.1);box-shadow:inset 0 1px 0 rgba(255,255,255,.2),inset 0 -1px 0 rgba(0,0,0,.1)}.wc_addons_wrap .products li a img{max-width:258px;max-height:24px;padding:17px 20px;display:block;margin:0;background:#fff;border-right:260px solid #fff}.wc_addons_wrap .products li a .price,.wc_addons_wrap .products li a img.extension-thumb+h3{display:none}.wc_addons_wrap .products li a h2,.wc_addons_wrap .products li a h3{margin:0!important;padding:20px!important;background:#fff}.wc_addons_wrap .products li a p{padding:20px!important;margin:0!important;border-top:1px solid #f1f1f1}.wc_addons_wrap .products li a:focus,.wc_addons_wrap .products li a:hover{background-color:#fff}.wc_addons_wrap .storefront{background:url(../images/storefront-bg.jpg) bottom right #f6f6f6;border:1px solid #ddd;padding:20px;overflow:hidden;zoom:1}.wc_addons_wrap .storefront img{width:278px;height:auto;float:left;margin:0 20px 0 0;box-shadow:0 1px 6px rgba(0,0,0,.1)}.wc_addons_wrap .storefront p{max-width:750px}.woocommerce-message{position:relative;border-left-color:#cc99c2!important;overflow:hidden}.woocommerce-message a.button-primary,.woocommerce-message button.button-primary{background:#bb77ae;border-color:#aa559a;-webkit-box-shadow:inset 0 1px 0 rgba(255,255,255,.25),0 1px 0 rgba(0,0,0,.15);box-shadow:inset 0 1px 0 rgba(255,255,255,.25),0 1px 0 rgba(0,0,0,.15);color:#fff;text-decoration:none!important;text-shadow:0 -1px 1px #8a4f7f,1px 0 1px #8a4f7f,0 1px 1px #8a4f7f,-1px 0 1px #8a4f7f}.woocommerce-message a.button-primary:hover,.woocommerce-message button.button-primary:hover{background:#c480b7;border-color:#aa559a;-webkit-box-shadow:inset 0 1px 0 rgba(255,255,255,.25),0 1px 0 rgba(0,0,0,.15);box-shadow:inset 0 1px 0 rgba(255,255,255,.25),0 1px 0 rgba(0,0,0,.15)}.woocommerce-message a.button-primary:active,.woocommerce-message button.button-primary:active{background:#aa559a;border-color:#873A79;-webkit-box-shadow:inset 0 2px 0 #873A79;box-shadow:inset 0 2px 0 #873A79}.woocommerce-message a.button-primary:focus,.woocommerce-message button.button-primary:focus{background:#bb77ae;border-color:#aa559a;-webkit-box-shadow:0 1px 0 #bb77ae,0 0 2px 1px #aa559a;box-shadow:0 1px 0 #bb77ae,0 0 2px 1px #aa559a}.woocommerce-message a.docs,.woocommerce-message a.skip{text-decoration:none!important}.woocommerce-message a.woocommerce-message-close{position:absolute;top:10px;right:10px;padding:10px 15px 10px 21px;font-size:13px;line-height:1.23076923;text-decoration:none}.woocommerce-message a.woocommerce-message-close:before{position:absolute;top:8px;left:0;-webkit-transition:all .1s ease-in-out;transition:all .1s ease-in-out}.woocommerce-message .twitter-share-button{margin-top:-3px;margin-left:3px;vertical-align:middle}#variable_product_options #message,#variable_product_options .notice{margin:10px}.clear{clear:both}#woocommerce-fields-bulk.inline-edit-col label,#woocommerce-fields.inline-edit-col{clear:left}.wrap.woocommerce div.error,.wrap.woocommerce div.updated{margin-top:10px}mark.amount{background:0 0;color:inherit}.postbox,.woocommerce{input:invalid;input-border:1px solid #cc010b;input-background:#ffebe8}.simplify-commerce-banner{overflow:hidden}.simplify-commerce-banner img{float:right;padding:15px 0;margin-left:1em;width:200px}.woocommerce-help-tip{color:#666;display:inline-block;font-size:1.1em;font-style:normal;height:16px;line-height:16px;position:relative;vertical-align:middle;width:16px}.woocommerce-help-tip:after{font-family:Dashicons;speak:none;font-weight:400;line-height:1;margin:0;text-indent:0;position:absolute;top:0;left:0;width:100%;height:100%;text-align:center;content:"";cursor:help}table.wc_status_table{margin-bottom:1em}table.wc_status_table h2{font-size:14px;margin:0}table.wc_status_table tr:nth-child(2n) td,table.wc_status_table tr:nth-child(2n) th{background:#fcfcfc}table.wc_status_table th{font-weight:700;padding:9px}table.wc_status_table td:first-child{width:33%}table.wc_status_table td.help{width:1em}table.wc_status_table td{padding:9px;font-size:1.1em}table.wc_status_table td mark{background:0 0}table.wc_status_table td mark.yes{color:#7ad03a}table.wc_status_table td mark.no{color:#999}table.wc_status_table td mark.error{color:#a00}table.wc_status_table td ul{margin:0}table.wc_status_table .help_tip{cursor:help}#debug-report{display:none;margin:10px 0;padding:0;position:relative}#debug-report textarea{font-family:monospace;width:100%;margin:0;height:300px;padding:20px;-moz-border-radius:0;-webkit-border-radius:0;border-radius:0;resize:none;font-size:12px;line-height:20px;outline:0}#log-viewer-select{padding:10px 0 8px;line-height:180%}#log-viewer textarea{width:100%;resize:vertical}.inline-edit-product.quick-edit-row .inline-edit-col-center,.inline-edit-product.quick-edit-row .inline-edit-col-right{float:right!important}#woocommerce-fields.inline-edit-col label.featured,#woocommerce-fields.inline-edit-col label.manage_stock{margin-left:10px}#woocommerce-fields.inline-edit-col .dimensions div{display:block;margin:.2em 0}#woocommerce-fields.inline-edit-col .dimensions div span.title{display:block;float:left;width:5em}#woocommerce-fields.inline-edit-col .dimensions div span.input-text-wrap{display:block;margin-left:5em}#woocommerce-fields.inline-edit-col .text{box-sizing:border-box;width:99%;float:left;margin:1px 1% 1px 1px}#woocommerce-fields.inline-edit-col .height,#woocommerce-fields.inline-edit-col .length,#woocommerce-fields.inline-edit-col .width{width:32.33%}#woocommerce-fields.inline-edit-col .height{margin-right:0}#woocommerce-fields-bulk.inline-edit-col .inline-edit-group label{clear:none;width:49%;margin:.2em 0}#woocommerce-fields-bulk.inline-edit-col .inline-edit-group.dimensions label{width:75%;max-width:75%}#woocommerce-fields-bulk.inline-edit-col .length,#woocommerce-fields-bulk.inline-edit-col .regular_price,#woocommerce-fields-bulk.inline-edit-col .sale_price,#woocommerce-fields-bulk.inline-edit-col .stock,#woocommerce-fields-bulk.inline-edit-col .weight{box-sizing:border-box;width:100%;margin-left:4.4em}#woocommerce-fields-bulk.inline-edit-col .height,#woocommerce-fields-bulk.inline-edit-col .length,#woocommerce-fields-bulk.inline-edit-col .width{box-sizing:border-box;width:25%}.column-coupon_code{line-height:2.25em}.column-coupon_code,ul.wc_coupon_list{margin:0;overflow:hidden;zoom:1;clear:both}ul.wc_coupon_list li{margin:0}ul.wc_coupon_list li.code{display:inline-block}ul.wc_coupon_list li.code:after{content:", "}ul.wc_coupon_list li.code:last-of-type:after{display:none}ul.wc_coupon_list li.code .tips{cursor:pointer}ul.wc_coupon_list_block{margin:0;padding-bottom:2px}ul.wc_coupon_list_block li{border-top:1px solid #fff;border-bottom:1px solid #ccc;line-height:2.5em;margin:0;padding:.5em 0}ul.wc_coupon_list_block li:first-child{border-top:0;padding-top:0}ul.wc_coupon_list_block li:last-child{border-bottom:0;padding-bottom:0}.button.wc-reload{text-indent:-9999px;position:relative;padding:0;height:28px;width:28px!important;display:inline-block}.button.wc-reload:after{font-family:Dashicons;speak:none;font-weight:400;margin:0;text-indent:0;position:absolute;top:0;left:0;width:100%;height:100%;text-align:center;content:"";line-height:28px}#order_data h2,#order_data p.order_number{font-family:HelveticaNeue-Light,"Helvetica Neue Light","Helvetica Neue",sans-serif;font-weight:400}.tablenav .actions{overflow:visible}.tablenav .select2-container{float:left;max-width:200px;font-size:14px;vertical-align:middle;margin:1px 6px 1px 1px}#woocommerce-order-data .handlediv,#woocommerce-order-data .hndle{display:none}#woocommerce-order-data .inside{display:block!important}#order_data{padding:23px 24px 12px}#order_data h2{margin:0;font-size:21px;line-height:1.2;text-shadow:1px 1px 1px #fff;padding:0}#order_data h3{font-size:14px}#order_data h3,#order_data h4{color:#333;margin:1.33em 0 0}#order_data p{color:#777}#order_data p.order_number{margin:0;line-height:1.6em;font-size:16px}#order_data .order_data_column_container{clear:both}#order_data .order_data_column{width:32%;padding:0 2% 0 0;float:left}#order_data .order_data_column:last-child{padding-right:0}#order_data .order_data_column p{padding:0!important}#order_data .order_data_column .address strong{display:block}#order_data .order_data_column .form-field{float:left;width:48%;padding:0;margin:9px 0 0}#order_data .order_data_column .form-field label{display:block;padding:0 0 3px}#order_data .order_data_column .form-field input,#order_data .order_data_column .form-field select,#order_data .order_data_column .form-field textarea{width:100%}#order_data .order_data_column .form-field .select2-container{width:100%!important}#order_data .order_data_column .form-field .date-picker{width:50%}#order_data .order_data_column .form-field .hour,#order_data .order_data_column .form-field .minute{width:2.5em}#order_data .order_data_column .form-field small{display:block;margin:5px 0 0;color:#999}#order_data .order_data_column .form-field.last{float:right}#order_data .order_data_column .form-field-wide{width:100%;clear:both}#order_data .order_data_column .form-field-wide .wc-customer-search,#order_data .order_data_column .form-field-wide .wc-enhanced-select,#order_data .order_data_column .form-field-wide input,#order_data .order_data_column .form-field-wide select,#order_data .order_data_column .form-field-wide textarea{width:100%}#order_data .order_data_column p.none_set{color:#999}#order_data .order_data_column ._billing_address_1_field,#order_data .order_data_column ._billing_city_field,#order_data .order_data_column ._billing_country_field,#order_data .order_data_column ._billing_email_field,#order_data .order_data_column ._billing_first_name_field,#order_data .order_data_column ._shipping_address_1_field,#order_data .order_data_column ._shipping_city_field,#order_data .order_data_column ._shipping_country_field,#order_data .order_data_column ._shipping_first_name_field{float:left}#order_data .order_data_column ._billing_address_2_field,#order_data .order_data_column ._billing_last_name_field,#order_data .order_data_column ._billing_phone_field,#order_data .order_data_column ._billing_postcode_field,#order_data .order_data_column ._billing_state_field,#order_data .order_data_column ._shipping_address_2_field,#order_data .order_data_column ._shipping_last_name_field,#order_data .order_data_column ._shipping_postcode_field,#order_data .order_data_column ._shipping_state_field,#order_data .order_data_column .wc-customer-user label a,#order_data .order_data_column .wc-order-status label a{float:right}#order_data .order_data_column ._billing_company_field,#order_data .order_data_column ._shipping_company_field,#order_data .order_data_column ._transaction_id_field{clear:both;width:100%}#order_data .order_data_column ._billing_email_field{clear:left}#order_data .order_data_column div.edit_address{display:none;zoom:1;padding-right:1px}#order_data .order_data_column .billing-same-as-shipping,#order_data .order_data_column .load_customer_billing,#order_data .order_data_column .load_customer_shipping,#order_data .order_data_column a.edit_address{width:14px;height:0;padding:14px 0 0;margin:0 0 0 6px;overflow:hidden;position:relative;color:#999;border:0;float:right}#order_data .order_data_column .billing-same-as-shipping:focus,#order_data .order_data_column .billing-same-as-shipping:hover,#order_data .order_data_column .load_customer_billing:focus,#order_data .order_data_column .load_customer_billing:hover,#order_data .order_data_column .load_customer_shipping:focus,#order_data .order_data_column .load_customer_shipping:hover,#order_data .order_data_column a.edit_address:focus,#order_data .order_data_column a.edit_address:hover{color:#000}#order_data .order_data_column .billing-same-as-shipping:after,#order_data .order_data_column .load_customer_billing:after,#order_data .order_data_column .load_customer_shipping:after,#order_data .order_data_column a.edit_address:after{font-family:WooCommerce;position:absolute;top:0;left:0;text-align:center;vertical-align:top;line-height:14px;font-size:14px;font-weight:400;-webkit-font-smoothing:antialiased}#order_data .order_data_column .billing-same-as-shipping:after{content:"\e008"}#order_data .order_data_column .load_customer_billing:after,#order_data .order_data_column .load_customer_shipping:after{content:"\e03a"}#order_data .order_data_column a.edit_address:after{font-family:Dashicons;content:"\f464"}.order_actions{margin:0;overflow:hidden;zoom:1}.order_actions li{border-top:1px solid #fff;border-bottom:1px solid #ddd;padding:6px 0;margin:0;line-height:1.6em;float:left;width:50%;text-align:center}.order_actions li a{float:none;text-align:center;text-decoration:underline}.order_actions li.wide{width:auto;float:none;clear:both;padding:6px;text-align:left;overflow:hidden}.order_actions li #delete-action{line-height:25px;vertical-align:middle;text-align:left;float:left}.order_actions li .save_order{float:right}.order_actions li#actions{overflow:hidden}.order_actions li#actions .button{width:24px;box-sizing:border-box;float:right}.order_actions li#actions select{width:225px;box-sizing:border-box;float:left}#woocommerce-order-items .inside{margin:0;padding:0;background:#fefefe}#woocommerce-order-items .wc-order-data-row{border-bottom:1px solid #DFDFDF;padding:1.5em 2em;background:#f8f8f8;line-height:2em;text-align:right}#woocommerce-order-items .wc-order-data-row:after,#woocommerce-order-items .wc-order-data-row:before{content:" ";display:table}#woocommerce-order-items .wc-order-data-row:after{clear:both}#woocommerce-order-items .wc-order-data-row p{margin:0;line-height:2em}#woocommerce-order-items .wc-order-data-row .wc-used-coupons{text-align:left}#woocommerce-order-items .wc-order-data-row .wc-used-coupons .tips{display:inline-block}#woocommerce-order-items .wc-order-add-item{background:#fff;vertical-align:top;border-top:none}#woocommerce-order-items .wc-order-add-item .add_item_id,#woocommerce-order-items .wc-order-add-item .select2-container{vertical-align:top}#woocommerce-order-items .wc-order-add-item .add_item_id .search-field input,#woocommerce-order-items .wc-order-add-item .select2-container .search-field input{min-width:100px}#woocommerce-order-items .wc-order-add-item .select2-container{width:400px!important;text-align:left}#woocommerce-order-items .wc-order-add-item .calculate-action,#woocommerce-order-items .wc-order-add-item .cancel-action,#woocommerce-order-items .wc-order-add-item .save-action{float:left;margin-right:2px}#woocommerce-order-items .wc-used-coupons{float:left;width:50%}#woocommerce-order-items .wc-order-totals{float:right;width:50%;margin:0;padding:0;text-align:right}#woocommerce-order-items .wc-order-totals .amount{font-weight:700}#woocommerce-order-items .wc-order-totals .label{vertical-align:top}#woocommerce-order-items .wc-order-totals .total{font-size:1em!important;width:10em;margin:0 0 0 .5em;box-sizing:border-box}#woocommerce-order-items .wc-order-totals .total input[type=text]{width:96%;float:right}#woocommerce-order-items .wc-order-totals .refunded-total{color:#a00}#woocommerce-order-items .refund-actions{margin-top:5px;padding-top:12px;border-top:1px solid #DFDFDF}#woocommerce-order-items .refund-actions .button{float:right;margin-left:4px}#woocommerce-order-items .refund-actions .cancel-action,#woocommerce-order-items .wc-order-item-bulk-edit .cancel-action{float:left;margin-left:0}#woocommerce-order-items .add_meta{margin-left:0!important}#woocommerce-order-items h3 small{color:#999}#woocommerce-order-items .amount{white-space:nowrap}#woocommerce-order-items .add-items .description{margin-right:10px}#woocommerce-order-items .add-items .button{float:left;margin-right:.25em}#woocommerce-order-items .add-items .button-primary{float:none;margin-right:0}#woocommerce-order-items .inside{display:block!important}#woocommerce-order-items .handlediv,#woocommerce-order-items .hndle{display:none}#woocommerce-order-items .woocommerce_order_items_wrapper{margin:0}#woocommerce-order-items .woocommerce_order_items_wrapper table.woocommerce_order_items{width:100%;background:#fff}#woocommerce-order-items .woocommerce_order_items_wrapper table.woocommerce_order_items thead th{text-align:left;padding:1em;font-weight:400;color:#999;background:#f8f8f8;-webkit-touch-callout:none;-webkit-user-select:none;-khtml-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none}#woocommerce-order-items .woocommerce_order_items_wrapper table.woocommerce_order_items thead th.sortable{cursor:pointer}#woocommerce-order-items .woocommerce_order_items_wrapper table.woocommerce_order_items thead th:last-child{padding-right:2em}#woocommerce-order-items .woocommerce_order_items_wrapper table.woocommerce_order_items thead th:first-child{padding-left:2em}#woocommerce-order-items .woocommerce_order_items_wrapper table.woocommerce_order_items thead th .wc-arrow{float:right;position:relative;margin-right:-1em}#woocommerce-order-items .woocommerce_order_items_wrapper table.woocommerce_order_items tbody th,#woocommerce-order-items .woocommerce_order_items_wrapper table.woocommerce_order_items td{padding:1.5em 1em 1em;text-align:left;line-height:1.5em;vertical-align:top;border-bottom:1px solid #f8f8f8}#woocommerce-order-items .woocommerce_order_items_wrapper table.woocommerce_order_items tbody th textarea,#woocommerce-order-items .woocommerce_order_items_wrapper table.woocommerce_order_items td textarea{width:100%}#woocommerce-order-items .woocommerce_order_items_wrapper table.woocommerce_order_items tbody th select,#woocommerce-order-items .woocommerce_order_items_wrapper table.woocommerce_order_items td select{width:50%}#woocommerce-order-items .woocommerce_order_items_wrapper table.woocommerce_order_items tbody th input,#woocommerce-order-items .woocommerce_order_items_wrapper table.woocommerce_order_items tbody th textarea,#woocommerce-order-items .woocommerce_order_items_wrapper table.woocommerce_order_items td input,#woocommerce-order-items .woocommerce_order_items_wrapper table.woocommerce_order_items td textarea{font-size:14px;padding:4px;color:#555}#woocommerce-order-items .woocommerce_order_items_wrapper table.woocommerce_order_items tbody th:last-child,#woocommerce-order-items .woocommerce_order_items_wrapper table.woocommerce_order_items td:last-child{padding-right:2em}#woocommerce-order-items .woocommerce_order_items_wrapper table.woocommerce_order_items tbody th:first-child,#woocommerce-order-items .woocommerce_order_items_wrapper table.woocommerce_order_items td:first-child{padding-left:2em}#woocommerce-order-items .woocommerce_order_items_wrapper table.woocommerce_order_items tbody tr td{cursor:pointer}#woocommerce-order-items .woocommerce_order_items_wrapper table.woocommerce_order_items tbody tr.selected{background:#F5EBF3}#woocommerce-order-items .woocommerce_order_items_wrapper table.woocommerce_order_items tbody tr.selected td{border-color:#E6CCE1;opacity:.8}#woocommerce-order-items .woocommerce_order_items_wrapper table.woocommerce_order_items tbody tr:last-child td{border-bottom:1px solid #dfdfdf}#woocommerce-order-items .woocommerce_order_items_wrapper table.woocommerce_order_items tbody tr:first-child td{border-top:8px solid #f8f8f8}#woocommerce-order-items .woocommerce_order_items_wrapper table.woocommerce_order_items tbody#order_line_items tr:first-child td{border-top:none}#woocommerce-order-items .woocommerce_order_items_wrapper table.woocommerce_order_items td.thumb{text-align:left;width:38px;padding-bottom:1.5em}#woocommerce-order-items .woocommerce_order_items_wrapper table.woocommerce_order_items td.thumb .wc-order-item-thumbnail{width:38px;height:38px;border:2px solid #e8e8e8;background:#f8f8f8;color:#ccc;position:relative;font-size:21px;display:block;text-align:center}#woocommerce-order-items .woocommerce_order_items_wrapper table.woocommerce_order_items td.thumb .wc-order-item-thumbnail:after{font-family:Dashicons;speak:none;font-weight:400;font-variant:normal;text-transform:none;-webkit-font-smoothing:antialiased;margin:0;text-indent:0;position:absolute;top:0;left:0;height:100%;text-align:center;content:"";width:38px;line-height:38px;display:block;z-index:1}#woocommerce-order-items .woocommerce_order_items_wrapper table.woocommerce_order_items td.thumb .wc-order-item-thumbnail img{width:100%;height:100%;margin:0;padding:0;z-index:2;position:relative}#woocommerce-order-items .woocommerce_order_items_wrapper table.woocommerce_order_items td.name .wc-order-item-sku,#woocommerce-order-items .woocommerce_order_items_wrapper table.woocommerce_order_items td.name .wc-order-item-variation{display:block;margin-top:.5em;font-size:.92em!important;color:#c8c8c8}#woocommerce-order-items .woocommerce_order_items_wrapper table.woocommerce_order_items .item{min-width:200px}#woocommerce-order-items .woocommerce_order_items_wrapper table.woocommerce_order_items .center,#woocommerce-order-items .woocommerce_order_items_wrapper table.woocommerce_order_items .variation-id{text-align:center}#woocommerce-order-items .woocommerce_order_items_wrapper table.woocommerce_order_items .cost,#woocommerce-order-items .woocommerce_order_items_wrapper table.woocommerce_order_items .item_cost,#woocommerce-order-items .woocommerce_order_items_wrapper table.woocommerce_order_items .line_cost,#woocommerce-order-items .woocommerce_order_items_wrapper table.woocommerce_order_items .line_tax,#woocommerce-order-items .woocommerce_order_items_wrapper table.woocommerce_order_items .quantity,#woocommerce-order-items .woocommerce_order_items_wrapper table.woocommerce_order_items .tax,#woocommerce-order-items .woocommerce_order_items_wrapper table.woocommerce_order_items .tax_class{text-align:right}#woocommerce-order-items .woocommerce_order_items_wrapper table.woocommerce_order_items .cost label,#woocommerce-order-items .woocommerce_order_items_wrapper table.woocommerce_order_items .item_cost label,#woocommerce-order-items .woocommerce_order_items_wrapper table.woocommerce_order_items .line_cost label,#woocommerce-order-items .woocommerce_order_items_wrapper table.woocommerce_order_items .line_tax label,#woocommerce-order-items .woocommerce_order_items_wrapper table.woocommerce_order_items .quantity label,#woocommerce-order-items .woocommerce_order_items_wrapper table.woocommerce_order_items .tax label,#woocommerce-order-items .woocommerce_order_items_wrapper table.woocommerce_order_items .tax_class label{white-space:nowrap;color:#999;font-size:.833em}#woocommerce-order-items .woocommerce_order_items_wrapper table.woocommerce_order_items .cost label input,#woocommerce-order-items .woocommerce_order_items_wrapper table.woocommerce_order_items .item_cost label input,#woocommerce-order-items .woocommerce_order_items_wrapper table.woocommerce_order_items .line_cost label input,#woocommerce-order-items .woocommerce_order_items_wrapper table.woocommerce_order_items .line_tax label input,#woocommerce-order-items .woocommerce_order_items_wrapper table.woocommerce_order_items .quantity label input,#woocommerce-order-items .woocommerce_order_items_wrapper table.woocommerce_order_items .tax label input,#woocommerce-order-items .woocommerce_order_items_wrapper table.woocommerce_order_items .tax_class label input{display:inline}#woocommerce-order-items .woocommerce_order_items_wrapper table.woocommerce_order_items .cost input,#woocommerce-order-items .woocommerce_order_items_wrapper table.woocommerce_order_items .item_cost input,#woocommerce-order-items .woocommerce_order_items_wrapper table.woocommerce_order_items .line_cost input,#woocommerce-order-items .woocommerce_order_items_wrapper table.woocommerce_order_items .line_tax input,#woocommerce-order-items .woocommerce_order_items_wrapper table.woocommerce_order_items .quantity input,#woocommerce-order-items .woocommerce_order_items_wrapper table.woocommerce_order_items .tax input,#woocommerce-order-items .woocommerce_order_items_wrapper table.woocommerce_order_items .tax_class input{width:70px;vertical-align:middle;text-align:right}#woocommerce-order-items .woocommerce_order_items_wrapper table.woocommerce_order_items .cost select,#woocommerce-order-items .woocommerce_order_items_wrapper table.woocommerce_order_items .item_cost select,#woocommerce-order-items .woocommerce_order_items_wrapper table.woocommerce_order_items .line_cost select,#woocommerce-order-items .woocommerce_order_items_wrapper table.woocommerce_order_items .line_tax select,#woocommerce-order-items .woocommerce_order_items_wrapper table.woocommerce_order_items .quantity select,#woocommerce-order-items .woocommerce_order_items_wrapper table.woocommerce_order_items .tax select,#woocommerce-order-items .woocommerce_order_items_wrapper table.woocommerce_order_items .tax_class select{width:85px;height:26px;vertical-align:middle;font-size:1em}#woocommerce-order-items .woocommerce_order_items_wrapper table.woocommerce_order_items .cost .split-input,#woocommerce-order-items .woocommerce_order_items_wrapper table.woocommerce_order_items .item_cost .split-input,#woocommerce-order-items .woocommerce_order_items_wrapper table.woocommerce_order_items .line_cost .split-input,#woocommerce-order-items .woocommerce_order_items_wrapper table.woocommerce_order_items .line_tax .split-input,#woocommerce-order-items .woocommerce_order_items_wrapper table.woocommerce_order_items .quantity .split-input,#woocommerce-order-items .woocommerce_order_items_wrapper table.woocommerce_order_items .tax .split-input,#woocommerce-order-items .woocommerce_order_items_wrapper table.woocommerce_order_items .tax_class .split-input{display:inline-block;background:#fff;border:1px solid #ddd;box-shadow:inset 0 1px 2px rgba(0,0,0,.07);margin:1px 0;min-width:80px;overflow:hidden;line-height:1em;text-align:right}#woocommerce-order-items .woocommerce_order_items_wrapper table.woocommerce_order_items .cost .split-input div.input,#woocommerce-order-items .woocommerce_order_items_wrapper table.woocommerce_order_items .item_cost .split-input div.input,#woocommerce-order-items .woocommerce_order_items_wrapper table.woocommerce_order_items .line_cost .split-input div.input,#woocommerce-order-items .woocommerce_order_items_wrapper table.woocommerce_order_items .line_tax .split-input div.input,#woocommerce-order-items .woocommerce_order_items_wrapper table.woocommerce_order_items .quantity .split-input div.input,#woocommerce-order-items .woocommerce_order_items_wrapper table.woocommerce_order_items .tax .split-input div.input,#woocommerce-order-items .woocommerce_order_items_wrapper table.woocommerce_order_items .tax_class .split-input div.input{width:100%;box-sizing:border-box}#woocommerce-order-items .woocommerce_order_items_wrapper table.woocommerce_order_items .cost .split-input div.input label,#woocommerce-order-items .woocommerce_order_items_wrapper table.woocommerce_order_items .item_cost .split-input div.input label,#woocommerce-order-items .woocommerce_order_items_wrapper table.woocommerce_order_items .line_cost .split-input div.input label,#woocommerce-order-items .woocommerce_order_items_wrapper table.woocommerce_order_items .line_tax .split-input div.input label,#woocommerce-order-items .woocommerce_order_items_wrapper table.woocommerce_order_items .quantity .split-input div.input label,#woocommerce-order-items .woocommerce_order_items_wrapper table.woocommerce_order_items .tax .split-input div.input label,#woocommerce-order-items .woocommerce_order_items_wrapper table.woocommerce_order_items .tax_class .split-input div.input label{font-size:.75em;padding:4px 6px 0;color:#555;display:block}#woocommerce-order-items .woocommerce_order_items_wrapper table.woocommerce_order_items .cost .split-input div.input input,#woocommerce-order-items .woocommerce_order_items_wrapper table.woocommerce_order_items .item_cost .split-input div.input input,#woocommerce-order-items .woocommerce_order_items_wrapper table.woocommerce_order_items .line_cost .split-input div.input input,#woocommerce-order-items .woocommerce_order_items_wrapper table.woocommerce_order_items .line_tax .split-input div.input input,#woocommerce-order-items .woocommerce_order_items_wrapper table.woocommerce_order_items .quantity .split-input div.input input,#woocommerce-order-items .woocommerce_order_items_wrapper table.woocommerce_order_items .tax .split-input div.input input,#woocommerce-order-items .woocommerce_order_items_wrapper table.woocommerce_order_items .tax_class .split-input div.input input{width:100%;box-sizing:border-box;border:0;box-shadow:none;margin:0;padding:0 6px 4px;color:#555;background:0 0}#woocommerce-order-items .woocommerce_order_items_wrapper table.woocommerce_order_items .cost .split-input div.input input::-webkit-input-placeholder,#woocommerce-order-items .woocommerce_order_items_wrapper table.woocommerce_order_items .item_cost .split-input div.input input::-webkit-input-placeholder,#woocommerce-order-items .woocommerce_order_items_wrapper table.woocommerce_order_items .line_cost .split-input div.input input::-webkit-input-placeholder,#woocommerce-order-items .woocommerce_order_items_wrapper table.woocommerce_order_items .line_tax .split-input div.input input::-webkit-input-placeholder,#woocommerce-order-items .woocommerce_order_items_wrapper table.woocommerce_order_items .quantity .split-input div.input input::-webkit-input-placeholder,#woocommerce-order-items .woocommerce_order_items_wrapper table.woocommerce_order_items .tax .split-input div.input input::-webkit-input-placeholder,#woocommerce-order-items .woocommerce_order_items_wrapper table.woocommerce_order_items .tax_class .split-input div.input input::-webkit-input-placeholder{color:#ddd}#woocommerce-order-items .woocommerce_order_items_wrapper table.woocommerce_order_items .cost .split-input div.input:first-child,#woocommerce-order-items .woocommerce_order_items_wrapper table.woocommerce_order_items .item_cost .split-input div.input:first-child,#woocommerce-order-items .woocommerce_order_items_wrapper table.woocommerce_order_items .line_cost .split-input div.input:first-child,#woocommerce-order-items .woocommerce_order_items_wrapper table.woocommerce_order_items .line_tax .split-input div.input:first-child,#woocommerce-order-items .woocommerce_order_items_wrapper table.woocommerce_order_items .quantity .split-input div.input:first-child,#woocommerce-order-items .woocommerce_order_items_wrapper table.woocommerce_order_items .tax .split-input div.input:first-child,#woocommerce-order-items .woocommerce_order_items_wrapper table.woocommerce_order_items .tax_class .split-input div.input:first-child{border-bottom:1px dashed #ddd;background:#fff}#woocommerce-order-items .woocommerce_order_items_wrapper table.woocommerce_order_items .cost .split-input div.input:first-child input,#woocommerce-order-items .woocommerce_order_items_wrapper table.woocommerce_order_items .cost .split-input div.input:first-child label,#woocommerce-order-items .woocommerce_order_items_wrapper table.woocommerce_order_items .item_cost .split-input div.input:first-child input,#woocommerce-order-items .woocommerce_order_items_wrapper table.woocommerce_order_items .item_cost .split-input div.input:first-child label,#woocommerce-order-items .woocommerce_order_items_wrapper table.woocommerce_order_items .line_cost .split-input div.input:first-child input,#woocommerce-order-items .woocommerce_order_items_wrapper table.woocommerce_order_items .line_cost .split-input div.input:first-child label,#woocommerce-order-items .woocommerce_order_items_wrapper table.woocommerce_order_items .line_tax .split-input div.input:first-child input,#woocommerce-order-items .woocommerce_order_items_wrapper table.woocommerce_order_items .line_tax .split-input div.input:first-child label,#woocommerce-order-items .woocommerce_order_items_wrapper table.woocommerce_order_items .quantity .split-input div.input:first-child input,#woocommerce-order-items .woocommerce_order_items_wrapper table.woocommerce_order_items .quantity .split-input div.input:first-child label,#woocommerce-order-items .woocommerce_order_items_wrapper table.woocommerce_order_items .tax .split-input div.input:first-child input,#woocommerce-order-items .woocommerce_order_items_wrapper table.woocommerce_order_items .tax .split-input div.input:first-child label,#woocommerce-order-items .woocommerce_order_items_wrapper table.woocommerce_order_items .tax_class .split-input div.input:first-child input,#woocommerce-order-items .woocommerce_order_items_wrapper table.woocommerce_order_items .tax_class .split-input div.input:first-child label{color:#ccc}#woocommerce-order-items .woocommerce_order_items_wrapper table.woocommerce_order_items .cost .view,#woocommerce-order-items .woocommerce_order_items_wrapper table.woocommerce_order_items .item_cost .view,#woocommerce-order-items .woocommerce_order_items_wrapper table.woocommerce_order_items .line_cost .view,#woocommerce-order-items .woocommerce_order_items_wrapper table.woocommerce_order_items .line_tax .view,#woocommerce-order-items .woocommerce_order_items_wrapper table.woocommerce_order_items .quantity .view,#woocommerce-order-items .woocommerce_order_items_wrapper table.woocommerce_order_items .tax .view,#woocommerce-order-items .woocommerce_order_items_wrapper table.woocommerce_order_items .tax_class .view{white-space:nowrap}#woocommerce-order-items .woocommerce_order_items_wrapper table.woocommerce_order_items .cost .edit,#woocommerce-order-items .woocommerce_order_items_wrapper table.woocommerce_order_items .item_cost .edit,#woocommerce-order-items .woocommerce_order_items_wrapper table.woocommerce_order_items .line_cost .edit,#woocommerce-order-items .woocommerce_order_items_wrapper table.woocommerce_order_items .line_tax .edit,#woocommerce-order-items .woocommerce_order_items_wrapper table.woocommerce_order_items .quantity .edit,#woocommerce-order-items .woocommerce_order_items_wrapper table.woocommerce_order_items .tax .edit,#woocommerce-order-items .woocommerce_order_items_wrapper table.woocommerce_order_items .tax_class .edit{text-align:left}#woocommerce-order-items .woocommerce_order_items_wrapper table.woocommerce_order_items .cost .wc-order-item-discount,#woocommerce-order-items .woocommerce_order_items_wrapper table.woocommerce_order_items .cost .wc-order-item-refund-fields,#woocommerce-order-items .woocommerce_order_items_wrapper table.woocommerce_order_items .cost .wc-order-item-taxes,#woocommerce-order-items .woocommerce_order_items_wrapper table.woocommerce_order_items .cost del,#woocommerce-order-items .woocommerce_order_items_wrapper table.woocommerce_order_items .cost small.times,#woocommerce-order-items .woocommerce_order_items_wrapper table.woocommerce_order_items .item_cost .wc-order-item-discount,#woocommerce-order-items .woocommerce_order_items_wrapper table.woocommerce_order_items .item_cost .wc-order-item-refund-fields,#woocommerce-order-items .woocommerce_order_items_wrapper table.woocommerce_order_items .item_cost .wc-order-item-taxes,#woocommerce-order-items .woocommerce_order_items_wrapper table.woocommerce_order_items .item_cost del,#woocommerce-order-items .woocommerce_order_items_wrapper table.woocommerce_order_items .item_cost small.times,#woocommerce-order-items .woocommerce_order_items_wrapper table.woocommerce_order_items .line_cost .wc-order-item-discount,#woocommerce-order-items .woocommerce_order_items_wrapper table.woocommerce_order_items .line_cost .wc-order-item-refund-fields,#woocommerce-order-items .woocommerce_order_items_wrapper table.woocommerce_order_items .line_cost .wc-order-item-taxes,#woocommerce-order-items .woocommerce_order_items_wrapper table.woocommerce_order_items .line_cost del,#woocommerce-order-items .woocommerce_order_items_wrapper table.woocommerce_order_items .line_cost small.times,#woocommerce-order-items .woocommerce_order_items_wrapper table.woocommerce_order_items .line_tax .wc-order-item-discount,#woocommerce-order-items .woocommerce_order_items_wrapper table.woocommerce_order_items .line_tax .wc-order-item-refund-fields,#woocommerce-order-items .woocommerce_order_items_wrapper table.woocommerce_order_items .line_tax .wc-order-item-taxes,#woocommerce-order-items .woocommerce_order_items_wrapper table.woocommerce_order_items .line_tax del,#woocommerce-order-items .woocommerce_order_items_wrapper table.woocommerce_order_items .line_tax small.times,#woocommerce-order-items .woocommerce_order_items_wrapper table.woocommerce_order_items .quantity .wc-order-item-discount,#woocommerce-order-items .woocommerce_order_items_wrapper table.woocommerce_order_items .quantity .wc-order-item-refund-fields,#woocommerce-order-items .woocommerce_order_items_wrapper table.woocommerce_order_items .quantity .wc-order-item-taxes,#woocommerce-order-items .woocommerce_order_items_wrapper table.woocommerce_order_items .quantity del,#woocommerce-order-items .woocommerce_order_items_wrapper table.woocommerce_order_items .quantity small.times,#woocommerce-order-items .woocommerce_order_items_wrapper table.woocommerce_order_items .tax .wc-order-item-discount,#woocommerce-order-items .woocommerce_order_items_wrapper table.woocommerce_order_items .tax .wc-order-item-refund-fields,#woocommerce-order-items .woocommerce_order_items_wrapper table.woocommerce_order_items .tax .wc-order-item-taxes,#woocommerce-order-items .woocommerce_order_items_wrapper table.woocommerce_order_items .tax del,#woocommerce-order-items .woocommerce_order_items_wrapper table.woocommerce_order_items .tax small.times,#woocommerce-order-items .woocommerce_order_items_wrapper table.woocommerce_order_items .tax_class .wc-order-item-discount,#woocommerce-order-items .woocommerce_order_items_wrapper table.woocommerce_order_items .tax_class .wc-order-item-refund-fields,#woocommerce-order-items .woocommerce_order_items_wrapper table.woocommerce_order_items .tax_class .wc-order-item-taxes,#woocommerce-order-items .woocommerce_order_items_wrapper table.woocommerce_order_items .tax_class del,#woocommerce-order-items .woocommerce_order_items_wrapper table.woocommerce_order_items .tax_class small.times{font-size:.92em!important;color:#c8c8c8}#woocommerce-order-items .woocommerce_order_items_wrapper table.woocommerce_order_items .cost .wc-order-item-refund-fields,#woocommerce-order-items .woocommerce_order_items_wrapper table.woocommerce_order_items .cost .wc-order-item-taxes,#woocommerce-order-items .woocommerce_order_items_wrapper table.woocommerce_order_items .item_cost .wc-order-item-refund-fields,#woocommerce-order-items .woocommerce_order_items_wrapper table.woocommerce_order_items .item_cost .wc-order-item-taxes,#woocommerce-order-items .woocommerce_order_items_wrapper table.woocommerce_order_items .line_cost .wc-order-item-refund-fields,#woocommerce-order-items .woocommerce_order_items_wrapper table.woocommerce_order_items .line_cost .wc-order-item-taxes,#woocommerce-order-items .woocommerce_order_items_wrapper table.woocommerce_order_items .line_tax .wc-order-item-refund-fields,#woocommerce-order-items .woocommerce_order_items_wrapper table.woocommerce_order_items .line_tax .wc-order-item-taxes,#woocommerce-order-items .woocommerce_order_items_wrapper table.woocommerce_order_items .quantity .wc-order-item-refund-fields,#woocommerce-order-items .woocommerce_order_items_wrapper table.woocommerce_order_items .quantity .wc-order-item-taxes,#woocommerce-order-items .woocommerce_order_items_wrapper table.woocommerce_order_items .tax .wc-order-item-refund-fields,#woocommerce-order-items .woocommerce_order_items_wrapper table.woocommerce_order_items .tax .wc-order-item-taxes,#woocommerce-order-items .woocommerce_order_items_wrapper table.woocommerce_order_items .tax_class .wc-order-item-refund-fields,#woocommerce-order-items .woocommerce_order_items_wrapper table.woocommerce_order_items .tax_class .wc-order-item-taxes{margin:0}#woocommerce-order-items .woocommerce_order_items_wrapper table.woocommerce_order_items .cost .wc-order-item-refund-fields label,#woocommerce-order-items .woocommerce_order_items_wrapper table.woocommerce_order_items .cost .wc-order-item-taxes label,#woocommerce-order-items .woocommerce_order_items_wrapper table.woocommerce_order_items .item_cost .wc-order-item-refund-fields label,#woocommerce-order-items .woocommerce_order_items_wrapper table.woocommerce_order_items .item_cost .wc-order-item-taxes label,#woocommerce-order-items .woocommerce_order_items_wrapper table.woocommerce_order_items .line_cost .wc-order-item-refund-fields label,#woocommerce-order-items .woocommerce_order_items_wrapper table.woocommerce_order_items .line_cost .wc-order-item-taxes label,#woocommerce-order-items .woocommerce_order_items_wrapper table.woocommerce_order_items .line_tax .wc-order-item-refund-fields label,#woocommerce-order-items .woocommerce_order_items_wrapper table.woocommerce_order_items .line_tax .wc-order-item-taxes label,#woocommerce-order-items .woocommerce_order_items_wrapper table.woocommerce_order_items .quantity .wc-order-item-refund-fields label,#woocommerce-order-items .woocommerce_order_items_wrapper table.woocommerce_order_items .quantity .wc-order-item-taxes label,#woocommerce-order-items .woocommerce_order_items_wrapper table.woocommerce_order_items .tax .wc-order-item-refund-fields label,#woocommerce-order-items .woocommerce_order_items_wrapper table.woocommerce_order_items .tax .wc-order-item-taxes label,#woocommerce-order-items .woocommerce_order_items_wrapper table.woocommerce_order_items .tax_class .wc-order-item-refund-fields label,#woocommerce-order-items .woocommerce_order_items_wrapper table.woocommerce_order_items .tax_class .wc-order-item-taxes label{display:block}#woocommerce-order-items .woocommerce_order_items_wrapper table.woocommerce_order_items .cost .wc-order-item-discount,#woocommerce-order-items .woocommerce_order_items_wrapper table.woocommerce_order_items .item_cost .wc-order-item-discount,#woocommerce-order-items .woocommerce_order_items_wrapper table.woocommerce_order_items .line_cost .wc-order-item-discount,#woocommerce-order-items .woocommerce_order_items_wrapper table.woocommerce_order_items .line_tax .wc-order-item-discount,#woocommerce-order-items .woocommerce_order_items_wrapper table.woocommerce_order_items .quantity .wc-order-item-discount,#woocommerce-order-items .woocommerce_order_items_wrapper table.woocommerce_order_items .tax .wc-order-item-discount,#woocommerce-order-items .woocommerce_order_items_wrapper table.woocommerce_order_items .tax_class .wc-order-item-discount{display:block;margin-top:.5em}#woocommerce-order-items .woocommerce_order_items_wrapper table.woocommerce_order_items .cost small.times,#woocommerce-order-items .woocommerce_order_items_wrapper table.woocommerce_order_items .item_cost small.times,#woocommerce-order-items .woocommerce_order_items_wrapper table.woocommerce_order_items .line_cost small.times,#woocommerce-order-items .woocommerce_order_items_wrapper table.woocommerce_order_items .line_tax small.times,#woocommerce-order-items .woocommerce_order_items_wrapper table.woocommerce_order_items .quantity small.times,#woocommerce-order-items .woocommerce_order_items_wrapper table.woocommerce_order_items .tax small.times,#woocommerce-order-items .woocommerce_order_items_wrapper table.woocommerce_order_items .tax_class small.times{margin-right:.25em}#woocommerce-order-items .woocommerce_order_items_wrapper table.woocommerce_order_items .quantity{text-align:center}#woocommerce-order-items .woocommerce_order_items_wrapper table.woocommerce_order_items .quantity input{text-align:center;width:50px}#woocommerce-order-items .woocommerce_order_items_wrapper table.woocommerce_order_items span.subtotal{opacity:.5}#woocommerce-order-items .woocommerce_order_items_wrapper table.woocommerce_order_items td.tax_class,#woocommerce-order-items .woocommerce_order_items_wrapper table.woocommerce_order_items th.tax_class{text-align:left}#woocommerce-order-items .woocommerce_order_items_wrapper table.woocommerce_order_items .calculated{border-color:#ae8ca2;border-style:dotted}#woocommerce-order-items .woocommerce_order_items_wrapper table.woocommerce_order_items table.meta{width:100%}#woocommerce-order-items .woocommerce_order_items_wrapper table.woocommerce_order_items table.display_meta,#woocommerce-order-items .woocommerce_order_items_wrapper table.woocommerce_order_items table.meta{margin:.5em 0 0;font-size:.92em!important;color:#c8c8c8}#woocommerce-order-items .woocommerce_order_items_wrapper table.woocommerce_order_items tr.fee .thumb div:before,#woocommerce-order-items .woocommerce_order_items_wrapper table.woocommerce_order_items tr.refund .thumb div:before,#woocommerce-order-items .woocommerce_order_items_wrapper table.woocommerce_order_items tr.shipping .thumb div:before{color:#ccc;top:0;left:0;speak:none;font-weight:400;font-variant:normal;text-transform:none;-webkit-font-smoothing:antialiased;text-align:center;font-family:WooCommerce}#woocommerce-order-items .woocommerce_order_items_wrapper table.woocommerce_order_items table.display_meta tr th,#woocommerce-order-items .woocommerce_order_items_wrapper table.woocommerce_order_items table.meta tr th{border:0;padding:0 4px .5em 0;line-height:1.5em;width:20%}#woocommerce-order-items .woocommerce_order_items_wrapper table.woocommerce_order_items table.display_meta tr td,#woocommerce-order-items .woocommerce_order_items_wrapper table.woocommerce_order_items table.meta tr td{padding:0 4px .5em 0;border:0;line-height:1.5em}#woocommerce-order-items .woocommerce_order_items_wrapper table.woocommerce_order_items table.display_meta tr td input,#woocommerce-order-items .woocommerce_order_items_wrapper table.woocommerce_order_items table.meta tr td input{width:100%;margin:0;position:relative;border-bottom:0;box-shadow:none}#woocommerce-order-items .woocommerce_order_items_wrapper table.woocommerce_order_items .refund_by,ul.order_notes li p.meta .exact-date{border-bottom:1px dotted #999}#woocommerce-order-items .woocommerce_order_items_wrapper table.woocommerce_order_items table.display_meta tr td textarea,#woocommerce-order-items .woocommerce_order_items_wrapper table.woocommerce_order_items table.meta tr td textarea{width:100%;height:4em;margin:0;box-shadow:none}#woocommerce-order-items .woocommerce_order_items_wrapper table.woocommerce_order_items table.display_meta tr td input:focus+textarea,#woocommerce-order-items .woocommerce_order_items_wrapper table.woocommerce_order_items table.meta tr td input:focus+textarea{border-top-color:#999}#woocommerce-order-items .woocommerce_order_items_wrapper table.woocommerce_order_items table.display_meta tr td p,#woocommerce-order-items .woocommerce_order_items_wrapper table.woocommerce_order_items table.meta tr td p{margin:0 0 .5em;line-height:1.5em}#woocommerce-order-items .woocommerce_order_items_wrapper table.woocommerce_order_items table.display_meta tr td p:last-child,#woocommerce-order-items .woocommerce_order_items_wrapper table.woocommerce_order_items table.meta tr td p:last-child{margin:0}#woocommerce-order-items .woocommerce_order_items_wrapper table.woocommerce_order_items tr.fee .thumb div{display:block;text-indent:-9999px;position:relative;height:1em;width:1em;font-size:1.5em;line-height:1em;vertical-align:middle;margin:0}#woocommerce-order-items .woocommerce_order_items_wrapper table.woocommerce_order_items tr.fee .thumb div:before{line-height:1;margin:0;text-indent:0;position:absolute;width:100%;height:100%;content:""}#woocommerce-order-items .woocommerce_order_items_wrapper table.woocommerce_order_items tr.refund .thumb div{display:block;text-indent:-9999px;position:relative;height:1em;width:1em;font-size:1.5em;line-height:1em;vertical-align:middle;margin:0}#woocommerce-order-items .woocommerce_order_items_wrapper table.woocommerce_order_items tr.refund .thumb div:before{line-height:1;margin:0;text-indent:0;position:absolute;width:100%;height:100%;content:""}#woocommerce-order-items .woocommerce_order_items_wrapper table.woocommerce_order_items tr.shipping .thumb div{display:block;text-indent:-9999px;position:relative;height:1em;width:1em;font-size:1.5em;line-height:1em;vertical-align:middle;margin:0}#woocommerce-order-items .woocommerce_order_items_wrapper table.woocommerce_order_items tr.shipping .thumb div:before{line-height:1;margin:0;text-indent:0;position:absolute;width:100%;height:100%;content:""}#woocommerce-order-items .woocommerce_order_items_wrapper table.woocommerce_order_items tr.shipping .shipping_method,#woocommerce-order-items .woocommerce_order_items_wrapper table.woocommerce_order_items tr.shipping .shipping_method_name{width:100%;margin:0 0 .5em}#woocommerce-order-items .woocommerce_order_items_wrapper table.woocommerce_order_items th.line_tax{white-space:nowrap}#woocommerce-order-items .woocommerce_order_items_wrapper table.woocommerce_order_items td.line_tax .delete-order-tax,#woocommerce-order-items .woocommerce_order_items_wrapper table.woocommerce_order_items th.line_tax .delete-order-tax{display:block;text-indent:-9999px;position:relative;height:1em;width:1em;font-size:12px;visibility:hidden;float:right;margin:2px -16px 0 0}#woocommerce-order-items .woocommerce_order_items_wrapper table.woocommerce_order_items td.line_tax .delete-order-tax:before,#woocommerce-order-items .woocommerce_order_items_wrapper table.woocommerce_order_items th.line_tax .delete-order-tax:before{font-family:WooCommerce;speak:none;font-weight:400;font-variant:normal;text-transform:none;line-height:1;-webkit-font-smoothing:antialiased;margin:0;text-indent:0;position:absolute;top:0;left:0;width:100%;height:100%;text-align:center;content:"";color:#fff;background-color:#000;-webkit-border-radius:100%;border-radius:100%;border:1px solid #000;box-shadow:0 1px 2px rgba(0,0,0,.2)}#woocommerce-order-items .woocommerce_order_items_wrapper table.woocommerce_order_items td.line_tax .delete-order-tax:hover:before,#woocommerce-order-items .woocommerce_order_items_wrapper table.woocommerce_order_items th.line_tax .delete-order-tax:hover:before{border-color:#a00;background-color:#a00}#woocommerce-order-items .woocommerce_order_items_wrapper table.woocommerce_order_items td.line_tax:hover .delete-order-tax,#woocommerce-order-items .woocommerce_order_items_wrapper table.woocommerce_order_items th.line_tax:hover .delete-order-tax{visibility:visible}#woocommerce-order-items .woocommerce_order_items_wrapper table.woocommerce_order_items small.refunded{display:block;color:#a00;white-space:nowrap;margin-top:.5em}#woocommerce-order-items .woocommerce_order_items_wrapper table.woocommerce_order_items small.refunded:before{font-family:Dashicons;speak:none;font-weight:400;font-variant:normal;text-transform:none;-webkit-font-smoothing:antialiased;text-indent:0;width:100%;height:100%;text-align:center;content:"";position:relative;top:auto;left:auto;margin:-1px 4px 0 0;vertical-align:middle;line-height:1em}#woocommerce-order-items .wc-order-edit-line-item{padding-left:0}#woocommerce-order-items .wc-order-edit-line-item-actions{width:44px;text-align:right;padding-left:0;vertical-align:middle}#woocommerce-order-items .wc-order-edit-line-item-actions a{color:#ccc;display:inline-block;cursor:pointer;padding:0 0 .5em;margin:0 0 0 12px;vertical-align:middle;text-decoration:none;line-height:16px;width:16px;overflow:hidden}#woocommerce-order-items .wc-order-edit-line-item-actions a:before{margin:0;padding:0;font-size:16px;width:16px;height:16px}#woocommerce-order-items .wc-order-edit-line-item-actions .delete-order-item:before,#woocommerce-order-items .wc-order-edit-line-item-actions .delete_refund:before,#woocommerce-order-items .wc-order-edit-line-item-actions .edit-order-item:before{font-family:Dashicons;-webkit-font-smoothing:antialiased;text-indent:0;top:0;left:0;width:100%;height:100%;margin:0;text-align:center;position:relative;speak:none;font-weight:400;font-variant:normal;text-transform:none;line-height:1}#woocommerce-order-items .wc-order-edit-line-item-actions a:hover:before{color:#999}#woocommerce-order-items .wc-order-edit-line-item-actions a:first-child{margin-left:0}#woocommerce-order-items .wc-order-edit-line-item-actions .edit-order-item:before{content:""}#woocommerce-order-items .wc-order-edit-line-item-actions .delete-order-item:before,#woocommerce-order-items .wc-order-edit-line-item-actions .delete_refund:before{content:""}#woocommerce-order-items .wc-order-edit-line-item-actions .delete-order-item:hover:before,#woocommerce-order-items .wc-order-edit-line-item-actions .delete_refund:hover:before{color:#a00}#woocommerce-order-items tbody tr .wc-order-edit-line-item-actions{visibility:hidden}#woocommerce-order-items tbody tr:hover .wc-order-edit-line-item-actions{visibility:visible}#woocommerce-order-items .wc-order-totals .wc-order-edit-line-item-actions{width:1.5em;visibility:visible!important}#woocommerce-order-items .wc-order-totals .wc-order-edit-line-item-actions a{padding:0}#woocommerce-order-downloads .buttons{float:left;padding:0;margin:0;vertical-align:top}#woocommerce-order-downloads .buttons .add_item_id,#woocommerce-order-downloads .buttons .select2-container{width:400px!important;margin-right:9px;vertical-align:top;float:left}#woocommerce-order-downloads .buttons button{margin:2px 0 0}#woocommerce-order-downloads h3 small{color:#999}#poststuff #woocommerce-order-actions .inside{margin:0;padding:0}#poststuff #woocommerce-order-actions .inside ul.order_actions li{padding:6px 10px;box-sizing:border-box}#poststuff #woocommerce-order-actions .inside ul.order_actions li:last-child{border-bottom:0}#poststuff #woocommerce-order-notes .inside{margin:0;padding:0}#poststuff #woocommerce-order-notes .inside ul.order_notes li{padding:0 10px}#woocommerce_customers p.search-box{margin:6px 0 4px;float:left}#woocommerce_customers .tablenav{float:right;clear:none}.widefat.customers td{vertical-align:middle;padding:4px 7px}.widefat .column-order_title{width:15%}.widefat .column-order_title time{display:block;color:#999;margin:3px 0}.widefat .column-orders,.widefat .column-paying,.widefat .column-spent{text-align:center;width:8%}.widefat .column-last_order{width:11%}.widefat .column-order_actions,.widefat .column-user_actions,.widefat .column-wc_actions{width:110px}.widefat .column-order_actions a.button,.widefat .column-user_actions a.button,.widefat .column-wc_actions a.button{float:left;margin:0 4px 2px 0;cursor:pointer;padding:3px 4px;height:auto}.widefat .column-order_actions a.button img,.widefat .column-user_actions a.button img,.widefat .column-wc_actions a.button img{display:block;width:12px;height:auto}.widefat small.meta{display:block;color:#999;font-size:inherit;margin:3px 0}.widefat .column-order_date,.widefat .column-order_total{width:9%}.widefat .column-order_status{width:45px;text-align:center}.widefat .column-order_status mark{display:block;text-indent:-9999px;position:relative;height:1em;width:1em;background:0 0;font-size:1.4em;margin:0 auto}.widefat .column-order_status mark.cancelled:after,.widefat .column-order_status mark.completed:after,.widefat .column-order_status mark.failed:after,.widefat .column-order_status mark.on-hold:after,.widefat .column-order_status mark.pending:after,.widefat .column-order_status mark.processing:after,.widefat .column-order_status mark.refunded:after{font-family:WooCommerce;speak:none;font-weight:400;font-variant:normal;text-transform:none;line-height:1;-webkit-font-smoothing:antialiased;margin:0;text-indent:0;position:absolute;top:0;left:0;width:100%;height:100%;text-align:center}.column-customer_message .note-on:after,.column-order_notes .note-on:after{speak:none;font-weight:400;font-variant:normal;text-transform:none;-webkit-font-smoothing:antialiased;top:0;left:0;text-align:center;line-height:16px;font-family:WooCommerce}.widefat .column-order_status mark.pending:after{content:"\e012";color:#ffba00}.widefat .column-order_status mark.completed:after{content:"\e015";color:#2ea2cc}.widefat .column-order_status mark.on-hold:after{content:"\e033";color:#999}.widefat .column-order_status mark.failed:after{content:"\e016";color:#d0c21f}.widefat .column-order_status mark.cancelled:after{content:"\e013";color:#a00}.widefat .column-order_status mark.processing:after{content:"\e011";color:#73a724}.widefat .column-order_status mark.refunded:after{content:"\e014";color:#999}.widefat td.column-order_status{padding-top:9px}.column-customer_message .note-on{display:block;text-indent:-9999px;position:relative;height:1em;width:1em;margin:0 auto;color:#999}.column-customer_message .note-on:after{margin:0;text-indent:0;position:absolute;width:100%;height:100%;content:""}.column-order_notes .note-on{display:block;text-indent:-9999px;position:relative;height:1em;width:1em;margin:0 auto;color:#999}.column-order_notes .note-on:after{margin:0;text-indent:0;position:absolute;width:100%;height:100%;content:""}.order_actions .complete,.order_actions .processing,.order_actions .view{display:block;text-indent:-9999px;position:relative;padding:0!important;height:2em!important;width:2em}.order_actions .processing:after{font-family:WooCommerce;speak:none;font-weight:400;font-variant:normal;text-transform:none;-webkit-font-smoothing:antialiased;margin:0;text-indent:0;position:absolute;top:0;left:0;width:100%;height:100%;text-align:center;content:"";line-height:1.85}.order_actions .complete:after,.order_actions .view:after{font-family:Dashicons;text-indent:0;position:absolute;width:100%;height:100%;left:0;line-height:1.85;margin:0;text-align:center;speak:none;font-variant:normal;text-transform:none;-webkit-font-smoothing:antialiased;top:0;font-weight:400}.order_actions .complete:after{content:""}.order_actions .view:after{content:""}.user_actions .edit,.user_actions .link,.user_actions .refresh,.user_actions .view{display:block;text-indent:-9999px;position:relative;padding:0!important;height:2em!important;width:2em}.user_actions .edit:after,.user_actions .link:after,.user_actions .refresh:after,.user_actions .view:after{font-family:WooCommerce;speak:none;font-weight:400;font-variant:normal;text-transform:none;-webkit-font-smoothing:antialiased;margin:0;text-indent:0;position:absolute;top:0;left:0;width:100%;height:100%;text-align:center;content:"";line-height:1.85}.user_actions .edit:after{font-family:Dashicons;content:"\f464"}.user_actions .link:after{content:"\e00d"}.user_actions .view:after{content:"\e010"}.user_actions .refresh:after{content:"\e031"}.attributes-table td,.attributes-table th{width:15%;vertical-align:top}.attributes-table .attribute-terms{width:32%}.attributes-table .attribute-actions{width:2em}.attributes-table .attribute-actions .configure-terms{display:block;text-indent:-9999px;position:relative;padding:0!important;height:2em!important;width:2em}.attributes-table .attribute-actions .configure-terms:after{speak:none;font-weight:400;font-variant:normal;text-transform:none;-webkit-font-smoothing:antialiased;margin:0;text-indent:0;position:absolute;top:0;left:0;width:100%;height:100%;text-align:center;content:"";font-family:Dashicons;line-height:1.85}ul.order_notes{padding:2px 0 0}ul.order_notes li .note_content{padding:10px;background:#efefef;position:relative}ul.order_notes li .note_content p{margin:0;padding:0;word-wrap:break-word}ul.order_notes li p.meta{padding:10px;color:#999;margin:0;font-size:11px}ul.order_notes li a.delete_note{color:#a00}table.wp-list-table .row-actions,table.wp-list-table span.na{color:#999}ul.order_notes li .note_content:after{content:"";display:block;position:absolute;bottom:-10px;left:20px;width:0;height:0;border-width:10px 10px 0 0;border-style:solid;border-color:#efefef transparent}ul.order_notes li.customer-note .note_content{background:#A7CEDC}ul.order_notes li.customer-note .note_content:after{border-color:#A7CEDC transparent}ul.order_notes li.system-note .note_content{background:#d7cad2}ul.order_notes li.system-note .note_content:after{border-color:#d7cad2 transparent}.add_note{border-top:1px solid #ddd;padding:10px 10px 0}.add_note h4{margin-top:5px!important}.add_note #add_order_note{width:100%;height:50px}table.wp-list-table .column-thumb{width:52px;text-align:center;white-space:nowrap}table.wp-list-table .column-name{width:22%}table.wp-list-table .column-product_cat,table.wp-list-table .column-product_tag{width:11%!important}table.wp-list-table .column-featured,table.wp-list-table .column-product_type{width:48px;text-align:left!important}table.wp-list-table .column-customer_message,table.wp-list-table .column-order_notes{width:48px;text-align:center}table.wp-list-table .column-customer_message img,table.wp-list-table .column-order_notes img{margin:0 auto;padding-top:0!important}table.wp-list-table .manage-column.column-featured img,table.wp-list-table .manage-column.column-product_type img{padding-left:2px}table.wp-list-table .column-price .woocommerce-price-suffix{display:none}table.wp-list-table img{margin:1px 2px}table.wp-list-table td.column-thumb img{margin:0;width:auto;height:auto;max-width:40px;max-height:40px;vertical-align:middle}table.wp-list-table .column-is_in_stock{text-align:left!important}table.wp-list-table span.wc-featured,table.wp-list-table span.wc-image,table.wp-list-table span.wc-type{display:block;text-indent:-9999px;position:relative;height:1em;width:1em;margin:0 auto}table.wp-list-table span.wc-featured:before,table.wp-list-table span.wc-image:before,table.wp-list-table span.wc-type:before{font-family:Dashicons;speak:none;font-weight:400;font-variant:normal;text-transform:none;line-height:1;-webkit-font-smoothing:antialiased;margin:0;text-indent:0;position:absolute;top:0;left:0;width:100%;height:100%;text-align:center;content:""}table.wp-list-table span.wc-featured{margin:0;cursor:pointer}table.wp-list-table span.wc-featured:before{content:"\f155"}table.wp-list-table span.wc-featured.not-featured:before{content:"\f154"}table.wp-list-table td.column-featured span.wc-featured{font-size:1.6em}table.wp-list-table span.wc-type{margin:0}table.wp-list-table span.wc-type:before{font-family:WooCommerce;content:"\e006"}table.wp-list-table .notes_head:after,table.wp-list-table .order-notes_head:after,table.wp-list-table .status_head:after,table.wp-list-table span.product-type:before{font-family:WooCommerce;text-align:center;line-height:1;top:0;speak:none;font-variant:normal;text-transform:none;-webkit-font-smoothing:antialiased;left:0}table.wp-list-table span.product-type{display:block;text-indent:-9999px;position:relative;height:1em;width:1em;font-size:1.6em}table.wp-list-table span.product-type:before{font-weight:400;margin:0;text-indent:0;position:absolute;width:100%;height:100%;content:""}table.wp-list-table span.product-type.grouped:before{content:"\e002"}table.wp-list-table span.product-type.external:before{content:"\e034"}table.wp-list-table span.product-type.variable:before{content:"\e003"}table.wp-list-table span.product-type.downloadable:before{content:"\e001"}table.wp-list-table span.product-type.virtual:before{content:"\e000"}table.wp-list-table mark.instock{font-weight:700;color:#7ad03a;background:0 0;line-height:1}table.wp-list-table mark.outofstock{font-weight:700;color:#a44;background:0 0;line-height:1}table.wp-list-table .notes_head,table.wp-list-table .order-notes_head,table.wp-list-table .status_head{display:block;text-indent:-9999px;position:relative;height:1em;width:1em;margin:0 auto}table.wp-list-table .notes_head:after,table.wp-list-table .order-notes_head:after,table.wp-list-table .status_head:after{font-weight:400;margin:0;text-indent:0;position:absolute;width:100%;height:100%}table.wc_emails .wc-email-settings-table-name,table.wc_emails td.name,table.wc_gateways .wc-email-settings-table-name,table.wc_gateways td.name,table.wc_shipping .wc-email-settings-table-name,table.wc_shipping td.name{font-weight:700}table.wp-list-table .order-notes_head:after{content:"\e028"}table.wp-list-table .notes_head:after{content:"\e026"}table.wp-list-table .status_head:after{content:"\e011"}table.wp-list-table .column-order_items{width:12%}table.wp-list-table .column-order_items table.order_items{width:100%;margin:3px 0 0;padding:0;display:none}table.wp-list-table .column-order_items table.order_items td{border:0;margin:0;padding:0 0 3px}table.wp-list-table .column-order_items table.order_items td.qty{color:#999;padding-right:6px;text-align:left}mark.notice{background:#fff;color:#a00;margin:0 0 0 10px}a.export_rates,a.import_rates{float:right;margin-left:9px;margin-top:-2px;margin-bottom:0}#rates-search{float:right}#rates-search input.wc-tax-rates-search-field{padding:4px 8px;font-size:1.2em}#rates-pagination{float:right;margin-right:.5em}#rates-pagination .tablenav{margin:0}table.wc_input_table,table.wc_tax_rates{width:100%}table.wc_input_table span.tips,table.wc_tax_rates span.tips{color:#2ea2cc}table.wc_input_table td,table.wc_tax_rates td{padding:0;border-right:1px solid #DFDFDF;border-bottom:1px solid #DFDFDF;border-top:0;background:#fff}table.wc_input_table td input[type=text],table.wc_input_table td input[type=number],table.wc_tax_rates td input[type=text],table.wc_tax_rates td input[type=number]{width:100%;padding:5px 7px;margin:0;border:0;background:0 0}table.wc_input_table td.apply_to_shipping,table.wc_input_table td.compound,table.wc_tax_rates td.apply_to_shipping,table.wc_tax_rates td.compound{padding:5px 7px;vertical-align:middle}table.wc_input_table td.apply_to_shipping input,table.wc_input_table td.compound input,table.wc_tax_rates td.apply_to_shipping input,table.wc_tax_rates td.compound input{width:auto;padding:0}table.wc_input_table td:last-child,table.wc_tax_rates td:last-child{border-right:0}table.wc_input_table tr.current td,table.wc_tax_rates tr.current td{background-color:#fefbcc}table.wc_input_table .cost,table.wc_input_table .cost input,table.wc_input_table .item_cost,table.wc_input_table .item_cost input,table.wc_tax_rates .cost,table.wc_tax_rates .cost input,table.wc_tax_rates .item_cost,table.wc_tax_rates .item_cost input{text-align:right}table.wc_input_table th.sort,table.wc_tax_rates th.sort{width:17px;padding:0 4px}table.wc_input_table td.sort,table.wc_tax_rates td.sort{padding:0 4px}table.wc_input_table .ui-sortable:not(.ui-sortable-disabled) td.sort,table.wc_tax_rates .ui-sortable:not(.ui-sortable-disabled) td.sort{cursor:move;background:#f9f9f9;text-align:center;vertical-align:middle}table.wc_input_table .ui-sortable:not(.ui-sortable-disabled) td.sort:before,table.wc_tax_rates .ui-sortable:not(.ui-sortable-disabled) td.sort:before{content:"\f333";font-family:Dashicons;text-align:center;line-height:1;color:#999;display:block;width:17px;float:left;height:100%}table.wc_input_table .ui-sortable:not(.ui-sortable-disabled) td.sort:hover:before,table.wc_tax_rates .ui-sortable:not(.ui-sortable-disabled) td.sort:hover:before{color:#333}table.wc_input_table .button,table.wc_tax_rates .button{float:left;margin-right:5px}table.wc_input_table .export,table.wc_input_table .import,table.wc_tax_rates .export,table.wc_tax_rates .import{float:right;margin-right:0;margin-left:5px}table.wc_input_table span.tips,table.wc_tax_rates span.tips{padding:0 3px}table.wc_input_table .pagination,table.wc_tax_rates .pagination{float:right}table.wc_input_table .pagination .button,table.wc_tax_rates .pagination .button{margin-left:5px;margin-right:0}table.wc_input_table .pagination .current,table.wc_tax_rates .pagination .current{background:#bbb;text-shadow:none}table.wc_input_table tfoot th,table.wc_tax_rates tfoot th{padding-left:20px;padding-right:20px}table.wc_input_table tr:last-child td,table.wc_tax_rates tr:last-child td{border-bottom:0}table.wc_emails,table.wc_gateways,table.wc_shipping{position:relative}table.wc_emails td,table.wc_gateways td,table.wc_shipping td{vertical-align:middle;padding:7px;line-height:2em}table.wc_emails tr:nth-child(odd) td,table.wc_gateways tr:nth-child(odd) td,table.wc_shipping tr:nth-child(odd) td{background:#f9f9f9}table.wc_emails th,table.wc_gateways th,table.wc_shipping th{padding:9px 7px!important;vertical-align:middle}table.wc_emails .settings,table.wc_gateways .settings,table.wc_shipping .settings{text-align:right}table.wc_emails .default,table.wc_emails .radio,table.wc_emails .status,table.wc_gateways .default,table.wc_gateways .radio,table.wc_gateways .status,table.wc_shipping .default,table.wc_shipping .radio,table.wc_shipping .status{text-align:center}table.wc_emails .default .tips,table.wc_emails .radio .tips,table.wc_emails .status .tips,table.wc_gateways .default .tips,table.wc_gateways .radio .tips,table.wc_gateways .status .tips,table.wc_shipping .default .tips,table.wc_shipping .radio .tips,table.wc_shipping .status .tips{margin:0 auto}table.wc_emails .default input,table.wc_emails .radio input,table.wc_emails .status input,table.wc_gateways .default input,table.wc_gateways .radio input,table.wc_gateways .status input,table.wc_shipping .default input,table.wc_shipping .radio input,table.wc_shipping .status input{margin:0}table.wc_emails th.sort,table.wc_gateways th.sort,table.wc_shipping th.sort{width:28px;padding:0}table.wc_emails td.sort,table.wc_gateways td.sort,table.wc_shipping td.sort{padding:0 7px;cursor:move;text-align:center;vertical-align:middle}table.wc_emails td.sort:before,table.wc_gateways td.sort:before,table.wc_shipping td.sort:before{content:"\f333";font-family:Dashicons;text-align:center;line-height:1;color:#ccc;display:block;width:17px;float:left;height:100%}table.wc_emails .wc-email-settings-table-name span,table.wc_gateways .wc-email-settings-table-name span,table.wc_shipping .wc-email-settings-table-name span{font-weight:400;color:#999;margin:0 0 0 4px!important}table.wc_emails .wc-email-settings-table-status,table.wc_gateways .wc-email-settings-table-status,table.wc_shipping .wc-email-settings-table-status{text-align:center;width:1em}table.wc_emails .wc-email-settings-table-status .tips,table.wc_gateways .wc-email-settings-table-status .tips,table.wc_shipping .wc-email-settings-table-status .tips{margin:0 auto}table.wc_emails .wc-email-settings-table-actions a,table.wc_gateways .wc-email-settings-table-actions a,table.wc_shipping .wc-email-settings-table-actions a{display:block;text-indent:-9999px;position:relative;padding:0!important;height:2em!important;width:2em}table.wc_emails .wc-email-settings-table-actions a:after,table.wc_gateways .wc-email-settings-table-actions a:after,table.wc_shipping .wc-email-settings-table-actions a:after{speak:none;font-weight:400;font-variant:normal;text-transform:none;-webkit-font-smoothing:antialiased;margin:0;text-indent:0;position:absolute;top:0;left:0;width:100%;height:100%;text-align:center;content:"";font-family:Dashicons;line-height:1.85}table.wc-shipping-classes td,table.wc-shipping-classes th,table.wc-shipping-zone-methods td,table.wc-shipping-zone-methods th,table.wc-shipping-zones td,table.wc-shipping-zones th{vertical-align:top;line-height:24px;padding:1em;font-size:14px;background:#fff}table.wc-shipping-classes td li,table.wc-shipping-classes th li,table.wc-shipping-zone-methods td li,table.wc-shipping-zone-methods th li,table.wc-shipping-zones td li,table.wc-shipping-zones th li{line-height:24px;font-size:14px}table.wc-shipping-classes td.wc-shipping-zone-method-blank-state,table.wc-shipping-classes td.wc-shipping-zones-blank-state,table.wc-shipping-zone-methods td.wc-shipping-zone-method-blank-state,table.wc-shipping-zone-methods td.wc-shipping-zones-blank-state,table.wc-shipping-zones td.wc-shipping-zone-method-blank-state,table.wc-shipping-zones td.wc-shipping-zones-blank-state{background:#F7F1F6!important;overflow:hidden;position:relative;padding:7.5em 7.5%;border-bottom:2px solid #EEE2EC}table.wc-shipping-classes td.wc-shipping-zone-method-blank-state li,table.wc-shipping-classes td.wc-shipping-zone-method-blank-state p,table.wc-shipping-classes td.wc-shipping-zones-blank-state li,table.wc-shipping-classes td.wc-shipping-zones-blank-state p,table.wc-shipping-zone-methods td.wc-shipping-zone-method-blank-state li,table.wc-shipping-zone-methods td.wc-shipping-zone-method-blank-state p,table.wc-shipping-zone-methods td.wc-shipping-zones-blank-state li,table.wc-shipping-zone-methods td.wc-shipping-zones-blank-state p,table.wc-shipping-zones td.wc-shipping-zone-method-blank-state li,table.wc-shipping-zones td.wc-shipping-zone-method-blank-state p,table.wc-shipping-zones td.wc-shipping-zones-blank-state li,table.wc-shipping-zones td.wc-shipping-zones-blank-state p{color:#a46497;font-size:1.5em;line-height:1.5em;margin:0 0 1em;position:relative;z-index:1;text-shadow:1px 1px 1px #fff}table.wc-shipping-classes td.wc-shipping-zone-method-blank-state li.main,table.wc-shipping-classes td.wc-shipping-zone-method-blank-state p.main,table.wc-shipping-classes td.wc-shipping-zones-blank-state li.main,table.wc-shipping-classes td.wc-shipping-zones-blank-state p.main,table.wc-shipping-zone-methods td.wc-shipping-zone-method-blank-state li.main,table.wc-shipping-zone-methods td.wc-shipping-zone-method-blank-state p.main,table.wc-shipping-zone-methods td.wc-shipping-zones-blank-state li.main,table.wc-shipping-zone-methods td.wc-shipping-zones-blank-state p.main,table.wc-shipping-zones td.wc-shipping-zone-method-blank-state li.main,table.wc-shipping-zones td.wc-shipping-zone-method-blank-state p.main,table.wc-shipping-zones td.wc-shipping-zones-blank-state li.main,table.wc-shipping-zones td.wc-shipping-zones-blank-state p.main{font-size:2em}table.wc-shipping-classes td.wc-shipping-zone-method-blank-state li,table.wc-shipping-classes td.wc-shipping-zones-blank-state li,table.wc-shipping-zone-methods td.wc-shipping-zone-method-blank-state li,table.wc-shipping-zone-methods td.wc-shipping-zones-blank-state li,table.wc-shipping-zones td.wc-shipping-zone-method-blank-state li,table.wc-shipping-zones td.wc-shipping-zones-blank-state li{margin-left:1em;list-style:circle inside}table.wc-shipping-classes td.wc-shipping-zone-method-blank-state:before,table.wc-shipping-classes td.wc-shipping-zones-blank-state:before,table.wc-shipping-zone-methods td.wc-shipping-zone-method-blank-state:before,table.wc-shipping-zone-methods td.wc-shipping-zones-blank-state:before,table.wc-shipping-zones td.wc-shipping-zone-method-blank-state:before,table.wc-shipping-zones td.wc-shipping-zones-blank-state:before{content:"\e01b";font-family:WooCommerce;text-align:center;line-height:1;color:#EEE2EC;display:block;width:1em;font-size:40em;top:50%;right:-3.75%;margin-top:-.1875em;position:absolute}table.wc-shipping-classes td.wc-shipping-zone-method-blank-state .button-primary,table.wc-shipping-classes td.wc-shipping-zones-blank-state .button-primary,table.wc-shipping-zone-methods td.wc-shipping-zone-method-blank-state .button-primary,table.wc-shipping-zone-methods td.wc-shipping-zones-blank-state .button-primary,table.wc-shipping-zones td.wc-shipping-zone-method-blank-state .button-primary,table.wc-shipping-zones td.wc-shipping-zones-blank-state .button-primary{background-color:#a16696;border-color:#a16696;-webkit-box-shadow:inset 0 1px 0 rgba(255,255,255,.2),0 1px 0 rgba(0,0,0,.15);box-shadow:inset 0 1px 0 rgba(255,255,255,.2),0 1px 0 rgba(0,0,0,.15);margin:0;opacity:1;text-shadow:0 -1px 1px #8a4f7f,1px 0 1px #8a4f7f,0 1px 1px #8a4f7f,-1px 0 1px #8a4f7f;font-size:1.5em;padding:.75em 1em;height:auto;position:relative;z-index:1}table.wc-shipping-classes .wc-shipping-zone-method-rows tr:nth-child(odd) td,table.wc-shipping-classes tbody.wc-shipping-zone-rows tr:nth-child(odd) td,table.wc-shipping-classes tr.odd td,table.wc-shipping-zone-methods .wc-shipping-zone-method-rows tr:nth-child(odd) td,table.wc-shipping-zone-methods tbody.wc-shipping-zone-rows tr:nth-child(odd) td,table.wc-shipping-zone-methods tr.odd td,table.wc-shipping-zones .wc-shipping-zone-method-rows tr:nth-child(odd) td,table.wc-shipping-zones tbody.wc-shipping-zone-rows tr:nth-child(odd) td,table.wc-shipping-zones tr.odd td{background:#f9f9f9}table.wc-shipping-classes p,table.wc-shipping-classes ul,table.wc-shipping-zone-methods p,table.wc-shipping-zone-methods ul,table.wc-shipping-zones p,table.wc-shipping-zones ul{margin:0}table.wc-shipping-classes td.wc-shipping-zone-method-sort,table.wc-shipping-classes td.wc-shipping-zone-sort,table.wc-shipping-zone-methods td.wc-shipping-zone-method-sort,table.wc-shipping-zone-methods td.wc-shipping-zone-sort,table.wc-shipping-zones td.wc-shipping-zone-method-sort,table.wc-shipping-zones td.wc-shipping-zone-sort{cursor:move;text-align:center}table.wc-shipping-classes td.wc-shipping-zone-method-sort:before,table.wc-shipping-classes td.wc-shipping-zone-sort:before,table.wc-shipping-zone-methods td.wc-shipping-zone-method-sort:before,table.wc-shipping-zone-methods td.wc-shipping-zone-sort:before,table.wc-shipping-zones td.wc-shipping-zone-method-sort:before,table.wc-shipping-zones td.wc-shipping-zone-sort:before{content:"\f333";font-family:Dashicons;text-align:center;color:#999;display:block;width:17px;float:left;height:100%;line-height:24px}table.wc-shipping-classes td.wc-shipping-zone-method-sort:hover:before,table.wc-shipping-classes td.wc-shipping-zone-sort:hover:before,table.wc-shipping-zone-methods td.wc-shipping-zone-method-sort:hover:before,table.wc-shipping-zone-methods td.wc-shipping-zone-sort:hover:before,table.wc-shipping-zones td.wc-shipping-zone-method-sort:hover:before,table.wc-shipping-zones td.wc-shipping-zone-sort:hover:before{color:#333}table.wc-shipping-classes td.wc-shipping-zone-worldwide,table.wc-shipping-zone-methods td.wc-shipping-zone-worldwide,table.wc-shipping-zones td.wc-shipping-zone-worldwide{text-align:center}table.wc-shipping-classes td.wc-shipping-zone-worldwide:before,table.wc-shipping-zone-methods td.wc-shipping-zone-worldwide:before,table.wc-shipping-zones td.wc-shipping-zone-worldwide:before{content:"\f319";font-family:dashicons;text-align:center;color:#999;display:block;width:17px;float:left;height:100%;line-height:24px}table.wc-shipping-classes .wc-shipping-zone-method-enabled .status-disabled,table.wc-shipping-classes .wc-shipping-zone-method-enabled .status-enabled,table.wc-shipping-zone-methods .wc-shipping-zone-method-enabled .status-disabled,table.wc-shipping-zone-methods .wc-shipping-zone-method-enabled .status-enabled,table.wc-shipping-zones .wc-shipping-zone-method-enabled .status-disabled,table.wc-shipping-zones .wc-shipping-zone-method-enabled .status-enabled{display:inline-block}table.wc-shipping-classes .wc-shipping-zone-method-enabled .status-disabled:before,table.wc-shipping-classes .wc-shipping-zone-method-enabled .status-enabled:before,table.wc-shipping-zone-methods .wc-shipping-zone-method-enabled .status-disabled:before,table.wc-shipping-zone-methods .wc-shipping-zone-method-enabled .status-enabled:before,table.wc-shipping-zones .wc-shipping-zone-method-enabled .status-disabled:before,table.wc-shipping-zones .wc-shipping-zone-method-enabled .status-enabled:before{line-height:inherit}table.wc-shipping-classes .wc-shipping-zone-method-enabled,table.wc-shipping-zone-methods .wc-shipping-zone-method-enabled,table.wc-shipping-zones .wc-shipping-zone-method-enabled{text-align:center}table.wc-shipping-classes .wc-shipping-zone-methods,table.wc-shipping-classes .wc-shipping-zone-name,table.wc-shipping-zone-methods .wc-shipping-zone-methods,table.wc-shipping-zone-methods .wc-shipping-zone-name,table.wc-shipping-zones .wc-shipping-zone-methods,table.wc-shipping-zones .wc-shipping-zone-name{width:25%}table.wc-shipping-classes .wc-shipping-class-description input,table.wc-shipping-classes .wc-shipping-class-description select,table.wc-shipping-classes .wc-shipping-class-description textarea,table.wc-shipping-classes .wc-shipping-class-name input,table.wc-shipping-classes .wc-shipping-class-name select,table.wc-shipping-classes .wc-shipping-class-name textarea,table.wc-shipping-classes .wc-shipping-class-slug input,table.wc-shipping-classes .wc-shipping-class-slug select,table.wc-shipping-classes .wc-shipping-class-slug textarea,table.wc-shipping-classes .wc-shipping-zone-name input,table.wc-shipping-classes .wc-shipping-zone-name select,table.wc-shipping-classes .wc-shipping-zone-name textarea,table.wc-shipping-classes .wc-shipping-zone-region input,table.wc-shipping-classes .wc-shipping-zone-region select,table.wc-shipping-classes .wc-shipping-zone-region textarea,table.wc-shipping-zone-methods .wc-shipping-class-description input,table.wc-shipping-zone-methods .wc-shipping-class-description select,table.wc-shipping-zone-methods .wc-shipping-class-description textarea,table.wc-shipping-zone-methods .wc-shipping-class-name input,table.wc-shipping-zone-methods .wc-shipping-class-name select,table.wc-shipping-zone-methods .wc-shipping-class-name textarea,table.wc-shipping-zone-methods .wc-shipping-class-slug input,table.wc-shipping-zone-methods .wc-shipping-class-slug select,table.wc-shipping-zone-methods .wc-shipping-class-slug textarea,table.wc-shipping-zone-methods .wc-shipping-zone-name input,table.wc-shipping-zone-methods .wc-shipping-zone-name select,table.wc-shipping-zone-methods .wc-shipping-zone-name textarea,table.wc-shipping-zone-methods .wc-shipping-zone-region input,table.wc-shipping-zone-methods .wc-shipping-zone-region select,table.wc-shipping-zone-methods .wc-shipping-zone-region textarea,table.wc-shipping-zones .wc-shipping-class-description input,table.wc-shipping-zones .wc-shipping-class-description select,table.wc-shipping-zones .wc-shipping-class-description textarea,table.wc-shipping-zones .wc-shipping-class-name input,table.wc-shipping-zones .wc-shipping-class-name select,table.wc-shipping-zones .wc-shipping-class-name textarea,table.wc-shipping-zones .wc-shipping-class-slug input,table.wc-shipping-zones .wc-shipping-class-slug select,table.wc-shipping-zones .wc-shipping-class-slug textarea,table.wc-shipping-zones .wc-shipping-zone-name input,table.wc-shipping-zones .wc-shipping-zone-name select,table.wc-shipping-zones .wc-shipping-zone-name textarea,table.wc-shipping-zones .wc-shipping-zone-region input,table.wc-shipping-zones .wc-shipping-zone-region select,table.wc-shipping-zones .wc-shipping-zone-region textarea{width:100%}table.wc-shipping-classes .wc-shipping-class-description .wc-shipping-zone-postcodes-toggle,table.wc-shipping-classes .wc-shipping-class-name .wc-shipping-zone-postcodes-toggle,table.wc-shipping-classes .wc-shipping-class-slug .wc-shipping-zone-postcodes-toggle,table.wc-shipping-classes .wc-shipping-zone-name .wc-shipping-zone-postcodes-toggle,table.wc-shipping-classes .wc-shipping-zone-region .wc-shipping-zone-postcodes-toggle,table.wc-shipping-zone-methods .wc-shipping-class-description .wc-shipping-zone-postcodes-toggle,table.wc-shipping-zone-methods .wc-shipping-class-name .wc-shipping-zone-postcodes-toggle,table.wc-shipping-zone-methods .wc-shipping-class-slug .wc-shipping-zone-postcodes-toggle,table.wc-shipping-zone-methods .wc-shipping-zone-name .wc-shipping-zone-postcodes-toggle,table.wc-shipping-zone-methods .wc-shipping-zone-region .wc-shipping-zone-postcodes-toggle,table.wc-shipping-zones .wc-shipping-class-description .wc-shipping-zone-postcodes-toggle,table.wc-shipping-zones .wc-shipping-class-name .wc-shipping-zone-postcodes-toggle,table.wc-shipping-zones .wc-shipping-class-slug .wc-shipping-zone-postcodes-toggle,table.wc-shipping-zones .wc-shipping-zone-name .wc-shipping-zone-postcodes-toggle,table.wc-shipping-zones .wc-shipping-zone-region .wc-shipping-zone-postcodes-toggle{float:right;margin:0;font-size:.9em;text-decoration:underline}table.wc-shipping-classes .wc-shipping-class-description .wc-shipping-zone-postcodes,table.wc-shipping-classes .wc-shipping-class-name .wc-shipping-zone-postcodes,table.wc-shipping-classes .wc-shipping-class-slug .wc-shipping-zone-postcodes,table.wc-shipping-classes .wc-shipping-zone-name .wc-shipping-zone-postcodes,table.wc-shipping-classes .wc-shipping-zone-region .wc-shipping-zone-postcodes,table.wc-shipping-zone-methods .wc-shipping-class-description .wc-shipping-zone-postcodes,table.wc-shipping-zone-methods .wc-shipping-class-name .wc-shipping-zone-postcodes,table.wc-shipping-zone-methods .wc-shipping-class-slug .wc-shipping-zone-postcodes,table.wc-shipping-zone-methods .wc-shipping-zone-name .wc-shipping-zone-postcodes,table.wc-shipping-zone-methods .wc-shipping-zone-region .wc-shipping-zone-postcodes,table.wc-shipping-zones .wc-shipping-class-description .wc-shipping-zone-postcodes,table.wc-shipping-zones .wc-shipping-class-name .wc-shipping-zone-postcodes,table.wc-shipping-zones .wc-shipping-class-slug .wc-shipping-zone-postcodes,table.wc-shipping-zones .wc-shipping-zone-name .wc-shipping-zone-postcodes,table.wc-shipping-zones .wc-shipping-zone-region .wc-shipping-zone-postcodes{display:none}table.wc-shipping-classes .wc-shipping-class-description .wc-shipping-zone-postcodes textarea,table.wc-shipping-classes .wc-shipping-class-name .wc-shipping-zone-postcodes textarea,table.wc-shipping-classes .wc-shipping-class-slug .wc-shipping-zone-postcodes textarea,table.wc-shipping-classes .wc-shipping-zone-name .wc-shipping-zone-postcodes textarea,table.wc-shipping-classes .wc-shipping-zone-region .wc-shipping-zone-postcodes textarea,table.wc-shipping-zone-methods .wc-shipping-class-description .wc-shipping-zone-postcodes textarea,table.wc-shipping-zone-methods .wc-shipping-class-name .wc-shipping-zone-postcodes textarea,table.wc-shipping-zone-methods .wc-shipping-class-slug .wc-shipping-zone-postcodes textarea,table.wc-shipping-zone-methods .wc-shipping-zone-name .wc-shipping-zone-postcodes textarea,table.wc-shipping-zone-methods .wc-shipping-zone-region .wc-shipping-zone-postcodes textarea,table.wc-shipping-zones .wc-shipping-class-description .wc-shipping-zone-postcodes textarea,table.wc-shipping-zones .wc-shipping-class-name .wc-shipping-zone-postcodes textarea,table.wc-shipping-zones .wc-shipping-class-slug .wc-shipping-zone-postcodes textarea,table.wc-shipping-zones .wc-shipping-zone-name .wc-shipping-zone-postcodes textarea,table.wc-shipping-zones .wc-shipping-zone-region .wc-shipping-zone-postcodes textarea{margin-top:1em}table.wc-shipping-classes .wc-shipping-class-description .wc-shipping-zone-postcodes .description,table.wc-shipping-classes .wc-shipping-class-name .wc-shipping-zone-postcodes .description,table.wc-shipping-classes .wc-shipping-class-slug .wc-shipping-zone-postcodes .description,table.wc-shipping-classes .wc-shipping-zone-name .wc-shipping-zone-postcodes .description,table.wc-shipping-classes .wc-shipping-zone-region .wc-shipping-zone-postcodes .description,table.wc-shipping-zone-methods .wc-shipping-class-description .wc-shipping-zone-postcodes .description,table.wc-shipping-zone-methods .wc-shipping-class-name .wc-shipping-zone-postcodes .description,table.wc-shipping-zone-methods .wc-shipping-class-slug .wc-shipping-zone-postcodes .description,table.wc-shipping-zone-methods .wc-shipping-zone-name .wc-shipping-zone-postcodes .description,table.wc-shipping-zone-methods .wc-shipping-zone-region .wc-shipping-zone-postcodes .description,table.wc-shipping-zones .wc-shipping-class-description .wc-shipping-zone-postcodes .description,table.wc-shipping-zones .wc-shipping-class-name .wc-shipping-zone-postcodes .description,table.wc-shipping-zones .wc-shipping-class-slug .wc-shipping-zone-postcodes .description,table.wc-shipping-zones .wc-shipping-zone-name .wc-shipping-zone-postcodes .description,table.wc-shipping-zones .wc-shipping-zone-region .wc-shipping-zone-postcodes .description{font-size:.9em;color:#999}table.wc-shipping-classes .wc-shipping-class-count,table.wc-shipping-zone-methods .wc-shipping-class-count,table.wc-shipping-zones .wc-shipping-class-count{text-align:center}table.wc-shipping-classes td.wc-shipping-zone-methods,table.wc-shipping-zone-methods td.wc-shipping-zone-methods,table.wc-shipping-zones td.wc-shipping-zone-methods{color:#999}table.wc-shipping-classes td.wc-shipping-zone-methods .method_disabled,table.wc-shipping-zone-methods td.wc-shipping-zone-methods .method_disabled,table.wc-shipping-zones td.wc-shipping-zone-methods .method_disabled{text-decoration:line-through}table.wc-shipping-classes td.wc-shipping-zone-methods ul,table.wc-shipping-zone-methods td.wc-shipping-zone-methods ul,table.wc-shipping-zones td.wc-shipping-zone-methods ul{color:#999}table.wc-shipping-classes td.wc-shipping-zone-methods ul li,table.wc-shipping-zone-methods td.wc-shipping-zone-methods ul li,table.wc-shipping-zones td.wc-shipping-zone-methods ul li{display:inline;margin:0}table.wc-shipping-classes td.wc-shipping-zone-methods ul li:before,table.wc-shipping-zone-methods td.wc-shipping-zone-methods ul li:before,table.wc-shipping-zones td.wc-shipping-zone-methods ul li:before{content:", "}table.wc-shipping-classes td.wc-shipping-zone-methods ul li:first-child:before,table.wc-shipping-classes td.wc-shipping-zone-methods ul li:last-child:before,table.wc-shipping-zone-methods td.wc-shipping-zone-methods ul li:first-child:before,table.wc-shipping-zone-methods td.wc-shipping-zone-methods ul li:last-child:before,table.wc-shipping-zones td.wc-shipping-zone-methods ul li:first-child:before,table.wc-shipping-zones td.wc-shipping-zone-methods ul li:last-child:before{content:""}table.wc-shipping-classes td.wc-shipping-zone-methods ul li:last-child,table.wc-shipping-zone-methods td.wc-shipping-zone-methods ul li:last-child,table.wc-shipping-zones td.wc-shipping-zone-methods ul li:last-child{display:block}table.wc-shipping-classes td.wc-shipping-zone-methods ul li:first-child,table.wc-shipping-zone-methods td.wc-shipping-zone-methods ul li:first-child,table.wc-shipping-zones td.wc-shipping-zone-methods ul li:first-child{margin:0!important}table.wc-shipping-classes td.wc-shipping-zone-methods ul li.wc-shipping-zone-methods-add-row,table.wc-shipping-zone-methods td.wc-shipping-zone-methods ul li.wc-shipping-zone-methods-add-row,table.wc-shipping-zones td.wc-shipping-zone-methods ul li.wc-shipping-zone-methods-add-row{margin:.5em 0 0}table.wc-shipping-classes td.wc-shipping-zone-methods .button,table.wc-shipping-zone-methods td.wc-shipping-zone-methods .button,table.wc-shipping-zones td.wc-shipping-zone-methods .button{display:inline-block}table.wc-shipping-classes .wc-shipping-class-actions,table.wc-shipping-classes .wc-shipping-zone-actions,table.wc-shipping-classes .wc-shipping-zone-method-actions,table.wc-shipping-zone-methods .wc-shipping-class-actions,table.wc-shipping-zone-methods .wc-shipping-zone-actions,table.wc-shipping-zone-methods .wc-shipping-zone-method-actions,table.wc-shipping-zones .wc-shipping-class-actions,table.wc-shipping-zones .wc-shipping-zone-actions,table.wc-shipping-zones .wc-shipping-zone-method-actions{width:4em}table.wc-shipping-classes .wc-shipping-class-actions a,table.wc-shipping-classes .wc-shipping-zone-actions a,table.wc-shipping-classes .wc-shipping-zone-method-actions a,table.wc-shipping-zone-methods .wc-shipping-class-actions a,table.wc-shipping-zone-methods .wc-shipping-zone-actions a,table.wc-shipping-zone-methods .wc-shipping-zone-method-actions a,table.wc-shipping-zones .wc-shipping-class-actions a,table.wc-shipping-zones .wc-shipping-zone-actions a,table.wc-shipping-zones .wc-shipping-zone-method-actions a{display:block;text-indent:-9999px;position:relative;height:1em;width:1em;float:right;padding:.5em;cursor:pointer;line-height:24px}table.wc-shipping-classes .wc-shipping-class-actions a:before,table.wc-shipping-classes .wc-shipping-zone-actions a:before,table.wc-shipping-classes .wc-shipping-zone-method-actions a:before,table.wc-shipping-zone-methods .wc-shipping-class-actions a:before,table.wc-shipping-zone-methods .wc-shipping-zone-actions a:before,table.wc-shipping-zone-methods .wc-shipping-zone-method-actions a:before,table.wc-shipping-zones .wc-shipping-class-actions a:before,table.wc-shipping-zones .wc-shipping-zone-actions a:before,table.wc-shipping-zones .wc-shipping-zone-method-actions a:before{speak:none;font-weight:400;font-variant:normal;text-transform:none;-webkit-font-smoothing:antialiased;text-indent:0;position:absolute;top:0;left:0;width:100%;height:100%;text-align:center;content:"";font-family:Dashicons;color:#999;vertical-align:middle;line-height:24px;font-size:16px;margin:0}table.wc-shipping-classes .wc-shipping-class-actions a:hover:before,table.wc-shipping-classes .wc-shipping-zone-actions a:hover:before,table.wc-shipping-classes .wc-shipping-zone-method-actions a:hover:before,table.wc-shipping-zone-methods .wc-shipping-class-actions a:hover:before,table.wc-shipping-zone-methods .wc-shipping-zone-actions a:hover:before,table.wc-shipping-zone-methods .wc-shipping-zone-method-actions a:hover:before,table.wc-shipping-zones .wc-shipping-class-actions a:hover:before,table.wc-shipping-zones .wc-shipping-zone-actions a:hover:before,table.wc-shipping-zones .wc-shipping-zone-method-actions a:hover:before{color:#0073aa}table.wc-shipping-classes .wc-shipping-class-actions a.wc-shipping-class-delete:before,table.wc-shipping-classes .wc-shipping-class-actions a.wc-shipping-zone-delete:before,table.wc-shipping-classes .wc-shipping-class-actions a.wc-shipping-zone-method-delete:before,table.wc-shipping-classes .wc-shipping-zone-actions a.wc-shipping-class-delete:before,table.wc-shipping-classes .wc-shipping-zone-actions a.wc-shipping-zone-delete:before,table.wc-shipping-classes .wc-shipping-zone-actions a.wc-shipping-zone-method-delete:before,table.wc-shipping-classes .wc-shipping-zone-method-actions a.wc-shipping-class-delete:before,table.wc-shipping-classes .wc-shipping-zone-method-actions a.wc-shipping-zone-delete:before,table.wc-shipping-classes .wc-shipping-zone-method-actions a.wc-shipping-zone-method-delete:before,table.wc-shipping-zone-methods .wc-shipping-class-actions a.wc-shipping-class-delete:before,table.wc-shipping-zone-methods .wc-shipping-class-actions a.wc-shipping-zone-delete:before,table.wc-shipping-zone-methods .wc-shipping-class-actions a.wc-shipping-zone-method-delete:before,table.wc-shipping-zone-methods .wc-shipping-zone-actions a.wc-shipping-class-delete:before,table.wc-shipping-zone-methods .wc-shipping-zone-actions a.wc-shipping-zone-delete:before,table.wc-shipping-zone-methods .wc-shipping-zone-actions a.wc-shipping-zone-method-delete:before,table.wc-shipping-zone-methods .wc-shipping-zone-method-actions a.wc-shipping-class-delete:before,table.wc-shipping-zone-methods .wc-shipping-zone-method-actions a.wc-shipping-zone-delete:before,table.wc-shipping-zone-methods .wc-shipping-zone-method-actions a.wc-shipping-zone-method-delete:before,table.wc-shipping-zones .wc-shipping-class-actions a.wc-shipping-class-delete:before,table.wc-shipping-zones .wc-shipping-class-actions a.wc-shipping-zone-delete:before,table.wc-shipping-zones .wc-shipping-class-actions a.wc-shipping-zone-method-delete:before,table.wc-shipping-zones .wc-shipping-zone-actions a.wc-shipping-class-delete:before,table.wc-shipping-zones .wc-shipping-zone-actions a.wc-shipping-zone-delete:before,table.wc-shipping-zones .wc-shipping-zone-actions a.wc-shipping-zone-method-delete:before,table.wc-shipping-zones .wc-shipping-zone-method-actions a.wc-shipping-class-delete:before,table.wc-shipping-zones .wc-shipping-zone-method-actions a.wc-shipping-zone-delete:before,table.wc-shipping-zones .wc-shipping-zone-method-actions a.wc-shipping-zone-method-delete:before{content:"\f158"}table.wc-shipping-classes .wc-shipping-class-actions a.wc-shipping-class-delete:hover:before,table.wc-shipping-classes .wc-shipping-class-actions a.wc-shipping-zone-delete:hover:before,table.wc-shipping-classes .wc-shipping-class-actions a.wc-shipping-zone-method-delete:hover:before,table.wc-shipping-classes .wc-shipping-zone-actions a.wc-shipping-class-delete:hover:before,table.wc-shipping-classes .wc-shipping-zone-actions a.wc-shipping-zone-delete:hover:before,table.wc-shipping-classes .wc-shipping-zone-actions a.wc-shipping-zone-method-delete:hover:before,table.wc-shipping-classes .wc-shipping-zone-method-actions a.wc-shipping-class-delete:hover:before,table.wc-shipping-classes .wc-shipping-zone-method-actions a.wc-shipping-zone-delete:hover:before,table.wc-shipping-classes .wc-shipping-zone-method-actions a.wc-shipping-zone-method-delete:hover:before,table.wc-shipping-zone-methods .wc-shipping-class-actions a.wc-shipping-class-delete:hover:before,table.wc-shipping-zone-methods .wc-shipping-class-actions a.wc-shipping-zone-delete:hover:before,table.wc-shipping-zone-methods .wc-shipping-class-actions a.wc-shipping-zone-method-delete:hover:before,table.wc-shipping-zone-methods .wc-shipping-zone-actions a.wc-shipping-class-delete:hover:before,table.wc-shipping-zone-methods .wc-shipping-zone-actions a.wc-shipping-zone-delete:hover:before,table.wc-shipping-zone-methods .wc-shipping-zone-actions a.wc-shipping-zone-method-delete:hover:before,table.wc-shipping-zone-methods .wc-shipping-zone-method-actions a.wc-shipping-class-delete:hover:before,table.wc-shipping-zone-methods .wc-shipping-zone-method-actions a.wc-shipping-zone-delete:hover:before,table.wc-shipping-zone-methods .wc-shipping-zone-method-actions a.wc-shipping-zone-method-delete:hover:before,table.wc-shipping-zones .wc-shipping-class-actions a.wc-shipping-class-delete:hover:before,table.wc-shipping-zones .wc-shipping-class-actions a.wc-shipping-zone-delete:hover:before,table.wc-shipping-zones .wc-shipping-class-actions a.wc-shipping-zone-method-delete:hover:before,table.wc-shipping-zones .wc-shipping-zone-actions a.wc-shipping-class-delete:hover:before,table.wc-shipping-zones .wc-shipping-zone-actions a.wc-shipping-zone-delete:hover:before,table.wc-shipping-zones .wc-shipping-zone-actions a.wc-shipping-zone-method-delete:hover:before,table.wc-shipping-zones .wc-shipping-zone-method-actions a.wc-shipping-class-delete:hover:before,table.wc-shipping-zones .wc-shipping-zone-method-actions a.wc-shipping-zone-delete:hover:before,table.wc-shipping-zones .wc-shipping-zone-method-actions a.wc-shipping-zone-method-delete:hover:before{color:#a00}table.wc-shipping-classes .wc-shipping-class-actions a.wc-shipping-class-edit:before,table.wc-shipping-classes .wc-shipping-zone-actions a.wc-shipping-class-edit:before,table.wc-shipping-classes .wc-shipping-zone-method-actions a.wc-shipping-class-edit:before,table.wc-shipping-zone-methods .wc-shipping-class-actions a.wc-shipping-class-edit:before,table.wc-shipping-zone-methods .wc-shipping-zone-actions a.wc-shipping-class-edit:before,table.wc-shipping-zone-methods .wc-shipping-zone-method-actions a.wc-shipping-class-edit:before,table.wc-shipping-zones .wc-shipping-class-actions a.wc-shipping-class-edit:before,table.wc-shipping-zones .wc-shipping-zone-actions a.wc-shipping-class-edit:before,table.wc-shipping-zones .wc-shipping-zone-method-actions a.wc-shipping-class-edit:before{content:"\f464"}table.wc-shipping-classes .wc-shipping-class-actions a.wc-shipping-zone-method-settings:before,table.wc-shipping-classes .wc-shipping-zone-actions a.wc-shipping-zone-method-settings:before,table.wc-shipping-classes .wc-shipping-zone-method-actions a.wc-shipping-zone-method-settings:before,table.wc-shipping-zone-methods .wc-shipping-class-actions a.wc-shipping-zone-method-settings:before,table.wc-shipping-zone-methods .wc-shipping-zone-actions a.wc-shipping-zone-method-settings:before,table.wc-shipping-zone-methods .wc-shipping-zone-method-actions a.wc-shipping-zone-method-settings:before,table.wc-shipping-zones .wc-shipping-class-actions a.wc-shipping-zone-method-settings:before,table.wc-shipping-zones .wc-shipping-zone-actions a.wc-shipping-zone-method-settings:before,table.wc-shipping-zones .wc-shipping-zone-method-actions a.wc-shipping-zone-method-settings:before{content:"\f111";margin-top:-1px}table.wc-shipping-classes tfoot input,table.wc-shipping-classes tfoot select,table.wc-shipping-zone-methods tfoot input,table.wc-shipping-zone-methods tfoot select,table.wc-shipping-zones tfoot input,table.wc-shipping-zones tfoot select{vertical-align:middle!important}table.wc-shipping-classes tfoot .button-primary,table.wc-shipping-zone-methods tfoot .button-primary,table.wc-shipping-zones tfoot .button-primary{float:right}table.wc-shipping-classes .wc-shipping-zone-method-selector,table.wc-shipping-zone-methods .wc-shipping-zone-method-selector,table.wc-shipping-zones .wc-shipping-zone-method-selector{float:left}table.wc-shipping-classes .wc-shipping-zone-method-selector select,table.wc-shipping-zone-methods .wc-shipping-zone-method-selector select,table.wc-shipping-zones .wc-shipping-zone-method-selector select{margin:0;height:29px}table.wc-shipping-classes .editing .wc-shipping-zone-edit,table.wc-shipping-classes .editing .wc-shipping-zone-view,table.wc-shipping-zone-methods .editing .wc-shipping-zone-edit,table.wc-shipping-zone-methods .editing .wc-shipping-zone-view,table.wc-shipping-zones .editing .wc-shipping-zone-edit,table.wc-shipping-zones .editing .wc-shipping-zone-view{display:none}.wc-modal-shipping-method-settings{background:#f8f8f8;padding:1em!important}.wc-modal-shipping-method-settings form .form-table{width:100%;background:#fff;margin:0 0 1.5em}.wc-modal-shipping-method-settings form .form-table tr th{width:30%;position:relative}.wc-modal-shipping-method-settings form .form-table tr th .woocommerce-help-tip{float:right;margin:-8px -.5em 0 0;vertical-align:middle;right:0;top:50%;position:absolute}.wc-modal-shipping-method-settings form .form-table tr td input,.wc-modal-shipping-method-settings form .form-table tr td select,.wc-modal-shipping-method-settings form .form-table tr td textarea{width:50%;min-width:250px}.wc-modal-shipping-method-settings form .form-table tr td input[type=checkbox]{width:auto;min-width:0}.wc-modal-shipping-method-settings form .form-table tr td,.wc-modal-shipping-method-settings form .form-table tr th{vertical-align:middle;margin:0;line-height:24px;padding:1em;border-bottom:1px solid #f8f8f8}.wc-modal-shipping-method-settings form .form-table:last-of-type{margin-bottom:0}.wc-backbone-modal .wc-shipping-zone-method-selector{padding:2px}.wc-backbone-modal .wc-shipping-zone-method-selector .wc-shipping-zone-method-description{margin:1em 0;line-height:1.5em}.wc-backbone-modal .wc-shipping-zone-method-selector select{width:100%}img.help_tip{margin:0 0 0 9px;vertical-align:middle}.postbox img.help_tip{margin-top:0}.postbox .woocommerce-help-tip{margin:0 0 0 9px}.status-disabled,.status-enabled,.status-manual{font-size:1.4em;display:block;text-indent:-9999px;position:relative;height:1em;width:1em}.status-disabled:before,.status-enabled:before,.status-manual:before{font-family:WooCommerce;line-height:1;margin:0;position:absolute;width:100%;height:100%;text-indent:0;top:0;font-weight:400;font-variant:normal;-webkit-font-smoothing:antialiased;text-align:center;left:0;speak:none;text-transform:none}.status-manual:before{content:"";color:#999}.status-enabled:before{content:"";color:#a46497}.status-disabled:before{content:"";color:#ccc}.woocommerce h2.woo-nav-tab-wrapper{margin-bottom:1em}.woocommerce nav.woo-nav-tab-wrapper{margin:1.5em 0 1em;border-bottom:1px solid #ccc}.woocommerce .subsubsub{margin:-8px 0 0}.woocommerce .wc-admin-breadcrumb{margin-left:.5em}.woocommerce .wc-admin-breadcrumb a{color:#a46497}.woocommerce #template div{margin:0}.woocommerce #template div p .button{float:right;margin-left:10px;margin-top:-4px}.woocommerce #template div .editor textarea{margin-bottom:8px}.woocommerce textarea[disabled=disabled]{background:#DFDFDF!important}.woocommerce table.form-table{margin:0;position:relative}.woocommerce table.form-table .forminp-radio ul{margin:0}.woocommerce table.form-table .forminp-radio ul li{line-height:1.4em}.woocommerce table.form-table textarea.input-text{height:100%;min-width:150px;display:block}.woocommerce table.form-table input.regular-input{width:25em}.woocommerce table.form-table textarea.wide-input{width:100%}.woocommerce table.form-table .woocommerce-help-tip,.woocommerce table.form-table img.help_tip{padding:0;margin:-4px 0 0 5px;vertical-align:middle;cursor:help;line-height:1}.woocommerce table.form-table span.help_tip{cursor:help;color:#2ea2cc}.woocommerce table.form-table th{position:relative;padding-right:24px}.woocommerce table.form-table .select2-container{display:block;max-width:350px;vertical-align:top;margin-bottom:3px}.woocommerce table.form-table table.widefat th{padding-right:inherit}.woocommerce table.form-table th .woocommerce-help-tip,.woocommerce table.form-table th img.help_tip{margin:0 -24px 0 0;float:right}.woocommerce table.form-table .wp-list-table .woocommerce-help-tip{float:none}.woocommerce table.form-table fieldset{margin-top:4px}.woocommerce table.form-table fieldset .woocommerce-help-tip,.woocommerce table.form-table fieldset img.help_tip{margin:-3px 0 0 5px}.woocommerce table.form-table fieldset p.description{margin-bottom:8px}.woocommerce table.form-table fieldset:first-child{margin-top:0}.woocommerce table.form-table .iris-picker{z-index:100;display:none;position:absolute;border:1px solid #ccc;border-radius:3px;box-shadow:0 1px 3px rgba(0,0,0,.2)}.woocommerce table.form-table .iris-picker .ui-slider{border:0!important;margin:0!important;width:auto!important;height:auto!important;background:none!important}.woocommerce table.form-table .iris-picker .ui-slider .ui-slider-handle{margin-bottom:0!important}.woocommerce table.form-table .colorpickpreview{padding:3px 3px 3px 20px;border:1px solid #ddd;border-right:0}.woocommerce table.form-table .colorpick{border-left:0}.woocommerce table.form-table .image_width_settings{vertical-align:middle}.woocommerce table.form-table .image_width_settings label{margin-left:10px}.woocommerce table.form-table .wc_emails_wrapper{padding:0 15px 10px 0}.woocommerce #tabs-wrap table a.remove{margin-left:4px}.woocommerce #tabs-wrap table p{margin:0 0 4px!important;overflow:hidden;zoom:1}.woocommerce #tabs-wrap table p a.add{float:left}#wp-excerpt-editor-container{background:#fff}#product_variation-parent #parent_id{width:100%}#postimagediv img{border:1px solid #d5d5d5;max-width:100%}#woocommerce-product-images .inside{margin:0;padding:0}#woocommerce-product-images .inside .add_product_images{padding:0 12px 12px}#woocommerce-product-images .inside #product_images_container{padding:0 0 0 9px}#woocommerce-product-images .inside #product_images_container ul{margin:0;padding:0}#woocommerce-product-images .inside #product_images_container ul:after,#woocommerce-product-images .inside #product_images_container ul:before{content:" ";display:table}#woocommerce-product-images .inside #product_images_container ul:after{clear:both}#woocommerce-product-images .inside #product_images_container ul li.add,#woocommerce-product-images .inside #product_images_container ul li.image,#woocommerce-product-images .inside #product_images_container ul li.wc-metabox-sortable-placeholder{width:80px;float:left;cursor:move;border:1px solid #d5d5d5;margin:9px 9px 0 0;background:#f7f7f7;border-radius:2px;position:relative;box-sizing:border-box}#woocommerce-product-images .inside #product_images_container ul li.add img,#woocommerce-product-images .inside #product_images_container ul li.image img,#woocommerce-product-images .inside #product_images_container ul li.wc-metabox-sortable-placeholder img{width:100%;height:auto;display:block}#woocommerce-product-images .inside #product_images_container ul li.wc-metabox-sortable-placeholder{border:3px dashed #ddd;position:relative}#woocommerce-product-images .inside #product_images_container ul li.wc-metabox-sortable-placeholder:after{font-family:Dashicons;speak:none;font-weight:400;font-variant:normal;text-transform:none;-webkit-font-smoothing:antialiased;margin:0;text-indent:0;position:absolute;top:0;left:0;width:100%;height:100%;text-align:center;content:"";font-size:2.618em;line-height:72px;color:#ddd}#woocommerce-product-images .inside #product_images_container ul ul.actions{position:absolute;top:-8px;right:-8px;padding:2px;display:none}#woocommerce-product-images .inside #product_images_container ul ul.actions li{float:right;margin:0 0 0 2px}#woocommerce-product-images .inside #product_images_container ul ul.actions li a{width:1em;margin:0;height:0;display:block;overflow:hidden}#woocommerce-product-images .inside #product_images_container ul ul.actions li a.tips{cursor:pointer}#woocommerce-product-images .inside #product_images_container ul ul.actions li a.delete{display:block;text-indent:-9999px;position:relative;height:1em;width:1em;font-size:1.4em}#woocommerce-product-images .inside #product_images_container ul ul.actions li a.delete:before{font-family:WooCommerce;speak:none;font-weight:400;font-variant:normal;text-transform:none;line-height:1;-webkit-font-smoothing:antialiased;margin:0;text-indent:0;position:absolute;top:0;left:0;width:100%;height:100%;text-align:center;content:"";color:#fff;background-color:#000;border-radius:100%;box-shadow:0 1px 2px rgba(0,0,0,.2)}#woocommerce-product-images .inside #product_images_container ul ul.actions li a.delete:hover before{background-color:#a00}#woocommerce-product-images .inside #product_images_container ul li:hover ul.actions{display:block}#woocommerce-product-data .hndle{padding:10px}#woocommerce-product-data .hndle span{display:block;vertical-align:middle;line-height:24px}#woocommerce-product-data .hndle span span{display:inline;line-height:inherit;vertical-align:baseline}#woocommerce-product-data .hndle label{padding-right:1em;font-size:12px;vertical-align:baseline}#woocommerce-product-data .hndle label:first-child{margin-right:1em;border-right:1px solid #dfdfdf}#woocommerce-product-data .hndle input,#woocommerce-product-data .hndle select{margin:-3px 0 0 .5em;vertical-align:middle}#woocommerce-product-data>.handlediv{margin-top:4px}#woocommerce-product-data .wrap{margin:0}#woocommerce-coupon-description{padding:3px 8px;font-size:1.7em;line-height:1.42em;height:auto;width:100%;outline:0;margin:10px 0;display:block}#woocommerce-coupon-description::-webkit-input-placeholder{line-height:1.42em;color:#bbb}#woocommerce-coupon-description::-moz-placeholder{line-height:1.42em;color:#bbb}#woocommerce-coupon-description:-ms-input-placeholder{line-height:1.42em;color:#bbb}#woocommerce-coupon-description:-moz-placeholder{line-height:1.42em;color:#bbb}#woocommerce-coupon-data .panel-wrap,#woocommerce-product-data .panel-wrap{background:#fff}#woocommerce-coupon-data .wc-metaboxes-wrapper,#woocommerce-coupon-data .woocommerce_options_panel,#woocommerce-product-data .wc-metaboxes-wrapper,#woocommerce-product-data .woocommerce_options_panel{float:left;width:80%}#woocommerce-coupon-data .wc-metaboxes-wrapper .wc-radios,#woocommerce-coupon-data .woocommerce_options_panel .wc-radios,#woocommerce-product-data .wc-metaboxes-wrapper .wc-radios,#woocommerce-product-data .woocommerce_options_panel .wc-radios{display:block;float:left;margin:0}#woocommerce-coupon-data .wc-metaboxes-wrapper .wc-radios li,#woocommerce-coupon-data .woocommerce_options_panel .wc-radios li,#woocommerce-product-data .wc-metaboxes-wrapper .wc-radios li,#woocommerce-product-data .woocommerce_options_panel .wc-radios li{display:block;padding:0 0 10px}#woocommerce-coupon-data .wc-metaboxes-wrapper .wc-radios li input,#woocommerce-coupon-data .woocommerce_options_panel .wc-radios li input,#woocommerce-product-data .wc-metaboxes-wrapper .wc-radios li input,#woocommerce-product-data .woocommerce_options_panel .wc-radios li input{width:auto}#woocommerce-coupon-data .panel-wrap,#woocommerce-product-data .panel-wrap,.woocommerce .panel-wrap{overflow:hidden}#woocommerce-coupon-data ul.wc-tabs,#woocommerce-product-data ul.wc-tabs,.woocommerce ul.wc-tabs{margin:0;width:20%;float:left;line-height:1em;padding:0 0 10px;position:relative;background-color:#fafafa;border-right:1px solid #eee;box-sizing:border-box}#woocommerce-coupon-data ul.wc-tabs:after,#woocommerce-product-data ul.wc-tabs:after,.woocommerce ul.wc-tabs:after{content:"";display:block;width:100%;height:9999em;position:absolute;bottom:-9999em;left:0;background-color:#fafafa;border-right:1px solid #eee}#woocommerce-coupon-data ul.wc-tabs li,#woocommerce-product-data ul.wc-tabs li,.woocommerce ul.wc-tabs li{margin:0;padding:0;display:block;position:relative}#woocommerce-coupon-data ul.wc-tabs li a,#woocommerce-product-data ul.wc-tabs li a,.woocommerce ul.wc-tabs li a{margin:0;padding:10px;display:block;box-shadow:none;text-decoration:none;line-height:20px!important;border-bottom:1px solid #eee}#woocommerce-coupon-data ul.wc-tabs li a:before,#woocommerce-product-data ul.wc-tabs li a:before,.woocommerce ul.wc-tabs li a:before{font-family:Dashicons;speak:none;font-weight:400;font-variant:normal;text-transform:none;line-height:1;-webkit-font-smoothing:antialiased;margin-right:.618em;content:"";text-decoration:none}#woocommerce-coupon-data ul.wc-tabs li.general_options a:before,#woocommerce-product-data ul.wc-tabs li.general_options a:before,.woocommerce ul.wc-tabs li.general_options a:before{content:"\f107"}#woocommerce-coupon-data ul.wc-tabs li.inventory_options a:before,#woocommerce-product-data ul.wc-tabs li.inventory_options a:before,.woocommerce ul.wc-tabs li.inventory_options a:before{content:"\f481"}#woocommerce-coupon-data ul.wc-tabs li.shipping_options a:before,#woocommerce-product-data ul.wc-tabs li.shipping_options a:before,.woocommerce ul.wc-tabs li.shipping_options a:before{font-family:WooCommerce;content:"\e01a"}#woocommerce-coupon-data ul.wc-tabs li.linked_product_options a:before,#woocommerce-product-data ul.wc-tabs li.linked_product_options a:before,.woocommerce ul.wc-tabs li.linked_product_options a:before{content:"\f103"}#woocommerce-coupon-data ul.wc-tabs li.attribute_options a:before,#woocommerce-product-data ul.wc-tabs li.attribute_options a:before,.woocommerce ul.wc-tabs li.attribute_options a:before{content:"\f175"}#woocommerce-coupon-data ul.wc-tabs li.advanced_options a:before,#woocommerce-product-data ul.wc-tabs li.advanced_options a:before,.woocommerce ul.wc-tabs li.advanced_options a:before{font-family:Dashicons;content:"\f111"}#woocommerce-coupon-data ul.wc-tabs li.variations_options a:before,#woocommerce-product-data ul.wc-tabs li.variations_options a:before,.woocommerce ul.wc-tabs li.variations_options a:before{content:"\f509"}#woocommerce-coupon-data ul.wc-tabs li.usage_restriction_options a:before,#woocommerce-product-data ul.wc-tabs li.usage_restriction_options a:before,.woocommerce ul.wc-tabs li.usage_restriction_options a:before{font-family:WooCommerce;content:"\e602"}#woocommerce-coupon-data ul.wc-tabs li.usage_limit_options a:before,#woocommerce-product-data ul.wc-tabs li.usage_limit_options a:before,.woocommerce ul.wc-tabs li.usage_limit_options a:before{font-family:WooCommerce;content:"\e601"}#woocommerce-coupon-data ul.wc-tabs li.general_coupon_data a:before,#woocommerce-product-data ul.wc-tabs li.general_coupon_data a:before,.woocommerce ul.wc-tabs li.general_coupon_data a:before{font-family:WooCommerce;content:"\e600"}#woocommerce-coupon-data ul.wc-tabs li.active a,#woocommerce-product-data ul.wc-tabs li.active a,.woocommerce ul.wc-tabs li.active a{color:#555;position:relative;background-color:#eee}.woocommerce_page_wc-settings .shippingrows th.check-column{padding-top:20px}.woocommerce_page_wc-settings .shippingrows tfoot th{padding-left:10px}.woocommerce_page_wc-settings .shippingrows .add.button:before{font-family:WooCommerce;speak:none;font-weight:400;font-variant:normal;text-transform:none;line-height:1;-webkit-font-smoothing:antialiased;margin-right:.618em;content:"";text-decoration:none}.woocommerce_page_wc-settings h3.wc-settings-sub-title{font-size:1.2em}#woocommerce-coupon-data .inside,#woocommerce-order-data .inside,#woocommerce-order-downloads .inside,#woocommerce-product-data .inside,#woocommerce-product-type-options .inside{margin:0;padding:0}.panel,.woocommerce_options_panel{padding:9px;color:#555}.panel .form-field .woocommerce-help-tip,.woocommerce_options_panel .form-field .woocommerce-help-tip{font-size:1.4em}.panel,.woocommerce_page_settings .woocommerce_options_panel{padding:0}#woocommerce-product-specs .inside,#woocommerce-product-type-options .panel{margin:0;padding:9px}#woocommerce-product-type-options .panel p,.woocommerce_options_panel fieldset.form-field,.woocommerce_options_panel p{margin:0 0 9px;font-size:12px;padding:5px 9px;line-height:24px}#woocommerce-product-type-options .panel p:after,.woocommerce_options_panel fieldset.form-field:after,.woocommerce_options_panel p:after{content:".";display:block;height:0;clear:both;visibility:hidden}.woocommerce_options_panel .checkbox,.woocommerce_variable_attributes .checkbox{width:auto;margin:3px 0;vertical-align:middle}.woocommerce_options_panel .downloadable_files table,.woocommerce_variations .downloadable_files table{width:100%;padding:0!important}.woocommerce_options_panel .downloadable_files table th,.woocommerce_variations .downloadable_files table th{padding:7px 0 7px 7px!important}.woocommerce_options_panel .downloadable_files table td,.woocommerce_variations .downloadable_files table td{vertical-align:middle!important;padding:4px 0 4px 7px!important;position:relative}.woocommerce_options_panel .downloadable_files table td:last-child,.woocommerce_variations .downloadable_files table td:last-child{padding-right:7px!important}.woocommerce_options_panel .downloadable_files table td input.input_text,.woocommerce_variations .downloadable_files table td input.input_text{width:100%;float:none;margin:1px 0;min-width:0}.woocommerce_options_panel .downloadable_files table td .upload_file_button,.woocommerce_variations .downloadable_files table td .upload_file_button{float:right;width:auto;cursor:pointer}.woocommerce_options_panel .downloadable_files table td .delete,.woocommerce_variations .downloadable_files table td .delete{display:block;text-indent:-9999px;position:relative;height:1em;width:1em}.woocommerce_options_panel .downloadable_files table td .delete:before,.woocommerce_variations .downloadable_files table td .delete:before{font-family:WooCommerce;speak:none;font-weight:400;font-variant:normal;text-transform:none;line-height:1;-webkit-font-smoothing:antialiased;margin:0;text-indent:0;position:absolute;top:0;left:0;width:100%;height:100%;text-align:center;content:"";content:"\e013";color:#999}.woocommerce_options_panel .downloadable_files table td .delete:hover:before,.woocommerce_variations .downloadable_files table td .delete:hover:before{color:#a00}.woocommerce_options_panel .downloadable_files table th.sort,.woocommerce_variations .downloadable_files table th.sort{width:17px;padding:0}.woocommerce_options_panel .downloadable_files table td.sort,.woocommerce_variations .downloadable_files table td.sort{padding:0 8px;cursor:move;background:#f9f9f9;text-align:center;vertical-align:middle}.woocommerce_options_panel .downloadable_files table td.sort:before,.woocommerce_variations .downloadable_files table td.sort:before{content:"\f333";font-family:Dashicons;text-align:center;line-height:1;color:#999;display:block;width:17px;float:left;height:100%}.woocommerce_options_panel .downloadable_files table td.sort:hover:before,.woocommerce_variations .downloadable_files table td.sort:hover:before{color:#333}.woocommerce_variation h3 .sort{cursor:move;text-align:center;float:right;height:26px;width:17px;visibility:hidden;vertical-align:middle;margin-right:.5em;color:#a0a5aa}.woocommerce_variation h3 .sort:before{content:"\f333";font-family:Dashicons;text-align:center;cursor:move;display:block;width:17px;line-height:28px}.woocommerce_variation h3 .sort:hover{color:#777}.woocommerce_variation h3:hover .sort,.woocommerce_variation.ui-sortable-helper .sort{visibility:visible}.woocommerce_options_panel{min-height:175px;box-sizing:border-box}.woocommerce_options_panel .downloadable_files{padding:0 9px 0 162px;position:relative;margin:9px 0}.woocommerce_options_panel .downloadable_files label{position:absolute;left:0;margin:0 0 0 12px;line-height:24px}.woocommerce_options_panel p{margin:9px 0}.woocommerce_options_panel fieldset.form-field,.woocommerce_options_panel p.form-field{padding:5px 20px 5px 162px!important}.woocommerce_options_panel .sale_price_dates_fields .short:first-of-type{margin-bottom:1em}.woocommerce_options_panel .sale_price_dates_fields .short:nth-of-type(2){clear:left}.woocommerce_options_panel label,.woocommerce_options_panel legend{float:left;width:150px;padding:0;margin:0 0 0 -150px}.woocommerce_options_panel label .req,.woocommerce_options_panel legend .req{font-weight:700;font-style:normal;color:#a00}.woocommerce_options_panel .description{padding:0;margin:0 0 0 7px;clear:none;display:inline}.woocommerce_options_panel .description-block{margin-left:0;display:block}.woocommerce_options_panel input,.woocommerce_options_panel select,.woocommerce_options_panel textarea{margin:0}.woocommerce_options_panel textarea{height:3.5em;line-height:1.5em;vertical-align:top}.woocommerce_options_panel input[type=text],.woocommerce_options_panel input[type=number],.woocommerce_options_panel input[type=email],.woocommerce_options_panel input[type=password]{width:50%;float:left}.woocommerce_options_panel input.button{width:auto;margin-left:8px}.woocommerce_options_panel select{float:left}.woocommerce_options_panel .short,.woocommerce_options_panel input[type=text].short,.woocommerce_options_panel input[type=number].short,.woocommerce_options_panel input[type=email].short,.woocommerce_options_panel input[type=password].short{width:50%}.woocommerce_options_panel .sized{width:auto!important;margin-right:6px}.woocommerce_options_panel .options_group{border-top:1px solid #fff;border-bottom:1px solid #eee}.woocommerce_options_panel .options_group:first-child{border-top:0}.woocommerce_options_panel .options_group:last-child{border-bottom:0}.woocommerce_options_panel .options_group fieldset{margin:9px 0;font-size:12px;padding:5px 9px;line-height:24px}.woocommerce_options_panel .options_group fieldset label{width:auto;float:none}.woocommerce_options_panel .options_group fieldset ul{float:left;width:50%;margin:0;padding:0}.woocommerce_options_panel .options_group fieldset ul li{margin:0;width:auto}.woocommerce_options_panel .options_group fieldset ul li input{width:auto;float:none;margin-right:4px}.woocommerce_options_panel .options_group fieldset ul.wc-radios label{margin-left:0}.woocommerce_options_panel .dimensions_field .wrap{display:block;width:50%}.woocommerce_options_panel .dimensions_field .wrap input{width:30.75%;margin-right:3.8%}.woocommerce_options_panel .dimensions_field .wrap .last{margin-right:0}.woocommerce_options_panel.padded{padding:1em}#woocommerce-product-data input.dp-applied,.woocommerce_options_panel .select2-container{float:left}#grouped_product_options,#simple_product_options,#virtual_product_options{padding:12px;font-style:italic;color:#666}.wc-metaboxes-wrapper .toolbar{margin:0!important;border-top:1px solid #fff;border-bottom:1px solid #eee;padding:9px 12px!important}.wc-metaboxes-wrapper .toolbar:first-child{border-top:0}.wc-metaboxes-wrapper .toolbar:last-child{border-bottom:0}.wc-metaboxes-wrapper .toolbar .add_variation{float:right;margin-left:5px}.wc-metaboxes-wrapper .toolbar .cancel-variation-changes,.wc-metaboxes-wrapper .toolbar .save-variation-changes{float:left;margin-right:5px}.wc-metaboxes-wrapper p.toolbar{overflow:hidden;zoom:1}.wc-metaboxes-wrapper .expand-close{margin-right:2px;color:#777;font-size:12px;font-style:italic}.wc-metaboxes-wrapper .expand-close a{background:0 0;padding:0;font-size:12px;text-decoration:none}.wc-metaboxes-wrapper#product_attributes .expand-close{float:right;line-height:28px}.wc-metaboxes-wrapper .fr,.wc-metaboxes-wrapper button.add_variable_attribute{float:right;margin:0 0 0 6px}.wc-metaboxes-wrapper .wc-metaboxes{border-bottom:1px solid #eee}.wc-metaboxes-wrapper .wc-metabox-sortable-placeholder{border-color:#bbb;background-color:#f5f5f5;margin-bottom:9px;border-width:1px;border-style:dashed}.wc-metaboxes-wrapper .wc-metabox{background:#fff;border-bottom:1px solid #eee;margin:0!important}.wc-metaboxes-wrapper .wc-metabox select{font-weight:400}.wc-metaboxes-wrapper .wc-metabox:last-of-type{border-bottom:0}.wc-metaboxes-wrapper .wc-metabox .handlediv{width:27px}.wc-metaboxes-wrapper .wc-metabox .handlediv:before{content:"\f142"!important;cursor:pointer;display:inline-block;font:400 20px/1 Dashicons;line-height:.5!important;padding:8px 10px;position:relative;right:12px;top:0}.wc-metaboxes-wrapper .wc-metabox.closed{border-radius:3px}.wc-metaboxes-wrapper .wc-metabox.closed .handlediv:before{content:"\f140"!important}.wc-metaboxes-wrapper .wc-metabox.closed h3{border:0}.wc-metaboxes-wrapper .wc-metabox h3{margin:0!important;padding:.75em .75em .75em 1em!important;font-size:1em!important;overflow:hidden;zoom:1;cursor:move}.wc-metaboxes-wrapper .wc-metabox h3 a.delete,.wc-metaboxes-wrapper .wc-metabox h3 button{float:right}.wc-metaboxes-wrapper .wc-metabox h3 a.delete{color:red;font-weight:400;line-height:26px;text-decoration:none;position:relative;visibility:hidden}.wc-metaboxes-wrapper .wc-metabox h3 strong{line-height:26px;font-weight:700}.wc-metaboxes-wrapper .wc-metabox h3 select{font-family:sans-serif;max-width:20%;margin:.25em .25em .25em 0}.wc-metaboxes-wrapper .wc-metabox h3 .handlediv{background-position:6px 5px!important;visibility:hidden;height:26px}.wc-metaboxes-wrapper .wc-metabox h3.fixed{cursor:pointer!important}.wc-metaboxes-wrapper .wc-metabox.woocommerce_variation h3{cursor:pointer;padding:.5em .75em .5em 1em!important}.wc-metaboxes-wrapper .wc-metabox.woocommerce_variation h3 .handlediv,.wc-metaboxes-wrapper .wc-metabox.woocommerce_variation h3 .sort,.wc-metaboxes-wrapper .wc-metabox.woocommerce_variation h3 a.delete{margin-top:.25em}.wc-metaboxes-wrapper .wc-metabox h3:hover .handlediv,.wc-metaboxes-wrapper .wc-metabox h3:hover a.delete,.wc-metaboxes-wrapper .wc-metabox.ui-sortable-helper .handlediv,.wc-metaboxes-wrapper .wc-metabox.ui-sortable-helper a.delete{visibility:visible}.wc-metaboxes-wrapper .wc-metabox table{width:100%;position:relative;background-color:#fdfdfd;padding:1em;border-top:1px solid #eee}.wc-metaboxes-wrapper .wc-metabox table td{text-align:left;padding:0 6px 1em 0;vertical-align:top;border:0}.wc-metaboxes-wrapper .wc-metabox table td label{text-align:left;display:block;line-height:21px}.wc-metaboxes-wrapper .wc-metabox table td input{float:left;min-width:200px}.wc-metaboxes-wrapper .wc-metabox table td input,.wc-metaboxes-wrapper .wc-metabox table td textarea{width:100%;margin:0;display:block;font-size:14px;padding:4px;color:#555}.wc-metaboxes-wrapper .wc-metabox table td .select2-container,.wc-metaboxes-wrapper .wc-metabox table td select{width:100%!important}.wc-metaboxes-wrapper .wc-metabox table td input.short{width:200px}.wc-metaboxes-wrapper .wc-metabox table td input.checkbox{width:16px;min-width:inherit;vertical-align:text-bottom;display:inline-block;float:none}.wc-metaboxes-wrapper .wc-metabox table td.attribute_name{width:200px}.wc-metaboxes-wrapper .wc-metabox table .minus,.wc-metaboxes-wrapper .wc-metabox table .plus{margin-top:6px}.wc-metaboxes-wrapper .wc-metabox table .fl{float:left}.wc-metaboxes-wrapper .wc-metabox table .fr{float:right}.variations-pagenav{float:right;line-height:24px}.variations-pagenav .displaying-num{color:#777;font-size:12px;font-style:italic}.variations-pagenav a{padding:0 10px 3px;background:rgba(0,0,0,.05);font-size:16px;font-weight:400;text-decoration:none}.variations-pagenav a.disabled,.variations-pagenav a.disabled:active,.variations-pagenav a.disabled:focus,.variations-pagenav a.disabled:hover{color:#A0A5AA;background:rgba(0,0,0,.05)}.variations-defaults{float:left}.variations-defaults select{margin:.25em .25em .25em 0}.woocommerce_variable_attributes{background-color:#fdfdfd;border-top:1px solid #eee}.woocommerce_variable_attributes .data{padding:1em 2em}.woocommerce_variable_attributes .data:after,.woocommerce_variable_attributes .data:before{content:" ";display:table}.woocommerce_variable_attributes .data:after{clear:both}.woocommerce_variable_attributes .upload_image_button{display:block;width:48px;height:48px;float:left;margin-right:20px;position:relative;cursor:pointer}.woocommerce_variable_attributes .upload_image_button img{width:100%;height:auto;display:none}.woocommerce_variable_attributes .upload_image_button:before{content:"\f128";font-family:Dashicons;position:absolute;top:0;left:0;right:0;bottom:0;text-align:center;line-height:48px;font-size:48px;font-weight:400;-webkit-font-smoothing:antialiased}.woocommerce_variable_attributes .upload_image_button.remove img{display:block}.woocommerce_variable_attributes .upload_image_button.remove:before{content:"\f335";display:none}.woocommerce_variable_attributes .upload_image_button.remove:hover:before{display:block}.woocommerce_variable_attributes .options{border:1px solid #eee;border-width:1px 0;padding:.25em 0}.woocommerce_variable_attributes .options label{display:inline-block;padding:4px 1em 2px 0}.woocommerce_variable_attributes .options input[type=checkbox]{margin-top:5px;margin-right:3px}.form-row label{display:block}.form-row input[type=number],.form-row input[type=text],.form-row select{width:100%}.form-row.dimensions_field input{width:25%;float:left;margin-right:1%}.form-row.dimensions_field input:last-of-type{margin-right:0}.form-row-first,.form-row-last{width:48%;float:right}.form-row-first{clear:both;float:left}.form-row-full{clear:both}.tips{cursor:help;text-decoration:none}img.tips{padding:5px 0 0}#tiptip_holder{display:none;position:absolute;top:0;left:0;z-index:9999999}#tiptip_holder.tip_top{padding-bottom:5px}#tiptip_holder.tip_top #tiptip_arrow_inner{margin-top:-7px;margin-left:-6px;border-top-color:#333}#tiptip_holder.tip_bottom{padding-top:5px}#tiptip_holder.tip_bottom #tiptip_arrow_inner{margin-top:-5px;margin-left:-6px;border-bottom-color:#333}#tiptip_holder.tip_right{padding-left:5px}#tiptip_holder.tip_right #tiptip_arrow_inner{margin-top:-6px;margin-left:-5px;border-right-color:#333}#tiptip_holder.tip_left{padding-right:5px}#tiptip_holder.tip_left #tiptip_arrow_inner{margin-top:-6px;margin-left:-7px;border-left-color:#333}#tiptip_content,.chart-tooltip,.wc_error_tip{color:#fff;font-size:.8em;max-width:150px;background:#333;text-align:center;border-radius:3px;padding:.618em 1em;box-shadow:0 1px 3px rgba(0,0,0,.2)}#tiptip_content code,.chart-tooltip code,.wc_error_tip code{padding:1px;background:#888}#tiptip_arrow,#tiptip_arrow_inner{position:absolute;border-color:transparent;border-style:solid;border-width:6px;height:0;width:0}.wc_error_tip{max-width:20em;line-height:1.8em;position:absolute;white-space:normal;background:#d82223;margin:1.5em 1px 0 -1em;z-index:9999999}.wc_error_tip:after{content:"";display:block;border:8px solid #d82223;border-right-color:transparent;border-left-color:transparent;border-top-color:transparent;position:absolute;top:-3px;left:50%;margin:-1em 0 0 -3px}img.ui-datepicker-trigger{vertical-align:middle;margin-top:-1px;cursor:pointer}.wc-metabox-content img.ui-datepicker-trigger,.woocommerce_options_panel img.ui-datepicker-trigger{float:left;margin-right:8px;margin-top:4px;margin-left:4px}#ui-datepicker-div{display:none}.woocommerce-reports-wide.woocommerce-reports-wrap,.woocommerce-reports-wrap.woocommerce-reports-wrap{margin-left:300px;padding-top:18px}.woocommerce-reports-wide.halved,.woocommerce-reports-wrap.halved{margin:0;overflow:hidden;zoom:1}.woocommerce-reports-wide .widefat td,.woocommerce-reports-wrap .widefat td{vertical-align:top;padding:7px}.woocommerce-reports-wide .widefat td .description,.woocommerce-reports-wrap .widefat td .description{margin:4px 0 0}.woocommerce-reports-wide .postbox:after,.woocommerce-reports-wrap .postbox:after{content:".";display:block;height:0;clear:both;visibility:hidden}.woocommerce-reports-wide .postbox h3,.woocommerce-reports-wrap .postbox h3{cursor:default!important}.woocommerce-reports-wide .postbox .inside,.woocommerce-reports-wrap .postbox .inside{padding:10px;margin:0!important}.woocommerce-reports-wide .postbox div.stats_range,.woocommerce-reports-wide .postbox h3.stats_range,.woocommerce-reports-wrap .postbox div.stats_range,.woocommerce-reports-wrap .postbox h3.stats_range{border-bottom-color:#dfdfdf;margin:0;padding:0!important}.woocommerce-reports-wide .postbox div.stats_range .export_csv,.woocommerce-reports-wide .postbox h3.stats_range .export_csv,.woocommerce-reports-wrap .postbox div.stats_range .export_csv,.woocommerce-reports-wrap .postbox h3.stats_range .export_csv{float:right;line-height:26px;border-left:1px solid #dfdfdf;padding:10px;display:block;text-decoration:none}.woocommerce-reports-wide .postbox div.stats_range .export_csv:before,.woocommerce-reports-wide .postbox h3.stats_range .export_csv:before,.woocommerce-reports-wrap .postbox div.stats_range .export_csv:before,.woocommerce-reports-wrap .postbox h3.stats_range .export_csv:before{font-family:Dashicons;speak:none;font-weight:400;font-variant:normal;text-transform:none;line-height:1;-webkit-font-smoothing:antialiased;content:"";text-decoration:none;margin-right:4px}.woocommerce-reports-wide .postbox div.stats_range ul,.woocommerce-reports-wide .postbox h3.stats_range ul,.woocommerce-reports-wrap .postbox div.stats_range ul,.woocommerce-reports-wrap .postbox h3.stats_range ul{list-style:none;margin:0;padding:0;zoom:1;background:#f5f5f5;border-bottom:1px solid #ccc}.woocommerce-reports-wide .postbox div.stats_range ul:after,.woocommerce-reports-wide .postbox div.stats_range ul:before,.woocommerce-reports-wide .postbox h3.stats_range ul:after,.woocommerce-reports-wide .postbox h3.stats_range ul:before,.woocommerce-reports-wrap .postbox div.stats_range ul:after,.woocommerce-reports-wrap .postbox div.stats_range ul:before,.woocommerce-reports-wrap .postbox h3.stats_range ul:after,.woocommerce-reports-wrap .postbox h3.stats_range ul:before{content:" ";display:table}.woocommerce-reports-wide .postbox div.stats_range ul:after,.woocommerce-reports-wide .postbox h3.stats_range ul:after,.woocommerce-reports-wrap .postbox div.stats_range ul:after,.woocommerce-reports-wrap .postbox h3.stats_range ul:after{clear:both}.woocommerce-reports-wide .postbox div.stats_range ul li,.woocommerce-reports-wide .postbox h3.stats_range ul li,.woocommerce-reports-wrap .postbox div.stats_range ul li,.woocommerce-reports-wrap .postbox h3.stats_range ul li{float:left;margin:0;padding:0;line-height:26px;font-weight:700;font-size:14px}.woocommerce-reports-wide .postbox div.stats_range ul li a,.woocommerce-reports-wide .postbox h3.stats_range ul li a,.woocommerce-reports-wrap .postbox div.stats_range ul li a,.woocommerce-reports-wrap .postbox h3.stats_range ul li a{border-right:1px solid #dfdfdf;padding:10px;display:block;text-decoration:none}.woocommerce-reports-wide .postbox div.stats_range ul li.active,.woocommerce-reports-wide .postbox h3.stats_range ul li.active,.woocommerce-reports-wrap .postbox div.stats_range ul li.active,.woocommerce-reports-wrap .postbox h3.stats_range ul li.active{background:#fff;-webkit-box-shadow:0 4px 0 0 #fff;box-shadow:0 4px 0 0 #fff}.woocommerce-reports-wide .postbox div.stats_range ul li.active a,.woocommerce-reports-wide .postbox h3.stats_range ul li.active a,.woocommerce-reports-wrap .postbox div.stats_range ul li.active a,.woocommerce-reports-wrap .postbox h3.stats_range ul li.active a{color:#777}.woocommerce-reports-wide .postbox div.stats_range ul li.custom,.woocommerce-reports-wide .postbox h3.stats_range ul li.custom,.woocommerce-reports-wrap .postbox div.stats_range ul li.custom,.woocommerce-reports-wrap .postbox h3.stats_range ul li.custom{padding:9px 10px;vertical-align:middle}.woocommerce-reports-wide .postbox div.stats_range ul li.custom div,.woocommerce-reports-wide .postbox div.stats_range ul li.custom form,.woocommerce-reports-wide .postbox h3.stats_range ul li.custom div,.woocommerce-reports-wide .postbox h3.stats_range ul li.custom form,.woocommerce-reports-wrap .postbox div.stats_range ul li.custom div,.woocommerce-reports-wrap .postbox div.stats_range ul li.custom form,.woocommerce-reports-wrap .postbox h3.stats_range ul li.custom div,.woocommerce-reports-wrap .postbox h3.stats_range ul li.custom form{display:inline;margin:0}.woocommerce-reports-wide .postbox div.stats_range ul li.custom div input.range_datepicker,.woocommerce-reports-wide .postbox div.stats_range ul li.custom form input.range_datepicker,.woocommerce-reports-wide .postbox h3.stats_range ul li.custom div input.range_datepicker,.woocommerce-reports-wide .postbox h3.stats_range ul li.custom form input.range_datepicker,.woocommerce-reports-wrap .postbox div.stats_range ul li.custom div input.range_datepicker,.woocommerce-reports-wrap .postbox div.stats_range ul li.custom form input.range_datepicker,.woocommerce-reports-wrap .postbox h3.stats_range ul li.custom div input.range_datepicker,.woocommerce-reports-wrap .postbox h3.stats_range ul li.custom form input.range_datepicker{padding:0;margin:0 10px 0 0;background:0 0;border:0;color:#777;text-align:center;-webkit-box-shadow:none;box-shadow:none}.woocommerce-reports-wide .postbox .chart-with-sidebar,.woocommerce-reports-wrap .postbox .chart-with-sidebar{padding:12px 12px 12px 249px;margin:0!important}.woocommerce-reports-wide .postbox .chart-with-sidebar .chart-sidebar,.woocommerce-reports-wrap .postbox .chart-with-sidebar .chart-sidebar{width:225px;margin-left:-237px;float:left}.woocommerce-reports-wide .postbox .chart-widgets,.woocommerce-reports-wrap .postbox .chart-widgets{margin:0;padding:0}.woocommerce-reports-wide .postbox .chart-widgets li.chart-widget,.woocommerce-reports-wrap .postbox .chart-widgets li.chart-widget{margin:0 0 1em;background:#fafafa;border:1px solid #dfdfdf}.woocommerce-reports-wide .postbox .chart-widgets li.chart-widget:after,.woocommerce-reports-wrap .postbox .chart-widgets li.chart-widget:after{content:".";display:block;height:0;clear:both;visibility:hidden}.woocommerce-reports-wide .postbox .chart-widgets li.chart-widget h4,.woocommerce-reports-wrap .postbox .chart-widgets li.chart-widget h4{background:#fff;border:1px solid #dfdfdf;border-left-width:0;border-right-width:0;padding:10px;margin:0;color:#2ea2cc;border-top-width:0;background-image:-webkit-gradient(linear,left bottom,left top,from(#ececec),to(#f9f9f9));background-image:-webkit-linear-gradient(bottom,#ececec,#f9f9f9);background-image:-moz-linear-gradient(bottom,#ececec,#f9f9f9);background-image:-o-linear-gradient(bottom,#ececec,#f9f9f9);background-image:linear-gradient(to top,#ececec,#f9f9f9)}.woocommerce-reports-wide .postbox .chart-widgets li.chart-widget table td.count,.woocommerce-reports-wide .postbox .chart-widgets li.chart-widget table tr.active td,.woocommerce-reports-wrap .postbox .chart-widgets li.chart-widget table td.count,.woocommerce-reports-wrap .postbox .chart-widgets li.chart-widget table tr.active td{background:#f5f5f5}.woocommerce-reports-wide .postbox .chart-widgets li.chart-widget h4.section_title:hover,.woocommerce-reports-wrap .postbox .chart-widgets li.chart-widget h4.section_title:hover{color:#a00}.woocommerce-reports-wide .postbox .chart-widgets li.chart-widget .section_title,.woocommerce-reports-wrap .postbox .chart-widgets li.chart-widget .section_title{cursor:pointer}.woocommerce-reports-wide .postbox .chart-widgets li.chart-widget .section_title span,.woocommerce-reports-wrap .postbox .chart-widgets li.chart-widget .section_title span{display:block}.woocommerce-reports-wide .postbox .chart-widgets li.chart-widget .section_title span:after,.woocommerce-reports-wrap .postbox .chart-widgets li.chart-widget .section_title span:after{font-family:WooCommerce;speak:none;font-weight:400;font-variant:normal;text-transform:none;-webkit-font-smoothing:antialiased;margin-left:.618em;content:"";text-decoration:none;float:right;font-size:.9em;line-height:1.618}.woocommerce-reports-wide .postbox .chart-widgets li.chart-widget .section_title.open,.woocommerce-reports-wrap .postbox .chart-widgets li.chart-widget .section_title.open{color:#333}.woocommerce-reports-wide .postbox .chart-widgets li.chart-widget .section_title.open span:after,.woocommerce-reports-wrap .postbox .chart-widgets li.chart-widget .section_title.open span:after{display:none}.woocommerce-reports-wide .postbox .chart-widgets li.chart-widget .section,.woocommerce-reports-wrap .postbox .chart-widgets li.chart-widget .section{border-bottom:1px solid #dfdfdf}.woocommerce-reports-wide .postbox .chart-widgets li.chart-widget .section .select2-container,.woocommerce-reports-wrap .postbox .chart-widgets li.chart-widget .section .select2-container{width:100%!important}.woocommerce-reports-wide .postbox .chart-widgets li.chart-widget .section:last-of-type,.woocommerce-reports-wrap .postbox .chart-widgets li.chart-widget .section:last-of-type{border-radius:0 0 3px 3px}.woocommerce-reports-wide .postbox .chart-widgets li.chart-widget table,.woocommerce-reports-wrap .postbox .chart-widgets li.chart-widget table{width:100%}.woocommerce-reports-wide .postbox .chart-widgets li.chart-widget table td,.woocommerce-reports-wrap .postbox .chart-widgets li.chart-widget table td{padding:7px 10px;vertical-align:top;border-top:1px solid #e5e5e5;line-height:1.4em}.woocommerce-reports-wide .postbox .chart-widgets li.chart-widget table td.sparkline,.woocommerce-reports-wrap .postbox .chart-widgets li.chart-widget table td.sparkline,form.report_filters div,form.report_filters input,form.report_filters label,form.report_filters p{vertical-align:middle}.woocommerce-reports-wide .postbox .chart-widgets li.chart-widget table tr:first-child td,.woocommerce-reports-wrap .postbox .chart-widgets li.chart-widget table tr:first-child td{border-top:0}.woocommerce-reports-wide .postbox .chart-widgets li.chart-widget table td.name,.woocommerce-reports-wrap .postbox .chart-widgets li.chart-widget table td.name{max-width:175px}.woocommerce-reports-wide .postbox .chart-widgets li.chart-widget table td.name a,.woocommerce-reports-wrap .postbox .chart-widgets li.chart-widget table td.name a{word-wrap:break-word}.woocommerce-reports-wide .postbox .chart-widgets li.chart-widget table .wc_sparkline,.woocommerce-reports-wrap .postbox .chart-widgets li.chart-widget table .wc_sparkline{width:32px;height:1em;display:block;float:right}.woocommerce-reports-wide .postbox .chart-widgets li.chart-widget form,.woocommerce-reports-wide .postbox .chart-widgets li.chart-widget p,.woocommerce-reports-wrap .postbox .chart-widgets li.chart-widget form,.woocommerce-reports-wrap .postbox .chart-widgets li.chart-widget p{margin:0;padding:10px}.woocommerce-reports-wide .postbox .chart-widgets li.chart-widget form .submit,.woocommerce-reports-wide .postbox .chart-widgets li.chart-widget p .submit,.woocommerce-reports-wrap .postbox .chart-widgets li.chart-widget form .submit,.woocommerce-reports-wrap .postbox .chart-widgets li.chart-widget p .submit{margin-top:10px}.woocommerce-reports-wide .postbox .chart-widgets li.chart-widget #product_ids,.woocommerce-reports-wrap .postbox .chart-widgets li.chart-widget #product_ids{width:100%}.woocommerce-reports-wide .postbox .chart-widgets li.chart-widget .select_all,.woocommerce-reports-wide .postbox .chart-widgets li.chart-widget .select_none,.woocommerce-reports-wrap .postbox .chart-widgets li.chart-widget .select_all,.woocommerce-reports-wrap .postbox .chart-widgets li.chart-widget .select_none{float:right;color:#999;margin-left:4px;margin-top:10px}.woocommerce-reports-wide .postbox .chart-legend,.woocommerce-reports-wrap .postbox .chart-legend{list-style:none;margin:0 0 1em;padding:0;border:1px solid #dfdfdf;border-right-width:0;border-bottom-width:0;background:#fff}.woocommerce-reports-wide .postbox .chart-legend li,.woocommerce-reports-wrap .postbox .chart-legend li{border-right:5px solid #aaa;color:#aaa;padding:1em;display:block;margin:0;-webkit-transition:all ease .5s;box-shadow:inset 0 -1px 0 0 #dfdfdf}.woocommerce-reports-wide .postbox .chart-legend li strong,.woocommerce-reports-wrap .postbox .chart-legend li strong{font-size:1.618em;line-height:1.2em;color:#464646;font-weight:400;display:block;font-family:HelveticaNeue-Light,"Helvetica Neue Light","Helvetica Neue",sans-serif}.woocommerce-reports-wide .postbox .chart-legend li strong del,.woocommerce-reports-wrap .postbox .chart-legend li strong del{color:#e74c3c;font-weight:400}.woocommerce-reports-wide .postbox .chart-legend li:hover,.woocommerce-reports-wrap .postbox .chart-legend li:hover{box-shadow:inset 0 -1px 0 0 #dfdfdf,inset 300px 0 0 rgba(156,93,144,.1);border-right:5px solid #9c5d90!important;padding-left:1.5em;color:#9c5d90}.woocommerce-reports-wide .postbox .pie-chart-legend,.woocommerce-reports-wrap .postbox .pie-chart-legend{margin:12px 0 0;overflow:hidden}.woocommerce-reports-wide .postbox .pie-chart-legend li,.woocommerce-reports-wrap .postbox .pie-chart-legend li{float:left;margin:0;padding:6px 0 0;border-top:4px solid #999;text-align:center;box-sizing:border-box;width:50%}.woocommerce-reports-wide .postbox .stat,.woocommerce-reports-wrap .postbox .stat{font-size:1.5em!important;font-weight:700;text-align:center}.woocommerce-reports-wide .postbox .chart-placeholder,.woocommerce-reports-wrap .postbox .chart-placeholder{width:100%;height:650px;overflow:hidden;position:relative}.woocommerce-reports-wide .postbox .chart-prompt,.woocommerce-reports-wrap .postbox .chart-prompt{line-height:650px;margin:0;color:#999;font-size:1.2em;font-style:italic;text-align:center}.woocommerce-reports-wide .postbox .chart-container,.woocommerce-reports-wrap .postbox .chart-container{background:#fff;padding:12px;position:relative;border:1px solid #dfdfdf;border-radius:3px}.woocommerce-reports-wide .postbox .main .chart-legend,.woocommerce-reports-wrap .postbox .main .chart-legend{margin-top:12px}.woocommerce-reports-wide .postbox .main .chart-legend li,.woocommerce-reports-wrap .postbox .main .chart-legend li{border-right:0;margin:0 8px 0 0;float:left;border-top:4px solid #aaa}.woocommerce-reports-wide .woocommerce-reports-main,.woocommerce-reports-wrap .woocommerce-reports-main{float:left;min-width:100%}.woocommerce-reports-wide .woocommerce-reports-main table td,.woocommerce-reports-wrap .woocommerce-reports-main table td{padding:9px}.woocommerce-reports-wide .woocommerce-reports-sidebar,.woocommerce-reports-wrap .woocommerce-reports-sidebar{display:inline;width:281px;margin-left:-300px;clear:both;float:left}.woocommerce-reports-wide .woocommerce-reports-left,.woocommerce-reports-wrap .woocommerce-reports-left{width:49.5%;float:left}.woocommerce-reports-wide .woocommerce-reports-right,.woocommerce-reports-wrap .woocommerce-reports-right{width:49.5%;float:right}.woocommerce-reports-wide .column-wc_actions a.edit,.woocommerce-reports-wide .column-wc_actions a.view,.woocommerce-reports-wrap .column-wc_actions a.edit,.woocommerce-reports-wrap .column-wc_actions a.view{display:block;text-indent:-9999px;position:relative;padding:0!important;height:2em!important;width:2em}.woocommerce-reports-wide .column-wc_actions a.edit:after,.woocommerce-reports-wide .column-wc_actions a.view:after,.woocommerce-reports-wrap .column-wc_actions a.edit:after,.woocommerce-reports-wrap .column-wc_actions a.view:after{font-family:Dashicons;speak:none;font-weight:400;font-variant:normal;text-transform:none;-webkit-font-smoothing:antialiased;margin:0;text-indent:0;position:absolute;top:0;left:0;width:100%;height:100%;text-align:center;line-height:1.85}.woocommerce-reports-wide .column-wc_actions a.edit:after,.woocommerce-reports-wrap .column-wc_actions a.edit:after{content:"\f464"}.woocommerce-reports-wide .column-wc_actions a.view:after,.woocommerce-reports-wrap .column-wc_actions a.view:after{content:"\f177"}.woocommerce-wide-reports-wrap{padding-bottom:11px}.woocommerce-wide-reports-wrap .widefat .export-data{float:right}.woocommerce-wide-reports-wrap .widefat td,.woocommerce-wide-reports-wrap .widefat th{vertical-align:middle;padding:7px}.chart-tooltip{position:absolute;display:none;line-height:1}table.bar_chart{width:100%}table.bar_chart thead th{text-align:left;color:#ccc;padding:6px 0}table.bar_chart tbody th{padding:6px 0;width:25%;text-align:left!important;font-weight:400!important;border-bottom:1px solid #fee}table.bar_chart tbody td{text-align:right;line-height:24px;padding:6px 6px 6px 0;border-bottom:1px solid #fee}table.bar_chart tbody td span{color:#8a4b75;display:block}table.bar_chart tbody td span.alt{color:#47a03e;margin-top:6px}table.bar_chart tbody td.bars{position:relative;text-align:left;padding:6px 6px 6px 0;border-bottom:1px solid #fee}table.bar_chart tbody td.bars a,table.bar_chart tbody td.bars span{text-decoration:none;clear:both;background:#8a4b75;float:left;display:block;line-height:24px;height:24px;-moz-border-radius:3px;-webkit-border-radius:3px;-o-border-radius:3px;-khtml-border-radius:3px;border-radius:3px}table.bar_chart tbody td.bars span.alt{clear:both;background:#47a03e}table.bar_chart tbody td.bars span.alt span{margin:0;color:#c5dec2!important;text-shadow:0 1px 0 #47a03e;background:0 0}@media only screen and (max-width:1280px){#order_data .order_data_column{width:48%}#order_data .order_data_column:first-child{width:100%}.woocommerce_options_panel .description{display:block;clear:both;margin-left:0}.woocommerce_options_panel .dimensions_field .wrap,.woocommerce_options_panel .short,.woocommerce_options_panel input[type=email].short,.woocommerce_options_panel input[type=number].short,.woocommerce_options_panel input[type=text].short{width:80%}.woocommerce_options_panel .downloadable_files,.woocommerce_variations .downloadable_files{padding:0;clear:both}.woocommerce_options_panel .downloadable_files label,.woocommerce_variations .downloadable_files label{position:static}.woocommerce_options_panel .downloadable_files table,.woocommerce_variations .downloadable_files table{margin:0 12px 24px;width:94%}.woocommerce_options_panel .downloadable_files table .sort,.woocommerce_variations .downloadable_files table .sort{visibility:hidden}.woocommerce_options_panel .woocommerce_variable_attributes .downloadable_files table,.woocommerce_variations .woocommerce_variable_attributes .downloadable_files table{margin:0 0 1em;width:100%}}@media only screen and (max-width:900px){#woocommerce-coupon-data ul.coupon_data_tabs,#woocommerce-product-data .wc-tabs-back,#woocommerce-product-data ul.product_data_tabs{width:10%}#woocommerce-coupon-data .wc-metaboxes-wrapper,#woocommerce-coupon-data .woocommerce_options_panel,#woocommerce-product-data .wc-metaboxes-wrapper,#woocommerce-product-data .woocommerce_options_panel{width:90%}#woocommerce-coupon-data ul.coupon_data_tabs li a,#woocommerce-product-data ul.product_data_tabs li a{position:relative;text-indent:-999px;padding:10px}#woocommerce-coupon-data ul.coupon_data_tabs li a:before,#woocommerce-product-data ul.product_data_tabs li a:before{position:absolute;top:0;right:0;bottom:0;left:0;text-indent:0;text-align:center;line-height:40px;width:100%;height:40px}}@media only screen and (max-width:782px){#wp-excerpt-media-buttons a{font-size:16px;line-height:37px;height:39px;padding:0 20px 0 15px}#wp-excerpt-editor-tools{padding-top:20px;padding-right:15px;overflow:hidden;margin-bottom:-1px}.post-type-product .wp-list-table .is-expanded td:not(.hidden),.post-type-shop_order .wp-list-table .is-expanded td:not(.hidden){overflow:visible}#woocommerce-product-data .checkbox{width:25px}.variations-pagenav{float:none;text-align:center;font-size:18px}.variations-pagenav .displaying-num{font-size:16px}.variations-pagenav a{padding:8px 20px 11px;font-size:18px}.variations-pagenav select{padding:0 20px}.variations-defaults{float:none;text-align:center;margin-top:10px}.post-type-product .wp-list-table .column-thumb{display:none;text-align:left;padding-bottom:0}.post-type-product .wp-list-table .column-thumb:before{display:none!important}.post-type-product .wp-list-table .column-thumb img{max-width:32px}.post-type-product .wp-list-table .toggle-row{top:-28px}.post-type-shop_order .wp-list-table .column-order_status{display:none;text-align:left;padding-bottom:0}.post-type-shop_order .wp-list-table .column-order_status mark{margin:0}.post-type-shop_order .wp-list-table .column-order_status:before{display:none!important}.post-type-shop_order .wp-list-table .column-customer_message,.post-type-shop_order .wp-list-table .column-order_notes{text-align:inherit}.post-type-shop_order .wp-list-table .column-order_notes .note-on{font-size:1.3em;margin:0}.post-type-shop_order .wp-list-table .toggle-row{top:-15px}}@media only screen and (max-width:500px){.woocommerce_options_panel label,.woocommerce_options_panel legend{float:none;width:auto;display:block;margin:0}.woocommerce_options_panel fieldset.form-field,.woocommerce_options_panel p.form-field{padding:5px 20px!important}}.wc-backbone-modal *{box-sizing:border-box}.wc-backbone-modal .wc-backbone-modal-content{position:fixed;background:#fff;z-index:100000;left:50%;top:50%;transform:translate(-50%,-50%);width:500px}.wc-backbone-modal.wc-backbone-modal-shipping-method-settings .wc-backbone-modal-content{width:75%;min-width:500px}.wc-backbone-modal-backdrop{position:fixed;top:0;left:0;right:0;bottom:0;min-height:360px;background:#000;opacity:.7;z-index:99900}.wc-backbone-modal-main{padding-bottom:51px}.wc-backbone-modal-main article,.wc-backbone-modal-main header{display:block;position:relative}.wc-backbone-modal-main .wc-backbone-modal-header{height:50px;background:#fcfcfc;padding:0 50px 0 16px;border-bottom:1px solid #ddd}.wc-backbone-modal-main .wc-backbone-modal-header h1{margin:0;font-size:18px;font-weight:700;line-height:50px}.wc-backbone-modal-main .wc-backbone-modal-header .modal-close-link{cursor:pointer;color:#777;height:50px;width:50px;padding:0;position:absolute;top:0;right:0;text-align:center;border:0;border-left:1px solid #ddd;background-color:transparent;-webkit-transition:color .1s ease-in-out,background .1s ease-in-out;transition:color .1s ease-in-out,background .1s ease-in-out}.wc-backbone-modal-main .wc-backbone-modal-header .modal-close-link:before{font:400 22px/50px dashicons!important;color:#666;display:block;content:'\f335';font-weight:300}.wc-backbone-modal-main .wc-backbone-modal-header .modal-close-link:focus,.wc-backbone-modal-main .wc-backbone-modal-header .modal-close-link:hover{background:#ddd;border-color:#ccc;color:#000}.wc-backbone-modal-main .wc-backbone-modal-header .modal-close-link:focus{outline:0}.wc-backbone-modal-main article{padding:10px 16px}.wc-backbone-modal-main article .pagination{padding:10px 0 0;text-align:center}.wc-backbone-modal-main footer{position:absolute;left:0;right:0;bottom:0;z-index:100;padding:10px 16px;background:#fcfcfc;border-top:1px solid #dfdfdf;box-shadow:0 -4px 4px -4px rgba(0,0,0,.1)}.wc-backbone-modal-main footer .inner{float:right;line-height:23px}.wc-backbone-modal-main footer .inner .button{margin-bottom:0}.select2-drop{z-index:999999!important}.select2-container-multi .select2-choices .select2-search-field input{font-family:inherit;font-size:inherit;font-weight:inherit;padding:3px 5px}.select2-container{line-height:1.85em;font-size:14px} \ No newline at end of file +@charset "UTF-8";.button.wc-reload:after,.woocommerce-help-tip:after{speak:none;text-transform:none;-webkit-font-smoothing:antialiased}@-webkit-keyframes spin{100%{-webkit-transform:rotate(360deg)}}@-moz-keyframes spin{100%{-moz-transform:rotate(360deg)}}@keyframes spin{100%{-webkit-transform:rotate(360deg);-moz-transform:rotate(360deg);-ms-transform:rotate(360deg);-o-transform:rotate(360deg);transform:rotate(360deg)}}.select2-container{margin:0;position:relative;display:block!important;zoom:1;vertical-align:middle}.select2-container,.select2-drop,.select2-search,.select2-search input{-webkit-box-sizing:border-box;-moz-box-sizing:border-box;box-sizing:border-box}.select2-container .select2-choice{display:block;padding:0 0 0 8px;overflow:hidden;position:relative;border:1px solid #ccc;white-space:nowrap;color:#444;text-decoration:none;border-radius:3px;background-clip:padding-box;-webkit-touch-callout:none;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;background-color:#fff;font-weight:400}html[dir=rtl] .select2-container .select2-choice{padding:0 8px 0 0}.select2-container.select2-drop-above .select2-choice{border-bottom-color:#ccc;border-radius:0 0 4px 4px}.select2-container.select2-allowclear .select2-choice .select2-chosen{margin-right:42px}.select2-container .select2-choice>.select2-chosen{margin-right:26px;display:block;overflow:hidden;white-space:nowrap;text-overflow:ellipsis;float:none;width:auto}html[dir=rtl] .select2-container .select2-choice>.select2-chosen{margin-left:26px;margin-right:0}.select2-container .select2-choice abbr{display:none;width:12px;height:12px;position:absolute;right:24px;top:5px;font-size:1px;text-decoration:none;border:0;background:url(../images/select2.png) right top no-repeat;cursor:pointer;outline:0}.select2-container.select2-allowclear .select2-choice abbr{display:inline-block}.select2-container .select2-choice abbr:hover{background-position:right -11px;cursor:pointer}.select2-drop-mask{border:0;margin:0;padding:0;position:fixed;left:0;top:0;min-height:100%;min-width:100%;height:auto;width:auto;opacity:0;z-index:9998;background-color:#fff;filter:alpha(opacity=0)}.select2-drop{width:100%;margin-top:-1px;position:absolute;top:100%;background:#fff;color:#000;border:1px solid #ccc;border-top:0;border-radius:0 0 3px 3px}.select2-drop.select2-drop-above{margin-top:1px;border-top:1px solid #ccc;border-bottom:0;border-radius:3px 3px 0 0}.select2-drop-active{border:1px solid #666;border-top:none}.select2-drop.select2-drop-above.select2-drop-active{border-top:1px solid #666}.select2-drop-auto-width{border-top:1px solid #ccc;width:auto}.select2-drop-auto-width .select2-search{padding-top:4px}.select2-container .select2-choice .select2-arrow{display:inline-block;width:18px;height:100%;position:absolute;right:0;top:0;border-radius:0 3px 3px 0;background-clip:padding-box}html[dir=rtl] .select2-container .select2-choice .select2-arrow{left:0;right:auto;border-radius:3px 0 0 3px}.select2-container .select2-choice .select2-arrow b{display:block;width:100%;height:100%;position:relative}.select2-container .select2-choice .select2-arrow b:after{position:absolute;display:block;content:"";top:50%;left:50%;border:4px solid transparent;border-top-color:#666;margin-left:-7px;margin-top:-2px}.select2-search{display:inline-block;width:100%;margin:0;padding-left:4px;padding-right:4px;position:relative;z-index:10000;white-space:nowrap;padding-bottom:4px}.select2-search input{width:100%;height:auto!important;padding:4px 20px 4px 5px!important;margin:0;outline:0;font-family:sans-serif;font-size:1em;border:1px solid #ccc;-webkit-box-shadow:none;box-shadow:none;background:url(../images/select2.png) 100% -22px no-repeat #fff}html[dir=rtl] .select2-search input{padding:4px 5px 4px 20px;background:url(../images/select2.png) -37px -22px no-repeat #fff}.select2-drop.select2-drop-above .select2-search input{margin-top:4px}.select2-search input.select2-active{background:url(../images/select2-spinner.gif) 100% no-repeat #fff}.select2-container-active .select2-choice,.select2-container-active .select2-choices{border:1px solid #666;outline:0}.select2-dropdown-open .select2-choice{border-bottom-color:transparent;-webkit-box-shadow:0 1px 0 #fff inset;box-shadow:0 1px 0 #fff inset;border-bottom-left-radius:0;border-bottom-right-radius:0}.select2-dropdown-open .select2-choice .select2-arrow b:after{border-top-color:transparent;border-bottom-color:#666;margin-top:-6px}.select2-dropdown-open.select2-drop-above .select2-choice,.select2-dropdown-open.select2-drop-above .select2-choices{border:1px solid #666;border-top-color:transparent}.select2-dropdown-open .select2-choice .select2-arrow{background:0 0;border-left:none;filter:none}html[dir=rtl] .select2-dropdown-open .select2-choice .select2-arrow{border-right:none}.select2-dropdown-open .select2-choice .select2-arrow b{background-position:-18px 1px}html[dir=rtl] .select2-dropdown-open .select2-choice .select2-arrow b{background-position:-16px 1px}.select2-hidden-accessible{border:0;clip:rect(0 0 0 0);height:1px;margin:-1px;overflow:hidden;padding:0;position:absolute;width:1px}.select2-results{max-height:200px;padding:4px;margin:0;position:relative;overflow-x:hidden;overflow-y:auto;-webkit-tap-highlight-color:transparent;background:#fafafa}html[dir=rtl] .select2-results{padding:0 4px 0 0;margin:4px 0 4px 4px}.select2-results ul.select2-result-sub{margin:0;padding-left:0}.select2-results li{list-style:none;display:list-item;background-image:none;margin:3px 0}.select2-results li.select2-result-with-children>.select2-result-label{font-weight:700}.select2-results .select2-result-label{padding:5px 7px;margin:0;cursor:pointer;min-height:1em;-webkit-touch-callout:none;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none}.select2-results-dept-1 .select2-result-label{padding-left:20px}.select2-results-dept-2 .select2-result-label{padding-left:40px}.select2-results-dept-3 .select2-result-label{padding-left:60px}.select2-results-dept-4 .select2-result-label{padding-left:80px}.select2-results-dept-5 .select2-result-label{padding-left:100px}.select2-results-dept-6 .select2-result-label{padding-left:110px}.select2-results-dept-7 .select2-result-label{padding-left:120px}.select2-results .select2-highlighted{background:#f1f1f1;color:#000;border-radius:3px}.select2-results li em{background:#feffde;font-style:normal}.select2-results .select2-highlighted em{background:0 0}.select2-results .select2-highlighted ul{background:#fff;color:#000}.select2-results .select2-ajax-error,.select2-results .select2-no-results,.select2-results .select2-searching,.select2-results .select2-selection-limit{background:#f4f4f4;display:list-item;padding-left:5px}.select2-results .select2-disabled.select2-highlighted{color:#666;background:#f4f4f4;display:list-item;cursor:default}.select2-results .select2-disabled{background:#f4f4f4;display:list-item;cursor:default}.select2-results .select2-selected{display:none}.select2-more-results.select2-active{background:url(../images/select2-spinner.gif) 100% no-repeat #f4f4f4}.select2-results .select2-ajax-error{background:rgba(255,50,50,.2)}.select2-more-results{background:#f4f4f4;display:list-item}.select2-container.select2-container-disabled .select2-choice{background-color:#f4f4f4;background-image:none;border:1px solid #ddd;cursor:default}.select2-container.select2-container-disabled .select2-choice .select2-arrow{background-color:#f4f4f4;background-image:none;border-left:0}.select2-container.select2-container-disabled .select2-choice abbr{display:none}.select2-container-multi .select2-choices{height:auto!important;height:1%;margin:0;padding:0 5px 0 0;position:relative;border:1px solid #ccc;cursor:text;overflow:hidden;background-color:#fff;min-height:26px}html[dir=rtl] .select2-container-multi .select2-choices{padding:0 0 0 5px}.select2-locked{padding:3px 5px!important}.select2-container-multi.select2-container-active .select2-choices{border:1px solid #666;outline:0}.select2-container-multi .select2-choices li{float:left;list-style:none}html[dir=rtl] .select2-container-multi .select2-choices li{float:right}.select2-container-multi .select2-choices .select2-search-field{margin:0;padding:0;white-space:nowrap}.select2-container-multi .select2-choices .select2-search-field input{margin:1px 0;outline:0;border:0;-webkit-box-shadow:none;box-shadow:none;background:0 0!important}.select2-container-multi .select2-choices .select2-search-field input.select2-active{background:url(../images/select2-spinner.gif) 100% no-repeat #fff!important}.select2-default{color:#999!important}.select2-container-multi .select2-choices .select2-search-choice{padding:5px 8px 5px 24px;margin:3px 0 3px 5px;position:relative;line-height:15px;color:#333;cursor:default;border-radius:2px;background-clip:padding-box;-webkit-touch-callout:none;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;background-color:#e4e4e4}html[dir=rtl] .select2-container-multi .select2-choices .select2-search-choice{margin:3px 5px 3px 0;padding:5px 24px 5px 8px}.select2-container-multi .select2-choices .select2-search-choice .select2-chosen{cursor:default}.select2-container-multi .select2-choices .select2-search-choice-focus{background:#d4d4d4}.select2-search-choice-close{display:block;width:12px;height:13px;position:absolute;right:7px;top:6px;font-size:1px;outline:0;background:url(../images/select2.png) right top no-repeat}html[dir=rtl] .select2-search-choice-close{right:auto;left:7px}.select2-container-multi .select2-search-choice-close{left:7px}html[dir=rtl] .select2-container-multi .select2-search-choice-close{left:auto;right:7px}.select2-container-multi .select2-choices .select2-search-choice .select2-search-choice-close:hover,.select2-container-multi .select2-choices .select2-search-choice-focus .select2-search-choice-close{background-position:right -11px}.select2-container-multi.select2-container-disabled .select2-choices{background-color:#f4f4f4;background-image:none;border:1px solid #ddd;cursor:default}.select2-container-multi.select2-container-disabled .select2-choices .select2-search-choice{padding:3px 5px;border:1px solid #ddd;background-image:none;background-color:#f4f4f4}.select2-container-multi.select2-container-disabled .select2-choices .select2-search-choice .select2-search-choice-close{display:none;background:0 0}.select2-result-selectable .select2-match,.select2-result-unselectable .select2-match{text-decoration:underline}.select2-offscreen,.select2-offscreen:focus{clip:rect(0 0 0 0)!important;width:1px!important;height:1px!important;border:0!important;margin:0!important;padding:0!important;overflow:hidden!important;position:absolute!important;outline:0!important;left:0!important;top:0!important}.select2-display-none{display:none}.select2-measure-scrollbar{position:absolute;top:-10000px;left:-10000px;width:100px;height:100px;overflow:scroll}@media only screen and (-webkit-min-device-pixel-ratio:1.5),only screen and (min-resolution:2dppx){.select2-search input{background-image:url(../images/select2x2.png)!important;background-repeat:no-repeat!important;background-size:60px 40px!important;background-position:100% -21px!important}}@font-face{font-family:star;src:url(../fonts/star.eot);src:url(../fonts/star.eot?#iefix) format("embedded-opentype"),url(../fonts/star.woff) format("woff"),url(../fonts/star.ttf) format("truetype"),url(../fonts/star.svg#star) format("svg");font-weight:400;font-style:normal}@font-face{font-family:WooCommerce;src:url(../fonts/WooCommerce.eot);src:url(../fonts/WooCommerce.eot?#iefix) format("embedded-opentype"),url(../fonts/WooCommerce.woff) format("woff"),url(../fonts/WooCommerce.ttf) format("truetype"),url(../fonts/WooCommerce.svg#WooCommerce) format("svg");font-weight:400;font-style:normal}.blockUI.blockOverlay:before{height:1em;width:1em;position:absolute;top:50%;left:50%;margin-left:-.5em;margin-top:-.5em;display:block;content:"";-webkit-animation:spin 1s ease-in-out infinite;-moz-animation:spin 1s ease-in-out infinite;animation:spin 1s ease-in-out infinite;background:url(../images/icons/loader.svg) center center;background-size:cover;line-height:1;text-align:center;font-size:2em;color:rgba(0,0,0,.75)}.wc_addons_wrap .products{overflow:hidden}.wc_addons_wrap .products li{float:left;margin:0 1em 1em 0!important;padding:0;vertical-align:top;width:300px}.wc_addons_wrap .products li a{text-decoration:none;color:inherit;border:1px solid #ddd;display:block;min-height:220px;overflow:hidden;background:#f5f5f5;-webkit-box-shadow:inset 0 1px 0 rgba(255,255,255,.2),inset 0 -1px 0 rgba(0,0,0,.1);box-shadow:inset 0 1px 0 rgba(255,255,255,.2),inset 0 -1px 0 rgba(0,0,0,.1)}.wc_addons_wrap .products li a img{max-width:258px;max-height:24px;padding:17px 20px;display:block;margin:0;background:#fff;border-right:260px solid #fff}.wc_addons_wrap .products li a .price,.wc_addons_wrap .products li a img.extension-thumb+h3{display:none}.wc_addons_wrap .products li a h2,.wc_addons_wrap .products li a h3{margin:0!important;padding:20px!important;background:#fff}.wc_addons_wrap .products li a p{padding:20px!important;margin:0!important;border-top:1px solid #f1f1f1}.wc_addons_wrap .products li a:focus,.wc_addons_wrap .products li a:hover{background-color:#fff}.wc_addons_wrap .storefront{background:url(../images/storefront-bg.jpg) bottom right #f6f6f6;border:1px solid #ddd;padding:20px;overflow:hidden;zoom:1}.wc_addons_wrap .storefront img{width:278px;height:auto;float:left;margin:0 20px 0 0;box-shadow:0 1px 6px rgba(0,0,0,.1)}.wc_addons_wrap .storefront p{max-width:750px}.woocommerce-message{position:relative;border-left-color:#cc99c2!important;overflow:hidden}.woocommerce-message a.button-primary,.woocommerce-message button.button-primary{background:#bb77ae;border-color:#aa559a;-webkit-box-shadow:inset 0 1px 0 rgba(255,255,255,.25),0 1px 0 rgba(0,0,0,.15);box-shadow:inset 0 1px 0 rgba(255,255,255,.25),0 1px 0 rgba(0,0,0,.15);color:#fff;text-decoration:none!important;text-shadow:0 -1px 1px #8a4f7f,1px 0 1px #8a4f7f,0 1px 1px #8a4f7f,-1px 0 1px #8a4f7f}.woocommerce-message a.button-primary:hover,.woocommerce-message button.button-primary:hover{background:#c480b7;border-color:#aa559a;-webkit-box-shadow:inset 0 1px 0 rgba(255,255,255,.25),0 1px 0 rgba(0,0,0,.15);box-shadow:inset 0 1px 0 rgba(255,255,255,.25),0 1px 0 rgba(0,0,0,.15)}.woocommerce-message a.button-primary:active,.woocommerce-message button.button-primary:active{background:#aa559a;border-color:#873A79;-webkit-box-shadow:inset 0 2px 0 #873A79;box-shadow:inset 0 2px 0 #873A79}.woocommerce-message a.button-primary:focus,.woocommerce-message button.button-primary:focus{background:#bb77ae;border-color:#aa559a;-webkit-box-shadow:0 1px 0 #bb77ae,0 0 2px 1px #aa559a;box-shadow:0 1px 0 #bb77ae,0 0 2px 1px #aa559a}.woocommerce-message a.docs,.woocommerce-message a.skip{text-decoration:none!important}.woocommerce-message a.woocommerce-message-close{position:absolute;top:10px;right:10px;padding:10px 15px 10px 21px;font-size:13px;line-height:1.23076923;text-decoration:none}.woocommerce-message a.woocommerce-message-close:before{position:absolute;top:8px;left:0;-webkit-transition:all .1s ease-in-out;transition:all .1s ease-in-out}.woocommerce-message .twitter-share-button{margin-top:-3px;margin-left:3px;vertical-align:middle}#variable_product_options #message,#variable_product_options .notice{margin:10px}.clear{clear:both}#woocommerce-fields-bulk.inline-edit-col label,#woocommerce-fields.inline-edit-col{clear:left}.wrap.woocommerce div.error,.wrap.woocommerce div.updated{margin-top:10px}mark.amount{background:0 0;color:inherit}.postbox,.woocommerce{input:invalid;input-border:1px solid #cc010b;input-background:#ffebe8}.simplify-commerce-banner{overflow:hidden}.simplify-commerce-banner img{float:right;padding:15px 0;margin-left:1em;width:200px}.woocommerce-help-tip{color:#666;display:inline-block;font-size:1.1em;font-style:normal;height:16px;line-height:16px;position:relative;vertical-align:middle;width:16px}.woocommerce-help-tip:after{font-family:Dashicons;font-weight:400;font-variant:normal;line-height:1;margin:0;text-indent:0;position:absolute;top:0;left:0;width:100%;height:100%;text-align:center;content:"";cursor:help}h2 .woocommerce-help-tip{margin-top:-5px;margin-left:.25em}table.wc_status_table{margin-bottom:1em}table.wc_status_table h2{font-size:14px;margin:0}table.wc_status_table tr:nth-child(2n) td,table.wc_status_table tr:nth-child(2n) th{background:#fcfcfc}table.wc_status_table th{font-weight:700;padding:9px}table.wc_status_table td:first-child{width:33%}table.wc_status_table td.help{width:1em}table.wc_status_table td{padding:9px;font-size:1.1em}table.wc_status_table td mark{background:0 0}table.wc_status_table td mark.yes{color:#7ad03a}table.wc_status_table td mark.no{color:#999}table.wc_status_table td mark.error{color:#a00}table.wc_status_table td ul{margin:0}table.wc_status_table .help_tip{cursor:help}#debug-report{display:none;margin:10px 0;padding:0;position:relative}#debug-report textarea{font-family:monospace;width:100%;margin:0;height:300px;padding:20px;-moz-border-radius:0;-webkit-border-radius:0;border-radius:0;resize:none;font-size:12px;line-height:20px;outline:0}#log-viewer-select{padding:10px 0 8px;line-height:180%}#log-viewer textarea{width:100%;resize:vertical}.inline-edit-product.quick-edit-row .inline-edit-col-center,.inline-edit-product.quick-edit-row .inline-edit-col-right{float:right!important}#woocommerce-fields.inline-edit-col label.featured,#woocommerce-fields.inline-edit-col label.manage_stock{margin-left:10px}#woocommerce-fields.inline-edit-col .dimensions div{display:block;margin:.2em 0}#woocommerce-fields.inline-edit-col .dimensions div span.title{display:block;float:left;width:5em}#woocommerce-fields.inline-edit-col .dimensions div span.input-text-wrap{display:block;margin-left:5em}#woocommerce-fields.inline-edit-col .text{box-sizing:border-box;width:99%;float:left;margin:1px 1% 1px 1px}#woocommerce-fields.inline-edit-col .height,#woocommerce-fields.inline-edit-col .length,#woocommerce-fields.inline-edit-col .width{width:32.33%}#woocommerce-fields.inline-edit-col .height{margin-right:0}#woocommerce-fields-bulk.inline-edit-col .inline-edit-group label{clear:none;width:49%;margin:.2em 0}#woocommerce-fields-bulk.inline-edit-col .inline-edit-group.dimensions label{width:75%;max-width:75%}#woocommerce-fields-bulk.inline-edit-col .length,#woocommerce-fields-bulk.inline-edit-col .regular_price,#woocommerce-fields-bulk.inline-edit-col .sale_price,#woocommerce-fields-bulk.inline-edit-col .stock,#woocommerce-fields-bulk.inline-edit-col .weight{box-sizing:border-box;width:100%;margin-left:4.4em}#woocommerce-fields-bulk.inline-edit-col .height,#woocommerce-fields-bulk.inline-edit-col .length,#woocommerce-fields-bulk.inline-edit-col .width{box-sizing:border-box;width:25%}.column-coupon_code{line-height:2.25em}.column-coupon_code,ul.wc_coupon_list{margin:0;overflow:hidden;zoom:1;clear:both}ul.wc_coupon_list li{margin:0}ul.wc_coupon_list li.code{display:inline-block}ul.wc_coupon_list li.code:after{content:", "}ul.wc_coupon_list li.code:last-of-type:after{display:none}ul.wc_coupon_list li.code .tips{cursor:pointer}ul.wc_coupon_list_block{margin:0;padding-bottom:2px}ul.wc_coupon_list_block li{border-top:1px solid #fff;border-bottom:1px solid #ccc;line-height:2.5em;margin:0;padding:.5em 0}ul.wc_coupon_list_block li:first-child{border-top:0;padding-top:0}ul.wc_coupon_list_block li:last-child{border-bottom:0;padding-bottom:0}.button.wc-reload{text-indent:-9999px;position:relative;padding:0;height:28px;width:28px!important;display:inline-block}.button.wc-reload:after{font-family:Dashicons;font-weight:400;font-variant:normal;margin:0;text-indent:0;position:absolute;top:0;left:0;width:100%;height:100%;text-align:center;content:"";line-height:28px}#order_data h2,#order_data p.order_number{font-family:HelveticaNeue-Light,"Helvetica Neue Light","Helvetica Neue",sans-serif;font-weight:400}.tablenav .actions{overflow:visible}.tablenav .select2-container{float:left;max-width:200px;font-size:14px;vertical-align:middle;margin:1px 6px 1px 1px}#woocommerce-order-data .handlediv,#woocommerce-order-data .hndle{display:none}#woocommerce-order-data .inside{display:block!important}#order_data{padding:23px 24px 12px}#order_data h2{margin:0;font-size:21px;line-height:1.2;text-shadow:1px 1px 1px #fff;padding:0}#order_data h3{font-size:14px}#order_data h3,#order_data h4{color:#333;margin:1.33em 0 0}#order_data p{color:#777}#order_data p.order_number{margin:0;line-height:1.6em;font-size:16px}#order_data .order_data_column_container{clear:both}#order_data .order_data_column{width:32%;padding:0 2% 0 0;float:left}#order_data .order_data_column:last-child{padding-right:0}#order_data .order_data_column p{padding:0!important}#order_data .order_data_column .address strong{display:block}#order_data .order_data_column .form-field{float:left;width:48%;padding:0;margin:9px 0 0}#order_data .order_data_column .form-field label{display:block;padding:0 0 3px}#order_data .order_data_column .form-field input,#order_data .order_data_column .form-field select,#order_data .order_data_column .form-field textarea{width:100%}#order_data .order_data_column .form-field .select2-container{width:100%!important}#order_data .order_data_column .form-field .date-picker{width:50%}#order_data .order_data_column .form-field .hour,#order_data .order_data_column .form-field .minute{width:2.5em}#order_data .order_data_column .form-field small{display:block;margin:5px 0 0;color:#999}#order_data .order_data_column .form-field.last{float:right}#order_data .order_data_column .form-field-wide{width:100%;clear:both}#order_data .order_data_column .form-field-wide .wc-customer-search,#order_data .order_data_column .form-field-wide .wc-enhanced-select,#order_data .order_data_column .form-field-wide input,#order_data .order_data_column .form-field-wide select,#order_data .order_data_column .form-field-wide textarea{width:100%}#order_data .order_data_column p.none_set{color:#999}#order_data .order_data_column ._billing_address_1_field,#order_data .order_data_column ._billing_city_field,#order_data .order_data_column ._billing_country_field,#order_data .order_data_column ._billing_email_field,#order_data .order_data_column ._billing_first_name_field,#order_data .order_data_column ._shipping_address_1_field,#order_data .order_data_column ._shipping_city_field,#order_data .order_data_column ._shipping_country_field,#order_data .order_data_column ._shipping_first_name_field{float:left}#order_data .order_data_column ._billing_address_2_field,#order_data .order_data_column ._billing_last_name_field,#order_data .order_data_column ._billing_phone_field,#order_data .order_data_column ._billing_postcode_field,#order_data .order_data_column ._billing_state_field,#order_data .order_data_column ._shipping_address_2_field,#order_data .order_data_column ._shipping_last_name_field,#order_data .order_data_column ._shipping_postcode_field,#order_data .order_data_column ._shipping_state_field,#order_data .order_data_column .wc-customer-user label a,#order_data .order_data_column .wc-order-status label a{float:right}#order_data .order_data_column ._billing_company_field,#order_data .order_data_column ._shipping_company_field,#order_data .order_data_column ._transaction_id_field{clear:both;width:100%}#order_data .order_data_column ._billing_email_field{clear:left}#order_data .order_data_column div.edit_address{display:none;zoom:1;padding-right:1px}#order_data .order_data_column .billing-same-as-shipping,#order_data .order_data_column .load_customer_billing,#order_data .order_data_column .load_customer_shipping,#order_data .order_data_column a.edit_address{width:14px;height:0;padding:14px 0 0;margin:0 0 0 6px;overflow:hidden;position:relative;color:#999;border:0;float:right}#order_data .order_data_column .billing-same-as-shipping:focus,#order_data .order_data_column .billing-same-as-shipping:hover,#order_data .order_data_column .load_customer_billing:focus,#order_data .order_data_column .load_customer_billing:hover,#order_data .order_data_column .load_customer_shipping:focus,#order_data .order_data_column .load_customer_shipping:hover,#order_data .order_data_column a.edit_address:focus,#order_data .order_data_column a.edit_address:hover{color:#000}#order_data .order_data_column .billing-same-as-shipping:after,#order_data .order_data_column .load_customer_billing:after,#order_data .order_data_column .load_customer_shipping:after,#order_data .order_data_column a.edit_address:after{font-family:WooCommerce;position:absolute;top:0;left:0;text-align:center;vertical-align:top;line-height:14px;font-size:14px;font-weight:400;-webkit-font-smoothing:antialiased}#order_data .order_data_column .billing-same-as-shipping:after{content:"\e008"}#order_data .order_data_column .load_customer_billing:after,#order_data .order_data_column .load_customer_shipping:after{content:"\e03a"}#order_data .order_data_column a.edit_address:after{font-family:Dashicons;content:"\f464"}.order_actions{margin:0;overflow:hidden;zoom:1}.order_actions li{border-top:1px solid #fff;border-bottom:1px solid #ddd;padding:6px 0;margin:0;line-height:1.6em;float:left;width:50%;text-align:center}.order_actions li a{float:none;text-align:center;text-decoration:underline}.order_actions li.wide{width:auto;float:none;clear:both;padding:6px;text-align:left;overflow:hidden}.order_actions li #delete-action{line-height:25px;vertical-align:middle;text-align:left;float:left}.order_actions li .save_order{float:right}.order_actions li#actions{overflow:hidden}.order_actions li#actions .button{width:24px;box-sizing:border-box;float:right}.order_actions li#actions select{width:225px;box-sizing:border-box;float:left}#woocommerce-order-items .inside{margin:0;padding:0;background:#fefefe}#woocommerce-order-items .wc-order-data-row{border-bottom:1px solid #DFDFDF;padding:1.5em 2em;background:#f8f8f8;line-height:2em;text-align:right}#woocommerce-order-items .wc-order-data-row:after,#woocommerce-order-items .wc-order-data-row:before{content:" ";display:table}#woocommerce-order-items .wc-order-data-row:after{clear:both}#woocommerce-order-items .wc-order-data-row p{margin:0;line-height:2em}#woocommerce-order-items .wc-order-data-row .wc-used-coupons{text-align:left}#woocommerce-order-items .wc-order-data-row .wc-used-coupons .tips{display:inline-block}#woocommerce-order-items .wc-order-add-item{background:#fff;vertical-align:top;border-top:none}#woocommerce-order-items .wc-order-add-item .add_item_id,#woocommerce-order-items .wc-order-add-item .select2-container{vertical-align:top}#woocommerce-order-items .wc-order-add-item .add_item_id .search-field input,#woocommerce-order-items .wc-order-add-item .select2-container .search-field input{min-width:100px}#woocommerce-order-items .wc-order-add-item .select2-container{width:400px!important;text-align:left}#woocommerce-order-items .wc-order-add-item .calculate-action,#woocommerce-order-items .wc-order-add-item .cancel-action,#woocommerce-order-items .wc-order-add-item .save-action{float:left;margin-right:2px}#woocommerce-order-items .wc-used-coupons{float:left;width:50%}#woocommerce-order-items .wc-order-totals{float:right;width:50%;margin:0;padding:0;text-align:right}#woocommerce-order-items .wc-order-totals .amount{font-weight:700}#woocommerce-order-items .wc-order-totals .label{vertical-align:top}#woocommerce-order-items .wc-order-totals .total{font-size:1em!important;width:10em;margin:0 0 0 .5em;box-sizing:border-box}#woocommerce-order-items .wc-order-totals .total input[type=text]{width:96%;float:right}#woocommerce-order-items .wc-order-totals .refunded-total{color:#a00}#woocommerce-order-items .refund-actions{margin-top:5px;padding-top:12px;border-top:1px solid #DFDFDF}#woocommerce-order-items .refund-actions .button{float:right;margin-left:4px}#woocommerce-order-items .refund-actions .cancel-action,#woocommerce-order-items .wc-order-item-bulk-edit .cancel-action{float:left;margin-left:0}#woocommerce-order-items .add_meta{margin-left:0!important}#woocommerce-order-items h3 small{color:#999}#woocommerce-order-items .amount{white-space:nowrap}#woocommerce-order-items .add-items .description{margin-right:10px}#woocommerce-order-items .add-items .button{float:left;margin-right:.25em}#woocommerce-order-items .add-items .button-primary{float:none;margin-right:0}#woocommerce-order-items .inside{display:block!important}#woocommerce-order-items .handlediv,#woocommerce-order-items .hndle{display:none}#woocommerce-order-items .woocommerce_order_items_wrapper{margin:0}#woocommerce-order-items .woocommerce_order_items_wrapper table.woocommerce_order_items{width:100%;background:#fff}#woocommerce-order-items .woocommerce_order_items_wrapper table.woocommerce_order_items thead th{text-align:left;padding:1em;font-weight:400;color:#999;background:#f8f8f8;-webkit-touch-callout:none;-webkit-user-select:none;-khtml-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none}#woocommerce-order-items .woocommerce_order_items_wrapper table.woocommerce_order_items thead th.sortable{cursor:pointer}#woocommerce-order-items .woocommerce_order_items_wrapper table.woocommerce_order_items thead th:last-child{padding-right:2em}#woocommerce-order-items .woocommerce_order_items_wrapper table.woocommerce_order_items thead th:first-child{padding-left:2em}#woocommerce-order-items .woocommerce_order_items_wrapper table.woocommerce_order_items thead th .wc-arrow{float:right;position:relative;margin-right:-1em}#woocommerce-order-items .woocommerce_order_items_wrapper table.woocommerce_order_items tbody th,#woocommerce-order-items .woocommerce_order_items_wrapper table.woocommerce_order_items td{padding:1.5em 1em 1em;text-align:left;line-height:1.5em;vertical-align:top;border-bottom:1px solid #f8f8f8}#woocommerce-order-items .woocommerce_order_items_wrapper table.woocommerce_order_items tbody th textarea,#woocommerce-order-items .woocommerce_order_items_wrapper table.woocommerce_order_items td textarea{width:100%}#woocommerce-order-items .woocommerce_order_items_wrapper table.woocommerce_order_items tbody th select,#woocommerce-order-items .woocommerce_order_items_wrapper table.woocommerce_order_items td select{width:50%}#woocommerce-order-items .woocommerce_order_items_wrapper table.woocommerce_order_items tbody th input,#woocommerce-order-items .woocommerce_order_items_wrapper table.woocommerce_order_items tbody th textarea,#woocommerce-order-items .woocommerce_order_items_wrapper table.woocommerce_order_items td input,#woocommerce-order-items .woocommerce_order_items_wrapper table.woocommerce_order_items td textarea{font-size:14px;padding:4px;color:#555}#woocommerce-order-items .woocommerce_order_items_wrapper table.woocommerce_order_items tbody th:last-child,#woocommerce-order-items .woocommerce_order_items_wrapper table.woocommerce_order_items td:last-child{padding-right:2em}#woocommerce-order-items .woocommerce_order_items_wrapper table.woocommerce_order_items tbody th:first-child,#woocommerce-order-items .woocommerce_order_items_wrapper table.woocommerce_order_items td:first-child{padding-left:2em}#woocommerce-order-items .woocommerce_order_items_wrapper table.woocommerce_order_items tbody tr td{cursor:pointer}#woocommerce-order-items .woocommerce_order_items_wrapper table.woocommerce_order_items tbody tr.selected{background:#F5EBF3}#woocommerce-order-items .woocommerce_order_items_wrapper table.woocommerce_order_items tbody tr.selected td{border-color:#E6CCE1;opacity:.8}#woocommerce-order-items .woocommerce_order_items_wrapper table.woocommerce_order_items tbody tr:last-child td{border-bottom:1px solid #dfdfdf}#woocommerce-order-items .woocommerce_order_items_wrapper table.woocommerce_order_items tbody tr:first-child td{border-top:8px solid #f8f8f8}#woocommerce-order-items .woocommerce_order_items_wrapper table.woocommerce_order_items tbody#order_line_items tr:first-child td{border-top:none}#woocommerce-order-items .woocommerce_order_items_wrapper table.woocommerce_order_items td.thumb{text-align:left;width:38px;padding-bottom:1.5em}#woocommerce-order-items .woocommerce_order_items_wrapper table.woocommerce_order_items td.thumb .wc-order-item-thumbnail{width:38px;height:38px;border:2px solid #e8e8e8;background:#f8f8f8;color:#ccc;position:relative;font-size:21px;display:block;text-align:center}#woocommerce-order-items .woocommerce_order_items_wrapper table.woocommerce_order_items td.thumb .wc-order-item-thumbnail:after{font-family:Dashicons;speak:none;font-weight:400;font-variant:normal;text-transform:none;-webkit-font-smoothing:antialiased;margin:0;text-indent:0;position:absolute;top:0;left:0;height:100%;text-align:center;content:"";width:38px;line-height:38px;display:block;z-index:1}#woocommerce-order-items .woocommerce_order_items_wrapper table.woocommerce_order_items td.thumb .wc-order-item-thumbnail img{width:100%;height:100%;margin:0;padding:0;z-index:2;position:relative}#woocommerce-order-items .woocommerce_order_items_wrapper table.woocommerce_order_items td.name .wc-order-item-sku,#woocommerce-order-items .woocommerce_order_items_wrapper table.woocommerce_order_items td.name .wc-order-item-variation{display:block;margin-top:.5em;font-size:.92em!important;color:#c8c8c8}#woocommerce-order-items .woocommerce_order_items_wrapper table.woocommerce_order_items .item{min-width:200px}#woocommerce-order-items .woocommerce_order_items_wrapper table.woocommerce_order_items .center,#woocommerce-order-items .woocommerce_order_items_wrapper table.woocommerce_order_items .variation-id{text-align:center}#woocommerce-order-items .woocommerce_order_items_wrapper table.woocommerce_order_items .cost,#woocommerce-order-items .woocommerce_order_items_wrapper table.woocommerce_order_items .item_cost,#woocommerce-order-items .woocommerce_order_items_wrapper table.woocommerce_order_items .line_cost,#woocommerce-order-items .woocommerce_order_items_wrapper table.woocommerce_order_items .line_tax,#woocommerce-order-items .woocommerce_order_items_wrapper table.woocommerce_order_items .quantity,#woocommerce-order-items .woocommerce_order_items_wrapper table.woocommerce_order_items .tax,#woocommerce-order-items .woocommerce_order_items_wrapper table.woocommerce_order_items .tax_class{text-align:right}#woocommerce-order-items .woocommerce_order_items_wrapper table.woocommerce_order_items .cost label,#woocommerce-order-items .woocommerce_order_items_wrapper table.woocommerce_order_items .item_cost label,#woocommerce-order-items .woocommerce_order_items_wrapper table.woocommerce_order_items .line_cost label,#woocommerce-order-items .woocommerce_order_items_wrapper table.woocommerce_order_items .line_tax label,#woocommerce-order-items .woocommerce_order_items_wrapper table.woocommerce_order_items .quantity label,#woocommerce-order-items .woocommerce_order_items_wrapper table.woocommerce_order_items .tax label,#woocommerce-order-items .woocommerce_order_items_wrapper table.woocommerce_order_items .tax_class label{white-space:nowrap;color:#999;font-size:.833em}#woocommerce-order-items .woocommerce_order_items_wrapper table.woocommerce_order_items .cost label input,#woocommerce-order-items .woocommerce_order_items_wrapper table.woocommerce_order_items .item_cost label input,#woocommerce-order-items .woocommerce_order_items_wrapper table.woocommerce_order_items .line_cost label input,#woocommerce-order-items .woocommerce_order_items_wrapper table.woocommerce_order_items .line_tax label input,#woocommerce-order-items .woocommerce_order_items_wrapper table.woocommerce_order_items .quantity label input,#woocommerce-order-items .woocommerce_order_items_wrapper table.woocommerce_order_items .tax label input,#woocommerce-order-items .woocommerce_order_items_wrapper table.woocommerce_order_items .tax_class label input{display:inline}#woocommerce-order-items .woocommerce_order_items_wrapper table.woocommerce_order_items .cost input,#woocommerce-order-items .woocommerce_order_items_wrapper table.woocommerce_order_items .item_cost input,#woocommerce-order-items .woocommerce_order_items_wrapper table.woocommerce_order_items .line_cost input,#woocommerce-order-items .woocommerce_order_items_wrapper table.woocommerce_order_items .line_tax input,#woocommerce-order-items .woocommerce_order_items_wrapper table.woocommerce_order_items .quantity input,#woocommerce-order-items .woocommerce_order_items_wrapper table.woocommerce_order_items .tax input,#woocommerce-order-items .woocommerce_order_items_wrapper table.woocommerce_order_items .tax_class input{width:70px;vertical-align:middle;text-align:right}#woocommerce-order-items .woocommerce_order_items_wrapper table.woocommerce_order_items .cost select,#woocommerce-order-items .woocommerce_order_items_wrapper table.woocommerce_order_items .item_cost select,#woocommerce-order-items .woocommerce_order_items_wrapper table.woocommerce_order_items .line_cost select,#woocommerce-order-items .woocommerce_order_items_wrapper table.woocommerce_order_items .line_tax select,#woocommerce-order-items .woocommerce_order_items_wrapper table.woocommerce_order_items .quantity select,#woocommerce-order-items .woocommerce_order_items_wrapper table.woocommerce_order_items .tax select,#woocommerce-order-items .woocommerce_order_items_wrapper table.woocommerce_order_items .tax_class select{width:85px;height:26px;vertical-align:middle;font-size:1em}#woocommerce-order-items .woocommerce_order_items_wrapper table.woocommerce_order_items .cost .split-input,#woocommerce-order-items .woocommerce_order_items_wrapper table.woocommerce_order_items .item_cost .split-input,#woocommerce-order-items .woocommerce_order_items_wrapper table.woocommerce_order_items .line_cost .split-input,#woocommerce-order-items .woocommerce_order_items_wrapper table.woocommerce_order_items .line_tax .split-input,#woocommerce-order-items .woocommerce_order_items_wrapper table.woocommerce_order_items .quantity .split-input,#woocommerce-order-items .woocommerce_order_items_wrapper table.woocommerce_order_items .tax .split-input,#woocommerce-order-items .woocommerce_order_items_wrapper table.woocommerce_order_items .tax_class .split-input{display:inline-block;background:#fff;border:1px solid #ddd;box-shadow:inset 0 1px 2px rgba(0,0,0,.07);margin:1px 0;min-width:80px;overflow:hidden;line-height:1em;text-align:right}#woocommerce-order-items .woocommerce_order_items_wrapper table.woocommerce_order_items .cost .split-input div.input,#woocommerce-order-items .woocommerce_order_items_wrapper table.woocommerce_order_items .item_cost .split-input div.input,#woocommerce-order-items .woocommerce_order_items_wrapper table.woocommerce_order_items .line_cost .split-input div.input,#woocommerce-order-items .woocommerce_order_items_wrapper table.woocommerce_order_items .line_tax .split-input div.input,#woocommerce-order-items .woocommerce_order_items_wrapper table.woocommerce_order_items .quantity .split-input div.input,#woocommerce-order-items .woocommerce_order_items_wrapper table.woocommerce_order_items .tax .split-input div.input,#woocommerce-order-items .woocommerce_order_items_wrapper table.woocommerce_order_items .tax_class .split-input div.input{width:100%;box-sizing:border-box}#woocommerce-order-items .woocommerce_order_items_wrapper table.woocommerce_order_items .cost .split-input div.input label,#woocommerce-order-items .woocommerce_order_items_wrapper table.woocommerce_order_items .item_cost .split-input div.input label,#woocommerce-order-items .woocommerce_order_items_wrapper table.woocommerce_order_items .line_cost .split-input div.input label,#woocommerce-order-items .woocommerce_order_items_wrapper table.woocommerce_order_items .line_tax .split-input div.input label,#woocommerce-order-items .woocommerce_order_items_wrapper table.woocommerce_order_items .quantity .split-input div.input label,#woocommerce-order-items .woocommerce_order_items_wrapper table.woocommerce_order_items .tax .split-input div.input label,#woocommerce-order-items .woocommerce_order_items_wrapper table.woocommerce_order_items .tax_class .split-input div.input label{font-size:.75em;padding:4px 6px 0;color:#555;display:block}#woocommerce-order-items .woocommerce_order_items_wrapper table.woocommerce_order_items .cost .split-input div.input input,#woocommerce-order-items .woocommerce_order_items_wrapper table.woocommerce_order_items .item_cost .split-input div.input input,#woocommerce-order-items .woocommerce_order_items_wrapper table.woocommerce_order_items .line_cost .split-input div.input input,#woocommerce-order-items .woocommerce_order_items_wrapper table.woocommerce_order_items .line_tax .split-input div.input input,#woocommerce-order-items .woocommerce_order_items_wrapper table.woocommerce_order_items .quantity .split-input div.input input,#woocommerce-order-items .woocommerce_order_items_wrapper table.woocommerce_order_items .tax .split-input div.input input,#woocommerce-order-items .woocommerce_order_items_wrapper table.woocommerce_order_items .tax_class .split-input div.input input{width:100%;box-sizing:border-box;border:0;box-shadow:none;margin:0;padding:0 6px 4px;color:#555;background:0 0}#woocommerce-order-items .woocommerce_order_items_wrapper table.woocommerce_order_items .cost .split-input div.input input::-webkit-input-placeholder,#woocommerce-order-items .woocommerce_order_items_wrapper table.woocommerce_order_items .item_cost .split-input div.input input::-webkit-input-placeholder,#woocommerce-order-items .woocommerce_order_items_wrapper table.woocommerce_order_items .line_cost .split-input div.input input::-webkit-input-placeholder,#woocommerce-order-items .woocommerce_order_items_wrapper table.woocommerce_order_items .line_tax .split-input div.input input::-webkit-input-placeholder,#woocommerce-order-items .woocommerce_order_items_wrapper table.woocommerce_order_items .quantity .split-input div.input input::-webkit-input-placeholder,#woocommerce-order-items .woocommerce_order_items_wrapper table.woocommerce_order_items .tax .split-input div.input input::-webkit-input-placeholder,#woocommerce-order-items .woocommerce_order_items_wrapper table.woocommerce_order_items .tax_class .split-input div.input input::-webkit-input-placeholder{color:#ddd}#woocommerce-order-items .woocommerce_order_items_wrapper table.woocommerce_order_items .cost .split-input div.input:first-child,#woocommerce-order-items .woocommerce_order_items_wrapper table.woocommerce_order_items .item_cost .split-input div.input:first-child,#woocommerce-order-items .woocommerce_order_items_wrapper table.woocommerce_order_items .line_cost .split-input div.input:first-child,#woocommerce-order-items .woocommerce_order_items_wrapper table.woocommerce_order_items .line_tax .split-input div.input:first-child,#woocommerce-order-items .woocommerce_order_items_wrapper table.woocommerce_order_items .quantity .split-input div.input:first-child,#woocommerce-order-items .woocommerce_order_items_wrapper table.woocommerce_order_items .tax .split-input div.input:first-child,#woocommerce-order-items .woocommerce_order_items_wrapper table.woocommerce_order_items .tax_class .split-input div.input:first-child{border-bottom:1px dashed #ddd;background:#fff}#woocommerce-order-items .woocommerce_order_items_wrapper table.woocommerce_order_items .cost .split-input div.input:first-child input,#woocommerce-order-items .woocommerce_order_items_wrapper table.woocommerce_order_items .cost .split-input div.input:first-child label,#woocommerce-order-items .woocommerce_order_items_wrapper table.woocommerce_order_items .item_cost .split-input div.input:first-child input,#woocommerce-order-items .woocommerce_order_items_wrapper table.woocommerce_order_items .item_cost .split-input div.input:first-child label,#woocommerce-order-items .woocommerce_order_items_wrapper table.woocommerce_order_items .line_cost .split-input div.input:first-child input,#woocommerce-order-items .woocommerce_order_items_wrapper table.woocommerce_order_items .line_cost .split-input div.input:first-child label,#woocommerce-order-items .woocommerce_order_items_wrapper table.woocommerce_order_items .line_tax .split-input div.input:first-child input,#woocommerce-order-items .woocommerce_order_items_wrapper table.woocommerce_order_items .line_tax .split-input div.input:first-child label,#woocommerce-order-items .woocommerce_order_items_wrapper table.woocommerce_order_items .quantity .split-input div.input:first-child input,#woocommerce-order-items .woocommerce_order_items_wrapper table.woocommerce_order_items .quantity .split-input div.input:first-child label,#woocommerce-order-items .woocommerce_order_items_wrapper table.woocommerce_order_items .tax .split-input div.input:first-child input,#woocommerce-order-items .woocommerce_order_items_wrapper table.woocommerce_order_items .tax .split-input div.input:first-child label,#woocommerce-order-items .woocommerce_order_items_wrapper table.woocommerce_order_items .tax_class .split-input div.input:first-child input,#woocommerce-order-items .woocommerce_order_items_wrapper table.woocommerce_order_items .tax_class .split-input div.input:first-child label{color:#ccc}#woocommerce-order-items .woocommerce_order_items_wrapper table.woocommerce_order_items .cost .view,#woocommerce-order-items .woocommerce_order_items_wrapper table.woocommerce_order_items .item_cost .view,#woocommerce-order-items .woocommerce_order_items_wrapper table.woocommerce_order_items .line_cost .view,#woocommerce-order-items .woocommerce_order_items_wrapper table.woocommerce_order_items .line_tax .view,#woocommerce-order-items .woocommerce_order_items_wrapper table.woocommerce_order_items .quantity .view,#woocommerce-order-items .woocommerce_order_items_wrapper table.woocommerce_order_items .tax .view,#woocommerce-order-items .woocommerce_order_items_wrapper table.woocommerce_order_items .tax_class .view{white-space:nowrap}#woocommerce-order-items .woocommerce_order_items_wrapper table.woocommerce_order_items .cost .edit,#woocommerce-order-items .woocommerce_order_items_wrapper table.woocommerce_order_items .item_cost .edit,#woocommerce-order-items .woocommerce_order_items_wrapper table.woocommerce_order_items .line_cost .edit,#woocommerce-order-items .woocommerce_order_items_wrapper table.woocommerce_order_items .line_tax .edit,#woocommerce-order-items .woocommerce_order_items_wrapper table.woocommerce_order_items .quantity .edit,#woocommerce-order-items .woocommerce_order_items_wrapper table.woocommerce_order_items .tax .edit,#woocommerce-order-items .woocommerce_order_items_wrapper table.woocommerce_order_items .tax_class .edit{text-align:left}#woocommerce-order-items .woocommerce_order_items_wrapper table.woocommerce_order_items .cost .wc-order-item-discount,#woocommerce-order-items .woocommerce_order_items_wrapper table.woocommerce_order_items .cost .wc-order-item-refund-fields,#woocommerce-order-items .woocommerce_order_items_wrapper table.woocommerce_order_items .cost .wc-order-item-taxes,#woocommerce-order-items .woocommerce_order_items_wrapper table.woocommerce_order_items .cost del,#woocommerce-order-items .woocommerce_order_items_wrapper table.woocommerce_order_items .cost small.times,#woocommerce-order-items .woocommerce_order_items_wrapper table.woocommerce_order_items .item_cost .wc-order-item-discount,#woocommerce-order-items .woocommerce_order_items_wrapper table.woocommerce_order_items .item_cost .wc-order-item-refund-fields,#woocommerce-order-items .woocommerce_order_items_wrapper table.woocommerce_order_items .item_cost .wc-order-item-taxes,#woocommerce-order-items .woocommerce_order_items_wrapper table.woocommerce_order_items .item_cost del,#woocommerce-order-items .woocommerce_order_items_wrapper table.woocommerce_order_items .item_cost small.times,#woocommerce-order-items .woocommerce_order_items_wrapper table.woocommerce_order_items .line_cost .wc-order-item-discount,#woocommerce-order-items .woocommerce_order_items_wrapper table.woocommerce_order_items .line_cost .wc-order-item-refund-fields,#woocommerce-order-items .woocommerce_order_items_wrapper table.woocommerce_order_items .line_cost .wc-order-item-taxes,#woocommerce-order-items .woocommerce_order_items_wrapper table.woocommerce_order_items .line_cost del,#woocommerce-order-items .woocommerce_order_items_wrapper table.woocommerce_order_items .line_cost small.times,#woocommerce-order-items .woocommerce_order_items_wrapper table.woocommerce_order_items .line_tax .wc-order-item-discount,#woocommerce-order-items .woocommerce_order_items_wrapper table.woocommerce_order_items .line_tax .wc-order-item-refund-fields,#woocommerce-order-items .woocommerce_order_items_wrapper table.woocommerce_order_items .line_tax .wc-order-item-taxes,#woocommerce-order-items .woocommerce_order_items_wrapper table.woocommerce_order_items .line_tax del,#woocommerce-order-items .woocommerce_order_items_wrapper table.woocommerce_order_items .line_tax small.times,#woocommerce-order-items .woocommerce_order_items_wrapper table.woocommerce_order_items .quantity .wc-order-item-discount,#woocommerce-order-items .woocommerce_order_items_wrapper table.woocommerce_order_items .quantity .wc-order-item-refund-fields,#woocommerce-order-items .woocommerce_order_items_wrapper table.woocommerce_order_items .quantity .wc-order-item-taxes,#woocommerce-order-items .woocommerce_order_items_wrapper table.woocommerce_order_items .quantity del,#woocommerce-order-items .woocommerce_order_items_wrapper table.woocommerce_order_items .quantity small.times,#woocommerce-order-items .woocommerce_order_items_wrapper table.woocommerce_order_items .tax .wc-order-item-discount,#woocommerce-order-items .woocommerce_order_items_wrapper table.woocommerce_order_items .tax .wc-order-item-refund-fields,#woocommerce-order-items .woocommerce_order_items_wrapper table.woocommerce_order_items .tax .wc-order-item-taxes,#woocommerce-order-items .woocommerce_order_items_wrapper table.woocommerce_order_items .tax del,#woocommerce-order-items .woocommerce_order_items_wrapper table.woocommerce_order_items .tax small.times,#woocommerce-order-items .woocommerce_order_items_wrapper table.woocommerce_order_items .tax_class .wc-order-item-discount,#woocommerce-order-items .woocommerce_order_items_wrapper table.woocommerce_order_items .tax_class .wc-order-item-refund-fields,#woocommerce-order-items .woocommerce_order_items_wrapper table.woocommerce_order_items .tax_class .wc-order-item-taxes,#woocommerce-order-items .woocommerce_order_items_wrapper table.woocommerce_order_items .tax_class del,#woocommerce-order-items .woocommerce_order_items_wrapper table.woocommerce_order_items .tax_class small.times{font-size:.92em!important;color:#c8c8c8}#woocommerce-order-items .woocommerce_order_items_wrapper table.woocommerce_order_items .cost .wc-order-item-refund-fields,#woocommerce-order-items .woocommerce_order_items_wrapper table.woocommerce_order_items .cost .wc-order-item-taxes,#woocommerce-order-items .woocommerce_order_items_wrapper table.woocommerce_order_items .item_cost .wc-order-item-refund-fields,#woocommerce-order-items .woocommerce_order_items_wrapper table.woocommerce_order_items .item_cost .wc-order-item-taxes,#woocommerce-order-items .woocommerce_order_items_wrapper table.woocommerce_order_items .line_cost .wc-order-item-refund-fields,#woocommerce-order-items .woocommerce_order_items_wrapper table.woocommerce_order_items .line_cost .wc-order-item-taxes,#woocommerce-order-items .woocommerce_order_items_wrapper table.woocommerce_order_items .line_tax .wc-order-item-refund-fields,#woocommerce-order-items .woocommerce_order_items_wrapper table.woocommerce_order_items .line_tax .wc-order-item-taxes,#woocommerce-order-items .woocommerce_order_items_wrapper table.woocommerce_order_items .quantity .wc-order-item-refund-fields,#woocommerce-order-items .woocommerce_order_items_wrapper table.woocommerce_order_items .quantity .wc-order-item-taxes,#woocommerce-order-items .woocommerce_order_items_wrapper table.woocommerce_order_items .tax .wc-order-item-refund-fields,#woocommerce-order-items .woocommerce_order_items_wrapper table.woocommerce_order_items .tax .wc-order-item-taxes,#woocommerce-order-items .woocommerce_order_items_wrapper table.woocommerce_order_items .tax_class .wc-order-item-refund-fields,#woocommerce-order-items .woocommerce_order_items_wrapper table.woocommerce_order_items .tax_class .wc-order-item-taxes{margin:0}#woocommerce-order-items .woocommerce_order_items_wrapper table.woocommerce_order_items .cost .wc-order-item-refund-fields label,#woocommerce-order-items .woocommerce_order_items_wrapper table.woocommerce_order_items .cost .wc-order-item-taxes label,#woocommerce-order-items .woocommerce_order_items_wrapper table.woocommerce_order_items .item_cost .wc-order-item-refund-fields label,#woocommerce-order-items .woocommerce_order_items_wrapper table.woocommerce_order_items .item_cost .wc-order-item-taxes label,#woocommerce-order-items .woocommerce_order_items_wrapper table.woocommerce_order_items .line_cost .wc-order-item-refund-fields label,#woocommerce-order-items .woocommerce_order_items_wrapper table.woocommerce_order_items .line_cost .wc-order-item-taxes label,#woocommerce-order-items .woocommerce_order_items_wrapper table.woocommerce_order_items .line_tax .wc-order-item-refund-fields label,#woocommerce-order-items .woocommerce_order_items_wrapper table.woocommerce_order_items .line_tax .wc-order-item-taxes label,#woocommerce-order-items .woocommerce_order_items_wrapper table.woocommerce_order_items .quantity .wc-order-item-refund-fields label,#woocommerce-order-items .woocommerce_order_items_wrapper table.woocommerce_order_items .quantity .wc-order-item-taxes label,#woocommerce-order-items .woocommerce_order_items_wrapper table.woocommerce_order_items .tax .wc-order-item-refund-fields label,#woocommerce-order-items .woocommerce_order_items_wrapper table.woocommerce_order_items .tax .wc-order-item-taxes label,#woocommerce-order-items .woocommerce_order_items_wrapper table.woocommerce_order_items .tax_class .wc-order-item-refund-fields label,#woocommerce-order-items .woocommerce_order_items_wrapper table.woocommerce_order_items .tax_class .wc-order-item-taxes label{display:block}#woocommerce-order-items .woocommerce_order_items_wrapper table.woocommerce_order_items .cost .wc-order-item-discount,#woocommerce-order-items .woocommerce_order_items_wrapper table.woocommerce_order_items .item_cost .wc-order-item-discount,#woocommerce-order-items .woocommerce_order_items_wrapper table.woocommerce_order_items .line_cost .wc-order-item-discount,#woocommerce-order-items .woocommerce_order_items_wrapper table.woocommerce_order_items .line_tax .wc-order-item-discount,#woocommerce-order-items .woocommerce_order_items_wrapper table.woocommerce_order_items .quantity .wc-order-item-discount,#woocommerce-order-items .woocommerce_order_items_wrapper table.woocommerce_order_items .tax .wc-order-item-discount,#woocommerce-order-items .woocommerce_order_items_wrapper table.woocommerce_order_items .tax_class .wc-order-item-discount{display:block;margin-top:.5em}#woocommerce-order-items .woocommerce_order_items_wrapper table.woocommerce_order_items .cost small.times,#woocommerce-order-items .woocommerce_order_items_wrapper table.woocommerce_order_items .item_cost small.times,#woocommerce-order-items .woocommerce_order_items_wrapper table.woocommerce_order_items .line_cost small.times,#woocommerce-order-items .woocommerce_order_items_wrapper table.woocommerce_order_items .line_tax small.times,#woocommerce-order-items .woocommerce_order_items_wrapper table.woocommerce_order_items .quantity small.times,#woocommerce-order-items .woocommerce_order_items_wrapper table.woocommerce_order_items .tax small.times,#woocommerce-order-items .woocommerce_order_items_wrapper table.woocommerce_order_items .tax_class small.times{margin-right:.25em}#woocommerce-order-items .woocommerce_order_items_wrapper table.woocommerce_order_items .quantity{text-align:center}#woocommerce-order-items .woocommerce_order_items_wrapper table.woocommerce_order_items .quantity input{text-align:center;width:50px}#woocommerce-order-items .woocommerce_order_items_wrapper table.woocommerce_order_items span.subtotal{opacity:.5}#woocommerce-order-items .woocommerce_order_items_wrapper table.woocommerce_order_items td.tax_class,#woocommerce-order-items .woocommerce_order_items_wrapper table.woocommerce_order_items th.tax_class{text-align:left}#woocommerce-order-items .woocommerce_order_items_wrapper table.woocommerce_order_items .calculated{border-color:#ae8ca2;border-style:dotted}#woocommerce-order-items .woocommerce_order_items_wrapper table.woocommerce_order_items table.meta{width:100%}#woocommerce-order-items .woocommerce_order_items_wrapper table.woocommerce_order_items table.display_meta,#woocommerce-order-items .woocommerce_order_items_wrapper table.woocommerce_order_items table.meta{margin:.5em 0 0;font-size:.92em!important;color:#c8c8c8}#woocommerce-order-items .woocommerce_order_items_wrapper table.woocommerce_order_items tr.fee .thumb div:before,#woocommerce-order-items .woocommerce_order_items_wrapper table.woocommerce_order_items tr.refund .thumb div:before,#woocommerce-order-items .woocommerce_order_items_wrapper table.woocommerce_order_items tr.shipping .thumb div:before{color:#ccc;top:0;left:0;speak:none;font-weight:400;font-variant:normal;text-transform:none;-webkit-font-smoothing:antialiased;text-align:center;font-family:WooCommerce}#woocommerce-order-items .woocommerce_order_items_wrapper table.woocommerce_order_items table.display_meta tr th,#woocommerce-order-items .woocommerce_order_items_wrapper table.woocommerce_order_items table.meta tr th{border:0;padding:0 4px .5em 0;line-height:1.5em;width:20%}#woocommerce-order-items .woocommerce_order_items_wrapper table.woocommerce_order_items table.display_meta tr td,#woocommerce-order-items .woocommerce_order_items_wrapper table.woocommerce_order_items table.meta tr td{padding:0 4px .5em 0;border:0;line-height:1.5em}#woocommerce-order-items .woocommerce_order_items_wrapper table.woocommerce_order_items table.display_meta tr td input,#woocommerce-order-items .woocommerce_order_items_wrapper table.woocommerce_order_items table.meta tr td input{width:100%;margin:0;position:relative;border-bottom:0;box-shadow:none}#woocommerce-order-items .woocommerce_order_items_wrapper table.woocommerce_order_items .refund_by,ul.order_notes li p.meta .exact-date{border-bottom:1px dotted #999}#woocommerce-order-items .woocommerce_order_items_wrapper table.woocommerce_order_items table.display_meta tr td textarea,#woocommerce-order-items .woocommerce_order_items_wrapper table.woocommerce_order_items table.meta tr td textarea{width:100%;height:4em;margin:0;box-shadow:none}#woocommerce-order-items .woocommerce_order_items_wrapper table.woocommerce_order_items table.display_meta tr td input:focus+textarea,#woocommerce-order-items .woocommerce_order_items_wrapper table.woocommerce_order_items table.meta tr td input:focus+textarea{border-top-color:#999}#woocommerce-order-items .woocommerce_order_items_wrapper table.woocommerce_order_items table.display_meta tr td p,#woocommerce-order-items .woocommerce_order_items_wrapper table.woocommerce_order_items table.meta tr td p{margin:0 0 .5em;line-height:1.5em}#woocommerce-order-items .woocommerce_order_items_wrapper table.woocommerce_order_items table.display_meta tr td p:last-child,#woocommerce-order-items .woocommerce_order_items_wrapper table.woocommerce_order_items table.meta tr td p:last-child{margin:0}#woocommerce-order-items .woocommerce_order_items_wrapper table.woocommerce_order_items tr.fee .thumb div{display:block;text-indent:-9999px;position:relative;height:1em;width:1em;font-size:1.5em;line-height:1em;vertical-align:middle;margin:0}#woocommerce-order-items .woocommerce_order_items_wrapper table.woocommerce_order_items tr.fee .thumb div:before{line-height:1;margin:0;text-indent:0;position:absolute;width:100%;height:100%;content:""}#woocommerce-order-items .woocommerce_order_items_wrapper table.woocommerce_order_items tr.refund .thumb div{display:block;text-indent:-9999px;position:relative;height:1em;width:1em;font-size:1.5em;line-height:1em;vertical-align:middle;margin:0}#woocommerce-order-items .woocommerce_order_items_wrapper table.woocommerce_order_items tr.refund .thumb div:before{line-height:1;margin:0;text-indent:0;position:absolute;width:100%;height:100%;content:""}#woocommerce-order-items .woocommerce_order_items_wrapper table.woocommerce_order_items tr.shipping .thumb div{display:block;text-indent:-9999px;position:relative;height:1em;width:1em;font-size:1.5em;line-height:1em;vertical-align:middle;margin:0}#woocommerce-order-items .woocommerce_order_items_wrapper table.woocommerce_order_items tr.shipping .thumb div:before{line-height:1;margin:0;text-indent:0;position:absolute;width:100%;height:100%;content:""}#woocommerce-order-items .woocommerce_order_items_wrapper table.woocommerce_order_items tr.shipping .shipping_method,#woocommerce-order-items .woocommerce_order_items_wrapper table.woocommerce_order_items tr.shipping .shipping_method_name{width:100%;margin:0 0 .5em}#woocommerce-order-items .woocommerce_order_items_wrapper table.woocommerce_order_items th.line_tax{white-space:nowrap}#woocommerce-order-items .woocommerce_order_items_wrapper table.woocommerce_order_items td.line_tax .delete-order-tax,#woocommerce-order-items .woocommerce_order_items_wrapper table.woocommerce_order_items th.line_tax .delete-order-tax{display:block;text-indent:-9999px;position:relative;height:1em;width:1em;float:right;font-size:14px;visibility:hidden;margin:3px -18px 0 0}#woocommerce-order-items .woocommerce_order_items_wrapper table.woocommerce_order_items td.line_tax .delete-order-tax:before,#woocommerce-order-items .woocommerce_order_items_wrapper table.woocommerce_order_items th.line_tax .delete-order-tax:before{font-family:Dashicons;speak:none;font-weight:400;font-variant:normal;text-transform:none;line-height:1;-webkit-font-smoothing:antialiased;margin:0;text-indent:0;position:absolute;top:0;left:0;width:100%;height:100%;text-align:center;content:"";color:#999}#woocommerce-order-items .woocommerce_order_items_wrapper table.woocommerce_order_items td.line_tax .delete-order-tax:hover:before,#woocommerce-order-items .woocommerce_order_items_wrapper table.woocommerce_order_items th.line_tax .delete-order-tax:hover:before{color:#a00}#woocommerce-order-items .woocommerce_order_items_wrapper table.woocommerce_order_items td.line_tax:hover .delete-order-tax,#woocommerce-order-items .woocommerce_order_items_wrapper table.woocommerce_order_items th.line_tax:hover .delete-order-tax{visibility:visible}#woocommerce-order-items .woocommerce_order_items_wrapper table.woocommerce_order_items small.refunded{display:block;color:#a00;white-space:nowrap;margin-top:.5em}#woocommerce-order-items .woocommerce_order_items_wrapper table.woocommerce_order_items small.refunded:before{font-family:Dashicons;speak:none;font-weight:400;font-variant:normal;text-transform:none;-webkit-font-smoothing:antialiased;text-indent:0;width:100%;height:100%;text-align:center;content:"";position:relative;top:auto;left:auto;margin:-1px 4px 0 0;vertical-align:middle;line-height:1em}#woocommerce-order-items .wc-order-edit-line-item{padding-left:0}#woocommerce-order-items .wc-order-edit-line-item-actions{width:44px;text-align:right;padding-left:0;vertical-align:middle}#woocommerce-order-items .wc-order-edit-line-item-actions a{color:#ccc;display:inline-block;cursor:pointer;padding:0 0 .5em;margin:0 0 0 12px;vertical-align:middle;text-decoration:none;line-height:16px;width:16px;overflow:hidden}#woocommerce-order-items .wc-order-edit-line-item-actions a:before{margin:0;padding:0;font-size:16px;width:16px;height:16px}#woocommerce-order-items .wc-order-edit-line-item-actions .delete-order-item:before,#woocommerce-order-items .wc-order-edit-line-item-actions .delete_refund:before,#woocommerce-order-items .wc-order-edit-line-item-actions .edit-order-item:before{font-family:Dashicons;-webkit-font-smoothing:antialiased;text-indent:0;top:0;left:0;width:100%;height:100%;margin:0;text-align:center;position:relative;speak:none;font-weight:400;font-variant:normal;text-transform:none;line-height:1}#woocommerce-order-items .wc-order-edit-line-item-actions a:hover:before{color:#999}#woocommerce-order-items .wc-order-edit-line-item-actions a:first-child{margin-left:0}#woocommerce-order-items .wc-order-edit-line-item-actions .edit-order-item:before{content:""}#woocommerce-order-items .wc-order-edit-line-item-actions .delete-order-item:before,#woocommerce-order-items .wc-order-edit-line-item-actions .delete_refund:before{content:""}#woocommerce-order-items .wc-order-edit-line-item-actions .delete-order-item:hover:before,#woocommerce-order-items .wc-order-edit-line-item-actions .delete_refund:hover:before{color:#a00}#woocommerce-order-items tbody tr .wc-order-edit-line-item-actions{visibility:hidden}#woocommerce-order-items tbody tr:hover .wc-order-edit-line-item-actions{visibility:visible}#woocommerce-order-items .wc-order-totals .wc-order-edit-line-item-actions{width:1.5em;visibility:visible!important}#woocommerce-order-items .wc-order-totals .wc-order-edit-line-item-actions a{padding:0}#woocommerce-order-downloads .buttons{float:left;padding:0;margin:0;vertical-align:top}#woocommerce-order-downloads .buttons .add_item_id,#woocommerce-order-downloads .buttons .select2-container{width:400px!important;margin-right:9px;vertical-align:top;float:left}#woocommerce-order-downloads .buttons button{margin:2px 0 0}#woocommerce-order-downloads h3 small{color:#999}#poststuff #woocommerce-order-actions .inside{margin:0;padding:0}#poststuff #woocommerce-order-actions .inside ul.order_actions li{padding:6px 10px;box-sizing:border-box}#poststuff #woocommerce-order-actions .inside ul.order_actions li:last-child{border-bottom:0}#poststuff #woocommerce-order-notes .inside{margin:0;padding:0}#poststuff #woocommerce-order-notes .inside ul.order_notes li{padding:0 10px}#woocommerce_customers p.search-box{margin:6px 0 4px;float:left}#woocommerce_customers .tablenav{float:right;clear:none}.widefat.customers td{vertical-align:middle;padding:4px 7px}.widefat .column-order_title{width:15%}.widefat .column-order_title time{display:block;color:#999;margin:3px 0}.widefat .column-orders,.widefat .column-paying,.widefat .column-spent{text-align:center;width:8%}.widefat .column-last_order{width:11%}.widefat .column-order_actions,.widefat .column-user_actions,.widefat .column-wc_actions{width:110px}.widefat .column-order_actions a.button,.widefat .column-user_actions a.button,.widefat .column-wc_actions a.button{float:left;margin:0 4px 2px 0;cursor:pointer;padding:3px 4px;height:auto}.widefat .column-order_actions a.button img,.widefat .column-user_actions a.button img,.widefat .column-wc_actions a.button img{display:block;width:12px;height:auto}.widefat small.meta{display:block;color:#999;font-size:inherit;margin:3px 0}.widefat .column-order_date,.widefat .column-order_total{width:9%}.widefat .column-order_status{width:45px;text-align:center}.widefat .column-order_status mark{display:block;text-indent:-9999px;position:relative;height:1em;width:1em;background:0 0;font-size:1.4em;margin:0 auto}.widefat .column-order_status mark.cancelled:after,.widefat .column-order_status mark.completed:after,.widefat .column-order_status mark.failed:after,.widefat .column-order_status mark.on-hold:after,.widefat .column-order_status mark.pending:after,.widefat .column-order_status mark.processing:after,.widefat .column-order_status mark.refunded:after{font-family:WooCommerce;speak:none;font-weight:400;font-variant:normal;text-transform:none;line-height:1;-webkit-font-smoothing:antialiased;margin:0;text-indent:0;position:absolute;top:0;left:0;width:100%;height:100%;text-align:center}.column-customer_message .note-on:after,.column-order_notes .note-on:after{speak:none;font-weight:400;font-variant:normal;text-transform:none;-webkit-font-smoothing:antialiased;top:0;left:0;text-align:center;line-height:16px;font-family:WooCommerce}.widefat .column-order_status mark.pending:after{content:"\e012";color:#ffba00}.widefat .column-order_status mark.completed:after{content:"\e015";color:#2ea2cc}.widefat .column-order_status mark.on-hold:after{content:"\e033";color:#999}.widefat .column-order_status mark.failed:after{content:"\e016";color:#d0c21f}.widefat .column-order_status mark.cancelled:after{content:"\e013";color:#a00}.widefat .column-order_status mark.processing:after{content:"\e011";color:#73a724}.widefat .column-order_status mark.refunded:after{content:"\e014";color:#999}.widefat td.column-order_status{padding-top:9px}.column-customer_message .note-on{display:block;text-indent:-9999px;position:relative;height:1em;width:1em;margin:0 auto;color:#999}.column-customer_message .note-on:after{margin:0;text-indent:0;position:absolute;width:100%;height:100%;content:""}.column-order_notes .note-on{display:block;text-indent:-9999px;position:relative;height:1em;width:1em;margin:0 auto;color:#999}.column-order_notes .note-on:after{margin:0;text-indent:0;position:absolute;width:100%;height:100%;content:""}.order_actions .complete,.order_actions .processing,.order_actions .view{display:block;text-indent:-9999px;position:relative;padding:0!important;height:2em!important;width:2em}.order_actions .processing:after{font-family:WooCommerce;speak:none;font-weight:400;font-variant:normal;text-transform:none;-webkit-font-smoothing:antialiased;margin:0;text-indent:0;position:absolute;top:0;left:0;width:100%;height:100%;text-align:center;content:"";line-height:1.85}.order_actions .complete:after,.order_actions .view:after{font-family:Dashicons;text-indent:0;position:absolute;width:100%;height:100%;left:0;line-height:1.85;margin:0;text-align:center;speak:none;font-variant:normal;text-transform:none;-webkit-font-smoothing:antialiased;top:0;font-weight:400}.order_actions .complete:after{content:""}.order_actions .view:after{content:""}.user_actions .edit,.user_actions .link,.user_actions .refresh,.user_actions .view{display:block;text-indent:-9999px;position:relative;padding:0!important;height:2em!important;width:2em}.user_actions .edit:after,.user_actions .link:after,.user_actions .refresh:after,.user_actions .view:after{font-family:WooCommerce;speak:none;font-weight:400;font-variant:normal;text-transform:none;-webkit-font-smoothing:antialiased;margin:0;text-indent:0;position:absolute;top:0;left:0;width:100%;height:100%;text-align:center;content:"";line-height:1.85}.user_actions .edit:after{font-family:Dashicons;content:"\f464"}.user_actions .link:after{content:"\e00d"}.user_actions .view:after{content:"\e010"}.user_actions .refresh:after{content:"\e031"}.attributes-table td,.attributes-table th{width:15%;vertical-align:top}.attributes-table .attribute-terms{width:32%}.attributes-table .attribute-actions{width:2em}.attributes-table .attribute-actions .configure-terms{display:block;text-indent:-9999px;position:relative;padding:0!important;height:2em!important;width:2em}.attributes-table .attribute-actions .configure-terms:after{speak:none;font-weight:400;font-variant:normal;text-transform:none;-webkit-font-smoothing:antialiased;margin:0;text-indent:0;position:absolute;top:0;left:0;width:100%;height:100%;text-align:center;content:"";font-family:Dashicons;line-height:1.85}ul.order_notes{padding:2px 0 0}ul.order_notes li .note_content{padding:10px;background:#efefef;position:relative}ul.order_notes li .note_content p{margin:0;padding:0;word-wrap:break-word}ul.order_notes li p.meta{padding:10px;color:#999;margin:0;font-size:11px}ul.order_notes li a.delete_note{color:#a00}table.wp-list-table .row-actions,table.wp-list-table span.na{color:#999}ul.order_notes li .note_content:after{content:"";display:block;position:absolute;bottom:-10px;left:20px;width:0;height:0;border-width:10px 10px 0 0;border-style:solid;border-color:#efefef transparent}ul.order_notes li.customer-note .note_content{background:#A7CEDC}ul.order_notes li.customer-note .note_content:after{border-color:#A7CEDC transparent}ul.order_notes li.system-note .note_content{background:#d7cad2}ul.order_notes li.system-note .note_content:after{border-color:#d7cad2 transparent}.add_note{border-top:1px solid #ddd;padding:10px 10px 0}.add_note h4{margin-top:5px!important}.add_note #add_order_note{width:100%;height:50px}table.wp-list-table .column-thumb{width:52px;text-align:center;white-space:nowrap}table.wp-list-table .column-name{width:22%}table.wp-list-table .column-product_cat,table.wp-list-table .column-product_tag{width:11%!important}table.wp-list-table .column-featured,table.wp-list-table .column-product_type{width:48px;text-align:left!important}table.wp-list-table .column-customer_message,table.wp-list-table .column-order_notes{width:48px;text-align:center}table.wp-list-table .column-customer_message img,table.wp-list-table .column-order_notes img{margin:0 auto;padding-top:0!important}table.wp-list-table .manage-column.column-featured img,table.wp-list-table .manage-column.column-product_type img{padding-left:2px}table.wp-list-table .column-price .woocommerce-price-suffix{display:none}table.wp-list-table img{margin:1px 2px}table.wp-list-table td.column-thumb img{margin:0;width:auto;height:auto;max-width:40px;max-height:40px;vertical-align:middle}table.wp-list-table .column-is_in_stock{text-align:left!important}table.wp-list-table span.wc-featured,table.wp-list-table span.wc-image,table.wp-list-table span.wc-type{display:block;text-indent:-9999px;position:relative;height:1em;width:1em;margin:0 auto}table.wp-list-table span.wc-featured:before,table.wp-list-table span.wc-image:before,table.wp-list-table span.wc-type:before{font-family:Dashicons;speak:none;font-weight:400;font-variant:normal;text-transform:none;line-height:1;-webkit-font-smoothing:antialiased;margin:0;text-indent:0;position:absolute;top:0;left:0;width:100%;height:100%;text-align:center;content:""}table.wp-list-table span.wc-featured{margin:0;cursor:pointer}table.wp-list-table span.wc-featured:before{content:"\f155"}table.wp-list-table span.wc-featured.not-featured:before{content:"\f154"}table.wp-list-table td.column-featured span.wc-featured{font-size:1.6em}table.wp-list-table span.wc-type{margin:0}table.wp-list-table span.wc-type:before{font-family:WooCommerce;content:"\e006"}table.wp-list-table .notes_head:after,table.wp-list-table .order-notes_head:after,table.wp-list-table .status_head:after,table.wp-list-table span.product-type:before{font-family:WooCommerce;text-align:center;line-height:1;top:0;speak:none;font-variant:normal;text-transform:none;-webkit-font-smoothing:antialiased;left:0}table.wp-list-table span.product-type{display:block;text-indent:-9999px;position:relative;height:1em;width:1em;font-size:1.6em}table.wp-list-table span.product-type:before{font-weight:400;margin:0;text-indent:0;position:absolute;width:100%;height:100%;content:""}table.wp-list-table span.product-type.grouped:before{content:"\e002"}table.wp-list-table span.product-type.external:before{content:"\e034"}table.wp-list-table span.product-type.variable:before{content:"\e003"}table.wp-list-table span.product-type.downloadable:before{content:"\e001"}table.wp-list-table span.product-type.virtual:before{content:"\e000"}table.wp-list-table mark.instock{font-weight:700;color:#7ad03a;background:0 0;line-height:1}table.wp-list-table mark.outofstock{font-weight:700;color:#a44;background:0 0;line-height:1}table.wp-list-table .notes_head,table.wp-list-table .order-notes_head,table.wp-list-table .status_head{display:block;text-indent:-9999px;position:relative;height:1em;width:1em;margin:0 auto}table.wp-list-table .notes_head:after,table.wp-list-table .order-notes_head:after,table.wp-list-table .status_head:after{font-weight:400;margin:0;text-indent:0;position:absolute;width:100%;height:100%}table.wc_emails .wc-email-settings-table-name,table.wc_emails td.name,table.wc_gateways .wc-email-settings-table-name,table.wc_gateways td.name,table.wc_shipping .wc-email-settings-table-name,table.wc_shipping td.name{font-weight:700}table.wp-list-table .order-notes_head:after{content:"\e028"}table.wp-list-table .notes_head:after{content:"\e026"}table.wp-list-table .status_head:after{content:"\e011"}table.wp-list-table .column-order_items{width:12%}table.wp-list-table .column-order_items table.order_items{width:100%;margin:3px 0 0;padding:0;display:none}table.wp-list-table .column-order_items table.order_items td{border:0;margin:0;padding:0 0 3px}table.wp-list-table .column-order_items table.order_items td.qty{color:#999;padding-right:6px;text-align:left}mark.notice{background:#fff;color:#a00;margin:0 0 0 10px}a.export_rates,a.import_rates{float:right;margin-left:9px;margin-top:-2px;margin-bottom:0}#rates-search{float:right}#rates-search input.wc-tax-rates-search-field{padding:4px 8px;font-size:1.2em}#rates-pagination{float:right;margin-right:.5em}#rates-pagination .tablenav{margin:0}table.wc_input_table,table.wc_tax_rates{width:100%}table.wc_input_table span.tips,table.wc_tax_rates span.tips{color:#2ea2cc}table.wc_input_table td,table.wc_tax_rates td{padding:0;border-right:1px solid #DFDFDF;border-bottom:1px solid #DFDFDF;border-top:0;background:#fff}table.wc_input_table td input[type=text],table.wc_input_table td input[type=number],table.wc_tax_rates td input[type=text],table.wc_tax_rates td input[type=number]{width:100%;padding:5px 7px;margin:0;border:0;background:0 0}table.wc_input_table td.apply_to_shipping,table.wc_input_table td.compound,table.wc_tax_rates td.apply_to_shipping,table.wc_tax_rates td.compound{padding:5px 7px;vertical-align:middle}table.wc_input_table td.apply_to_shipping input,table.wc_input_table td.compound input,table.wc_tax_rates td.apply_to_shipping input,table.wc_tax_rates td.compound input{width:auto;padding:0}table.wc_input_table td:last-child,table.wc_tax_rates td:last-child{border-right:0}table.wc_input_table tr.current td,table.wc_tax_rates tr.current td{background-color:#fefbcc}table.wc_input_table .cost,table.wc_input_table .cost input,table.wc_input_table .item_cost,table.wc_input_table .item_cost input,table.wc_tax_rates .cost,table.wc_tax_rates .cost input,table.wc_tax_rates .item_cost,table.wc_tax_rates .item_cost input{text-align:right}table.wc_input_table th.sort,table.wc_tax_rates th.sort{width:17px;padding:0 4px}table.wc_input_table td.sort,table.wc_tax_rates td.sort{padding:0 4px}table.wc_input_table .ui-sortable:not(.ui-sortable-disabled) td.sort,table.wc_tax_rates .ui-sortable:not(.ui-sortable-disabled) td.sort{cursor:move;background:#f9f9f9;text-align:center;vertical-align:middle}table.wc_input_table .ui-sortable:not(.ui-sortable-disabled) td.sort:before,table.wc_tax_rates .ui-sortable:not(.ui-sortable-disabled) td.sort:before{content:"\f333";font-family:Dashicons;text-align:center;line-height:1;color:#999;display:block;width:17px;float:left;height:100%}table.wc_input_table .ui-sortable:not(.ui-sortable-disabled) td.sort:hover:before,table.wc_tax_rates .ui-sortable:not(.ui-sortable-disabled) td.sort:hover:before{color:#333}table.wc_input_table .button,table.wc_tax_rates .button{float:left;margin-right:5px}table.wc_input_table .export,table.wc_input_table .import,table.wc_tax_rates .export,table.wc_tax_rates .import{float:right;margin-right:0;margin-left:5px}table.wc_input_table span.tips,table.wc_tax_rates span.tips{padding:0 3px}table.wc_input_table .pagination,table.wc_tax_rates .pagination{float:right}table.wc_input_table .pagination .button,table.wc_tax_rates .pagination .button{margin-left:5px;margin-right:0}table.wc_input_table .pagination .current,table.wc_tax_rates .pagination .current{background:#bbb;text-shadow:none}table.wc_input_table tfoot th,table.wc_tax_rates tfoot th{padding-left:20px;padding-right:20px}table.wc_input_table tr:last-child td,table.wc_tax_rates tr:last-child td{border-bottom:0}table.wc_emails,table.wc_gateways,table.wc_shipping{position:relative}table.wc_emails td,table.wc_gateways td,table.wc_shipping td{vertical-align:middle;padding:7px;line-height:2em}table.wc_emails tr:nth-child(odd) td,table.wc_gateways tr:nth-child(odd) td,table.wc_shipping tr:nth-child(odd) td{background:#f9f9f9}table.wc_emails th,table.wc_gateways th,table.wc_shipping th{padding:9px 7px!important;vertical-align:middle}table.wc_emails .settings,table.wc_gateways .settings,table.wc_shipping .settings{text-align:right}table.wc_emails .default,table.wc_emails .radio,table.wc_emails .status,table.wc_gateways .default,table.wc_gateways .radio,table.wc_gateways .status,table.wc_shipping .default,table.wc_shipping .radio,table.wc_shipping .status{text-align:center}table.wc_emails .default .tips,table.wc_emails .radio .tips,table.wc_emails .status .tips,table.wc_gateways .default .tips,table.wc_gateways .radio .tips,table.wc_gateways .status .tips,table.wc_shipping .default .tips,table.wc_shipping .radio .tips,table.wc_shipping .status .tips{margin:0 auto}table.wc_emails .default input,table.wc_emails .radio input,table.wc_emails .status input,table.wc_gateways .default input,table.wc_gateways .radio input,table.wc_gateways .status input,table.wc_shipping .default input,table.wc_shipping .radio input,table.wc_shipping .status input{margin:0}table.wc_emails th.sort,table.wc_gateways th.sort,table.wc_shipping th.sort{width:28px;padding:0}table.wc_emails td.sort,table.wc_gateways td.sort,table.wc_shipping td.sort{padding:0 7px;cursor:move;text-align:center;vertical-align:middle}table.wc_emails td.sort:before,table.wc_gateways td.sort:before,table.wc_shipping td.sort:before{content:"\f333";font-family:Dashicons;text-align:center;line-height:1;color:#ccc;display:block;width:17px;float:left;height:100%}table.wc_emails .wc-email-settings-table-name span,table.wc_gateways .wc-email-settings-table-name span,table.wc_shipping .wc-email-settings-table-name span{font-weight:400;color:#999;margin:0 0 0 4px!important}table.wc_emails .wc-email-settings-table-status,table.wc_gateways .wc-email-settings-table-status,table.wc_shipping .wc-email-settings-table-status{text-align:center;width:1em}table.wc_emails .wc-email-settings-table-status .tips,table.wc_gateways .wc-email-settings-table-status .tips,table.wc_shipping .wc-email-settings-table-status .tips{margin:0 auto}table.wc_emails .wc-email-settings-table-actions a,table.wc_gateways .wc-email-settings-table-actions a,table.wc_shipping .wc-email-settings-table-actions a{display:block;text-indent:-9999px;position:relative;padding:0!important;height:2em!important;width:2em}table.wc_emails .wc-email-settings-table-actions a:after,table.wc_gateways .wc-email-settings-table-actions a:after,table.wc_shipping .wc-email-settings-table-actions a:after{speak:none;font-weight:400;font-variant:normal;text-transform:none;-webkit-font-smoothing:antialiased;margin:0;text-indent:0;position:absolute;top:0;left:0;width:100%;height:100%;text-align:center;content:"";font-family:Dashicons;line-height:1.85}table.wc-shipping-classes td,table.wc-shipping-classes th,table.wc-shipping-zone-methods td,table.wc-shipping-zone-methods th,table.wc-shipping-zones td,table.wc-shipping-zones th{vertical-align:top;line-height:24px;padding:1em;font-size:14px;background:#fff}table.wc-shipping-classes td li,table.wc-shipping-classes th li,table.wc-shipping-zone-methods td li,table.wc-shipping-zone-methods th li,table.wc-shipping-zones td li,table.wc-shipping-zones th li{line-height:24px;font-size:14px}table.wc-shipping-classes td.wc-shipping-zone-method-blank-state,table.wc-shipping-classes td.wc-shipping-zones-blank-state,table.wc-shipping-zone-methods td.wc-shipping-zone-method-blank-state,table.wc-shipping-zone-methods td.wc-shipping-zones-blank-state,table.wc-shipping-zones td.wc-shipping-zone-method-blank-state,table.wc-shipping-zones td.wc-shipping-zones-blank-state{background:#F7F1F6!important;overflow:hidden;position:relative;padding:7.5em 7.5%;border-bottom:2px solid #EEE2EC}table.wc-shipping-classes td.wc-shipping-zone-method-blank-state li,table.wc-shipping-classes td.wc-shipping-zone-method-blank-state p,table.wc-shipping-classes td.wc-shipping-zones-blank-state li,table.wc-shipping-classes td.wc-shipping-zones-blank-state p,table.wc-shipping-zone-methods td.wc-shipping-zone-method-blank-state li,table.wc-shipping-zone-methods td.wc-shipping-zone-method-blank-state p,table.wc-shipping-zone-methods td.wc-shipping-zones-blank-state li,table.wc-shipping-zone-methods td.wc-shipping-zones-blank-state p,table.wc-shipping-zones td.wc-shipping-zone-method-blank-state li,table.wc-shipping-zones td.wc-shipping-zone-method-blank-state p,table.wc-shipping-zones td.wc-shipping-zones-blank-state li,table.wc-shipping-zones td.wc-shipping-zones-blank-state p{color:#a46497;font-size:1.5em;line-height:1.5em;margin:0 0 1em;position:relative;z-index:1;text-shadow:1px 1px 1px #fff}table.wc-shipping-classes td.wc-shipping-zone-method-blank-state li.main,table.wc-shipping-classes td.wc-shipping-zone-method-blank-state p.main,table.wc-shipping-classes td.wc-shipping-zones-blank-state li.main,table.wc-shipping-classes td.wc-shipping-zones-blank-state p.main,table.wc-shipping-zone-methods td.wc-shipping-zone-method-blank-state li.main,table.wc-shipping-zone-methods td.wc-shipping-zone-method-blank-state p.main,table.wc-shipping-zone-methods td.wc-shipping-zones-blank-state li.main,table.wc-shipping-zone-methods td.wc-shipping-zones-blank-state p.main,table.wc-shipping-zones td.wc-shipping-zone-method-blank-state li.main,table.wc-shipping-zones td.wc-shipping-zone-method-blank-state p.main,table.wc-shipping-zones td.wc-shipping-zones-blank-state li.main,table.wc-shipping-zones td.wc-shipping-zones-blank-state p.main{font-size:2em}table.wc-shipping-classes td.wc-shipping-zone-method-blank-state li,table.wc-shipping-classes td.wc-shipping-zones-blank-state li,table.wc-shipping-zone-methods td.wc-shipping-zone-method-blank-state li,table.wc-shipping-zone-methods td.wc-shipping-zones-blank-state li,table.wc-shipping-zones td.wc-shipping-zone-method-blank-state li,table.wc-shipping-zones td.wc-shipping-zones-blank-state li{margin-left:1em;list-style:circle inside}table.wc-shipping-classes td.wc-shipping-zone-method-blank-state:before,table.wc-shipping-classes td.wc-shipping-zones-blank-state:before,table.wc-shipping-zone-methods td.wc-shipping-zone-method-blank-state:before,table.wc-shipping-zone-methods td.wc-shipping-zones-blank-state:before,table.wc-shipping-zones td.wc-shipping-zone-method-blank-state:before,table.wc-shipping-zones td.wc-shipping-zones-blank-state:before{content:"\e01b";font-family:WooCommerce;text-align:center;line-height:1;color:#EEE2EC;display:block;width:1em;font-size:40em;top:50%;right:-3.75%;margin-top:-.1875em;position:absolute}table.wc-shipping-classes td.wc-shipping-zone-method-blank-state .button-primary,table.wc-shipping-classes td.wc-shipping-zones-blank-state .button-primary,table.wc-shipping-zone-methods td.wc-shipping-zone-method-blank-state .button-primary,table.wc-shipping-zone-methods td.wc-shipping-zones-blank-state .button-primary,table.wc-shipping-zones td.wc-shipping-zone-method-blank-state .button-primary,table.wc-shipping-zones td.wc-shipping-zones-blank-state .button-primary{background-color:#a16696;border-color:#a16696;-webkit-box-shadow:inset 0 1px 0 rgba(255,255,255,.2),0 1px 0 rgba(0,0,0,.15);box-shadow:inset 0 1px 0 rgba(255,255,255,.2),0 1px 0 rgba(0,0,0,.15);margin:0;opacity:1;text-shadow:0 -1px 1px #8a4f7f,1px 0 1px #8a4f7f,0 1px 1px #8a4f7f,-1px 0 1px #8a4f7f;font-size:1.5em;padding:.75em 1em;height:auto;position:relative;z-index:1}table.wc-shipping-classes .wc-shipping-class-rows tr:nth-child(odd) td,table.wc-shipping-classes .wc-shipping-zone-method-rows tr:nth-child(odd) td,table.wc-shipping-classes tbody.wc-shipping-zone-rows tr:nth-child(odd) td,table.wc-shipping-classes tr.odd td,table.wc-shipping-zone-methods .wc-shipping-class-rows tr:nth-child(odd) td,table.wc-shipping-zone-methods .wc-shipping-zone-method-rows tr:nth-child(odd) td,table.wc-shipping-zone-methods tbody.wc-shipping-zone-rows tr:nth-child(odd) td,table.wc-shipping-zone-methods tr.odd td,table.wc-shipping-zones .wc-shipping-class-rows tr:nth-child(odd) td,table.wc-shipping-zones .wc-shipping-zone-method-rows tr:nth-child(odd) td,table.wc-shipping-zones tbody.wc-shipping-zone-rows tr:nth-child(odd) td,table.wc-shipping-zones tr.odd td{background:#f9f9f9}table.wc-shipping-classes p,table.wc-shipping-classes ul,table.wc-shipping-zone-methods p,table.wc-shipping-zone-methods ul,table.wc-shipping-zones p,table.wc-shipping-zones ul{margin:0}table.wc-shipping-classes td.wc-shipping-zone-method-sort,table.wc-shipping-classes td.wc-shipping-zone-sort,table.wc-shipping-zone-methods td.wc-shipping-zone-method-sort,table.wc-shipping-zone-methods td.wc-shipping-zone-sort,table.wc-shipping-zones td.wc-shipping-zone-method-sort,table.wc-shipping-zones td.wc-shipping-zone-sort{cursor:move;text-align:center}table.wc-shipping-classes td.wc-shipping-zone-method-sort:before,table.wc-shipping-classes td.wc-shipping-zone-sort:before,table.wc-shipping-zone-methods td.wc-shipping-zone-method-sort:before,table.wc-shipping-zone-methods td.wc-shipping-zone-sort:before,table.wc-shipping-zones td.wc-shipping-zone-method-sort:before,table.wc-shipping-zones td.wc-shipping-zone-sort:before{content:"\f333";font-family:Dashicons;text-align:center;color:#999;display:block;width:17px;float:left;height:100%;line-height:24px}table.wc-shipping-classes td.wc-shipping-zone-method-sort:hover:before,table.wc-shipping-classes td.wc-shipping-zone-sort:hover:before,table.wc-shipping-zone-methods td.wc-shipping-zone-method-sort:hover:before,table.wc-shipping-zone-methods td.wc-shipping-zone-sort:hover:before,table.wc-shipping-zones td.wc-shipping-zone-method-sort:hover:before,table.wc-shipping-zones td.wc-shipping-zone-sort:hover:before{color:#333}table.wc-shipping-classes td.wc-shipping-zone-worldwide,table.wc-shipping-zone-methods td.wc-shipping-zone-worldwide,table.wc-shipping-zones td.wc-shipping-zone-worldwide{text-align:center}table.wc-shipping-classes td.wc-shipping-zone-worldwide:before,table.wc-shipping-zone-methods td.wc-shipping-zone-worldwide:before,table.wc-shipping-zones td.wc-shipping-zone-worldwide:before{content:"\f319";font-family:dashicons;text-align:center;color:#999;display:block;width:17px;float:left;height:100%;line-height:24px}table.wc-shipping-classes .wc-shipping-zone-methods,table.wc-shipping-classes .wc-shipping-zone-name,table.wc-shipping-zone-methods .wc-shipping-zone-methods,table.wc-shipping-zone-methods .wc-shipping-zone-name,table.wc-shipping-zones .wc-shipping-zone-methods,table.wc-shipping-zones .wc-shipping-zone-name{width:25%}table.wc-shipping-classes .wc-shipping-class-description input,table.wc-shipping-classes .wc-shipping-class-description select,table.wc-shipping-classes .wc-shipping-class-description textarea,table.wc-shipping-classes .wc-shipping-class-name input,table.wc-shipping-classes .wc-shipping-class-name select,table.wc-shipping-classes .wc-shipping-class-name textarea,table.wc-shipping-classes .wc-shipping-class-slug input,table.wc-shipping-classes .wc-shipping-class-slug select,table.wc-shipping-classes .wc-shipping-class-slug textarea,table.wc-shipping-classes .wc-shipping-zone-name input,table.wc-shipping-classes .wc-shipping-zone-name select,table.wc-shipping-classes .wc-shipping-zone-name textarea,table.wc-shipping-classes .wc-shipping-zone-region input,table.wc-shipping-classes .wc-shipping-zone-region select,table.wc-shipping-classes .wc-shipping-zone-region textarea,table.wc-shipping-zone-methods .wc-shipping-class-description input,table.wc-shipping-zone-methods .wc-shipping-class-description select,table.wc-shipping-zone-methods .wc-shipping-class-description textarea,table.wc-shipping-zone-methods .wc-shipping-class-name input,table.wc-shipping-zone-methods .wc-shipping-class-name select,table.wc-shipping-zone-methods .wc-shipping-class-name textarea,table.wc-shipping-zone-methods .wc-shipping-class-slug input,table.wc-shipping-zone-methods .wc-shipping-class-slug select,table.wc-shipping-zone-methods .wc-shipping-class-slug textarea,table.wc-shipping-zone-methods .wc-shipping-zone-name input,table.wc-shipping-zone-methods .wc-shipping-zone-name select,table.wc-shipping-zone-methods .wc-shipping-zone-name textarea,table.wc-shipping-zone-methods .wc-shipping-zone-region input,table.wc-shipping-zone-methods .wc-shipping-zone-region select,table.wc-shipping-zone-methods .wc-shipping-zone-region textarea,table.wc-shipping-zones .wc-shipping-class-description input,table.wc-shipping-zones .wc-shipping-class-description select,table.wc-shipping-zones .wc-shipping-class-description textarea,table.wc-shipping-zones .wc-shipping-class-name input,table.wc-shipping-zones .wc-shipping-class-name select,table.wc-shipping-zones .wc-shipping-class-name textarea,table.wc-shipping-zones .wc-shipping-class-slug input,table.wc-shipping-zones .wc-shipping-class-slug select,table.wc-shipping-zones .wc-shipping-class-slug textarea,table.wc-shipping-zones .wc-shipping-zone-name input,table.wc-shipping-zones .wc-shipping-zone-name select,table.wc-shipping-zones .wc-shipping-zone-name textarea,table.wc-shipping-zones .wc-shipping-zone-region input,table.wc-shipping-zones .wc-shipping-zone-region select,table.wc-shipping-zones .wc-shipping-zone-region textarea{width:100%}table.wc-shipping-classes .wc-shipping-class-description a.wc-shipping-class-delete,table.wc-shipping-classes .wc-shipping-class-description a.wc-shipping-zone-delete,table.wc-shipping-classes .wc-shipping-class-name a.wc-shipping-class-delete,table.wc-shipping-classes .wc-shipping-class-name a.wc-shipping-zone-delete,table.wc-shipping-classes .wc-shipping-class-slug a.wc-shipping-class-delete,table.wc-shipping-classes .wc-shipping-class-slug a.wc-shipping-zone-delete,table.wc-shipping-classes .wc-shipping-zone-name a.wc-shipping-class-delete,table.wc-shipping-classes .wc-shipping-zone-name a.wc-shipping-zone-delete,table.wc-shipping-classes .wc-shipping-zone-region a.wc-shipping-class-delete,table.wc-shipping-classes .wc-shipping-zone-region a.wc-shipping-zone-delete,table.wc-shipping-zone-methods .wc-shipping-class-description a.wc-shipping-class-delete,table.wc-shipping-zone-methods .wc-shipping-class-description a.wc-shipping-zone-delete,table.wc-shipping-zone-methods .wc-shipping-class-name a.wc-shipping-class-delete,table.wc-shipping-zone-methods .wc-shipping-class-name a.wc-shipping-zone-delete,table.wc-shipping-zone-methods .wc-shipping-class-slug a.wc-shipping-class-delete,table.wc-shipping-zone-methods .wc-shipping-class-slug a.wc-shipping-zone-delete,table.wc-shipping-zone-methods .wc-shipping-zone-name a.wc-shipping-class-delete,table.wc-shipping-zone-methods .wc-shipping-zone-name a.wc-shipping-zone-delete,table.wc-shipping-zone-methods .wc-shipping-zone-region a.wc-shipping-class-delete,table.wc-shipping-zone-methods .wc-shipping-zone-region a.wc-shipping-zone-delete,table.wc-shipping-zones .wc-shipping-class-description a.wc-shipping-class-delete,table.wc-shipping-zones .wc-shipping-class-description a.wc-shipping-zone-delete,table.wc-shipping-zones .wc-shipping-class-name a.wc-shipping-class-delete,table.wc-shipping-zones .wc-shipping-class-name a.wc-shipping-zone-delete,table.wc-shipping-zones .wc-shipping-class-slug a.wc-shipping-class-delete,table.wc-shipping-zones .wc-shipping-class-slug a.wc-shipping-zone-delete,table.wc-shipping-zones .wc-shipping-zone-name a.wc-shipping-class-delete,table.wc-shipping-zones .wc-shipping-zone-name a.wc-shipping-zone-delete,table.wc-shipping-zones .wc-shipping-zone-region a.wc-shipping-class-delete,table.wc-shipping-zones .wc-shipping-zone-region a.wc-shipping-zone-delete{color:red}table.wc-shipping-classes .wc-shipping-class-description .wc-shipping-zone-postcodes-toggle,table.wc-shipping-classes .wc-shipping-class-name .wc-shipping-zone-postcodes-toggle,table.wc-shipping-classes .wc-shipping-class-slug .wc-shipping-zone-postcodes-toggle,table.wc-shipping-classes .wc-shipping-zone-name .wc-shipping-zone-postcodes-toggle,table.wc-shipping-classes .wc-shipping-zone-region .wc-shipping-zone-postcodes-toggle,table.wc-shipping-zone-methods .wc-shipping-class-description .wc-shipping-zone-postcodes-toggle,table.wc-shipping-zone-methods .wc-shipping-class-name .wc-shipping-zone-postcodes-toggle,table.wc-shipping-zone-methods .wc-shipping-class-slug .wc-shipping-zone-postcodes-toggle,table.wc-shipping-zone-methods .wc-shipping-zone-name .wc-shipping-zone-postcodes-toggle,table.wc-shipping-zone-methods .wc-shipping-zone-region .wc-shipping-zone-postcodes-toggle,table.wc-shipping-zones .wc-shipping-class-description .wc-shipping-zone-postcodes-toggle,table.wc-shipping-zones .wc-shipping-class-name .wc-shipping-zone-postcodes-toggle,table.wc-shipping-zones .wc-shipping-class-slug .wc-shipping-zone-postcodes-toggle,table.wc-shipping-zones .wc-shipping-zone-name .wc-shipping-zone-postcodes-toggle,table.wc-shipping-zones .wc-shipping-zone-region .wc-shipping-zone-postcodes-toggle{float:right;margin:0;font-size:.9em;text-decoration:underline}table.wc-shipping-classes .wc-shipping-class-description .wc-shipping-zone-postcodes,table.wc-shipping-classes .wc-shipping-class-name .wc-shipping-zone-postcodes,table.wc-shipping-classes .wc-shipping-class-slug .wc-shipping-zone-postcodes,table.wc-shipping-classes .wc-shipping-zone-name .wc-shipping-zone-postcodes,table.wc-shipping-classes .wc-shipping-zone-region .wc-shipping-zone-postcodes,table.wc-shipping-zone-methods .wc-shipping-class-description .wc-shipping-zone-postcodes,table.wc-shipping-zone-methods .wc-shipping-class-name .wc-shipping-zone-postcodes,table.wc-shipping-zone-methods .wc-shipping-class-slug .wc-shipping-zone-postcodes,table.wc-shipping-zone-methods .wc-shipping-zone-name .wc-shipping-zone-postcodes,table.wc-shipping-zone-methods .wc-shipping-zone-region .wc-shipping-zone-postcodes,table.wc-shipping-zones .wc-shipping-class-description .wc-shipping-zone-postcodes,table.wc-shipping-zones .wc-shipping-class-name .wc-shipping-zone-postcodes,table.wc-shipping-zones .wc-shipping-class-slug .wc-shipping-zone-postcodes,table.wc-shipping-zones .wc-shipping-zone-name .wc-shipping-zone-postcodes,table.wc-shipping-zones .wc-shipping-zone-region .wc-shipping-zone-postcodes{display:none}table.wc-shipping-classes .wc-shipping-class-description .wc-shipping-zone-postcodes textarea,table.wc-shipping-classes .wc-shipping-class-name .wc-shipping-zone-postcodes textarea,table.wc-shipping-classes .wc-shipping-class-slug .wc-shipping-zone-postcodes textarea,table.wc-shipping-classes .wc-shipping-zone-name .wc-shipping-zone-postcodes textarea,table.wc-shipping-classes .wc-shipping-zone-region .wc-shipping-zone-postcodes textarea,table.wc-shipping-zone-methods .wc-shipping-class-description .wc-shipping-zone-postcodes textarea,table.wc-shipping-zone-methods .wc-shipping-class-name .wc-shipping-zone-postcodes textarea,table.wc-shipping-zone-methods .wc-shipping-class-slug .wc-shipping-zone-postcodes textarea,table.wc-shipping-zone-methods .wc-shipping-zone-name .wc-shipping-zone-postcodes textarea,table.wc-shipping-zone-methods .wc-shipping-zone-region .wc-shipping-zone-postcodes textarea,table.wc-shipping-zones .wc-shipping-class-description .wc-shipping-zone-postcodes textarea,table.wc-shipping-zones .wc-shipping-class-name .wc-shipping-zone-postcodes textarea,table.wc-shipping-zones .wc-shipping-class-slug .wc-shipping-zone-postcodes textarea,table.wc-shipping-zones .wc-shipping-zone-name .wc-shipping-zone-postcodes textarea,table.wc-shipping-zones .wc-shipping-zone-region .wc-shipping-zone-postcodes textarea{margin-top:1em}table.wc-shipping-classes .wc-shipping-class-description .wc-shipping-zone-postcodes .description,table.wc-shipping-classes .wc-shipping-class-name .wc-shipping-zone-postcodes .description,table.wc-shipping-classes .wc-shipping-class-slug .wc-shipping-zone-postcodes .description,table.wc-shipping-classes .wc-shipping-zone-name .wc-shipping-zone-postcodes .description,table.wc-shipping-classes .wc-shipping-zone-region .wc-shipping-zone-postcodes .description,table.wc-shipping-zone-methods .wc-shipping-class-description .wc-shipping-zone-postcodes .description,table.wc-shipping-zone-methods .wc-shipping-class-name .wc-shipping-zone-postcodes .description,table.wc-shipping-zone-methods .wc-shipping-class-slug .wc-shipping-zone-postcodes .description,table.wc-shipping-zone-methods .wc-shipping-zone-name .wc-shipping-zone-postcodes .description,table.wc-shipping-zone-methods .wc-shipping-zone-region .wc-shipping-zone-postcodes .description,table.wc-shipping-zones .wc-shipping-class-description .wc-shipping-zone-postcodes .description,table.wc-shipping-zones .wc-shipping-class-name .wc-shipping-zone-postcodes .description,table.wc-shipping-zones .wc-shipping-class-slug .wc-shipping-zone-postcodes .description,table.wc-shipping-zones .wc-shipping-zone-name .wc-shipping-zone-postcodes .description,table.wc-shipping-zones .wc-shipping-zone-region .wc-shipping-zone-postcodes .description{font-size:.9em;color:#999}table.wc-shipping-classes .wc-shipping-class-count,table.wc-shipping-zone-methods .wc-shipping-class-count,table.wc-shipping-zones .wc-shipping-class-count{text-align:center}table.wc-shipping-classes td.wc-shipping-zone-methods,table.wc-shipping-zone-methods td.wc-shipping-zone-methods,table.wc-shipping-zones td.wc-shipping-zone-methods{color:#999}table.wc-shipping-classes td.wc-shipping-zone-methods .method_disabled,table.wc-shipping-zone-methods td.wc-shipping-zone-methods .method_disabled,table.wc-shipping-zones td.wc-shipping-zone-methods .method_disabled{text-decoration:line-through}table.wc-shipping-classes td.wc-shipping-zone-methods ul,table.wc-shipping-zone-methods td.wc-shipping-zone-methods ul,table.wc-shipping-zones td.wc-shipping-zone-methods ul{color:#999;position:relative;padding-right:32px}table.wc-shipping-classes td.wc-shipping-zone-methods ul li,table.wc-shipping-zone-methods td.wc-shipping-zone-methods ul li,table.wc-shipping-zones td.wc-shipping-zone-methods ul li{display:inline;margin:0}table.wc-shipping-classes td.wc-shipping-zone-methods ul li:before,table.wc-shipping-zone-methods td.wc-shipping-zone-methods ul li:before,table.wc-shipping-zones td.wc-shipping-zone-methods ul li:before{content:", "}table.wc-shipping-classes td.wc-shipping-zone-methods ul li:first-child:before,table.wc-shipping-classes td.wc-shipping-zone-methods ul li:last-child:before,table.wc-shipping-zone-methods td.wc-shipping-zone-methods ul li:first-child:before,table.wc-shipping-zone-methods td.wc-shipping-zone-methods ul li:last-child:before,table.wc-shipping-zones td.wc-shipping-zone-methods ul li:first-child:before,table.wc-shipping-zones td.wc-shipping-zone-methods ul li:last-child:before{content:""}table.wc-shipping-classes td.wc-shipping-zone-methods ul li:last-child,table.wc-shipping-zone-methods td.wc-shipping-zone-methods ul li:last-child,table.wc-shipping-zones td.wc-shipping-zone-methods ul li:last-child{display:block}table.wc-shipping-classes td.wc-shipping-zone-methods ul li:first-child,table.wc-shipping-zone-methods td.wc-shipping-zone-methods ul li:first-child,table.wc-shipping-zones td.wc-shipping-zone-methods ul li:first-child{margin:0!important}table.wc-shipping-classes td.wc-shipping-zone-methods ul li.wc-shipping-zone-methods-add-row,table.wc-shipping-zone-methods td.wc-shipping-zone-methods ul li.wc-shipping-zone-methods-add-row,table.wc-shipping-zones td.wc-shipping-zone-methods ul li.wc-shipping-zone-methods-add-row{position:absolute;right:0;top:0}table.wc-shipping-classes td.wc-shipping-zone-methods .add_shipping_method,table.wc-shipping-zone-methods td.wc-shipping-zone-methods .add_shipping_method,table.wc-shipping-zones td.wc-shipping-zone-methods .add_shipping_method{display:block;width:24px;padding:24px 0 0;height:0;overflow:hidden;cursor:pointer}table.wc-shipping-classes td.wc-shipping-zone-methods .add_shipping_method:before,table.wc-shipping-zone-methods td.wc-shipping-zone-methods .add_shipping_method:before,table.wc-shipping-zones td.wc-shipping-zone-methods .add_shipping_method:before{speak:none;font-weight:400;font-variant:normal;text-transform:none;-webkit-font-smoothing:antialiased;text-indent:0;position:absolute;top:0;left:0;width:100%;height:100%;text-align:center;font-family:Dashicons;content:"\f502";color:#999;vertical-align:middle;line-height:24px;font-size:16px;margin:0}table.wc-shipping-classes .wc-shipping-zone-method-enabled .status-disabled:before,table.wc-shipping-classes .wc-shipping-zone-method-enabled .status-enabled:before,table.wc-shipping-zone-methods .wc-shipping-zone-method-enabled .status-disabled:before,table.wc-shipping-zone-methods .wc-shipping-zone-method-enabled .status-enabled:before,table.wc-shipping-zones .wc-shipping-zone-method-enabled .status-disabled:before,table.wc-shipping-zones .wc-shipping-zone-method-enabled .status-enabled:before{line-height:inherit}table.wc-shipping-classes .wc-shipping-zone-method-enabled .status-disabled,table.wc-shipping-classes .wc-shipping-zone-method-enabled .status-enabled,table.wc-shipping-zone-methods .wc-shipping-zone-method-enabled .status-disabled,table.wc-shipping-zone-methods .wc-shipping-zone-method-enabled .status-enabled,table.wc-shipping-zones .wc-shipping-zone-method-enabled .status-disabled,table.wc-shipping-zones .wc-shipping-zone-method-enabled .status-enabled{margin-top:1px;display:inline-block}table.wc-shipping-classes td.wc-shipping-zone-methods .add_shipping_method.disabled,table.wc-shipping-zone-methods td.wc-shipping-zone-methods .add_shipping_method.disabled,table.wc-shipping-zones td.wc-shipping-zone-methods .add_shipping_method.disabled{cursor:not-allowed}table.wc-shipping-classes td.wc-shipping-zone-methods .add_shipping_method.disabled:before,table.wc-shipping-zone-methods td.wc-shipping-zone-methods .add_shipping_method.disabled:before,table.wc-shipping-zones td.wc-shipping-zone-methods .add_shipping_method.disabled:before{color:#ccc}table.wc-shipping-classes .wc-shipping-zone-method-title,table.wc-shipping-zone-methods .wc-shipping-zone-method-title,table.wc-shipping-zones .wc-shipping-zone-method-title{width:33%}table.wc-shipping-classes .wc-shipping-zone-method-title .wc-shipping-zone-method-delete,table.wc-shipping-zone-methods .wc-shipping-zone-method-title .wc-shipping-zone-method-delete,table.wc-shipping-zones .wc-shipping-zone-method-title .wc-shipping-zone-method-delete{color:red}table.wc-shipping-classes .wc-shipping-zone-method-enabled,table.wc-shipping-zone-methods .wc-shipping-zone-method-enabled,table.wc-shipping-zones .wc-shipping-zone-method-enabled{text-align:center}table.wc-shipping-classes tfoot input,table.wc-shipping-classes tfoot select,table.wc-shipping-zone-methods tfoot input,table.wc-shipping-zone-methods tfoot select,table.wc-shipping-zones tfoot input,table.wc-shipping-zones tfoot select{vertical-align:middle!important}table.wc-shipping-classes tfoot .button-secondary,table.wc-shipping-zone-methods tfoot .button-secondary,table.wc-shipping-zones tfoot .button-secondary{float:right}table.wc-shipping-classes .editing .wc-shipping-zone-edit,table.wc-shipping-classes .editing .wc-shipping-zone-view,table.wc-shipping-zone-methods .editing .wc-shipping-zone-edit,table.wc-shipping-zone-methods .editing .wc-shipping-zone-view,table.wc-shipping-zones .editing .wc-shipping-zone-edit,table.wc-shipping-zones .editing .wc-shipping-zone-view{display:none}.wc-modal-shipping-method-settings{background:#f8f8f8;padding:1em!important}.wc-modal-shipping-method-settings form .form-table{width:100%;background:#fff;margin:0 0 1.5em}.wc-modal-shipping-method-settings form .form-table tr th{width:30%;position:relative}.wc-modal-shipping-method-settings form .form-table tr th .woocommerce-help-tip{float:right;margin:-8px -.5em 0 0;vertical-align:middle;right:0;top:50%;position:absolute}.wc-modal-shipping-method-settings form .form-table tr td input,.wc-modal-shipping-method-settings form .form-table tr td select,.wc-modal-shipping-method-settings form .form-table tr td textarea{width:50%;min-width:250px}.wc-modal-shipping-method-settings form .form-table tr td input[type=checkbox]{width:auto;min-width:0}.wc-modal-shipping-method-settings form .form-table tr td,.wc-modal-shipping-method-settings form .form-table tr th{vertical-align:middle;margin:0;line-height:24px;padding:1em;border-bottom:1px solid #f8f8f8}.wc-modal-shipping-method-settings form .form-table:last-of-type{margin-bottom:0}.wc-backbone-modal .wc-shipping-zone-method-selector{padding:2px}.wc-backbone-modal .wc-shipping-zone-method-selector .wc-shipping-zone-method-description{margin:1em 0;line-height:1.5em}.wc-backbone-modal .wc-shipping-zone-method-selector select{width:100%}img.help_tip{margin:0 0 0 9px;vertical-align:middle}.postbox img.help_tip{margin-top:0}.postbox .woocommerce-help-tip{margin:0 0 0 9px}.status-disabled,.status-enabled,.status-manual{font-size:1.4em;display:block;text-indent:-9999px;position:relative;height:1em;width:1em}.status-disabled:before,.status-enabled:before,.status-manual:before{font-family:WooCommerce;line-height:1;margin:0;position:absolute;width:100%;height:100%;text-indent:0;top:0;font-weight:400;font-variant:normal;-webkit-font-smoothing:antialiased;text-align:center;left:0;speak:none;text-transform:none}.status-manual:before{content:"";color:#999}.status-enabled:before{content:"";color:#a46497}.status-disabled:before{content:"";color:#ccc}.woocommerce h2.woo-nav-tab-wrapper{margin-bottom:1em}.woocommerce nav.woo-nav-tab-wrapper{margin:1.5em 0 1em;border-bottom:1px solid #ccc}.woocommerce .subsubsub{margin:-8px 0 0}.woocommerce .wc-admin-breadcrumb{margin-left:.5em}.woocommerce .wc-admin-breadcrumb a{color:#a46497}.woocommerce #template div{margin:0}.woocommerce #template div p .button{float:right;margin-left:10px;margin-top:-4px}.woocommerce #template div .editor textarea{margin-bottom:8px}.woocommerce textarea[disabled=disabled]{background:#DFDFDF!important}.woocommerce table.form-table{margin:0;position:relative}.woocommerce table.form-table .forminp-radio ul{margin:0}.woocommerce table.form-table .forminp-radio ul li{line-height:1.4em}.woocommerce table.form-table textarea.input-text{height:100%;min-width:150px;display:block}.woocommerce table.form-table input.regular-input{width:25em}.woocommerce table.form-table textarea.wide-input{width:100%}.woocommerce table.form-table .woocommerce-help-tip,.woocommerce table.form-table img.help_tip{padding:0;margin:-4px 0 0 5px;vertical-align:middle;cursor:help;line-height:1}.woocommerce table.form-table span.help_tip{cursor:help;color:#2ea2cc}.woocommerce table.form-table th{position:relative;padding-right:24px}.woocommerce table.form-table .select2-container{display:block;max-width:350px;vertical-align:top;margin-bottom:3px}.woocommerce table.form-table table.widefat th{padding-right:inherit}.woocommerce table.form-table th .woocommerce-help-tip,.woocommerce table.form-table th img.help_tip{margin:0 -24px 0 0;float:right}.woocommerce table.form-table .wp-list-table .woocommerce-help-tip{float:none}.woocommerce table.form-table fieldset{margin-top:4px}.woocommerce table.form-table fieldset .woocommerce-help-tip,.woocommerce table.form-table fieldset img.help_tip{margin:-3px 0 0 5px}.woocommerce table.form-table fieldset p.description{margin-bottom:8px}.woocommerce table.form-table fieldset:first-child{margin-top:0}.woocommerce table.form-table .iris-picker{z-index:100;display:none;position:absolute;border:1px solid #ccc;border-radius:3px;box-shadow:0 1px 3px rgba(0,0,0,.2)}.woocommerce table.form-table .iris-picker .ui-slider{border:0!important;margin:0!important;width:auto!important;height:auto!important;background:none!important}.woocommerce table.form-table .iris-picker .ui-slider .ui-slider-handle{margin-bottom:0!important}.woocommerce table.form-table .colorpickpreview{padding:3px 3px 3px 20px;border:1px solid #ddd;border-right:0}.woocommerce table.form-table .colorpick{border-left:0}.woocommerce table.form-table .image_width_settings{vertical-align:middle}.woocommerce table.form-table .image_width_settings label{margin-left:10px}.woocommerce table.form-table .wc_emails_wrapper{padding:0 15px 10px 0}.woocommerce #tabs-wrap table a.remove{margin-left:4px}.woocommerce #tabs-wrap table p{margin:0 0 4px!important;overflow:hidden;zoom:1}.woocommerce #tabs-wrap table p a.add{float:left}#wp-excerpt-editor-container{background:#fff}#product_variation-parent #parent_id{width:100%}#postimagediv img{border:1px solid #d5d5d5;max-width:100%}#woocommerce-product-images .inside{margin:0;padding:0}#woocommerce-product-images .inside .add_product_images{padding:0 12px 12px}#woocommerce-product-images .inside #product_images_container{padding:0 0 0 9px}#woocommerce-product-images .inside #product_images_container ul{margin:0;padding:0}#woocommerce-product-images .inside #product_images_container ul:after,#woocommerce-product-images .inside #product_images_container ul:before{content:" ";display:table}#woocommerce-product-images .inside #product_images_container ul:after{clear:both}#woocommerce-product-images .inside #product_images_container ul li.add,#woocommerce-product-images .inside #product_images_container ul li.image,#woocommerce-product-images .inside #product_images_container ul li.wc-metabox-sortable-placeholder{width:80px;float:left;cursor:move;border:1px solid #d5d5d5;margin:9px 9px 0 0;background:#f7f7f7;border-radius:2px;position:relative;box-sizing:border-box}#woocommerce-product-images .inside #product_images_container ul li.add img,#woocommerce-product-images .inside #product_images_container ul li.image img,#woocommerce-product-images .inside #product_images_container ul li.wc-metabox-sortable-placeholder img{width:100%;height:auto;display:block}#woocommerce-product-images .inside #product_images_container ul li.wc-metabox-sortable-placeholder{border:3px dashed #ddd;position:relative}#woocommerce-product-images .inside #product_images_container ul li.wc-metabox-sortable-placeholder:after{font-family:Dashicons;speak:none;font-weight:400;font-variant:normal;text-transform:none;-webkit-font-smoothing:antialiased;margin:0;text-indent:0;position:absolute;top:0;left:0;width:100%;height:100%;text-align:center;content:"";font-size:2.618em;line-height:72px;color:#ddd}#woocommerce-product-images .inside #product_images_container ul ul.actions{position:absolute;top:-8px;right:-8px;padding:2px;display:none}#woocommerce-product-images .inside #product_images_container ul ul.actions li{float:right;margin:0 0 0 2px}#woocommerce-product-images .inside #product_images_container ul ul.actions li a{width:1em;margin:0;height:0;display:block;overflow:hidden}#woocommerce-product-images .inside #product_images_container ul ul.actions li a.tips{cursor:pointer}#woocommerce-product-images .inside #product_images_container ul ul.actions li a.delete{display:block;text-indent:-9999px;position:relative;height:1em;width:1em;font-size:1.4em}#woocommerce-product-images .inside #product_images_container ul ul.actions li a.delete:before{font-family:Dashicons;speak:none;font-weight:400;font-variant:normal;text-transform:none;line-height:1;-webkit-font-smoothing:antialiased;margin:0;text-indent:0;position:absolute;top:0;left:0;width:100%;height:100%;text-align:center;content:"";color:#999}#woocommerce-product-images .inside #product_images_container ul ul.actions li a.delete:hover:before{color:#a00}#woocommerce-product-images .inside #product_images_container ul li:hover ul.actions{display:block}#woocommerce-product-data .hndle{padding:10px}#woocommerce-product-data .hndle span{display:block;vertical-align:middle;line-height:24px}#woocommerce-product-data .hndle span span{display:inline;line-height:inherit;vertical-align:baseline}#woocommerce-product-data .hndle label{padding-right:1em;font-size:12px;vertical-align:baseline}#woocommerce-product-data .hndle label:first-child{margin-right:1em;border-right:1px solid #dfdfdf}#woocommerce-product-data .hndle input,#woocommerce-product-data .hndle select{margin:-3px 0 0 .5em;vertical-align:middle}#woocommerce-product-data>.handlediv{margin-top:4px}#woocommerce-product-data .wrap{margin:0}#woocommerce-coupon-description{padding:3px 8px;font-size:1.7em;line-height:1.42em;height:auto;width:100%;outline:0;margin:10px 0;display:block}#woocommerce-coupon-description::-webkit-input-placeholder{line-height:1.42em;color:#bbb}#woocommerce-coupon-description::-moz-placeholder{line-height:1.42em;color:#bbb}#woocommerce-coupon-description:-ms-input-placeholder{line-height:1.42em;color:#bbb}#woocommerce-coupon-description:-moz-placeholder{line-height:1.42em;color:#bbb}#woocommerce-coupon-data .panel-wrap,#woocommerce-product-data .panel-wrap{background:#fff}#woocommerce-coupon-data .wc-metaboxes-wrapper,#woocommerce-coupon-data .woocommerce_options_panel,#woocommerce-product-data .wc-metaboxes-wrapper,#woocommerce-product-data .woocommerce_options_panel{float:left;width:80%}#woocommerce-coupon-data .wc-metaboxes-wrapper .wc-radios,#woocommerce-coupon-data .woocommerce_options_panel .wc-radios,#woocommerce-product-data .wc-metaboxes-wrapper .wc-radios,#woocommerce-product-data .woocommerce_options_panel .wc-radios{display:block;float:left;margin:0}#woocommerce-coupon-data .wc-metaboxes-wrapper .wc-radios li,#woocommerce-coupon-data .woocommerce_options_panel .wc-radios li,#woocommerce-product-data .wc-metaboxes-wrapper .wc-radios li,#woocommerce-product-data .woocommerce_options_panel .wc-radios li{display:block;padding:0 0 10px}#woocommerce-coupon-data .wc-metaboxes-wrapper .wc-radios li input,#woocommerce-coupon-data .woocommerce_options_panel .wc-radios li input,#woocommerce-product-data .wc-metaboxes-wrapper .wc-radios li input,#woocommerce-product-data .woocommerce_options_panel .wc-radios li input{width:auto}#woocommerce-coupon-data .panel-wrap,#woocommerce-product-data .panel-wrap,.woocommerce .panel-wrap{overflow:hidden}#woocommerce-coupon-data ul.wc-tabs,#woocommerce-product-data ul.wc-tabs,.woocommerce ul.wc-tabs{margin:0;width:20%;float:left;line-height:1em;padding:0 0 10px;position:relative;background-color:#fafafa;border-right:1px solid #eee;box-sizing:border-box}#woocommerce-coupon-data ul.wc-tabs:after,#woocommerce-product-data ul.wc-tabs:after,.woocommerce ul.wc-tabs:after{content:"";display:block;width:100%;height:9999em;position:absolute;bottom:-9999em;left:0;background-color:#fafafa;border-right:1px solid #eee}#woocommerce-coupon-data ul.wc-tabs li,#woocommerce-product-data ul.wc-tabs li,.woocommerce ul.wc-tabs li{margin:0;padding:0;display:block;position:relative}#woocommerce-coupon-data ul.wc-tabs li a,#woocommerce-product-data ul.wc-tabs li a,.woocommerce ul.wc-tabs li a{margin:0;padding:10px;display:block;box-shadow:none;text-decoration:none;line-height:20px!important;border-bottom:1px solid #eee}#woocommerce-coupon-data ul.wc-tabs li a:before,#woocommerce-product-data ul.wc-tabs li a:before,.woocommerce ul.wc-tabs li a:before{font-family:Dashicons;speak:none;font-weight:400;font-variant:normal;text-transform:none;line-height:1;-webkit-font-smoothing:antialiased;margin-right:.618em;content:"";text-decoration:none}#woocommerce-coupon-data ul.wc-tabs li.general_options a:before,#woocommerce-product-data ul.wc-tabs li.general_options a:before,.woocommerce ul.wc-tabs li.general_options a:before{content:"\f107"}#woocommerce-coupon-data ul.wc-tabs li.inventory_options a:before,#woocommerce-product-data ul.wc-tabs li.inventory_options a:before,.woocommerce ul.wc-tabs li.inventory_options a:before{content:"\f481"}#woocommerce-coupon-data ul.wc-tabs li.shipping_options a:before,#woocommerce-product-data ul.wc-tabs li.shipping_options a:before,.woocommerce ul.wc-tabs li.shipping_options a:before{font-family:WooCommerce;content:"\e01a"}#woocommerce-coupon-data ul.wc-tabs li.linked_product_options a:before,#woocommerce-product-data ul.wc-tabs li.linked_product_options a:before,.woocommerce ul.wc-tabs li.linked_product_options a:before{content:"\f103"}#woocommerce-coupon-data ul.wc-tabs li.attribute_options a:before,#woocommerce-product-data ul.wc-tabs li.attribute_options a:before,.woocommerce ul.wc-tabs li.attribute_options a:before{content:"\f175"}#woocommerce-coupon-data ul.wc-tabs li.advanced_options a:before,#woocommerce-product-data ul.wc-tabs li.advanced_options a:before,.woocommerce ul.wc-tabs li.advanced_options a:before{font-family:Dashicons;content:"\f111"}#woocommerce-coupon-data ul.wc-tabs li.variations_options a:before,#woocommerce-product-data ul.wc-tabs li.variations_options a:before,.woocommerce ul.wc-tabs li.variations_options a:before{content:"\f509"}#woocommerce-coupon-data ul.wc-tabs li.usage_restriction_options a:before,#woocommerce-product-data ul.wc-tabs li.usage_restriction_options a:before,.woocommerce ul.wc-tabs li.usage_restriction_options a:before{font-family:WooCommerce;content:"\e602"}#woocommerce-coupon-data ul.wc-tabs li.usage_limit_options a:before,#woocommerce-product-data ul.wc-tabs li.usage_limit_options a:before,.woocommerce ul.wc-tabs li.usage_limit_options a:before{font-family:WooCommerce;content:"\e601"}#woocommerce-coupon-data ul.wc-tabs li.general_coupon_data a:before,#woocommerce-product-data ul.wc-tabs li.general_coupon_data a:before,.woocommerce ul.wc-tabs li.general_coupon_data a:before{font-family:WooCommerce;content:"\e600"}#woocommerce-coupon-data ul.wc-tabs li.active a,#woocommerce-product-data ul.wc-tabs li.active a,.woocommerce ul.wc-tabs li.active a{color:#555;position:relative;background-color:#eee}.woocommerce_page_wc-settings .shippingrows th.check-column{padding-top:20px}.woocommerce_page_wc-settings .shippingrows tfoot th{padding-left:10px}.woocommerce_page_wc-settings .shippingrows .add.button:before{font-family:WooCommerce;speak:none;font-weight:400;font-variant:normal;text-transform:none;line-height:1;-webkit-font-smoothing:antialiased;margin-right:.618em;content:"";text-decoration:none}.woocommerce_page_wc-settings h3.wc-settings-sub-title{font-size:1.2em}#woocommerce-coupon-data .inside,#woocommerce-order-data .inside,#woocommerce-order-downloads .inside,#woocommerce-product-data .inside,#woocommerce-product-type-options .inside{margin:0;padding:0}.panel,.woocommerce_options_panel{padding:9px;color:#555}.panel .form-field .woocommerce-help-tip,.woocommerce_options_panel .form-field .woocommerce-help-tip{font-size:1.4em}.panel,.woocommerce_page_settings .woocommerce_options_panel{padding:0}#woocommerce-product-specs .inside,#woocommerce-product-type-options .panel{margin:0;padding:9px}#woocommerce-product-type-options .panel p,.woocommerce_options_panel fieldset.form-field,.woocommerce_options_panel p{margin:0 0 9px;font-size:12px;padding:5px 9px;line-height:24px}#woocommerce-product-type-options .panel p:after,.woocommerce_options_panel fieldset.form-field:after,.woocommerce_options_panel p:after{content:".";display:block;height:0;clear:both;visibility:hidden}.woocommerce_options_panel .checkbox,.woocommerce_variable_attributes .checkbox{width:auto;margin:3px 0;vertical-align:middle}.woocommerce_options_panel .downloadable_files table,.woocommerce_variations .downloadable_files table{width:100%;padding:0!important}.woocommerce_options_panel .downloadable_files table th,.woocommerce_variations .downloadable_files table th{padding:7px 0 7px 7px!important}.woocommerce_options_panel .downloadable_files table th .woocommerce-help-tip,.woocommerce_variations .downloadable_files table th .woocommerce-help-tip{font-size:1.1em;margin-left:0}.woocommerce_options_panel .downloadable_files table td,.woocommerce_variations .downloadable_files table td{vertical-align:middle!important;padding:4px 0 4px 7px!important;position:relative}.woocommerce_options_panel .downloadable_files table td:last-child,.woocommerce_variations .downloadable_files table td:last-child{padding-right:7px!important}.woocommerce_options_panel .downloadable_files table td input.input_text,.woocommerce_variations .downloadable_files table td input.input_text{width:100%;float:none;margin:1px 0;min-width:0}.woocommerce_options_panel .downloadable_files table td .upload_file_button,.woocommerce_variations .downloadable_files table td .upload_file_button{float:right;width:auto;cursor:pointer}.woocommerce_options_panel .downloadable_files table td .delete,.woocommerce_variations .downloadable_files table td .delete{display:block;text-indent:-9999px;position:relative;height:1em;width:1em;font-size:1.2em}.woocommerce_options_panel .downloadable_files table td .delete:before,.woocommerce_variations .downloadable_files table td .delete:before{font-family:Dashicons;speak:none;font-weight:400;font-variant:normal;text-transform:none;line-height:1;-webkit-font-smoothing:antialiased;margin:0;text-indent:0;position:absolute;top:0;left:0;width:100%;height:100%;text-align:center;content:"";color:#999}.woocommerce_options_panel .downloadable_files table td .delete:hover:before,.woocommerce_variations .downloadable_files table td .delete:hover:before{color:#a00}.woocommerce_options_panel .downloadable_files table td.sort,.woocommerce_variations .downloadable_files table td.sort{padding:0 8px;cursor:move;width:17px;background:#f9f9f9;text-align:center;vertical-align:middle;padding-right:7px!important}.woocommerce_options_panel .downloadable_files table td.sort:before,.woocommerce_variations .downloadable_files table td.sort:before{content:"\f333";font-family:Dashicons;text-align:center;line-height:1;color:#999;display:block;width:17px;float:left;height:100%}.woocommerce_options_panel .downloadable_files table td.sort:hover:before,.woocommerce_variations .downloadable_files table td.sort:hover:before{color:#333}.woocommerce_variation h3 .sort{cursor:move;text-align:center;float:right;height:26px;width:17px;visibility:hidden;vertical-align:middle;margin-right:.5em;color:#a0a5aa}.woocommerce_variation h3 .sort:before{content:"\f333";font-family:Dashicons;text-align:center;cursor:move;display:block;width:17px;line-height:28px}.woocommerce_variation h3 .sort:hover{color:#777}.woocommerce_variation h3:hover .sort,.woocommerce_variation.ui-sortable-helper .sort{visibility:visible}.woocommerce_options_panel{min-height:175px;box-sizing:border-box}.woocommerce_options_panel .downloadable_files{padding:0 9px 0 162px;position:relative;margin:9px 0}.woocommerce_options_panel .downloadable_files label{position:absolute;left:0;margin:0 0 0 12px;line-height:24px}.woocommerce_options_panel p{margin:9px 0}.woocommerce_options_panel fieldset.form-field,.woocommerce_options_panel p.form-field{padding:5px 20px 5px 162px!important}.woocommerce_options_panel .sale_price_dates_fields .short:first-of-type{margin-bottom:1em}.woocommerce_options_panel .sale_price_dates_fields .short:nth-of-type(2){clear:left}.woocommerce_options_panel label,.woocommerce_options_panel legend{float:left;width:150px;padding:0;margin:0 0 0 -150px}.woocommerce_options_panel label .req,.woocommerce_options_panel legend .req{font-weight:700;font-style:normal;color:#a00}.woocommerce_options_panel .description{padding:0;margin:0 0 0 7px;clear:none;display:inline}.woocommerce_options_panel .description-block{margin-left:0;display:block}.woocommerce_options_panel input,.woocommerce_options_panel select,.woocommerce_options_panel textarea{margin:0}.woocommerce_options_panel textarea{height:3.5em;line-height:1.5em;vertical-align:top}.woocommerce_options_panel input[type=text],.woocommerce_options_panel input[type=number],.woocommerce_options_panel input[type=email],.woocommerce_options_panel input[type=password]{width:50%;float:left}.woocommerce_options_panel input.button{width:auto;margin-left:8px}.woocommerce_options_panel select{float:left}.woocommerce_options_panel .short,.woocommerce_options_panel input[type=text].short,.woocommerce_options_panel input[type=number].short,.woocommerce_options_panel input[type=email].short,.woocommerce_options_panel input[type=password].short{width:50%}.woocommerce_options_panel .sized{width:auto!important;margin-right:6px}.woocommerce_options_panel .options_group{border-top:1px solid #fff;border-bottom:1px solid #eee}.woocommerce_options_panel .options_group:first-child{border-top:0}.woocommerce_options_panel .options_group:last-child{border-bottom:0}.woocommerce_options_panel .options_group fieldset{margin:9px 0;font-size:12px;padding:5px 9px;line-height:24px}.woocommerce_options_panel .options_group fieldset label{width:auto;float:none}.woocommerce_options_panel .options_group fieldset ul{float:left;width:50%;margin:0;padding:0}.woocommerce_options_panel .options_group fieldset ul li{margin:0;width:auto}.woocommerce_options_panel .options_group fieldset ul li input{width:auto;float:none;margin-right:4px}.woocommerce_options_panel .options_group fieldset ul.wc-radios label{margin-left:0}.woocommerce_options_panel .dimensions_field .wrap{display:block;width:50%}.woocommerce_options_panel .dimensions_field .wrap input{width:30.75%;margin-right:3.8%}.woocommerce_options_panel .dimensions_field .wrap .last{margin-right:0}.woocommerce_options_panel.padded{padding:1em}#woocommerce-product-data input.dp-applied,.woocommerce_options_panel .select2-container{float:left}#grouped_product_options,#simple_product_options,#virtual_product_options{padding:12px;font-style:italic;color:#666}.wc-metaboxes-wrapper .toolbar{margin:0!important;border-top:1px solid #fff;border-bottom:1px solid #eee;padding:9px 12px!important}.wc-metaboxes-wrapper .toolbar:first-child{border-top:0}.wc-metaboxes-wrapper .toolbar:last-child{border-bottom:0}.wc-metaboxes-wrapper .toolbar .add_variation{float:right;margin-left:5px}.wc-metaboxes-wrapper .toolbar .cancel-variation-changes,.wc-metaboxes-wrapper .toolbar .save-variation-changes{float:left;margin-right:5px}.wc-metaboxes-wrapper p.toolbar{overflow:hidden;zoom:1}.wc-metaboxes-wrapper .expand-close{margin-right:2px;color:#777;font-size:12px;font-style:italic}.wc-metaboxes-wrapper .expand-close a{background:0 0;padding:0;font-size:12px;text-decoration:none}.wc-metaboxes-wrapper#product_attributes .expand-close{float:right;line-height:28px}.wc-metaboxes-wrapper .fr,.wc-metaboxes-wrapper button.add_variable_attribute{float:right;margin:0 0 0 6px}.wc-metaboxes-wrapper .wc-metaboxes{border-bottom:1px solid #eee}.wc-metaboxes-wrapper .wc-metabox-sortable-placeholder{border-color:#bbb;background-color:#f5f5f5;margin-bottom:9px;border-width:1px;border-style:dashed}.wc-metaboxes-wrapper .wc-metabox{background:#fff;border-bottom:1px solid #eee;margin:0!important}.wc-metaboxes-wrapper .wc-metabox select{font-weight:400}.wc-metaboxes-wrapper .wc-metabox:last-of-type{border-bottom:0}.wc-metaboxes-wrapper .wc-metabox .handlediv{width:27px}.wc-metaboxes-wrapper .wc-metabox .handlediv:before{content:"\f142"!important;cursor:pointer;display:inline-block;font:400 20px/1 Dashicons;line-height:.5!important;padding:8px 10px;position:relative;right:12px;top:0}.wc-metaboxes-wrapper .wc-metabox.closed{border-radius:3px}.wc-metaboxes-wrapper .wc-metabox.closed .handlediv:before{content:"\f140"!important}.wc-metaboxes-wrapper .wc-metabox.closed h3{border:0}.wc-metaboxes-wrapper .wc-metabox h3{margin:0!important;padding:.75em .75em .75em 1em!important;font-size:1em!important;overflow:hidden;zoom:1;cursor:move}.wc-metaboxes-wrapper .wc-metabox h3 a.delete,.wc-metaboxes-wrapper .wc-metabox h3 button{float:right}.wc-metaboxes-wrapper .wc-metabox h3 a.delete{color:red;font-weight:400;line-height:26px;text-decoration:none;position:relative;visibility:hidden}.wc-metaboxes-wrapper .wc-metabox h3 strong{line-height:26px;font-weight:700}.wc-metaboxes-wrapper .wc-metabox h3 select{font-family:sans-serif;max-width:20%;margin:.25em .25em .25em 0}.wc-metaboxes-wrapper .wc-metabox h3 .handlediv{background-position:6px 5px!important;visibility:hidden;height:26px}.wc-metaboxes-wrapper .wc-metabox h3.fixed{cursor:pointer!important}.wc-metaboxes-wrapper .wc-metabox.woocommerce_variation h3{cursor:pointer;padding:.5em .75em .5em 1em!important}.wc-metaboxes-wrapper .wc-metabox.woocommerce_variation h3 .handlediv,.wc-metaboxes-wrapper .wc-metabox.woocommerce_variation h3 .sort,.wc-metaboxes-wrapper .wc-metabox.woocommerce_variation h3 a.delete{margin-top:.25em}.wc-metaboxes-wrapper .wc-metabox h3:hover .handlediv,.wc-metaboxes-wrapper .wc-metabox h3:hover a.delete,.wc-metaboxes-wrapper .wc-metabox.ui-sortable-helper .handlediv,.wc-metaboxes-wrapper .wc-metabox.ui-sortable-helper a.delete{visibility:visible}.wc-metaboxes-wrapper .wc-metabox table{width:100%;position:relative;background-color:#fdfdfd;padding:1em;border-top:1px solid #eee}.wc-metaboxes-wrapper .wc-metabox table td{text-align:left;padding:0 6px 1em 0;vertical-align:top;border:0}.wc-metaboxes-wrapper .wc-metabox table td label{text-align:left;display:block;line-height:21px}.wc-metaboxes-wrapper .wc-metabox table td input{float:left;min-width:200px}.wc-metaboxes-wrapper .wc-metabox table td input,.wc-metaboxes-wrapper .wc-metabox table td textarea{width:100%;margin:0;display:block;font-size:14px;padding:4px;color:#555}.wc-metaboxes-wrapper .wc-metabox table td .select2-container,.wc-metaboxes-wrapper .wc-metabox table td select{width:100%!important}.wc-metaboxes-wrapper .wc-metabox table td input.short{width:200px}.wc-metaboxes-wrapper .wc-metabox table td input.checkbox{width:16px;min-width:inherit;vertical-align:text-bottom;display:inline-block;float:none}.wc-metaboxes-wrapper .wc-metabox table td.attribute_name{width:200px}.wc-metaboxes-wrapper .wc-metabox table .minus,.wc-metaboxes-wrapper .wc-metabox table .plus{margin-top:6px}.wc-metaboxes-wrapper .wc-metabox table .fl{float:left}.wc-metaboxes-wrapper .wc-metabox table .fr{float:right}.variations-pagenav{float:right;line-height:24px}.variations-pagenav .displaying-num{color:#777;font-size:12px;font-style:italic}.variations-pagenav a{padding:0 10px 3px;background:rgba(0,0,0,.05);font-size:16px;font-weight:400;text-decoration:none}.variations-pagenav a.disabled,.variations-pagenav a.disabled:active,.variations-pagenav a.disabled:focus,.variations-pagenav a.disabled:hover{color:#A0A5AA;background:rgba(0,0,0,.05)}.variations-defaults{float:left}.variations-defaults select{margin:.25em .25em .25em 0}.woocommerce_variable_attributes{background-color:#fdfdfd;border-top:1px solid #eee}.woocommerce_variable_attributes .data{padding:1em 2em}.woocommerce_variable_attributes .data:after,.woocommerce_variable_attributes .data:before{content:" ";display:table}.woocommerce_variable_attributes .data:after{clear:both}.woocommerce_variable_attributes .upload_image_button{display:block;width:48px;height:48px;float:left;margin-right:20px;position:relative;cursor:pointer}.woocommerce_variable_attributes .upload_image_button img{width:100%;height:auto;display:none}.woocommerce_variable_attributes .upload_image_button:before{content:"\f128";font-family:Dashicons;position:absolute;top:0;left:0;right:0;bottom:0;text-align:center;line-height:48px;font-size:48px;font-weight:400;-webkit-font-smoothing:antialiased}.woocommerce_variable_attributes .upload_image_button.remove img{display:block}.woocommerce_variable_attributes .upload_image_button.remove:before{content:"\f335";display:none}.woocommerce_variable_attributes .upload_image_button.remove:hover:before{display:block}.woocommerce_variable_attributes .options{border:1px solid #eee;border-width:1px 0;padding:.25em 0}.woocommerce_variable_attributes .options label{display:inline-block;padding:4px 1em 2px 0}.woocommerce_variable_attributes .options input[type=checkbox]{margin-top:5px;margin-right:3px}.form-row label{display:block}.form-row input[type=number],.form-row input[type=text],.form-row select{width:100%}.form-row.dimensions_field input{width:25%;float:left;margin-right:1%}.form-row.dimensions_field input:last-of-type{margin-right:0}.form-row-first,.form-row-last{width:48%;float:right}.form-row-first{clear:both;float:left}.form-row-full{clear:both}.tips{cursor:help;text-decoration:none}img.tips{padding:5px 0 0}#tiptip_holder{display:none;position:absolute;top:0;left:0;z-index:9999999}#tiptip_holder.tip_top{padding-bottom:5px}#tiptip_holder.tip_top #tiptip_arrow_inner{margin-top:-7px;margin-left:-6px;border-top-color:#333}#tiptip_holder.tip_bottom{padding-top:5px}#tiptip_holder.tip_bottom #tiptip_arrow_inner{margin-top:-5px;margin-left:-6px;border-bottom-color:#333}#tiptip_holder.tip_right{padding-left:5px}#tiptip_holder.tip_right #tiptip_arrow_inner{margin-top:-6px;margin-left:-5px;border-right-color:#333}#tiptip_holder.tip_left{padding-right:5px}#tiptip_holder.tip_left #tiptip_arrow_inner{margin-top:-6px;margin-left:-7px;border-left-color:#333}#tiptip_content,.chart-tooltip,.wc_error_tip{color:#fff;font-size:.8em;max-width:150px;background:#333;text-align:center;border-radius:3px;padding:.618em 1em;box-shadow:0 1px 3px rgba(0,0,0,.2)}#tiptip_content code,.chart-tooltip code,.wc_error_tip code{padding:1px;background:#888}#tiptip_arrow,#tiptip_arrow_inner{position:absolute;border-color:transparent;border-style:solid;border-width:6px;height:0;width:0}.wc_error_tip{max-width:20em;line-height:1.8em;position:absolute;white-space:normal;background:#d82223;margin:1.5em 1px 0 -1em;z-index:9999999}.wc_error_tip:after{content:"";display:block;border:8px solid #d82223;border-right-color:transparent;border-left-color:transparent;border-top-color:transparent;position:absolute;top:-3px;left:50%;margin:-1em 0 0 -3px}img.ui-datepicker-trigger{vertical-align:middle;margin-top:-1px;cursor:pointer}.wc-metabox-content img.ui-datepicker-trigger,.woocommerce_options_panel img.ui-datepicker-trigger{float:left;margin-right:8px;margin-top:4px;margin-left:4px}#ui-datepicker-div{display:none}.woocommerce-reports-wide.woocommerce-reports-wrap,.woocommerce-reports-wrap.woocommerce-reports-wrap{margin-left:300px;padding-top:18px}.woocommerce-reports-wide.halved,.woocommerce-reports-wrap.halved{margin:0;overflow:hidden;zoom:1}.woocommerce-reports-wide .widefat td,.woocommerce-reports-wrap .widefat td{vertical-align:top;padding:7px}.woocommerce-reports-wide .widefat td .description,.woocommerce-reports-wrap .widefat td .description{margin:4px 0 0}.woocommerce-reports-wide .postbox:after,.woocommerce-reports-wrap .postbox:after{content:".";display:block;height:0;clear:both;visibility:hidden}.woocommerce-reports-wide .postbox h3,.woocommerce-reports-wrap .postbox h3{cursor:default!important}.woocommerce-reports-wide .postbox .inside,.woocommerce-reports-wrap .postbox .inside{padding:10px;margin:0!important}.woocommerce-reports-wide .postbox div.stats_range,.woocommerce-reports-wide .postbox h3.stats_range,.woocommerce-reports-wrap .postbox div.stats_range,.woocommerce-reports-wrap .postbox h3.stats_range{border-bottom-color:#dfdfdf;margin:0;padding:0!important}.woocommerce-reports-wide .postbox div.stats_range .export_csv,.woocommerce-reports-wide .postbox h3.stats_range .export_csv,.woocommerce-reports-wrap .postbox div.stats_range .export_csv,.woocommerce-reports-wrap .postbox h3.stats_range .export_csv{float:right;line-height:26px;border-left:1px solid #dfdfdf;padding:10px;display:block;text-decoration:none}.woocommerce-reports-wide .postbox div.stats_range .export_csv:before,.woocommerce-reports-wide .postbox h3.stats_range .export_csv:before,.woocommerce-reports-wrap .postbox div.stats_range .export_csv:before,.woocommerce-reports-wrap .postbox h3.stats_range .export_csv:before{font-family:Dashicons;speak:none;font-weight:400;font-variant:normal;text-transform:none;line-height:1;-webkit-font-smoothing:antialiased;content:"";text-decoration:none;margin-right:4px}.woocommerce-reports-wide .postbox div.stats_range ul,.woocommerce-reports-wide .postbox h3.stats_range ul,.woocommerce-reports-wrap .postbox div.stats_range ul,.woocommerce-reports-wrap .postbox h3.stats_range ul{list-style:none;margin:0;padding:0;zoom:1;background:#f5f5f5;border-bottom:1px solid #ccc}.woocommerce-reports-wide .postbox div.stats_range ul:after,.woocommerce-reports-wide .postbox div.stats_range ul:before,.woocommerce-reports-wide .postbox h3.stats_range ul:after,.woocommerce-reports-wide .postbox h3.stats_range ul:before,.woocommerce-reports-wrap .postbox div.stats_range ul:after,.woocommerce-reports-wrap .postbox div.stats_range ul:before,.woocommerce-reports-wrap .postbox h3.stats_range ul:after,.woocommerce-reports-wrap .postbox h3.stats_range ul:before{content:" ";display:table}.woocommerce-reports-wide .postbox div.stats_range ul:after,.woocommerce-reports-wide .postbox h3.stats_range ul:after,.woocommerce-reports-wrap .postbox div.stats_range ul:after,.woocommerce-reports-wrap .postbox h3.stats_range ul:after{clear:both}.woocommerce-reports-wide .postbox div.stats_range ul li,.woocommerce-reports-wide .postbox h3.stats_range ul li,.woocommerce-reports-wrap .postbox div.stats_range ul li,.woocommerce-reports-wrap .postbox h3.stats_range ul li{float:left;margin:0;padding:0;line-height:26px;font-weight:700;font-size:14px}.woocommerce-reports-wide .postbox div.stats_range ul li a,.woocommerce-reports-wide .postbox h3.stats_range ul li a,.woocommerce-reports-wrap .postbox div.stats_range ul li a,.woocommerce-reports-wrap .postbox h3.stats_range ul li a{border-right:1px solid #dfdfdf;padding:10px;display:block;text-decoration:none}.woocommerce-reports-wide .postbox div.stats_range ul li.active,.woocommerce-reports-wide .postbox h3.stats_range ul li.active,.woocommerce-reports-wrap .postbox div.stats_range ul li.active,.woocommerce-reports-wrap .postbox h3.stats_range ul li.active{background:#fff;-webkit-box-shadow:0 4px 0 0 #fff;box-shadow:0 4px 0 0 #fff}.woocommerce-reports-wide .postbox div.stats_range ul li.active a,.woocommerce-reports-wide .postbox h3.stats_range ul li.active a,.woocommerce-reports-wrap .postbox div.stats_range ul li.active a,.woocommerce-reports-wrap .postbox h3.stats_range ul li.active a{color:#777}.woocommerce-reports-wide .postbox div.stats_range ul li.custom,.woocommerce-reports-wide .postbox h3.stats_range ul li.custom,.woocommerce-reports-wrap .postbox div.stats_range ul li.custom,.woocommerce-reports-wrap .postbox h3.stats_range ul li.custom{padding:9px 10px;vertical-align:middle}.woocommerce-reports-wide .postbox div.stats_range ul li.custom div,.woocommerce-reports-wide .postbox div.stats_range ul li.custom form,.woocommerce-reports-wide .postbox h3.stats_range ul li.custom div,.woocommerce-reports-wide .postbox h3.stats_range ul li.custom form,.woocommerce-reports-wrap .postbox div.stats_range ul li.custom div,.woocommerce-reports-wrap .postbox div.stats_range ul li.custom form,.woocommerce-reports-wrap .postbox h3.stats_range ul li.custom div,.woocommerce-reports-wrap .postbox h3.stats_range ul li.custom form{display:inline;margin:0}.woocommerce-reports-wide .postbox div.stats_range ul li.custom div input.range_datepicker,.woocommerce-reports-wide .postbox div.stats_range ul li.custom form input.range_datepicker,.woocommerce-reports-wide .postbox h3.stats_range ul li.custom div input.range_datepicker,.woocommerce-reports-wide .postbox h3.stats_range ul li.custom form input.range_datepicker,.woocommerce-reports-wrap .postbox div.stats_range ul li.custom div input.range_datepicker,.woocommerce-reports-wrap .postbox div.stats_range ul li.custom form input.range_datepicker,.woocommerce-reports-wrap .postbox h3.stats_range ul li.custom div input.range_datepicker,.woocommerce-reports-wrap .postbox h3.stats_range ul li.custom form input.range_datepicker{padding:0;margin:0 10px 0 0;background:0 0;border:0;color:#777;text-align:center;-webkit-box-shadow:none;box-shadow:none}.woocommerce-reports-wide .postbox .chart-with-sidebar,.woocommerce-reports-wrap .postbox .chart-with-sidebar{padding:12px 12px 12px 249px;margin:0!important}.woocommerce-reports-wide .postbox .chart-with-sidebar .chart-sidebar,.woocommerce-reports-wrap .postbox .chart-with-sidebar .chart-sidebar{width:225px;margin-left:-237px;float:left}.woocommerce-reports-wide .postbox .chart-widgets,.woocommerce-reports-wrap .postbox .chart-widgets{margin:0;padding:0}.woocommerce-reports-wide .postbox .chart-widgets li.chart-widget,.woocommerce-reports-wrap .postbox .chart-widgets li.chart-widget{margin:0 0 1em;background:#fafafa;border:1px solid #dfdfdf}.woocommerce-reports-wide .postbox .chart-widgets li.chart-widget:after,.woocommerce-reports-wrap .postbox .chart-widgets li.chart-widget:after{content:".";display:block;height:0;clear:both;visibility:hidden}.woocommerce-reports-wide .postbox .chart-widgets li.chart-widget h4,.woocommerce-reports-wrap .postbox .chart-widgets li.chart-widget h4{background:#fff;border:1px solid #dfdfdf;border-left-width:0;border-right-width:0;padding:10px;margin:0;color:#2ea2cc;border-top-width:0;background-image:-webkit-gradient(linear,left bottom,left top,from(#ececec),to(#f9f9f9));background-image:-webkit-linear-gradient(bottom,#ececec,#f9f9f9);background-image:-moz-linear-gradient(bottom,#ececec,#f9f9f9);background-image:-o-linear-gradient(bottom,#ececec,#f9f9f9);background-image:linear-gradient(to top,#ececec,#f9f9f9)}.woocommerce-reports-wide .postbox .chart-widgets li.chart-widget table td.count,.woocommerce-reports-wide .postbox .chart-widgets li.chart-widget table tr.active td,.woocommerce-reports-wrap .postbox .chart-widgets li.chart-widget table td.count,.woocommerce-reports-wrap .postbox .chart-widgets li.chart-widget table tr.active td{background:#f5f5f5}.woocommerce-reports-wide .postbox .chart-widgets li.chart-widget h4.section_title:hover,.woocommerce-reports-wrap .postbox .chart-widgets li.chart-widget h4.section_title:hover{color:#a00}.woocommerce-reports-wide .postbox .chart-widgets li.chart-widget .section_title,.woocommerce-reports-wrap .postbox .chart-widgets li.chart-widget .section_title{cursor:pointer}.woocommerce-reports-wide .postbox .chart-widgets li.chart-widget .section_title span,.woocommerce-reports-wrap .postbox .chart-widgets li.chart-widget .section_title span{display:block}.woocommerce-reports-wide .postbox .chart-widgets li.chart-widget .section_title span:after,.woocommerce-reports-wrap .postbox .chart-widgets li.chart-widget .section_title span:after{font-family:WooCommerce;speak:none;font-weight:400;font-variant:normal;text-transform:none;-webkit-font-smoothing:antialiased;margin-left:.618em;content:"";text-decoration:none;float:right;font-size:.9em;line-height:1.618}.woocommerce-reports-wide .postbox .chart-widgets li.chart-widget .section_title.open,.woocommerce-reports-wrap .postbox .chart-widgets li.chart-widget .section_title.open{color:#333}.woocommerce-reports-wide .postbox .chart-widgets li.chart-widget .section_title.open span:after,.woocommerce-reports-wrap .postbox .chart-widgets li.chart-widget .section_title.open span:after{display:none}.woocommerce-reports-wide .postbox .chart-widgets li.chart-widget .section,.woocommerce-reports-wrap .postbox .chart-widgets li.chart-widget .section{border-bottom:1px solid #dfdfdf}.woocommerce-reports-wide .postbox .chart-widgets li.chart-widget .section .select2-container,.woocommerce-reports-wrap .postbox .chart-widgets li.chart-widget .section .select2-container{width:100%!important}.woocommerce-reports-wide .postbox .chart-widgets li.chart-widget .section:last-of-type,.woocommerce-reports-wrap .postbox .chart-widgets li.chart-widget .section:last-of-type{border-radius:0 0 3px 3px}.woocommerce-reports-wide .postbox .chart-widgets li.chart-widget table,.woocommerce-reports-wrap .postbox .chart-widgets li.chart-widget table{width:100%}.woocommerce-reports-wide .postbox .chart-widgets li.chart-widget table td,.woocommerce-reports-wrap .postbox .chart-widgets li.chart-widget table td{padding:7px 10px;vertical-align:top;border-top:1px solid #e5e5e5;line-height:1.4em}.woocommerce-reports-wide .postbox .chart-widgets li.chart-widget table td.sparkline,.woocommerce-reports-wrap .postbox .chart-widgets li.chart-widget table td.sparkline,form.report_filters div,form.report_filters input,form.report_filters label,form.report_filters p{vertical-align:middle}.woocommerce-reports-wide .postbox .chart-widgets li.chart-widget table tr:first-child td,.woocommerce-reports-wrap .postbox .chart-widgets li.chart-widget table tr:first-child td{border-top:0}.woocommerce-reports-wide .postbox .chart-widgets li.chart-widget table td.name,.woocommerce-reports-wrap .postbox .chart-widgets li.chart-widget table td.name{max-width:175px}.woocommerce-reports-wide .postbox .chart-widgets li.chart-widget table td.name a,.woocommerce-reports-wrap .postbox .chart-widgets li.chart-widget table td.name a{word-wrap:break-word}.woocommerce-reports-wide .postbox .chart-widgets li.chart-widget table .wc_sparkline,.woocommerce-reports-wrap .postbox .chart-widgets li.chart-widget table .wc_sparkline{width:32px;height:1em;display:block;float:right}.woocommerce-reports-wide .postbox .chart-widgets li.chart-widget form,.woocommerce-reports-wide .postbox .chart-widgets li.chart-widget p,.woocommerce-reports-wrap .postbox .chart-widgets li.chart-widget form,.woocommerce-reports-wrap .postbox .chart-widgets li.chart-widget p{margin:0;padding:10px}.woocommerce-reports-wide .postbox .chart-widgets li.chart-widget form .submit,.woocommerce-reports-wide .postbox .chart-widgets li.chart-widget p .submit,.woocommerce-reports-wrap .postbox .chart-widgets li.chart-widget form .submit,.woocommerce-reports-wrap .postbox .chart-widgets li.chart-widget p .submit{margin-top:10px}.woocommerce-reports-wide .postbox .chart-widgets li.chart-widget #product_ids,.woocommerce-reports-wrap .postbox .chart-widgets li.chart-widget #product_ids{width:100%}.woocommerce-reports-wide .postbox .chart-widgets li.chart-widget .select_all,.woocommerce-reports-wide .postbox .chart-widgets li.chart-widget .select_none,.woocommerce-reports-wrap .postbox .chart-widgets li.chart-widget .select_all,.woocommerce-reports-wrap .postbox .chart-widgets li.chart-widget .select_none{float:right;color:#999;margin-left:4px;margin-top:10px}.woocommerce-reports-wide .postbox .chart-legend,.woocommerce-reports-wrap .postbox .chart-legend{list-style:none;margin:0 0 1em;padding:0;border:1px solid #dfdfdf;border-right-width:0;border-bottom-width:0;background:#fff}.woocommerce-reports-wide .postbox .chart-legend li,.woocommerce-reports-wrap .postbox .chart-legend li{border-right:5px solid #aaa;color:#aaa;padding:1em;display:block;margin:0;-webkit-transition:all ease .5s;box-shadow:inset 0 -1px 0 0 #dfdfdf}.woocommerce-reports-wide .postbox .chart-legend li strong,.woocommerce-reports-wrap .postbox .chart-legend li strong{font-size:1.618em;line-height:1.2em;color:#464646;font-weight:400;display:block;font-family:HelveticaNeue-Light,"Helvetica Neue Light","Helvetica Neue",sans-serif}.woocommerce-reports-wide .postbox .chart-legend li strong del,.woocommerce-reports-wrap .postbox .chart-legend li strong del{color:#e74c3c;font-weight:400}.woocommerce-reports-wide .postbox .chart-legend li:hover,.woocommerce-reports-wrap .postbox .chart-legend li:hover{box-shadow:inset 0 -1px 0 0 #dfdfdf,inset 300px 0 0 rgba(156,93,144,.1);border-right:5px solid #9c5d90!important;padding-left:1.5em;color:#9c5d90}.woocommerce-reports-wide .postbox .pie-chart-legend,.woocommerce-reports-wrap .postbox .pie-chart-legend{margin:12px 0 0;overflow:hidden}.woocommerce-reports-wide .postbox .pie-chart-legend li,.woocommerce-reports-wrap .postbox .pie-chart-legend li{float:left;margin:0;padding:6px 0 0;border-top:4px solid #999;text-align:center;box-sizing:border-box;width:50%}.woocommerce-reports-wide .postbox .stat,.woocommerce-reports-wrap .postbox .stat{font-size:1.5em!important;font-weight:700;text-align:center}.woocommerce-reports-wide .postbox .chart-placeholder,.woocommerce-reports-wrap .postbox .chart-placeholder{width:100%;height:650px;overflow:hidden;position:relative}.woocommerce-reports-wide .postbox .chart-prompt,.woocommerce-reports-wrap .postbox .chart-prompt{line-height:650px;margin:0;color:#999;font-size:1.2em;font-style:italic;text-align:center}.woocommerce-reports-wide .postbox .chart-container,.woocommerce-reports-wrap .postbox .chart-container{background:#fff;padding:12px;position:relative;border:1px solid #dfdfdf;border-radius:3px}.woocommerce-reports-wide .postbox .main .chart-legend,.woocommerce-reports-wrap .postbox .main .chart-legend{margin-top:12px}.woocommerce-reports-wide .postbox .main .chart-legend li,.woocommerce-reports-wrap .postbox .main .chart-legend li{border-right:0;margin:0 8px 0 0;float:left;border-top:4px solid #aaa}.woocommerce-reports-wide .woocommerce-reports-main,.woocommerce-reports-wrap .woocommerce-reports-main{float:left;min-width:100%}.woocommerce-reports-wide .woocommerce-reports-main table td,.woocommerce-reports-wrap .woocommerce-reports-main table td{padding:9px}.woocommerce-reports-wide .woocommerce-reports-sidebar,.woocommerce-reports-wrap .woocommerce-reports-sidebar{display:inline;width:281px;margin-left:-300px;clear:both;float:left}.woocommerce-reports-wide .woocommerce-reports-left,.woocommerce-reports-wrap .woocommerce-reports-left{width:49.5%;float:left}.woocommerce-reports-wide .woocommerce-reports-right,.woocommerce-reports-wrap .woocommerce-reports-right{width:49.5%;float:right}.woocommerce-reports-wide .column-wc_actions a.edit,.woocommerce-reports-wide .column-wc_actions a.view,.woocommerce-reports-wrap .column-wc_actions a.edit,.woocommerce-reports-wrap .column-wc_actions a.view{display:block;text-indent:-9999px;position:relative;padding:0!important;height:2em!important;width:2em}.woocommerce-reports-wide .column-wc_actions a.edit:after,.woocommerce-reports-wide .column-wc_actions a.view:after,.woocommerce-reports-wrap .column-wc_actions a.edit:after,.woocommerce-reports-wrap .column-wc_actions a.view:after{font-family:Dashicons;speak:none;font-weight:400;font-variant:normal;text-transform:none;-webkit-font-smoothing:antialiased;margin:0;text-indent:0;position:absolute;top:0;left:0;width:100%;height:100%;text-align:center;line-height:1.85}.woocommerce-reports-wide .column-wc_actions a.edit:after,.woocommerce-reports-wrap .column-wc_actions a.edit:after{content:"\f464"}.woocommerce-reports-wide .column-wc_actions a.view:after,.woocommerce-reports-wrap .column-wc_actions a.view:after{content:"\f177"}.woocommerce-wide-reports-wrap{padding-bottom:11px}.woocommerce-wide-reports-wrap .widefat .export-data{float:right}.woocommerce-wide-reports-wrap .widefat td,.woocommerce-wide-reports-wrap .widefat th{vertical-align:middle;padding:7px}.chart-tooltip{position:absolute;display:none;line-height:1}table.bar_chart{width:100%}table.bar_chart thead th{text-align:left;color:#ccc;padding:6px 0}table.bar_chart tbody th{padding:6px 0;width:25%;text-align:left!important;font-weight:400!important;border-bottom:1px solid #fee}table.bar_chart tbody td{text-align:right;line-height:24px;padding:6px 6px 6px 0;border-bottom:1px solid #fee}table.bar_chart tbody td span{color:#8a4b75;display:block}table.bar_chart tbody td span.alt{color:#47a03e;margin-top:6px}table.bar_chart tbody td.bars{position:relative;text-align:left;padding:6px 6px 6px 0;border-bottom:1px solid #fee}table.bar_chart tbody td.bars a,table.bar_chart tbody td.bars span{text-decoration:none;clear:both;background:#8a4b75;float:left;display:block;line-height:24px;height:24px;-moz-border-radius:3px;-webkit-border-radius:3px;-o-border-radius:3px;-khtml-border-radius:3px;border-radius:3px}table.bar_chart tbody td.bars span.alt{clear:both;background:#47a03e}table.bar_chart tbody td.bars span.alt span{margin:0;color:#c5dec2!important;text-shadow:0 1px 0 #47a03e;background:0 0}@media only screen and (max-width:1280px){#order_data .order_data_column{width:48%}#order_data .order_data_column:first-child{width:100%}.woocommerce_options_panel .description{display:block;clear:both;margin-left:0}.woocommerce_options_panel .dimensions_field .wrap,.woocommerce_options_panel .short,.woocommerce_options_panel input[type=text].short,.woocommerce_options_panel input[type=number].short,.woocommerce_options_panel input[type=email].short,.woocommerce_options_panel input[type=password].short{width:80%}.woocommerce_options_panel .downloadable_files,.woocommerce_variations .downloadable_files{padding:0;clear:both}.woocommerce_options_panel .downloadable_files label,.woocommerce_variations .downloadable_files label{position:static}.woocommerce_options_panel .downloadable_files table,.woocommerce_variations .downloadable_files table{margin:0 12px 24px;width:94%}.woocommerce_options_panel .downloadable_files table .sort,.woocommerce_variations .downloadable_files table .sort{visibility:hidden}.woocommerce_options_panel .woocommerce_variable_attributes .downloadable_files table,.woocommerce_variations .woocommerce_variable_attributes .downloadable_files table{margin:0 0 1em;width:100%}}@media only screen and (max-width:900px){#woocommerce-coupon-data ul.coupon_data_tabs,#woocommerce-product-data .wc-tabs-back,#woocommerce-product-data ul.product_data_tabs{width:10%}#woocommerce-coupon-data .wc-metaboxes-wrapper,#woocommerce-coupon-data .woocommerce_options_panel,#woocommerce-product-data .wc-metaboxes-wrapper,#woocommerce-product-data .woocommerce_options_panel{width:90%}#woocommerce-coupon-data ul.coupon_data_tabs li a,#woocommerce-product-data ul.product_data_tabs li a{position:relative;text-indent:-999px;padding:10px}#woocommerce-coupon-data ul.coupon_data_tabs li a:before,#woocommerce-product-data ul.product_data_tabs li a:before{position:absolute;top:0;right:0;bottom:0;left:0;text-indent:0;text-align:center;line-height:40px;width:100%;height:40px}}@media only screen and (max-width:782px){#wp-excerpt-media-buttons a{font-size:16px;line-height:37px;height:39px;padding:0 20px 0 15px}#wp-excerpt-editor-tools{padding-top:20px;padding-right:15px;overflow:hidden;margin-bottom:-1px}.post-type-product .wp-list-table .is-expanded td:not(.hidden),.post-type-shop_order .wp-list-table .is-expanded td:not(.hidden){overflow:visible}#woocommerce-product-data .checkbox{width:25px}.variations-pagenav{float:none;text-align:center;font-size:18px}.variations-pagenav .displaying-num{font-size:16px}.variations-pagenav a{padding:8px 20px 11px;font-size:18px}.variations-pagenav select{padding:0 20px}.variations-defaults{float:none;text-align:center;margin-top:10px}.post-type-product .wp-list-table .column-thumb{display:none;text-align:left;padding-bottom:0}.post-type-product .wp-list-table .column-thumb:before{display:none!important}.post-type-product .wp-list-table .column-thumb img{max-width:32px}.post-type-product .wp-list-table .toggle-row{top:-28px}.post-type-shop_order .wp-list-table .column-order_status{display:none;text-align:left;padding-bottom:0}.post-type-shop_order .wp-list-table .column-order_status mark{margin:0}.post-type-shop_order .wp-list-table .column-order_status:before{display:none!important}.post-type-shop_order .wp-list-table .column-customer_message,.post-type-shop_order .wp-list-table .column-order_notes{text-align:inherit}.post-type-shop_order .wp-list-table .column-order_notes .note-on{font-size:1.3em;margin:0}.post-type-shop_order .wp-list-table .toggle-row{top:-15px}}@media only screen and (max-width:500px){.woocommerce_options_panel label,.woocommerce_options_panel legend{float:none;width:auto;display:block;margin:0}.woocommerce_options_panel fieldset.form-field,.woocommerce_options_panel p.form-field{padding:5px 20px!important}}.wc-backbone-modal *{box-sizing:border-box}.wc-backbone-modal .wc-backbone-modal-content{position:fixed;background:#fff;z-index:100000;left:50%;top:50%;transform:translate(-50%,-50%);width:500px}.wc-backbone-modal .wc-backbone-modal-content article{overflow:auto}.wc-backbone-modal.wc-backbone-modal-shipping-method-settings .wc-backbone-modal-content{width:75%;min-width:500px}.wc-backbone-modal-backdrop{position:fixed;top:0;left:0;right:0;bottom:0;min-height:360px;background:#000;opacity:.7;z-index:99900}.wc-backbone-modal-main{padding-bottom:51px}.wc-backbone-modal-main article,.wc-backbone-modal-main header{display:block;position:relative}.wc-backbone-modal-main .wc-backbone-modal-header{height:50px;background:#fcfcfc;padding:0 50px 0 16px;border-bottom:1px solid #ddd}.wc-backbone-modal-main .wc-backbone-modal-header h1{margin:0;font-size:18px;font-weight:700;line-height:50px}.wc-backbone-modal-main .wc-backbone-modal-header .modal-close-link{cursor:pointer;color:#777;height:50px;width:50px;padding:0;position:absolute;top:0;right:0;text-align:center;border:0;border-left:1px solid #ddd;background-color:transparent;-webkit-transition:color .1s ease-in-out,background .1s ease-in-out;transition:color .1s ease-in-out,background .1s ease-in-out}.wc-backbone-modal-main .wc-backbone-modal-header .modal-close-link:before{font:400 22px/50px dashicons!important;color:#666;display:block;content:'\f335';font-weight:300}.wc-backbone-modal-main .wc-backbone-modal-header .modal-close-link:focus,.wc-backbone-modal-main .wc-backbone-modal-header .modal-close-link:hover{background:#ddd;border-color:#ccc;color:#000}.wc-backbone-modal-main .wc-backbone-modal-header .modal-close-link:focus{outline:0}.wc-backbone-modal-main article{padding:10px 16px}.wc-backbone-modal-main article .pagination{padding:10px 0 0;text-align:center}.wc-backbone-modal-main footer{position:absolute;left:0;right:0;bottom:0;z-index:100;padding:10px 16px;background:#fcfcfc;border-top:1px solid #dfdfdf;box-shadow:0 -4px 4px -4px rgba(0,0,0,.1)}.wc-backbone-modal-main footer .inner{float:right;line-height:23px}.wc-backbone-modal-main footer .inner .button{margin-bottom:0}.select2-drop{z-index:999999!important}.select2-container-multi .select2-choices .select2-search-field input{font-family:inherit;font-size:inherit;font-weight:inherit;padding:3px 5px;width:100%!important}.select2-container{line-height:1.85em;font-size:14px} \ No newline at end of file diff --git a/assets/css/admin.scss b/assets/css/admin.scss index 78d5144b4da..6d177e834cd 100644 --- a/assets/css/admin.scss +++ b/assets/css/admin.scss @@ -229,6 +229,11 @@ mark.amount { } } +h2 .woocommerce-help-tip { + margin-top: -5px; + margin-left: .25em; +} + table.wc_status_table { margin-bottom: 1em; @@ -1313,24 +1318,20 @@ ul.wc_coupon_list_block { td.line_tax { .delete-order-tax { @include ir(); - font-size: 12px; - visibility: hidden; float: right; - margin: 2px -16px 0 0; + font-size: 14px; + visibility: hidden; + margin: 3px -18px 0 0; &:before { - @include icon( "\e013" ); - color: white; - background-color: #000; - -webkit-border-radius: 100%; - border-radius: 100%; - border: 1px solid #000; - box-shadow: 0 1px 2px rgba(0,0,0,0.2); + @include icon_dashicons( "\f153" ); + color: #999; } - &:hover:before { - border-color: $red; - background-color: $red; + &:hover { + &:before { + color: $red; + } } } @@ -2342,7 +2343,7 @@ table.wc-shipping-zones, table.wc-shipping-zone-methods, table.wc-shipping-class } } } - tr.odd { + tr.odd, .wc-shipping-class-rows tr:nth-child(odd) { td { background: #f9f9f9; } @@ -2387,21 +2388,6 @@ table.wc-shipping-zones, table.wc-shipping-zone-methods, table.wc-shipping-class line-height: 24px; } } - .wc-shipping-zone-method-enabled { - text-align: center; - .status-enabled { - display: inline-block; - &:before { - line-height: inherit; - } - } - .status-disabled { - display: inline-block; - &:before { - line-height: inherit; - } - } - } .wc-shipping-zone-name, .wc-shipping-zone-methods { width: 25%; @@ -2414,6 +2400,9 @@ table.wc-shipping-zones, table.wc-shipping-zone-methods, table.wc-shipping-class input, select, textarea { width: 100%; } + a.wc-shipping-zone-delete, a.wc-shipping-class-delete { + color: red; + } .wc-shipping-zone-postcodes-toggle { float: right; margin: 0; @@ -2441,6 +2430,8 @@ table.wc-shipping-zones, table.wc-shipping-zone-methods, table.wc-shipping-class } ul { color: #999; + position: relative; + padding-right: 32px; li { display: inline; margin: 0 0 0 0; @@ -2458,60 +2449,58 @@ table.wc-shipping-zones, table.wc-shipping-zone-methods, table.wc-shipping-class margin: 0 !important; } li.wc-shipping-zone-methods-add-row { - margin: .5em 0 0; + position: absolute; + right: 0; + top: 0; } } - .button { - display: inline-block; - } - } - .wc-shipping-zone-actions, .wc-shipping-zone-method-actions, .wc-shipping-class-actions { - width: 4em; - - a { - @include ir(); - float: right; - padding: .5em; + .add_shipping_method { + display: block; + width: 24px; + padding: 24px 0 0 0; + height: 0; + overflow: hidden; cursor: pointer; - line-height: 24px; &:before { @include icon; font-family: 'Dashicons'; + content: "\f502"; color: #999; vertical-align: middle; line-height: 24px; font-size: 16px; margin: 0; } - &:hover { + + &.disabled { + cursor: not-allowed; &:before { - color: #0073aa; + color: #ccc; } } } - - a.wc-shipping-zone-delete, a.wc-shipping-zone-method-delete, a.wc-shipping-class-delete { + } + .wc-shipping-zone-method-title { + width: 33%; + .wc-shipping-zone-method-delete { + color: red; + } + } + .wc-shipping-zone-method-enabled { + text-align: center; + .status-enabled { + margin-top: 1px; + display: inline-block; &:before { - content: "\f158"; - } - &:hover { - &:before { - color: $red; - } + line-height: inherit; } } - - a.wc-shipping-class-edit { + .status-disabled { + margin-top: 1px; + display: inline-block; &:before { - content: "\f464"; - } - } - - a.wc-shipping-zone-method-settings { - &:before { - content: "\f111"; - margin-top: -1px; + line-height: inherit; } } } @@ -2519,17 +2508,10 @@ table.wc-shipping-zones, table.wc-shipping-zone-methods, table.wc-shipping-class input, select { vertical-align: middle !important; } - .button-primary { + .button-secondary { float: right; } } - .wc-shipping-zone-method-selector { - float: left; - select { - margin:0; - height: 29px; - } - } .editing { .wc-shipping-zone-view, .wc-shipping-zone-edit { display: none; @@ -2915,15 +2897,14 @@ img.help_tip { font-size: 1.4em; &:before { - @include icon( "\e013" ); - color: white; - background-color: #000; - @include border-radius(100%); - box-shadow: 0 1px 2px rgba(0,0,0,0.2); + @include icon_dashicons( "\f153" ); + color: #999; } - &:hover before { - background-color: $red; + &:hover { + &:before { + color: $red; + } } } } @@ -3261,6 +3242,11 @@ img.help_tip { th { padding: 7px 0 7px 7px !important; + + .woocommerce-help-tip { + font-size: 1.1em; + margin-left: 0; + } } td { @@ -3287,10 +3273,10 @@ img.help_tip { .delete { @include ir(); + font-size: 1.2em; &:before { - @include icon; - content: "\e013"; + @include icon_dashicons( "\f153" ); color: #999; } @@ -3302,17 +3288,14 @@ img.help_tip { } } - th.sort { - width: 17px; - padding: 0; - } - td.sort { padding: 0 8px; cursor: move; + width: 17px; background: #f9f9f9; text-align: center; vertical-align: middle; + padding-right: 7px !important; &:before { content: "\f333"; @@ -4653,9 +4636,10 @@ table.bar_chart { } .short, - input[type=email].short, - input[type=number].short, - input[type=text].short, + input[type="text"].short, + input[type="email"].short, + input[type="number"].short, + input[type="password"].short, .dimensions_field .wrap { width: 80%; } @@ -4883,6 +4867,9 @@ table.bar_chart { top: 50%; transform: translate(-50%, -50%); width: 500px; + article { + overflow: auto; + } } &.wc-backbone-modal-shipping-method-settings { @@ -5006,6 +4993,7 @@ table.bar_chart { font-size: inherit; font-weight: inherit; padding: 3px 5px; + width: 100% !important; } .select2-container { line-height: 1.85em; diff --git a/assets/css/menu.css b/assets/css/menu.css index 1ecb75e5769..c6f932b2670 100644 --- a/assets/css/menu.css +++ b/assets/css/menu.css @@ -1 +1 @@ -@charset "UTF-8";@font-face{font-family:star;src:url(../fonts/star.eot);src:url(../fonts/star.eot?#iefix) format("embedded-opentype"),url(../fonts/star.woff) format("woff"),url(../fonts/star.ttf) format("truetype"),url(../fonts/star.svg#star) format("svg");font-weight:400;font-style:normal}@font-face{font-family:WooCommerce;src:url(../fonts/WooCommerce.eot);src:url(../fonts/WooCommerce.eot?#iefix) format("embedded-opentype"),url(../fonts/WooCommerce.woff) format("woff"),url(../fonts/WooCommerce.ttf) format("truetype"),url(../fonts/WooCommerce.svg#WooCommerce) format("svg");font-weight:400;font-style:normal}#adminmenu #toplevel_page_woocommerce .menu-icon-generic div.wp-menu-image:before{font-family:WooCommerce!important;content:"\e03d";font-size:1.3em!important}#adminmenu #menu-posts-product .menu-icon-post div.wp-menu-image:before,#adminmenu #menu-posts-product .menu-icon-product div.wp-menu-image:before{font-family:WooCommerce!important;content:"\e006";font-size:1.3em!important}#adminmenu #toplevel_page_wc-reports .menu-icon-generic div.wp-menu-image:before{font-family:WooCommerce!important;content:"\e023";font-size:1.3em!important}span.mce_woocommerce_shortcodes_button{background-image:none!important;display:block;text-indent:-9999px;position:relative;height:1em;width:1em}span.mce_woocommerce_shortcodes_button:before{font-family:WooCommerce;speak:none;font-weight:400;font-variant:normal;text-transform:none;-webkit-font-smoothing:antialiased;margin:0;text-indent:0;position:absolute;top:0;left:0;width:100%;height:100%;text-align:center;content:"";font-size:.9em;line-height:1.2}.wc_plugin_upgrade_notice{font-weight:400;color:#fff;background:#d54d21;padding:1em;margin:9px 0}.wc_plugin_upgrade_notice a{color:#fff;text-decoration:underline}.wc_plugin_upgrade_notice:before{content:"\f348";display:inline-block;font:400 18px/1 dashicons;speak:none;margin:0 8px 0 -2px;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale;vertical-align:top} \ No newline at end of file +@charset "UTF-8";@font-face{font-family:star;src:url(../fonts/star.eot);src:url(../fonts/star.eot?#iefix) format("embedded-opentype"),url(../fonts/star.woff) format("woff"),url(../fonts/star.ttf) format("truetype"),url(../fonts/star.svg#star) format("svg");font-weight:400;font-style:normal}@font-face{font-family:WooCommerce;src:url(../fonts/WooCommerce.eot);src:url(../fonts/WooCommerce.eot?#iefix) format("embedded-opentype"),url(../fonts/WooCommerce.woff) format("woff"),url(../fonts/WooCommerce.ttf) format("truetype"),url(../fonts/WooCommerce.svg#WooCommerce) format("svg");font-weight:400;font-style:normal}#adminmenu #toplevel_page_woocommerce .menu-icon-generic div.wp-menu-image:before{font-family:WooCommerce!important;content:"\e03d"}#adminmenu #menu-posts-product .menu-icon-post div.wp-menu-image:before,#adminmenu #menu-posts-product .menu-icon-product div.wp-menu-image:before{font-family:WooCommerce!important;content:"\e006"}#adminmenu #toplevel_page_wc-reports .menu-icon-generic div.wp-menu-image:before{font-family:WooCommerce!important;content:"\e023";font-size:1.3em!important}span.mce_woocommerce_shortcodes_button{background-image:none!important;display:block;text-indent:-9999px;position:relative;height:1em;width:1em}span.mce_woocommerce_shortcodes_button:before{font-family:WooCommerce;speak:none;font-weight:400;font-variant:normal;text-transform:none;-webkit-font-smoothing:antialiased;margin:0;text-indent:0;position:absolute;top:0;left:0;width:100%;height:100%;text-align:center;content:"";font-size:.9em;line-height:1.2}.wc_plugin_upgrade_notice{font-weight:400;color:#fff;background:#d54d21;padding:1em;margin:9px 0}.wc_plugin_upgrade_notice a{color:#fff;text-decoration:underline}.wc_plugin_upgrade_notice:before{content:"\f348";display:inline-block;font:400 18px/1 dashicons;speak:none;margin:0 8px 0 -2px;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale;vertical-align:top} \ No newline at end of file diff --git a/assets/css/menu.scss b/assets/css/menu.scss index c9ce2b4ab6a..8e025c56572 100644 --- a/assets/css/menu.scss +++ b/assets/css/menu.scss @@ -18,14 +18,12 @@ #adminmenu #toplevel_page_woocommerce .menu-icon-generic div.wp-menu-image:before { font-family: 'WooCommerce' !important; content: "\e03d"; - font-size: 1.3em !important; } #adminmenu #menu-posts-product .menu-icon-post div.wp-menu-image:before, #adminmenu #menu-posts-product .menu-icon-product div.wp-menu-image:before { font-family: 'WooCommerce' !important; content: "\e006"; - font-size: 1.3em !important; } #adminmenu #toplevel_page_wc-reports .menu-icon-generic div.wp-menu-image:before { diff --git a/assets/css/woocommerce.css b/assets/css/woocommerce.css index ddf65e67083..04200c838a4 100644 --- a/assets/css/woocommerce.css +++ b/assets/css/woocommerce.css @@ -1 +1 @@ -@charset "UTF-8";.clear,.woocommerce .woocommerce-breadcrumb:after,.woocommerce .woocommerce-error:after,.woocommerce .woocommerce-info:after,.woocommerce .woocommerce-message:after{clear:both}@-webkit-keyframes spin{100%{-webkit-transform:rotate(360deg)}}@-moz-keyframes spin{100%{-moz-transform:rotate(360deg)}}@keyframes spin{100%{-webkit-transform:rotate(360deg);-moz-transform:rotate(360deg);-ms-transform:rotate(360deg);-o-transform:rotate(360deg);transform:rotate(360deg)}}@font-face{font-family:star;src:url(../fonts/star.eot);src:url(../fonts/star.eot?#iefix) format("embedded-opentype"),url(../fonts/star.woff) format("woff"),url(../fonts/star.ttf) format("truetype"),url(../fonts/star.svg#star) format("svg");font-weight:400;font-style:normal}@font-face{font-family:WooCommerce;src:url(../fonts/WooCommerce.eot);src:url(../fonts/WooCommerce.eot?#iefix) format("embedded-opentype"),url(../fonts/WooCommerce.woff) format("woff"),url(../fonts/WooCommerce.ttf) format("truetype"),url(../fonts/WooCommerce.svg#WooCommerce) format("svg");font-weight:400;font-style:normal}p.demo_store{position:fixed;top:0;left:0;right:0;margin:0;width:100%;font-size:1em;padding:1em 0;text-align:center;background-color:#a46497;color:#fff;z-index:99998;box-shadow:0 1px 1em rgba(0,0,0,.2)}p.demo_store a{color:#fff}.admin-bar p.demo_store{top:32px}.woocommerce .blockUI.blockOverlay{position:relative}.woocommerce .blockUI.blockOverlay:before,.woocommerce .loader:before{height:1em;width:1em;position:absolute;top:50%;left:50%;margin-left:-.5em;margin-top:-.5em;display:block;content:"";-webkit-animation:spin 1s ease-in-out infinite;-moz-animation:spin 1s ease-in-out infinite;animation:spin 1s ease-in-out infinite;background:url(../images/icons/loader.svg) center center;background-size:cover;line-height:1;text-align:center;font-size:2em;color:rgba(0,0,0,.75)}.woocommerce a.remove{display:block;font-size:1.5em;height:1em;width:1em;text-align:center;line-height:1;border-radius:100%;color:red!important;text-decoration:none;font-weight:700;border:0}.woocommerce a.remove:hover{color:#fff!important;background:red}.woocommerce .woocommerce-error,.woocommerce .woocommerce-info,.woocommerce .woocommerce-message{padding:1em 2em 1em 3.5em!important;margin:0 0 2em!important;position:relative;background-color:#f7f6f7;color:#515151;border-top:3px solid #a46497;list-style:none!important;width:auto;word-wrap:break-word}.woocommerce .woocommerce-error:after,.woocommerce .woocommerce-error:before,.woocommerce .woocommerce-info:after,.woocommerce .woocommerce-info:before,.woocommerce .woocommerce-message:after,.woocommerce .woocommerce-message:before{content:" ";display:table}.woocommerce .woocommerce-error:before,.woocommerce .woocommerce-info:before,.woocommerce .woocommerce-message:before{font-family:WooCommerce;content:"\e028";display:inline-block;position:absolute;top:1em;left:1.5em}.woocommerce .woocommerce-error .button,.woocommerce .woocommerce-info .button,.woocommerce .woocommerce-message .button{float:right}.woocommerce .woocommerce-error li,.woocommerce .woocommerce-info li,.woocommerce .woocommerce-message li{list-style:none!important;padding-left:0!important;margin-left:0!important}.woocommerce .woocommerce-message{border-top-color:#8fae1b}.woocommerce .woocommerce-message:before{content:"\e015";color:#8fae1b}.woocommerce .woocommerce-info{border-top-color:#1e85be}.woocommerce .woocommerce-info:before{color:#1e85be}.woocommerce .woocommerce-error{border-top-color:#b81c23}.woocommerce .woocommerce-error:before{content:"\e016";color:#b81c23}.woocommerce small.note{display:block;color:#777;font-size:.857em;margin-top:10px}.woocommerce .woocommerce-breadcrumb{margin:0 0 1em;padding:0;font-size:.92em;color:#777}.woocommerce .woocommerce-breadcrumb:after,.woocommerce .woocommerce-breadcrumb:before{content:" ";display:table}.woocommerce .woocommerce-breadcrumb a{color:#777}.woocommerce .quantity .qty{width:3.631em;text-align:center}.woocommerce div.product{margin-bottom:0;position:relative}.woocommerce div.product .product_title{clear:none;margin-top:0;padding:0}.woocommerce #reviews #comments .add_review:after,.woocommerce .products ul:after,.woocommerce div.product form.cart:after,.woocommerce div.product p.cart:after,.woocommerce nav.woocommerce-pagination ul,.woocommerce ul.products:after{clear:both}.woocommerce div.product p.price,.woocommerce div.product span.price{color:#77a464;font-size:1.25em}.woocommerce div.product p.price ins,.woocommerce div.product span.price ins{background:inherit;font-weight:700}.woocommerce div.product p.price del,.woocommerce div.product span.price del{opacity:.5}.woocommerce div.product p.stock{font-size:.92em}.woocommerce div.product .stock{color:#77a464}.woocommerce div.product .out-of-stock{color:red}.woocommerce div.product .woocommerce-product-rating{margin-bottom:1.618em}.woocommerce div.product div.images,.woocommerce div.product div.summary{margin-bottom:2em}.woocommerce div.product div.images img{display:block;width:100%;height:auto;box-shadow:none}.woocommerce div.product div.images div.thumbnails{padding-top:1em}.woocommerce div.product div.social{text-align:right;margin:0 0 1em}.woocommerce div.product div.social span{margin:0 0 0 2px}.woocommerce div.product div.social span span{margin:0}.woocommerce div.product div.social span .stButton .chicklets{padding-left:16px;width:0}.woocommerce div.product div.social iframe{float:left;margin-top:3px}.woocommerce div.product .woocommerce-tabs ul.tabs{list-style:none;padding:0 0 0 1em;margin:0 0 1.618em;overflow:hidden;position:relative}.woocommerce div.product .woocommerce-tabs ul.tabs li{border:1px solid #d3ced2;background-color:#ebe9eb;display:inline-block;position:relative;z-index:0;border-radius:4px 4px 0 0;margin:0 -5px;padding:0 1em}.woocommerce div.product .woocommerce-tabs ul.tabs li a{display:inline-block;padding:.5em 0;font-weight:700;color:#515151;text-decoration:none}.woocommerce div.product form.cart:after,.woocommerce div.product form.cart:before,.woocommerce div.product p.cart:after,.woocommerce div.product p.cart:before{display:table;content:" "}.woocommerce div.product .woocommerce-tabs ul.tabs li a:hover{text-decoration:none;color:#6b6b6b}.woocommerce div.product .woocommerce-tabs ul.tabs li.active{background:#fff;z-index:2;border-bottom-color:#fff}.woocommerce div.product .woocommerce-tabs ul.tabs li.active a{color:inherit;text-shadow:inherit}.woocommerce div.product .woocommerce-tabs ul.tabs li.active:before{box-shadow:2px 2px 0 #fff}.woocommerce div.product .woocommerce-tabs ul.tabs li.active:after{box-shadow:-2px 2px 0 #fff}.woocommerce div.product .woocommerce-tabs ul.tabs li:after,.woocommerce div.product .woocommerce-tabs ul.tabs li:before{border:1px solid #d3ced2;position:absolute;bottom:-1px;width:5px;height:5px;content:" "}.woocommerce div.product .woocommerce-tabs ul.tabs li:before{left:-6px;-webkit-border-bottom-right-radius:4px;-moz-border-bottom-right-radius:4px;border-bottom-right-radius:4px;border-width:0 1px 1px 0;box-shadow:2px 2px 0 #ebe9eb}.woocommerce div.product .woocommerce-tabs ul.tabs li:after{right:-6px;-webkit-border-bottom-left-radius:4px;-moz-border-bottom-left-radius:4px;border-bottom-left-radius:4px;border-width:0 0 1px 1px;box-shadow:-2px 2px 0 #ebe9eb}.woocommerce div.product .woocommerce-tabs ul.tabs:before{position:absolute;content:" ";width:100%;bottom:0;left:0;border-bottom:1px solid #d3ced2;z-index:1}.woocommerce div.product .woocommerce-tabs .panel{margin:0 0 2em;padding:0}.woocommerce div.product form.cart,.woocommerce div.product p.cart{margin-bottom:2em}.woocommerce div.product form.cart div.quantity{float:left;margin:0 4px 0 0}.woocommerce div.product form.cart table{border-width:0 0 1px}.woocommerce div.product form.cart table td{padding-left:0}.woocommerce div.product form.cart table div.quantity{float:none;margin:0}.woocommerce div.product form.cart table small.stock{display:block;float:none}.woocommerce div.product form.cart .variations{margin-bottom:1em;border:0;width:100%}.woocommerce div.product form.cart .variations td,.woocommerce div.product form.cart .variations th{border:0;vertical-align:top;line-height:2em}.woocommerce div.product form.cart .variations label{font-weight:700}.woocommerce div.product form.cart .variations select{max-width:100%;min-width:75%;display:inline-block;margin-right:1em}.woocommerce div.product form.cart .variations td.label{padding-right:1em}.woocommerce div.product form.cart .woocommerce-variation-description p{margin-bottom:1em}.woocommerce div.product form.cart .reset_variations{visibility:hidden;font-size:.83em}.woocommerce div.product form.cart .wc-no-matching-variations{display:none}.woocommerce div.product form.cart .button{vertical-align:middle;float:left}.woocommerce div.product form.cart .group_table td.label{padding-right:1em;padding-left:1em}.woocommerce div.product form.cart .group_table td{vertical-align:top;padding-bottom:.5em;border:0}.woocommerce span.onsale{min-height:3.236em;min-width:3.236em;padding:.202em;font-weight:700;position:absolute;text-align:center;line-height:3.236;top:-.5em;left:-.5em;margin:0;border-radius:100%;background-color:#77a464;color:#fff;font-size:.857em;-webkit-font-smoothing:antialiased}.woocommerce .products ul,.woocommerce ul.products{margin:0 0 1em;padding:0;list-style:none;clear:both}.woocommerce .products ul:after,.woocommerce .products ul:before,.woocommerce ul.products:after,.woocommerce ul.products:before{content:" ";display:table}.woocommerce .products ul li,.woocommerce ul.products li{list-style:none}.woocommerce ul.products li.product .onsale{top:0;right:0;left:auto;margin:-.5em -.5em 0 0}.woocommerce ul.products li.product h3{padding:.5em 0;margin:0;font-size:1em}.woocommerce ul.products li.product a{text-decoration:none}.woocommerce ul.products li.product a img{width:100%;height:auto;display:block;margin:0 0 1em;box-shadow:none}.woocommerce ul.products li.product strong{display:block}.woocommerce ul.products li.product .star-rating{font-size:.857em}.woocommerce ul.products li.product .button{margin-top:1em}.woocommerce ul.products li.product .price{color:#77a464;display:block;font-weight:400;margin-bottom:.5em;font-size:.857em}.woocommerce ul.products li.product .price del{color:inherit;opacity:.5;display:block}.woocommerce ul.products li.product .price ins{background:0 0;font-weight:700}.woocommerce ul.products li.product .price .from{font-size:.67em;margin:-2px 0 0;text-transform:uppercase;color:rgba(132,132,132,.5)}.woocommerce .woocommerce-ordering,.woocommerce .woocommerce-result-count{margin:0 0 1em}.woocommerce .woocommerce-ordering select{vertical-align:top}.woocommerce nav.woocommerce-pagination{text-align:center}.woocommerce nav.woocommerce-pagination ul{display:inline-block;white-space:nowrap;padding:0;border:1px solid #d3ced2;border-right:0;margin:1px}.woocommerce nav.woocommerce-pagination ul li{border-right:1px solid #d3ced2;padding:0;margin:0;float:left;display:inline;overflow:hidden}.woocommerce nav.woocommerce-pagination ul li a,.woocommerce nav.woocommerce-pagination ul li span{margin:0;text-decoration:none;line-height:1;font-size:1em;font-weight:400;padding:.5em;min-width:1em;display:block}.woocommerce nav.woocommerce-pagination ul li a:focus,.woocommerce nav.woocommerce-pagination ul li a:hover,.woocommerce nav.woocommerce-pagination ul li span.current{background:#ebe9eb;color:#8a7e88}.woocommerce #respond input#submit,.woocommerce a.button,.woocommerce button.button,.woocommerce input.button{font-size:100%;margin:0;line-height:1;cursor:pointer;position:relative;font-family:inherit;text-decoration:none;overflow:visible;padding:.618em 1em;font-weight:700;border-radius:3px;left:auto;color:#515151;background-color:#ebe9eb;border:0;white-space:nowrap;display:inline-block;background-image:none;box-shadow:none;-webkit-box-shadow:none;text-shadow:none}.woocommerce #respond input#submit.loading,.woocommerce a.button.loading,.woocommerce button.button.loading,.woocommerce input.button.loading{opacity:.25;padding-right:2.618em}.woocommerce #respond input#submit.loading:after,.woocommerce a.button.loading:after,.woocommerce button.button.loading:after,.woocommerce input.button.loading:after{font-family:WooCommerce;content:"\e01c";vertical-align:top;-webkit-font-smoothing:antialiased;font-weight:400;position:absolute;top:.618em;right:1em;-webkit-animation:spin 2s linear infinite;-moz-animation:spin 2s linear infinite;animation:spin 2s linear infinite}.woocommerce #respond input#submit.added:after,.woocommerce a.button.added:after,.woocommerce button.button.added:after,.woocommerce input.button.added:after{font-family:WooCommerce;content:"\e017";margin-left:.53em;vertical-align:bottom}.woocommerce #respond input#submit:hover,.woocommerce a.button:hover,.woocommerce button.button:hover,.woocommerce input.button:hover{background-color:#dad8da;text-decoration:none;background-image:none;color:#515151}.woocommerce #respond input#submit.alt,.woocommerce a.button.alt,.woocommerce button.button.alt,.woocommerce input.button.alt{background-color:#a46497;color:#fff;-webkit-font-smoothing:antialiased}.woocommerce #respond input#submit.alt:hover,.woocommerce a.button.alt:hover,.woocommerce button.button.alt:hover,.woocommerce input.button.alt:hover{background-color:#935386;color:#fff}.woocommerce #respond input#submit.alt.disabled,.woocommerce #respond input#submit.alt.disabled:hover,.woocommerce #respond input#submit.alt:disabled,.woocommerce #respond input#submit.alt:disabled:hover,.woocommerce #respond input#submit.alt:disabled[disabled],.woocommerce #respond input#submit.alt:disabled[disabled]:hover,.woocommerce a.button.alt.disabled,.woocommerce a.button.alt.disabled:hover,.woocommerce a.button.alt:disabled,.woocommerce a.button.alt:disabled:hover,.woocommerce a.button.alt:disabled[disabled],.woocommerce a.button.alt:disabled[disabled]:hover,.woocommerce button.button.alt.disabled,.woocommerce button.button.alt.disabled:hover,.woocommerce button.button.alt:disabled,.woocommerce button.button.alt:disabled:hover,.woocommerce button.button.alt:disabled[disabled],.woocommerce button.button.alt:disabled[disabled]:hover,.woocommerce input.button.alt.disabled,.woocommerce input.button.alt.disabled:hover,.woocommerce input.button.alt:disabled,.woocommerce input.button.alt:disabled:hover,.woocommerce input.button.alt:disabled[disabled],.woocommerce input.button.alt:disabled[disabled]:hover{background-color:#a46497;color:#fff}.woocommerce #respond input#submit.disabled,.woocommerce #respond input#submit:disabled,.woocommerce #respond input#submit:disabled[disabled],.woocommerce a.button.disabled,.woocommerce a.button:disabled,.woocommerce a.button:disabled[disabled],.woocommerce button.button.disabled,.woocommerce button.button:disabled,.woocommerce button.button:disabled[disabled],.woocommerce input.button.disabled,.woocommerce input.button:disabled,.woocommerce input.button:disabled[disabled]{color:inherit;cursor:not-allowed;opacity:.5}.woocommerce #respond input#submit.disabled:hover,.woocommerce #respond input#submit:disabled:hover,.woocommerce #respond input#submit:disabled[disabled]:hover,.woocommerce a.button.disabled:hover,.woocommerce a.button:disabled:hover,.woocommerce a.button:disabled[disabled]:hover,.woocommerce button.button.disabled:hover,.woocommerce button.button:disabled:hover,.woocommerce button.button:disabled[disabled]:hover,.woocommerce input.button.disabled:hover,.woocommerce input.button:disabled:hover,.woocommerce input.button:disabled[disabled]:hover{color:inherit;background-color:#ebe9eb}.woocommerce .cart .button,.woocommerce .cart input.button{float:none}.woocommerce a.added_to_cart{padding-top:.5em;white-space:nowrap;display:inline-block}.woocommerce #reviews #comments .add_review:after,.woocommerce #reviews #comments .add_review:before,.woocommerce #reviews #comments ol.commentlist li .comment-text:after,.woocommerce #reviews #comments ol.commentlist li .comment-text:before,.woocommerce #reviews #comments ol.commentlist:after,.woocommerce #reviews #comments ol.commentlist:before{content:" ";display:table}.woocommerce #reviews h2 small{float:right;color:#777;font-size:15px;margin:10px 0 0}.woocommerce #reviews h2 small a{text-decoration:none;color:#777}.woocommerce #reviews h3{margin:0}.woocommerce #reviews #respond{margin:0;border:0;padding:0}.woocommerce #reviews #comment{height:75px}.woocommerce #reviews #comments h2{clear:none}.woocommerce #review_form #respond:after,.woocommerce #reviews #comments ol.commentlist li .comment-text:after,.woocommerce #reviews #comments ol.commentlist:after,.woocommerce .woocommerce-product-rating:after,.woocommerce td.product-name dl.variation:after{clear:both}.woocommerce #reviews #comments ol.commentlist{margin:0;width:100%;background:0 0;list-style:none}.woocommerce #reviews #comments ol.commentlist li{padding:0;margin:0 0 20px;position:relative;background:0;border:0}.woocommerce #reviews #comments ol.commentlist li .meta{color:#777;font-size:.75em}.woocommerce #reviews #comments ol.commentlist li img.avatar{float:left;position:absolute;top:0;left:0;padding:3px;width:32px;height:auto;background:#ebe9eb;border:1px solid #e4e1e3;margin:0;box-shadow:none}.woocommerce #reviews #comments ol.commentlist li .comment-text{margin:0 0 0 50px;border:1px solid #e4e1e3;border-radius:4px;padding:1em 1em 0}.woocommerce #reviews #comments ol.commentlist li .comment-text p{margin:0 0 1em}.woocommerce #reviews #comments ol.commentlist li .comment-text p.meta{font-size:.83em}.woocommerce #reviews #comments ol.commentlist ul.children{list-style:none;margin:20px 0 0 50px}.woocommerce #reviews #comments ol.commentlist ul.children .star-rating{display:none}.woocommerce #reviews #comments ol.commentlist #respond{border:1px solid #e4e1e3;border-radius:4px;padding:1em 1em 0;margin:20px 0 0 50px}.woocommerce #reviews #comments .commentlist>li:before{content:""}.woocommerce .star-rating{float:right;overflow:hidden;position:relative;height:1em;line-height:1;font-size:1em;width:5.4em;font-family:star}.woocommerce .star-rating:before{content:"\73\73\73\73\73";color:#d3ced2;float:left;top:0;left:0;position:absolute}.woocommerce .star-rating span{overflow:hidden;float:left;top:0;left:0;position:absolute;padding-top:1.5em}.woocommerce .star-rating span:before{content:"\53\53\53\53\53";top:0;position:absolute;left:0}.woocommerce .woocommerce-product-rating{line-height:2;display:block}.woocommerce .woocommerce-product-rating:after,.woocommerce .woocommerce-product-rating:before{content:" ";display:table}.woocommerce .woocommerce-product-rating .star-rating{margin:.5em 4px 0 0;float:left}.woocommerce .products .star-rating{display:block;margin:0 0 .5em;float:none}.woocommerce .hreview-aggregate .star-rating{margin:10px 0 0}.woocommerce #review_form #respond{position:static;margin:0;width:auto;padding:0;background:0 0;border:0}.woocommerce #review_form #respond:after,.woocommerce #review_form #respond:before{content:" ";display:table}.woocommerce p.stars a:before,.woocommerce p.stars a:hover~a:before{content:"\e021"}.woocommerce #review_form #respond p{margin:0 0 10px}.woocommerce #review_form #respond .form-submit input{left:auto}.woocommerce #review_form #respond textarea{box-sizing:border-box;width:100%}.woocommerce p.stars a{position:relative;height:1em;width:1em;text-indent:-999em;display:inline-block;text-decoration:none}.woocommerce p.stars a:before{display:block;position:absolute;top:0;left:0;width:1em;height:1em;line-height:1;font-family:WooCommerce;text-indent:0}.woocommerce table.shop_attributes td,.woocommerce table.shop_attributes th{line-height:1.5;border-bottom:1px dotted rgba(0,0,0,.1);border-top:0;margin:0}.woocommerce p.stars.selected a.active:before,.woocommerce p.stars:hover a:before{content:"\e020"}.woocommerce p.stars.selected a.active~a:before{content:"\e021"}.woocommerce p.stars.selected a:not(.active):before{content:"\e020"}.woocommerce table.shop_attributes{border:0;border-top:1px dotted rgba(0,0,0,.1);margin-bottom:1.618em;width:100%}.woocommerce table.shop_attributes th{width:150px;font-weight:700;padding:8px}.woocommerce table.shop_attributes td{font-style:italic;padding:0}.woocommerce table.shop_attributes td p{margin:0;padding:8px 0}.woocommerce table.shop_attributes .alt td,.woocommerce table.shop_attributes .alt th{background:rgba(0,0,0,.025)}.woocommerce table.shop_table{border:1px solid rgba(0,0,0,.1);margin:0 -1px 24px 0;text-align:left;width:100%;border-collapse:separate;border-radius:5px}.woocommerce table.shop_table th{font-weight:700;padding:9px 12px}.woocommerce table.shop_table td{border-top:1px solid rgba(0,0,0,.1);padding:6px 12px;vertical-align:middle}.woocommerce table.shop_table td small{font-weight:400}.woocommerce table.shop_table tbody:first-child tr:first-child td,.woocommerce table.shop_table tbody:first-child tr:first-child th{border-top:0}.woocommerce table.shop_table tbody th,.woocommerce table.shop_table tfoot td,.woocommerce table.shop_table tfoot th{font-weight:700;border-top:1px solid rgba(0,0,0,.1)}.woocommerce table.my_account_orders{font-size:.85em}.woocommerce table.my_account_orders td,.woocommerce table.my_account_orders th{padding:4px 8px;vertical-align:middle}.woocommerce table.my_account_orders .button{white-space:nowrap}.woocommerce table.my_account_orders .order-actions{text-align:right}.woocommerce table.my_account_orders .order-actions .button{margin:.125em 0 .125em .25em}.woocommerce td.product-name dl.variation{margin:.25em 0}.woocommerce td.product-name dl.variation:after,.woocommerce td.product-name dl.variation:before{content:" ";display:table}.woocommerce td.product-name dl.variation dd,.woocommerce td.product-name dl.variation dt{display:inline-block;float:left;margin-bottom:1em}.woocommerce td.product-name dl.variation dt{font-weight:700;padding:0 0 .25em;margin:0 4px 0 0;clear:left}.woocommerce ul.cart_list li dl:after,.woocommerce ul.cart_list li:after,.woocommerce ul.product_list_widget li dl:after,.woocommerce ul.product_list_widget li:after{clear:both}.woocommerce td.product-name dl.variation dd{padding:0 0 .25em}.woocommerce td.product-name dl.variation dd p:last-child{margin-bottom:0}.woocommerce td.product-name p.backorder_notification{font-size:.83em}.woocommerce td.product-quantity{min-width:80px}.woocommerce ul.cart_list,.woocommerce ul.product_list_widget{list-style:none;padding:0;margin:0}.woocommerce ul.cart_list li,.woocommerce ul.product_list_widget li{padding:4px 0;margin:0;list-style:none}.woocommerce ul.cart_list li:after,.woocommerce ul.cart_list li:before,.woocommerce ul.product_list_widget li:after,.woocommerce ul.product_list_widget li:before{content:" ";display:table}.woocommerce ul.cart_list li a,.woocommerce ul.product_list_widget li a{display:block;font-weight:700}.woocommerce ul.cart_list li img,.woocommerce ul.product_list_widget li img{float:right;margin-left:4px;width:32px;height:auto;box-shadow:none}.woocommerce ul.cart_list li dl,.woocommerce ul.product_list_widget li dl{margin:0;padding-left:1em;border-left:2px solid rgba(0,0,0,.1)}.woocommerce ul.cart_list li dl:after,.woocommerce ul.cart_list li dl:before,.woocommerce ul.product_list_widget li dl:after,.woocommerce ul.product_list_widget li dl:before{content:" ";display:table}.woocommerce ul.cart_list li dl dd,.woocommerce ul.cart_list li dl dt,.woocommerce ul.product_list_widget li dl dd,.woocommerce ul.product_list_widget li dl dt{display:inline-block;float:left;margin-bottom:1em}.woocommerce ul.cart_list li dl dt,.woocommerce ul.product_list_widget li dl dt{font-weight:700;padding:0 0 .25em;margin:0 4px 0 0;clear:left}.woocommerce .order_details:after,.woocommerce .widget_layered_nav ul li:after,.woocommerce .widget_rating_filter ul li:after,.woocommerce .widget_shopping_cart .buttons:after,.woocommerce-account .addresses .title:after,.woocommerce-account .woocommerce:after,.woocommerce-cart .wc-proceed-to-checkout:after,.woocommerce.widget_shopping_cart .buttons:after{clear:both}.woocommerce ul.cart_list li dl dd,.woocommerce ul.product_list_widget li dl dd{padding:0 0 .25em}.woocommerce ul.cart_list li dl dd p:last-child,.woocommerce ul.product_list_widget li dl dd p:last-child{margin-bottom:0}.woocommerce ul.cart_list li .star-rating,.woocommerce ul.product_list_widget li .star-rating{float:none}.woocommerce .widget_shopping_cart .total,.woocommerce.widget_shopping_cart .total{border-top:3px double #ebe9eb;padding:4px 0 0}.woocommerce .widget_shopping_cart .total strong,.woocommerce.widget_shopping_cart .total strong{min-width:40px;display:inline-block}.woocommerce .widget_shopping_cart .cart_list li,.woocommerce.widget_shopping_cart .cart_list li{padding-left:2em;position:relative;padding-top:0}.woocommerce .widget_shopping_cart .cart_list li a.remove,.woocommerce.widget_shopping_cart .cart_list li a.remove{position:absolute;top:0;left:0}.woocommerce .widget_shopping_cart .buttons:after,.woocommerce .widget_shopping_cart .buttons:before,.woocommerce.widget_shopping_cart .buttons:after,.woocommerce.widget_shopping_cart .buttons:before{content:" ";display:table}.woocommerce form .form-row{padding:3px;margin:0 0 6px}.woocommerce form .form-row [placeholder]:focus::-webkit-input-placeholder{-webkit-transition:opacity .5s .5s ease;-moz-transition:opacity .5s .5s ease;transition:opacity .5s .5s ease;opacity:0}.woocommerce form .form-row label{line-height:2}.woocommerce form .form-row label.hidden{visibility:hidden}.woocommerce form .form-row label.inline{display:inline}.woocommerce form .form-row select{cursor:pointer;margin:0}.woocommerce form .form-row .required{color:red;font-weight:700;border:0}.woocommerce form .form-row .input-checkbox{display:inline;margin:-2px 8px 0 0;text-align:center;vertical-align:middle}.woocommerce form .form-row input.input-text,.woocommerce form .form-row textarea{box-sizing:border-box;width:100%;margin:0;outline:0;line-height:1}.woocommerce form .form-row textarea{height:4em;line-height:1.5;display:block;-moz-box-shadow:none;-webkit-box-shadow:none;box-shadow:none}.woocommerce form .form-row .select2-container{width:100%;line-height:2em}.woocommerce form .form-row.woocommerce-invalid label{color:#a00}.woocommerce form .form-row.woocommerce-invalid .select2-container,.woocommerce form .form-row.woocommerce-invalid input.input-text,.woocommerce form .form-row.woocommerce-invalid select{border-color:#a00}.woocommerce form .form-row.woocommerce-validated .select2-container,.woocommerce form .form-row.woocommerce-validated input.input-text,.woocommerce form .form-row.woocommerce-validated select{border-color:#69bf29}.woocommerce form .form-row ::-webkit-input-placeholder{line-height:normal}.woocommerce form .form-row :-moz-placeholder{line-height:normal}.woocommerce form .form-row :-ms-input-placeholder{line-height:normal}.woocommerce form.checkout_coupon,.woocommerce form.login,.woocommerce form.register{border:1px solid #d3ced2;padding:20px;margin:2em 0;text-align:left;border-radius:5px}.woocommerce ul#shipping_method{list-style:none;margin:0;padding:0}.woocommerce ul#shipping_method li{margin:0;padding:.25em 0 .25em 22px;text-indent:-22px;list-style:none}.woocommerce ul#shipping_method li input{margin:3px .5ex}.woocommerce ul#shipping_method li label{display:inline}.woocommerce ul#shipping_method .amount{font-weight:700}.woocommerce p.woocommerce-shipping-contents{margin:0}.woocommerce .order_details{margin:0 0 1.5em;list-style:none}.woocommerce .order_details:after,.woocommerce .order_details:before{content:" ";display:table}.woocommerce .order_details li{float:left;margin-right:2em;text-transform:uppercase;font-size:.715em;line-height:1;border-right:1px dashed #d3ced2;padding-right:2em;margin-left:0;padding-left:0;list-style-type:none}.woocommerce .order_details li strong{display:block;font-size:1.4em;text-transform:none;line-height:1.5}.woocommerce .order_details li:last-of-type{border:none}.woocommerce .widget_layered_nav ul{margin:0;padding:0;border:0;list-style:none}.woocommerce .widget_layered_nav ul li{padding:0 0 1px;list-style:none}.woocommerce .widget_layered_nav ul li:after,.woocommerce .widget_layered_nav ul li:before{content:" ";display:table}.woocommerce .widget_layered_nav ul li.chosen a:before,.woocommerce .widget_layered_nav_filters ul li a:before{font-family:WooCommerce;speak:none;font-variant:normal;text-transform:none;line-height:1;-webkit-font-smoothing:antialiased;content:"";text-decoration:none;font-weight:400;color:#a00}.woocommerce .widget_layered_nav ul li a,.woocommerce .widget_layered_nav ul li span{padding:1px 0}.woocommerce .widget_layered_nav ul li.chosen a:before{margin-right:.618em}.woocommerce .widget_layered_nav_filters ul{margin:0;padding:0;border:0;list-style:none;overflow:hidden;zoom:1}.woocommerce .widget_layered_nav_filters ul li{float:left;padding:0 1px 1px 0;list-style:none}.woocommerce .widget_layered_nav_filters ul li a{text-decoration:none}.woocommerce .widget_layered_nav_filters ul li a:before{margin-right:.618em}.woocommerce .widget_price_filter .price_slider{margin-bottom:1em}.woocommerce .widget_price_filter .price_slider_amount{text-align:right;line-height:2.4;font-size:.8751em}.woocommerce .widget_price_filter .price_slider_amount .button{font-size:1.15em;float:left}.woocommerce .widget_price_filter .ui-slider{position:relative;text-align:left;margin-left:.5em;margin-right:.5em}.woocommerce .widget_price_filter .ui-slider .ui-slider-handle{position:absolute;z-index:2;width:1em;height:1em;background-color:#a46497;border-radius:1em;cursor:ew-resize;outline:0;top:-.3em;margin-left:-.5em}.woocommerce .widget_price_filter .ui-slider .ui-slider-range{position:absolute;z-index:1;font-size:.7em;display:block;border:0;border-radius:1em;background-color:#a46497}.woocommerce .widget_price_filter .price_slider_wrapper .ui-widget-content{border-radius:1em;background-color:#602053;border:0}.woocommerce .widget_price_filter .ui-slider-horizontal{height:.5em}.woocommerce .widget_price_filter .ui-slider-horizontal .ui-slider-range{top:0;height:100%}.woocommerce .widget_price_filter .ui-slider-horizontal .ui-slider-range-min{left:-1px}.woocommerce .widget_price_filter .ui-slider-horizontal .ui-slider-range-max{right:-1px}.woocommerce .widget_rating_filter ul{margin:0;padding:0;border:0;list-style:none}.woocommerce .widget_rating_filter ul li.chosen a:before,.woocommerce-account ul.digital-downloads li:before{margin-right:.618em;font-family:WooCommerce;speak:none;font-variant:normal;text-transform:none;line-height:1;-webkit-font-smoothing:antialiased;text-decoration:none}.woocommerce .widget_rating_filter ul li{padding:0 0 1px;list-style:none}.woocommerce .widget_rating_filter ul li:after,.woocommerce .widget_rating_filter ul li:before{content:" ";display:table}.woocommerce .widget_rating_filter ul li a{padding:1px 0;text-decoration:none}.woocommerce .widget_rating_filter ul li .star-rating{float:none;display:inline-block}.woocommerce .widget_rating_filter ul li.chosen a:before{font-weight:400;content:"";color:#a00}.woocommerce-account .addresses .title:after,.woocommerce-account .addresses .title:before,.woocommerce-account .woocommerce:after,.woocommerce-account .woocommerce:before{content:" ";display:table}.woocommerce-account .woocommerce-MyAccount-navigation{float:left;width:30%}.woocommerce-account .woocommerce-MyAccount-content{float:right;width:68%}.woocommerce-account .addresses .title h3{float:left}.woocommerce-account .addresses .title .edit,.woocommerce-account ul.digital-downloads li .count{float:right}.woocommerce-account ol.commentlist.notes li.note p.meta{font-weight:700;margin-bottom:0}.woocommerce-account ol.commentlist.notes li.note .description p:last-child{margin-bottom:0}.woocommerce-account ul.digital-downloads{margin-left:0;padding-left:0}.woocommerce-account ul.digital-downloads li{list-style:none;margin-left:0;padding-left:0}.woocommerce-account ul.digital-downloads li:before{font-weight:400;content:""}.woocommerce-cart table.cart .product-thumbnail{min-width:32px}.woocommerce-cart table.cart img{width:32px;box-shadow:none}.woocommerce-cart table.cart td,.woocommerce-cart table.cart th{vertical-align:middle}.woocommerce-cart table.cart td.actions .coupon .input-text{float:left;-webkit-box-sizing:border-box;-moz-box-sizing:border-box;box-sizing:border-box;border:1px solid #d3ced2;padding:6px 6px 5px;margin:0 4px 0 0;outline:0;line-height:1}.woocommerce-cart table.cart input{margin:0;vertical-align:middle;line-height:1}.woocommerce-cart .wc-proceed-to-checkout{padding:1em 0}.woocommerce-cart .wc-proceed-to-checkout:after,.woocommerce-cart .wc-proceed-to-checkout:before{content:" ";display:table}.woocommerce-cart .wc-proceed-to-checkout a.checkout-button{display:block;text-align:center;margin-bottom:1em;font-size:1.25em;padding:1em}.woocommerce-cart .cart-collaterals .shipping_calculator .button{width:100%;float:none;display:block}.woocommerce-cart .cart-collaterals .shipping_calculator .shipping-calculator-button:after{font-family:WooCommerce;speak:none;font-weight:400;font-variant:normal;text-transform:none;line-height:1;-webkit-font-smoothing:antialiased;margin-left:.618em;content:"";text-decoration:none}#add_payment_method #payment ul.payment_methods li:after,#add_payment_method #payment ul.payment_methods li:before,#add_payment_method #payment ul.payment_methods:after,#add_payment_method #payment ul.payment_methods:before,.woocommerce-checkout #payment ul.payment_methods li:after,.woocommerce-checkout #payment ul.payment_methods li:before,.woocommerce-checkout #payment ul.payment_methods:after,.woocommerce-checkout #payment ul.payment_methods:before{content:" ";display:table}.woocommerce-cart .cart-collaterals .cart_totals p small{color:#777;font-size:.83em}.woocommerce-cart .cart-collaterals .cart_totals table{border-collapse:separate;margin:0 0 6px;padding:0}.woocommerce-cart .cart-collaterals .cart_totals table tr:first-child td,.woocommerce-cart .cart-collaterals .cart_totals table tr:first-child th{border-top:0}.woocommerce-cart .cart-collaterals .cart_totals table th{width:40%}.woocommerce-cart .cart-collaterals .cart_totals table td,.woocommerce-cart .cart-collaterals .cart_totals table th{vertical-align:top;border-left:0;border-right:0;line-height:1.5em}.woocommerce-cart .cart-collaterals .cart_totals table small{color:#777}.woocommerce-cart .cart-collaterals .cart_totals table select{width:100%}.woocommerce-cart .cart-collaterals .cart_totals .discount td{color:#77a464}.woocommerce-cart .cart-collaterals .cart_totals tr td,.woocommerce-cart .cart-collaterals .cart_totals tr th{border-top:1px solid #ebe9eb}.woocommerce-cart .cart-collaterals .cross-sells ul.products li.product{margin-top:0}#add_payment_method .checkout .col-2 h3#ship-to-different-address,.woocommerce-checkout .checkout .col-2 h3#ship-to-different-address{float:left;clear:none}#add_payment_method .checkout .col-2 .form-row-first,#add_payment_method .checkout .col-2 .notes,.woocommerce-checkout .checkout .col-2 .form-row-first,.woocommerce-checkout .checkout .col-2 .notes{clear:left}#add_payment_method .checkout .create-account small,.woocommerce-checkout .checkout .create-account small{font-size:11px;color:#777;font-weight:400}#add_payment_method .checkout div.shipping-address,.woocommerce-checkout .checkout div.shipping-address{padding:0;clear:left;width:100%}#add_payment_method #payment ul.payment_methods li:after,#add_payment_method #payment ul.payment_methods:after,#add_payment_method .checkout .shipping_address,.single-product .twentythirteen p.stars,.woocommerce-checkout #payment ul.payment_methods li:after,.woocommerce-checkout #payment ul.payment_methods:after,.woocommerce-checkout .checkout .shipping_address{clear:both}#add_payment_method #payment,.woocommerce-checkout #payment{background:#ebe9eb;border-radius:5px}#add_payment_method #payment ul.payment_methods,.woocommerce-checkout #payment ul.payment_methods{text-align:left;padding:1em;border-bottom:1px solid #d3ced2;margin:0;list-style:none}#add_payment_method #payment ul.payment_methods li,.woocommerce-checkout #payment ul.payment_methods li{line-height:2;text-align:left;margin:0;font-weight:400}#add_payment_method #payment ul.payment_methods li input,.woocommerce-checkout #payment ul.payment_methods li input{margin:0 1em 0 0}#add_payment_method #payment ul.payment_methods li img,.woocommerce-checkout #payment ul.payment_methods li img{vertical-align:middle;margin:-2px 0 0 .5em;padding:0;position:relative;box-shadow:none}#add_payment_method #payment ul.payment_methods li img+img,.woocommerce-checkout #payment ul.payment_methods li img+img{margin-left:2px}#add_payment_method #payment div.form-row,.woocommerce-checkout #payment div.form-row{padding:1em}#add_payment_method #payment div.payment_box,.woocommerce-checkout #payment div.payment_box{position:relative;box-sizing:border-box;width:100%;padding:1em;margin:1em 0;font-size:.92em;border-radius:2px;line-height:1.5;background-color:#dfdcde;color:#515151}#add_payment_method #payment div.payment_box input.input-text,#add_payment_method #payment div.payment_box textarea,.woocommerce-checkout #payment div.payment_box input.input-text,.woocommerce-checkout #payment div.payment_box textarea{border-color:#bbb3b9 #c7c1c6 #c7c1c6}#add_payment_method #payment div.payment_box ::-webkit-input-placeholder,.woocommerce-checkout #payment div.payment_box ::-webkit-input-placeholder{color:#bbb3b9}#add_payment_method #payment div.payment_box :-moz-placeholder,.woocommerce-checkout #payment div.payment_box :-moz-placeholder{color:#bbb3b9}#add_payment_method #payment div.payment_box :-ms-input-placeholder,.woocommerce-checkout #payment div.payment_box :-ms-input-placeholder{color:#bbb3b9}#add_payment_method #payment div.payment_box .wc-credit-card-form-card-cvc,#add_payment_method #payment div.payment_box .wc-credit-card-form-card-expiry,#add_payment_method #payment div.payment_box .wc-credit-card-form-card-number,.woocommerce-checkout #payment div.payment_box .wc-credit-card-form-card-cvc,.woocommerce-checkout #payment div.payment_box .wc-credit-card-form-card-expiry,.woocommerce-checkout #payment div.payment_box .wc-credit-card-form-card-number{font-size:1.5em;padding:8px;background-repeat:no-repeat;background-position:right .618em center;background-size:32px 20px}#add_payment_method #payment div.payment_box .wc-credit-card-form-card-cvc.visa,#add_payment_method #payment div.payment_box .wc-credit-card-form-card-expiry.visa,#add_payment_method #payment div.payment_box .wc-credit-card-form-card-number.visa,.woocommerce-checkout #payment div.payment_box .wc-credit-card-form-card-cvc.visa,.woocommerce-checkout #payment div.payment_box .wc-credit-card-form-card-expiry.visa,.woocommerce-checkout #payment div.payment_box .wc-credit-card-form-card-number.visa{background-image:url(../images/icons/credit-cards/visa.svg)}#add_payment_method #payment div.payment_box .wc-credit-card-form-card-cvc.mastercard,#add_payment_method #payment div.payment_box .wc-credit-card-form-card-expiry.mastercard,#add_payment_method #payment div.payment_box .wc-credit-card-form-card-number.mastercard,.woocommerce-checkout #payment div.payment_box .wc-credit-card-form-card-cvc.mastercard,.woocommerce-checkout #payment div.payment_box .wc-credit-card-form-card-expiry.mastercard,.woocommerce-checkout #payment div.payment_box .wc-credit-card-form-card-number.mastercard{background-image:url(../images/icons/credit-cards/mastercard.svg)}#add_payment_method #payment div.payment_box .wc-credit-card-form-card-cvc.laser,#add_payment_method #payment div.payment_box .wc-credit-card-form-card-expiry.laser,#add_payment_method #payment div.payment_box .wc-credit-card-form-card-number.laser,.woocommerce-checkout #payment div.payment_box .wc-credit-card-form-card-cvc.laser,.woocommerce-checkout #payment div.payment_box .wc-credit-card-form-card-expiry.laser,.woocommerce-checkout #payment div.payment_box .wc-credit-card-form-card-number.laser{background-image:url(../images/icons/credit-cards/laser.svg)}#add_payment_method #payment div.payment_box .wc-credit-card-form-card-cvc.dinersclub,#add_payment_method #payment div.payment_box .wc-credit-card-form-card-expiry.dinersclub,#add_payment_method #payment div.payment_box .wc-credit-card-form-card-number.dinersclub,.woocommerce-checkout #payment div.payment_box .wc-credit-card-form-card-cvc.dinersclub,.woocommerce-checkout #payment div.payment_box .wc-credit-card-form-card-expiry.dinersclub,.woocommerce-checkout #payment div.payment_box .wc-credit-card-form-card-number.dinersclub{background-image:url(../images/icons/credit-cards/diners.svg)}#add_payment_method #payment div.payment_box .wc-credit-card-form-card-cvc.maestro,#add_payment_method #payment div.payment_box .wc-credit-card-form-card-expiry.maestro,#add_payment_method #payment div.payment_box .wc-credit-card-form-card-number.maestro,.woocommerce-checkout #payment div.payment_box .wc-credit-card-form-card-cvc.maestro,.woocommerce-checkout #payment div.payment_box .wc-credit-card-form-card-expiry.maestro,.woocommerce-checkout #payment div.payment_box .wc-credit-card-form-card-number.maestro{background-image:url(../images/icons/credit-cards/maestro.svg)}#add_payment_method #payment div.payment_box .wc-credit-card-form-card-cvc.jcb,#add_payment_method #payment div.payment_box .wc-credit-card-form-card-expiry.jcb,#add_payment_method #payment div.payment_box .wc-credit-card-form-card-number.jcb,.woocommerce-checkout #payment div.payment_box .wc-credit-card-form-card-cvc.jcb,.woocommerce-checkout #payment div.payment_box .wc-credit-card-form-card-expiry.jcb,.woocommerce-checkout #payment div.payment_box .wc-credit-card-form-card-number.jcb{background-image:url(../images/icons/credit-cards/jcb.svg)}#add_payment_method #payment div.payment_box .wc-credit-card-form-card-cvc.amex,#add_payment_method #payment div.payment_box .wc-credit-card-form-card-expiry.amex,#add_payment_method #payment div.payment_box .wc-credit-card-form-card-number.amex,.woocommerce-checkout #payment div.payment_box .wc-credit-card-form-card-cvc.amex,.woocommerce-checkout #payment div.payment_box .wc-credit-card-form-card-expiry.amex,.woocommerce-checkout #payment div.payment_box .wc-credit-card-form-card-number.amex{background-image:url(../images/icons/credit-cards/amex.svg)}#add_payment_method #payment div.payment_box .wc-credit-card-form-card-cvc.discover,#add_payment_method #payment div.payment_box .wc-credit-card-form-card-expiry.discover,#add_payment_method #payment div.payment_box .wc-credit-card-form-card-number.discover,.woocommerce-checkout #payment div.payment_box .wc-credit-card-form-card-cvc.discover,.woocommerce-checkout #payment div.payment_box .wc-credit-card-form-card-expiry.discover,.woocommerce-checkout #payment div.payment_box .wc-credit-card-form-card-number.discover{background-image:url(../images/icons/credit-cards/discover.svg)}#add_payment_method #payment div.payment_box span.help,.woocommerce-checkout #payment div.payment_box span.help{font-size:.857em;color:#777;font-weight:400}#add_payment_method #payment div.payment_box .form-row,.woocommerce-checkout #payment div.payment_box .form-row{margin:0 0 1em}#add_payment_method #payment div.payment_box p:last-child,.woocommerce-checkout #payment div.payment_box p:last-child{margin-bottom:0}#add_payment_method #payment div.payment_box:before,.woocommerce-checkout #payment div.payment_box:before{content:"";display:block;border:1em solid #dfdcde;border-right-color:transparent;border-left-color:transparent;border-top-color:transparent;position:absolute;top:-.75em;left:0;margin:-1em 0 0 2em}#add_payment_method #payment .payment_method_paypal .about_paypal,.woocommerce-checkout #payment .payment_method_paypal .about_paypal{float:right;line-height:52px;font-size:.83em}#add_payment_method #payment .payment_method_paypal img,.woocommerce-checkout #payment .payment_method_paypal img{max-height:52px;vertical-align:middle}.woocommerce-password-strength{text-align:center;font-weight:600;padding:3px .5em;font-size:1em}.woocommerce-password-strength.strong{background-color:#c1e1b9;border-color:#83c373}.woocommerce-password-strength.short{background-color:#f1adad;border-color:#e35b5b}.woocommerce-password-strength.bad{background-color:#fbc5a9;border-color:#f78b53}.woocommerce-password-strength.good{background-color:#ffe399;border-color:#ffc733}.woocommerce-password-hint{margin:.5em 0 0;display:block}.product.has-default-attributes.has-children>.images{opacity:0}#content.twentyeleven .woocommerce-pagination a{font-size:1em;line-height:1}.single-product .twentythirteen #reply-title,.single-product .twentythirteen #respond #commentform,.single-product .twentythirteen .entry-summary{padding:0}.twentythirteen .woocommerce-breadcrumb{padding-top:40px}.twentyfourteen ul.products li.product{margin-top:0!important}body:not(.search-results) .twentysixteen .entry-summary{color:inherit;font-size:inherit;line-height:inherit}.twentysixteen .price ins{background:inherit;color:inherit} \ No newline at end of file +@charset "UTF-8";.clear,.woocommerce .woocommerce-breadcrumb:after,.woocommerce .woocommerce-error:after,.woocommerce .woocommerce-info:after,.woocommerce .woocommerce-message:after{clear:both}@-webkit-keyframes spin{100%{-webkit-transform:rotate(360deg)}}@-moz-keyframes spin{100%{-moz-transform:rotate(360deg)}}@keyframes spin{100%{-webkit-transform:rotate(360deg);-moz-transform:rotate(360deg);-ms-transform:rotate(360deg);-o-transform:rotate(360deg);transform:rotate(360deg)}}@font-face{font-family:star;src:url(../fonts/star.eot);src:url(../fonts/star.eot?#iefix) format("embedded-opentype"),url(../fonts/star.woff) format("woff"),url(../fonts/star.ttf) format("truetype"),url(../fonts/star.svg#star) format("svg");font-weight:400;font-style:normal}@font-face{font-family:WooCommerce;src:url(../fonts/WooCommerce.eot);src:url(../fonts/WooCommerce.eot?#iefix) format("embedded-opentype"),url(../fonts/WooCommerce.woff) format("woff"),url(../fonts/WooCommerce.ttf) format("truetype"),url(../fonts/WooCommerce.svg#WooCommerce) format("svg");font-weight:400;font-style:normal}p.demo_store{position:fixed;top:0;left:0;right:0;margin:0;width:100%;font-size:1em;padding:1em 0;text-align:center;background-color:#a46497;color:#fff;z-index:99998;box-shadow:0 1px 1em rgba(0,0,0,.2)}p.demo_store a{color:#fff}.admin-bar p.demo_store{top:32px}.woocommerce .blockUI.blockOverlay{position:relative}.woocommerce .blockUI.blockOverlay:before,.woocommerce .loader:before{height:1em;width:1em;position:absolute;top:50%;left:50%;margin-left:-.5em;margin-top:-.5em;display:block;content:"";-webkit-animation:spin 1s ease-in-out infinite;-moz-animation:spin 1s ease-in-out infinite;animation:spin 1s ease-in-out infinite;background:url(../images/icons/loader.svg) center center;background-size:cover;line-height:1;text-align:center;font-size:2em;color:rgba(0,0,0,.75)}.woocommerce a.remove{display:block;font-size:1.5em;height:1em;width:1em;text-align:center;line-height:1;border-radius:100%;color:red!important;text-decoration:none;font-weight:700;border:0}.woocommerce a.remove:hover{color:#fff!important;background:red}.woocommerce .woocommerce-error,.woocommerce .woocommerce-info,.woocommerce .woocommerce-message{padding:1em 2em 1em 3.5em!important;margin:0 0 2em!important;position:relative;background-color:#f7f6f7;color:#515151;border-top:3px solid #a46497;list-style:none!important;width:auto;word-wrap:break-word}.woocommerce .woocommerce-error:after,.woocommerce .woocommerce-error:before,.woocommerce .woocommerce-info:after,.woocommerce .woocommerce-info:before,.woocommerce .woocommerce-message:after,.woocommerce .woocommerce-message:before{content:" ";display:table}.woocommerce .woocommerce-error:before,.woocommerce .woocommerce-info:before,.woocommerce .woocommerce-message:before{font-family:WooCommerce;content:"\e028";display:inline-block;position:absolute;top:1em;left:1.5em}.woocommerce .woocommerce-error .button,.woocommerce .woocommerce-info .button,.woocommerce .woocommerce-message .button{float:right}.woocommerce .woocommerce-error li,.woocommerce .woocommerce-info li,.woocommerce .woocommerce-message li{list-style:none!important;padding-left:0!important;margin-left:0!important}.woocommerce .woocommerce-message{border-top-color:#8fae1b}.woocommerce .woocommerce-message:before{content:"\e015";color:#8fae1b}.woocommerce .woocommerce-info{border-top-color:#1e85be}.woocommerce .woocommerce-info:before{color:#1e85be}.woocommerce .woocommerce-error{border-top-color:#b81c23}.woocommerce .woocommerce-error:before{content:"\e016";color:#b81c23}.woocommerce small.note{display:block;color:#777;font-size:.857em;margin-top:10px}.woocommerce .woocommerce-breadcrumb{margin:0 0 1em;padding:0;font-size:.92em;color:#777}.woocommerce .woocommerce-breadcrumb:after,.woocommerce .woocommerce-breadcrumb:before{content:" ";display:table}.woocommerce .woocommerce-breadcrumb a{color:#777}.woocommerce .quantity .qty{width:3.631em;text-align:center}.woocommerce div.product{margin-bottom:0;position:relative}.woocommerce div.product .product_title{clear:none;margin-top:0;padding:0}.woocommerce #reviews #comments .add_review:after,.woocommerce .products ul:after,.woocommerce div.product form.cart:after,.woocommerce div.product p.cart:after,.woocommerce nav.woocommerce-pagination ul,.woocommerce ul.products:after{clear:both}.woocommerce div.product p.price,.woocommerce div.product span.price{color:#77a464;font-size:1.25em}.woocommerce div.product p.price ins,.woocommerce div.product span.price ins{background:inherit;font-weight:700}.woocommerce div.product p.price del,.woocommerce div.product span.price del{opacity:.5}.woocommerce div.product p.stock{font-size:.92em}.woocommerce div.product .stock{color:#77a464}.woocommerce div.product .out-of-stock{color:red}.woocommerce div.product .woocommerce-product-rating{margin-bottom:1.618em}.woocommerce div.product div.images,.woocommerce div.product div.summary{margin-bottom:2em}.woocommerce div.product div.images img{display:block;width:100%;height:auto;box-shadow:none}.woocommerce div.product div.images div.thumbnails{padding-top:1em}.woocommerce div.product div.social{text-align:right;margin:0 0 1em}.woocommerce div.product div.social span{margin:0 0 0 2px}.woocommerce div.product div.social span span{margin:0}.woocommerce div.product div.social span .stButton .chicklets{padding-left:16px;width:0}.woocommerce div.product div.social iframe{float:left;margin-top:3px}.woocommerce div.product .woocommerce-tabs ul.tabs{list-style:none;padding:0 0 0 1em;margin:0 0 1.618em;overflow:hidden;position:relative}.woocommerce div.product .woocommerce-tabs ul.tabs li{border:1px solid #d3ced2;background-color:#ebe9eb;display:inline-block;position:relative;z-index:0;border-radius:4px 4px 0 0;margin:0 -5px;padding:0 1em}.woocommerce div.product .woocommerce-tabs ul.tabs li a{display:inline-block;padding:.5em 0;font-weight:700;color:#515151;text-decoration:none}.woocommerce div.product form.cart:after,.woocommerce div.product form.cart:before,.woocommerce div.product p.cart:after,.woocommerce div.product p.cart:before{display:table;content:" "}.woocommerce div.product .woocommerce-tabs ul.tabs li a:hover{text-decoration:none;color:#6b6b6b}.woocommerce div.product .woocommerce-tabs ul.tabs li.active{background:#fff;z-index:2;border-bottom-color:#fff}.woocommerce div.product .woocommerce-tabs ul.tabs li.active a{color:inherit;text-shadow:inherit}.woocommerce div.product .woocommerce-tabs ul.tabs li.active:before{box-shadow:2px 2px 0 #fff}.woocommerce div.product .woocommerce-tabs ul.tabs li.active:after{box-shadow:-2px 2px 0 #fff}.woocommerce div.product .woocommerce-tabs ul.tabs li:after,.woocommerce div.product .woocommerce-tabs ul.tabs li:before{border:1px solid #d3ced2;position:absolute;bottom:-1px;width:5px;height:5px;content:" "}.woocommerce div.product .woocommerce-tabs ul.tabs li:before{left:-6px;-webkit-border-bottom-right-radius:4px;-moz-border-bottom-right-radius:4px;border-bottom-right-radius:4px;border-width:0 1px 1px 0;box-shadow:2px 2px 0 #ebe9eb}.woocommerce div.product .woocommerce-tabs ul.tabs li:after{right:-6px;-webkit-border-bottom-left-radius:4px;-moz-border-bottom-left-radius:4px;border-bottom-left-radius:4px;border-width:0 0 1px 1px;box-shadow:-2px 2px 0 #ebe9eb}.woocommerce div.product .woocommerce-tabs ul.tabs:before{position:absolute;content:" ";width:100%;bottom:0;left:0;border-bottom:1px solid #d3ced2;z-index:1}.woocommerce div.product .woocommerce-tabs .panel{margin:0 0 2em;padding:0}.woocommerce div.product form.cart,.woocommerce div.product p.cart{margin-bottom:2em}.woocommerce div.product form.cart div.quantity{float:left;margin:0 4px 0 0}.woocommerce div.product form.cart table{border-width:0 0 1px}.woocommerce div.product form.cart table td{padding-left:0}.woocommerce div.product form.cart table div.quantity{float:none;margin:0}.woocommerce div.product form.cart table small.stock{display:block;float:none}.woocommerce div.product form.cart .variations{margin-bottom:1em;border:0;width:100%}.woocommerce div.product form.cart .variations td,.woocommerce div.product form.cart .variations th{border:0;vertical-align:top;line-height:2em}.woocommerce div.product form.cart .variations label{font-weight:700}.woocommerce div.product form.cart .variations select{max-width:100%;min-width:75%;display:inline-block;margin-right:1em}.woocommerce div.product form.cart .variations td.label{padding-right:1em}.woocommerce div.product form.cart .woocommerce-variation-description p{margin-bottom:1em}.woocommerce div.product form.cart .reset_variations{visibility:hidden;font-size:.83em}.woocommerce div.product form.cart .wc-no-matching-variations{display:none}.woocommerce div.product form.cart .button{vertical-align:middle;float:left}.woocommerce div.product form.cart .group_table td.label{padding-right:1em;padding-left:1em}.woocommerce div.product form.cart .group_table td{vertical-align:top;padding-bottom:.5em;border:0}.woocommerce span.onsale{min-height:3.236em;min-width:3.236em;padding:.202em;font-weight:700;position:absolute;text-align:center;line-height:3.236;top:-.5em;left:-.5em;margin:0;border-radius:100%;background-color:#77a464;color:#fff;font-size:.857em;-webkit-font-smoothing:antialiased}.woocommerce .products ul,.woocommerce ul.products{margin:0 0 1em;padding:0;list-style:none;clear:both}.woocommerce .products ul:after,.woocommerce .products ul:before,.woocommerce ul.products:after,.woocommerce ul.products:before{content:" ";display:table}.woocommerce .products ul li,.woocommerce ul.products li{list-style:none}.woocommerce ul.products li.product .onsale{top:0;right:0;left:auto;margin:-.5em -.5em 0 0}.woocommerce ul.products li.product h3{padding:.5em 0;margin:0;font-size:1em}.woocommerce ul.products li.product a{text-decoration:none}.woocommerce ul.products li.product a img{width:100%;height:auto;display:block;margin:0 0 1em;box-shadow:none}.woocommerce ul.products li.product strong{display:block}.woocommerce ul.products li.product .star-rating{font-size:.857em}.woocommerce ul.products li.product .button{margin-top:1em}.woocommerce ul.products li.product .price{color:#77a464;display:block;font-weight:400;margin-bottom:.5em;font-size:.857em}.woocommerce ul.products li.product .price del{color:inherit;opacity:.5;display:block}.woocommerce ul.products li.product .price ins{background:0 0;font-weight:700}.woocommerce ul.products li.product .price .from{font-size:.67em;margin:-2px 0 0;text-transform:uppercase;color:rgba(132,132,132,.5)}.woocommerce .woocommerce-ordering,.woocommerce .woocommerce-result-count{margin:0 0 1em}.woocommerce .woocommerce-ordering select{vertical-align:top}.woocommerce nav.woocommerce-pagination{text-align:center}.woocommerce nav.woocommerce-pagination ul{display:inline-block;white-space:nowrap;padding:0;border:1px solid #d3ced2;border-right:0;margin:1px}.woocommerce nav.woocommerce-pagination ul li{border-right:1px solid #d3ced2;padding:0;margin:0;float:left;display:inline;overflow:hidden}.woocommerce nav.woocommerce-pagination ul li a,.woocommerce nav.woocommerce-pagination ul li span{margin:0;text-decoration:none;line-height:1;font-size:1em;font-weight:400;padding:.5em;min-width:1em;display:block}.woocommerce nav.woocommerce-pagination ul li a:focus,.woocommerce nav.woocommerce-pagination ul li a:hover,.woocommerce nav.woocommerce-pagination ul li span.current{background:#ebe9eb;color:#8a7e88}.woocommerce #respond input#submit,.woocommerce a.button,.woocommerce button.button,.woocommerce input.button{font-size:100%;margin:0;line-height:1;cursor:pointer;position:relative;text-decoration:none;overflow:visible;padding:.618em 1em;font-weight:700;border-radius:3px;left:auto;color:#515151;background-color:#ebe9eb;border:0;white-space:nowrap;display:inline-block;background-image:none;box-shadow:none;-webkit-box-shadow:none;text-shadow:none}.woocommerce #respond input#submit.loading,.woocommerce a.button.loading,.woocommerce button.button.loading,.woocommerce input.button.loading{opacity:.25;padding-right:2.618em}.woocommerce #respond input#submit.loading:after,.woocommerce a.button.loading:after,.woocommerce button.button.loading:after,.woocommerce input.button.loading:after{font-family:WooCommerce;content:"\e01c";vertical-align:top;-webkit-font-smoothing:antialiased;font-weight:400;position:absolute;top:.618em;right:1em;-webkit-animation:spin 2s linear infinite;-moz-animation:spin 2s linear infinite;animation:spin 2s linear infinite}.woocommerce #respond input#submit.added:after,.woocommerce a.button.added:after,.woocommerce button.button.added:after,.woocommerce input.button.added:after{font-family:WooCommerce;content:"\e017";margin-left:.53em;vertical-align:bottom}.woocommerce #respond input#submit:hover,.woocommerce a.button:hover,.woocommerce button.button:hover,.woocommerce input.button:hover{background-color:#dad8da;text-decoration:none;background-image:none;color:#515151}.woocommerce #respond input#submit.alt,.woocommerce a.button.alt,.woocommerce button.button.alt,.woocommerce input.button.alt{background-color:#a46497;color:#fff;-webkit-font-smoothing:antialiased}.woocommerce #respond input#submit.alt:hover,.woocommerce a.button.alt:hover,.woocommerce button.button.alt:hover,.woocommerce input.button.alt:hover{background-color:#935386;color:#fff}.woocommerce #respond input#submit.alt.disabled,.woocommerce #respond input#submit.alt.disabled:hover,.woocommerce #respond input#submit.alt:disabled,.woocommerce #respond input#submit.alt:disabled:hover,.woocommerce #respond input#submit.alt:disabled[disabled],.woocommerce #respond input#submit.alt:disabled[disabled]:hover,.woocommerce a.button.alt.disabled,.woocommerce a.button.alt.disabled:hover,.woocommerce a.button.alt:disabled,.woocommerce a.button.alt:disabled:hover,.woocommerce a.button.alt:disabled[disabled],.woocommerce a.button.alt:disabled[disabled]:hover,.woocommerce button.button.alt.disabled,.woocommerce button.button.alt.disabled:hover,.woocommerce button.button.alt:disabled,.woocommerce button.button.alt:disabled:hover,.woocommerce button.button.alt:disabled[disabled],.woocommerce button.button.alt:disabled[disabled]:hover,.woocommerce input.button.alt.disabled,.woocommerce input.button.alt.disabled:hover,.woocommerce input.button.alt:disabled,.woocommerce input.button.alt:disabled:hover,.woocommerce input.button.alt:disabled[disabled],.woocommerce input.button.alt:disabled[disabled]:hover{background-color:#a46497;color:#fff}.woocommerce #respond input#submit.disabled,.woocommerce #respond input#submit:disabled,.woocommerce #respond input#submit:disabled[disabled],.woocommerce a.button.disabled,.woocommerce a.button:disabled,.woocommerce a.button:disabled[disabled],.woocommerce button.button.disabled,.woocommerce button.button:disabled,.woocommerce button.button:disabled[disabled],.woocommerce input.button.disabled,.woocommerce input.button:disabled,.woocommerce input.button:disabled[disabled]{color:inherit;cursor:not-allowed;opacity:.5;padding:.618em 1em}.woocommerce #respond input#submit.disabled:hover,.woocommerce #respond input#submit:disabled:hover,.woocommerce #respond input#submit:disabled[disabled]:hover,.woocommerce a.button.disabled:hover,.woocommerce a.button:disabled:hover,.woocommerce a.button:disabled[disabled]:hover,.woocommerce button.button.disabled:hover,.woocommerce button.button:disabled:hover,.woocommerce button.button:disabled[disabled]:hover,.woocommerce input.button.disabled:hover,.woocommerce input.button:disabled:hover,.woocommerce input.button:disabled[disabled]:hover{color:inherit;background-color:#ebe9eb}.woocommerce .cart .button,.woocommerce .cart input.button{float:none}.woocommerce a.added_to_cart{padding-top:.5em;white-space:nowrap;display:inline-block}.woocommerce #reviews #comments .add_review:after,.woocommerce #reviews #comments .add_review:before,.woocommerce #reviews #comments ol.commentlist li .comment-text:after,.woocommerce #reviews #comments ol.commentlist li .comment-text:before,.woocommerce #reviews #comments ol.commentlist:after,.woocommerce #reviews #comments ol.commentlist:before{content:" ";display:table}.woocommerce #reviews h2 small{float:right;color:#777;font-size:15px;margin:10px 0 0}.woocommerce #reviews h2 small a{text-decoration:none;color:#777}.woocommerce #reviews h3{margin:0}.woocommerce #reviews #respond{margin:0;border:0;padding:0}.woocommerce #reviews #comment{height:75px}.woocommerce #reviews #comments h2{clear:none}.woocommerce #review_form #respond:after,.woocommerce #reviews #comments ol.commentlist li .comment-text:after,.woocommerce #reviews #comments ol.commentlist:after,.woocommerce .woocommerce-product-rating:after,.woocommerce td.product-name dl.variation:after{clear:both}.woocommerce #reviews #comments ol.commentlist{margin:0;width:100%;background:0 0;list-style:none}.woocommerce #reviews #comments ol.commentlist li{padding:0;margin:0 0 20px;position:relative;background:0;border:0}.woocommerce #reviews #comments ol.commentlist li .meta{color:#777;font-size:.75em}.woocommerce #reviews #comments ol.commentlist li img.avatar{float:left;position:absolute;top:0;left:0;padding:3px;width:32px;height:auto;background:#ebe9eb;border:1px solid #e4e1e3;margin:0;box-shadow:none}.woocommerce #reviews #comments ol.commentlist li .comment-text{margin:0 0 0 50px;border:1px solid #e4e1e3;border-radius:4px;padding:1em 1em 0}.woocommerce #reviews #comments ol.commentlist li .comment-text p{margin:0 0 1em}.woocommerce #reviews #comments ol.commentlist li .comment-text p.meta{font-size:.83em}.woocommerce #reviews #comments ol.commentlist ul.children{list-style:none;margin:20px 0 0 50px}.woocommerce #reviews #comments ol.commentlist ul.children .star-rating{display:none}.woocommerce #reviews #comments ol.commentlist #respond{border:1px solid #e4e1e3;border-radius:4px;padding:1em 1em 0;margin:20px 0 0 50px}.woocommerce #reviews #comments .commentlist>li:before{content:""}.woocommerce .star-rating{float:right;overflow:hidden;position:relative;height:1em;line-height:1;font-size:1em;width:5.4em;font-family:star}.woocommerce .star-rating:before{content:"\73\73\73\73\73";color:#d3ced2;float:left;top:0;left:0;position:absolute}.woocommerce .star-rating span{overflow:hidden;float:left;top:0;left:0;position:absolute;padding-top:1.5em}.woocommerce .star-rating span:before{content:"\53\53\53\53\53";top:0;position:absolute;left:0}.woocommerce .woocommerce-product-rating{line-height:2;display:block}.woocommerce .woocommerce-product-rating:after,.woocommerce .woocommerce-product-rating:before{content:" ";display:table}.woocommerce .woocommerce-product-rating .star-rating{margin:.5em 4px 0 0;float:left}.woocommerce .products .star-rating{display:block;margin:0 0 .5em;float:none}.woocommerce .hreview-aggregate .star-rating{margin:10px 0 0}.woocommerce #review_form #respond{position:static;margin:0;width:auto;padding:0;background:0 0;border:0}.woocommerce #review_form #respond:after,.woocommerce #review_form #respond:before{content:" ";display:table}.woocommerce p.stars a:before,.woocommerce p.stars a:hover~a:before{content:"\e021"}.woocommerce #review_form #respond p{margin:0 0 10px}.woocommerce #review_form #respond .form-submit input{left:auto}.woocommerce #review_form #respond textarea{box-sizing:border-box;width:100%}.woocommerce p.stars a{position:relative;height:1em;width:1em;text-indent:-999em;display:inline-block;text-decoration:none}.woocommerce p.stars a:before{display:block;position:absolute;top:0;left:0;width:1em;height:1em;line-height:1;font-family:WooCommerce;text-indent:0}.woocommerce table.shop_attributes td,.woocommerce table.shop_attributes th{line-height:1.5;border-bottom:1px dotted rgba(0,0,0,.1);border-top:0;margin:0}.woocommerce p.stars.selected a.active:before,.woocommerce p.stars:hover a:before{content:"\e020"}.woocommerce p.stars.selected a.active~a:before{content:"\e021"}.woocommerce p.stars.selected a:not(.active):before{content:"\e020"}.woocommerce table.shop_attributes{border:0;border-top:1px dotted rgba(0,0,0,.1);margin-bottom:1.618em;width:100%}.woocommerce table.shop_attributes th{width:150px;font-weight:700;padding:8px}.woocommerce table.shop_attributes td{font-style:italic;padding:0}.woocommerce table.shop_attributes td p{margin:0;padding:8px 0}.woocommerce table.shop_attributes .alt td,.woocommerce table.shop_attributes .alt th{background:rgba(0,0,0,.025)}.woocommerce table.shop_table{border:1px solid rgba(0,0,0,.1);margin:0 -1px 24px 0;text-align:left;width:100%;border-collapse:separate;border-radius:5px}.woocommerce table.shop_table th{font-weight:700;padding:9px 12px}.woocommerce table.shop_table td{border-top:1px solid rgba(0,0,0,.1);padding:6px 12px;vertical-align:middle}.woocommerce table.shop_table td small{font-weight:400}.woocommerce table.shop_table tbody:first-child tr:first-child td,.woocommerce table.shop_table tbody:first-child tr:first-child th{border-top:0}.woocommerce table.shop_table tbody th,.woocommerce table.shop_table tfoot td,.woocommerce table.shop_table tfoot th{font-weight:700;border-top:1px solid rgba(0,0,0,.1)}.woocommerce table.my_account_orders{font-size:.85em}.woocommerce table.my_account_orders td,.woocommerce table.my_account_orders th{padding:4px 8px;vertical-align:middle}.woocommerce table.my_account_orders .button{white-space:nowrap}.woocommerce table.my_account_orders .order-actions{text-align:right}.woocommerce table.my_account_orders .order-actions .button{margin:.125em 0 .125em .25em}.woocommerce td.product-name dl.variation{margin:.25em 0}.woocommerce td.product-name dl.variation:after,.woocommerce td.product-name dl.variation:before{content:" ";display:table}.woocommerce td.product-name dl.variation dd,.woocommerce td.product-name dl.variation dt{display:inline-block;float:left;margin-bottom:1em}.woocommerce td.product-name dl.variation dt{font-weight:700;padding:0 0 .25em;margin:0 4px 0 0;clear:left}.woocommerce ul.cart_list li dl:after,.woocommerce ul.cart_list li:after,.woocommerce ul.product_list_widget li dl:after,.woocommerce ul.product_list_widget li:after{clear:both}.woocommerce td.product-name dl.variation dd{padding:0 0 .25em}.woocommerce td.product-name dl.variation dd p:last-child{margin-bottom:0}.woocommerce td.product-name p.backorder_notification{font-size:.83em}.woocommerce td.product-quantity{min-width:80px}.woocommerce ul.cart_list,.woocommerce ul.product_list_widget{list-style:none;padding:0;margin:0}.woocommerce ul.cart_list li,.woocommerce ul.product_list_widget li{padding:4px 0;margin:0;list-style:none}.woocommerce ul.cart_list li:after,.woocommerce ul.cart_list li:before,.woocommerce ul.product_list_widget li:after,.woocommerce ul.product_list_widget li:before{content:" ";display:table}.woocommerce ul.cart_list li a,.woocommerce ul.product_list_widget li a{display:block;font-weight:700}.woocommerce ul.cart_list li img,.woocommerce ul.product_list_widget li img{float:right;margin-left:4px;width:32px;height:auto;box-shadow:none}.woocommerce ul.cart_list li dl,.woocommerce ul.product_list_widget li dl{margin:0;padding-left:1em;border-left:2px solid rgba(0,0,0,.1)}.woocommerce ul.cart_list li dl:after,.woocommerce ul.cart_list li dl:before,.woocommerce ul.product_list_widget li dl:after,.woocommerce ul.product_list_widget li dl:before{content:" ";display:table}.woocommerce ul.cart_list li dl dd,.woocommerce ul.cart_list li dl dt,.woocommerce ul.product_list_widget li dl dd,.woocommerce ul.product_list_widget li dl dt{display:inline-block;float:left;margin-bottom:1em}.woocommerce ul.cart_list li dl dt,.woocommerce ul.product_list_widget li dl dt{font-weight:700;padding:0 0 .25em;margin:0 4px 0 0;clear:left}.woocommerce .order_details:after,.woocommerce .widget_layered_nav ul li:after,.woocommerce .widget_rating_filter ul li:after,.woocommerce .widget_shopping_cart .buttons:after,.woocommerce-account .addresses .title:after,.woocommerce-account .woocommerce:after,.woocommerce-cart .wc-proceed-to-checkout:after,.woocommerce.widget_shopping_cart .buttons:after{clear:both}.woocommerce ul.cart_list li dl dd,.woocommerce ul.product_list_widget li dl dd{padding:0 0 .25em}.woocommerce ul.cart_list li dl dd p:last-child,.woocommerce ul.product_list_widget li dl dd p:last-child{margin-bottom:0}.woocommerce ul.cart_list li .star-rating,.woocommerce ul.product_list_widget li .star-rating{float:none}.woocommerce .widget_shopping_cart .total,.woocommerce.widget_shopping_cart .total{border-top:3px double #ebe9eb;padding:4px 0 0}.woocommerce .widget_shopping_cart .total strong,.woocommerce.widget_shopping_cart .total strong{min-width:40px;display:inline-block}.woocommerce .widget_shopping_cart .cart_list li,.woocommerce.widget_shopping_cart .cart_list li{padding-left:2em;position:relative;padding-top:0}.woocommerce .widget_shopping_cart .cart_list li a.remove,.woocommerce.widget_shopping_cart .cart_list li a.remove{position:absolute;top:0;left:0}.woocommerce .widget_shopping_cart .buttons:after,.woocommerce .widget_shopping_cart .buttons:before,.woocommerce.widget_shopping_cart .buttons:after,.woocommerce.widget_shopping_cart .buttons:before{content:" ";display:table}.woocommerce form .form-row{padding:3px;margin:0 0 6px}.woocommerce form .form-row [placeholder]:focus::-webkit-input-placeholder{-webkit-transition:opacity .5s .5s ease;-moz-transition:opacity .5s .5s ease;transition:opacity .5s .5s ease;opacity:0}.woocommerce form .form-row label{line-height:2}.woocommerce form .form-row label.hidden{visibility:hidden}.woocommerce form .form-row label.inline{display:inline}.woocommerce form .form-row select{cursor:pointer;margin:0}.woocommerce form .form-row .required{color:red;font-weight:700;border:0}.woocommerce form .form-row .input-checkbox{display:inline;margin:-2px 8px 0 0;text-align:center;vertical-align:middle}.woocommerce form .form-row input.input-text,.woocommerce form .form-row textarea{box-sizing:border-box;width:100%;margin:0;outline:0;line-height:1}.woocommerce form .form-row textarea{height:4em;line-height:1.5;display:block;-moz-box-shadow:none;-webkit-box-shadow:none;box-shadow:none}.woocommerce form .form-row .select2-container{width:100%;line-height:2em}.woocommerce form .form-row.woocommerce-invalid label{color:#a00}.woocommerce form .form-row.woocommerce-invalid .select2-container,.woocommerce form .form-row.woocommerce-invalid input.input-text,.woocommerce form .form-row.woocommerce-invalid select{border-color:#a00}.woocommerce form .form-row.woocommerce-validated .select2-container,.woocommerce form .form-row.woocommerce-validated input.input-text,.woocommerce form .form-row.woocommerce-validated select{border-color:#69bf29}.woocommerce form .form-row ::-webkit-input-placeholder{line-height:normal}.woocommerce form .form-row :-moz-placeholder{line-height:normal}.woocommerce form .form-row :-ms-input-placeholder{line-height:normal}.woocommerce form.checkout_coupon,.woocommerce form.login,.woocommerce form.register{border:1px solid #d3ced2;padding:20px;margin:2em 0;text-align:left;border-radius:5px}.woocommerce ul#shipping_method{list-style:none;margin:0;padding:0}.woocommerce ul#shipping_method li{margin:0;padding:.25em 0 .25em 22px;text-indent:-22px;list-style:none}.woocommerce ul#shipping_method li input{margin:3px .5ex}.woocommerce ul#shipping_method li label{display:inline}.woocommerce ul#shipping_method .amount{font-weight:700}.woocommerce p.woocommerce-shipping-contents{margin:0}.woocommerce .order_details{margin:0 0 1.5em;list-style:none}.woocommerce .order_details:after,.woocommerce .order_details:before{content:" ";display:table}.woocommerce .order_details li{float:left;margin-right:2em;text-transform:uppercase;font-size:.715em;line-height:1;border-right:1px dashed #d3ced2;padding-right:2em;margin-left:0;padding-left:0;list-style-type:none}.woocommerce .order_details li strong{display:block;font-size:1.4em;text-transform:none;line-height:1.5}.woocommerce .order_details li:last-of-type{border:none}.woocommerce .widget_layered_nav ul{margin:0;padding:0;border:0;list-style:none}.woocommerce .widget_layered_nav ul li{padding:0 0 1px;list-style:none}.woocommerce .widget_layered_nav ul li:after,.woocommerce .widget_layered_nav ul li:before{content:" ";display:table}.woocommerce .widget_layered_nav ul li.chosen a:before,.woocommerce .widget_layered_nav_filters ul li a:before{font-family:WooCommerce;speak:none;font-variant:normal;text-transform:none;line-height:1;-webkit-font-smoothing:antialiased;content:"";text-decoration:none;font-weight:400;color:#a00}.woocommerce .widget_layered_nav ul li a,.woocommerce .widget_layered_nav ul li span{padding:1px 0}.woocommerce .widget_layered_nav ul li.chosen a:before{margin-right:.618em}.woocommerce .widget_layered_nav_filters ul{margin:0;padding:0;border:0;list-style:none;overflow:hidden;zoom:1}.woocommerce .widget_layered_nav_filters ul li{float:left;padding:0 1px 1px 0;list-style:none}.woocommerce .widget_layered_nav_filters ul li a{text-decoration:none}.woocommerce .widget_layered_nav_filters ul li a:before{margin-right:.618em}.woocommerce .widget_price_filter .price_slider{margin-bottom:1em}.woocommerce .widget_price_filter .price_slider_amount{text-align:right;line-height:2.4;font-size:.8751em}.woocommerce .widget_price_filter .price_slider_amount .button{font-size:1.15em;float:left}.woocommerce .widget_price_filter .ui-slider{position:relative;text-align:left;margin-left:.5em;margin-right:.5em}.woocommerce .widget_price_filter .ui-slider .ui-slider-handle{position:absolute;z-index:2;width:1em;height:1em;background-color:#a46497;border-radius:1em;cursor:ew-resize;outline:0;top:-.3em;margin-left:-.5em}.woocommerce .widget_price_filter .ui-slider .ui-slider-range{position:absolute;z-index:1;font-size:.7em;display:block;border:0;border-radius:1em;background-color:#a46497}.woocommerce .widget_price_filter .price_slider_wrapper .ui-widget-content{border-radius:1em;background-color:#602053;border:0}.woocommerce .widget_price_filter .ui-slider-horizontal{height:.5em}.woocommerce .widget_price_filter .ui-slider-horizontal .ui-slider-range{top:0;height:100%}.woocommerce .widget_price_filter .ui-slider-horizontal .ui-slider-range-min{left:-1px}.woocommerce .widget_price_filter .ui-slider-horizontal .ui-slider-range-max{right:-1px}.woocommerce .widget_rating_filter ul{margin:0;padding:0;border:0;list-style:none}.woocommerce .widget_rating_filter ul li.chosen a:before,.woocommerce-account ul.digital-downloads li:before{margin-right:.618em;font-family:WooCommerce;speak:none;font-variant:normal;text-transform:none;line-height:1;-webkit-font-smoothing:antialiased;text-decoration:none}.woocommerce .widget_rating_filter ul li{padding:0 0 1px;list-style:none}.woocommerce .widget_rating_filter ul li:after,.woocommerce .widget_rating_filter ul li:before{content:" ";display:table}.woocommerce .widget_rating_filter ul li a{padding:1px 0;text-decoration:none}.woocommerce .widget_rating_filter ul li .star-rating{float:none;display:inline-block}.woocommerce .widget_rating_filter ul li.chosen a:before{font-weight:400;content:"";color:#a00}.woocommerce-account .addresses .title:after,.woocommerce-account .addresses .title:before,.woocommerce-account .woocommerce:after,.woocommerce-account .woocommerce:before{content:" ";display:table}.woocommerce-account .woocommerce-MyAccount-navigation{float:left;width:30%}.woocommerce-account .woocommerce-MyAccount-content{float:right;width:68%}.woocommerce-account .addresses .title h3{float:left}.woocommerce-account .addresses .title .edit,.woocommerce-account ul.digital-downloads li .count{float:right}.woocommerce-account ol.commentlist.notes li.note p.meta{font-weight:700;margin-bottom:0}.woocommerce-account ol.commentlist.notes li.note .description p:last-child{margin-bottom:0}.woocommerce-account ul.digital-downloads{margin-left:0;padding-left:0}.woocommerce-account ul.digital-downloads li{list-style:none;margin-left:0;padding-left:0}.woocommerce-account ul.digital-downloads li:before{font-weight:400;content:""}.woocommerce-cart table.cart .product-thumbnail{min-width:32px}.woocommerce-cart table.cart img{width:32px;box-shadow:none}.woocommerce-cart table.cart td,.woocommerce-cart table.cart th{vertical-align:middle}.woocommerce-cart table.cart td.actions .coupon .input-text{float:left;-webkit-box-sizing:border-box;-moz-box-sizing:border-box;box-sizing:border-box;border:1px solid #d3ced2;padding:6px 6px 5px;margin:0 4px 0 0;outline:0;line-height:1}.woocommerce-cart table.cart input{margin:0;vertical-align:middle;line-height:1}.woocommerce-cart .wc-proceed-to-checkout{padding:1em 0}.woocommerce-cart .wc-proceed-to-checkout:after,.woocommerce-cart .wc-proceed-to-checkout:before{content:" ";display:table}.woocommerce-cart .wc-proceed-to-checkout a.checkout-button{display:block;text-align:center;margin-bottom:1em;font-size:1.25em;padding:1em}.woocommerce-cart .cart-collaterals .shipping_calculator .button{width:100%;float:none;display:block}.woocommerce-cart .cart-collaterals .shipping_calculator .shipping-calculator-button:after{font-family:WooCommerce;speak:none;font-weight:400;font-variant:normal;text-transform:none;line-height:1;-webkit-font-smoothing:antialiased;margin-left:.618em;content:"";text-decoration:none}#add_payment_method #payment ul.payment_methods li:after,#add_payment_method #payment ul.payment_methods li:before,#add_payment_method #payment ul.payment_methods:after,#add_payment_method #payment ul.payment_methods:before,.woocommerce-checkout #payment ul.payment_methods li:after,.woocommerce-checkout #payment ul.payment_methods li:before,.woocommerce-checkout #payment ul.payment_methods:after,.woocommerce-checkout #payment ul.payment_methods:before{content:" ";display:table}.woocommerce-cart .cart-collaterals .cart_totals p small{color:#777;font-size:.83em}.woocommerce-cart .cart-collaterals .cart_totals table{border-collapse:separate;margin:0 0 6px;padding:0}.woocommerce-cart .cart-collaterals .cart_totals table tr:first-child td,.woocommerce-cart .cart-collaterals .cart_totals table tr:first-child th{border-top:0}.woocommerce-cart .cart-collaterals .cart_totals table th{width:40%}.woocommerce-cart .cart-collaterals .cart_totals table td,.woocommerce-cart .cart-collaterals .cart_totals table th{vertical-align:top;border-left:0;border-right:0;line-height:1.5em}.woocommerce-cart .cart-collaterals .cart_totals table small{color:#777}.woocommerce-cart .cart-collaterals .cart_totals table select{width:100%}.woocommerce-cart .cart-collaterals .cart_totals .discount td{color:#77a464}.woocommerce-cart .cart-collaterals .cart_totals tr td,.woocommerce-cart .cart-collaterals .cart_totals tr th{border-top:1px solid #ebe9eb}.woocommerce-cart .cart-collaterals .cross-sells ul.products li.product{margin-top:0}#add_payment_method .checkout .col-2 h3#ship-to-different-address,.woocommerce-checkout .checkout .col-2 h3#ship-to-different-address{float:left;clear:none}#add_payment_method .checkout .col-2 .form-row-first,#add_payment_method .checkout .col-2 .notes,.woocommerce-checkout .checkout .col-2 .form-row-first,.woocommerce-checkout .checkout .col-2 .notes{clear:left}#add_payment_method .checkout .create-account small,.woocommerce-checkout .checkout .create-account small{font-size:11px;color:#777;font-weight:400}#add_payment_method .checkout div.shipping-address,.woocommerce-checkout .checkout div.shipping-address{padding:0;clear:left;width:100%}#add_payment_method #payment ul.payment_methods li:after,#add_payment_method #payment ul.payment_methods:after,#add_payment_method .checkout .shipping_address,.single-product .twentythirteen p.stars,.woocommerce-checkout #payment ul.payment_methods li:after,.woocommerce-checkout #payment ul.payment_methods:after,.woocommerce-checkout .checkout .shipping_address{clear:both}#add_payment_method #payment,.woocommerce-checkout #payment{background:#ebe9eb;border-radius:5px}#add_payment_method #payment ul.payment_methods,.woocommerce-checkout #payment ul.payment_methods{text-align:left;padding:1em;border-bottom:1px solid #d3ced2;margin:0;list-style:none}#add_payment_method #payment ul.payment_methods li,.woocommerce-checkout #payment ul.payment_methods li{line-height:2;text-align:left;margin:0;font-weight:400}#add_payment_method #payment ul.payment_methods li input,.woocommerce-checkout #payment ul.payment_methods li input{margin:0 1em 0 0}#add_payment_method #payment ul.payment_methods li img,.woocommerce-checkout #payment ul.payment_methods li img{vertical-align:middle;margin:-2px 0 0 .5em;padding:0;position:relative;box-shadow:none}#add_payment_method #payment ul.payment_methods li img+img,.woocommerce-checkout #payment ul.payment_methods li img+img{margin-left:2px}#add_payment_method #payment div.form-row,.woocommerce-checkout #payment div.form-row{padding:1em}#add_payment_method #payment div.payment_box,.woocommerce-checkout #payment div.payment_box{position:relative;box-sizing:border-box;width:100%;padding:1em;margin:1em 0;font-size:.92em;border-radius:2px;line-height:1.5;background-color:#dfdcde;color:#515151}#add_payment_method #payment div.payment_box input.input-text,#add_payment_method #payment div.payment_box textarea,.woocommerce-checkout #payment div.payment_box input.input-text,.woocommerce-checkout #payment div.payment_box textarea{border-color:#bbb3b9 #c7c1c6 #c7c1c6}#add_payment_method #payment div.payment_box ::-webkit-input-placeholder,.woocommerce-checkout #payment div.payment_box ::-webkit-input-placeholder{color:#bbb3b9}#add_payment_method #payment div.payment_box :-moz-placeholder,.woocommerce-checkout #payment div.payment_box :-moz-placeholder{color:#bbb3b9}#add_payment_method #payment div.payment_box :-ms-input-placeholder,.woocommerce-checkout #payment div.payment_box :-ms-input-placeholder{color:#bbb3b9}#add_payment_method #payment div.payment_box .wc-saved-payment-methods,.woocommerce-checkout #payment div.payment_box .wc-saved-payment-methods{list-style:none;margin:0}#add_payment_method #payment div.payment_box .wc-credit-card-form,.woocommerce-checkout #payment div.payment_box .wc-credit-card-form{border:0;padding:0;margin:1em 0 0}#add_payment_method #payment div.payment_box .wc-credit-card-form-card-cvc,#add_payment_method #payment div.payment_box .wc-credit-card-form-card-expiry,#add_payment_method #payment div.payment_box .wc-credit-card-form-card-number,.woocommerce-checkout #payment div.payment_box .wc-credit-card-form-card-cvc,.woocommerce-checkout #payment div.payment_box .wc-credit-card-form-card-expiry,.woocommerce-checkout #payment div.payment_box .wc-credit-card-form-card-number{font-size:1.5em;padding:8px;background-repeat:no-repeat;background-position:right .618em center;background-size:32px 20px}#add_payment_method #payment div.payment_box .wc-credit-card-form-card-cvc.visa,#add_payment_method #payment div.payment_box .wc-credit-card-form-card-expiry.visa,#add_payment_method #payment div.payment_box .wc-credit-card-form-card-number.visa,.woocommerce-checkout #payment div.payment_box .wc-credit-card-form-card-cvc.visa,.woocommerce-checkout #payment div.payment_box .wc-credit-card-form-card-expiry.visa,.woocommerce-checkout #payment div.payment_box .wc-credit-card-form-card-number.visa{background-image:url(../images/icons/credit-cards/visa.svg)}#add_payment_method #payment div.payment_box .wc-credit-card-form-card-cvc.mastercard,#add_payment_method #payment div.payment_box .wc-credit-card-form-card-expiry.mastercard,#add_payment_method #payment div.payment_box .wc-credit-card-form-card-number.mastercard,.woocommerce-checkout #payment div.payment_box .wc-credit-card-form-card-cvc.mastercard,.woocommerce-checkout #payment div.payment_box .wc-credit-card-form-card-expiry.mastercard,.woocommerce-checkout #payment div.payment_box .wc-credit-card-form-card-number.mastercard{background-image:url(../images/icons/credit-cards/mastercard.svg)}#add_payment_method #payment div.payment_box .wc-credit-card-form-card-cvc.laser,#add_payment_method #payment div.payment_box .wc-credit-card-form-card-expiry.laser,#add_payment_method #payment div.payment_box .wc-credit-card-form-card-number.laser,.woocommerce-checkout #payment div.payment_box .wc-credit-card-form-card-cvc.laser,.woocommerce-checkout #payment div.payment_box .wc-credit-card-form-card-expiry.laser,.woocommerce-checkout #payment div.payment_box .wc-credit-card-form-card-number.laser{background-image:url(../images/icons/credit-cards/laser.svg)}#add_payment_method #payment div.payment_box .wc-credit-card-form-card-cvc.dinersclub,#add_payment_method #payment div.payment_box .wc-credit-card-form-card-expiry.dinersclub,#add_payment_method #payment div.payment_box .wc-credit-card-form-card-number.dinersclub,.woocommerce-checkout #payment div.payment_box .wc-credit-card-form-card-cvc.dinersclub,.woocommerce-checkout #payment div.payment_box .wc-credit-card-form-card-expiry.dinersclub,.woocommerce-checkout #payment div.payment_box .wc-credit-card-form-card-number.dinersclub{background-image:url(../images/icons/credit-cards/diners.svg)}#add_payment_method #payment div.payment_box .wc-credit-card-form-card-cvc.maestro,#add_payment_method #payment div.payment_box .wc-credit-card-form-card-expiry.maestro,#add_payment_method #payment div.payment_box .wc-credit-card-form-card-number.maestro,.woocommerce-checkout #payment div.payment_box .wc-credit-card-form-card-cvc.maestro,.woocommerce-checkout #payment div.payment_box .wc-credit-card-form-card-expiry.maestro,.woocommerce-checkout #payment div.payment_box .wc-credit-card-form-card-number.maestro{background-image:url(../images/icons/credit-cards/maestro.svg)}#add_payment_method #payment div.payment_box .wc-credit-card-form-card-cvc.jcb,#add_payment_method #payment div.payment_box .wc-credit-card-form-card-expiry.jcb,#add_payment_method #payment div.payment_box .wc-credit-card-form-card-number.jcb,.woocommerce-checkout #payment div.payment_box .wc-credit-card-form-card-cvc.jcb,.woocommerce-checkout #payment div.payment_box .wc-credit-card-form-card-expiry.jcb,.woocommerce-checkout #payment div.payment_box .wc-credit-card-form-card-number.jcb{background-image:url(../images/icons/credit-cards/jcb.svg)}#add_payment_method #payment div.payment_box .wc-credit-card-form-card-cvc.amex,#add_payment_method #payment div.payment_box .wc-credit-card-form-card-expiry.amex,#add_payment_method #payment div.payment_box .wc-credit-card-form-card-number.amex,.woocommerce-checkout #payment div.payment_box .wc-credit-card-form-card-cvc.amex,.woocommerce-checkout #payment div.payment_box .wc-credit-card-form-card-expiry.amex,.woocommerce-checkout #payment div.payment_box .wc-credit-card-form-card-number.amex{background-image:url(../images/icons/credit-cards/amex.svg)}#add_payment_method #payment div.payment_box .wc-credit-card-form-card-cvc.discover,#add_payment_method #payment div.payment_box .wc-credit-card-form-card-expiry.discover,#add_payment_method #payment div.payment_box .wc-credit-card-form-card-number.discover,.woocommerce-checkout #payment div.payment_box .wc-credit-card-form-card-cvc.discover,.woocommerce-checkout #payment div.payment_box .wc-credit-card-form-card-expiry.discover,.woocommerce-checkout #payment div.payment_box .wc-credit-card-form-card-number.discover{background-image:url(../images/icons/credit-cards/discover.svg)}#add_payment_method #payment div.payment_box span.help,.woocommerce-checkout #payment div.payment_box span.help{font-size:.857em;color:#777;font-weight:400}#add_payment_method #payment div.payment_box .form-row,.woocommerce-checkout #payment div.payment_box .form-row{margin:0 0 1em}#add_payment_method #payment div.payment_box p:last-child,.woocommerce-checkout #payment div.payment_box p:last-child{margin-bottom:0}#add_payment_method #payment div.payment_box:before,.woocommerce-checkout #payment div.payment_box:before{content:"";display:block;border:1em solid #dfdcde;border-right-color:transparent;border-left-color:transparent;border-top-color:transparent;position:absolute;top:-.75em;left:0;margin:-1em 0 0 2em}#add_payment_method #payment .payment_method_paypal .about_paypal,.woocommerce-checkout #payment .payment_method_paypal .about_paypal{float:right;line-height:52px;font-size:.83em}#add_payment_method #payment .payment_method_paypal img,.woocommerce-checkout #payment .payment_method_paypal img{max-height:52px;vertical-align:middle}.woocommerce-password-strength{text-align:center;font-weight:600;padding:3px .5em;font-size:1em}.woocommerce-password-strength.strong{background-color:#c1e1b9;border-color:#83c373}.woocommerce-password-strength.short{background-color:#f1adad;border-color:#e35b5b}.woocommerce-password-strength.bad{background-color:#fbc5a9;border-color:#f78b53}.woocommerce-password-strength.good{background-color:#ffe399;border-color:#ffc733}.woocommerce-password-hint{margin:.5em 0 0;display:block}.product.has-default-attributes.has-children>.images{opacity:0}#content.twentyeleven .woocommerce-pagination a{font-size:1em;line-height:1}.single-product .twentythirteen #reply-title,.single-product .twentythirteen #respond #commentform,.single-product .twentythirteen .entry-summary{padding:0}.twentythirteen .woocommerce-breadcrumb{padding-top:40px}.twentyfourteen ul.products li.product{margin-top:0!important}body:not(.search-results) .twentysixteen .entry-summary{color:inherit;font-size:inherit;line-height:inherit}.twentysixteen .price ins{background:inherit;color:inherit} \ No newline at end of file diff --git a/assets/css/woocommerce.scss b/assets/css/woocommerce.scss index 290f90d6a24..e363803389e 100644 --- a/assets/css/woocommerce.scss +++ b/assets/css/woocommerce.scss @@ -612,7 +612,6 @@ p.demo_store { line-height: 1; cursor: pointer; position: relative; - font-family: inherit; text-decoration: none; overflow: visible; padding: .618em 1em; @@ -691,6 +690,7 @@ p.demo_store { color: inherit; cursor: not-allowed; opacity: 0.5; + padding: .618em 1em; &:hover { color: inherit; @@ -1854,6 +1854,15 @@ p.demo_store { color: darken( $secondary, 20% ); } + .wc-saved-payment-methods { + list-style: none outside; + margin: 0; + } + .wc-credit-card-form { + border: 0; + padding: 0; + margin: 1em 0 0; + } .wc-credit-card-form-card-number, .wc-credit-card-form-card-expiry, .wc-credit-card-form-card-cvc { diff --git a/assets/images/icons/credit-cards/amex.png b/assets/images/icons/credit-cards/amex.png new file mode 100644 index 00000000000..9a2b07d0d5d Binary files /dev/null and b/assets/images/icons/credit-cards/amex.png differ diff --git a/assets/images/icons/credit-cards/diners.png b/assets/images/icons/credit-cards/diners.png new file mode 100644 index 00000000000..294073d9fd9 Binary files /dev/null and b/assets/images/icons/credit-cards/diners.png differ diff --git a/assets/images/icons/credit-cards/discover.png b/assets/images/icons/credit-cards/discover.png new file mode 100644 index 00000000000..a0f4ab39ccf Binary files /dev/null and b/assets/images/icons/credit-cards/discover.png differ diff --git a/assets/images/icons/credit-cards/jcb.png b/assets/images/icons/credit-cards/jcb.png new file mode 100644 index 00000000000..30f31a311a9 Binary files /dev/null and b/assets/images/icons/credit-cards/jcb.png differ diff --git a/assets/images/icons/credit-cards/laser.png b/assets/images/icons/credit-cards/laser.png new file mode 100644 index 00000000000..7917b0aac7e Binary files /dev/null and b/assets/images/icons/credit-cards/laser.png differ diff --git a/assets/images/icons/credit-cards/maestro.png b/assets/images/icons/credit-cards/maestro.png new file mode 100644 index 00000000000..509d99b8724 Binary files /dev/null and b/assets/images/icons/credit-cards/maestro.png differ diff --git a/assets/images/icons/credit-cards/mastercard.png b/assets/images/icons/credit-cards/mastercard.png new file mode 100644 index 00000000000..8a6e716e322 Binary files /dev/null and b/assets/images/icons/credit-cards/mastercard.png differ diff --git a/assets/js/admin/backbone-modal.js b/assets/js/admin/backbone-modal.js index c9a5bd6f45d..013a40cb787 100644 --- a/assets/js/admin/backbone-modal.js +++ b/assets/js/admin/backbone-modal.js @@ -53,15 +53,28 @@ _string: undefined, events: { 'click .modal-close': 'closeButton', - 'click #btn-ok': 'addButton', + 'click #btn-ok' : 'addButton', 'touchstart #btn-ok': 'addButton', - 'keydown': 'keyboardActions' + 'keydown' : 'keyboardActions' + }, + resizeContent: function() { + var $content = $( '.wc-backbone-modal-content' ).find( 'article' ); + var max_h = $( window ).height() * 0.75; + + $content.css({ + 'max-height': max_h + 'px' + }); }, initialize: function( data ) { + var view = this; this._target = data.target; this._string = data.string; _.bindAll( this, 'render' ); this.render(); + + $( window ).resize(function() { + view.resizeContent(); + }); }, render: function() { var template = wp.template( this._target ); @@ -74,26 +87,7 @@ 'overflow': 'hidden' }).append( this.$el ); - var $content = $( '.wc-backbone-modal-content' ).find( 'article' ); - var content_h = ( $content.height() < 90 ) ? 90 : $content.height(); - var max_h = $( window ).height() * 0.75; - - if ( content_h > max_h ) { - $content.css({ - 'overflow': 'auto', - height: max_h + 'px' - }); - } else { - $content.css({ - 'overflow': 'visible', - height: ( content_h > 90 ) ? 'auto' : content_h + 'px' - }); - } - - /*$( '.wc-backbone-modal-content' ).css({ - 'margin-top': '-' + ( $( '.wc-backbone-modal-content' ).height() / 2 ) + 'px', - 'margin-left': '-' + ( $( '.wc-backbone-modal-content' ).width() / 2 ) + 'px' - });*/ + this.resizeContent(); $( document.body ).trigger( 'wc_backbone_modal_loaded', this._target ); }, diff --git a/assets/js/admin/backbone-modal.min.js b/assets/js/admin/backbone-modal.min.js index 4fe4b0e3fbc..d8892cb55d9 100644 --- a/assets/js/admin/backbone-modal.min.js +++ b/assets/js/admin/backbone-modal.min.js @@ -1 +1 @@ -!function(a,b,c){"use strict";a.fn.WCBackboneModal=function(b){return this.each(function(){new a.WCBackboneModal(a(this),b)})},a.WCBackboneModal=function(b,c){var d=a.extend({},a.WCBackboneModal.defaultOptions,c);d.template&&new a.WCBackboneModal.View({target:d.template,string:d.variable})},a.WCBackboneModal.defaultOptions={template:"",variable:{}},a.WCBackboneModal.View=b.View.extend({tagName:"div",id:"wc-backbone-modal-dialog",_target:void 0,_string:void 0,events:{"click .modal-close":"closeButton","click #btn-ok":"addButton","touchstart #btn-ok":"addButton",keydown:"keyboardActions"},initialize:function(a){this._target=a.target,this._string=a.string,c.bindAll(this,"render"),this.render()},render:function(){var b=wp.template(this._target);this.$el.attr("tabindex","0").append(b(this._string)),a(document.body).css({overflow:"hidden"}).append(this.$el);var c=a(".wc-backbone-modal-content").find("article"),d=c.height()<90?90:c.height(),e=.75*a(window).height();d>e?c.css({overflow:"auto",height:e+"px"}):c.css({overflow:"visible",height:d>90?"auto":d+"px"}),a(document.body).trigger("wc_backbone_modal_loaded",this._target)},closeButton:function(b){b.preventDefault(),a(document.body).trigger("wc_backbone_modal_before_remove",this._target),this.undelegateEvents(),a(document).off("focusin"),a(document.body).css({overflow:"auto"}),this.remove(),a(document.body).trigger("wc_backbone_modal_removed",this._target)},addButton:function(b){a(document.body).trigger("wc_backbone_modal_response",[this._target,this.getFormData()]),this.closeButton(b)},getFormData:function(){var b={};return a(document.body).trigger("wc_backbone_modal_before_update",this._target),a.each(a("form",this.$el).serializeArray(),function(c,d){b.hasOwnProperty(d.name)?(b[d.name]=a.makeArray(b[d.name]),b[d.name].push(d.value)):b[d.name]=d.value}),b},keyboardActions:function(a){var b=a.keyCode||a.which;13!==b||a.target.tagName&&("input"===a.target.tagName.toLowerCase()||"textarea"===a.target.tagName.toLowerCase())||this.addButton(a),27===b&&this.closeButton(a)}})}(jQuery,Backbone,_); \ No newline at end of file +!function(a,b,c){"use strict";a.fn.WCBackboneModal=function(b){return this.each(function(){new a.WCBackboneModal(a(this),b)})},a.WCBackboneModal=function(b,c){var d=a.extend({},a.WCBackboneModal.defaultOptions,c);d.template&&new a.WCBackboneModal.View({target:d.template,string:d.variable})},a.WCBackboneModal.defaultOptions={template:"",variable:{}},a.WCBackboneModal.View=b.View.extend({tagName:"div",id:"wc-backbone-modal-dialog",_target:void 0,_string:void 0,events:{"click .modal-close":"closeButton","click #btn-ok":"addButton","touchstart #btn-ok":"addButton",keydown:"keyboardActions"},resizeContent:function(){var b=a(".wc-backbone-modal-content").find("article"),c=.75*a(window).height();b.css({"max-height":c+"px"})},initialize:function(b){var d=this;this._target=b.target,this._string=b.string,c.bindAll(this,"render"),this.render(),a(window).resize(function(){d.resizeContent()})},render:function(){var b=wp.template(this._target);this.$el.attr("tabindex","0").append(b(this._string)),a(document.body).css({overflow:"hidden"}).append(this.$el),this.resizeContent(),a(document.body).trigger("wc_backbone_modal_loaded",this._target)},closeButton:function(b){b.preventDefault(),a(document.body).trigger("wc_backbone_modal_before_remove",this._target),this.undelegateEvents(),a(document).off("focusin"),a(document.body).css({overflow:"auto"}),this.remove(),a(document.body).trigger("wc_backbone_modal_removed",this._target)},addButton:function(b){a(document.body).trigger("wc_backbone_modal_response",[this._target,this.getFormData()]),this.closeButton(b)},getFormData:function(){var b={};return a(document.body).trigger("wc_backbone_modal_before_update",this._target),a.each(a("form",this.$el).serializeArray(),function(c,d){b.hasOwnProperty(d.name)?(b[d.name]=a.makeArray(b[d.name]),b[d.name].push(d.value)):b[d.name]=d.value}),b},keyboardActions:function(a){var b=a.keyCode||a.which;13!==b||a.target.tagName&&("input"===a.target.tagName.toLowerCase()||"textarea"===a.target.tagName.toLowerCase())||this.addButton(a),27===b&&this.closeButton(a)}})}(jQuery,Backbone,_); \ No newline at end of file diff --git a/assets/js/admin/meta-boxes-order.js b/assets/js/admin/meta-boxes-order.js index 471f57fe656..e5ca12d91e5 100644 --- a/assets/js/admin/meta-boxes-order.js +++ b/assets/js/admin/meta-boxes-order.js @@ -848,7 +848,7 @@ jQuery( function ( $ ) { data: data, type: 'POST', success: function() { - $row.hide(); + $row.remove(); wc_meta_boxes_order_items.unblock(); } }); @@ -1189,25 +1189,27 @@ jQuery( function ( $ ) { }, delete_order_note: function() { - var note = $( this ).closest( 'li.note' ); + if ( window.confirm( woocommerce_admin_meta_boxes.i18n_delete_note ) ) { + var note = $( this ).closest( 'li.note' ); - $( note ).block({ - message: null, - overlayCSS: { - background: '#fff', - opacity: 0.6 - } - }); + $( note ).block({ + message: null, + overlayCSS: { + background: '#fff', + opacity: 0.6 + } + }); - var data = { - action: 'woocommerce_delete_order_note', - note_id: $( note ).attr( 'rel' ), - security: woocommerce_admin_meta_boxes.delete_order_note_nonce - }; + var data = { + action: 'woocommerce_delete_order_note', + note_id: $( note ).attr( 'rel' ), + security: woocommerce_admin_meta_boxes.delete_order_note_nonce + }; - $.post( woocommerce_admin_meta_boxes.ajax_url, data, function() { - $( note ).remove(); - }); + $.post( woocommerce_admin_meta_boxes.ajax_url, data, function() { + $( note ).remove(); + }); + } return false; } diff --git a/assets/js/admin/meta-boxes-order.min.js b/assets/js/admin/meta-boxes-order.min.js index 3437797af9c..edf5e749c9d 100644 --- a/assets/js/admin/meta-boxes-order.min.js +++ b/assets/js/admin/meta-boxes-order.min.js @@ -1 +1 @@ -jQuery(function(a){var b={states:null,init:function(){"undefined"!=typeof woocommerce_admin_meta_boxes_order&&"undefined"!=typeof woocommerce_admin_meta_boxes_order.countries&&(this.states=a.parseJSON(woocommerce_admin_meta_boxes_order.countries.replace(/"/g,'"'))),a(".js_field-country").select2().change(this.change_country),a(".js_field-country").trigger("change",[!0]),a(document.body).on("change","select.js_field-state",this.change_state),a("#woocommerce-order-actions input, #woocommerce-order-actions a").click(function(){window.onbeforeunload=""}),a("a.edit_address").click(this.edit_address),a("a.billing-same-as-shipping").on("click",this.copy_billing_to_shipping),a("a.load_customer_billing").on("click",this.load_billing),a("a.load_customer_shipping").on("click",this.load_shipping),a("#customer_user").on("change",this.change_customer_user)},change_country:function(c,d){if("undefined"==typeof d&&(d=!1),null!==b.states){var e=a(this),f=e.val(),g=e.parents("div.edit_address").find(":input.js_field-state"),h=g.parent(),i=g.attr("name"),j=g.attr("id"),k=e.data("woocommerce.stickState-"+f)?e.data("woocommerce.stickState-"+f):g.val(),l=g.attr("placeholder");if(d&&e.data("woocommerce.stickState-"+f,k),h.show().find(".select2-container").remove(),a.isEmptyObject(b.states[f]))g.replaceWith('');else{var m=a(''),n=b.states[f];m.append(a('")),a.each(n,function(b){m.append(a('"))}),m.val(k),g.replaceWith(m),m.show().select2().hide().change()}a(document.body).trigger("contry-change.woocommerce",[f,a(this).closest("div")]),a(document.body).trigger("country-change.woocommerce",[f,a(this).closest("div")])}},change_state:function(){var b=a(this),c=b.val(),d=b.parents("div.edit_address").find(":input.js_field-country"),e=d.val();d.data("woocommerce.stickState-"+e,c)},init_tiptip:function(){a("#tiptip_holder").removeAttr("style"),a("#tiptip_arrow").removeAttr("style"),a(".tips").tipTip({attribute:"data-tip",fadeIn:50,fadeOut:50,delay:200})},edit_address:function(b){b.preventDefault(),a(this).hide(),a(this).parent().find("a:not(.edit_address)").show(),a(this).closest(".order_data_column").find("div.address").hide(),a(this).closest(".order_data_column").find("div.edit_address").show()},change_customer_user:function(){a("#_billing_country").val()||(a("a.edit_address").click(),b.load_billing(!0),b.load_shipping(!0))},load_billing:function(b){if(!0===b||window.confirm(woocommerce_admin_meta_boxes.load_billing)){var c=a("#customer_user").val();if(!c)return window.alert(woocommerce_admin_meta_boxes.no_customer_selected),!1;var d={user_id:c,type_to_load:"billing",action:"woocommerce_get_customer_details",security:woocommerce_admin_meta_boxes.get_customer_details_nonce};a(this).closest("div.edit_address").block({message:null,overlayCSS:{background:"#fff",opacity:.6}}),a.ajax({url:woocommerce_admin_meta_boxes.ajax_url,data:d,type:"POST",success:function(b){b&&a.each(b,function(b,c){a(":input#_"+b).val(c).change()}),a("div.edit_address").unblock()}})}return!1},load_shipping:function(b){if(!0===b||window.confirm(woocommerce_admin_meta_boxes.load_shipping)){var c=a("#customer_user").val();if(!c)return window.alert(woocommerce_admin_meta_boxes.no_customer_selected),!1;var d={user_id:c,type_to_load:"shipping",action:"woocommerce_get_customer_details",security:woocommerce_admin_meta_boxes.get_customer_details_nonce};a(this).closest("div.edit_address").block({message:null,overlayCSS:{background:"#fff",opacity:.6}}),a.ajax({url:woocommerce_admin_meta_boxes.ajax_url,data:d,type:"POST",success:function(b){b&&a.each(b,function(b,c){a(":input#_"+b).val(c).change()}),a("div.edit_address").unblock()}})}return!1},copy_billing_to_shipping:function(){return window.confirm(woocommerce_admin_meta_boxes.copy_billing)&&a('.order_data_column :input[name^="_billing_"]').each(function(){var b=a(this).attr("name");b=b.replace("_billing_","_shipping_"),a(":input#"+b).val(a(this).val()).change()}),!1}},c={init:function(){this.stupidtable.init(),a("#woocommerce-order-items").on("click","button.add-line-item",this.add_line_item).on("click","button.refund-items",this.refund_items).on("click",".cancel-action",this.cancel).on("click","button.add-order-item",this.add_item).on("click","button.add-order-fee",this.add_fee).on("click","button.add-order-shipping",this.add_shipping).on("click","button.add-order-tax",this.add_tax).on("click","button.calculate-action",this.calculate_totals).on("click","button.save-action",this.save_line_items).on("click","a.delete-order-tax",this.delete_tax).on("click","button.calculate-tax-action",this.calculate_tax).on("click","a.edit-order-item",this.edit_item).on("click","a.delete-order-item",this.delete_item).on("click","tr.item, tr.fee, tr.shipping, tr.refund",this.select_row).on("click","tr.item :input, tr.fee :input, tr.shipping :input, tr.refund :input, tr.item a, tr.fee a, tr.shipping a, tr.refund a",this.select_row_child).on("click","button.bulk-delete-items",this.bulk_actions.do_delete).on("click","button.bulk-increase-stock",this.bulk_actions.do_increase_stock).on("click","button.bulk-decrease-stock",this.bulk_actions.do_reduce_stock).on("click",".delete_refund",this.refunds.delete_refund).on("click","button.do-api-refund, button.do-manual-refund",this.refunds.do_refund).on("change",".refund input.refund_line_total, .refund input.refund_line_tax",this.refunds.input_changed).on("change keyup",".wc-order-refund-items #refund_amount",this.refunds.amount_changed).on("change","input.refund_order_item_qty",this.refunds.refund_quantity_changed).on("change","input.quantity",this.quantity_changed).on("keyup change",".split-input :input",function(){var b=a(this).parent().prev().find(":input");b&&(""===b.val()||b.is(".match-total"))&&b.val(a(this).val()).addClass("match-total")}).on("keyup",".split-input :input",function(){a(this).removeClass("match-total")}).on("click","button.add_order_item_meta",this.item_meta.add).on("click","button.remove_order_item_meta",this.item_meta.remove),a(document.body).on("wc_backbone_modal_loaded",this.backbone.init).on("wc_backbone_modal_response",this.backbone.response)},block:function(){a("#woocommerce-order-items").block({message:null,overlayCSS:{background:"#fff",opacity:.6}})},unblock:function(){a("#woocommerce-order-items").unblock()},reload_items:function(){var d={order_id:woocommerce_admin_meta_boxes.post_id,action:"woocommerce_load_order_items",security:woocommerce_admin_meta_boxes.order_item_nonce};c.block(),a.ajax({url:woocommerce_admin_meta_boxes.ajax_url,data:d,type:"POST",success:function(d){a("#woocommerce-order-items").find(".inside").empty(),a("#woocommerce-order-items").find(".inside").append(d),b.init_tiptip(),c.unblock(),c.stupidtable.init()}})},quantity_changed:function(){var b=a(this).closest("tr.item"),c=a(this).val(),d=a(this).attr("data-qty"),e=a("input.line_total",b),f=a("input.line_subtotal",b),g=accounting.unformat(e.attr("data-total"),woocommerce_admin.mon_decimal_point)/d;e.val(parseFloat(accounting.formatNumber(g*c,woocommerce_admin_meta_boxes.rounding_precision,"")).toString().replace(".",woocommerce_admin.mon_decimal_point));var h=accounting.unformat(f.attr("data-subtotal"),woocommerce_admin.mon_decimal_point)/d;f.val(parseFloat(accounting.formatNumber(h*c,woocommerce_admin_meta_boxes.rounding_precision,"")).toString().replace(".",woocommerce_admin.mon_decimal_point)),a("input.line_tax",b).each(function(){var e=a(this),f=e.data("tax_id"),g=accounting.unformat(e.attr("data-total_tax"),woocommerce_admin.mon_decimal_point)/d,h=a('input.line_subtotal_tax[data-tax_id="'+f+'"]',b),i=accounting.unformat(h.attr("data-subtotal_tax"),woocommerce_admin.mon_decimal_point)/d;g>0&&e.val(parseFloat(accounting.formatNumber(g*c,woocommerce_admin_meta_boxes.rounding_precision,"")).toString().replace(".",woocommerce_admin.mon_decimal_point)),i>0&&h.val(parseFloat(accounting.formatNumber(i*c,woocommerce_admin_meta_boxes.rounding_precision,"")).toString().replace(".",woocommerce_admin.mon_decimal_point))}),a(this).trigger("quantity_changed")},add_line_item:function(){return a("div.wc-order-add-item").slideDown(),a("div.wc-order-data-row-toggle").not("div.wc-order-add-item").slideUp(),!1},refund_items:function(){return a("div.wc-order-refund-items").slideDown(),a("div.wc-order-data-row-toggle").not("div.wc-order-refund-items").slideUp(),a("div.wc-order-totals-items").slideUp(),a("#woocommerce-order-items").find("div.refund").show(),a(".wc-order-edit-line-item .wc-order-edit-line-item-actions").hide(),!1},cancel:function(){return a("div.wc-order-data-row-toggle").not("div.wc-order-bulk-actions").slideUp(),a("div.wc-order-bulk-actions").slideDown(),a("div.wc-order-totals-items").slideDown(),a("#woocommerce-order-items").find("div.refund").hide(),a(".wc-order-edit-line-item .wc-order-edit-line-item-actions").show(),"true"===a(this).attr("data-reload")&&c.reload_items(),!1},add_item:function(){return a(this).WCBackboneModal({template:"wc-modal-add-products"}),!1},add_fee:function(){c.block();var b={action:"woocommerce_add_order_fee",order_id:woocommerce_admin_meta_boxes.post_id,security:woocommerce_admin_meta_boxes.order_item_nonce};return a.post(woocommerce_admin_meta_boxes.ajax_url,b,function(b){a("table.woocommerce_order_items tbody#order_fee_line_items").append(b),c.unblock()}),!1},add_shipping:function(){c.block();var b={action:"woocommerce_add_order_shipping",order_id:woocommerce_admin_meta_boxes.post_id,security:woocommerce_admin_meta_boxes.order_item_nonce};return a.post(woocommerce_admin_meta_boxes.ajax_url,b,function(b){a("table.woocommerce_order_items tbody#order_shipping_line_items").append(b),c.unblock()}),!1},add_tax:function(){return a(this).WCBackboneModal({template:"wc-modal-add-tax"}),!1},edit_item:function(){return a(this).closest("tr").find(".view").hide(),a(this).closest("tr").find(".edit").show(),a(this).hide(),a("button.add-line-item").click(),a("button.cancel-action").attr("data-reload",!0),!1},delete_item:function(){var b=window.confirm(woocommerce_admin_meta_boxes.remove_item_notice);if(b){var d=a(this).closest("tr.item, tr.fee, tr.shipping"),e=d.attr("data-order_item_id");c.block();var f={order_item_ids:e,action:"woocommerce_remove_order_item",security:woocommerce_admin_meta_boxes.order_item_nonce};a.ajax({url:woocommerce_admin_meta_boxes.ajax_url,data:f,type:"POST",success:function(){d.remove(),c.unblock()}})}return!1},delete_tax:function(){if(window.confirm(woocommerce_admin_meta_boxes.i18n_delete_tax)){c.block();var d={action:"woocommerce_remove_order_tax",rate_id:a(this).attr("data-rate_id"),order_id:woocommerce_admin_meta_boxes.post_id,security:woocommerce_admin_meta_boxes.order_item_nonce};a.ajax({url:woocommerce_admin_meta_boxes.ajax_url,data:d,type:"POST",success:function(d){a("#woocommerce-order-items").find(".inside").empty(),a("#woocommerce-order-items").find(".inside").append(d),b.init_tiptip(),c.unblock(),c.stupidtable.init()}})}return!1},calculate_tax:function(){if(window.confirm(woocommerce_admin_meta_boxes.calc_line_taxes)){c.block();var d="",e="",f="",g="";"shipping"===woocommerce_admin_meta_boxes.tax_based_on&&(d=a("#_shipping_country").val(),e=a("#_shipping_state").val(),f=a("#_shipping_postcode").val(),g=a("#_shipping_city").val()),"billing"!==woocommerce_admin_meta_boxes.tax_based_on&&d||(d=a("#_billing_country").val(),e=a("#_billing_state").val(),f=a("#_billing_postcode").val(),g=a("#_billing_city").val());var h={action:"woocommerce_calc_line_taxes",order_id:woocommerce_admin_meta_boxes.post_id,items:a("table.woocommerce_order_items :input[name], .wc-order-totals-items :input[name]").serialize(),country:d,state:e,postcode:f,city:g,security:woocommerce_admin_meta_boxes.calc_totals_nonce};a.ajax({url:woocommerce_admin_meta_boxes.ajax_url,data:h,type:"POST",success:function(d){a("#woocommerce-order-items").find(".inside").empty(),a("#woocommerce-order-items").find(".inside").append(d),b.init_tiptip(),c.unblock(),c.stupidtable.init()}})}return!1},calculate_totals:function(){if(window.confirm(woocommerce_admin_meta_boxes.calc_totals)){c.block();var b=0,d=0,e=0;a(".woocommerce_order_items tr.shipping input.line_total").each(function(){var b=a(this).val()||"0";b=accounting.unformat(b,woocommerce_admin.mon_decimal_point),e+=parseFloat(b)}),a(".woocommerce_order_items input.line_tax").each(function(){var b=a(this).val()||"0";b=accounting.unformat(b,woocommerce_admin.mon_decimal_point),d+=parseFloat(b)}),a(".woocommerce_order_items tr.item, .woocommerce_order_items tr.fee").each(function(){var c=a(this).find("input.line_total").val()||"0";b+=accounting.unformat(c.replace(",","."))}),"yes"===woocommerce_admin_meta_boxes.round_at_subtotal&&(d=parseFloat(accounting.toFixed(d,woocommerce_admin_meta_boxes.rounding_precision))),a("#_order_total").val(accounting.formatNumber(b+d+e,woocommerce_admin_meta_boxes.currency_format_num_decimals,"",woocommerce_admin.mon_decimal_point)).change(),a("button.save-action").click()}return!1},save_line_items:function(){var d={order_id:woocommerce_admin_meta_boxes.post_id,items:a("table.woocommerce_order_items :input[name], .wc-order-totals-items :input[name]").serialize(),action:"woocommerce_save_order_items",security:woocommerce_admin_meta_boxes.order_item_nonce};return c.block(),a.ajax({url:woocommerce_admin_meta_boxes.ajax_url,data:d,type:"POST",success:function(d){a("#woocommerce-order-items").find(".inside").empty(),a("#woocommerce-order-items").find(".inside").append(d),b.init_tiptip(),c.unblock(),c.stupidtable.init()}}),a(this).trigger("items_saved"),!1},refunds:{do_refund:function(){if(c.block(),window.confirm(woocommerce_admin_meta_boxes.i18n_do_refund)){var b=a("input#refund_amount").val(),d=a("input#refund_reason").val(),e={},f={},g={};a(".refund input.refund_order_item_qty").each(function(b,c){a(c).closest("tr").data("order_item_id")&&c.value&&(e[a(c).closest("tr").data("order_item_id")]=c.value)}),a(".refund input.refund_line_total").each(function(b,c){a(c).closest("tr").data("order_item_id")&&(f[a(c).closest("tr").data("order_item_id")]=accounting.unformat(c.value,woocommerce_admin.mon_decimal_point))}),a(".refund input.refund_line_tax").each(function(b,c){if(a(c).closest("tr").data("order_item_id")){var d=a(c).data("tax_id");g[a(c).closest("tr").data("order_item_id")]||(g[a(c).closest("tr").data("order_item_id")]={}),g[a(c).closest("tr").data("order_item_id")][d]=accounting.unformat(c.value,woocommerce_admin.mon_decimal_point)}});var h={action:"woocommerce_refund_line_items",order_id:woocommerce_admin_meta_boxes.post_id,refund_amount:b,refund_reason:d,line_item_qtys:JSON.stringify(e,null,""),line_item_totals:JSON.stringify(f,null,""),line_item_tax_totals:JSON.stringify(g,null,""),api_refund:a(this).is(".do-api-refund"),restock_refunded_items:a("#restock_refunded_items:checked").length?"true":"false",security:woocommerce_admin_meta_boxes.order_item_nonce};a.post(woocommerce_admin_meta_boxes.ajax_url,h,function(a){!0===a.success?(c.reload_items(),"fully_refunded"===a.data.status&&(window.location.href=window.location.href)):(window.alert(a.data.error),c.unblock())})}else c.unblock()},delete_refund:function(){if(window.confirm(woocommerce_admin_meta_boxes.i18n_delete_refund)){var b=a(this).closest("tr.refund"),d=b.attr("data-order_refund_id");c.block();var e={action:"woocommerce_delete_refund",refund_id:d,security:woocommerce_admin_meta_boxes.order_item_nonce};a.ajax({url:woocommerce_admin_meta_boxes.ajax_url,data:e,type:"POST",success:function(){c.reload_items()}})}return!1},input_changed:function(){var b=0,c=a(".woocommerce_order_items").find("tr.item, tr.fee, tr.shipping");c.each(function(){var c=a(this),d=c.find(".refund input:not(.refund_order_item_qty)");d.each(function(c,d){b+=parseFloat(accounting.unformat(a(d).val()||0,woocommerce_admin.mon_decimal_point))})}),a("#refund_amount").val(accounting.formatNumber(b,woocommerce_admin_meta_boxes.currency_format_num_decimals,"",woocommerce_admin.mon_decimal_point)).change()},amount_changed:function(){var b=accounting.unformat(a(this).val(),woocommerce_admin.mon_decimal_point);a("button .wc-order-refund-amount .amount").text(accounting.formatMoney(b,{symbol:woocommerce_admin_meta_boxes.currency_format_symbol,decimal:woocommerce_admin_meta_boxes.currency_format_decimal_sep,thousand:woocommerce_admin_meta_boxes.currency_format_thousand_sep,precision:woocommerce_admin_meta_boxes.currency_format_num_decimals,format:woocommerce_admin_meta_boxes.currency_format}))},refund_quantity_changed:function(){var b=a(this).closest("tr.item"),c=b.find("input.quantity").val(),d=a(this).val(),e=a("input.line_total",b),f=a("input.refund_line_total",b),g=accounting.unformat(e.attr("data-total"),woocommerce_admin.mon_decimal_point)/c;f.val(parseFloat(accounting.formatNumber(g*d,woocommerce_admin_meta_boxes.rounding_precision,"")).toString().replace(".",woocommerce_admin.mon_decimal_point)).change(),a(".refund_line_tax",b).each(function(){var e=a(this),f=e.data("tax_id"),g=a('input.line_tax[data-tax_id="'+f+'"]',b),h=accounting.unformat(g.data("total_tax"),woocommerce_admin.mon_decimal_point)/c;h>0?e.val(parseFloat(accounting.formatNumber(h*d,woocommerce_admin_meta_boxes.rounding_precision,"")).toString().replace(".",woocommerce_admin.mon_decimal_point)).change():e.val(0).change()}),d>0?a("#restock_refunded_items").closest("tr").show():(a("#restock_refunded_items").closest("tr").hide(),a(".woocommerce_order_items input.refund_order_item_qty").each(function(){a(this).val()>0&&a("#restock_refunded_items").closest("tr").show()})),a(this).trigger("refund_quantity_changed")}},item_meta:{add:function(){var b=a(this),d=b.closest("tr.item, tr.shipping"),e={order_item_id:d.attr("data-order_item_id"),action:"woocommerce_add_order_item_meta",security:woocommerce_admin_meta_boxes.order_item_nonce};return c.block(),a.ajax({url:woocommerce_admin_meta_boxes.ajax_url,data:e,type:"POST",success:function(a){d.find("tbody.meta_items").append(a),c.unblock()}}),!1},remove:function(){if(window.confirm(woocommerce_admin_meta_boxes.remove_item_meta)){var b=a(this).closest("tr"),d={meta_id:b.attr("data-meta_id"),action:"woocommerce_remove_order_item_meta",security:woocommerce_admin_meta_boxes.order_item_nonce};c.block(),a.ajax({url:woocommerce_admin_meta_boxes.ajax_url,data:d,type:"POST",success:function(){b.hide(),c.unblock()}})}return!1}},select_row:function(){var b=!1;b=a(this).is("tr")?a(this):a(this).closest("tr");var c=a(this).closest("table");b.is(".selected")?b.removeClass("selected"):b.addClass("selected");var d=c.find("tr.selected");if(d.length){a("div.wc-order-item-bulk-edit").slideDown();var e=!1;d.each(function(){a(this).is("tr.item")&&(e=!0)}),e?a(".bulk-increase-stock, .bulk-decrease-stock").show():a(".bulk-increase-stock, .bulk-decrease-stock").hide()}else a("div.wc-order-item-bulk-edit").slideUp()},select_row_child:function(a){a.stopPropagation()},bulk_actions:{do_delete:function(b){b.preventDefault();var d=a("table.woocommerce_order_items"),e=d.find("tr.selected");if(e.length&&window.confirm(woocommerce_admin_meta_boxes.remove_item_notice)){c.block();var f=[],g=[],h=[];a.map(e,function(b){var c=a(b);c.is(".refund")?g.push(parseInt(a(c).data("order_refund_id"),10)):f.push(parseInt(a(c).data("order_item_id"),10))}),f.length&&h.push(a.ajax({url:woocommerce_admin_meta_boxes.ajax_url,data:{order_item_ids:f,action:"woocommerce_remove_order_item",security:woocommerce_admin_meta_boxes.order_item_nonce},type:"POST"})),g.length&&h.push(a.ajax({url:woocommerce_admin_meta_boxes.ajax_url,data:{action:"woocommerce_delete_refund",refund_id:g,security:woocommerce_admin_meta_boxes.order_item_nonce},type:"POST"})),h?a.when.apply(a,h).done(function(){c.reload_items(),c.unblock()}):c.unblock()}},do_increase_stock:function(b){b.preventDefault(),c.block();var d=a("table.woocommerce_order_items"),e=d.find("tr.selected"),f={},g=a.map(e,function(b){return parseInt(a(b).data("order_item_id"),10)});e.each(function(){a(this).find("input.quantity").length&&(f[a(this).attr("data-order_item_id")]=a(this).find("input.quantity").val())});var h={order_id:woocommerce_admin_meta_boxes.post_id,order_item_ids:g,order_item_qty:f,action:"woocommerce_increase_order_item_stock",security:woocommerce_admin_meta_boxes.order_item_nonce};a.ajax({url:woocommerce_admin_meta_boxes.ajax_url,data:h,type:"POST",success:function(a){window.alert(a),c.unblock()}})},do_reduce_stock:function(b){b.preventDefault(),c.block();var d=a("table.woocommerce_order_items"),e=d.find("tr.selected"),f={},g=a.map(e,function(b){return parseInt(a(b).data("order_item_id"),10)});e.each(function(){a(this).find("input.quantity").length&&(f[a(this).attr("data-order_item_id")]=a(this).find("input.quantity").val())});var h={order_id:woocommerce_admin_meta_boxes.post_id,order_item_ids:g,order_item_qty:f,action:"woocommerce_reduce_order_item_stock",security:woocommerce_admin_meta_boxes.order_item_nonce};a.ajax({url:woocommerce_admin_meta_boxes.ajax_url,data:h,type:"POST",success:function(a){window.alert(a),c.unblock()}})}},backbone:{init:function(b,c){"wc-modal-add-products"===c&&a(document.body).trigger("wc-enhanced-select-init")},response:function(a,b,d){if("wc-modal-add-tax"===b){var e=d.add_order_tax,f="";d.manual_tax_rate_id&&(f=d.manual_tax_rate_id),c.backbone.add_tax(e,f)}"wc-modal-add-products"===b&&c.backbone.add_item(d.add_order_items)},add_item:function(d){if(d=d.split(",")){var e=d.length;c.block(),a.each(d,function(d,f){var g={action:"woocommerce_add_order_item",item_to_add:f,order_id:woocommerce_admin_meta_boxes.post_id,security:woocommerce_admin_meta_boxes.order_item_nonce};a.post(woocommerce_admin_meta_boxes.ajax_url,g,function(d){a("table.woocommerce_order_items tbody#order_line_items").append(d),--e||(b.init_tiptip(),c.unblock())})})}},add_tax:function(d,e){if(e&&(d=e),!d)return!1;var f=a(".order-tax-id").map(function(){return a(this).val()}).get();if(-1===a.inArray(d,f)){c.block();var g={action:"woocommerce_add_order_tax",rate_id:d,order_id:woocommerce_admin_meta_boxes.post_id,security:woocommerce_admin_meta_boxes.order_item_nonce};a.ajax({url:woocommerce_admin_meta_boxes.ajax_url,data:g,type:"POST",success:function(d){a("#woocommerce-order-items").find(".inside").empty(),a("#woocommerce-order-items").find(".inside").append(d),b.init_tiptip(),c.unblock(),c.stupidtable.init()}})}else window.alert(woocommerce_admin_meta_boxes.i18n_tax_rate_already_exists)}},stupidtable:{init:function(){a(".woocommerce_order_items").stupidtable(),a(".woocommerce_order_items").on("aftertablesort",this.add_arrows)},add_arrows:function(b,c){var d=a(this).find("th"),e="asc"===c.direction?"↑":"↓",f=c.column;d.find(".wc-arrow").remove(),d.eq(f).append(''+e+"")}}},d={init:function(){a("#woocommerce-order-notes").on("click","a.add_note",this.add_order_note).on("click","a.delete_note",this.delete_order_note)},add_order_note:function(){if(a("textarea#add_order_note").val()){a("#woocommerce-order-notes").block({message:null,overlayCSS:{background:"#fff",opacity:.6}});var b={action:"woocommerce_add_order_note",post_id:woocommerce_admin_meta_boxes.post_id,note:a("textarea#add_order_note").val(),note_type:a("select#order_note_type").val(),security:woocommerce_admin_meta_boxes.add_order_note_nonce};return a.post(woocommerce_admin_meta_boxes.ajax_url,b,function(b){a("ul.order_notes").prepend(b),a("#woocommerce-order-notes").unblock(),a("#add_order_note").val("")}),!1}},delete_order_note:function(){var b=a(this).closest("li.note");a(b).block({message:null,overlayCSS:{background:"#fff",opacity:.6}});var c={action:"woocommerce_delete_order_note",note_id:a(b).attr("rel"),security:woocommerce_admin_meta_boxes.delete_order_note_nonce};return a.post(woocommerce_admin_meta_boxes.ajax_url,c,function(){a(b).remove()}),!1}},e={init:function(){a(".order_download_permissions").on("click","button.grant_access",this.grant_access).on("click","button.revoke_access",this.revoke_access)},grant_access:function(){var b=a("#grant_access_id").val();if(b){a(".order_download_permissions").block({message:null,overlayCSS:{background:"#fff",opacity:.6}});var c={action:"woocommerce_grant_access_to_download",product_ids:b,loop:a(".order_download_permissions .wc-metabox").length,order_id:woocommerce_admin_meta_boxes.post_id,security:woocommerce_admin_meta_boxes.grant_access_nonce};return a.post(woocommerce_admin_meta_boxes.ajax_url,c,function(b){b?a(".order_download_permissions .wc-metaboxes").append(b):window.alert(woocommerce_admin_meta_boxes.i18n_download_permission_fail),a(document.body).trigger("wc-init-datepickers"),a("#grant_access_id").val("").change(),a(".order_download_permissions").unblock()}),!1}},revoke_access:function(){if(window.confirm(woocommerce_admin_meta_boxes.i18n_permission_revoke)){var b=a(this).parent().parent(),c=a(this).attr("rel").split(",")[0],d=a(this).attr("rel").split(",")[1];if(c>0){a(b).block({message:null,overlayCSS:{background:"#fff",opacity:.6}});var e={action:"woocommerce_revoke_access_to_download",product_id:c,download_id:d,order_id:woocommerce_admin_meta_boxes.post_id,security:woocommerce_admin_meta_boxes.revoke_access_nonce};a.post(woocommerce_admin_meta_boxes.ajax_url,e,function(){a(b).fadeOut("300",function(){a(b).remove()})})}else a(b).fadeOut("300",function(){a(b).remove()})}return!1}};b.init(),c.init(),d.init(),e.init()}); \ No newline at end of file +jQuery(function(a){var b={states:null,init:function(){"undefined"!=typeof woocommerce_admin_meta_boxes_order&&"undefined"!=typeof woocommerce_admin_meta_boxes_order.countries&&(this.states=a.parseJSON(woocommerce_admin_meta_boxes_order.countries.replace(/"/g,'"'))),a(".js_field-country").select2().change(this.change_country),a(".js_field-country").trigger("change",[!0]),a(document.body).on("change","select.js_field-state",this.change_state),a("#woocommerce-order-actions input, #woocommerce-order-actions a").click(function(){window.onbeforeunload=""}),a("a.edit_address").click(this.edit_address),a("a.billing-same-as-shipping").on("click",this.copy_billing_to_shipping),a("a.load_customer_billing").on("click",this.load_billing),a("a.load_customer_shipping").on("click",this.load_shipping),a("#customer_user").on("change",this.change_customer_user)},change_country:function(c,d){if("undefined"==typeof d&&(d=!1),null!==b.states){var e=a(this),f=e.val(),g=e.parents("div.edit_address").find(":input.js_field-state"),h=g.parent(),i=g.attr("name"),j=g.attr("id"),k=e.data("woocommerce.stickState-"+f)?e.data("woocommerce.stickState-"+f):g.val(),l=g.attr("placeholder");if(d&&e.data("woocommerce.stickState-"+f,k),h.show().find(".select2-container").remove(),a.isEmptyObject(b.states[f]))g.replaceWith('');else{var m=a(''),n=b.states[f];m.append(a('")),a.each(n,function(b){m.append(a('"))}),m.val(k),g.replaceWith(m),m.show().select2().hide().change()}a(document.body).trigger("contry-change.woocommerce",[f,a(this).closest("div")]),a(document.body).trigger("country-change.woocommerce",[f,a(this).closest("div")])}},change_state:function(){var b=a(this),c=b.val(),d=b.parents("div.edit_address").find(":input.js_field-country"),e=d.val();d.data("woocommerce.stickState-"+e,c)},init_tiptip:function(){a("#tiptip_holder").removeAttr("style"),a("#tiptip_arrow").removeAttr("style"),a(".tips").tipTip({attribute:"data-tip",fadeIn:50,fadeOut:50,delay:200})},edit_address:function(b){b.preventDefault(),a(this).hide(),a(this).parent().find("a:not(.edit_address)").show(),a(this).closest(".order_data_column").find("div.address").hide(),a(this).closest(".order_data_column").find("div.edit_address").show()},change_customer_user:function(){a("#_billing_country").val()||(a("a.edit_address").click(),b.load_billing(!0),b.load_shipping(!0))},load_billing:function(b){if(!0===b||window.confirm(woocommerce_admin_meta_boxes.load_billing)){var c=a("#customer_user").val();if(!c)return window.alert(woocommerce_admin_meta_boxes.no_customer_selected),!1;var d={user_id:c,type_to_load:"billing",action:"woocommerce_get_customer_details",security:woocommerce_admin_meta_boxes.get_customer_details_nonce};a(this).closest("div.edit_address").block({message:null,overlayCSS:{background:"#fff",opacity:.6}}),a.ajax({url:woocommerce_admin_meta_boxes.ajax_url,data:d,type:"POST",success:function(b){b&&a.each(b,function(b,c){a(":input#_"+b).val(c).change()}),a("div.edit_address").unblock()}})}return!1},load_shipping:function(b){if(!0===b||window.confirm(woocommerce_admin_meta_boxes.load_shipping)){var c=a("#customer_user").val();if(!c)return window.alert(woocommerce_admin_meta_boxes.no_customer_selected),!1;var d={user_id:c,type_to_load:"shipping",action:"woocommerce_get_customer_details",security:woocommerce_admin_meta_boxes.get_customer_details_nonce};a(this).closest("div.edit_address").block({message:null,overlayCSS:{background:"#fff",opacity:.6}}),a.ajax({url:woocommerce_admin_meta_boxes.ajax_url,data:d,type:"POST",success:function(b){b&&a.each(b,function(b,c){a(":input#_"+b).val(c).change()}),a("div.edit_address").unblock()}})}return!1},copy_billing_to_shipping:function(){return window.confirm(woocommerce_admin_meta_boxes.copy_billing)&&a('.order_data_column :input[name^="_billing_"]').each(function(){var b=a(this).attr("name");b=b.replace("_billing_","_shipping_"),a(":input#"+b).val(a(this).val()).change()}),!1}},c={init:function(){this.stupidtable.init(),a("#woocommerce-order-items").on("click","button.add-line-item",this.add_line_item).on("click","button.refund-items",this.refund_items).on("click",".cancel-action",this.cancel).on("click","button.add-order-item",this.add_item).on("click","button.add-order-fee",this.add_fee).on("click","button.add-order-shipping",this.add_shipping).on("click","button.add-order-tax",this.add_tax).on("click","button.calculate-action",this.calculate_totals).on("click","button.save-action",this.save_line_items).on("click","a.delete-order-tax",this.delete_tax).on("click","button.calculate-tax-action",this.calculate_tax).on("click","a.edit-order-item",this.edit_item).on("click","a.delete-order-item",this.delete_item).on("click","tr.item, tr.fee, tr.shipping, tr.refund",this.select_row).on("click","tr.item :input, tr.fee :input, tr.shipping :input, tr.refund :input, tr.item a, tr.fee a, tr.shipping a, tr.refund a",this.select_row_child).on("click","button.bulk-delete-items",this.bulk_actions.do_delete).on("click","button.bulk-increase-stock",this.bulk_actions.do_increase_stock).on("click","button.bulk-decrease-stock",this.bulk_actions.do_reduce_stock).on("click",".delete_refund",this.refunds.delete_refund).on("click","button.do-api-refund, button.do-manual-refund",this.refunds.do_refund).on("change",".refund input.refund_line_total, .refund input.refund_line_tax",this.refunds.input_changed).on("change keyup",".wc-order-refund-items #refund_amount",this.refunds.amount_changed).on("change","input.refund_order_item_qty",this.refunds.refund_quantity_changed).on("change","input.quantity",this.quantity_changed).on("keyup change",".split-input :input",function(){var b=a(this).parent().prev().find(":input");b&&(""===b.val()||b.is(".match-total"))&&b.val(a(this).val()).addClass("match-total")}).on("keyup",".split-input :input",function(){a(this).removeClass("match-total")}).on("click","button.add_order_item_meta",this.item_meta.add).on("click","button.remove_order_item_meta",this.item_meta.remove),a(document.body).on("wc_backbone_modal_loaded",this.backbone.init).on("wc_backbone_modal_response",this.backbone.response)},block:function(){a("#woocommerce-order-items").block({message:null,overlayCSS:{background:"#fff",opacity:.6}})},unblock:function(){a("#woocommerce-order-items").unblock()},reload_items:function(){var d={order_id:woocommerce_admin_meta_boxes.post_id,action:"woocommerce_load_order_items",security:woocommerce_admin_meta_boxes.order_item_nonce};c.block(),a.ajax({url:woocommerce_admin_meta_boxes.ajax_url,data:d,type:"POST",success:function(d){a("#woocommerce-order-items").find(".inside").empty(),a("#woocommerce-order-items").find(".inside").append(d),b.init_tiptip(),c.unblock(),c.stupidtable.init()}})},quantity_changed:function(){var b=a(this).closest("tr.item"),c=a(this).val(),d=a(this).attr("data-qty"),e=a("input.line_total",b),f=a("input.line_subtotal",b),g=accounting.unformat(e.attr("data-total"),woocommerce_admin.mon_decimal_point)/d;e.val(parseFloat(accounting.formatNumber(g*c,woocommerce_admin_meta_boxes.rounding_precision,"")).toString().replace(".",woocommerce_admin.mon_decimal_point));var h=accounting.unformat(f.attr("data-subtotal"),woocommerce_admin.mon_decimal_point)/d;f.val(parseFloat(accounting.formatNumber(h*c,woocommerce_admin_meta_boxes.rounding_precision,"")).toString().replace(".",woocommerce_admin.mon_decimal_point)),a("input.line_tax",b).each(function(){var e=a(this),f=e.data("tax_id"),g=accounting.unformat(e.attr("data-total_tax"),woocommerce_admin.mon_decimal_point)/d,h=a('input.line_subtotal_tax[data-tax_id="'+f+'"]',b),i=accounting.unformat(h.attr("data-subtotal_tax"),woocommerce_admin.mon_decimal_point)/d;g>0&&e.val(parseFloat(accounting.formatNumber(g*c,woocommerce_admin_meta_boxes.rounding_precision,"")).toString().replace(".",woocommerce_admin.mon_decimal_point)),i>0&&h.val(parseFloat(accounting.formatNumber(i*c,woocommerce_admin_meta_boxes.rounding_precision,"")).toString().replace(".",woocommerce_admin.mon_decimal_point))}),a(this).trigger("quantity_changed")},add_line_item:function(){return a("div.wc-order-add-item").slideDown(),a("div.wc-order-data-row-toggle").not("div.wc-order-add-item").slideUp(),!1},refund_items:function(){return a("div.wc-order-refund-items").slideDown(),a("div.wc-order-data-row-toggle").not("div.wc-order-refund-items").slideUp(),a("div.wc-order-totals-items").slideUp(),a("#woocommerce-order-items").find("div.refund").show(),a(".wc-order-edit-line-item .wc-order-edit-line-item-actions").hide(),!1},cancel:function(){return a("div.wc-order-data-row-toggle").not("div.wc-order-bulk-actions").slideUp(),a("div.wc-order-bulk-actions").slideDown(),a("div.wc-order-totals-items").slideDown(),a("#woocommerce-order-items").find("div.refund").hide(),a(".wc-order-edit-line-item .wc-order-edit-line-item-actions").show(),"true"===a(this).attr("data-reload")&&c.reload_items(),!1},add_item:function(){return a(this).WCBackboneModal({template:"wc-modal-add-products"}),!1},add_fee:function(){c.block();var b={action:"woocommerce_add_order_fee",order_id:woocommerce_admin_meta_boxes.post_id,security:woocommerce_admin_meta_boxes.order_item_nonce};return a.post(woocommerce_admin_meta_boxes.ajax_url,b,function(b){a("table.woocommerce_order_items tbody#order_fee_line_items").append(b),c.unblock()}),!1},add_shipping:function(){c.block();var b={action:"woocommerce_add_order_shipping",order_id:woocommerce_admin_meta_boxes.post_id,security:woocommerce_admin_meta_boxes.order_item_nonce};return a.post(woocommerce_admin_meta_boxes.ajax_url,b,function(b){a("table.woocommerce_order_items tbody#order_shipping_line_items").append(b),c.unblock()}),!1},add_tax:function(){return a(this).WCBackboneModal({template:"wc-modal-add-tax"}),!1},edit_item:function(){return a(this).closest("tr").find(".view").hide(),a(this).closest("tr").find(".edit").show(),a(this).hide(),a("button.add-line-item").click(),a("button.cancel-action").attr("data-reload",!0),!1},delete_item:function(){var b=window.confirm(woocommerce_admin_meta_boxes.remove_item_notice);if(b){var d=a(this).closest("tr.item, tr.fee, tr.shipping"),e=d.attr("data-order_item_id");c.block();var f={order_item_ids:e,action:"woocommerce_remove_order_item",security:woocommerce_admin_meta_boxes.order_item_nonce};a.ajax({url:woocommerce_admin_meta_boxes.ajax_url,data:f,type:"POST",success:function(){d.remove(),c.unblock()}})}return!1},delete_tax:function(){if(window.confirm(woocommerce_admin_meta_boxes.i18n_delete_tax)){c.block();var d={action:"woocommerce_remove_order_tax",rate_id:a(this).attr("data-rate_id"),order_id:woocommerce_admin_meta_boxes.post_id,security:woocommerce_admin_meta_boxes.order_item_nonce};a.ajax({url:woocommerce_admin_meta_boxes.ajax_url,data:d,type:"POST",success:function(d){a("#woocommerce-order-items").find(".inside").empty(),a("#woocommerce-order-items").find(".inside").append(d),b.init_tiptip(),c.unblock(),c.stupidtable.init()}})}return!1},calculate_tax:function(){if(window.confirm(woocommerce_admin_meta_boxes.calc_line_taxes)){c.block();var d="",e="",f="",g="";"shipping"===woocommerce_admin_meta_boxes.tax_based_on&&(d=a("#_shipping_country").val(),e=a("#_shipping_state").val(),f=a("#_shipping_postcode").val(),g=a("#_shipping_city").val()),"billing"!==woocommerce_admin_meta_boxes.tax_based_on&&d||(d=a("#_billing_country").val(),e=a("#_billing_state").val(),f=a("#_billing_postcode").val(),g=a("#_billing_city").val());var h={action:"woocommerce_calc_line_taxes",order_id:woocommerce_admin_meta_boxes.post_id,items:a("table.woocommerce_order_items :input[name], .wc-order-totals-items :input[name]").serialize(),country:d,state:e,postcode:f,city:g,security:woocommerce_admin_meta_boxes.calc_totals_nonce};a.ajax({url:woocommerce_admin_meta_boxes.ajax_url,data:h,type:"POST",success:function(d){a("#woocommerce-order-items").find(".inside").empty(),a("#woocommerce-order-items").find(".inside").append(d),b.init_tiptip(),c.unblock(),c.stupidtable.init()}})}return!1},calculate_totals:function(){if(window.confirm(woocommerce_admin_meta_boxes.calc_totals)){c.block();var b=0,d=0,e=0;a(".woocommerce_order_items tr.shipping input.line_total").each(function(){var b=a(this).val()||"0";b=accounting.unformat(b,woocommerce_admin.mon_decimal_point),e+=parseFloat(b)}),a(".woocommerce_order_items input.line_tax").each(function(){var b=a(this).val()||"0";b=accounting.unformat(b,woocommerce_admin.mon_decimal_point),d+=parseFloat(b)}),a(".woocommerce_order_items tr.item, .woocommerce_order_items tr.fee").each(function(){var c=a(this).find("input.line_total").val()||"0";b+=accounting.unformat(c.replace(",","."))}),"yes"===woocommerce_admin_meta_boxes.round_at_subtotal&&(d=parseFloat(accounting.toFixed(d,woocommerce_admin_meta_boxes.rounding_precision))),a("#_order_total").val(accounting.formatNumber(b+d+e,woocommerce_admin_meta_boxes.currency_format_num_decimals,"",woocommerce_admin.mon_decimal_point)).change(),a("button.save-action").click()}return!1},save_line_items:function(){var d={order_id:woocommerce_admin_meta_boxes.post_id,items:a("table.woocommerce_order_items :input[name], .wc-order-totals-items :input[name]").serialize(),action:"woocommerce_save_order_items",security:woocommerce_admin_meta_boxes.order_item_nonce};return c.block(),a.ajax({url:woocommerce_admin_meta_boxes.ajax_url,data:d,type:"POST",success:function(d){a("#woocommerce-order-items").find(".inside").empty(),a("#woocommerce-order-items").find(".inside").append(d),b.init_tiptip(),c.unblock(),c.stupidtable.init()}}),a(this).trigger("items_saved"),!1},refunds:{do_refund:function(){if(c.block(),window.confirm(woocommerce_admin_meta_boxes.i18n_do_refund)){var b=a("input#refund_amount").val(),d=a("input#refund_reason").val(),e={},f={},g={};a(".refund input.refund_order_item_qty").each(function(b,c){a(c).closest("tr").data("order_item_id")&&c.value&&(e[a(c).closest("tr").data("order_item_id")]=c.value)}),a(".refund input.refund_line_total").each(function(b,c){a(c).closest("tr").data("order_item_id")&&(f[a(c).closest("tr").data("order_item_id")]=accounting.unformat(c.value,woocommerce_admin.mon_decimal_point))}),a(".refund input.refund_line_tax").each(function(b,c){if(a(c).closest("tr").data("order_item_id")){var d=a(c).data("tax_id");g[a(c).closest("tr").data("order_item_id")]||(g[a(c).closest("tr").data("order_item_id")]={}),g[a(c).closest("tr").data("order_item_id")][d]=accounting.unformat(c.value,woocommerce_admin.mon_decimal_point)}});var h={action:"woocommerce_refund_line_items",order_id:woocommerce_admin_meta_boxes.post_id,refund_amount:b,refund_reason:d,line_item_qtys:JSON.stringify(e,null,""),line_item_totals:JSON.stringify(f,null,""),line_item_tax_totals:JSON.stringify(g,null,""),api_refund:a(this).is(".do-api-refund"),restock_refunded_items:a("#restock_refunded_items:checked").length?"true":"false",security:woocommerce_admin_meta_boxes.order_item_nonce};a.post(woocommerce_admin_meta_boxes.ajax_url,h,function(a){!0===a.success?(c.reload_items(),"fully_refunded"===a.data.status&&(window.location.href=window.location.href)):(window.alert(a.data.error),c.unblock())})}else c.unblock()},delete_refund:function(){if(window.confirm(woocommerce_admin_meta_boxes.i18n_delete_refund)){var b=a(this).closest("tr.refund"),d=b.attr("data-order_refund_id");c.block();var e={action:"woocommerce_delete_refund",refund_id:d,security:woocommerce_admin_meta_boxes.order_item_nonce};a.ajax({url:woocommerce_admin_meta_boxes.ajax_url,data:e,type:"POST",success:function(){c.reload_items()}})}return!1},input_changed:function(){var b=0,c=a(".woocommerce_order_items").find("tr.item, tr.fee, tr.shipping");c.each(function(){var c=a(this),d=c.find(".refund input:not(.refund_order_item_qty)");d.each(function(c,d){b+=parseFloat(accounting.unformat(a(d).val()||0,woocommerce_admin.mon_decimal_point))})}),a("#refund_amount").val(accounting.formatNumber(b,woocommerce_admin_meta_boxes.currency_format_num_decimals,"",woocommerce_admin.mon_decimal_point)).change()},amount_changed:function(){var b=accounting.unformat(a(this).val(),woocommerce_admin.mon_decimal_point);a("button .wc-order-refund-amount .amount").text(accounting.formatMoney(b,{symbol:woocommerce_admin_meta_boxes.currency_format_symbol,decimal:woocommerce_admin_meta_boxes.currency_format_decimal_sep,thousand:woocommerce_admin_meta_boxes.currency_format_thousand_sep,precision:woocommerce_admin_meta_boxes.currency_format_num_decimals,format:woocommerce_admin_meta_boxes.currency_format}))},refund_quantity_changed:function(){var b=a(this).closest("tr.item"),c=b.find("input.quantity").val(),d=a(this).val(),e=a("input.line_total",b),f=a("input.refund_line_total",b),g=accounting.unformat(e.attr("data-total"),woocommerce_admin.mon_decimal_point)/c;f.val(parseFloat(accounting.formatNumber(g*d,woocommerce_admin_meta_boxes.rounding_precision,"")).toString().replace(".",woocommerce_admin.mon_decimal_point)).change(),a(".refund_line_tax",b).each(function(){var e=a(this),f=e.data("tax_id"),g=a('input.line_tax[data-tax_id="'+f+'"]',b),h=accounting.unformat(g.data("total_tax"),woocommerce_admin.mon_decimal_point)/c;h>0?e.val(parseFloat(accounting.formatNumber(h*d,woocommerce_admin_meta_boxes.rounding_precision,"")).toString().replace(".",woocommerce_admin.mon_decimal_point)).change():e.val(0).change()}),d>0?a("#restock_refunded_items").closest("tr").show():(a("#restock_refunded_items").closest("tr").hide(),a(".woocommerce_order_items input.refund_order_item_qty").each(function(){a(this).val()>0&&a("#restock_refunded_items").closest("tr").show()})),a(this).trigger("refund_quantity_changed")}},item_meta:{add:function(){var b=a(this),d=b.closest("tr.item, tr.shipping"),e={order_item_id:d.attr("data-order_item_id"),action:"woocommerce_add_order_item_meta",security:woocommerce_admin_meta_boxes.order_item_nonce};return c.block(),a.ajax({url:woocommerce_admin_meta_boxes.ajax_url,data:e,type:"POST",success:function(a){d.find("tbody.meta_items").append(a),c.unblock()}}),!1},remove:function(){if(window.confirm(woocommerce_admin_meta_boxes.remove_item_meta)){var b=a(this).closest("tr"),d={meta_id:b.attr("data-meta_id"),action:"woocommerce_remove_order_item_meta",security:woocommerce_admin_meta_boxes.order_item_nonce};c.block(),a.ajax({url:woocommerce_admin_meta_boxes.ajax_url,data:d,type:"POST",success:function(){b.remove(),c.unblock()}})}return!1}},select_row:function(){var b=!1;b=a(this).is("tr")?a(this):a(this).closest("tr");var c=a(this).closest("table");b.is(".selected")?b.removeClass("selected"):b.addClass("selected");var d=c.find("tr.selected");if(d.length){a("div.wc-order-item-bulk-edit").slideDown();var e=!1;d.each(function(){a(this).is("tr.item")&&(e=!0)}),e?a(".bulk-increase-stock, .bulk-decrease-stock").show():a(".bulk-increase-stock, .bulk-decrease-stock").hide()}else a("div.wc-order-item-bulk-edit").slideUp()},select_row_child:function(a){a.stopPropagation()},bulk_actions:{do_delete:function(b){b.preventDefault();var d=a("table.woocommerce_order_items"),e=d.find("tr.selected");if(e.length&&window.confirm(woocommerce_admin_meta_boxes.remove_item_notice)){c.block();var f=[],g=[],h=[];a.map(e,function(b){var c=a(b);c.is(".refund")?g.push(parseInt(a(c).data("order_refund_id"),10)):f.push(parseInt(a(c).data("order_item_id"),10))}),f.length&&h.push(a.ajax({url:woocommerce_admin_meta_boxes.ajax_url,data:{order_item_ids:f,action:"woocommerce_remove_order_item",security:woocommerce_admin_meta_boxes.order_item_nonce},type:"POST"})),g.length&&h.push(a.ajax({url:woocommerce_admin_meta_boxes.ajax_url,data:{action:"woocommerce_delete_refund",refund_id:g,security:woocommerce_admin_meta_boxes.order_item_nonce},type:"POST"})),h?a.when.apply(a,h).done(function(){c.reload_items(),c.unblock()}):c.unblock()}},do_increase_stock:function(b){b.preventDefault(),c.block();var d=a("table.woocommerce_order_items"),e=d.find("tr.selected"),f={},g=a.map(e,function(b){return parseInt(a(b).data("order_item_id"),10)});e.each(function(){a(this).find("input.quantity").length&&(f[a(this).attr("data-order_item_id")]=a(this).find("input.quantity").val())});var h={order_id:woocommerce_admin_meta_boxes.post_id,order_item_ids:g,order_item_qty:f,action:"woocommerce_increase_order_item_stock",security:woocommerce_admin_meta_boxes.order_item_nonce};a.ajax({url:woocommerce_admin_meta_boxes.ajax_url,data:h,type:"POST",success:function(a){window.alert(a),c.unblock()}})},do_reduce_stock:function(b){b.preventDefault(),c.block();var d=a("table.woocommerce_order_items"),e=d.find("tr.selected"),f={},g=a.map(e,function(b){return parseInt(a(b).data("order_item_id"),10)});e.each(function(){a(this).find("input.quantity").length&&(f[a(this).attr("data-order_item_id")]=a(this).find("input.quantity").val())});var h={order_id:woocommerce_admin_meta_boxes.post_id,order_item_ids:g,order_item_qty:f,action:"woocommerce_reduce_order_item_stock",security:woocommerce_admin_meta_boxes.order_item_nonce};a.ajax({url:woocommerce_admin_meta_boxes.ajax_url,data:h,type:"POST",success:function(a){window.alert(a),c.unblock()}})}},backbone:{init:function(b,c){"wc-modal-add-products"===c&&a(document.body).trigger("wc-enhanced-select-init")},response:function(a,b,d){if("wc-modal-add-tax"===b){var e=d.add_order_tax,f="";d.manual_tax_rate_id&&(f=d.manual_tax_rate_id),c.backbone.add_tax(e,f)}"wc-modal-add-products"===b&&c.backbone.add_item(d.add_order_items)},add_item:function(d){if(d=d.split(",")){var e=d.length;c.block(),a.each(d,function(d,f){var g={action:"woocommerce_add_order_item",item_to_add:f,order_id:woocommerce_admin_meta_boxes.post_id,security:woocommerce_admin_meta_boxes.order_item_nonce};a.post(woocommerce_admin_meta_boxes.ajax_url,g,function(d){a("table.woocommerce_order_items tbody#order_line_items").append(d),--e||(b.init_tiptip(),c.unblock())})})}},add_tax:function(d,e){if(e&&(d=e),!d)return!1;var f=a(".order-tax-id").map(function(){return a(this).val()}).get();if(-1===a.inArray(d,f)){c.block();var g={action:"woocommerce_add_order_tax",rate_id:d,order_id:woocommerce_admin_meta_boxes.post_id,security:woocommerce_admin_meta_boxes.order_item_nonce};a.ajax({url:woocommerce_admin_meta_boxes.ajax_url,data:g,type:"POST",success:function(d){a("#woocommerce-order-items").find(".inside").empty(),a("#woocommerce-order-items").find(".inside").append(d),b.init_tiptip(),c.unblock(),c.stupidtable.init()}})}else window.alert(woocommerce_admin_meta_boxes.i18n_tax_rate_already_exists)}},stupidtable:{init:function(){a(".woocommerce_order_items").stupidtable(),a(".woocommerce_order_items").on("aftertablesort",this.add_arrows)},add_arrows:function(b,c){var d=a(this).find("th"),e="asc"===c.direction?"↑":"↓",f=c.column;d.find(".wc-arrow").remove(),d.eq(f).append(''+e+"")}}},d={init:function(){a("#woocommerce-order-notes").on("click","a.add_note",this.add_order_note).on("click","a.delete_note",this.delete_order_note)},add_order_note:function(){if(a("textarea#add_order_note").val()){a("#woocommerce-order-notes").block({message:null,overlayCSS:{background:"#fff",opacity:.6}});var b={action:"woocommerce_add_order_note",post_id:woocommerce_admin_meta_boxes.post_id,note:a("textarea#add_order_note").val(),note_type:a("select#order_note_type").val(),security:woocommerce_admin_meta_boxes.add_order_note_nonce};return a.post(woocommerce_admin_meta_boxes.ajax_url,b,function(b){a("ul.order_notes").prepend(b),a("#woocommerce-order-notes").unblock(),a("#add_order_note").val("")}),!1}},delete_order_note:function(){if(window.confirm(woocommerce_admin_meta_boxes.i18n_delete_note)){var b=a(this).closest("li.note");a(b).block({message:null,overlayCSS:{background:"#fff",opacity:.6}});var c={action:"woocommerce_delete_order_note",note_id:a(b).attr("rel"),security:woocommerce_admin_meta_boxes.delete_order_note_nonce};a.post(woocommerce_admin_meta_boxes.ajax_url,c,function(){a(b).remove()})}return!1}},e={init:function(){a(".order_download_permissions").on("click","button.grant_access",this.grant_access).on("click","button.revoke_access",this.revoke_access)},grant_access:function(){var b=a("#grant_access_id").val();if(b){a(".order_download_permissions").block({message:null,overlayCSS:{background:"#fff",opacity:.6}});var c={action:"woocommerce_grant_access_to_download",product_ids:b,loop:a(".order_download_permissions .wc-metabox").length,order_id:woocommerce_admin_meta_boxes.post_id,security:woocommerce_admin_meta_boxes.grant_access_nonce};return a.post(woocommerce_admin_meta_boxes.ajax_url,c,function(b){b?a(".order_download_permissions .wc-metaboxes").append(b):window.alert(woocommerce_admin_meta_boxes.i18n_download_permission_fail),a(document.body).trigger("wc-init-datepickers"),a("#grant_access_id").val("").change(),a(".order_download_permissions").unblock()}),!1}},revoke_access:function(){if(window.confirm(woocommerce_admin_meta_boxes.i18n_permission_revoke)){var b=a(this).parent().parent(),c=a(this).attr("rel").split(",")[0],d=a(this).attr("rel").split(",")[1];if(c>0){a(b).block({message:null,overlayCSS:{background:"#fff",opacity:.6}});var e={action:"woocommerce_revoke_access_to_download",product_id:c,download_id:d,order_id:woocommerce_admin_meta_boxes.post_id,security:woocommerce_admin_meta_boxes.revoke_access_nonce};a.post(woocommerce_admin_meta_boxes.ajax_url,e,function(){a(b).fadeOut("300",function(){a(b).remove()})})}else a(b).fadeOut("300",function(){a(b).remove()})}return!1}};b.init(),c.init(),d.init(),e.init()}); \ No newline at end of file diff --git a/assets/js/admin/order-backbone-modal.js b/assets/js/admin/order-backbone-modal.js deleted file mode 100644 index b8d8eb62260..00000000000 --- a/assets/js/admin/order-backbone-modal.js +++ /dev/null @@ -1,150 +0,0 @@ -/*global jQuery, Backbone, _ */ -( function( $, Backbone, _ ) { - 'use strict'; - - /** - * WooCommerce Backbone Modal plugin - * - * @param {object} options - */ - $.fn.WCBackboneModal = function( options ) { - return this.each( function() { - ( new $.WCBackboneModal( $( this ), options ) ); - }); - }; - - /** - * Initialize the Backbone Modal - * - * @param {object} element [description] - * @param {object} options [description] - */ - $.WCBackboneModal = function( element, options ) { - // Set settings - var settings = $.extend( {}, $.WCBackboneModal.defaultOptions, options ); - - if ( settings.template ) { - new $.WCBackboneModal.View({ - target: settings.template, - string: settings.variable - }); - } - }; - - /** - * Set default options - * - * @type {object} - */ - $.WCBackboneModal.defaultOptions = { - template: '', - variable: {} - }; - - /** - * Create the Backbone Modal - * - * @return {null} - */ - $.WCBackboneModal.View = Backbone.View.extend({ - tagName: 'div', - id: 'wc-backbone-modal-dialog', - _target: undefined, - _string: undefined, - events: { - 'click .modal-close': 'closeButton', - 'click #btn-ok': 'addButton', - 'touchstart #btn-ok': 'addButton', - 'keydown': 'keyboardActions' - }, - initialize: function( data ) { - this._target = data.target; - this._string = data.string; - _.bindAll( this, 'render' ); - this.render(); - }, - render: function() { - var template = wp.template( this._target ); - - this.$el.attr( 'tabindex' , '0' ).append( - template( this._string ) - ); - - $( document.body ).css({ - 'overflow': 'hidden' - }).append( this.$el ); - - var $content = $( '.wc-backbone-modal-content' ).find( 'article' ); - var content_h = ( $content.height() < 90 ) ? 90 : $content.height(); - var max_h = $( window ).height() - 200; - - if ( max_h > 400 ) { - max_h = 400; - } - - if ( content_h > max_h ) { - $content.css({ - 'overflow': 'auto', - height: max_h + 'px' - }); - } else { - $content.css({ - 'overflow': 'visible', - height: ( content_h > 90 ) ? 'auto' : content_h + 'px' - }); - } - - $( '.wc-backbone-modal-content' ).css({ - 'margin-top': '-' + ( $( '.wc-backbone-modal-content' ).height() / 2 ) + 'px', - 'margin-left': '-' + ( $( '.wc-backbone-modal-content' ).width() / 2 ) + 'px' - }); - - $( document.body ).trigger( 'wc_backbone_modal_loaded', this._target ); - }, - closeButton: function( e ) { - e.preventDefault(); - $( document.body ).trigger( 'wc_backbone_modal_before_remove', this._target ); - this.undelegateEvents(); - $( document ).off( 'focusin' ); - $( document.body ).css({ - 'overflow': 'auto' - }); - this.remove(); - $( document.body ).trigger( 'wc_backbone_modal_removed', this._target ); - }, - addButton: function( e ) { - $( document.body ).trigger( 'wc_backbone_modal_response', [ this._target, this.getFormData() ] ); - this.closeButton( e ); - }, - getFormData: function() { - var data = {}; - - $( document.body ).trigger( 'wc_backbone_modal_before_update', this._target ); - - $.each( $( 'form', this.$el ).serializeArray(), function( index, item ) { - if ( data.hasOwnProperty( item.name ) ) { - data[ item.name ] = $.makeArray( data[ item.name ] ); - data[ item.name ].push( item.value ); - } else { - data[ item.name ] = item.value; - } - }); - - return data; - }, - keyboardActions: function( e ) { - var button = e.keyCode || e.which; - - // Enter key - if ( 13 === button && ! ( e.target.tagName && ( e.target.tagName.toLowerCase() === 'input' || e.target.tagName.toLowerCase() === 'textarea' ) ) ) { - this.addButton( e ); - } - - // ESC key - if ( 27 === button ) { - this.closeButton( e ); - } - } - }); - -}( jQuery, Backbone, _ )); diff --git a/assets/js/admin/order-backbone-modal.min.js b/assets/js/admin/order-backbone-modal.min.js deleted file mode 100644 index a3721ff1122..00000000000 --- a/assets/js/admin/order-backbone-modal.min.js +++ /dev/null @@ -1 +0,0 @@ -!function(a,b,c){"use strict";a.fn.WCBackboneModal=function(b){return this.each(function(){new a.WCBackboneModal(a(this),b)})},a.WCBackboneModal=function(b,c){var d=a.extend({},a.WCBackboneModal.defaultOptions,c);d.template&&new a.WCBackboneModal.View({target:d.template,string:d.variable})},a.WCBackboneModal.defaultOptions={template:"",variable:{}},a.WCBackboneModal.View=b.View.extend({tagName:"div",id:"wc-backbone-modal-dialog",_target:void 0,_string:void 0,events:{"click .modal-close":"closeButton","click #btn-ok":"addButton","touchstart #btn-ok":"addButton",keydown:"keyboardActions"},initialize:function(a){this._target=a.target,this._string=a.string,c.bindAll(this,"render"),this.render()},render:function(){var b=wp.template(this._target);this.$el.attr("tabindex","0").append(b(this._string)),a(document.body).css({overflow:"hidden"}).append(this.$el);var c=a(".wc-backbone-modal-content").find("article"),d=c.height()<90?90:c.height(),e=a(window).height()-200;e>400&&(e=400),d>e?c.css({overflow:"auto",height:e+"px"}):c.css({overflow:"visible",height:d>90?"auto":d+"px"}),a(".wc-backbone-modal-content").css({"margin-top":"-"+a(".wc-backbone-modal-content").height()/2+"px","margin-left":"-"+a(".wc-backbone-modal-content").width()/2+"px"}),a(document.body).trigger("wc_backbone_modal_loaded",this._target)},closeButton:function(b){b.preventDefault(),a(document.body).trigger("wc_backbone_modal_before_remove",this._target),this.undelegateEvents(),a(document).off("focusin"),a(document.body).css({overflow:"auto"}),this.remove(),a(document.body).trigger("wc_backbone_modal_removed",this._target)},addButton:function(b){a(document.body).trigger("wc_backbone_modal_response",[this._target,this.getFormData()]),this.closeButton(b)},getFormData:function(){var b={};return a(document.body).trigger("wc_backbone_modal_before_update",this._target),a.each(a("form",this.$el).serializeArray(),function(c,d){b.hasOwnProperty(d.name)?(b[d.name]=a.makeArray(b[d.name]),b[d.name].push(d.value)):b[d.name]=d.value}),b},keyboardActions:function(a){var b=a.keyCode||a.which;13!==b||a.target.tagName&&("input"===a.target.tagName.toLowerCase()||"textarea"===a.target.tagName.toLowerCase())||this.addButton(a),27===b&&this.closeButton(a)}})}(jQuery,Backbone,_); \ No newline at end of file diff --git a/assets/js/admin/quick-edit.js b/assets/js/admin/quick-edit.js index 9497ff8500c..f5df4259fc2 100644 --- a/assets/js/admin/quick-edit.js +++ b/assets/js/admin/quick-edit.js @@ -1,4 +1,4 @@ -/*global ajaxurl, inlineEditPost, inlineEditL10n */ +/*global ajaxurl, inlineEditPost, inlineEditL10n, woocommerce_admin */ jQuery(function( $ ) { $( '#the-list' ).on( 'click', '.editinline', function() { @@ -28,9 +28,12 @@ jQuery(function( $ ) { tax_class = $wc_inline_data.find( '.tax_class' ).text(), backorders = $wc_inline_data.find( '.backorders' ).text(); + var formatted_regular_price = regular_price.replace('.', woocommerce_admin.mon_decimal_point ), + formatted_sale_price = sale_price.replace('.', woocommerce_admin.mon_decimal_point ); + $( 'input[name="_sku"]', '.inline-edit-row' ).val( sku ); - $( 'input[name="_regular_price"]', '.inline-edit-row' ).val( regular_price ); - $( 'input[name="_sale_price"]', '.inline-edit-row' ).val( sale_price ); + $( 'input[name="_regular_price"]', '.inline-edit-row' ).val( formatted_regular_price ); + $( 'input[name="_sale_price"]', '.inline-edit-row' ).val( formatted_sale_price ); $( 'input[name="_weight"]', '.inline-edit-row' ).val( weight ); $( 'input[name="_length"]', '.inline-edit-row' ).val( length ); $( 'input[name="_width"]', '.inline-edit-row' ).val( width ); diff --git a/assets/js/admin/quick-edit.min.js b/assets/js/admin/quick-edit.min.js index aa897d23444..8757867c0cd 100644 --- a/assets/js/admin/quick-edit.min.js +++ b/assets/js/admin/quick-edit.min.js @@ -1 +1 @@ -jQuery(function(a){a("#the-list").on("click",".editinline",function(){inlineEditPost.revert();var b=a(this).closest("tr").attr("id");b=b.replace("post-","");var c=a("#woocommerce_inline_"+b),d=c.find(".sku").text(),e=c.find(".regular_price").text(),f=c.find(".sale_price ").text(),g=c.find(".weight").text(),h=c.find(".length").text(),i=c.find(".width").text(),j=c.find(".height").text(),k=c.find(".shipping_class").text(),l=c.find(".visibility").text(),m=c.find(".stock_status").text(),n=c.find(".stock").text(),o=c.find(".featured").text(),p=c.find(".manage_stock").text(),q=c.find(".menu_order").text(),r=c.find(".tax_status").text(),s=c.find(".tax_class").text(),t=c.find(".backorders").text();a('input[name="_sku"]',".inline-edit-row").val(d),a('input[name="_regular_price"]',".inline-edit-row").val(e),a('input[name="_sale_price"]',".inline-edit-row").val(f),a('input[name="_weight"]',".inline-edit-row").val(g),a('input[name="_length"]',".inline-edit-row").val(h),a('input[name="_width"]',".inline-edit-row").val(i),a('input[name="_height"]',".inline-edit-row").val(j),a('select[name="_shipping_class"] option:selected',".inline-edit-row").attr("selected",!1).change(),a('select[name="_shipping_class"] option[value="'+k+'"]').attr("selected","selected").change(),a('input[name="_stock"]',".inline-edit-row").val(n),a('input[name="menu_order"]',".inline-edit-row").val(q),a('select[name="_tax_status"] option, select[name="_tax_class"] option, select[name="_visibility"] option, select[name="_stock_status"] option, select[name="_backorders"] option').removeAttr("selected"),a('select[name="_tax_status"] option[value="'+r+'"]',".inline-edit-row").attr("selected","selected"),a('select[name="_tax_class"] option[value="'+s+'"]',".inline-edit-row").attr("selected","selected"),a('select[name="_visibility"] option[value="'+l+'"]',".inline-edit-row").attr("selected","selected"),a('select[name="_stock_status"] option[value="'+m+'"]',".inline-edit-row").attr("selected","selected"),a('select[name="_backorders"] option[value="'+t+'"]',".inline-edit-row").attr("selected","selected"),"yes"===o?a('input[name="_featured"]',".inline-edit-row").attr("checked","checked"):a('input[name="_featured"]',".inline-edit-row").removeAttr("checked"),"yes"===p?(a(".stock_qty_field",".inline-edit-row").show().removeAttr("style"),a('input[name="_manage_stock"]',".inline-edit-row").attr("checked","checked")):(a(".stock_qty_field",".inline-edit-row").hide(),a('input[name="_manage_stock"]',".inline-edit-row").removeAttr("checked"));var u=c.find(".product_type").text(),v=c.find(".product_is_virtual").text();"simple"===u||"external"===u?a(".price_fields",".inline-edit-row").show().removeAttr("style"):a(".price_fields",".inline-edit-row").hide(),"yes"===v?a(".dimension_fields",".inline-edit-row").hide():a(".dimension_fields",".inline-edit-row").show().removeAttr("style"),"grouped"===u?a(".stock_fields",".inline-edit-row").hide():a(".stock_fields",".inline-edit-row").show().removeAttr("style")}),a("#the-list").on("change",'.inline-edit-row input[name="_manage_stock"]',function(){a(this).is(":checked")?a(".stock_qty_field",".inline-edit-row").show().removeAttr("style"):a(".stock_qty_field",".inline-edit-row").hide()}),a("#wpbody").on("click","#doaction, #doaction2",function(){a("input.text",".inline-edit-row").val(""),a("#woocommerce-fields").find("select").prop("selectedIndex",0),a("#woocommerce-fields-bulk").find(".inline-edit-group .change-input").hide();var b="product_tag";a('tr.inline-editor textarea[name="tax_input['+b+']"]').suggest(ajaxurl+(ajaxurl.indexOf("?")>0?"&":"?")+"action=ajax-tag-search&tax="+b,{delay:500,minchars:2,multiple:!0,multipleSep:inlineEditL10n.comma})}),a("#wpbody").on("change","#woocommerce-fields-bulk .inline-edit-group .change_to",function(){00?"&":"?")+"action=ajax-tag-search&tax="+b,{delay:500,minchars:2,multiple:!0,multipleSep:inlineEditL10n.comma})}),a("#wpbody").on("change","#woocommerce-fields-bulk .inline-edit-group .change_to",function(){0 0 ? '&' : '?' ) + 'action=woocommerce_tax_rates_save_changes', + url: ajaxurl + ( ajaxurl.indexOf( '?' ) > 0 ? '&' : '?' ) + 'action=woocommerce_tax_rates_save_changes', data: { current_class: data.current_class, wc_tax_nonce: data.wc_tax_nonce, diff --git a/assets/js/admin/settings-views-html-settings-tax.min.js b/assets/js/admin/settings-views-html-settings-tax.min.js index b7890cf8d88..7c4e185bcd1 100644 --- a/assets/js/admin/settings-views-html-settings-tax.min.js +++ b/assets/js/admin/settings-views-html-settings-tax.min.js @@ -1 +1 @@ -!function(a,b,c,d){a(function(){String.prototype.trim||(String.prototype.trim=function(){return this.replace(/^[\s\uFEFF\xA0]+|[\s\uFEFF\xA0]+$/g,"")});var e=c.template("wc-tax-table-row"),f=c.template("wc-tax-table-row-empty"),g=c.template("wc-tax-table-pagination"),h=a(".wc_tax_rates"),i=a("#rates"),j=a('input[name="save"]'),k=a("#rates-pagination"),l=a("#rates-search .wc-tax-rates-search-field"),m=a(".submit .button-primary[type=submit]"),n=Backbone.Model.extend({changes:{},setRateAttribute:function(a,b,c){var d=_.indexBy(this.get("rates"),"tax_rate_id"),e={};d[a][b]!==c&&(e[a]={},e[a][b]=c,d[a][b]=c),this.logChanges(e)},logChanges:function(a){var b=this.changes||{};_.each(a,function(a,c){b[c]=_.extend(b[c]||{tax_rate_id:c},a)}),this.changes=b,this.trigger("change:rates")},getFilteredRates:function(){var a=this.get("rates"),b=l.val().toLowerCase();return b.length&&(a=_.filter(a,function(a){var c=_.toArray(a).join(" ").toLowerCase();return-1!==c.indexOf(b)})),a=_.sortBy(a,function(a){return parseInt(a.tax_rate_order,10)})},block:function(){a(".wc_tax_rates").block({message:null,overlayCSS:{background:"#fff",opacity:.6}})},unblock:function(){a(".wc_tax_rates").unblock()},save:function(){var a=this;a.block(),Backbone.ajax({method:"POST",dataType:"json",url:d+d+(d.indexOf("?")>0?"&":"?")+"action=woocommerce_tax_rates_save_changes",data:{current_class:b.current_class,wc_tax_nonce:b.wc_tax_nonce,changes:a.changes},success:function(b,c){"success"===c&&(p.set("rates",b.data.rates),p.trigger("change:rates"),p.changes={},p.trigger("saved:rates"),q.render()),a.unblock()}})}}),o=Backbone.View.extend({rowTemplate:e,per_page:b.limit,page:b.page,initialize:function(){var c=Math.ceil(_.toArray(this.model.get("rates")).length/this.per_page);this.qty_pages=0===c?1:c,this.page=this.sanitizePage(b.page),this.listenTo(this.model,"change:rates",this.setUnloadConfirmation),this.listenTo(this.model,"saved:rates",this.clearUnloadConfirmation),i.on("change autocompletechange",":input",{view:this},this.updateModelOnChange),i.on("sortupdate",{view:this},this.updateModelOnSort),l.on("keyup search",{view:this},this.onSearchField),k.on("click","a",{view:this},this.onPageChange),k.on("change","input",{view:this},this.onPageChange),a(window).on("beforeunload",{view:this},this.unloadConfirmation),m.on("click",{view:this},this.onSubmit),j.attr("disabled","disabled"),h.find(".insert").on("click",{view:this},this.onAddNewRow),h.find(".remove_tax_rates").on("click",{view:this},this.onDeleteRow),h.find(".export").on("click",{view:this},this.onExport)},render:function(){var c=this.model.getFilteredRates(),d=_.size(c),e=Math.ceil(d/this.per_page),h=0===d?0:this.per_page*(this.page-1),j=this.per_page*this.page,m=_.toArray(c).slice(h,j),n=this;this.$el.empty(),m.length?a.each(m,function(a,b){n.$el.append(n.rowTemplate(b))}):n.$el.append(f()),this.$el.find("td.country input").autocomplete({source:b.countries,minLength:2}),this.$el.find("td.state input").autocomplete({source:b.states,minLength:3}),this.$el.find("td.postcode input, td.city input").change(function(){a(this).attr("name",a(this).data("name"))}),e>1?k.html(g({qty_rates:d,current_page:this.page,qty_pages:e})):(k.empty(),n.page=1),l.val()?i.sortable("disable"):i.sortable("enable")},updateUrl:function(){if(window.history.replaceState){var a=b.base_url,c=l.val();1e}),g=_.map(f,function(a){return a.tax_rate_order++,l[a.tax_rate_id]=_.extend(l[a.tax_rate_id]||{},{tax_rate_order:a.tax_rate_order}),a})):(n.tax_rate_order=1+_.max(_.pluck(k,"tax_rate_order"),function(a){return parseInt(a,10)}),h.page=h.qty_pages),k[n.tax_rate_id]=n,l[n.tax_rate_id]=n,j.set("rates",k),j.logChanges(l),h.render()},onDeleteRow:function(c){var d,e,f=c.data.view,g=f.model,h=_.indexBy(g.get("rates"),"tax_rate_id"),j={};c.preventDefault(),(d=i.children(".current"))?(d.each(function(){e=a(this).data("id"),delete h[e],j[e]=_.extend(j[e]||{},{deleted:"deleted"})}),g.set("rates",h),g.logChanges(j),f.render()):window.alert(b.strings.no_rows_selected)},onSearchField:function(a){a.data.view.updateUrl(),a.data.view.render()},onPageChange:function(b){var c=a(b.currentTarget);b.preventDefault(),b.data.view.page=c.data("goto")?c.data("goto"):c.val(),b.data.view.render(),b.data.view.updateUrl()},onExport:function(c){var d="data:application/csv;charset=utf-8,"+b.strings.csv_data_cols.join(",")+"\n";return a.each(c.data.view.model.getFilteredRates(),function(a,c){var e="";e+=c.tax_rate_country+",",e+=c.tax_rate_state+",",e+=(c.postcode?c.postcode.join("; "):"")+",",e+=(c.city?c.city.join("; "):"")+",",e+=c.tax_rate+",",e+=c.tax_rate_name+",",e+=c.tax_rate_priority+",",e+=c.tax_rate_compound+",",e+=c.tax_rate_shipping+",",e+=b.current_class,d+=e+"\n"}),a(this).attr("href",encodeURI(d)),!0},setUnloadConfirmation:function(){this.needsUnloadConfirm=!0,j.removeAttr("disabled")},clearUnloadConfirmation:function(){this.needsUnloadConfirm=!1,j.attr("disabled","disabled")},unloadConfirmation:function(a){return a.data.view.needsUnloadConfirm?(a.returnValue=b.strings.unload_confirmation_msg,window.event.returnValue=b.strings.unload_confirmation_msg,b.strings.unload_confirmation_msg):void 0},updateModelOnChange:function(b){var c=b.data.view.model,d=a(b.target),e=d.closest("tr").data("id"),f=d.data("attribute"),g=d.val();"city"!==f&&"postcode"!==f||(g=g.split(";"),g=a.map(g,function(a){return a.trim()})),"tax_rate_compound"!==f&&"tax_rate_shipping"!==f||(g=d.is(":checked")?1:0),c.setRateAttribute(e,f,g)},updateModelOnSort:function(a){var b=a.data.view,c=b.model,d=_.indexBy(c.get("rates"),"tax_rate_id"),e={};_.each(d,function(a){var c=0,d=parseInt(a.tax_rate_order,10);c=h.find('tr[data-id="'+a.tax_rate_id+'"]').length?parseInt(h.find('tr[data-id="'+a.tax_rate_id+'"]').index(),10)+parseInt((b.page-1)*b.per_page,10):d,d!==c&&(e[a.tax_rate_id]=_.extend(e[a.tax_rate_id]||{},{tax_rate_order:c}))}),_.size(e)&&c.logChanges(e)},sanitizePage:function(a){return a=parseInt(a,10),1>a?a=1:a>this.qty_pages&&(a=this.qty_pages),a}}),p=new n({rates:b.rates}),q=new o({model:p,el:"#rates"});q.render()})}(jQuery,htmlSettingsTaxLocalizeScript,wp,ajaxurl); \ No newline at end of file +!function(a,b,c,d){a(function(){String.prototype.trim||(String.prototype.trim=function(){return this.replace(/^[\s\uFEFF\xA0]+|[\s\uFEFF\xA0]+$/g,"")});var e=c.template("wc-tax-table-row"),f=c.template("wc-tax-table-row-empty"),g=c.template("wc-tax-table-pagination"),h=a(".wc_tax_rates"),i=a("#rates"),j=a('input[name="save"]'),k=a("#rates-pagination"),l=a("#rates-search .wc-tax-rates-search-field"),m=a(".submit .button-primary[type=submit]"),n=Backbone.Model.extend({changes:{},setRateAttribute:function(a,b,c){var d=_.indexBy(this.get("rates"),"tax_rate_id"),e={};d[a][b]!==c&&(e[a]={},e[a][b]=c,d[a][b]=c),this.logChanges(e)},logChanges:function(a){var b=this.changes||{};_.each(a,function(a,c){b[c]=_.extend(b[c]||{tax_rate_id:c},a)}),this.changes=b,this.trigger("change:rates")},getFilteredRates:function(){var a=this.get("rates"),b=l.val().toLowerCase();return b.length&&(a=_.filter(a,function(a){var c=_.toArray(a).join(" ").toLowerCase();return-1!==c.indexOf(b)})),a=_.sortBy(a,function(a){return parseInt(a.tax_rate_order,10)})},block:function(){a(".wc_tax_rates").block({message:null,overlayCSS:{background:"#fff",opacity:.6}})},unblock:function(){a(".wc_tax_rates").unblock()},save:function(){var a=this;a.block(),Backbone.ajax({method:"POST",dataType:"json",url:d+(d.indexOf("?")>0?"&":"?")+"action=woocommerce_tax_rates_save_changes",data:{current_class:b.current_class,wc_tax_nonce:b.wc_tax_nonce,changes:a.changes},success:function(b,c){"success"===c&&(p.set("rates",b.data.rates),p.trigger("change:rates"),p.changes={},p.trigger("saved:rates"),q.render()),a.unblock()}})}}),o=Backbone.View.extend({rowTemplate:e,per_page:b.limit,page:b.page,initialize:function(){var c=Math.ceil(_.toArray(this.model.get("rates")).length/this.per_page);this.qty_pages=0===c?1:c,this.page=this.sanitizePage(b.page),this.listenTo(this.model,"change:rates",this.setUnloadConfirmation),this.listenTo(this.model,"saved:rates",this.clearUnloadConfirmation),i.on("change autocompletechange",":input",{view:this},this.updateModelOnChange),i.on("sortupdate",{view:this},this.updateModelOnSort),l.on("keyup search",{view:this},this.onSearchField),k.on("click","a",{view:this},this.onPageChange),k.on("change","input",{view:this},this.onPageChange),a(window).on("beforeunload",{view:this},this.unloadConfirmation),m.on("click",{view:this},this.onSubmit),j.attr("disabled","disabled"),h.find(".insert").on("click",{view:this},this.onAddNewRow),h.find(".remove_tax_rates").on("click",{view:this},this.onDeleteRow),h.find(".export").on("click",{view:this},this.onExport)},render:function(){var c=this.model.getFilteredRates(),d=_.size(c),e=Math.ceil(d/this.per_page),h=0===d?0:this.per_page*(this.page-1),j=this.per_page*this.page,m=_.toArray(c).slice(h,j),n=this;this.$el.empty(),m.length?a.each(m,function(a,b){n.$el.append(n.rowTemplate(b))}):n.$el.append(f()),this.$el.find("td.country input").autocomplete({source:b.countries,minLength:2}),this.$el.find("td.state input").autocomplete({source:b.states,minLength:3}),this.$el.find("td.postcode input, td.city input").change(function(){a(this).attr("name",a(this).data("name"))}),e>1?k.html(g({qty_rates:d,current_page:this.page,qty_pages:e})):(k.empty(),n.page=1),l.val()?i.sortable("disable"):i.sortable("enable")},updateUrl:function(){if(window.history.replaceState){var a=b.base_url,c=l.val();1e}),g=_.map(f,function(a){return a.tax_rate_order++,l[a.tax_rate_id]=_.extend(l[a.tax_rate_id]||{},{tax_rate_order:a.tax_rate_order}),a})):(n.tax_rate_order=1+_.max(_.pluck(k,"tax_rate_order"),function(a){return parseInt(a,10)}),h.page=h.qty_pages),k[n.tax_rate_id]=n,l[n.tax_rate_id]=n,j.set("rates",k),j.logChanges(l),h.render()},onDeleteRow:function(c){var d,e,f=c.data.view,g=f.model,h=_.indexBy(g.get("rates"),"tax_rate_id"),j={};c.preventDefault(),(d=i.children(".current"))?(d.each(function(){e=a(this).data("id"),delete h[e],j[e]=_.extend(j[e]||{},{deleted:"deleted"})}),g.set("rates",h),g.logChanges(j),f.render()):window.alert(b.strings.no_rows_selected)},onSearchField:function(a){a.data.view.updateUrl(),a.data.view.render()},onPageChange:function(b){var c=a(b.currentTarget);b.preventDefault(),b.data.view.page=c.data("goto")?c.data("goto"):c.val(),b.data.view.render(),b.data.view.updateUrl()},onExport:function(c){var d="data:application/csv;charset=utf-8,"+b.strings.csv_data_cols.join(",")+"\n";return a.each(c.data.view.model.getFilteredRates(),function(a,c){var e="";e+=c.tax_rate_country+",",e+=c.tax_rate_state+",",e+=(c.postcode?c.postcode.join("; "):"")+",",e+=(c.city?c.city.join("; "):"")+",",e+=c.tax_rate+",",e+=c.tax_rate_name+",",e+=c.tax_rate_priority+",",e+=c.tax_rate_compound+",",e+=c.tax_rate_shipping+",",e+=b.current_class,d+=e+"\n"}),a(this).attr("href",encodeURI(d)),!0},setUnloadConfirmation:function(){this.needsUnloadConfirm=!0,j.removeAttr("disabled")},clearUnloadConfirmation:function(){this.needsUnloadConfirm=!1,j.attr("disabled","disabled")},unloadConfirmation:function(a){return a.data.view.needsUnloadConfirm?(a.returnValue=b.strings.unload_confirmation_msg,window.event.returnValue=b.strings.unload_confirmation_msg,b.strings.unload_confirmation_msg):void 0},updateModelOnChange:function(b){var c=b.data.view.model,d=a(b.target),e=d.closest("tr").data("id"),f=d.data("attribute"),g=d.val();"city"!==f&&"postcode"!==f||(g=g.split(";"),g=a.map(g,function(a){return a.trim()})),"tax_rate_compound"!==f&&"tax_rate_shipping"!==f||(g=d.is(":checked")?1:0),c.setRateAttribute(e,f,g)},updateModelOnSort:function(a){var b=a.data.view,c=b.model,d=_.indexBy(c.get("rates"),"tax_rate_id"),e={};_.each(d,function(a){var c=0,d=parseInt(a.tax_rate_order,10);c=h.find('tr[data-id="'+a.tax_rate_id+'"]').length?parseInt(h.find('tr[data-id="'+a.tax_rate_id+'"]').index(),10)+parseInt((b.page-1)*b.per_page,10):d,d!==c&&(e[a.tax_rate_id]=_.extend(e[a.tax_rate_id]||{},{tax_rate_order:c}))}),_.size(e)&&c.logChanges(e)},sanitizePage:function(a){return a=parseInt(a,10),1>a?a=1:a>this.qty_pages&&(a=this.qty_pages),a}}),p=new n({rates:b.rates}),q=new o({model:p,el:"#rates"});q.render()})}(jQuery,htmlSettingsTaxLocalizeScript,wp,ajaxurl); \ No newline at end of file diff --git a/assets/js/admin/settings.js b/assets/js/admin/settings.js index 46791e69801..49776facbc2 100644 --- a/assets/js/admin/settings.js +++ b/assets/js/admin/settings.js @@ -1,44 +1,58 @@ /* global woocommerce_settings_params */ -jQuery( window ).load( function() { +( function( $ ) { - // Countries - jQuery( 'select#woocommerce_allowed_countries, select#woocommerce_ship_to_countries' ).change( function() { - if ( jQuery( this ).val() === 'specific' ) { - jQuery( this ).parent().parent().next( 'tr' ).show(); + // Sell Countries + $( 'select#woocommerce_allowed_countries' ).change( function() { + if ( 'specific' === $( this ).val() ) { + $( this ).closest('tr').next( 'tr' ).hide(); + $( this ).closest('tr').next().next( 'tr' ).show(); + } else if ( 'all_except' === $( this ).val() ) { + $( this ).closest('tr').next( 'tr' ).show(); + $( this ).closest('tr').next().next( 'tr' ).hide(); } else { - jQuery( this ).parent().parent().next( 'tr' ).hide(); + $( this ).closest('tr').next( 'tr' ).hide(); + $( this ).closest('tr').next().next( 'tr' ).hide(); + } + }).change(); + + // Ship Countries + $( 'select#woocommerce_ship_to_countries' ).change( function() { + if ( 'specific' === $( this ).val() ) { + $( this ).closest('tr').next( 'tr' ).show(); + } else { + $( this ).closest('tr').next( 'tr' ).hide(); } }).change(); // Color picker - jQuery( '.colorpick' ).iris({ + $( '.colorpick' ).iris({ change: function( event, ui ) { - jQuery( this ).parent().find( '.colorpickpreview' ).css({ backgroundColor: ui.color.toString() }); + $( this ).parent().find( '.colorpickpreview' ).css({ backgroundColor: ui.color.toString() }); }, hide: true, border: true }).click( function() { - jQuery( '.iris-picker' ).hide(); - jQuery( this ).closest( 'td' ).find( '.iris-picker' ).show(); + $( '.iris-picker' ).hide(); + $( this ).closest( 'td' ).find( '.iris-picker' ).show(); }); - jQuery( 'body' ).click( function() { - jQuery( '.iris-picker' ).hide(); + $( 'body' ).click( function() { + $( '.iris-picker' ).hide(); }); - jQuery( '.colorpick' ).click( function( event ) { + $( '.colorpick' ).click( function( event ) { event.stopPropagation(); }); // Edit prompt - jQuery( function() { + $( function() { var changed = false; - jQuery( 'input, textarea, select, checkbox' ).change( function() { + $( 'input, textarea, select, checkbox' ).change( function() { changed = true; }); - jQuery( '.woo-nav-tab-wrapper a' ).click( function() { + $( '.woo-nav-tab-wrapper a' ).click( function() { if ( changed ) { window.onbeforeunload = function() { return woocommerce_settings_params.i18n_nav_warning; @@ -48,13 +62,13 @@ jQuery( window ).load( function() { } }); - jQuery( '.submit input' ).click( function() { + $( '.submit input' ).click( function() { window.onbeforeunload = ''; }); }); // Sorting - jQuery( 'table.wc_gateways tbody, table.wc_shipping tbody' ).sortable({ + $( 'table.wc_gateways tbody, table.wc_shipping tbody' ).sortable({ items: 'tr', cursor: 'move', axis: 'y', @@ -62,7 +76,7 @@ jQuery( window ).load( function() { scrollSensitivity: 40, helper: function( event, ui ) { ui.children().each( function() { - jQuery( this ).width( jQuery( this ).width() ); + $( this ).width( $( this ).width() ); }); ui.css( 'left', '0' ); return ui; @@ -76,15 +90,15 @@ jQuery( window ).load( function() { }); // Select all/none - jQuery( '.woocommerce' ).on( 'click', '.select_all', function() { - jQuery( this ).closest( 'td' ).find( 'select option' ).attr( 'selected', 'selected' ); - jQuery( this ).closest( 'td' ).find( 'select' ).trigger( 'change' ); + $( '.woocommerce' ).on( 'click', '.select_all', function() { + $( this ).closest( 'td' ).find( 'select option' ).attr( 'selected', 'selected' ); + $( this ).closest( 'td' ).find( 'select' ).trigger( 'change' ); return false; }); - jQuery( '.woocommerce' ).on( 'click', '.select_none', function() { - jQuery( this ).closest( 'td' ).find( 'select option' ).removeAttr( 'selected' ); - jQuery( this ).closest( 'td' ).find( 'select' ).trigger( 'change' ); + $( '.woocommerce' ).on( 'click', '.select_none', function() { + $( this ).closest( 'td' ).find( 'select option' ).removeAttr( 'selected' ); + $( this ).closest( 'td' ).find( 'select' ).trigger( 'change' ); return false; }); -}); +})( jQuery ); diff --git a/assets/js/admin/settings.min.js b/assets/js/admin/settings.min.js index 1c85132b5d5..493e0ba7bfc 100644 --- a/assets/js/admin/settings.min.js +++ b/assets/js/admin/settings.min.js @@ -1 +1 @@ -jQuery(window).load(function(){jQuery("select#woocommerce_allowed_countries, select#woocommerce_ship_to_countries").change(function(){"specific"===jQuery(this).val()?jQuery(this).parent().parent().next("tr").show():jQuery(this).parent().parent().next("tr").hide()}).change(),jQuery(".colorpick").iris({change:function(a,b){jQuery(this).parent().find(".colorpickpreview").css({backgroundColor:b.color.toString()})},hide:!0,border:!0}).click(function(){jQuery(".iris-picker").hide(),jQuery(this).closest("td").find(".iris-picker").show()}),jQuery("body").click(function(){jQuery(".iris-picker").hide()}),jQuery(".colorpick").click(function(a){a.stopPropagation()}),jQuery(function(){var a=!1;jQuery("input, textarea, select, checkbox").change(function(){a=!0}),jQuery(".woo-nav-tab-wrapper a").click(function(){a?window.onbeforeunload=function(){return woocommerce_settings_params.i18n_nav_warning}:window.onbeforeunload=""}),jQuery(".submit input").click(function(){window.onbeforeunload=""})}),jQuery("table.wc_gateways tbody, table.wc_shipping tbody").sortable({items:"tr",cursor:"move",axis:"y",handle:"td.sort",scrollSensitivity:40,helper:function(a,b){return b.children().each(function(){jQuery(this).width(jQuery(this).width())}),b.css("left","0"),b},start:function(a,b){b.item.css("background-color","#f6f6f6")},stop:function(a,b){b.item.removeAttr("style")}}),jQuery(".woocommerce").on("click",".select_all",function(){return jQuery(this).closest("td").find("select option").attr("selected","selected"),jQuery(this).closest("td").find("select").trigger("change"),!1}),jQuery(".woocommerce").on("click",".select_none",function(){return jQuery(this).closest("td").find("select option").removeAttr("selected"),jQuery(this).closest("td").find("select").trigger("change"),!1})}); \ No newline at end of file +!function(a){a("select#woocommerce_allowed_countries").change(function(){"specific"===a(this).val()?(a(this).closest("tr").next("tr").hide(),a(this).closest("tr").next().next("tr").show()):"all_except"===a(this).val()?(a(this).closest("tr").next("tr").show(),a(this).closest("tr").next().next("tr").hide()):(a(this).closest("tr").next("tr").hide(),a(this).closest("tr").next().next("tr").hide())}).change(),a("select#woocommerce_ship_to_countries").change(function(){"specific"===a(this).val()?a(this).closest("tr").next("tr").show():a(this).closest("tr").next("tr").hide()}).change(),a(".colorpick").iris({change:function(b,c){a(this).parent().find(".colorpickpreview").css({backgroundColor:c.color.toString()})},hide:!0,border:!0}).click(function(){a(".iris-picker").hide(),a(this).closest("td").find(".iris-picker").show()}),a("body").click(function(){a(".iris-picker").hide()}),a(".colorpick").click(function(a){a.stopPropagation()}),a(function(){var b=!1;a("input, textarea, select, checkbox").change(function(){b=!0}),a(".woo-nav-tab-wrapper a").click(function(){b?window.onbeforeunload=function(){return woocommerce_settings_params.i18n_nav_warning}:window.onbeforeunload=""}),a(".submit input").click(function(){window.onbeforeunload=""})}),a("table.wc_gateways tbody, table.wc_shipping tbody").sortable({items:"tr",cursor:"move",axis:"y",handle:"td.sort",scrollSensitivity:40,helper:function(b,c){return c.children().each(function(){a(this).width(a(this).width())}),c.css("left","0"),c},start:function(a,b){b.item.css("background-color","#f6f6f6")},stop:function(a,b){b.item.removeAttr("style")}}),a(".woocommerce").on("click",".select_all",function(){return a(this).closest("td").find("select option").attr("selected","selected"),a(this).closest("td").find("select").trigger("change"),!1}),a(".woocommerce").on("click",".select_none",function(){return a(this).closest("td").find("select option").removeAttr("selected"),a(this).closest("td").find("select").trigger("change"),!1})}(jQuery); \ No newline at end of file diff --git a/assets/js/admin/wc-shipping-classes.js b/assets/js/admin/wc-shipping-classes.js index e08704044b2..2656f1abaa7 100644 --- a/assets/js/admin/wc-shipping-classes.js +++ b/assets/js/admin/wc-shipping-classes.js @@ -1,8 +1,7 @@ /* global shippingClassesLocalizeScript, ajaxurl */ ( function( $, data, wp, ajaxurl ) { $( function() { - var $table = $( '.wc-shipping-classes' ), - $tbody = $( '.wc-shipping-class-rows' ), + var $tbody = $( '.wc-shipping-class-rows' ), $save_button = $( '.wc-shipping-class-save' ), $row_template = wp.template( 'wc-shipping-class-row' ), $blank_template = wp.template( 'wc-shipping-class-row-blank' ), @@ -30,6 +29,17 @@ shippingClass.trigger( 'saved:classes' ); } }, + discardChanges: function( id ) { + var changes = this.changes || {}; + + // Delete all changes + delete changes[ id ]; + + // No changes? Disable save button. + if ( 0 === _.size( this.changes ) ) { + shippingClassView.clearUnloadConfirmation(); + } + }, onSaveResponse: function( response, textStatus ) { if ( 'success' === textStatus ) { if ( response.success ) { @@ -38,12 +48,12 @@ shippingClass.changes = {}; shippingClass.trigger( 'saved:classes' ); } else if ( response.data ) { - window.alert( response.data ); - } else { + window.alert( response.data ); + } else { window.alert( data.strings.save_failed ); } } - shippingClassView.unblock(); + shippingClassView.unblock(); } } ), @@ -87,34 +97,36 @@ // Populate $tbody with the current classes $.each( classes, function( id, rowData ) { - view.$el.append( view.rowTemplate( rowData ) ); - - var $tr = view.$el.find( 'tr[data-id="' + rowData.term_id + '"]'); - - // Editing? - if ( rowData.editing ) { - $tr.addClass( 'editing' ); - } + view.renderRow( rowData ); } ); - - // Make the rows function - this.$el.find('.view').show(); - this.$el.find('.edit').hide(); - this.$el.find( '.wc-shipping-class-edit' ).on( 'click', { view: this }, this.onEditRow ); - this.$el.find( '.wc-shipping-class-delete' ).on( 'click', { view: this }, this.onDeleteRow ); - this.$el.find( '.wc-shipping-class-postcodes-toggle' ).on( 'click', { view: this }, this.onTogglePostcodes ); - this.$el.find('.editing .wc-shipping-class-edit').trigger('click'); - - // Stripe - if ( 0 === _.size( classes ) % 2) { - $table.find( 'tbody.wc-shipping-class-rows' ).next( 'tbody' ).find( 'tr' ).addClass( 'odd' ); - } else { - $table.find( 'tbody.wc-shipping-class-rows' ).next( 'tbody' ).find( 'tr' ).removeClass( 'odd' ); - } } else { view.$el.append( $blank_template ); } }, + renderRow: function( rowData ) { + var view = this; + view.$el.append( view.rowTemplate( rowData ) ); + view.initRow( rowData ); + }, + initRow: function( rowData ) { + var view = this; + var $tr = view.$el.find( 'tr[data-id="' + rowData.term_id + '"]'); + + // Make the rows function + $tr.find('.view').show(); + $tr.find('.edit').hide(); + $tr.find( '.wc-shipping-class-edit' ).on( 'click', { view: this }, this.onEditRow ); + $tr.find( '.wc-shipping-class-delete' ).on( 'click', { view: this }, this.onDeleteRow ); + $tr.find( '.wc-shipping-class-postcodes-toggle' ).on( 'click', { view: this }, this.onTogglePostcodes ); + $tr.find( '.editing .wc-shipping-class-edit' ).trigger('click'); + $tr.find( '.wc-shipping-class-cancel-edit' ).on( 'click', { view: this }, this.onCancelEditRow ); + + // Editing? + if ( true === rowData.editing ) { + $tr.addClass( 'editing' ); + $tr.find( '.wc-shipping-class-edit' ).trigger( 'click' ); + } + }, onSubmit: function( event ) { event.data.view.block(); event.data.view.model.save(); @@ -131,16 +143,13 @@ newRow = _.extend( {}, data.default_class, { term_id: 'new-' + size + '-' + Date.now(), editing: true, - newRow : true + newRow : true } ); - classes[ newRow.term_id ] = newRow; changes[ newRow.term_id ] = newRow; - model.set( 'classes', classes ); model.logChanges( changes ); - - view.render(); + view.renderRow( newRow ); }, onEditRow: function( event ) { event.preventDefault(); @@ -152,17 +161,39 @@ onDeleteRow: function( event ) { var view = event.data.view, model = view.model, - classes = _.indexBy( model.get( 'classes' ), 'term_id' ), + row = $( this ).closest('tr'), + classes = _.indexBy( model.get( 'classes' ), 'term_id' ), changes = {}, term_id = $( this ).closest('tr').data('id'); event.preventDefault(); - delete classes[ term_id ]; - changes[ term_id ] = _.extend( changes[ term_id ] || {}, { deleted : 'deleted' } ); - model.set( 'classes', classes ); - model.logChanges( changes ); - view.render(); + if ( classes[ term_id ] ) { + delete classes[ term_id ]; + changes[ term_id ] = _.extend( changes[ term_id ] || {}, { deleted : 'deleted' } ); + model.set( 'classes', classes ); + model.logChanges( changes ); + } + + row.remove(); + }, + onCancelEditRow: function( event ) { + var view = event.data.view, + model = view.model, + row = $( this ).closest('tr'), + term_id = $( this ).closest('tr').data('id'), + classes = _.indexBy( model.get( 'classes' ), 'term_id' ); + + event.preventDefault(); + model.discardChanges( term_id ); + + if ( classes[ term_id ] ) { + classes[ term_id ].editing = false; + row.after( view.rowTemplate( classes[ term_id ] ) ); + view.initRow( classes[ term_id ] ); + } + + row.remove(); }, setUnloadConfirmation: function() { this.needsUnloadConfirm = true; @@ -188,10 +219,9 @@ classes = _.indexBy( model.get( 'classes' ), 'term_id' ), changes = {}; - if ( classes[ term_id ][ attribute ] !== value ) { + if ( ! classes[ term_id ] || classes[ term_id ][ attribute ] !== value ) { changes[ term_id ] = {}; changes[ term_id ][ attribute ] = value; - classes[ term_id ][ attribute ] = value; } model.logChanges( changes ); diff --git a/assets/js/admin/wc-shipping-classes.min.js b/assets/js/admin/wc-shipping-classes.min.js index 3e1b039eb92..44d380802be 100644 --- a/assets/js/admin/wc-shipping-classes.min.js +++ b/assets/js/admin/wc-shipping-classes.min.js @@ -1 +1 @@ -!function(a,b,c,d){a(function(){var e=a(".wc-shipping-classes"),f=a(".wc-shipping-class-rows"),g=a(".wc-shipping-class-save"),h=c.template("wc-shipping-class-row"),i=c.template("wc-shipping-class-row-blank"),j=Backbone.Model.extend({changes:{},logChanges:function(a){var b=this.changes||{};_.each(a,function(a,c){b[c]=_.extend(b[c]||{term_id:c},a)}),this.changes=b,this.trigger("change:classes")},save:function(){_.size(this.changes)?a.post(d+(d.indexOf("?")>0?"&":"?")+"action=woocommerce_shipping_classes_save_changes",{wc_shipping_classes_nonce:b.wc_shipping_classes_nonce,changes:this.changes},this.onSaveResponse,"json"):l.trigger("saved:classes")},onSaveResponse:function(a,c){"success"===c&&(a.success?(l.set("classes",a.data.shipping_classes),l.trigger("change:classes"),l.changes={},l.trigger("saved:classes")):a.data?window.alert(a.data):window.alert(b.strings.save_failed)),m.unblock()}}),k=Backbone.View.extend({rowTemplate:h,initialize:function(){this.listenTo(this.model,"change:classes",this.setUnloadConfirmation),this.listenTo(this.model,"saved:classes",this.clearUnloadConfirmation),this.listenTo(this.model,"saved:classes",this.render),f.on("change",{view:this},this.updateModelOnChange),a(window).on("beforeunload",{view:this},this.unloadConfirmation),g.on("click",{view:this},this.onSubmit),a(document.body).on("click",".wc-shipping-class-add",{view:this},this.onAddNewRow),a(document.body).on("click",".wc-shipping-class-save-changes",{view:this},this.onSubmit)},block:function(){a(this.el).block({message:null,overlayCSS:{background:"#fff",opacity:.6}})},unblock:function(){a(this.el).unblock()},render:function(){var b=_.indexBy(this.model.get("classes"),"term_id"),c=this;this.$el.empty(),this.unblock(),_.size(b)?(b=_.sortBy(b,function(a){return a.name}),a.each(b,function(a,b){c.$el.append(c.rowTemplate(b));var d=c.$el.find('tr[data-id="'+b.term_id+'"]');b.editing&&d.addClass("editing")}),this.$el.find(".view").show(),this.$el.find(".edit").hide(),this.$el.find(".wc-shipping-class-edit").on("click",{view:this},this.onEditRow),this.$el.find(".wc-shipping-class-delete").on("click",{view:this},this.onDeleteRow),this.$el.find(".wc-shipping-class-postcodes-toggle").on("click",{view:this},this.onTogglePostcodes),this.$el.find(".editing .wc-shipping-class-edit").trigger("click"),0===_.size(b)%2?e.find("tbody.wc-shipping-class-rows").next("tbody").find("tr").addClass("odd"):e.find("tbody.wc-shipping-class-rows").next("tbody").find("tr").removeClass("odd")):c.$el.append(i)},onSubmit:function(a){a.data.view.block(),a.data.view.model.save(),a.preventDefault()},onAddNewRow:function(a){a.preventDefault();var c=a.data.view,d=c.model,e=_.indexBy(d.get("classes"),"term_id"),f={},g=_.size(e),h=_.extend({},b.default_class,{term_id:"new-"+g+"-"+Date.now(),editing:!0,newRow:!0});e[h.term_id]=h,f[h.term_id]=h,d.set("classes",e),d.logChanges(f),c.render()},onEditRow:function(b){b.preventDefault(),a(this).closest("tr").addClass("editing"),a(this).closest("tr").find(".view").hide(),a(this).closest("tr").find(".edit").show(),b.data.view.model.trigger("change:classes")},onDeleteRow:function(b){var c=b.data.view,d=c.model,e=_.indexBy(d.get("classes"),"term_id"),f={},g=a(this).closest("tr").data("id");b.preventDefault(),delete e[g],f[g]=_.extend(f[g]||{},{deleted:"deleted"}),d.set("classes",e),d.logChanges(f),c.render()},setUnloadConfirmation:function(){this.needsUnloadConfirm=!0,g.removeAttr("disabled")},clearUnloadConfirmation:function(){this.needsUnloadConfirm=!1,g.attr("disabled","disabled")},unloadConfirmation:function(a){return a.data.view.needsUnloadConfirm?(a.returnValue=b.strings.unload_confirmation_msg,window.event.returnValue=b.strings.unload_confirmation_msg,b.strings.unload_confirmation_msg):void 0},updateModelOnChange:function(b){var c=b.data.view.model,d=a(b.target),e=d.closest("tr").data("id"),f=d.data("attribute"),g=d.val(),h=_.indexBy(c.get("classes"),"term_id"),i={};h[e][f]!==g&&(i[e]={},i[e][f]=g,h[e][f]=g),c.logChanges(i)}}),l=new j({classes:b.classes}),m=new k({model:l,el:f});m.render()})}(jQuery,shippingClassesLocalizeScript,wp,ajaxurl); \ No newline at end of file +!function(a,b,c,d){a(function(){var e=a(".wc-shipping-class-rows"),f=a(".wc-shipping-class-save"),g=c.template("wc-shipping-class-row"),h=c.template("wc-shipping-class-row-blank"),i=Backbone.Model.extend({changes:{},logChanges:function(a){var b=this.changes||{};_.each(a,function(a,c){b[c]=_.extend(b[c]||{term_id:c},a)}),this.changes=b,this.trigger("change:classes")},save:function(){_.size(this.changes)?a.post(d+(d.indexOf("?")>0?"&":"?")+"action=woocommerce_shipping_classes_save_changes",{wc_shipping_classes_nonce:b.wc_shipping_classes_nonce,changes:this.changes},this.onSaveResponse,"json"):k.trigger("saved:classes")},discardChanges:function(a){var b=this.changes||{};delete b[a],0===_.size(this.changes)&&l.clearUnloadConfirmation()},onSaveResponse:function(a,c){"success"===c&&(a.success?(k.set("classes",a.data.shipping_classes),k.trigger("change:classes"),k.changes={},k.trigger("saved:classes")):a.data?window.alert(a.data):window.alert(b.strings.save_failed)),l.unblock()}}),j=Backbone.View.extend({rowTemplate:g,initialize:function(){this.listenTo(this.model,"change:classes",this.setUnloadConfirmation),this.listenTo(this.model,"saved:classes",this.clearUnloadConfirmation),this.listenTo(this.model,"saved:classes",this.render),e.on("change",{view:this},this.updateModelOnChange),a(window).on("beforeunload",{view:this},this.unloadConfirmation),f.on("click",{view:this},this.onSubmit),a(document.body).on("click",".wc-shipping-class-add",{view:this},this.onAddNewRow),a(document.body).on("click",".wc-shipping-class-save-changes",{view:this},this.onSubmit)},block:function(){a(this.el).block({message:null,overlayCSS:{background:"#fff",opacity:.6}})},unblock:function(){a(this.el).unblock()},render:function(){var b=_.indexBy(this.model.get("classes"),"term_id"),c=this;this.$el.empty(),this.unblock(),_.size(b)?(b=_.sortBy(b,function(a){return a.name}),a.each(b,function(a,b){c.renderRow(b)})):c.$el.append(h)},renderRow:function(a){var b=this;b.$el.append(b.rowTemplate(a)),b.initRow(a)},initRow:function(a){var b=this,c=b.$el.find('tr[data-id="'+a.term_id+'"]');c.find(".view").show(),c.find(".edit").hide(),c.find(".wc-shipping-class-edit").on("click",{view:this},this.onEditRow),c.find(".wc-shipping-class-delete").on("click",{view:this},this.onDeleteRow),c.find(".wc-shipping-class-postcodes-toggle").on("click",{view:this},this.onTogglePostcodes),c.find(".editing .wc-shipping-class-edit").trigger("click"),c.find(".wc-shipping-class-cancel-edit").on("click",{view:this},this.onCancelEditRow),!0===a.editing&&(c.addClass("editing"),c.find(".wc-shipping-class-edit").trigger("click"))},onSubmit:function(a){a.data.view.block(),a.data.view.model.save(),a.preventDefault()},onAddNewRow:function(a){a.preventDefault();var c=a.data.view,d=c.model,e=_.indexBy(d.get("classes"),"term_id"),f={},g=_.size(e),h=_.extend({},b.default_class,{term_id:"new-"+g+"-"+Date.now(),editing:!0,newRow:!0});f[h.term_id]=h,d.logChanges(f),c.renderRow(h)},onEditRow:function(b){b.preventDefault(),a(this).closest("tr").addClass("editing"),a(this).closest("tr").find(".view").hide(),a(this).closest("tr").find(".edit").show(),b.data.view.model.trigger("change:classes")},onDeleteRow:function(b){var c=b.data.view,d=c.model,e=a(this).closest("tr"),f=_.indexBy(d.get("classes"),"term_id"),g={},h=a(this).closest("tr").data("id");b.preventDefault(),f[h]&&(delete f[h],g[h]=_.extend(g[h]||{},{deleted:"deleted"}),d.set("classes",f),d.logChanges(g)),e.remove()},onCancelEditRow:function(b){var c=b.data.view,d=c.model,e=a(this).closest("tr"),f=a(this).closest("tr").data("id"),g=_.indexBy(d.get("classes"),"term_id");b.preventDefault(),d.discardChanges(f),g[f]&&(g[f].editing=!1,e.after(c.rowTemplate(g[f])),c.initRow(g[f])),e.remove()},setUnloadConfirmation:function(){this.needsUnloadConfirm=!0,f.removeAttr("disabled")},clearUnloadConfirmation:function(){this.needsUnloadConfirm=!1,f.attr("disabled","disabled")},unloadConfirmation:function(a){return a.data.view.needsUnloadConfirm?(a.returnValue=b.strings.unload_confirmation_msg,window.event.returnValue=b.strings.unload_confirmation_msg,b.strings.unload_confirmation_msg):void 0},updateModelOnChange:function(b){var c=b.data.view.model,d=a(b.target),e=d.closest("tr").data("id"),f=d.data("attribute"),g=d.val(),h=_.indexBy(c.get("classes"),"term_id"),i={};h[e]&&h[e][f]===g||(i[e]={},i[e][f]=g),c.logChanges(i)}}),k=new i({classes:b.classes}),l=new j({model:k,el:e});l.render()})}(jQuery,shippingClassesLocalizeScript,wp,ajaxurl); \ No newline at end of file diff --git a/assets/js/admin/wc-shipping-zone-methods.js b/assets/js/admin/wc-shipping-zone-methods.js index 10f465b1b0a..912a7e0d413 100644 --- a/assets/js/admin/wc-shipping-zone-methods.js +++ b/assets/js/admin/wc-shipping-zone-methods.js @@ -31,16 +31,6 @@ shippingMethod.trigger( 'saved:methods' ); } }, - addMethod: function() { - if ( _.size( this.changes ) && window.confirm( data.strings.save_changes_prompt ) ) { - this.save(); - } - $.post( ajaxurl + ( ajaxurl.indexOf( '?' ) > 0 ? '&' : '?' ) + 'action=woocommerce_shipping_zone_add_method', { - wc_shipping_zones_nonce : data.wc_shipping_zones_nonce, - method_id : $('select[name="add_method_id"]').val(), - zone_id : data.zone_id - }, this.onAddResponse, 'json' ); - }, onSaveResponse: function( response, textStatus ) { if ( 'success' === textStatus ) { if ( response.success ) { @@ -52,18 +42,6 @@ window.alert( data.strings.save_failed ); } } - }, - onAddResponse: function( response, textStatus ) { - if ( 'success' === textStatus ) { - if ( response.success && response.data.instance_id ) { - shippingMethod.set( 'methods', response.data.methods ); - shippingMethod.trigger( 'change:methods' ); - shippingMethod.changes = {}; - shippingMethod.trigger( 'saved:methods' ); - } else { - window.alert( data.strings.add_method_failed ); - } - } } } ), @@ -78,11 +56,13 @@ $tbody.on( 'sortupdate', { view: this }, this.updateModelOnSort ); $( window ).on( 'beforeunload', { view: this }, this.unloadConfirmation ); $save_button.on( 'click', { view: this }, this.onSubmit ); - $('.wc-shipping-zone-add-method').on( 'click', { view: this }, this.onAdd ); - // Settings modal + // Settings modals $( document.body ).on( 'click', '.wc-shipping-zone-method-settings', { view: this }, this.onConfigureShippingMethod ); + $( document.body ).on( 'click', '.wc-shipping-zone-add-method', { view: this }, this.onAddShippingMethod ); $( document.body ).on( 'wc_backbone_modal_response', this.onConfigureShippingMethodSubmitted ); + $( document.body ).on( 'wc_backbone_modal_response', this.onAddShippingMethodSubmitted ); + $( document.body ).on( 'change', '.wc-shipping-zone-method-selector select', this.onChangeShippingMethodSelector ); }, block: function() { $( this.el ).block({ @@ -147,11 +127,6 @@ event.data.view.model.save(); event.preventDefault(); }, - onAdd: function( event ) { - event.data.view.block(); - event.data.view.model.addMethod(); - event.preventDefault(); - }, onDeleteRow: function( event ) { var view = event.data.view, model = view.model, @@ -301,6 +276,49 @@ error_html = error_html + ''; $( 'table.wc-shipping-zone-methods' ).before( error_html ); + }, + onAddShippingMethod: function( event ) { + event.preventDefault(); + + $( this ).WCBackboneModal({ + template : 'wc-modal-add-shipping-method', + variable : { + zone_id : data.zone_id + } + }); + + $( '.wc-shipping-zone-method-selector select' ).change(); + }, + onAddShippingMethodSubmitted: function( event, target, posted_data ) { + if ( 'wc-modal-add-shipping-method' === target ) { + shippingMethodView.block(); + + // Add method to zone via ajax call + $.post( ajaxurl + ( ajaxurl.indexOf( '?' ) > 0 ? '&' : '?' ) + 'action=woocommerce_shipping_zone_add_method', { + wc_shipping_zones_nonce : data.wc_shipping_zones_nonce, + method_id : posted_data.add_method_id, + zone_id : data.zone_id + }, function( response, textStatus ) { + if ( 'success' === textStatus && response.success ) { + // Trigger save if there are changes, or just re-render + if ( _.size( shippingMethodView.model.changes ) ) { + shippingMethodView.model.save(); + } else { + shippingMethodView.model.set( 'methods', response.data.methods ); + shippingMethodView.model.trigger( 'change:methods' ); + shippingMethodView.model.changes = {}; + shippingMethodView.model.trigger( 'saved:methods' ); + } + } + shippingMethodView.unblock(); + }, 'json' ); + } + }, + onChangeShippingMethodSelector: function() { + var description = $( this ).find( 'option:selected' ).data( 'description' ); + $( this ).parent().find( '.wc-shipping-zone-method-description' ).remove(); + $( this ).after( '

' + description + '

' ); + $( this ).closest( 'article' ).height( $( this ).parent().height() ); } } ), shippingMethod = new ShippingMethod({ diff --git a/assets/js/admin/wc-shipping-zone-methods.min.js b/assets/js/admin/wc-shipping-zone-methods.min.js index e8a63eb4a03..0fcad420067 100644 --- a/assets/js/admin/wc-shipping-zone-methods.min.js +++ b/assets/js/admin/wc-shipping-zone-methods.min.js @@ -1 +1 @@ -!function(a,b,c,d){a(function(){var e=a(".wc-shipping-zone-methods"),f=a(".wc-shipping-zone-method-rows"),g=a(".wc-shipping-zone-method-save"),h=c.template("wc-shipping-zone-method-row"),i=c.template("wc-shipping-zone-method-row-blank"),j=Backbone.Model.extend({changes:{},logChanges:function(a){var b=this.changes||{};_.each(a,function(a,c){b[c]=_.extend(b[c]||{instance_id:c},a)}),this.changes=b,this.trigger("change:methods")},save:function(){_.size(this.changes)?a.post(d+(d.indexOf("?")>0?"&":"?")+"action=woocommerce_shipping_zone_methods_save_changes",{wc_shipping_zones_nonce:b.wc_shipping_zones_nonce,changes:this.changes,zone_id:b.zone_id},this.onSaveResponse,"json"):l.trigger("saved:methods")},addMethod:function(){_.size(this.changes)&&window.confirm(b.strings.save_changes_prompt)&&this.save(),a.post(d+(d.indexOf("?")>0?"&":"?")+"action=woocommerce_shipping_zone_add_method",{wc_shipping_zones_nonce:b.wc_shipping_zones_nonce,method_id:a('select[name="add_method_id"]').val(),zone_id:b.zone_id},this.onAddResponse,"json")},onSaveResponse:function(a,c){"success"===c&&(a.success?(l.set("methods",a.data.methods),l.trigger("change:methods"),l.changes={},l.trigger("saved:methods")):window.alert(b.strings.save_failed))},onAddResponse:function(a,c){"success"===c&&(a.success&&a.data.instance_id?(l.set("methods",a.data.methods),l.trigger("change:methods"),l.changes={},l.trigger("saved:methods")):window.alert(b.strings.add_method_failed))}}),k=Backbone.View.extend({rowTemplate:h,initialize:function(){this.listenTo(this.model,"change:methods",this.setUnloadConfirmation),this.listenTo(this.model,"saved:methods",this.clearUnloadConfirmation),this.listenTo(this.model,"saved:methods",this.render),f.on("change",{view:this},this.updateModelOnChange),f.on("sortupdate",{view:this},this.updateModelOnSort),a(window).on("beforeunload",{view:this},this.unloadConfirmation),g.on("click",{view:this},this.onSubmit),a(".wc-shipping-zone-add-method").on("click",{view:this},this.onAdd),a(document.body).on("click",".wc-shipping-zone-method-settings",{view:this},this.onConfigureShippingMethod),a(document.body).on("wc_backbone_modal_response",this.onConfigureShippingMethodSubmitted)},block:function(){a(this.el).block({message:null,overlayCSS:{background:"#fff",opacity:.6}})},unblock:function(){a(this.el).unblock()},render:function(){var c=_.indexBy(this.model.get("methods"),"instance_id"),d=this;this.$el.empty(),this.unblock(),_.size(c)?(c=_.sortBy(c,function(a){return parseInt(a.method_order,10)}),a.each(c,function(a,c){"yes"===c.enabled?c.enabled_icon=''+b.strings.yes+"":c.enabled_icon=''+b.strings.no+"",d.$el.append(d.rowTemplate(c));var e=d.$el.find('tr[data-id="'+c.instance_id+'"]');c.has_settings||(e.find(".wc-shipping-zone-method-title a").replaceWith(e.find(".wc-shipping-zone-method-title").text()),e.find(".wc-shipping-zone-method-settings").remove())}),this.$el.find(".wc-shipping-zone-method-delete").on("click",{view:this},this.onDeleteRow),this.$el.find(".wc-shipping-zone-method-enabled a").on("click",{view:this},this.onToggleEnabled)):d.$el.append(i),this.initTooltips()},initTooltips:function(){a("#tiptip_holder").removeAttr("style"),a("#tiptip_arrow").removeAttr("style"),a(".tips").tipTip({attribute:"data-tip",fadeIn:50,fadeOut:50,delay:50})},onSubmit:function(a){a.data.view.block(),a.data.view.model.save(),a.preventDefault()},onAdd:function(a){a.data.view.block(),a.data.view.model.addMethod(),a.preventDefault()},onDeleteRow:function(b){var c=b.data.view,d=c.model,e=_.indexBy(d.get("methods"),"instance_id"),f={},g=a(this).closest("tr").data("id");b.preventDefault(),delete e[g],f[g]=_.extend(f[g]||{},{deleted:"deleted"}),d.set("methods",e),d.logChanges(f),c.render()},onToggleEnabled:function(b){var c=b.data.view,d=a(b.target),e=c.model,f=_.indexBy(e.get("methods"),"instance_id"),g=d.closest("tr").data("id"),h="yes"===d.closest("tr").data("enabled")?"no":"yes",i={};b.preventDefault(),f[g].enabled=h,i[g]=_.extend(i[g]||{},{enabled:h}),e.set("methods",f),e.logChanges(i),c.render()},setUnloadConfirmation:function(){this.needsUnloadConfirm=!0,g.removeAttr("disabled")},clearUnloadConfirmation:function(){this.needsUnloadConfirm=!1,g.attr("disabled","disabled")},unloadConfirmation:function(a){return a.data.view.needsUnloadConfirm?(a.returnValue=b.strings.unload_confirmation_msg,window.event.returnValue=b.strings.unload_confirmation_msg,b.strings.unload_confirmation_msg):void 0},updateModelOnChange:function(b){var c=b.data.view.model,d=a(b.target),e=d.closest("tr").data("id"),f=d.data("attribute"),g=d.val(),h=_.indexBy(c.get("methods"),"instance_id"),i={};h[e][f]!==g&&(i[e]={},i[e][f]=g,h[e][f]=g),c.logChanges(i)},updateModelOnSort:function(a){var b=a.data.view,c=b.model,d=_.indexBy(c.get("methods"),"instance_id"),f={};_.each(d,function(a){var b=parseInt(a.method_order,10),c=parseInt(e.find('tr[data-id="'+a.instance_id+'"]').index()+1,10);b!==c&&(f[a.instance_id]=_.extend(f[a.instance_id]||{},{method_order:c}))}),_.size(f)&&c.logChanges(f)},onConfigureShippingMethod:function(b){var c=a(this).closest("tr").data("id"),d=b.data.view.model,e=_.indexBy(d.get("methods"),"instance_id"),f=e[c];return f.settings_html?(b.preventDefault(),a(this).WCBackboneModal({template:"wc-modal-shipping-method-settings",variable:{instance_id:c,method:f},data:{instance_id:c,method:f}}),void a(document.body).trigger("init_tooltips")):!0},onConfigureShippingMethodSubmitted:function(c,e,f){"wc-modal-shipping-method-settings"===e&&(m.block(),a.post(d+(d.indexOf("?")>0?"&":"?")+"action=woocommerce_shipping_zone_methods_save_settings",{wc_shipping_zones_nonce:b.wc_shipping_zones_nonce,instance_id:f.instance_id,data:f},function(c,d){"success"===d&&c.success?(a("table.wc-shipping-zone-methods").parent().find("#woocommerce_errors").remove(),c.data.errors.length>0&&this.showErrors(c.data.errors),_.size(m.model.changes)?m.model.save():m.model.onSaveResponse(c,d)):(window.alert(b.strings.save_failed),m.unblock())},"json"))},showErrors:function(b){var c='
';a(b).each(function(a,b){c=c+"

"+b+"

"}),c+="
",a("table.wc-shipping-zone-methods").before(c)}}),l=new j({methods:b.methods}),m=new k({model:l,el:f});m.render(),f.sortable({items:"tr",cursor:"move",axis:"y",handle:"td.wc-shipping-zone-method-sort",scrollSensitivity:40})})}(jQuery,shippingZoneMethodsLocalizeScript,wp,ajaxurl); \ No newline at end of file +!function(a,b,c,d){a(function(){var e=a(".wc-shipping-zone-methods"),f=a(".wc-shipping-zone-method-rows"),g=a(".wc-shipping-zone-method-save"),h=c.template("wc-shipping-zone-method-row"),i=c.template("wc-shipping-zone-method-row-blank"),j=Backbone.Model.extend({changes:{},logChanges:function(a){var b=this.changes||{};_.each(a,function(a,c){b[c]=_.extend(b[c]||{instance_id:c},a)}),this.changes=b,this.trigger("change:methods")},save:function(){_.size(this.changes)?a.post(d+(d.indexOf("?")>0?"&":"?")+"action=woocommerce_shipping_zone_methods_save_changes",{wc_shipping_zones_nonce:b.wc_shipping_zones_nonce,changes:this.changes,zone_id:b.zone_id},this.onSaveResponse,"json"):l.trigger("saved:methods")},onSaveResponse:function(a,c){"success"===c&&(a.success?(l.set("methods",a.data.methods),l.trigger("change:methods"),l.changes={},l.trigger("saved:methods")):window.alert(b.strings.save_failed))}}),k=Backbone.View.extend({rowTemplate:h,initialize:function(){this.listenTo(this.model,"change:methods",this.setUnloadConfirmation),this.listenTo(this.model,"saved:methods",this.clearUnloadConfirmation),this.listenTo(this.model,"saved:methods",this.render),f.on("change",{view:this},this.updateModelOnChange),f.on("sortupdate",{view:this},this.updateModelOnSort),a(window).on("beforeunload",{view:this},this.unloadConfirmation),g.on("click",{view:this},this.onSubmit),a(document.body).on("click",".wc-shipping-zone-method-settings",{view:this},this.onConfigureShippingMethod),a(document.body).on("click",".wc-shipping-zone-add-method",{view:this},this.onAddShippingMethod),a(document.body).on("wc_backbone_modal_response",this.onConfigureShippingMethodSubmitted),a(document.body).on("wc_backbone_modal_response",this.onAddShippingMethodSubmitted),a(document.body).on("change",".wc-shipping-zone-method-selector select",this.onChangeShippingMethodSelector)},block:function(){a(this.el).block({message:null,overlayCSS:{background:"#fff",opacity:.6}})},unblock:function(){a(this.el).unblock()},render:function(){var c=_.indexBy(this.model.get("methods"),"instance_id"),d=this;this.$el.empty(),this.unblock(),_.size(c)?(c=_.sortBy(c,function(a){return parseInt(a.method_order,10)}),a.each(c,function(a,c){"yes"===c.enabled?c.enabled_icon=''+b.strings.yes+"":c.enabled_icon=''+b.strings.no+"",d.$el.append(d.rowTemplate(c));var e=d.$el.find('tr[data-id="'+c.instance_id+'"]');c.has_settings||(e.find(".wc-shipping-zone-method-title a").replaceWith(e.find(".wc-shipping-zone-method-title").text()),e.find(".wc-shipping-zone-method-settings").remove())}),this.$el.find(".wc-shipping-zone-method-delete").on("click",{view:this},this.onDeleteRow),this.$el.find(".wc-shipping-zone-method-enabled a").on("click",{view:this},this.onToggleEnabled)):d.$el.append(i),this.initTooltips()},initTooltips:function(){a("#tiptip_holder").removeAttr("style"),a("#tiptip_arrow").removeAttr("style"),a(".tips").tipTip({attribute:"data-tip",fadeIn:50,fadeOut:50,delay:50})},onSubmit:function(a){a.data.view.block(),a.data.view.model.save(),a.preventDefault()},onDeleteRow:function(b){var c=b.data.view,d=c.model,e=_.indexBy(d.get("methods"),"instance_id"),f={},g=a(this).closest("tr").data("id");b.preventDefault(),delete e[g],f[g]=_.extend(f[g]||{},{deleted:"deleted"}),d.set("methods",e),d.logChanges(f),c.render()},onToggleEnabled:function(b){var c=b.data.view,d=a(b.target),e=c.model,f=_.indexBy(e.get("methods"),"instance_id"),g=d.closest("tr").data("id"),h="yes"===d.closest("tr").data("enabled")?"no":"yes",i={};b.preventDefault(),f[g].enabled=h,i[g]=_.extend(i[g]||{},{enabled:h}),e.set("methods",f),e.logChanges(i),c.render()},setUnloadConfirmation:function(){this.needsUnloadConfirm=!0,g.removeAttr("disabled")},clearUnloadConfirmation:function(){this.needsUnloadConfirm=!1,g.attr("disabled","disabled")},unloadConfirmation:function(a){return a.data.view.needsUnloadConfirm?(a.returnValue=b.strings.unload_confirmation_msg,window.event.returnValue=b.strings.unload_confirmation_msg,b.strings.unload_confirmation_msg):void 0},updateModelOnChange:function(b){var c=b.data.view.model,d=a(b.target),e=d.closest("tr").data("id"),f=d.data("attribute"),g=d.val(),h=_.indexBy(c.get("methods"),"instance_id"),i={};h[e][f]!==g&&(i[e]={},i[e][f]=g,h[e][f]=g),c.logChanges(i)},updateModelOnSort:function(a){var b=a.data.view,c=b.model,d=_.indexBy(c.get("methods"),"instance_id"),f={};_.each(d,function(a){var b=parseInt(a.method_order,10),c=parseInt(e.find('tr[data-id="'+a.instance_id+'"]').index()+1,10);b!==c&&(f[a.instance_id]=_.extend(f[a.instance_id]||{},{method_order:c}))}),_.size(f)&&c.logChanges(f)},onConfigureShippingMethod:function(b){var c=a(this).closest("tr").data("id"),d=b.data.view.model,e=_.indexBy(d.get("methods"),"instance_id"),f=e[c];return f.settings_html?(b.preventDefault(),a(this).WCBackboneModal({template:"wc-modal-shipping-method-settings",variable:{instance_id:c,method:f},data:{instance_id:c,method:f}}),void a(document.body).trigger("init_tooltips")):!0},onConfigureShippingMethodSubmitted:function(c,e,f){"wc-modal-shipping-method-settings"===e&&(m.block(),a.post(d+(d.indexOf("?")>0?"&":"?")+"action=woocommerce_shipping_zone_methods_save_settings",{wc_shipping_zones_nonce:b.wc_shipping_zones_nonce,instance_id:f.instance_id,data:f},function(c,d){"success"===d&&c.success?(a("table.wc-shipping-zone-methods").parent().find("#woocommerce_errors").remove(),c.data.errors.length>0&&this.showErrors(c.data.errors),_.size(m.model.changes)?m.model.save():m.model.onSaveResponse(c,d)):(window.alert(b.strings.save_failed),m.unblock())},"json"))},showErrors:function(b){var c='
';a(b).each(function(a,b){c=c+"

"+b+"

"}),c+="
",a("table.wc-shipping-zone-methods").before(c)},onAddShippingMethod:function(c){c.preventDefault(),a(this).WCBackboneModal({template:"wc-modal-add-shipping-method",variable:{zone_id:b.zone_id}}),a(".wc-shipping-zone-method-selector select").change()},onAddShippingMethodSubmitted:function(c,e,f){"wc-modal-add-shipping-method"===e&&(m.block(),a.post(d+(d.indexOf("?")>0?"&":"?")+"action=woocommerce_shipping_zone_add_method",{wc_shipping_zones_nonce:b.wc_shipping_zones_nonce,method_id:f.add_method_id,zone_id:b.zone_id},function(a,b){"success"===b&&a.success&&(_.size(m.model.changes)?m.model.save():(m.model.set("methods",a.data.methods),m.model.trigger("change:methods"),m.model.changes={},m.model.trigger("saved:methods"))),m.unblock()},"json"))},onChangeShippingMethodSelector:function(){var b=a(this).find("option:selected").data("description");a(this).parent().find(".wc-shipping-zone-method-description").remove(),a(this).after('

'+b+"

"),a(this).closest("article").height(a(this).parent().height())}}),l=new j({methods:b.methods}),m=new k({model:l,el:f});m.render(),f.sortable({items:"tr",cursor:"move",axis:"y",handle:"td.wc-shipping-zone-method-sort",scrollSensitivity:40})})}(jQuery,shippingZoneMethodsLocalizeScript,wp,ajaxurl); \ No newline at end of file diff --git a/assets/js/admin/wc-shipping-zones.js b/assets/js/admin/wc-shipping-zones.js index e25a46f2e3e..a5cb90fcfe8 100644 --- a/assets/js/admin/wc-shipping-zones.js +++ b/assets/js/admin/wc-shipping-zones.js @@ -28,6 +28,31 @@ this.changes = changes; this.trigger( 'change:zones' ); }, + discardChanges: function( id ) { + var changes = this.changes || {}, + set_position = null, + zones = _.indexBy( this.get( 'zones' ), 'zone_id' ); + + // Find current set position if it has moved since last save + if ( changes[ id ] && changes[ id ].zone_order !== undefined ) { + set_position = changes[ id ].zone_order; + } + + // Delete all changes + delete changes[ id ]; + + // If the position was set, and this zone does exist in DB, set the position again so the changes are not lost. + if ( set_position !== null && zones[ id ] && zones[ id ].zone_order !== set_position ) { + changes[ id ] = _.extend( changes[ id ] || {}, { zone_id : id, zone_order : set_position } ); + } + + this.changes = changes; + + // No changes? Disable save button. + if ( 0 === _.size( this.changes ) ) { + shippingZoneView.clearUnloadConfirmation(); + } + }, save: function() { if ( _.size( this.changes ) ) { $.post( ajaxurl + ( ajaxurl.indexOf( '?' ) > 0 ? '&' : '?' ) + 'action=woocommerce_shipping_zones_save_changes', { @@ -63,7 +88,7 @@ $tbody.on( 'sortupdate', { view: this }, this.updateModelOnSort ); $( window ).on( 'beforeunload', { view: this }, this.unloadConfirmation ); $save_button.on( 'click', { view: this }, this.onSubmit ); - $( document.body ).on( 'click', '.add_shipping_method', { view: this }, this.onAddShippingMethod ); + $( document.body ).on( 'click', '.add_shipping_method:not(.disabled)', { view: this }, this.onAddShippingMethod ); $( document.body ).on( 'click', '.wc-shipping-zone-add', { view: this }, this.onAddNewRow ); $( document.body ).on( 'click', '.wc-shipping-zone-save-changes', { view: this }, this.onSubmit ); $( document.body ).on( 'wc_backbone_modal_response', this.onAddShippingMethodSubmitted ); @@ -82,11 +107,11 @@ $( this.el ).unblock(); }, render: function() { - var zones = _.indexBy( this.model.get( 'zones' ), 'zone_id' ), - view = this; + var zones = _.indexBy( this.model.get( 'zones' ), 'zone_id' ), + view = this; - this.$el.empty(); - this.unblock(); + view.$el.empty(); + view.unblock(); if ( _.size( zones ) ) { // Sort zones @@ -96,56 +121,88 @@ // Populate $tbody with the current zones $.each( zones, function( id, rowData ) { - view.$el.append( view.rowTemplate( rowData ) ); - - var $tr = view.$el.find( 'tr[data-id="' + rowData.zone_id + '"]'); - - // Editing? - if ( rowData.editing ) { - $tr.addClass( 'editing' ); - } - - // Select values in region select - _.each( rowData.zone_locations, function( location ) { - if ( 'postcode' === location.type ) { - var postcode_field = $tr.find( '.wc-shipping-zone-postcodes :input' ); - - if ( postcode_field.val() ) { - postcode_field.val( postcode_field.val() + '\n' + location.code ); - } else { - postcode_field.val( location.code ); - } - $tr.find( '.wc-shipping-zone-postcodes' ).show(); - $tr.find( '.wc-shipping-zone-postcodes-toggle' ).hide(); - } else { - $tr.find( 'option[value="' + location.type + ':' + location.code + '"]' ).prop( 'selected', true ); - } - } ); - - // List shipping methods - view.renderShippingMethods( rowData.zone_id, rowData.shipping_methods ); + view.renderRow( rowData ); } ); - // Make the rows function - this.$el.find('.view').show(); - this.$el.find('.edit').hide(); - this.$el.find('.wc-shipping-zone-save-changes-notice').hide(); - this.$el.find( '.wc-shipping-zone-edit' ).on( 'click', { view: this }, this.onEditRow ); - this.$el.find( '.wc-shipping-zone-delete' ).on( 'click', { view: this }, this.onDeleteRow ); - this.$el.find( '.wc-shipping-zone-postcodes-toggle' ).on( 'click', { view: this }, this.onTogglePostcodes ); - this.$el.find('.editing .wc-shipping-zone-edit').trigger('click'); - - // Stripe - if ( 0 === _.size( zones ) % 2) { - $table.find( 'tbody.wc-shipping-zone-rows' ).next( 'tbody' ).find( 'tr' ).addClass( 'odd' ); - } else { - $table.find( 'tbody.wc-shipping-zone-rows' ).next( 'tbody' ).find( 'tr' ).removeClass( 'odd' ); - } } else { view.$el.append( $blank_template ); } - this.initTooltips(); + view.initRows(); + }, + renderRow: function( rowData ) { + var view = this; + view.$el.append( view.rowTemplate( rowData ) ); + view.initRow( rowData ); + }, + initRow: function( rowData ) { + var view = this; + var $tr = view.$el.find( 'tr[data-id="' + rowData.zone_id + '"]'); + + // Select values in region select + _.each( rowData.zone_locations, function( location ) { + if ( 'string' === jQuery.type( location ) ) { + $tr.find( 'option[value="' + location + '"]' ).prop( 'selected', true ); + } else { + if ( 'postcode' === location.type ) { + var postcode_field = $tr.find( '.wc-shipping-zone-postcodes :input' ); + + if ( postcode_field.val() ) { + postcode_field.val( postcode_field.val() + '\n' + location.code ); + } else { + postcode_field.val( location.code ); + } + $tr.find( '.wc-shipping-zone-postcodes' ).show(); + $tr.find( '.wc-shipping-zone-postcodes-toggle' ).hide(); + } else { + $tr.find( 'option[value="' + location.type + ':' + location.code + '"]' ).prop( 'selected', true ); + } + } + } ); + + if ( rowData.zone_postcodes ) { + _.each( rowData.zone_postcodes, function( location ) { + var postcode_field = $tr.find( '.wc-shipping-zone-postcodes :input' ); + + if ( postcode_field.val() ) { + postcode_field.val( postcode_field.val() + '\n' + location.code ); + } else { + postcode_field.val( location.code ); + } + $tr.find( '.wc-shipping-zone-postcodes' ).show(); + $tr.find( '.wc-shipping-zone-postcodes-toggle' ).hide(); + } ); + } + + // List shipping methods + view.renderShippingMethods( rowData.zone_id, rowData.shipping_methods ); + + // Make the row function + $tr.find( '.view' ).show(); + $tr.find( '.edit' ).hide(); + $tr.find( '.wc-shipping-zone-edit' ).on( 'click', { view: this }, this.onEditRow ); + $tr.find( '.wc-shipping-zone-cancel-edit' ).on( 'click', { view: this }, this.onCancelEditRow ); + $tr.find( '.wc-shipping-zone-delete' ).on( 'click', { view: this }, this.onDeleteRow ); + $tr.find( '.wc-shipping-zone-postcodes-toggle' ).on( 'click', { view: this }, this.onTogglePostcodes ); + + // Editing? + if ( true === rowData.editing ) { + $tr.addClass( 'editing' ); + $tr.find( '.wc-shipping-zone-edit' ).trigger( 'click' ); + } + }, + initRows: function() { + // Stripe + if ( 0 === ( $( 'tbody.wc-shipping-zone-rows tr' ).length % 2 ) ) { + $table.find( 'tbody.wc-shipping-zone-rows' ).next( 'tbody' ).find( 'tr' ).addClass( 'odd' ); + } else { + $table.find( 'tbody.wc-shipping-zone-rows' ).next( 'tbody' ).find( 'tr' ).removeClass( 'odd' ); + } + + // Tooltips + $( '#tiptip_holder' ).removeAttr( 'style' ); + $( '#tiptip_arrow' ).removeAttr( 'style' ); + $( '.tips' ).tipTip({ 'attribute': 'data-tip', 'fadeIn': 50, 'fadeOut': 50, 'delay': 50 }); }, renderShippingMethods: function( zone_id, shipping_methods ) { var $tr = $( '.wc-shipping-zones tr[data-id="' + zone_id + '"]'); @@ -163,14 +220,10 @@ $method_list.prepend( '
  • ' + shipping_method.title + '
  • ' ); } ); - + } else { + $method_list.prepend( '
  • ' ); } }, - initTooltips: function() { - $( '#tiptip_holder' ).removeAttr( 'style' ); - $( '#tiptip_arrow' ).removeAttr( 'style' ); - $( '.tips' ).tipTip({ 'attribute': 'data-tip', 'fadeIn': 50, 'fadeOut': 50, 'delay': 50 }); - }, onSubmit: function( event ) { event.data.view.block(); event.data.view.model.save(); @@ -185,8 +238,9 @@ changes = {}, size = _.size( zones ), newRow = _.extend( {}, data.default_zone, { - zone_id: 'new-' + size + '-' + Date.now(), - editing: true + zone_id : 'new-' + size + '-' + Date.now(), + zone_name: data.strings.default_zone_name, + editing : true } ); newRow.zone_order = 1 + _.max( @@ -197,13 +251,11 @@ } ); - zones[ newRow.zone_id ] = newRow; changes[ newRow.zone_id ] = newRow; - model.set( 'zones', zones ); model.logChanges( changes ); - - view.render(); + view.renderRow( newRow ); + view.initRows(); }, onTogglePostcodes: function( event ) { event.preventDefault(); @@ -213,37 +265,63 @@ }, onEditRow: function( event ) { event.preventDefault(); - $( this ).closest('tr').addClass('editing'); + event.data.view.model.trigger( 'change:zones' ); + $( this ).closest('tr').addClass( 'editing' ); $( this ).closest('tr').find('.view').hide(); $( this ).closest('tr').find('.edit').show(); $( '.wc-shipping-zone-region-select:not(.enhanced)' ).select2( select2_args ); $( '.wc-shipping-zone-region-select:not(.enhanced)' ).addClass('enhanced'); - $( this ).closest('tr').find('.add_shipping_method').attr( 'disabled', 'disabled' ).addClass( 'tips' ); - event.data.view.initTooltips(); - event.data.view.model.trigger( 'change:zones' ); + + var addShippingMethod = $( this ).closest('tr').find('.add_shipping_method'); + addShippingMethod.addClass( 'disabled' ); + addShippingMethod.tipTip({ 'attribute': 'data-disabled-tip', 'fadeIn': 50, 'fadeOut': 50, 'delay': 50 }); + }, + onCancelEditRow: function( event ) { + var view = event.data.view, + model = view.model, + row = $( this ).closest('tr'), + zone_id = row.data('id'), + zones = _.indexBy( model.get( 'zones' ), 'zone_id' ); + + event.preventDefault(); + model.discardChanges( zone_id ); + + if ( zones[ zone_id ] ) { + zones[ zone_id ].editing = false; + row.after( view.rowTemplate( zones[ zone_id ] ) ); + view.initRow( zones[ zone_id ] ); + } + + row.remove(); + view.initRows(); }, onDeleteRow: function( event ) { var view = event.data.view, model = view.model, zones = _.indexBy( model.get( 'zones' ), 'zone_id' ), changes = {}, + row = $( this ).closest('tr'), zone_id = $( this ).closest('tr').data('id'); event.preventDefault(); - delete zones[ zone_id ]; - changes[ zone_id ] = _.extend( changes[ zone_id ] || {}, { deleted : 'deleted' } ); - model.set( 'zones', zones ); - model.logChanges( changes ); - view.render(); + if ( zones[ zone_id ] ) { + delete zones[ zone_id ]; + changes[ zone_id ] = _.extend( changes[ zone_id ] || {}, { deleted : 'deleted' } ); + model.set( 'zones', zones ); + model.logChanges( changes ); + } + + row.remove(); + view.initRows(); }, setUnloadConfirmation: function() { this.needsUnloadConfirm = true; - $save_button.removeAttr( 'disabled' ); + $save_button.prop( 'disabled', false ); }, clearUnloadConfirmation: function() { this.needsUnloadConfirm = false; - $save_button.attr( 'disabled', 'disabled' ); + $save_button.prop( 'disabled', true ); }, unloadConfirmation: function( event ) { if ( event.data.view.needsUnloadConfirm ) { @@ -261,26 +339,32 @@ zones = _.indexBy( model.get( 'zones' ), 'zone_id' ), changes = {}; - if ( zones[ zone_id ][ attribute ] !== value ) { + if ( ! zones[ zone_id ] || zones[ zone_id ][ attribute ] !== value ) { changes[ zone_id ] = {}; changes[ zone_id ][ attribute ] = value; - zones[ zone_id ][ attribute ] = value; } model.logChanges( changes ); }, updateModelOnSort: function( event ) { - var view = event.data.view, - model = view.model, - zones = _.indexBy( model.get( 'zones' ), 'zone_id' ), - changes = {}; + var view = event.data.view, + model = view.model, + zones = _.indexBy( model.get( 'zones' ), 'zone_id' ), + rows = $( 'tbody.wc-shipping-zone-rows tr' ), + changes = {}; - _.each( zones, function( zone ) { - var old_position = parseInt( zone.zone_order, 10 ); - var new_position = parseInt( $table.find( 'tr[data-id="' + zone.zone_id + '"]').index(), 10 ); + // Update sorted row position + _.each( rows, function( row ) { + var zone_id = $( row ).data( 'id' ), + old_position = null, + new_position = parseInt( $( row ).index(), 10 ); + + if ( zones[ zone_id ] ) { + old_position = parseInt( zones[ zone_id ].zone_order, 10 ); + } if ( old_position !== new_position ) { - changes[ zone.zone_id ] = _.extend( changes[ zone.zone_id ] || {}, { zone_order : new_position } ); + changes[ zone_id ] = _.extend( changes[ zone_id ] || {}, { zone_order : new_position } ); } } ); diff --git a/assets/js/admin/wc-shipping-zones.min.js b/assets/js/admin/wc-shipping-zones.min.js index 90dc8bc56cb..e89f2c3b156 100644 --- a/assets/js/admin/wc-shipping-zones.min.js +++ b/assets/js/admin/wc-shipping-zones.min.js @@ -1 +1 @@ -!function(a,b,c,d){a(function(){function e(){var a={formatMatches:function(a){return 1===a?wc_enhanced_select_params.i18n_matches_1:wc_enhanced_select_params.i18n_matches_n.replace("%qty%",a)},formatNoMatches:function(){return wc_enhanced_select_params.i18n_no_matches},formatAjaxError:function(){return wc_enhanced_select_params.i18n_ajax_error},formatInputTooShort:function(a,b){var c=b-a.length;return 1===c?wc_enhanced_select_params.i18n_input_too_short_1:wc_enhanced_select_params.i18n_input_too_short_n.replace("%qty%",c)},formatInputTooLong:function(a,b){var c=a.length-b;return 1===c?wc_enhanced_select_params.i18n_input_too_long_1:wc_enhanced_select_params.i18n_input_too_long_n.replace("%qty%",c)},formatSelectionTooBig:function(a){return 1===a?wc_enhanced_select_params.i18n_selection_too_long_1:wc_enhanced_select_params.i18n_selection_too_long_n.replace("%qty%",a)},formatLoadMore:function(){return wc_enhanced_select_params.i18n_load_more},formatSearching:function(){return wc_enhanced_select_params.i18n_searching}};return a}var f=a(".wc-shipping-zones"),g=a(".wc-shipping-zone-rows"),h=a(".wc-shipping-zone-save"),i=c.template("wc-shipping-zone-row"),j=c.template("wc-shipping-zone-row-blank"),k=a.extend({minimumResultsForSearch:10,allowClear:!!a(this).data("allow_clear"),placeholder:a(this).data("placeholder"),matcher:function(a,b,c){return b.toUpperCase().indexOf(a.toUpperCase())>=0||c.attr("alt").toUpperCase().indexOf(a.toUpperCase())>=0}},e()),l=Backbone.Model.extend({changes:{},logChanges:function(a){var b=this.changes||{};_.each(a,function(a,c){b[c]=_.extend(b[c]||{zone_id:c},a)}),this.changes=b,this.trigger("change:zones")},save:function(){_.size(this.changes)?a.post(d+(d.indexOf("?")>0?"&":"?")+"action=woocommerce_shipping_zones_save_changes",{wc_shipping_zones_nonce:b.wc_shipping_zones_nonce,changes:this.changes},this.onSaveResponse,"json"):n.trigger("saved:zones")},onSaveResponse:function(a,c){"success"===c&&(a.success?(n.set("zones",a.data.zones),n.trigger("change:zones"),n.changes={},n.trigger("saved:zones")):window.alert(b.strings.save_failed))}}),m=Backbone.View.extend({rowTemplate:i,initialize:function(){this.listenTo(this.model,"change:zones",this.setUnloadConfirmation),this.listenTo(this.model,"saved:zones",this.clearUnloadConfirmation),this.listenTo(this.model,"saved:zones",this.render),g.on("change",{view:this},this.updateModelOnChange),g.on("sortupdate",{view:this},this.updateModelOnSort),a(window).on("beforeunload",{view:this},this.unloadConfirmation),h.on("click",{view:this},this.onSubmit),a(document.body).on("click",".add_shipping_method",{view:this},this.onAddShippingMethod),a(document.body).on("click",".wc-shipping-zone-add",{view:this},this.onAddNewRow),a(document.body).on("click",".wc-shipping-zone-save-changes",{view:this},this.onSubmit),a(document.body).on("wc_backbone_modal_response",this.onAddShippingMethodSubmitted),a(document.body).on("change",".wc-shipping-zone-method-selector select",this.onChangeShippingMethodSelector)},block:function(){a(this.el).block({message:null,overlayCSS:{background:"#fff",opacity:.6}})},unblock:function(){a(this.el).unblock()},render:function(){var b=_.indexBy(this.model.get("zones"),"zone_id"),c=this;this.$el.empty(),this.unblock(),_.size(b)?(b=_.sortBy(b,function(a){return parseInt(a.zone_order,10)}),a.each(b,function(a,b){c.$el.append(c.rowTemplate(b));var d=c.$el.find('tr[data-id="'+b.zone_id+'"]');b.editing&&d.addClass("editing"),_.each(b.zone_locations,function(a){if("postcode"===a.type){var b=d.find(".wc-shipping-zone-postcodes :input");b.val()?b.val(b.val()+"\n"+a.code):b.val(a.code),d.find(".wc-shipping-zone-postcodes").show(),d.find(".wc-shipping-zone-postcodes-toggle").hide()}else d.find('option[value="'+a.type+":"+a.code+'"]').prop("selected",!0)}),c.renderShippingMethods(b.zone_id,b.shipping_methods)}),this.$el.find(".view").show(),this.$el.find(".edit").hide(),this.$el.find(".wc-shipping-zone-save-changes-notice").hide(),this.$el.find(".wc-shipping-zone-edit").on("click",{view:this},this.onEditRow),this.$el.find(".wc-shipping-zone-delete").on("click",{view:this},this.onDeleteRow),this.$el.find(".wc-shipping-zone-postcodes-toggle").on("click",{view:this},this.onTogglePostcodes),this.$el.find(".editing .wc-shipping-zone-edit").trigger("click"),0===_.size(b)%2?f.find("tbody.wc-shipping-zone-rows").next("tbody").find("tr").addClass("odd"):f.find("tbody.wc-shipping-zone-rows").next("tbody").find("tr").removeClass("odd")):c.$el.append(j),this.initTooltips()},renderShippingMethods:function(b,c){var d=a('.wc-shipping-zones tr[data-id="'+b+'"]'),e=d.find(".wc-shipping-zone-methods ul");e.find(".wc-shipping-zone-method").remove(),_.size(c)&&_.each(c,function(a,b){var c="method_disabled";"yes"===a.enabled&&(c="method_enabled"),e.prepend('
  • '+a.title+"
  • ")})},initTooltips:function(){a("#tiptip_holder").removeAttr("style"),a("#tiptip_arrow").removeAttr("style"),a(".tips").tipTip({attribute:"data-tip",fadeIn:50,fadeOut:50,delay:50})},onSubmit:function(a){a.data.view.block(),a.data.view.model.save(),a.preventDefault()},onAddNewRow:function(a){a.preventDefault();var c=a.data.view,d=c.model,e=_.indexBy(d.get("zones"),"zone_id"),f={},g=_.size(e),h=_.extend({},b.default_zone,{zone_id:"new-"+g+"-"+Date.now(),editing:!0});h.zone_order=1+_.max(_.pluck(e,"zone_order"),function(a){return parseInt(a,10)}),e[h.zone_id]=h,f[h.zone_id]=h,d.set("zones",e),d.logChanges(f),c.render()},onTogglePostcodes:function(b){b.preventDefault();var c=a(this).closest("tr");c.find(".wc-shipping-zone-postcodes").show(),c.find(".wc-shipping-zone-postcodes-toggle").hide()},onEditRow:function(b){b.preventDefault(),a(this).closest("tr").addClass("editing"),a(this).closest("tr").find(".view").hide(),a(this).closest("tr").find(".edit").show(),a(".wc-shipping-zone-region-select:not(.enhanced)").select2(k),a(".wc-shipping-zone-region-select:not(.enhanced)").addClass("enhanced"),a(this).closest("tr").find(".add_shipping_method").attr("disabled","disabled").addClass("tips"),b.data.view.initTooltips(),b.data.view.model.trigger("change:zones")},onDeleteRow:function(b){var c=b.data.view,d=c.model,e=_.indexBy(d.get("zones"),"zone_id"),f={},g=a(this).closest("tr").data("id");b.preventDefault(),delete e[g],f[g]=_.extend(f[g]||{},{deleted:"deleted"}),d.set("zones",e),d.logChanges(f),c.render()},setUnloadConfirmation:function(){this.needsUnloadConfirm=!0,h.removeAttr("disabled")},clearUnloadConfirmation:function(){this.needsUnloadConfirm=!1,h.attr("disabled","disabled")},unloadConfirmation:function(a){return a.data.view.needsUnloadConfirm?(a.returnValue=b.strings.unload_confirmation_msg,window.event.returnValue=b.strings.unload_confirmation_msg,b.strings.unload_confirmation_msg):void 0},updateModelOnChange:function(b){var c=b.data.view.model,d=a(b.target),e=d.closest("tr").data("id"),f=d.data("attribute"),g=d.val(),h=_.indexBy(c.get("zones"),"zone_id"),i={};h[e][f]!==g&&(i[e]={},i[e][f]=g,h[e][f]=g),c.logChanges(i)},updateModelOnSort:function(a){var b=a.data.view,c=b.model,d=_.indexBy(c.get("zones"),"zone_id"),e={};_.each(d,function(a){var b=parseInt(a.zone_order,10),c=parseInt(f.find('tr[data-id="'+a.zone_id+'"]').index(),10);b!==c&&(e[a.zone_id]=_.extend(e[a.zone_id]||{},{zone_order:c}))}),_.size(e)&&c.logChanges(e)},onAddShippingMethod:function(b){var c=a(this).closest("tr").data("id");b.preventDefault(),a(this).WCBackboneModal({template:"wc-modal-add-shipping-method",variable:{zone_id:c}}),a(".wc-shipping-zone-method-selector select").change()},onAddShippingMethodSubmitted:function(c,e,f){"wc-modal-add-shipping-method"===e&&(o.block(),a.post(d+(d.indexOf("?")>0?"&":"?")+"action=woocommerce_shipping_zone_add_method",{wc_shipping_zones_nonce:b.wc_shipping_zones_nonce,method_id:f.add_method_id,zone_id:f.zone_id},function(a,b){"success"===b&&a.success&&o.renderShippingMethods(f.zone_id,a.data.methods),o.unblock()},"json"))},onChangeShippingMethodSelector:function(){var b=a(this).find("option:selected").data("description");a(this).parent().find(".wc-shipping-zone-method-description").remove(),a(this).after('

    '+b+"

    "),a(this).closest("article").height(a(this).parent().height())}}),n=new l({zones:b.zones}),o=new m({model:n,el:g});o.render(),g.sortable({items:"tr",cursor:"move",axis:"y",handle:"td.wc-shipping-zone-sort",scrollSensitivity:40})})}(jQuery,shippingZonesLocalizeScript,wp,ajaxurl); \ No newline at end of file +!function(a,b,c,d){a(function(){function e(){var a={formatMatches:function(a){return 1===a?wc_enhanced_select_params.i18n_matches_1:wc_enhanced_select_params.i18n_matches_n.replace("%qty%",a)},formatNoMatches:function(){return wc_enhanced_select_params.i18n_no_matches},formatAjaxError:function(){return wc_enhanced_select_params.i18n_ajax_error},formatInputTooShort:function(a,b){var c=b-a.length;return 1===c?wc_enhanced_select_params.i18n_input_too_short_1:wc_enhanced_select_params.i18n_input_too_short_n.replace("%qty%",c)},formatInputTooLong:function(a,b){var c=a.length-b;return 1===c?wc_enhanced_select_params.i18n_input_too_long_1:wc_enhanced_select_params.i18n_input_too_long_n.replace("%qty%",c)},formatSelectionTooBig:function(a){return 1===a?wc_enhanced_select_params.i18n_selection_too_long_1:wc_enhanced_select_params.i18n_selection_too_long_n.replace("%qty%",a)},formatLoadMore:function(){return wc_enhanced_select_params.i18n_load_more},formatSearching:function(){return wc_enhanced_select_params.i18n_searching}};return a}var f=a(".wc-shipping-zones"),g=a(".wc-shipping-zone-rows"),h=a(".wc-shipping-zone-save"),i=c.template("wc-shipping-zone-row"),j=c.template("wc-shipping-zone-row-blank"),k=a.extend({minimumResultsForSearch:10,allowClear:!!a(this).data("allow_clear"),placeholder:a(this).data("placeholder"),matcher:function(a,b,c){return b.toUpperCase().indexOf(a.toUpperCase())>=0||c.attr("alt").toUpperCase().indexOf(a.toUpperCase())>=0}},e()),l=Backbone.Model.extend({changes:{},logChanges:function(a){var b=this.changes||{};_.each(a,function(a,c){b[c]=_.extend(b[c]||{zone_id:c},a)}),this.changes=b,this.trigger("change:zones")},discardChanges:function(a){var b=this.changes||{},c=null,d=_.indexBy(this.get("zones"),"zone_id");b[a]&&void 0!==b[a].zone_order&&(c=b[a].zone_order),delete b[a],null!==c&&d[a]&&d[a].zone_order!==c&&(b[a]=_.extend(b[a]||{},{zone_id:a,zone_order:c})),this.changes=b,0===_.size(this.changes)&&o.clearUnloadConfirmation()},save:function(){_.size(this.changes)?a.post(d+(d.indexOf("?")>0?"&":"?")+"action=woocommerce_shipping_zones_save_changes",{wc_shipping_zones_nonce:b.wc_shipping_zones_nonce,changes:this.changes},this.onSaveResponse,"json"):n.trigger("saved:zones")},onSaveResponse:function(a,c){"success"===c&&(a.success?(n.set("zones",a.data.zones),n.trigger("change:zones"),n.changes={},n.trigger("saved:zones")):window.alert(b.strings.save_failed))}}),m=Backbone.View.extend({rowTemplate:i,initialize:function(){this.listenTo(this.model,"change:zones",this.setUnloadConfirmation),this.listenTo(this.model,"saved:zones",this.clearUnloadConfirmation),this.listenTo(this.model,"saved:zones",this.render),g.on("change",{view:this},this.updateModelOnChange),g.on("sortupdate",{view:this},this.updateModelOnSort),a(window).on("beforeunload",{view:this},this.unloadConfirmation),h.on("click",{view:this},this.onSubmit),a(document.body).on("click",".add_shipping_method:not(.disabled)",{view:this},this.onAddShippingMethod),a(document.body).on("click",".wc-shipping-zone-add",{view:this},this.onAddNewRow),a(document.body).on("click",".wc-shipping-zone-save-changes",{view:this},this.onSubmit),a(document.body).on("wc_backbone_modal_response",this.onAddShippingMethodSubmitted),a(document.body).on("change",".wc-shipping-zone-method-selector select",this.onChangeShippingMethodSelector)},block:function(){a(this.el).block({message:null,overlayCSS:{background:"#fff",opacity:.6}})},unblock:function(){a(this.el).unblock()},render:function(){var b=_.indexBy(this.model.get("zones"),"zone_id"),c=this;c.$el.empty(),c.unblock(),_.size(b)?(b=_.sortBy(b,function(a){return parseInt(a.zone_order,10)}),a.each(b,function(a,b){c.renderRow(b)})):c.$el.append(j),c.initRows()},renderRow:function(a){var b=this;b.$el.append(b.rowTemplate(a)),b.initRow(a)},initRow:function(a){var b=this,c=b.$el.find('tr[data-id="'+a.zone_id+'"]');_.each(a.zone_locations,function(a){if("string"===jQuery.type(a))c.find('option[value="'+a+'"]').prop("selected",!0);else if("postcode"===a.type){var b=c.find(".wc-shipping-zone-postcodes :input");b.val()?b.val(b.val()+"\n"+a.code):b.val(a.code),c.find(".wc-shipping-zone-postcodes").show(),c.find(".wc-shipping-zone-postcodes-toggle").hide()}else c.find('option[value="'+a.type+":"+a.code+'"]').prop("selected",!0)}),a.zone_postcodes&&_.each(a.zone_postcodes,function(a){var b=c.find(".wc-shipping-zone-postcodes :input");b.val()?b.val(b.val()+"\n"+a.code):b.val(a.code),c.find(".wc-shipping-zone-postcodes").show(),c.find(".wc-shipping-zone-postcodes-toggle").hide()}),b.renderShippingMethods(a.zone_id,a.shipping_methods),c.find(".view").show(),c.find(".edit").hide(),c.find(".wc-shipping-zone-edit").on("click",{view:this},this.onEditRow),c.find(".wc-shipping-zone-cancel-edit").on("click",{view:this},this.onCancelEditRow),c.find(".wc-shipping-zone-delete").on("click",{view:this},this.onDeleteRow),c.find(".wc-shipping-zone-postcodes-toggle").on("click",{view:this},this.onTogglePostcodes),!0===a.editing&&(c.addClass("editing"),c.find(".wc-shipping-zone-edit").trigger("click"))},initRows:function(){0===a("tbody.wc-shipping-zone-rows tr").length%2?f.find("tbody.wc-shipping-zone-rows").next("tbody").find("tr").addClass("odd"):f.find("tbody.wc-shipping-zone-rows").next("tbody").find("tr").removeClass("odd"),a("#tiptip_holder").removeAttr("style"),a("#tiptip_arrow").removeAttr("style"),a(".tips").tipTip({attribute:"data-tip",fadeIn:50,fadeOut:50,delay:50})},renderShippingMethods:function(b,c){var d=a('.wc-shipping-zones tr[data-id="'+b+'"]'),e=d.find(".wc-shipping-zone-methods ul");e.find(".wc-shipping-zone-method").remove(),_.size(c)?_.each(c,function(a,b){var c="method_disabled";"yes"===a.enabled&&(c="method_enabled"),e.prepend('
  • '+a.title+"
  • ")}):e.prepend('
  • ')},onSubmit:function(a){a.data.view.block(),a.data.view.model.save(),a.preventDefault()},onAddNewRow:function(a){a.preventDefault();var c=a.data.view,d=c.model,e=_.indexBy(d.get("zones"),"zone_id"),f={},g=_.size(e),h=_.extend({},b.default_zone,{zone_id:"new-"+g+"-"+Date.now(),zone_name:b.strings.default_zone_name,editing:!0});h.zone_order=1+_.max(_.pluck(e,"zone_order"),function(a){return parseInt(a,10)}),f[h.zone_id]=h,d.logChanges(f),c.renderRow(h),c.initRows()},onTogglePostcodes:function(b){b.preventDefault();var c=a(this).closest("tr");c.find(".wc-shipping-zone-postcodes").show(),c.find(".wc-shipping-zone-postcodes-toggle").hide()},onEditRow:function(b){b.preventDefault(),b.data.view.model.trigger("change:zones"),a(this).closest("tr").addClass("editing"),a(this).closest("tr").find(".view").hide(),a(this).closest("tr").find(".edit").show(),a(".wc-shipping-zone-region-select:not(.enhanced)").select2(k),a(".wc-shipping-zone-region-select:not(.enhanced)").addClass("enhanced");var c=a(this).closest("tr").find(".add_shipping_method");c.addClass("disabled"),c.tipTip({attribute:"data-disabled-tip",fadeIn:50,fadeOut:50,delay:50})},onCancelEditRow:function(b){var c=b.data.view,d=c.model,e=a(this).closest("tr"),f=e.data("id"),g=_.indexBy(d.get("zones"),"zone_id");b.preventDefault(),d.discardChanges(f),g[f]&&(g[f].editing=!1,e.after(c.rowTemplate(g[f])),c.initRow(g[f])),e.remove(),c.initRows()},onDeleteRow:function(b){var c=b.data.view,d=c.model,e=_.indexBy(d.get("zones"),"zone_id"),f={},g=a(this).closest("tr"),h=a(this).closest("tr").data("id");b.preventDefault(),e[h]&&(delete e[h],f[h]=_.extend(f[h]||{},{deleted:"deleted"}),d.set("zones",e),d.logChanges(f)),g.remove(),c.initRows()},setUnloadConfirmation:function(){this.needsUnloadConfirm=!0,h.prop("disabled",!1)},clearUnloadConfirmation:function(){this.needsUnloadConfirm=!1,h.prop("disabled",!0)},unloadConfirmation:function(a){return a.data.view.needsUnloadConfirm?(a.returnValue=b.strings.unload_confirmation_msg,window.event.returnValue=b.strings.unload_confirmation_msg,b.strings.unload_confirmation_msg):void 0},updateModelOnChange:function(b){var c=b.data.view.model,d=a(b.target),e=d.closest("tr").data("id"),f=d.data("attribute"),g=d.val(),h=_.indexBy(c.get("zones"),"zone_id"),i={};h[e]&&h[e][f]===g||(i[e]={},i[e][f]=g),c.logChanges(i)},updateModelOnSort:function(b){var c=b.data.view,d=c.model,e=_.indexBy(d.get("zones"),"zone_id"),f=a("tbody.wc-shipping-zone-rows tr"),g={};_.each(f,function(b){var c=a(b).data("id"),d=null,f=parseInt(a(b).index(),10);e[c]&&(d=parseInt(e[c].zone_order,10)),d!==f&&(g[c]=_.extend(g[c]||{},{zone_order:f}))}),_.size(g)&&d.logChanges(g)},onAddShippingMethod:function(b){var c=a(this).closest("tr").data("id");b.preventDefault(),a(this).WCBackboneModal({template:"wc-modal-add-shipping-method",variable:{zone_id:c}}),a(".wc-shipping-zone-method-selector select").change()},onAddShippingMethodSubmitted:function(c,e,f){"wc-modal-add-shipping-method"===e&&(o.block(),a.post(d+(d.indexOf("?")>0?"&":"?")+"action=woocommerce_shipping_zone_add_method",{wc_shipping_zones_nonce:b.wc_shipping_zones_nonce,method_id:f.add_method_id,zone_id:f.zone_id},function(a,b){"success"===b&&a.success&&o.renderShippingMethods(f.zone_id,a.data.methods),o.unblock()},"json"))},onChangeShippingMethodSelector:function(){var b=a(this).find("option:selected").data("description");a(this).parent().find(".wc-shipping-zone-method-description").remove(),a(this).after('

    '+b+"

    "),a(this).closest("article").height(a(this).parent().height())}}),n=new l({zones:b.zones}),o=new m({model:n,el:g});o.render(),g.sortable({items:"tr",cursor:"move",axis:"y",handle:"td.wc-shipping-zone-sort",scrollSensitivity:40})})}(jQuery,shippingZonesLocalizeScript,wp,ajaxurl); \ No newline at end of file diff --git a/assets/js/admin/woocommerce_admin.js b/assets/js/admin/woocommerce_admin.js index 39612252709..9059a6219ce 100644 --- a/assets/js/admin/woocommerce_admin.js +++ b/assets/js/admin/woocommerce_admin.js @@ -56,7 +56,7 @@ jQuery( function ( $ ) { regex = new RegExp( '[^\-0-9\%\\' + woocommerce_admin.mon_decimal_point + ']+', 'gi' ); error = 'i18n_mon_decimal_error'; } else if ( $( this ).is( '.wc_input_country_iso' ) ) { - regex = new RegExp( '^([a-zA-Z])?([a-zA-Z])$' ); + regex = new RegExp( '([^A-Z])+|(.){3,}', 'im' ); error = 'i18n_country_iso_error'; } else { regex = new RegExp( '[^\-0-9\%\\' + woocommerce_admin.decimal_point + ']+', 'gi' ); diff --git a/assets/js/admin/woocommerce_admin.min.js b/assets/js/admin/woocommerce_admin.min.js index cf03634f92b..8da80726906 100644 --- a/assets/js/admin/woocommerce_admin.min.js +++ b/assets/js/admin/woocommerce_admin.min.js @@ -1 +1 @@ -jQuery(function(a){a(document.body).on("wc_add_error_tip",function(b,c,d){var e=c.position();0===c.parent().find(".wc_error_tip").length&&(c.after('
    '+woocommerce_admin[d]+"
    "),c.parent().find(".wc_error_tip").css("left",e.left+c.width()-c.width()/2-a(".wc_error_tip").width()/2).css("top",e.top+c.height()).fadeIn("100"))}).on("wc_remove_error_tip",function(b,c,d){c.parent().find(".wc_error_tip."+d).fadeOut("100",function(){a(this).remove()})}).on("click",function(){a(".wc_error_tip").fadeOut("100",function(){a(this).remove()})}).on("blur",".wc_input_decimal[type=text], .wc_input_price[type=text], .wc_input_country_iso[type=text]",function(){a(".wc_error_tip").fadeOut("100",function(){a(this).remove()})}).on("change",".wc_input_price[type=text], .wc_input_decimal[type=text]",function(){var b;b=a(this).is(".wc_input_price")?new RegExp("[^-0-9%\\"+woocommerce_admin.mon_decimal_point+"]+","gi"):new RegExp("[^-0-9%\\"+woocommerce_admin.decimal_point+"]+","gi");var c=a(this).val(),d=c.replace(b,"");c!==d&&a(this).val(d)}).on("keyup",".wc_input_price[type=text], .wc_input_decimal[type=text], .wc_input_country_iso[type=text]",function(){var b,c;a(this).is(".wc_input_price")?(b=new RegExp("[^-0-9%\\"+woocommerce_admin.mon_decimal_point+"]+","gi"),c="i18n_mon_decimal_error"):a(this).is(".wc_input_country_iso")?(b=new RegExp("^([a-zA-Z])?([a-zA-Z])$"),c="i18n_country_iso_error"):(b=new RegExp("[^-0-9%\\"+woocommerce_admin.decimal_point+"]+","gi"),c="i18n_decimal_error");var d=a(this).val(),e=d.replace(b,"");d!==e?a(document.body).triggerHandler("wc_add_error_tip",[a(this),c]):a(document.body).triggerHandler("wc_remove_error_tip",[a(this),c])}).on("keyup","#_sale_price.wc_input_price[type=text], .wc_input_price[name^=variable_sale_price]",function(){var b,c=a(this);b=-1!==c.attr("name").indexOf("variable")?c.parents(".variable_pricing").find(".wc_input_price[name^=variable_regular_price]"):a("#_regular_price");var d=parseFloat(window.accounting.unformat(c.val(),woocommerce_admin.mon_decimal_point)),e=parseFloat(window.accounting.unformat(b.val(),woocommerce_admin.mon_decimal_point));d>=e?a(document.body).triggerHandler("wc_add_error_tip",[a(this),"i18_sale_less_than_regular_error"]):a(document.body).triggerHandler("wc_remove_error_tip",[a(this),"i18_sale_less_than_regular_error"])}).on("change","#_sale_price.wc_input_price[type=text], .wc_input_price[name^=variable_sale_price]",function(){var b,c=a(this);b=-1!==c.attr("name").indexOf("variable")?c.parents(".variable_pricing").find(".wc_input_price[name^=variable_regular_price]"):a("#_regular_price");var d=parseFloat(window.accounting.unformat(c.val(),woocommerce_admin.mon_decimal_point)),e=parseFloat(window.accounting.unformat(b.val(),woocommerce_admin.mon_decimal_point));d>=e&&a(this).val("")}).on("init_tooltips",function(){var b={attribute:"data-tip",fadeIn:50,fadeOut:50,delay:200};a(".tips, .help_tip, .woocommerce-help-tip").tipTip(b),a(".parent-tips").each(function(){a(this).closest("a, th").attr("data-tip",a(this).data("tip")).tipTip(b).css("cursor","help")})}),a(document.body).trigger("init_tooltips"),a(".wc_input_table.sortable tbody").sortable({items:"tr",cursor:"move",axis:"y",scrollSensitivity:40,forcePlaceholderSize:!0,helper:"clone",opacity:.65,placeholder:"wc-metabox-sortable-placeholder",start:function(a,b){b.item.css("background-color","#f6f6f6")},stop:function(a,b){b.item.removeAttr("style")}}),a(".wc_input_table .remove_rows").click(function(){var b=a(this).closest(".wc_input_table").find("tbody");if(b.find("tr.current").length>0){var c=b.find("tr.current");c.each(function(){a(this).remove()})}return!1});var b=!1,c=!1,d=!1;a(document.body).bind("keyup keydown",function(a){c=a.shiftKey,b=a.ctrlKey||a.metaKey}),a(".wc_input_table").on("focus click","input",function(e){var f=a(this).closest("table, tbody"),g=a(this).closest("tr");("focus"===e.type&&d!==g.index()||"click"===e.type&&a(this).is(":focus"))&&(d=g.index(),c||b?c?(a("tr",f).removeClass("current"),g.addClass("selected_now").addClass("current"),a("tr.last_selected",f).length>0&&(g.index()>a("tr.last_selected",f).index()?a("tr",f).slice(a("tr.last_selected",f).index(),g.index()).addClass("current"):a("tr",f).slice(g.index(),a("tr.last_selected",f).index()+1).addClass("current")),a("tr",f).removeClass("last_selected"),g.addClass("last_selected")):(a("tr",f).removeClass("last_selected"),b&&a(this).closest("tr").is(".current")?g.removeClass("current"):g.addClass("current").addClass("last_selected")):(a("tr",f).removeClass("current").removeClass("last_selected"),g.addClass("current").addClass("last_selected")),a("tr",f).removeClass("selected_now"))}).on("blur","input",function(){d=!1}),a(".woocommerce_page_wc-settings .shippingrows tbody tr:even, table.attributes-table tbody tr:nth-child(odd)").addClass("alternate"),a(document.body).on("click",".show_order_items",function(){return a(this).closest("td").find("table").toggle(),!1}),a("select.availability").change(function(){"all"===a(this).val()?a(this).closest("tr").next("tr").hide():a(this).closest("tr").next("tr").show()}).change(),a(".hide_options_if_checked").each(function(){a(this).find("input:eq(0)").change(function(){a(this).is(":checked")?a(this).closest("fieldset, tr").nextUntil(".hide_options_if_checked, .show_options_if_checked",".hidden_option").hide():a(this).closest("fieldset, tr").nextUntil(".hide_options_if_checked, .show_options_if_checked",".hidden_option").show()}).change()}),a(".show_options_if_checked").each(function(){a(this).find("input:eq(0)").change(function(){a(this).is(":checked")?a(this).closest("fieldset, tr").nextUntil(".hide_options_if_checked, .show_options_if_checked",".hidden_option").show():a(this).closest("fieldset, tr").nextUntil(".hide_options_if_checked, .show_options_if_checked",".hidden_option").hide()}).change()}),a("input#woocommerce_demo_store").change(function(){a(this).is(":checked")?a("#woocommerce_demo_store_notice").closest("tr").show():a("#woocommerce_demo_store_notice").closest("tr").hide()}).change(),a("table.attributes-table tbody tr:nth-child(odd)").addClass("alternate"),a("#contextual-help-link").on("click",function(){var b=a("#tab-panel-woocommerce_101_tab iframe");b.attr("src",b.data("src"))})}); \ No newline at end of file +jQuery(function(a){a(document.body).on("wc_add_error_tip",function(b,c,d){var e=c.position();0===c.parent().find(".wc_error_tip").length&&(c.after('
    '+woocommerce_admin[d]+"
    "),c.parent().find(".wc_error_tip").css("left",e.left+c.width()-c.width()/2-a(".wc_error_tip").width()/2).css("top",e.top+c.height()).fadeIn("100"))}).on("wc_remove_error_tip",function(b,c,d){c.parent().find(".wc_error_tip."+d).fadeOut("100",function(){a(this).remove()})}).on("click",function(){a(".wc_error_tip").fadeOut("100",function(){a(this).remove()})}).on("blur",".wc_input_decimal[type=text], .wc_input_price[type=text], .wc_input_country_iso[type=text]",function(){a(".wc_error_tip").fadeOut("100",function(){a(this).remove()})}).on("change",".wc_input_price[type=text], .wc_input_decimal[type=text]",function(){var b;b=a(this).is(".wc_input_price")?new RegExp("[^-0-9%\\"+woocommerce_admin.mon_decimal_point+"]+","gi"):new RegExp("[^-0-9%\\"+woocommerce_admin.decimal_point+"]+","gi");var c=a(this).val(),d=c.replace(b,"");c!==d&&a(this).val(d)}).on("keyup",".wc_input_price[type=text], .wc_input_decimal[type=text], .wc_input_country_iso[type=text]",function(){var b,c;a(this).is(".wc_input_price")?(b=new RegExp("[^-0-9%\\"+woocommerce_admin.mon_decimal_point+"]+","gi"),c="i18n_mon_decimal_error"):a(this).is(".wc_input_country_iso")?(b=new RegExp("([^A-Z])+|(.){3,}","im"),c="i18n_country_iso_error"):(b=new RegExp("[^-0-9%\\"+woocommerce_admin.decimal_point+"]+","gi"),c="i18n_decimal_error");var d=a(this).val(),e=d.replace(b,"");d!==e?a(document.body).triggerHandler("wc_add_error_tip",[a(this),c]):a(document.body).triggerHandler("wc_remove_error_tip",[a(this),c])}).on("keyup","#_sale_price.wc_input_price[type=text], .wc_input_price[name^=variable_sale_price]",function(){var b,c=a(this);b=-1!==c.attr("name").indexOf("variable")?c.parents(".variable_pricing").find(".wc_input_price[name^=variable_regular_price]"):a("#_regular_price");var d=parseFloat(window.accounting.unformat(c.val(),woocommerce_admin.mon_decimal_point)),e=parseFloat(window.accounting.unformat(b.val(),woocommerce_admin.mon_decimal_point));d>=e?a(document.body).triggerHandler("wc_add_error_tip",[a(this),"i18_sale_less_than_regular_error"]):a(document.body).triggerHandler("wc_remove_error_tip",[a(this),"i18_sale_less_than_regular_error"])}).on("change","#_sale_price.wc_input_price[type=text], .wc_input_price[name^=variable_sale_price]",function(){var b,c=a(this);b=-1!==c.attr("name").indexOf("variable")?c.parents(".variable_pricing").find(".wc_input_price[name^=variable_regular_price]"):a("#_regular_price");var d=parseFloat(window.accounting.unformat(c.val(),woocommerce_admin.mon_decimal_point)),e=parseFloat(window.accounting.unformat(b.val(),woocommerce_admin.mon_decimal_point));d>=e&&a(this).val("")}).on("init_tooltips",function(){var b={attribute:"data-tip",fadeIn:50,fadeOut:50,delay:200};a(".tips, .help_tip, .woocommerce-help-tip").tipTip(b),a(".parent-tips").each(function(){a(this).closest("a, th").attr("data-tip",a(this).data("tip")).tipTip(b).css("cursor","help")})}),a(document.body).trigger("init_tooltips"),a(".wc_input_table.sortable tbody").sortable({items:"tr",cursor:"move",axis:"y",scrollSensitivity:40,forcePlaceholderSize:!0,helper:"clone",opacity:.65,placeholder:"wc-metabox-sortable-placeholder",start:function(a,b){b.item.css("background-color","#f6f6f6")},stop:function(a,b){b.item.removeAttr("style")}}),a(".wc_input_table .remove_rows").click(function(){var b=a(this).closest(".wc_input_table").find("tbody");if(b.find("tr.current").length>0){var c=b.find("tr.current");c.each(function(){a(this).remove()})}return!1});var b=!1,c=!1,d=!1;a(document.body).bind("keyup keydown",function(a){c=a.shiftKey,b=a.ctrlKey||a.metaKey}),a(".wc_input_table").on("focus click","input",function(e){var f=a(this).closest("table, tbody"),g=a(this).closest("tr");("focus"===e.type&&d!==g.index()||"click"===e.type&&a(this).is(":focus"))&&(d=g.index(),c||b?c?(a("tr",f).removeClass("current"),g.addClass("selected_now").addClass("current"),a("tr.last_selected",f).length>0&&(g.index()>a("tr.last_selected",f).index()?a("tr",f).slice(a("tr.last_selected",f).index(),g.index()).addClass("current"):a("tr",f).slice(g.index(),a("tr.last_selected",f).index()+1).addClass("current")),a("tr",f).removeClass("last_selected"),g.addClass("last_selected")):(a("tr",f).removeClass("last_selected"),b&&a(this).closest("tr").is(".current")?g.removeClass("current"):g.addClass("current").addClass("last_selected")):(a("tr",f).removeClass("current").removeClass("last_selected"),g.addClass("current").addClass("last_selected")),a("tr",f).removeClass("selected_now"))}).on("blur","input",function(){d=!1}),a(".woocommerce_page_wc-settings .shippingrows tbody tr:even, table.attributes-table tbody tr:nth-child(odd)").addClass("alternate"),a(document.body).on("click",".show_order_items",function(){return a(this).closest("td").find("table").toggle(),!1}),a("select.availability").change(function(){"all"===a(this).val()?a(this).closest("tr").next("tr").hide():a(this).closest("tr").next("tr").show()}).change(),a(".hide_options_if_checked").each(function(){a(this).find("input:eq(0)").change(function(){a(this).is(":checked")?a(this).closest("fieldset, tr").nextUntil(".hide_options_if_checked, .show_options_if_checked",".hidden_option").hide():a(this).closest("fieldset, tr").nextUntil(".hide_options_if_checked, .show_options_if_checked",".hidden_option").show()}).change()}),a(".show_options_if_checked").each(function(){a(this).find("input:eq(0)").change(function(){a(this).is(":checked")?a(this).closest("fieldset, tr").nextUntil(".hide_options_if_checked, .show_options_if_checked",".hidden_option").show():a(this).closest("fieldset, tr").nextUntil(".hide_options_if_checked, .show_options_if_checked",".hidden_option").hide()}).change()}),a("input#woocommerce_demo_store").change(function(){a(this).is(":checked")?a("#woocommerce_demo_store_notice").closest("tr").show():a("#woocommerce_demo_store_notice").closest("tr").hide()}).change(),a("table.attributes-table tbody tr:nth-child(odd)").addClass("alternate"),a("#contextual-help-link").on("click",function(){var b=a("#tab-panel-woocommerce_101_tab iframe");b.attr("src",b.data("src"))})}); \ No newline at end of file diff --git a/assets/js/frontend/add-to-cart-variation.js b/assets/js/frontend/add-to-cart-variation.js index c9b0a8ac4f9..595855e4a2c 100644 --- a/assets/js/frontend/add-to-cart-variation.js +++ b/assets/js/frontend/add-to-cart-variation.js @@ -73,7 +73,7 @@ // Reset product data .on( 'reset_data', function() { - $('.sku').wc_reset_content(); + $product.find( '.product_meta' ).find( '.sku' ).wc_reset_content(); $('.product_weight').wc_reset_content(); $('.product_dimensions').wc_reset_content(); $form.trigger( 'reset_image' ); diff --git a/assets/js/frontend/add-to-cart-variation.min.js b/assets/js/frontend/add-to-cart-variation.min.js index 381d9d650ac..7da80722802 100644 --- a/assets/js/frontend/add-to-cart-variation.min.js +++ b/assets/js/frontend/add-to-cart-variation.min.js @@ -1,4 +1,4 @@ /*! * Variations Plugin */ -!function(a,b,c,d){a.fn.wc_variation_form=function(){var c=this,d=c.find(".single_variation"),f=c.closest(".product"),g=parseInt(c.data("product_id"),10),h=c.data("product_variations"),i=h===!1,j=!1,k=c.find(".reset_variations"),l=wp.template("variation-template"),m=wp.template("unavailable-variation-template"),n=c.find(".single_variation_wrap");return n.show(),c.unbind("check_variations update_variation_values found_variation"),c.find(".reset_variations").unbind("click"),c.find(".variations select").unbind("change focusin"),c.on("click",".reset_variations",function(a){a.preventDefault(),c.find(".variations select").val("").change(),c.trigger("reset_data")}).on("hide_variation",function(a){a.preventDefault(),c.find(".single_add_to_cart_button").removeClass("wc-variation-is-unavailable").addClass("disabled wc-variation-selection-needed")}).on("show_variation",function(a,b,d){a.preventDefault(),d?c.find(".single_add_to_cart_button").removeClass("disabled wc-variation-selection-needed wc-variation-is-unavailable"):c.find(".single_add_to_cart_button").removeClass("wc-variation-selection-needed").addClass("disabled wc-variation-is-unavailable")}).on("click",".single_add_to_cart_button",function(c){var d=a(this);d.is(".disabled")&&(c.preventDefault(),d.is(".wc-variation-is-unavailable")?b.alert(wc_add_to_cart_variation_params.i18n_unavailable_text):d.is(".wc-variation-selection-needed")&&b.alert(wc_add_to_cart_variation_params.i18n_make_a_selection_text))}).on("reload_product_variations",function(){h=c.data("product_variations"),i=h===!1}).on("reset_data",function(){a(".sku").wc_reset_content(),a(".product_weight").wc_reset_content(),a(".product_dimensions").wc_reset_content(),c.trigger("reset_image"),d.slideUp(200).trigger("hide_variation")}).on("reset_image",function(){c.wc_variations_image_update(!1)}).on("change",".variations select",function(){if(c.find('input[name="variation_id"], input.variation_id').val("").change(),c.find(".wc-no-matching-variations").remove(),i){j&&j.abort();var b=!0,d=!1,e={};c.find(".variations select").each(function(){var c=a(this).data("attribute_name")||a(this).attr("name");0===a(this).val().length?b=!1:d=!0,e[c]=a(this).val()}),b?(e.product_id=g,j=a.ajax({url:wc_cart_fragments_params.wc_ajax_url.toString().replace("%%endpoint%%","get_variation"),type:"POST",data:e,success:function(a){a?c.trigger("found_variation",[a]):(c.trigger("reset_data"),c.find(".single_variation").after('

    '+wc_add_to_cart_variation_params.i18n_no_matching_variations_text+"

    "),c.find(".wc-no-matching-variations").slideDown(200))}})):c.trigger("reset_data"),d?"hidden"===k.css("visibility")&&k.css("visibility","visible").hide().fadeIn():k.css("visibility","hidden")}else c.trigger("woocommerce_variation_select_change"),c.trigger("check_variations",["",!1]),a(this).blur();a(".product.has-default-attributes > .images").fadeTo(200,1),c.trigger("woocommerce_variation_has_changed")}).on("focusin touchstart",".variations select",function(){a(this).find("option:selected").attr("selected","selected"),i||(c.trigger("woocommerce_variation_select_focusin"),c.trigger("check_variations",[a(this).data("attribute_name")||a(this).attr("name"),!0]))}).on("found_variation",function(b,e){var g=f.find(".product_meta").find(".sku"),h=f.find(".product_weight"),i=f.find(".product_dimensions"),j=n.find(".quantity"),k=!0;e.sku?g.wc_set_content(e.sku):g.wc_reset_content(),e.weight?h.wc_set_content(e.weight):h.wc_reset_content(),e.dimensions?i.wc_set_content(e.dimensions):i.wc_reset_content(),c.wc_variations_image_update(e);var o="";e.variation_is_visible?(o=l({variation:e}),o=o.replace("/**/",""),d.html(o),c.find('input[name="variation_id"], input.variation_id').val(e.variation_id).change()):(o=m(),o=o.replace("/**/",""),d.html(o),c.find('input[name="variation_id"], input.variation_id').val("").change()),"yes"===e.is_sold_individually?(j.find("input.qty").val("1").attr("min","1").attr("max",""),j.hide()):(j.find("input.qty").attr("min",e.min_qty).attr("max",e.max_qty),j.show()),e.is_purchasable&&e.is_in_stock&&e.variation_is_visible||(k=!1),a.trim(d.text())?d.slideDown(200).trigger("show_variation",[e,k]):d.show().trigger("show_variation",[e,k])}).on("check_variations",function(c,f,g){if(!i){var j=!0,k=!1,l={},m=a(this),n=m.find(".reset_variations");m.find(".variations select").each(function(){var b=a(this).data("attribute_name")||a(this).attr("name");0===a(this).val().length?j=!1:k=!0,f&&b===f?(j=!1,l[b]=""):l[b]=a(this).val()});var o=e.find_matching_variations(h,l);if(j){var p=o.shift();p?m.trigger("found_variation",[p]):(m.find(".variations select").val(""),g||m.trigger("reset_data"),b.alert(wc_add_to_cart_variation_params.i18n_no_matching_variations_text))}else m.trigger("update_variation_values",[o]),g||m.trigger("reset_data"),f||d.slideUp(200).trigger("hide_variation");k?"hidden"===n.css("visibility")&&n.css("visibility","visible").hide().fadeIn():n.css("visibility","hidden")}}).on("update_variation_values",function(b,d){i||(c.find(".variations select").each(function(b,c){var e,f=a(c);f.data("attribute_options")||f.data("attribute_options",f.find("option:gt(0)").get()),f.find("option:gt(0)").remove(),f.append(f.data("attribute_options")),f.find("option:gt(0)").removeClass("attached"),f.find("option:gt(0)").removeClass("enabled"),f.find("option:gt(0)").removeAttr("disabled"),e="undefined"!=typeof f.data("attribute_name")?f.data("attribute_name"):f.attr("name");for(var g in d)if("undefined"!=typeof d[g]){var h=d[g].attributes;for(var i in h)if(h.hasOwnProperty(i)){var j=h[i];if(i===e){var k="";d[g].variation_is_active&&(k="enabled"),j?(j=a("
    ").html(j).text(),j=j.replace(/'/g,"\\'"),j=j.replace(/"/g,'\\"'),f.find('option[value="'+j+'"]').addClass("attached "+k)):f.find("option:gt(0)").addClass("attached "+k)}}}f.find("option:gt(0):not(.attached)").remove(),f.find("option:gt(0):not(.enabled)").attr("disabled","disabled")}),c.trigger("woocommerce_update_variation_values"))}),c.trigger("wc_variation_form"),c};var e={find_matching_variations:function(a,b){for(var c=[],d=0;d1?(d.wc_set_variation_attr("src",a.image_src),d.wc_set_variation_attr("title",a.image_title),d.wc_set_variation_attr("alt",a.image_alt),d.wc_set_variation_attr("srcset",a.image_srcset),d.wc_set_variation_attr("sizes",a.image_sizes),e.wc_set_variation_attr("href",a.image_link),e.wc_set_variation_attr("title",a.image_caption)):(d.wc_reset_variation_attr("src"),d.wc_reset_variation_attr("title"),d.wc_reset_variation_attr("alt"),d.wc_reset_variation_attr("srcset"),d.wc_reset_variation_attr("sizes"),e.wc_reset_variation_attr("href"),e.wc_reset_variation_attr("title"))},a(function(){"undefined"!=typeof wc_add_to_cart_variation_params&&a(".variations_form").each(function(){a(this).wc_variation_form().find(".variations select:eq(0)").change()})})}(jQuery,window,document); \ No newline at end of file +!function(a,b,c,d){a.fn.wc_variation_form=function(){var c=this,d=c.find(".single_variation"),f=c.closest(".product"),g=parseInt(c.data("product_id"),10),h=c.data("product_variations"),i=h===!1,j=!1,k=c.find(".reset_variations"),l=wp.template("variation-template"),m=wp.template("unavailable-variation-template"),n=c.find(".single_variation_wrap");return n.show(),c.unbind("check_variations update_variation_values found_variation"),c.find(".reset_variations").unbind("click"),c.find(".variations select").unbind("change focusin"),c.on("click",".reset_variations",function(a){a.preventDefault(),c.find(".variations select").val("").change(),c.trigger("reset_data")}).on("hide_variation",function(a){a.preventDefault(),c.find(".single_add_to_cart_button").removeClass("wc-variation-is-unavailable").addClass("disabled wc-variation-selection-needed")}).on("show_variation",function(a,b,d){a.preventDefault(),d?c.find(".single_add_to_cart_button").removeClass("disabled wc-variation-selection-needed wc-variation-is-unavailable"):c.find(".single_add_to_cart_button").removeClass("wc-variation-selection-needed").addClass("disabled wc-variation-is-unavailable")}).on("click",".single_add_to_cart_button",function(c){var d=a(this);d.is(".disabled")&&(c.preventDefault(),d.is(".wc-variation-is-unavailable")?b.alert(wc_add_to_cart_variation_params.i18n_unavailable_text):d.is(".wc-variation-selection-needed")&&b.alert(wc_add_to_cart_variation_params.i18n_make_a_selection_text))}).on("reload_product_variations",function(){h=c.data("product_variations"),i=h===!1}).on("reset_data",function(){f.find(".product_meta").find(".sku").wc_reset_content(),a(".product_weight").wc_reset_content(),a(".product_dimensions").wc_reset_content(),c.trigger("reset_image"),d.slideUp(200).trigger("hide_variation")}).on("reset_image",function(){c.wc_variations_image_update(!1)}).on("change",".variations select",function(){if(c.find('input[name="variation_id"], input.variation_id').val("").change(),c.find(".wc-no-matching-variations").remove(),i){j&&j.abort();var b=!0,d=!1,e={};c.find(".variations select").each(function(){var c=a(this).data("attribute_name")||a(this).attr("name");0===a(this).val().length?b=!1:d=!0,e[c]=a(this).val()}),b?(e.product_id=g,j=a.ajax({url:wc_cart_fragments_params.wc_ajax_url.toString().replace("%%endpoint%%","get_variation"),type:"POST",data:e,success:function(a){a?c.trigger("found_variation",[a]):(c.trigger("reset_data"),c.find(".single_variation").after('

    '+wc_add_to_cart_variation_params.i18n_no_matching_variations_text+"

    "),c.find(".wc-no-matching-variations").slideDown(200))}})):c.trigger("reset_data"),d?"hidden"===k.css("visibility")&&k.css("visibility","visible").hide().fadeIn():k.css("visibility","hidden")}else c.trigger("woocommerce_variation_select_change"),c.trigger("check_variations",["",!1]),a(this).blur();a(".product.has-default-attributes > .images").fadeTo(200,1),c.trigger("woocommerce_variation_has_changed")}).on("focusin touchstart",".variations select",function(){a(this).find("option:selected").attr("selected","selected"),i||(c.trigger("woocommerce_variation_select_focusin"),c.trigger("check_variations",[a(this).data("attribute_name")||a(this).attr("name"),!0]))}).on("found_variation",function(b,e){var g=f.find(".product_meta").find(".sku"),h=f.find(".product_weight"),i=f.find(".product_dimensions"),j=n.find(".quantity"),k=!0;e.sku?g.wc_set_content(e.sku):g.wc_reset_content(),e.weight?h.wc_set_content(e.weight):h.wc_reset_content(),e.dimensions?i.wc_set_content(e.dimensions):i.wc_reset_content(),c.wc_variations_image_update(e);var o="";e.variation_is_visible?(o=l({variation:e}),o=o.replace("/**/",""),d.html(o),c.find('input[name="variation_id"], input.variation_id').val(e.variation_id).change()):(o=m(),o=o.replace("/**/",""),d.html(o),c.find('input[name="variation_id"], input.variation_id').val("").change()),"yes"===e.is_sold_individually?(j.find("input.qty").val("1").attr("min","1").attr("max",""),j.hide()):(j.find("input.qty").attr("min",e.min_qty).attr("max",e.max_qty),j.show()),e.is_purchasable&&e.is_in_stock&&e.variation_is_visible||(k=!1),a.trim(d.text())?d.slideDown(200).trigger("show_variation",[e,k]):d.show().trigger("show_variation",[e,k])}).on("check_variations",function(c,f,g){if(!i){var j=!0,k=!1,l={},m=a(this),n=m.find(".reset_variations");m.find(".variations select").each(function(){var b=a(this).data("attribute_name")||a(this).attr("name");0===a(this).val().length?j=!1:k=!0,f&&b===f?(j=!1,l[b]=""):l[b]=a(this).val()});var o=e.find_matching_variations(h,l);if(j){var p=o.shift();p?m.trigger("found_variation",[p]):(m.find(".variations select").val(""),g||m.trigger("reset_data"),b.alert(wc_add_to_cart_variation_params.i18n_no_matching_variations_text))}else m.trigger("update_variation_values",[o]),g||m.trigger("reset_data"),f||d.slideUp(200).trigger("hide_variation");k?"hidden"===n.css("visibility")&&n.css("visibility","visible").hide().fadeIn():n.css("visibility","hidden")}}).on("update_variation_values",function(b,d){i||(c.find(".variations select").each(function(b,c){var e,f=a(c);f.data("attribute_options")||f.data("attribute_options",f.find("option:gt(0)").get()),f.find("option:gt(0)").remove(),f.append(f.data("attribute_options")),f.find("option:gt(0)").removeClass("attached"),f.find("option:gt(0)").removeClass("enabled"),f.find("option:gt(0)").removeAttr("disabled"),e="undefined"!=typeof f.data("attribute_name")?f.data("attribute_name"):f.attr("name");for(var g in d)if("undefined"!=typeof d[g]){var h=d[g].attributes;for(var i in h)if(h.hasOwnProperty(i)){var j=h[i];if(i===e){var k="";d[g].variation_is_active&&(k="enabled"),j?(j=a("
    ").html(j).text(),j=j.replace(/'/g,"\\'"),j=j.replace(/"/g,'\\"'),f.find('option[value="'+j+'"]').addClass("attached "+k)):f.find("option:gt(0)").addClass("attached "+k)}}}f.find("option:gt(0):not(.attached)").remove(),f.find("option:gt(0):not(.enabled)").attr("disabled","disabled")}),c.trigger("woocommerce_update_variation_values"))}),c.trigger("wc_variation_form"),c};var e={find_matching_variations:function(a,b){for(var c=[],d=0;d1?(d.wc_set_variation_attr("src",a.image_src),d.wc_set_variation_attr("title",a.image_title),d.wc_set_variation_attr("alt",a.image_alt),d.wc_set_variation_attr("srcset",a.image_srcset),d.wc_set_variation_attr("sizes",a.image_sizes),e.wc_set_variation_attr("href",a.image_link),e.wc_set_variation_attr("title",a.image_caption)):(d.wc_reset_variation_attr("src"),d.wc_reset_variation_attr("title"),d.wc_reset_variation_attr("alt"),d.wc_reset_variation_attr("srcset"),d.wc_reset_variation_attr("sizes"),e.wc_reset_variation_attr("href"),e.wc_reset_variation_attr("title"))},a(function(){"undefined"!=typeof wc_add_to_cart_variation_params&&a(".variations_form").each(function(){a(this).wc_variation_form().find(".variations select:eq(0)").change()})})}(jQuery,window,document); \ No newline at end of file diff --git a/assets/js/frontend/cart.js b/assets/js/frontend/cart.js index c0d0761b3f2..5c96582a470 100644 --- a/assets/js/frontend/cart.js +++ b/assets/js/frontend/cart.js @@ -63,19 +63,34 @@ jQuery( function( $ ) { var update_wc_div = function( html_str ) { var $html = $.parseHTML( html_str ); var $new_form = $( 'table.shop_table.cart', $html ).closest( 'form' ); + + // Error message collection var $error = $( '.woocommerce-error', $html ); var $message = $( '.woocommerce-message', $html ); - if ( $error.length > 0 ) { - show_notice( $error ); - } else if ( $message.length > 0 ) { - show_notice( $message ); - } else { - // No new message/error, just remove existing one. - $( '.woocommerce-error, .woocommerce-message' ).remove(); - } + // Remove errors + $( '.woocommerce-error, .woocommerce-message' ).remove(); - $( 'table.shop_table.cart' ).closest( 'form' ).replaceWith( $new_form ); + if ( $new_form.length === 0 ) { + // No items to display now! Replace all cart content. + var $cart_html = $( '.cart-empty', $html ).closest( '.woocommerce' ); + $( 'table.shop_table.cart' ).closest( '.woocommerce' ).replaceWith( $cart_html ); + + if ( $error.length > 0 ) { + show_notice( $error, $( '.cart-empty' ).closest( '.woocommerce' ) ); + } else if ( $message.length > 0 ) { + show_notice( $message, $( '.cart-empty' ).closest( '.woocommerce' ) ); + } + } else { + $( 'table.shop_table.cart' ).closest( 'form' ).replaceWith( $new_form ); + $( 'table.shop_table.cart' ).closest( 'form' ).find( 'input[name="update_cart"]' ).prop( 'disabled', true ); + + if ( $error.length > 0 ) { + show_notice( $error ); + } else if ( $message.length > 0 ) { + show_notice( $message ); + } + } }; /** @@ -83,11 +98,12 @@ jQuery( function( $ ) { * * @param {Object} The Notice HTML Element in string or object form. */ - var show_notice = function( html_element ) { - var $form = $( 'table.shop_table.cart' ).closest( 'form' ); - + var show_notice = function( html_element, $target ) { + if ( ! $target ) { + $target = $( 'table.shop_table.cart' ).closest( 'form' ); + } $( '.woocommerce-error, .woocommerce-message' ).remove(); - $form.before( html_element ); + $target.before( html_element ); }; @@ -99,7 +115,8 @@ jQuery( function( $ ) { /** * Initialize event handlers and UI state. */ - init: function() { + init: function( cart ) { + this.cart = cart; this.toggle_shipping = this.toggle_shipping.bind( this ); this.shipping_method_selected = this.shipping_method_selected.bind( this ); this.shipping_calculator_submit = this.shipping_calculator_submit.bind( this ); @@ -166,6 +183,7 @@ jQuery( function( $ ) { shipping_calculator_submit: function( evt ) { evt.preventDefault(); + var cart = this.cart; var $form = $( evt.target ); block( $form ); @@ -187,6 +205,7 @@ jQuery( function( $ ) { }, complete: function() { unblock( $form ); + cart.update_cart_totals(); } } ); } @@ -202,11 +221,16 @@ jQuery( function( $ ) { init: function() { this.update_cart_totals = this.update_cart_totals.bind( this ); this.cart_submit = this.cart_submit.bind( this ); + this.submit_click = this.submit_click.bind( this ); this.apply_coupon = this.apply_coupon.bind( this ); this.remove_coupon_clicked = this.remove_coupon_clicked.bind( this ); this.quantity_update = this.quantity_update.bind( this ); this.item_remove_clicked = this.item_remove_clicked.bind( this ); + $( document ).on( + 'click', + 'div.woocommerce > form input[type=submit]', + this.submit_click ); $( document ).on( 'submit', 'div.woocommerce > form', @@ -219,6 +243,19 @@ jQuery( function( $ ) { 'click', 'td.product-remove > a', this.item_remove_clicked ); + $( document ).on( + 'change input', + 'div.woocommerce > form .cart_item :input', + this.input_changed ); + + $( 'div.woocommerce > form input[name="update_cart"]' ).prop( 'disabled', true ); + }, + + /** + * After an input is changed, enable the update cart button. + */ + input_changed: function() { + $( 'div.woocommerce > form input[name="update_cart"]' ).prop( 'disabled', false ); }, /** @@ -246,6 +283,7 @@ jQuery( function( $ ) { var $form = $( evt.target ); var $submit = $( document.activeElement ); + var $clicked = $( 'input[type=submit][clicked=true]' ); if ( 0 === $form.find( 'table.shop_table.cart' ).length ) { return false; @@ -254,14 +292,24 @@ jQuery( function( $ ) { return false; } - if ( $submit.is( '[name="update_cart"]' ) || $submit.is( 'input.qty' ) ) { + if ( $clicked.is( '[name="update_cart"]' ) || $submit.is( 'input.qty' ) ) { this.quantity_update( $form ); - } else if ( $submit.is( '[name="apply_coupon"]' ) || $submit.is( '#coupon_code' ) ) { + } else if ( $clicked.is( '[name="apply_coupon"]' ) || $submit.is( '#coupon_code' ) ) { this.apply_coupon( $form ); } }, + /** + * Special handling to identify which submit button was clicked. + * + * @param {Object} evt The JQuery event + */ + submit_click: function( evt ) { + $( 'input[type=submit]', $( evt.target ).parents( 'form' ) ).removeAttr( 'clicked' ); + $( evt.target ).attr( 'clicked', 'true' ); + }, + /** * Apply Coupon code * @@ -286,6 +334,7 @@ jQuery( function( $ ) { dataType: 'html', success: function( response ) { show_notice( response ); + $( document.body ).trigger( 'applied_coupon' ); }, complete: function() { unblock( $form ); @@ -321,6 +370,7 @@ jQuery( function( $ ) { dataType: 'html', success: function( response ) { show_notice( response ); + $( document.body ).trigger( 'removed_coupon' ); unblock( $tr.parents( 'table' ) ); }, complete: function() { @@ -336,6 +386,8 @@ jQuery( function( $ ) { */ quantity_update: function( $form ) { + var cart = this; + // Provide the submit button value because wc-form-handler expects it. $( '' ).attr( 'type', 'hidden' ) .attr( 'name', 'update_cart' ) @@ -353,6 +405,7 @@ jQuery( function( $ ) { success: update_wc_div, complete: function() { unblock( $form ); + cart.update_cart_totals(); } } ); }, @@ -365,6 +418,7 @@ jQuery( function( $ ) { item_remove_clicked: function( evt ) { evt.preventDefault(); + var cart = this; var $a = $( evt.target ); var $form = $a.parents( 'form' ); @@ -377,11 +431,12 @@ jQuery( function( $ ) { success: update_wc_div, complete: function() { unblock( $form ); + cart.update_cart_totals(); } } ); } }; - cart_shipping.init(); + cart_shipping.init( cart ); cart.init(); } ); diff --git a/assets/js/frontend/cart.min.js b/assets/js/frontend/cart.min.js index 7dd6cf07ca7..b235f3ead5c 100644 --- a/assets/js/frontend/cart.min.js +++ b/assets/js/frontend/cart.min.js @@ -1 +1 @@ -jQuery(function(a){if("undefined"==typeof wc_cart_params)return!1;var b=function(a){return wc_cart_params.wc_ajax_url.toString().replace("%%endpoint%%",a)},c=function(a){return a.is(".processing")},d=function(a){a.addClass("processing").block({message:null,overlayCSS:{background:"#fff",opacity:.6}})},e=function(a){a.removeClass("processing").unblock()},f=function(b){var c=a.parseHTML(b),d=a("table.shop_table.cart",c).closest("form"),e=a(".woocommerce-error",c),f=a(".woocommerce-message",c);e.length>0?g(e):f.length>0?g(f):a(".woocommerce-error, .woocommerce-message").remove(),a("table.shop_table.cart").closest("form").replaceWith(d)},g=function(b){var c=a("table.shop_table.cart").closest("form");a(".woocommerce-error, .woocommerce-message").remove(),c.before(b)},h={init:function(){this.toggle_shipping=this.toggle_shipping.bind(this),this.shipping_method_selected=this.shipping_method_selected.bind(this),this.shipping_calculator_submit=this.shipping_calculator_submit.bind(this),a(document).on("click",".shipping-calculator-button",this.toggle_shipping),a(document).on("change","select.shipping_method, input[name^=shipping_method]",this.shipping_method_selected),a(document).on("submit","form.woocommerce-shipping-calculator",this.shipping_calculator_submit),a(".shipping-calculator-form").hide()},toggle_shipping:function(){return a(".shipping-calculator-form").slideToggle("slow"),!1},shipping_method_selected:function(c){var e=c.target,f=[];a("select.shipping_method, input[name^=shipping_method][type=radio]:checked, input[name^=shipping_method][type=hidden]").each(function(){f[a(e).data("index")]=a(e).val()}),d(a("div.cart_totals"));var g={security:wc_cart_params.update_shipping_method_nonce,shipping_method:f};a.post(b("update_shipping_method"),g,function(b){a("div.cart_totals").replaceWith(b),a(document.body).trigger("updated_shipping_method")})},shipping_calculator_submit:function(b){b.preventDefault();var c=a(b.target);d(c),a("").attr("type","hidden").attr("name","calc_shipping").attr("value","x").appendTo(c),a.ajax({type:c.attr("method"),url:c.attr("action"),data:c.serialize(),dataType:"html",success:function(a){f(a)},complete:function(){e(c)}})}},i={init:function(){this.update_cart_totals=this.update_cart_totals.bind(this),this.cart_submit=this.cart_submit.bind(this),this.apply_coupon=this.apply_coupon.bind(this),this.remove_coupon_clicked=this.remove_coupon_clicked.bind(this),this.quantity_update=this.quantity_update.bind(this),this.item_remove_clicked=this.item_remove_clicked.bind(this),a(document).on("submit","div.woocommerce > form",this.cart_submit),a(document).on("click","a.woocommerce-remove-coupon",this.remove_coupon_clicked),a(document).on("click","td.product-remove > a",this.item_remove_clicked)},update_cart_totals:function(){d(a("div.cart_totals")),a.ajax({url:b("get_cart_totals"),dataType:"html",success:function(b){a("div.cart_totals").replaceWith(b)}})},cart_submit:function(b){b.preventDefault();var d=a(b.target),e=a(document.activeElement);return 0===d.find("table.shop_table.cart").length?!1:c(d)?!1:void(e.is('[name="update_cart"]')||e.is("input.qty")?this.quantity_update(d):(e.is('[name="apply_coupon"]')||e.is("#coupon_code"))&&this.apply_coupon(d))},apply_coupon:function(c){d(c);var f=this,h=a("#coupon_code"),i=h.val(),j={security:wc_cart_params.apply_coupon_nonce,coupon_code:i};a.ajax({type:"POST",url:b("apply_coupon"),data:j,dataType:"html",success:function(a){g(a)},complete:function(){e(c),h.val(""),f.update_cart_totals()}})},remove_coupon_clicked:function(c){c.preventDefault();var f=this,h=a(c.target).parents("tr"),i=a(c.target).attr("data-coupon");d(h.parents("table"));var j={security:wc_cart_params.remove_coupon_nonce,coupon:i};a.ajax({type:"POST",url:b("remove_coupon"),data:j,dataType:"html",success:function(a){g(a),e(h.parents("table"))},complete:function(){f.update_cart_totals()}})},quantity_update:function(b){a("").attr("type","hidden").attr("name","update_cart").attr("value","Update Cart").appendTo(b),d(b),a.ajax({type:b.attr("method"),url:b.attr("action"),data:b.serialize(),dataType:"html",success:f,complete:function(){e(b)}})},item_remove_clicked:function(b){b.preventDefault();var c=a(b.target),g=c.parents("form");d(g),a.ajax({type:"GET",url:c.attr("href"),dataType:"html",success:f,complete:function(){e(g)}})}};h.init(),i.init()}); \ No newline at end of file +jQuery(function(a){if("undefined"==typeof wc_cart_params)return!1;var b=function(a){return wc_cart_params.wc_ajax_url.toString().replace("%%endpoint%%",a)},c=function(a){return a.is(".processing")},d=function(a){a.addClass("processing").block({message:null,overlayCSS:{background:"#fff",opacity:.6}})},e=function(a){a.removeClass("processing").unblock()},f=function(b){var c=a.parseHTML(b),d=a("table.shop_table.cart",c).closest("form"),e=a(".woocommerce-error",c),f=a(".woocommerce-message",c);if(a(".woocommerce-error, .woocommerce-message").remove(),0===d.length){var h=a(".cart-empty",c).closest(".woocommerce");a("table.shop_table.cart").closest(".woocommerce").replaceWith(h),e.length>0?g(e,a(".cart-empty").closest(".woocommerce")):f.length>0&&g(f,a(".cart-empty").closest(".woocommerce"))}else a("table.shop_table.cart").closest("form").replaceWith(d),a("table.shop_table.cart").closest("form").find('input[name="update_cart"]').prop("disabled",!0),e.length>0?g(e):f.length>0&&g(f)},g=function(b,c){c||(c=a("table.shop_table.cart").closest("form")),a(".woocommerce-error, .woocommerce-message").remove(),c.before(b)},h={init:function(b){this.cart=b,this.toggle_shipping=this.toggle_shipping.bind(this),this.shipping_method_selected=this.shipping_method_selected.bind(this),this.shipping_calculator_submit=this.shipping_calculator_submit.bind(this),a(document).on("click",".shipping-calculator-button",this.toggle_shipping),a(document).on("change","select.shipping_method, input[name^=shipping_method]",this.shipping_method_selected),a(document).on("submit","form.woocommerce-shipping-calculator",this.shipping_calculator_submit),a(".shipping-calculator-form").hide()},toggle_shipping:function(){return a(".shipping-calculator-form").slideToggle("slow"),!1},shipping_method_selected:function(c){var e=c.target,f=[];a("select.shipping_method, input[name^=shipping_method][type=radio]:checked, input[name^=shipping_method][type=hidden]").each(function(){f[a(e).data("index")]=a(e).val()}),d(a("div.cart_totals"));var g={security:wc_cart_params.update_shipping_method_nonce,shipping_method:f};a.post(b("update_shipping_method"),g,function(b){a("div.cart_totals").replaceWith(b),a(document.body).trigger("updated_shipping_method")})},shipping_calculator_submit:function(b){b.preventDefault();var c=this.cart,g=a(b.target);d(g),a("").attr("type","hidden").attr("name","calc_shipping").attr("value","x").appendTo(g),a.ajax({type:g.attr("method"),url:g.attr("action"),data:g.serialize(),dataType:"html",success:function(a){f(a)},complete:function(){e(g),c.update_cart_totals()}})}},i={init:function(){this.update_cart_totals=this.update_cart_totals.bind(this),this.cart_submit=this.cart_submit.bind(this),this.submit_click=this.submit_click.bind(this),this.apply_coupon=this.apply_coupon.bind(this),this.remove_coupon_clicked=this.remove_coupon_clicked.bind(this),this.quantity_update=this.quantity_update.bind(this),this.item_remove_clicked=this.item_remove_clicked.bind(this),a(document).on("click","div.woocommerce > form input[type=submit]",this.submit_click),a(document).on("submit","div.woocommerce > form",this.cart_submit),a(document).on("click","a.woocommerce-remove-coupon",this.remove_coupon_clicked),a(document).on("click","td.product-remove > a",this.item_remove_clicked),a(document).on("change input","div.woocommerce > form .cart_item :input",this.input_changed),a('div.woocommerce > form input[name="update_cart"]').prop("disabled",!0)},input_changed:function(){a('div.woocommerce > form input[name="update_cart"]').prop("disabled",!1)},update_cart_totals:function(){d(a("div.cart_totals")),a.ajax({url:b("get_cart_totals"),dataType:"html",success:function(b){a("div.cart_totals").replaceWith(b)}})},cart_submit:function(b){b.preventDefault();var d=a(b.target),e=a(document.activeElement),f=a("input[type=submit][clicked=true]");return 0===d.find("table.shop_table.cart").length?!1:c(d)?!1:void(f.is('[name="update_cart"]')||e.is("input.qty")?this.quantity_update(d):(f.is('[name="apply_coupon"]')||e.is("#coupon_code"))&&this.apply_coupon(d))},submit_click:function(b){a("input[type=submit]",a(b.target).parents("form")).removeAttr("clicked"),a(b.target).attr("clicked","true")},apply_coupon:function(c){d(c);var f=this,h=a("#coupon_code"),i=h.val(),j={security:wc_cart_params.apply_coupon_nonce,coupon_code:i};a.ajax({type:"POST",url:b("apply_coupon"),data:j,dataType:"html",success:function(b){g(b),a(document.body).trigger("applied_coupon")},complete:function(){e(c),h.val(""),f.update_cart_totals()}})},remove_coupon_clicked:function(c){c.preventDefault();var f=this,h=a(c.target).parents("tr"),i=a(c.target).attr("data-coupon");d(h.parents("table"));var j={security:wc_cart_params.remove_coupon_nonce,coupon:i};a.ajax({type:"POST",url:b("remove_coupon"),data:j,dataType:"html",success:function(b){g(b),a(document.body).trigger("removed_coupon"),e(h.parents("table"))},complete:function(){f.update_cart_totals()}})},quantity_update:function(b){var c=this;a("").attr("type","hidden").attr("name","update_cart").attr("value","Update Cart").appendTo(b),d(b),a.ajax({type:b.attr("method"),url:b.attr("action"),data:b.serialize(),dataType:"html",success:f,complete:function(){e(b),c.update_cart_totals()}})},item_remove_clicked:function(b){b.preventDefault();var c=this,g=a(b.target),h=g.parents("form");d(h),a.ajax({type:"GET",url:g.attr("href"),dataType:"html",success:f,complete:function(){e(h),c.update_cart_totals()}})}};h.init(i),i.init()}); \ No newline at end of file diff --git a/assets/js/frontend/tokenization-form.js b/assets/js/frontend/tokenization-form.js index 31eacd3c62e..ee49f65c1b7 100644 --- a/assets/js/frontend/tokenization-form.js +++ b/assets/js/frontend/tokenization-form.js @@ -68,7 +68,7 @@ jQuery( function( $ ) { } ); // Don't show the "use new" radio button if we are a guest or only have one method.. - if ( 0 === $( '#wc-' + woocommerceTokenizationParams.gatewayID + '-method-count' ).data( 'count' ) || ! woocommerceTokenizationParams.userLoggedIn ) { + if ( 0 === $( '#wc-' + woocommerceTokenizationParams.gatewayID + '-methods' ).data( 'count' ) || ! woocommerceTokenizationParams.userLoggedIn ) { $( '.wc-' + woocommerceTokenizationParams.gatewayID + '-payment-form-new-checkbox-wrap' ).hide(); } diff --git a/assets/js/frontend/tokenization-form.min.js b/assets/js/frontend/tokenization-form.min.js index 7af32c3bf8e..6a8b72d1fd5 100644 --- a/assets/js/frontend/tokenization-form.min.js +++ b/assets/js/frontend/tokenization-form.min.js @@ -1 +1 @@ -jQuery(function(a){var b={gatewayID:woocommerceTokenizationParams.gatewayID,userLoggedIn:woocommerceTokenizationParams.userLoggedIn,hideForm:function(){a("#wc-"+this.gatewayID+"-cc-form, #wc-"+this.gatewayID+"-echeck-form").hide()},showForm:function(){a("#wc-"+this.gatewayID+"-cc-form, #wc-"+this.gatewayID+"-echeck-form").show()},showSaveNewCheckbox:function(){a("#wc-"+this.gatewayID+"-new-payment-method-wrap").show()},hideSaveNewCheckbox:function(){a("#wc-"+this.gatewayID+"-new-payment-method-wrap").hide()},showSaveNewCheckboxForLoggedInOnly:function(){this.userLoggedIn?a("#wc-"+this.gatewayID+"-new-payment-method-wrap").show():a("#wc-"+this.gatewayID+"-new-payment-method-wrap").hide()}};a(document.body).on("updated_checkout",function(){a('input[name="wc-'+woocommerceTokenizationParams.gatewayID+'-payment-token"]').is(":checked")?(b.hideForm(),b.hideSaveNewCheckbox()):(a('input:radio[name="wc-'+woocommerceTokenizationParams.gatewayID+'-payment-token"]:first').attr("checked",!0),"new"===a('input:radio[name="wc-'+woocommerceTokenizationParams.gatewayID+'-payment-token"]:first').val()?(b.showForm(),b.showSaveNewCheckboxForLoggedInOnly()):(b.hideForm(),b.hideSaveNewCheckbox())),a('input[name="wc-'+woocommerceTokenizationParams.gatewayID+'-payment-token"]').change(function(){"new"===a('input[name="wc-'+woocommerceTokenizationParams.gatewayID+'-payment-token"]:checked').val()?(b.showForm(),b.showSaveNewCheckboxForLoggedInOnly()):(b.hideForm(),b.hideSaveNewCheckbox())}),a("input#createaccount").change(function(){a(this).is(":checked")?b.showSaveNewCheckbox():b.hideSaveNewCheckbox()}),0!==a("#wc-"+woocommerceTokenizationParams.gatewayID+"-method-count").data("count")&&woocommerceTokenizationParams.userLoggedIn||a(".wc-"+woocommerceTokenizationParams.gatewayID+"-payment-form-new-checkbox-wrap").hide()})}); \ No newline at end of file +jQuery(function(a){var b={gatewayID:woocommerceTokenizationParams.gatewayID,userLoggedIn:woocommerceTokenizationParams.userLoggedIn,hideForm:function(){a("#wc-"+this.gatewayID+"-cc-form, #wc-"+this.gatewayID+"-echeck-form").hide()},showForm:function(){a("#wc-"+this.gatewayID+"-cc-form, #wc-"+this.gatewayID+"-echeck-form").show()},showSaveNewCheckbox:function(){a("#wc-"+this.gatewayID+"-new-payment-method-wrap").show()},hideSaveNewCheckbox:function(){a("#wc-"+this.gatewayID+"-new-payment-method-wrap").hide()},showSaveNewCheckboxForLoggedInOnly:function(){this.userLoggedIn?a("#wc-"+this.gatewayID+"-new-payment-method-wrap").show():a("#wc-"+this.gatewayID+"-new-payment-method-wrap").hide()}};a(document.body).on("updated_checkout",function(){a('input[name="wc-'+woocommerceTokenizationParams.gatewayID+'-payment-token"]').is(":checked")?(b.hideForm(),b.hideSaveNewCheckbox()):(a('input:radio[name="wc-'+woocommerceTokenizationParams.gatewayID+'-payment-token"]:first').attr("checked",!0),"new"===a('input:radio[name="wc-'+woocommerceTokenizationParams.gatewayID+'-payment-token"]:first').val()?(b.showForm(),b.showSaveNewCheckboxForLoggedInOnly()):(b.hideForm(),b.hideSaveNewCheckbox())),a('input[name="wc-'+woocommerceTokenizationParams.gatewayID+'-payment-token"]').change(function(){"new"===a('input[name="wc-'+woocommerceTokenizationParams.gatewayID+'-payment-token"]:checked').val()?(b.showForm(),b.showSaveNewCheckboxForLoggedInOnly()):(b.hideForm(),b.hideSaveNewCheckbox())}),a("input#createaccount").change(function(){a(this).is(":checked")?b.showSaveNewCheckbox():b.hideSaveNewCheckbox()}),0!==a("#wc-"+woocommerceTokenizationParams.gatewayID+"-methods").data("count")&&woocommerceTokenizationParams.userLoggedIn||a(".wc-"+woocommerceTokenizationParams.gatewayID+"-payment-form-new-checkbox-wrap").hide()})}); \ No newline at end of file diff --git a/i18n/continents.php b/i18n/continents.php index 102b7b537a8..236e865f605 100644 --- a/i18n/continents.php +++ b/i18n/continents.php @@ -18,7 +18,7 @@ return array( 'AF' => array( 'name' => __( 'Africa', 'woocommerce' ), 'countries' => array( - 'AO', 'BF', 'BI', 'BJ', 'BW', 'CD', 'CF', 'CG', 'CI', 'CM', 'CV', 'DJ', 'DZ', 'EG', 'EH', 'ER', 'ET', 'GA', 'GH', 'GM', 'GN', 'GQ', 'GW', 'KE', 'KM', 'LR', 'LS', 'LY', 'MA', 'MG', 'ML', 'MR', 'MU', 'MW', 'MZ', 'NA', 'NE', 'NG', 'RE', 'RW', 'SC', 'SD', 'SH', 'SL', 'SN', 'SO', 'ST', 'SZ', 'TD', 'TG', 'TN', 'TZ', 'UG', 'YT', 'ZA', 'ZM', 'ZW' + 'AO', 'BF', 'BI', 'BJ', 'BW', 'CD', 'CF', 'CG', 'CI', 'CM', 'CV', 'DJ', 'DZ', 'EG', 'EH', 'ER', 'ET', 'GA', 'GH', 'GM', 'GN', 'GQ', 'GW', 'KE', 'KM', 'LR', 'LS', 'LY', 'MA', 'MG', 'ML', 'MR', 'MU', 'MW', 'MZ', 'NA', 'NE', 'NG', 'RE', 'RW', 'SC', 'SD', 'SS', 'SH', 'SL', 'SN', 'SO', 'ST', 'SZ', 'TD', 'TG', 'TN', 'TZ', 'UG', 'YT', 'ZA', 'ZM', 'ZW' ) ), 'AN' => array( diff --git a/i18n/languages/woocommerce.pot b/i18n/languages/woocommerce.pot index d388cd4bd59..03ca0ac7438 100644 --- a/i18n/languages/woocommerce.pot +++ b/i18n/languages/woocommerce.pot @@ -2,9 +2,9 @@ # This file is distributed under the same license as the WooCommerce package. msgid "" msgstr "" -"Project-Id-Version: WooCommerce 2.6.0-dev\n" +"Project-Id-Version: WooCommerce 2.6.0-beta-2\n" "Report-Msgid-Bugs-To: https://github.com/woothemes/woocommerce/issues\n" -"POT-Creation-Date: 2016-04-18 14:37:09+00:00\n" +"POT-Creation-Date: 2016-05-13 17:40:01+00:00\n" "MIME-Version: 1.0\n" "Content-Type: text/plain; charset=utf-8\n" "Content-Transfer-Encoding: 8bit\n" @@ -4869,49 +4869,62 @@ msgstr "" msgid "Backordered" msgstr "" -#: includes/abstracts/abstract-wc-order.php:1821 +#: includes/abstracts/abstract-wc-order.php:1685 +#: includes/admin/meta-boxes/class-wc-meta-box-product-data.php:101 +#: includes/admin/meta-boxes/class-wc-meta-box-product-data.php:696 +#: includes/admin/meta-boxes/views/html-order-items.php:156 +#: includes/admin/meta-boxes/views/html-order-shipping.php:18 +#: includes/admin/settings/class-wc-settings-shipping.php:27 +#: includes/admin/settings/class-wc-settings-tax.php:185 +#: includes/admin/settings/views/html-settings-tax.php:27 +#: includes/wc-cart-functions.php:188 templates/cart/cart-totals.php:55 +#: templates/cart/cart-totals.php:56 +msgid "Shipping" +msgstr "" + +#: includes/abstracts/abstract-wc-order.php:1842 msgid "via %s" msgstr "" -#: includes/abstracts/abstract-wc-order.php:1826 -#: includes/abstracts/abstract-wc-product.php:1023 -#: includes/abstracts/abstract-wc-product.php:1029 -#: includes/class-wc-cart.php:1596 includes/class-wc-product-variable.php:365 -#: includes/class-wc-product-variation.php:318 +#: includes/abstracts/abstract-wc-order.php:1847 +#: includes/abstracts/abstract-wc-product.php:1010 +#: includes/abstracts/abstract-wc-product.php:1016 +#: includes/class-wc-cart.php:1596 includes/class-wc-product-variable.php:360 +#: includes/class-wc-product-variation.php:327 msgid "Free!" msgstr "" -#: includes/abstracts/abstract-wc-order.php:1890 +#: includes/abstracts/abstract-wc-order.php:1911 msgid "Subtotal:" msgstr "" -#: includes/abstracts/abstract-wc-order.php:1897 +#: includes/abstracts/abstract-wc-order.php:1918 msgid "Discount:" msgstr "" -#: includes/abstracts/abstract-wc-order.php:1904 +#: includes/abstracts/abstract-wc-order.php:1925 msgid "Shipping:" msgstr "" -#: includes/abstracts/abstract-wc-order.php:1919 +#: includes/abstracts/abstract-wc-order.php:1940 #: includes/admin/meta-boxes/views/html-order-fee.php:18 msgid "Fee" msgstr "" -#: includes/abstracts/abstract-wc-order.php:1957 -#: includes/admin/meta-boxes/class-wc-meta-box-order-data.php:292 +#: includes/abstracts/abstract-wc-order.php:1978 +#: includes/admin/meta-boxes/class-wc-meta-box-order-data.php:297 #: includes/shortcodes/class-wc-shortcode-checkout.php:154 #: templates/checkout/thankyou.php:55 msgid "Payment Method:" msgstr "" -#: includes/abstracts/abstract-wc-order.php:1965 +#: includes/abstracts/abstract-wc-order.php:1986 #: includes/admin/meta-boxes/views/html-order-items.php:229 #: includes/admin/meta-boxes/views/html-order-refund.php:16 msgid "Refund" msgstr "" -#: includes/abstracts/abstract-wc-order.php:1972 +#: includes/abstracts/abstract-wc-order.php:1993 #: includes/admin/meta-boxes/views/html-order-item.php:106 #: includes/admin/meta-boxes/views/html-order-item.php:148 #: includes/shortcodes/class-wc-shortcode-checkout.php:149 @@ -4919,12 +4932,12 @@ msgstr "" msgid "Total:" msgstr "" -#: includes/abstracts/abstract-wc-order.php:2238 +#: includes/abstracts/abstract-wc-order.php:2259 #: templates/emails/plain/email-order-items.php:58 msgid "Download %d" msgstr "" -#: includes/abstracts/abstract-wc-order.php:2238 +#: includes/abstracts/abstract-wc-order.php:2259 #: templates/emails/plain/email-order-items.php:60 #: templates/myaccount/downloads.php:81 msgid "Download" @@ -4934,25 +4947,24 @@ msgstr "" msgid "WooCommerce" msgstr "" -#: includes/abstracts/abstract-wc-order.php:2341 -msgid "Unable to update order from %s to %s." +#: includes/abstracts/abstract-wc-order.php:2362 +msgid "Unable to update order from %1$s to %2$s." msgstr "" -#: includes/abstracts/abstract-wc-order.php:2350 -msgid "Order status changed from %s to %s." +#: includes/abstracts/abstract-wc-order.php:2371 +msgid "Order status changed from %1$s to %2$s." msgstr "" -#: includes/abstracts/abstract-wc-order.php:2354 +#: includes/abstracts/abstract-wc-order.php:2375 msgid "Order status changed to %s." msgstr "" -#: includes/abstracts/abstract-wc-order.php:2597 -msgid "Item %s variation #%s stock reduced from %s to %s." +#: includes/abstracts/abstract-wc-order.php:2618 +msgid "Item %1$s variation #%2$s stock reduced from %3$s to %4$s." msgstr "" -#: includes/abstracts/abstract-wc-order.php:2599 -#: includes/class-wc-ajax.php:1381 -msgid "Item %s stock reduced from %s to %s." +#: includes/abstracts/abstract-wc-order.php:2620 +msgid "Item %1$s stock reduced from %2$s to %3$s." msgstr "" #: includes/abstracts/abstract-wc-payment-gateway.php:429 @@ -4978,7 +4990,7 @@ msgstr "" #: includes/abstracts/abstract-wc-product.php:586 #: includes/class-wc-product-simple.php:48 -#: includes/class-wc-product-variation.php:198 +#: includes/class-wc-product-variation.php:207 msgid "Add to cart" msgstr "" @@ -4986,45 +4998,22 @@ msgstr "" msgid "Read more" msgstr "" -#: includes/abstracts/abstract-wc-product.php:678 -#: includes/abstracts/abstract-wc-product.php:689 -#: includes/abstracts/abstract-wc-product.php:711 +#: includes/abstracts/abstract-wc-product.php:674 +#: includes/abstracts/abstract-wc-product.php:690 +#: includes/abstracts/abstract-wc-product.php:700 #: includes/admin/class-wc-admin-post-types.php:401 #: includes/admin/meta-boxes/class-wc-meta-box-product-data.php:335 #: includes/admin/reports/class-wc-report-stock.php:115 #: includes/admin/views/html-bulk-edit-product.php:223 #: includes/admin/views/html-quick-edit-product.php:166 #: includes/class-wc-ajax.php:867 includes/class-wc-ajax.php:2474 -#: includes/class-wc-product-variation.php:542 -#: includes/class-wc-product-variation.php:552 -#: includes/class-wc-product-variation.php:568 +#: includes/class-wc-product-variation.php:548 +#: includes/class-wc-product-variation.php:564 +#: includes/class-wc-product-variation.php:574 msgid "In stock" msgstr "" -#: includes/abstracts/abstract-wc-product.php:683 -#: includes/class-wc-product-variation.php:546 -msgid "Only %s left in stock" -msgstr "" - -#: includes/abstracts/abstract-wc-product.php:686 -#: includes/abstracts/abstract-wc-product.php:697 -#: includes/class-wc-product-variation.php:549 -#: includes/class-wc-product-variation.php:559 -msgid "(can be backordered)" -msgstr "" - -#: includes/abstracts/abstract-wc-product.php:694 -#: includes/class-wc-product-variation.php:556 -msgid "%s in stock" -msgstr "" - -#: includes/abstracts/abstract-wc-product.php:706 -#: includes/class-wc-product-variation.php:565 templates/cart/cart.php:92 -msgid "Available on backorder" -msgstr "" - -#: includes/abstracts/abstract-wc-product.php:716 -#: includes/abstracts/abstract-wc-product.php:722 +#: includes/abstracts/abstract-wc-product.php:679 #: includes/admin/class-wc-admin-post-types.php:403 #: includes/admin/class-wc-admin-reports.php:100 #: includes/admin/meta-boxes/class-wc-meta-box-product-data.php:336 @@ -5032,39 +5021,307 @@ msgstr "" #: includes/admin/views/html-bulk-edit-product.php:224 #: includes/admin/views/html-quick-edit-product.php:167 #: includes/class-wc-ajax.php:868 includes/class-wc-ajax.php:2475 -#: includes/class-wc-product-variation.php:571 -#: includes/class-wc-product-variation.php:575 +#: includes/class-wc-product-variation.php:553 msgid "Out of stock" msgstr "" -#: includes/abstracts/abstract-wc-product.php:1184 +#: includes/abstracts/abstract-wc-product.php:684 +#: includes/class-wc-product-variation.php:558 templates/cart/cart.php:92 +msgid "Available on backorder" +msgstr "" + +#: includes/abstracts/abstract-wc-product.php:694 +#: includes/class-wc-product-variation.php:568 +msgid "Only %s left in stock" +msgstr "" + +#: includes/abstracts/abstract-wc-product.php:697 +#: includes/abstracts/abstract-wc-product.php:707 +#: includes/class-wc-product-variation.php:571 +#: includes/class-wc-product-variation.php:581 +msgid "(also available on backorder)" +msgstr "" + +#: includes/abstracts/abstract-wc-product.php:704 +#: includes/class-wc-product-variation.php:578 +msgid "%s in stock" +msgstr "" + +#: includes/abstracts/abstract-wc-product.php:1171 #: includes/class-wc-embed.php:116 templates/single-product/rating.php:36 msgid "Rated %s out of 5" msgstr "" -#: includes/abstracts/abstract-wc-product.php:1186 +#: includes/abstracts/abstract-wc-product.php:1173 #: includes/admin/class-wc-admin-dashboard.php:192 #: templates/single-product/review-rating.php:29 msgid "out of 5" msgstr "" -#: includes/abstracts/abstract-wc-product.php:1567 -msgid "%s – %s" +#: includes/abstracts/abstract-wc-rest-controller.php:64 +msgid "Unable to accept more than %s items for this request." msgstr "" -#: includes/abstracts/abstract-wc-settings-api.php:701 +#: includes/abstracts/abstract-wc-rest-controller.php:156 +msgid "List of created resources." +msgstr "" + +#: includes/abstracts/abstract-wc-rest-controller.php:161 +msgid "List of updated resources." +msgstr "" + +#: includes/abstracts/abstract-wc-rest-controller.php:166 +msgid "List of delete resources." +msgstr "" + +#: includes/abstracts/abstract-wc-rest-posts-controller.php:53 +#: includes/abstracts/abstract-wc-rest-terms-controller.php:108 +#: includes/api/class-wc-rest-customer-downloads-controller.php:68 +#: includes/api/class-wc-rest-customers-controller.php:127 +#: includes/api/class-wc-rest-order-notes-controller.php:95 +#: includes/api/class-wc-rest-product-attributes-controller.php:108 +#: includes/api/class-wc-rest-product-reviews-controller.php:74 +#: includes/api/class-wc-rest-report-sales-controller.php:69 +#: includes/api/class-wc-rest-reports-controller.php:62 +#: includes/api/class-wc-rest-webhook-deliveries.php:74 +msgid "Sorry, you cannot list resources." +msgstr "" + +#: includes/abstracts/abstract-wc-rest-posts-controller.php:67 +#: includes/api/class-wc-rest-customers-controller.php:141 +#: includes/api/class-wc-rest-order-notes-controller.php:109 +#: includes/api/class-wc-rest-tax-classes-controller.php:97 +#: includes/api/class-wc-rest-taxes-controller.php:121 +msgid "Sorry, you are not allowed to create resources." +msgstr "" + +#: includes/abstracts/abstract-wc-rest-posts-controller.php:83 +#: includes/abstracts/abstract-wc-rest-terms-controller.php:146 +#: includes/api/class-wc-rest-customers-controller.php:157 +#: includes/api/class-wc-rest-customers-controller.php:490 +#: includes/api/class-wc-rest-order-notes-controller.php:125 +#: includes/api/class-wc-rest-product-reviews-controller.php:90 +#: includes/api/class-wc-rest-taxes-controller.php:135 +#: includes/api/class-wc-rest-webhook-deliveries.php:90 +msgid "Sorry, you cannot view this resource." +msgstr "" + +#: includes/abstracts/abstract-wc-rest-posts-controller.php:99 +#: includes/api/class-wc-rest-customers-controller.php:173 +#: includes/api/class-wc-rest-taxes-controller.php:149 +msgid "Sorry, you are not allowed to edit this resource." +msgstr "" + +#: includes/abstracts/abstract-wc-rest-posts-controller.php:115 +#: includes/api/class-wc-rest-customers-controller.php:189 +#: includes/api/class-wc-rest-order-notes-controller.php:141 +#: includes/api/class-wc-rest-tax-classes-controller.php:111 +#: includes/api/class-wc-rest-taxes-controller.php:163 +msgid "Sorry, you are not allowed to delete this resource." +msgstr "" + +#: includes/abstracts/abstract-wc-rest-posts-controller.php:129 +#: includes/abstracts/abstract-wc-rest-terms-controller.php:203 +#: includes/api/class-wc-rest-customers-controller.php:203 +#: includes/api/class-wc-rest-taxes-controller.php:177 +msgid "Sorry, you are not allowed to manipule this resource." +msgstr "" + +#: includes/abstracts/abstract-wc-rest-posts-controller.php:146 +msgid "Invalid id." +msgstr "" + +#: includes/abstracts/abstract-wc-rest-posts-controller.php:167 +#: includes/api/class-wc-rest-order-notes-controller.php:191 +#: includes/api/class-wc-rest-order-refunds-controller.php:270 +#: includes/api/class-wc-rest-orders-controller.php:821 +#: includes/api/class-wc-rest-webhooks-controller.php:128 +msgid "Cannot create existing %s." +msgstr "" + +#: includes/abstracts/abstract-wc-rest-posts-controller.php:251 +#: includes/api/class-wc-rest-orders-controller.php:1021 +#: includes/api/class-wc-rest-webhooks-controller.php:214 +msgid "ID is invalid." +msgstr "" + +#: includes/abstracts/abstract-wc-rest-posts-controller.php:412 +#: includes/api/class-wc-rest-webhooks-controller.php:302 +msgid "Invalid post id." +msgstr "" + +#: includes/abstracts/abstract-wc-rest-posts-controller.php:428 +msgid "Sorry, you are not allowed to delete %s." +msgstr "" + +#: includes/abstracts/abstract-wc-rest-posts-controller.php:440 +msgid "The %s does not support trashing." +msgstr "" + +#: includes/abstracts/abstract-wc-rest-posts-controller.php:445 +msgid "The %s has already been deleted." +msgstr "" + +#: includes/abstracts/abstract-wc-rest-posts-controller.php:454 +#: includes/api/class-wc-rest-order-notes-controller.php:289 +#: includes/api/class-wc-rest-webhooks-controller.php:311 +msgid "The %s cannot be deleted." +msgstr "" + +#: includes/abstracts/abstract-wc-rest-posts-controller.php:603 +msgid "Limit response to resources published after a given ISO8601 compliant date." +msgstr "" + +#: includes/abstracts/abstract-wc-rest-posts-controller.php:609 +msgid "Limit response to resources published before a given ISO8601 compliant date." +msgstr "" + +#: includes/abstracts/abstract-wc-rest-posts-controller.php:615 +#: includes/abstracts/abstract-wc-rest-terms-controller.php:683 +#: includes/api/class-wc-rest-customers-controller.php:874 +#: includes/api/class-wc-rest-taxes-controller.php:650 +msgid "Ensure result set excludes specific ids." +msgstr "" + +#: includes/abstracts/abstract-wc-rest-posts-controller.php:621 +#: includes/abstracts/abstract-wc-rest-terms-controller.php:689 +#: includes/api/class-wc-rest-customers-controller.php:880 +#: includes/api/class-wc-rest-taxes-controller.php:656 +msgid "Limit result set to specific ids." +msgstr "" + +#: includes/abstracts/abstract-wc-rest-posts-controller.php:627 +#: includes/abstracts/abstract-wc-rest-terms-controller.php:696 +#: includes/api/class-wc-rest-customers-controller.php:886 +#: includes/api/class-wc-rest-taxes-controller.php:662 +msgid "Offset the result set by a specific number of items." +msgstr "" + +#: includes/abstracts/abstract-wc-rest-posts-controller.php:633 +#: includes/abstracts/abstract-wc-rest-terms-controller.php:703 +#: includes/api/class-wc-rest-customers-controller.php:893 +#: includes/api/class-wc-rest-taxes-controller.php:669 +msgid "Order sort attribute ascending or descending." +msgstr "" + +#: includes/abstracts/abstract-wc-rest-posts-controller.php:640 +#: includes/api/class-wc-rest-customers-controller.php:901 +#: includes/api/class-wc-rest-taxes-controller.php:677 +msgid "Sort collection by object attribute." +msgstr "" + +#: includes/abstracts/abstract-wc-rest-posts-controller.php:656 +msgid "Limit result set to those of particular parent ids." +msgstr "" + +#: includes/abstracts/abstract-wc-rest-posts-controller.php:662 +msgid "Limit result set to all items except those of a particular parent id." +msgstr "" + +#: includes/abstracts/abstract-wc-rest-posts-controller.php:670 +msgid "Limit result set to posts with a specific slug." +msgstr "" + +#: includes/abstracts/abstract-wc-rest-posts-controller.php:676 +msgid "" +"Use WP Query arguments to modify the response; private query vars require " +"appropriate authorization." +msgstr "" + +#: includes/abstracts/abstract-wc-rest-terms-controller.php:77 +#: includes/api/class-wc-rest-customers-controller.php:91 +#: includes/api/class-wc-rest-order-notes-controller.php:79 +#: includes/api/class-wc-rest-order-refunds-controller.php:94 +#: includes/api/class-wc-rest-product-attributes-controller.php:92 +#: includes/api/class-wc-rest-tax-classes-controller.php:67 +#: includes/api/class-wc-rest-taxes-controller.php:81 +#: includes/api/class-wc-rest-webhooks-controller.php:102 +msgid "Required to be true, as resource does not support trashing." +msgstr "" + +#: includes/abstracts/abstract-wc-rest-terms-controller.php:127 +#: includes/api/class-wc-rest-product-attributes-controller.php:122 +msgid "Sorry, you cannot create new resource." +msgstr "" + +#: includes/abstracts/abstract-wc-rest-terms-controller.php:165 +#: includes/api/class-wc-rest-product-attributes-controller.php:158 +msgid "Sorry, you cannot update resource." +msgstr "" + +#: includes/abstracts/abstract-wc-rest-terms-controller.php:184 +#: includes/api/class-wc-rest-product-attributes-controller.php:176 +msgid "Sorry, you cannot delete resource." +msgstr "" + +#: includes/abstracts/abstract-wc-rest-terms-controller.php:220 +msgid "Taxonomy doesn't exist." +msgstr "" + +#: includes/abstracts/abstract-wc-rest-terms-controller.php:228 +#: includes/api/class-wc-rest-customer-downloads-controller.php:64 +#: includes/api/class-wc-rest-product-attributes-controller.php:136 +#: includes/api/class-wc-rest-product-attributes-controller.php:154 +#: includes/api/class-wc-rest-product-attributes-controller.php:172 +#: includes/api/class-wc-rest-product-attributes-controller.php:597 +msgid "Resource doesn't exist." +msgstr "" + +#: includes/abstracts/abstract-wc-rest-terms-controller.php:367 +#: includes/abstracts/abstract-wc-rest-terms-controller.php:469 +msgid "Can not set resource parent, taxonomy is not hierarchical." +msgstr "" + +#: includes/abstracts/abstract-wc-rest-terms-controller.php:373 +#: includes/abstracts/abstract-wc-rest-terms-controller.php:475 +msgid "Parent resource doesn't exist." +msgstr "" + +#: includes/abstracts/abstract-wc-rest-terms-controller.php:526 +#: includes/api/class-wc-rest-product-attributes-controller.php:382 +msgid "Resource does not support trashing." +msgstr "" + +#: includes/abstracts/abstract-wc-rest-terms-controller.php:535 +#: includes/api/class-wc-rest-customers-controller.php:462 +#: includes/api/class-wc-rest-product-attributes-controller.php:401 +#: includes/api/class-wc-rest-taxes-controller.php:464 +msgid "The resource cannot be deleted." +msgstr "" + +#: includes/abstracts/abstract-wc-rest-terms-controller.php:714 +msgid "Sort collection by resource attribute." +msgstr "" + +#: includes/abstracts/abstract-wc-rest-terms-controller.php:730 +msgid "Whether to hide resources not assigned to any products." +msgstr "" + +#: includes/abstracts/abstract-wc-rest-terms-controller.php:737 +msgid "Limit result set to resources assigned to a specific parent." +msgstr "" + +#: includes/abstracts/abstract-wc-rest-terms-controller.php:744 +msgid "Limit result set to resources assigned to a specific product." +msgstr "" + +#: includes/abstracts/abstract-wc-rest-terms-controller.php:750 +msgid "Limit result set to resources with a specific slug." +msgstr "" + +#: includes/abstracts/abstract-wc-settings-api.php:724 #: includes/admin/class-wc-admin-settings.php:605 #: includes/admin/meta-boxes/views/html-product-attribute.php:40 msgid "Select all" msgstr "" -#: includes/abstracts/abstract-wc-settings-api.php:701 +#: includes/abstracts/abstract-wc-settings-api.php:724 #: includes/admin/class-wc-admin-settings.php:605 #: includes/admin/meta-boxes/views/html-product-attribute.php:41 msgid "Select none" msgstr "" -#: includes/abstracts/abstract-wc-shipping-method.php:258 +#: includes/abstracts/abstract-wc-shipping-method.php:279 #: includes/admin/class-wc-admin-meta-boxes.php:126 msgid "Items" msgstr "" @@ -5092,15 +5349,15 @@ msgstr "" #: includes/admin/class-wc-admin-api-keys-table-list.php:40 #: includes/admin/class-wc-admin-post-types.php:253 #: includes/admin/class-wc-admin-setup-wizard.php:227 -#: includes/admin/settings/views/html-admin-page-shipping-classes.php:15 -#: includes/admin/settings/views/html-admin-page-shipping-zone-methods.php:16 +#: includes/admin/settings/views/html-admin-page-shipping-classes.php:17 +#: includes/admin/settings/views/html-admin-page-shipping-zone-methods.php:20 #: includes/admin/settings/views/html-keys-edit.php:16 #: includes/gateways/bacs/class-wc-gateway-bacs.php:86 #: includes/gateways/cheque/class-wc-gateway-cheque.php:67 #: includes/gateways/cod/class-wc-gateway-cod.php:75 #: includes/gateways/paypal/includes/settings-paypal.php:25 #: includes/gateways/simplify-commerce/class-wc-gateway-simplify-commerce.php:202 -#: includes/wc-template-functions.php:1096 +#: includes/wc-template-functions.php:1100 msgid "Description" msgstr "" @@ -5188,13 +5445,13 @@ msgstr "" #: includes/admin/class-wc-admin-api-keys.php:142 #: includes/admin/class-wc-admin-api-keys.php:157 -#: includes/admin/class-wc-admin-notices.php:96 +#: includes/admin/class-wc-admin-notices.php:128 #: includes/admin/class-wc-admin-settings.php:75 #: includes/admin/class-wc-admin-webhooks.php:128 #: includes/admin/class-wc-admin-webhooks.php:182 #: includes/admin/class-wc-admin-webhooks.php:262 #: includes/admin/class-wc-admin-webhooks.php:291 -#: includes/emails/class-wc-email.php:682 +#: includes/emails/class-wc-email.php:680 msgid "Action failed. Please refresh the page and retry." msgstr "" @@ -5289,53 +5546,53 @@ msgstr "" msgid "%qty% variations" msgstr "" -#: includes/admin/class-wc-admin-assets.php:219 -#: includes/admin/class-wc-admin-assets.php:356 +#: includes/admin/class-wc-admin-assets.php:216 +#: includes/admin/class-wc-admin-assets.php:354 #: includes/admin/settings/views/html-webhooks-edit.php:50 #: includes/class-wc-frontend-scripts.php:331 msgid "Select an option…" msgstr "" -#: includes/admin/class-wc-admin-assets.php:238 +#: includes/admin/class-wc-admin-assets.php:235 msgid "" "Are you sure you want to remove the selected items? If you have previously " "reduced this item's stock, or this order was submitted by a customer, you " "will need to manually restore the item's stock." msgstr "" -#: includes/admin/class-wc-admin-assets.php:239 +#: includes/admin/class-wc-admin-assets.php:236 msgid "Please select some items." msgstr "" -#: includes/admin/class-wc-admin-assets.php:240 +#: includes/admin/class-wc-admin-assets.php:237 msgid "Are you sure you wish to process this refund? This action cannot be undone." msgstr "" -#: includes/admin/class-wc-admin-assets.php:241 +#: includes/admin/class-wc-admin-assets.php:238 msgid "Are you sure you wish to delete this refund? This action cannot be undone." msgstr "" -#: includes/admin/class-wc-admin-assets.php:242 +#: includes/admin/class-wc-admin-assets.php:239 msgid "" "Are you sure you wish to delete this tax column? This action cannot be " "undone." msgstr "" -#: includes/admin/class-wc-admin-assets.php:243 +#: includes/admin/class-wc-admin-assets.php:240 msgid "Remove this item meta?" msgstr "" -#: includes/admin/class-wc-admin-assets.php:244 +#: includes/admin/class-wc-admin-assets.php:241 msgid "Remove this attribute?" msgstr "" -#: includes/admin/class-wc-admin-assets.php:245 -#: includes/admin/class-wc-admin-attributes.php:267 -#: includes/admin/class-wc-admin-attributes.php:322 -#: includes/admin/class-wc-admin-attributes.php:356 -#: includes/admin/class-wc-admin-attributes.php:379 -#: includes/admin/class-wc-admin-attributes.php:435 -#: includes/admin/class-wc-admin-attributes.php:476 +#: includes/admin/class-wc-admin-assets.php:242 +#: includes/admin/class-wc-admin-attributes.php:276 +#: includes/admin/class-wc-admin-attributes.php:331 +#: includes/admin/class-wc-admin-attributes.php:365 +#: includes/admin/class-wc-admin-attributes.php:388 +#: includes/admin/class-wc-admin-attributes.php:444 +#: includes/admin/class-wc-admin-attributes.php:485 #: includes/admin/class-wc-admin-post-types.php:221 #: includes/admin/class-wc-admin-setup-wizard.php:467 #: includes/admin/class-wc-admin-webhooks-table-list.php:40 @@ -5343,124 +5600,131 @@ msgstr "" #: includes/admin/meta-boxes/views/html-product-attribute.php:12 #: includes/admin/meta-boxes/views/html-variation-admin.php:258 #: includes/admin/settings/views/html-webhooks-edit.php:15 -#: includes/admin/views/html-admin-page-status-report.php:637 +#: includes/admin/views/html-admin-page-status-report.php:645 #: includes/class-wc-ajax.php:1446 #: includes/widgets/class-wc-widget-product-categories.php:52 #: templates/single-product-reviews.php:74 msgid "Name" msgstr "" -#: includes/admin/class-wc-admin-assets.php:246 +#: includes/admin/class-wc-admin-assets.php:243 #: includes/admin/meta-boxes/views/html-product-attribute.php:3 #: includes/admin/meta-boxes/views/html-variation-admin.php:17 +#: includes/admin/settings/views/html-admin-page-shipping-classes.php:44 +#: includes/admin/settings/views/html-admin-page-shipping-zone-methods.php:50 +#: includes/admin/settings/views/html-admin-page-shipping-zones.php:87 msgid "Remove" msgstr "" -#: includes/admin/class-wc-admin-assets.php:247 +#: includes/admin/class-wc-admin-assets.php:244 #: includes/admin/meta-boxes/views/html-order-download-permission.php:11 #: includes/admin/meta-boxes/views/html-product-attribute.php:4 #: includes/admin/meta-boxes/views/html-variation-admin.php:18 msgid "Click to toggle" msgstr "" -#: includes/admin/class-wc-admin-assets.php:248 +#: includes/admin/class-wc-admin-assets.php:245 #: includes/admin/meta-boxes/views/html-product-attribute.php:25 msgid "Value(s)" msgstr "" -#: includes/admin/class-wc-admin-assets.php:249 +#: includes/admin/class-wc-admin-assets.php:246 msgid "Enter some text, or some attributes by pipe (|) separating values." msgstr "" -#: includes/admin/class-wc-admin-assets.php:250 +#: includes/admin/class-wc-admin-assets.php:247 #: includes/admin/meta-boxes/views/html-product-attribute.php:66 msgid "Visible on the product page" msgstr "" -#: includes/admin/class-wc-admin-assets.php:251 +#: includes/admin/class-wc-admin-assets.php:248 #: includes/admin/meta-boxes/views/html-product-attribute.php:72 msgid "Used for variations" msgstr "" -#: includes/admin/class-wc-admin-assets.php:252 +#: includes/admin/class-wc-admin-assets.php:249 msgid "Enter a name for the new attribute term:" msgstr "" -#: includes/admin/class-wc-admin-assets.php:253 +#: includes/admin/class-wc-admin-assets.php:250 msgid "Calculate totals based on order items, discounts, and shipping?" msgstr "" -#: includes/admin/class-wc-admin-assets.php:254 +#: includes/admin/class-wc-admin-assets.php:251 msgid "" "Calculate line taxes? This will calculate taxes based on the customers " "country. If no billing/shipping is set it will use the store base country." msgstr "" -#: includes/admin/class-wc-admin-assets.php:255 +#: includes/admin/class-wc-admin-assets.php:252 msgid "" "Copy billing information to shipping information? This will remove any " "currently entered shipping information." msgstr "" -#: includes/admin/class-wc-admin-assets.php:256 +#: includes/admin/class-wc-admin-assets.php:253 msgid "" "Load the customer's billing information? This will remove any currently " "entered billing information." msgstr "" -#: includes/admin/class-wc-admin-assets.php:257 +#: includes/admin/class-wc-admin-assets.php:254 msgid "" "Load the customer's shipping information? This will remove any currently " "entered shipping information." msgstr "" -#: includes/admin/class-wc-admin-assets.php:258 +#: includes/admin/class-wc-admin-assets.php:255 #: includes/admin/class-wc-admin-post-types.php:234 -#: includes/admin/class-wc-admin-post-types.php:2159 +#: includes/admin/class-wc-admin-post-types.php:2164 #: includes/admin/views/html-bulk-edit-product.php:199 #: includes/admin/views/html-quick-edit-product.php:157 msgid "Featured" msgstr "" -#: includes/admin/class-wc-admin-assets.php:262 +#: includes/admin/class-wc-admin-assets.php:259 msgid "No customer selected" msgstr "" -#: includes/admin/class-wc-admin-assets.php:286 +#: includes/admin/class-wc-admin-assets.php:283 msgid "" "Could not grant access - the user may already have permission for this file " "or billing email is not set. Ensure the billing email is set, and the order " "has been saved." msgstr "" -#: includes/admin/class-wc-admin-assets.php:287 +#: includes/admin/class-wc-admin-assets.php:284 msgid "Are you sure you want to revoke access to this download?" msgstr "" -#: includes/admin/class-wc-admin-assets.php:288 +#: includes/admin/class-wc-admin-assets.php:285 msgid "You cannot add the same tax rate twice!" msgstr "" -#: includes/admin/class-wc-admin-assets.php:289 +#: includes/admin/class-wc-admin-assets.php:286 msgid "" "Your product has variations! Before changing the product type, it is a good " "idea to delete the variations to avoid errors in the stock reports." msgstr "" -#: includes/admin/class-wc-admin-assets.php:338 -#: includes/admin/views/html-admin-page-status-report.php:18 +#: includes/admin/class-wc-admin-assets.php:287 +msgid "Are you sure you wish to delete this note? This action cannot be undone." +msgstr "" + +#: includes/admin/class-wc-admin-assets.php:336 +#: includes/admin/views/html-admin-page-status-report.php:19 msgid "Copying to clipboard failed. Please press Ctrl/Cmd+C to copy." msgstr "" #: includes/admin/class-wc-admin-attributes.php:98 -#: includes/api/class-wc-api-products.php:2633 -#: includes/api/v2/class-wc-api-products.php:2056 +#: includes/api/legacy/v2/class-wc-api-products.php:2059 +#: includes/api/legacy/v3/class-wc-api-products.php:2640 msgid "Slug \"%s\" is too long (28 characters max). Shorten it, please." msgstr "" #: includes/admin/class-wc-admin-attributes.php:100 -#: includes/api/class-wc-api-products.php:2635 -#: includes/api/v2/class-wc-api-products.php:2058 +#: includes/api/legacy/v2/class-wc-api-products.php:2061 +#: includes/api/legacy/v3/class-wc-api-products.php:2642 msgid "Slug \"%s\" is not allowed because it is a reserved term. Change it, please." msgstr "" @@ -5471,63 +5735,63 @@ msgstr "" #: includes/admin/class-wc-admin-attributes.php:121 #: includes/admin/class-wc-admin-attributes.php:154 -#: includes/api/class-wc-api-products.php:2637 -#: includes/api/v2/class-wc-api-products.php:2060 +#: includes/api/legacy/v2/class-wc-api-products.php:2063 +#: includes/api/legacy/v3/class-wc-api-products.php:2644 msgid "Slug \"%s\" is already in use. Change it, please." msgstr "" -#: includes/admin/class-wc-admin-attributes.php:193 +#: includes/admin/class-wc-admin-attributes.php:201 msgid "Attribute updated successfully" msgstr "" -#: includes/admin/class-wc-admin-attributes.php:247 +#: includes/admin/class-wc-admin-attributes.php:256 msgid "Edit Attribute" msgstr "" -#: includes/admin/class-wc-admin-attributes.php:252 +#: includes/admin/class-wc-admin-attributes.php:261 msgid "Error: non-existing attribute ID." msgstr "" -#: includes/admin/class-wc-admin-attributes.php:271 -#: includes/admin/class-wc-admin-attributes.php:437 +#: includes/admin/class-wc-admin-attributes.php:280 +#: includes/admin/class-wc-admin-attributes.php:446 msgid "Name for the attribute (shown on the front-end)." msgstr "" -#: includes/admin/class-wc-admin-attributes.php:276 -#: includes/admin/class-wc-admin-attributes.php:357 -#: includes/admin/class-wc-admin-attributes.php:441 -#: includes/admin/settings/views/html-admin-page-shipping-classes.php:14 -#: includes/admin/settings/views/html-admin-page-shipping-classes.php:45 +#: includes/admin/class-wc-admin-attributes.php:285 +#: includes/admin/class-wc-admin-attributes.php:366 +#: includes/admin/class-wc-admin-attributes.php:450 +#: includes/admin/settings/views/html-admin-page-shipping-classes.php:16 +#: includes/admin/settings/views/html-admin-page-shipping-classes.php:56 msgid "Slug" msgstr "" -#: includes/admin/class-wc-admin-attributes.php:280 -#: includes/admin/class-wc-admin-attributes.php:443 +#: includes/admin/class-wc-admin-attributes.php:289 +#: includes/admin/class-wc-admin-attributes.php:452 msgid "Unique slug/reference for the attribute; must be shorter than 28 characters." msgstr "" -#: includes/admin/class-wc-admin-attributes.php:285 -#: includes/admin/class-wc-admin-attributes.php:447 +#: includes/admin/class-wc-admin-attributes.php:294 +#: includes/admin/class-wc-admin-attributes.php:456 msgid "Enable Archives?" msgstr "" -#: includes/admin/class-wc-admin-attributes.php:289 -#: includes/admin/class-wc-admin-attributes.php:449 +#: includes/admin/class-wc-admin-attributes.php:298 +#: includes/admin/class-wc-admin-attributes.php:458 msgid "" "Enable this if you want this attribute to have product archives in your " "store." msgstr "" -#: includes/admin/class-wc-admin-attributes.php:294 -#: includes/admin/class-wc-admin-attributes.php:358 -#: includes/admin/class-wc-admin-attributes.php:453 +#: includes/admin/class-wc-admin-attributes.php:303 +#: includes/admin/class-wc-admin-attributes.php:367 +#: includes/admin/class-wc-admin-attributes.php:462 #: includes/admin/class-wc-admin-post-types.php:235 -#: includes/admin/settings/views/html-admin-page-shipping-zone-methods.php:14 +#: includes/admin/settings/views/html-admin-page-shipping-zone-methods.php:19 msgid "Type" msgstr "" -#: includes/admin/class-wc-admin-attributes.php:312 -#: includes/admin/class-wc-admin-attributes.php:469 +#: includes/admin/class-wc-admin-attributes.php:321 +#: includes/admin/class-wc-admin-attributes.php:478 msgid "" "Determines how you select attributes for products. Under admin panel -> " "products -> product data -> attributes -> values, Text " @@ -5535,112 +5799,110 @@ msgid "" "terms in a drop-down list." msgstr "" -#: includes/admin/class-wc-admin-attributes.php:317 -#: includes/admin/class-wc-admin-attributes.php:473 +#: includes/admin/class-wc-admin-attributes.php:326 +#: includes/admin/class-wc-admin-attributes.php:482 msgid "Default sort order" msgstr "" -#: includes/admin/class-wc-admin-attributes.php:321 -#: includes/admin/class-wc-admin-attributes.php:388 -#: includes/admin/class-wc-admin-attributes.php:475 +#: includes/admin/class-wc-admin-attributes.php:330 +#: includes/admin/class-wc-admin-attributes.php:397 +#: includes/admin/class-wc-admin-attributes.php:484 msgid "Custom ordering" msgstr "" -#: includes/admin/class-wc-admin-attributes.php:323 -#: includes/admin/class-wc-admin-attributes.php:382 -#: includes/admin/class-wc-admin-attributes.php:477 +#: includes/admin/class-wc-admin-attributes.php:332 +#: includes/admin/class-wc-admin-attributes.php:391 +#: includes/admin/class-wc-admin-attributes.php:486 msgid "Name (numeric)" msgstr "" -#: includes/admin/class-wc-admin-attributes.php:324 -#: includes/admin/class-wc-admin-attributes.php:385 -#: includes/admin/class-wc-admin-attributes.php:478 +#: includes/admin/class-wc-admin-attributes.php:333 +#: includes/admin/class-wc-admin-attributes.php:394 +#: includes/admin/class-wc-admin-attributes.php:487 msgid "Term ID" msgstr "" -#: includes/admin/class-wc-admin-attributes.php:326 -#: includes/admin/class-wc-admin-attributes.php:480 +#: includes/admin/class-wc-admin-attributes.php:335 +#: includes/admin/class-wc-admin-attributes.php:489 msgid "" "Determines the sort order of the terms on the frontend shop product pages. " "If using custom ordering, you can drag and drop the terms in this attribute." msgstr "" -#: includes/admin/class-wc-admin-attributes.php:331 +#: includes/admin/class-wc-admin-attributes.php:340 msgid "Update" msgstr "" -#: includes/admin/class-wc-admin-attributes.php:348 +#: includes/admin/class-wc-admin-attributes.php:357 #: includes/admin/class-wc-admin-menus.php:62 #: includes/admin/meta-boxes/class-wc-meta-box-product-data.php:111 msgid "Attributes" msgstr "" -#: includes/admin/class-wc-admin-attributes.php:359 +#: includes/admin/class-wc-admin-attributes.php:368 #: includes/widgets/class-wc-widget-product-categories.php:49 #: includes/widgets/class-wc-widget-products.php:53 msgid "Order by" msgstr "" -#: includes/admin/class-wc-admin-attributes.php:360 +#: includes/admin/class-wc-admin-attributes.php:369 msgid "Terms" msgstr "" -#: includes/admin/class-wc-admin-attributes.php:372 +#: includes/admin/class-wc-admin-attributes.php:381 #: includes/admin/class-wc-admin-post-types.php:440 -#: includes/admin/class-wc-admin-post-types.php:570 -#: includes/admin/class-wc-admin-post-types.php:2163 +#: includes/admin/class-wc-admin-post-types.php:566 +#: includes/admin/class-wc-admin-post-types.php:2168 #: includes/admin/class-wc-admin-webhooks-table-list.php:99 -#: includes/admin/meta-boxes/class-wc-meta-box-order-data.php:244 -#: includes/admin/meta-boxes/class-wc-meta-box-order-data.php:328 +#: includes/admin/meta-boxes/class-wc-meta-box-order-data.php:249 +#: includes/admin/meta-boxes/class-wc-meta-box-order-data.php:333 #: includes/admin/reports/class-wc-report-customer-list.php:159 #: includes/admin/reports/class-wc-report-stock.php:133 -#: includes/admin/settings/views/html-admin-page-shipping-classes.php:56 +#: includes/admin/settings/views/html-admin-page-shipping-classes.php:44 +#: includes/admin/settings/views/html-admin-page-shipping-zones.php:87 #: includes/class-wc-post-types.php:246 includes/class-wc-post-types.php:303 #: includes/class-wc-post-types.php:365 includes/class-wc-post-types.php:406 #: templates/myaccount/my-address.php:55 msgid "Edit" msgstr "" -#: includes/admin/class-wc-admin-attributes.php:372 +#: includes/admin/class-wc-admin-attributes.php:381 #: includes/admin/meta-boxes/class-wc-meta-box-product-images.php:58 #: includes/admin/meta-boxes/class-wc-meta-box-product-images.php:78 #: includes/admin/meta-boxes/views/html-product-download.php:6 #: includes/admin/meta-boxes/views/html-product-variation-download.php:5 -#: includes/admin/settings/views/html-admin-page-shipping-classes.php:55 -#: includes/admin/settings/views/html-admin-page-shipping-zone-methods.php:61 -#: includes/admin/settings/views/html-admin-page-shipping-zones.php:124 #: includes/wc-account-functions.php:222 msgid "Delete" msgstr "" -#: includes/admin/class-wc-admin-attributes.php:375 +#: includes/admin/class-wc-admin-attributes.php:384 msgid "Public" msgstr "" -#: includes/admin/class-wc-admin-attributes.php:417 +#: includes/admin/class-wc-admin-attributes.php:426 msgid "Configure terms" msgstr "" -#: includes/admin/class-wc-admin-attributes.php:421 +#: includes/admin/class-wc-admin-attributes.php:430 msgid "No attributes currently exist." msgstr "" -#: includes/admin/class-wc-admin-attributes.php:431 +#: includes/admin/class-wc-admin-attributes.php:440 msgid "Add New Attribute" msgstr "" -#: includes/admin/class-wc-admin-attributes.php:432 +#: includes/admin/class-wc-admin-attributes.php:441 msgid "" "Attributes let you define extra product data, such as size or colour. You " "can use these attributes in the shop sidebar using the \"layered nav\" " "widgets. Please note: you cannot rename an attribute later on." msgstr "" -#: includes/admin/class-wc-admin-attributes.php:483 +#: includes/admin/class-wc-admin-attributes.php:492 msgid "Add Attribute" msgstr "" -#: includes/admin/class-wc-admin-attributes.php:494 +#: includes/admin/class-wc-admin-attributes.php:503 msgid "Are you sure you want to delete this attribute?" msgstr "" @@ -5748,7 +6010,7 @@ msgid "Webhook Settings" msgstr "" #: includes/admin/class-wc-admin-help.php:73 -#: includes/admin/class-wc-admin-setup-wizard.php:575 +#: includes/admin/class-wc-admin-setup-wizard.php:588 msgid "PayPal Standard" msgstr "" @@ -5763,17 +6025,17 @@ msgstr "" #: includes/admin/class-wc-admin-help.php:85 #: includes/shipping/free-shipping/class-wc-shipping-free-shipping.php:30 -#: includes/shipping/legacy-free-shipping/class-wc-shipping-legacy-free-shipping.php:80 +#: includes/shipping/legacy-free-shipping/class-wc-shipping-legacy-free-shipping.php:92 msgid "Free Shipping" msgstr "" #: includes/admin/class-wc-admin-help.php:89 -#: includes/shipping/legacy-local-delivery/class-wc-shipping-legacy-local-delivery.php:107 +#: includes/shipping/legacy-local-delivery/class-wc-shipping-legacy-local-delivery.php:120 msgid "Local Delivery" msgstr "" #: includes/admin/class-wc-admin-help.php:93 -#: includes/shipping/legacy-local-pickup/class-wc-shipping-legacy-local-pickup.php:84 +#: includes/shipping/legacy-local-pickup/class-wc-shipping-legacy-local-pickup.php:97 #: includes/shipping/local-pickup/class-wc-shipping-local-pickup.php:24 #: includes/shipping/local-pickup/class-wc-shipping-local-pickup.php:73 msgid "Local Pickup" @@ -5790,8 +6052,8 @@ msgid "Simple Products" msgstr "" #: includes/admin/class-wc-admin-help.php:113 -#: includes/admin/class-wc-admin-help.php:180 -#: includes/admin/class-wc-admin-help.php:198 +#: includes/admin/class-wc-admin-help.php:181 +#: includes/admin/class-wc-admin-help.php:190 #: includes/admin/class-wc-admin-menus.php:97 #: includes/admin/views/html-admin-page-status.php:12 msgid "System Status" @@ -5821,72 +6083,43 @@ msgstr "" #: includes/admin/class-wc-admin-help.php:165 #: includes/admin/class-wc-admin-help.php:167 -msgid "Documentation" -msgstr "" - -#: includes/admin/class-wc-admin-help.php:168 -msgid "" -"Should you need help understanding, using, or extending WooCommerce, please " -"read our documentation. You will find all kinds of resources including " -"snippets, tutorials and much more." +msgid "Help & Support" msgstr "" #: includes/admin/class-wc-admin-help.php:169 -msgid "WooCommerce Documentation" -msgstr "" - -#: includes/admin/class-wc-admin-help.php:169 -msgid "Developer API Docs" -msgstr "" - -#: includes/admin/class-wc-admin-help.php:175 -#: includes/admin/class-wc-admin-help.php:177 -msgid "Support" -msgstr "" - -#: includes/admin/class-wc-admin-help.php:178 msgid "" -"After %sreading the documentation%s, for further assistance you can use the " -"%scommunity forums%s on WordPress.org to talk with other users. If however " -"you are a WooThemes customer, or need help with premium add-ons sold by " -"WooThemes, please %suse our helpdesk%s." +"Should you need help understanding, using, or extending WooCommerce, " +"%splease read our documentation%s. You will find all kinds of resources " +"including snippets, tutorials and much more." msgstr "" -#: includes/admin/class-wc-admin-help.php:179 +#: includes/admin/class-wc-admin-help.php:174 +msgid "" +"For further assistance with WooCommerce core you can use the %scommunity " +"forum%s. If you need help with premium add-ons sold by WooThemes, please " +"%suse our helpdesk%s." +msgstr "" + +#: includes/admin/class-wc-admin-help.php:180 msgid "" "Before asking for help we recommend checking the system status page to " "identify any problems with your configuration." msgstr "" -#: includes/admin/class-wc-admin-help.php:180 -msgid "WordPress.org Forums" +#: includes/admin/class-wc-admin-help.php:181 +msgid "Community Forum" msgstr "" -#: includes/admin/class-wc-admin-help.php:180 -msgid "WooThemes Customer Support" -msgstr "" - -#: includes/admin/class-wc-admin-help.php:185 -#: includes/admin/class-wc-admin-help.php:187 -msgid "Education" +#: includes/admin/class-wc-admin-help.php:181 +msgid "WooThemes Helpdesk" msgstr "" +#: includes/admin/class-wc-admin-help.php:186 #: includes/admin/class-wc-admin-help.php:188 -msgid "" -"If you would like to learn about using WooCommerce from an expert, consider " -"following a WooCommerce course ran by one of our educational partners." -msgstr "" - -#: includes/admin/class-wc-admin-help.php:189 -msgid "View Education Partners" -msgstr "" - -#: includes/admin/class-wc-admin-help.php:194 -#: includes/admin/class-wc-admin-help.php:196 msgid "Found a bug?" msgstr "" -#: includes/admin/class-wc-admin-help.php:197 +#: includes/admin/class-wc-admin-help.php:189 msgid "" "If you find a bug within WooCommerce core you can create a ticket via Github issues. Ensure you read the system status report." msgstr "" -#: includes/admin/class-wc-admin-help.php:198 +#: includes/admin/class-wc-admin-help.php:190 msgid "Report a bug" msgstr "" -#: includes/admin/class-wc-admin-help.php:204 -#: includes/admin/class-wc-admin-help.php:206 -#: includes/admin/class-wc-admin-help.php:208 +#: includes/admin/class-wc-admin-help.php:196 +#: includes/admin/class-wc-admin-help.php:198 +msgid "Education" +msgstr "" + +#: includes/admin/class-wc-admin-help.php:199 +msgid "" +"If you would like to learn about using WooCommerce from an expert, consider " +"following a WooCommerce course ran by one of our educational partners." +msgstr "" + +#: includes/admin/class-wc-admin-help.php:200 +msgid "View Education Partners" +msgstr "" + +#: includes/admin/class-wc-admin-help.php:205 +#: includes/admin/class-wc-admin-help.php:207 +#: includes/admin/class-wc-admin-help.php:209 msgid "Setup Wizard" msgstr "" -#: includes/admin/class-wc-admin-help.php:207 +#: includes/admin/class-wc-admin-help.php:208 msgid "" "If you need to access the setup wizard again, please click on the button " "below." msgstr "" -#: includes/admin/class-wc-admin-help.php:213 +#: includes/admin/class-wc-admin-help.php:214 msgid "For more information:" msgstr "" -#: includes/admin/class-wc-admin-help.php:214 +#: includes/admin/class-wc-admin-help.php:215 msgid "About WooCommerce" msgstr "" -#: includes/admin/class-wc-admin-help.php:215 +#: includes/admin/class-wc-admin-help.php:216 msgid "WordPress.org Project" msgstr "" -#: includes/admin/class-wc-admin-help.php:216 +#: includes/admin/class-wc-admin-help.php:217 msgid "Github Project" msgstr "" -#: includes/admin/class-wc-admin-help.php:217 +#: includes/admin/class-wc-admin-help.php:218 msgid "Official Themes" msgstr "" -#: includes/admin/class-wc-admin-help.php:218 +#: includes/admin/class-wc-admin-help.php:219 msgid "Official Extensions" msgstr "" @@ -5953,9 +6201,9 @@ msgstr "" #: includes/admin/class-wc-admin-menus.php:80 #: includes/admin/settings/class-wc-settings-api.php:45 -#: includes/admin/settings/views/html-admin-page-shipping-zone-methods.php:61 -#: includes/admin/views/html-admin-page-status-report.php:465 -#: includes/class-wc-install.php:776 +#: includes/admin/settings/views/html-admin-page-shipping-zone-methods.php:50 +#: includes/admin/views/html-admin-page-status-report.php:470 +#: includes/class-wc-install.php:833 msgid "Settings" msgstr "" @@ -6031,12 +6279,12 @@ msgstr "" msgid "Reviews" msgstr "" -#: includes/admin/class-wc-admin-notices.php:100 +#: includes/admin/class-wc-admin-notices.php:132 #: includes/class-wc-checkout.php:74 includes/class-wc-checkout.php:83 #: includes/class-wc-emails.php:48 includes/class-wc-emails.php:57 #: includes/class-wc-payment-gateways.php:51 #: includes/class-wc-payment-gateways.php:60 includes/class-wc-shipping.php:69 -#: includes/class-wc-shipping.php:78 includes/emails/class-wc-email.php:686 +#: includes/class-wc-shipping.php:78 includes/emails/class-wc-email.php:684 #: woocommerce.php:126 woocommerce.php:134 msgid "Cheatin’ huh?" msgstr "" @@ -6412,7 +6660,7 @@ msgstr[0] "" msgstr[1] "" #: includes/admin/class-wc-admin-post-types.php:220 -#: includes/admin/class-wc-admin-taxonomies.php:312 +#: includes/admin/class-wc-admin-taxonomies.php:317 msgid "Image" msgstr "" @@ -6500,7 +6748,7 @@ msgstr "" #: includes/admin/class-wc-admin-post-types.php:270 #: includes/admin/meta-boxes/class-wc-meta-box-order-data.php:165 -#: includes/gateways/paypal/includes/class-wc-gateway-paypal-request.php:191 +#: includes/gateways/paypal/includes/class-wc-gateway-paypal-request.php:193 #: includes/wc-account-functions.php:143 templates/myaccount/my-orders.php:13 msgid "Order" msgstr "" @@ -6553,14 +6801,14 @@ msgid "External/Affiliate" msgstr "" #: includes/admin/class-wc-admin-post-types.php:359 -#: includes/admin/class-wc-admin-post-types.php:1699 +#: includes/admin/class-wc-admin-post-types.php:1695 #: includes/admin/meta-boxes/class-wc-meta-box-product-data.php:59 #: includes/admin/meta-boxes/views/html-variation-admin.php:80 msgid "Virtual" msgstr "" #: includes/admin/class-wc-admin-post-types.php:361 -#: includes/admin/class-wc-admin-post-types.php:1691 +#: includes/admin/class-wc-admin-post-types.php:1687 #: includes/admin/meta-boxes/class-wc-meta-box-product-data.php:66 #: includes/admin/meta-boxes/views/html-variation-admin.php:78 msgid "Downloadable" @@ -6579,13 +6827,13 @@ msgid "Toggle featured" msgstr "" #: includes/admin/class-wc-admin-post-types.php:393 -#: includes/admin/class-wc-admin-post-types.php:632 +#: includes/admin/class-wc-admin-post-types.php:628 +#: includes/admin/class-wc-admin-post-types.php:709 +#: includes/admin/class-wc-admin-post-types.php:711 #: includes/admin/class-wc-admin-post-types.php:713 -#: includes/admin/class-wc-admin-post-types.php:715 -#: includes/admin/class-wc-admin-post-types.php:717 #: includes/admin/settings/class-wc-settings-checkout.php:332 #: includes/admin/settings/class-wc-settings-emails.php:269 -#: includes/admin/settings/class-wc-settings-shipping.php:218 +#: includes/admin/settings/class-wc-settings-shipping.php:214 #: includes/admin/views/html-bulk-edit-product.php:205 #: includes/admin/views/html-bulk-edit-product.php:242 #: includes/admin/views/html-bulk-edit-product.php:303 @@ -6593,7 +6841,7 @@ msgid "Yes" msgstr "" #: includes/admin/class-wc-admin-post-types.php:395 -#: includes/admin/settings/class-wc-settings-shipping.php:219 +#: includes/admin/settings/class-wc-settings-shipping.php:215 #: includes/admin/views/html-bulk-edit-product.php:206 #: includes/admin/views/html-bulk-edit-product.php:243 #: includes/admin/views/html-bulk-edit-product.php:304 @@ -6613,38 +6861,38 @@ msgid "Quick Edit" msgstr "" #: includes/admin/class-wc-admin-post-types.php:445 -#: includes/admin/class-wc-admin-post-types.php:576 +#: includes/admin/class-wc-admin-post-types.php:572 #: includes/admin/class-wc-admin-webhooks-table-list.php:104 msgid "Restore this item from the Trash" msgstr "" #: includes/admin/class-wc-admin-post-types.php:445 -#: includes/admin/class-wc-admin-post-types.php:576 +#: includes/admin/class-wc-admin-post-types.php:572 #: includes/admin/class-wc-admin-webhooks-table-list.php:104 #: includes/admin/class-wc-admin-webhooks-table-list.php:246 msgid "Restore" msgstr "" #: includes/admin/class-wc-admin-post-types.php:447 -#: includes/admin/class-wc-admin-post-types.php:578 +#: includes/admin/class-wc-admin-post-types.php:574 #: includes/admin/class-wc-admin-webhooks-table-list.php:106 msgid "Move this item to the Trash" msgstr "" #: includes/admin/class-wc-admin-post-types.php:447 -#: includes/admin/class-wc-admin-post-types.php:578 +#: includes/admin/class-wc-admin-post-types.php:574 #: includes/admin/class-wc-admin-webhooks-table-list.php:106 msgid "Trash" msgstr "" #: includes/admin/class-wc-admin-post-types.php:451 -#: includes/admin/class-wc-admin-post-types.php:582 +#: includes/admin/class-wc-admin-post-types.php:578 #: includes/admin/class-wc-admin-webhooks-table-list.php:109 msgid "Delete this item permanently" msgstr "" #: includes/admin/class-wc-admin-post-types.php:451 -#: includes/admin/class-wc-admin-post-types.php:582 +#: includes/admin/class-wc-admin-post-types.php:578 #: includes/admin/class-wc-admin-webhooks-table-list.php:109 #: includes/admin/class-wc-admin-webhooks-table-list.php:247 #: includes/admin/meta-boxes/class-wc-meta-box-order-actions.php:76 @@ -6665,202 +6913,196 @@ msgid "View “%s”" msgstr "" #: includes/admin/class-wc-admin-post-types.php:459 -#: includes/admin/class-wc-admin-post-types.php:795 +#: includes/admin/class-wc-admin-post-types.php:791 #: includes/admin/reports/class-wc-report-stock.php:140 +#: includes/admin/settings/views/html-admin-page-shipping-zones.php:36 +#: includes/admin/settings/views/html-admin-page-shipping-zones.php:87 #: includes/admin/views/html-admin-page-status-logs.php:23 #: templates/myaccount/my-orders.php:76 templates/myaccount/orders.php:77 msgid "View" msgstr "" -#: includes/admin/class-wc-admin-post-types.php:530 -msgid "%s / %s" -msgstr "" - -#: includes/admin/class-wc-admin-post-types.php:532 -msgid "%s / ∞" -msgstr "" - -#: includes/admin/class-wc-admin-post-types.php:621 +#: includes/admin/class-wc-admin-post-types.php:617 msgid "Unpublished" msgstr "" -#: includes/admin/class-wc-admin-post-types.php:623 +#: includes/admin/class-wc-admin-post-types.php:619 msgid "Y/m/d g:i:s A" msgstr "" -#: includes/admin/class-wc-admin-post-types.php:624 +#: includes/admin/class-wc-admin-post-types.php:620 msgid "Y/m/d" msgstr "" -#: includes/admin/class-wc-admin-post-types.php:640 +#: includes/admin/class-wc-admin-post-types.php:636 #: includes/admin/reports/class-wc-report-sales-by-date.php:412 msgid "%d item" msgid_plural "%d items" msgstr[0] "" msgstr[1] "" -#: includes/admin/class-wc-admin-post-types.php:680 +#: includes/admin/class-wc-admin-post-types.php:676 msgid "Tel:" msgstr "" -#: includes/admin/class-wc-admin-post-types.php:693 -#: includes/admin/class-wc-admin-post-types.php:729 +#: includes/admin/class-wc-admin-post-types.php:689 +#: includes/admin/class-wc-admin-post-types.php:725 msgid "Via" msgstr "" -#: includes/admin/class-wc-admin-post-types.php:715 +#: includes/admin/class-wc-admin-post-types.php:711 msgid "plus %d other note" msgid_plural "plus %d other notes" msgstr[0] "" msgstr[1] "" -#: includes/admin/class-wc-admin-post-types.php:717 +#: includes/admin/class-wc-admin-post-types.php:713 msgid "%d note" msgid_plural "%d notes" msgstr[0] "" msgstr[1] "" -#: includes/admin/class-wc-admin-post-types.php:756 -#: includes/admin/meta-boxes/class-wc-meta-box-order-data.php:237 +#: includes/admin/class-wc-admin-post-types.php:752 +#: includes/admin/meta-boxes/class-wc-meta-box-order-data.php:242 msgid "Guest" msgstr "" -#: includes/admin/class-wc-admin-post-types.php:766 +#: includes/admin/class-wc-admin-post-types.php:762 msgid "Show more details" msgstr "" -#: includes/admin/class-wc-admin-post-types.php:780 +#: includes/admin/class-wc-admin-post-types.php:776 msgid "Processing" msgstr "" -#: includes/admin/class-wc-admin-post-types.php:788 +#: includes/admin/class-wc-admin-post-types.php:784 msgid "Complete" msgstr "" -#: includes/admin/class-wc-admin-post-types.php:938 +#: includes/admin/class-wc-admin-post-types.php:934 msgid "Sort Products" msgstr "" -#: includes/admin/class-wc-admin-post-types.php:1419 -#: includes/admin/class-wc-admin-post-types.php:1420 +#: includes/admin/class-wc-admin-post-types.php:1415 +#: includes/admin/class-wc-admin-post-types.php:1416 msgid "Mark processing" msgstr "" -#: includes/admin/class-wc-admin-post-types.php:1422 -#: includes/admin/class-wc-admin-post-types.php:1423 +#: includes/admin/class-wc-admin-post-types.php:1418 +#: includes/admin/class-wc-admin-post-types.php:1419 msgid "Mark on-hold" msgstr "" -#: includes/admin/class-wc-admin-post-types.php:1425 -#: includes/admin/class-wc-admin-post-types.php:1426 +#: includes/admin/class-wc-admin-post-types.php:1421 +#: includes/admin/class-wc-admin-post-types.php:1422 msgid "Mark complete" msgstr "" -#: includes/admin/class-wc-admin-post-types.php:1462 +#: includes/admin/class-wc-admin-post-types.php:1458 msgid "Order status changed by bulk edit:" msgstr "" -#: includes/admin/class-wc-admin-post-types.php:1496 +#: includes/admin/class-wc-admin-post-types.php:1492 msgid "Order status changed." msgid_plural "%s order statuses changed." msgstr[0] "" msgstr[1] "" -#: includes/admin/class-wc-admin-post-types.php:1651 +#: includes/admin/class-wc-admin-post-types.php:1647 msgid "Show all product types" msgstr "" -#: includes/admin/class-wc-admin-post-types.php:1664 +#: includes/admin/class-wc-admin-post-types.php:1660 #: includes/admin/meta-boxes/class-wc-meta-box-product-data.php:42 #: includes/wc-product-functions.php:521 msgid "Grouped product" msgstr "" -#: includes/admin/class-wc-admin-post-types.php:1667 +#: includes/admin/class-wc-admin-post-types.php:1663 #: includes/admin/meta-boxes/class-wc-meta-box-product-data.php:43 #: includes/wc-product-functions.php:522 msgid "External/Affiliate product" msgstr "" -#: includes/admin/class-wc-admin-post-types.php:1670 +#: includes/admin/class-wc-admin-post-types.php:1666 #: includes/admin/meta-boxes/class-wc-meta-box-product-data.php:44 #: includes/wc-product-functions.php:523 msgid "Variable product" msgstr "" -#: includes/admin/class-wc-admin-post-types.php:1673 +#: includes/admin/class-wc-admin-post-types.php:1669 #: includes/admin/meta-boxes/class-wc-meta-box-product-data.php:41 #: includes/wc-product-functions.php:520 msgid "Simple product" msgstr "" -#: includes/admin/class-wc-admin-post-types.php:1714 +#: includes/admin/class-wc-admin-post-types.php:1710 msgid "Show all types" msgstr "" -#: includes/admin/class-wc-admin-post-types.php:1743 +#: includes/admin/class-wc-admin-post-types.php:1739 #: includes/admin/settings/views/html-keys-edit.php:35 msgid "Search for a customer…" msgstr "" -#: includes/admin/class-wc-admin-post-types.php:2098 +#: includes/admin/class-wc-admin-post-types.php:2103 msgid "Product name" msgstr "" -#: includes/admin/class-wc-admin-post-types.php:2101 +#: includes/admin/class-wc-admin-post-types.php:2106 #: templates/cart/cart.php:138 templates/checkout/form-coupon.php:36 msgid "Coupon code" msgstr "" -#: includes/admin/class-wc-admin-post-types.php:2115 +#: includes/admin/class-wc-admin-post-types.php:2120 msgid "Description (optional)" msgstr "" -#: includes/admin/class-wc-admin-post-types.php:2148 +#: includes/admin/class-wc-admin-post-types.php:2153 msgid "Catalog/search" msgstr "" -#: includes/admin/class-wc-admin-post-types.php:2149 +#: includes/admin/class-wc-admin-post-types.php:2154 #: includes/admin/views/html-bulk-edit-product.php:187 #: includes/admin/views/html-quick-edit-product.php:144 msgid "Catalog" msgstr "" -#: includes/admin/class-wc-admin-post-types.php:2150 +#: includes/admin/class-wc-admin-post-types.php:2155 #: includes/admin/views/html-bulk-edit-product.php:188 #: includes/admin/views/html-quick-edit-product.php:145 msgid "Search" msgstr "" -#: includes/admin/class-wc-admin-post-types.php:2151 +#: includes/admin/class-wc-admin-post-types.php:2156 #: includes/admin/views/html-bulk-edit-product.php:189 #: includes/admin/views/html-quick-edit-product.php:146 msgid "Hidden" msgstr "" -#: includes/admin/class-wc-admin-post-types.php:2155 +#: includes/admin/class-wc-admin-post-types.php:2160 msgid "Catalog visibility:" msgstr "" -#: includes/admin/class-wc-admin-post-types.php:2171 +#: includes/admin/class-wc-admin-post-types.php:2176 msgid "" "Choose where this product should be displayed in your catalog. The product " "will always be accessible directly." msgstr "" -#: includes/admin/class-wc-admin-post-types.php:2177 +#: includes/admin/class-wc-admin-post-types.php:2182 msgid "Enable this option to feature this product." msgstr "" -#: includes/admin/class-wc-admin-post-types.php:2179 +#: includes/admin/class-wc-admin-post-types.php:2184 msgid "Featured Product" msgstr "" -#: includes/admin/class-wc-admin-post-types.php:2182 +#: includes/admin/class-wc-admin-post-types.php:2187 msgid "OK" msgstr "" -#: includes/admin/class-wc-admin-post-types.php:2183 +#: includes/admin/class-wc-admin-post-types.php:2188 #: includes/admin/meta-boxes/class-wc-meta-box-product-data.php:164 #: includes/admin/meta-boxes/class-wc-meta-box-product-data.php:742 #: includes/admin/meta-boxes/views/html-order-items.php:245 @@ -6920,8 +7162,8 @@ msgstr "" #: includes/admin/class-wc-admin-profile.php:121 #: includes/admin/meta-boxes/class-wc-meta-box-order-data.php:67 #: includes/admin/meta-boxes/class-wc-meta-box-order-data.php:116 -#: includes/class-wc-countries.php:637 includes/class-wc-countries.php:773 -#: includes/class-wc-countries.php:814 includes/class-wc-countries.php:908 +#: includes/class-wc-countries.php:651 includes/class-wc-countries.php:787 +#: includes/class-wc-countries.php:828 includes/class-wc-countries.php:922 msgid "Postcode" msgstr "" @@ -6932,7 +7174,7 @@ msgstr "" #: includes/admin/class-wc-admin-setup-wizard.php:464 #: includes/admin/meta-boxes/class-wc-meta-box-order-data.php:71 #: includes/admin/meta-boxes/class-wc-meta-box-order-data.php:120 -#: includes/class-wc-countries.php:545 +#: includes/class-wc-countries.php:559 msgid "Country" msgstr "" @@ -6940,7 +7182,7 @@ msgstr "" #: includes/admin/class-wc-admin-profile.php:129 #: includes/admin/meta-boxes/class-wc-meta-box-order-data.php:75 #: includes/admin/meta-boxes/class-wc-meta-box-order-data.php:124 -#: includes/wc-template-functions.php:1822 +#: includes/wc-template-functions.php:1826 #: templates/cart/shipping-calculator.php:39 msgid "Select a country…" msgstr "" @@ -6975,7 +7217,7 @@ msgstr "" #: includes/admin/class-wc-admin-reports.php:45 #: includes/admin/reports/class-wc-report-customer-list.php:212 -#: includes/admin/settings/class-wc-settings-accounts.php:61 +#: includes/admin/settings/class-wc-settings-accounts.php:113 #: includes/class-wc-post-types.php:299 includes/class-wc-query.php:102 #: includes/wc-account-functions.php:81 msgid "Orders" @@ -7079,7 +7321,7 @@ msgid "Shipping & Tax" msgstr "" #: includes/admin/class-wc-admin-setup-wizard.php:79 -#: includes/admin/class-wc-admin-setup-wizard.php:569 +#: includes/admin/class-wc-admin-setup-wizard.php:644 msgid "Payments" msgstr "" @@ -7161,14 +7403,14 @@ msgstr "" #: includes/admin/class-wc-admin-setup-wizard.php:257 #: includes/admin/class-wc-admin-setup-wizard.php:373 #: includes/admin/class-wc-admin-setup-wizard.php:494 -#: includes/admin/class-wc-admin-setup-wizard.php:611 +#: includes/admin/class-wc-admin-setup-wizard.php:687 msgid "Continue" msgstr "" #: includes/admin/class-wc-admin-setup-wizard.php:258 #: includes/admin/class-wc-admin-setup-wizard.php:374 #: includes/admin/class-wc-admin-setup-wizard.php:495 -#: includes/admin/class-wc-admin-setup-wizard.php:612 +#: includes/admin/class-wc-admin-setup-wizard.php:688 msgid "Skip this step" msgstr "" @@ -7194,46 +7436,46 @@ msgid "If your currency is not listed you can %sadd it later%s." msgstr "" #: includes/admin/class-wc-admin-setup-wizard.php:320 -#: includes/admin/settings/class-wc-settings-general.php:169 -#: includes/admin/views/html-admin-page-status-report.php:480 +#: includes/admin/settings/class-wc-settings-general.php:179 +#: includes/admin/views/html-admin-page-status-report.php:485 msgid "Currency Position" msgstr "" #: includes/admin/class-wc-admin-setup-wizard.php:323 -#: includes/admin/settings/class-wc-settings-general.php:177 +#: includes/admin/settings/class-wc-settings-general.php:187 msgid "Left" msgstr "" #: includes/admin/class-wc-admin-setup-wizard.php:324 -#: includes/admin/settings/class-wc-settings-general.php:178 +#: includes/admin/settings/class-wc-settings-general.php:188 msgid "Right" msgstr "" #: includes/admin/class-wc-admin-setup-wizard.php:325 -#: includes/admin/settings/class-wc-settings-general.php:179 +#: includes/admin/settings/class-wc-settings-general.php:189 msgid "Left with space" msgstr "" #: includes/admin/class-wc-admin-setup-wizard.php:326 -#: includes/admin/settings/class-wc-settings-general.php:180 +#: includes/admin/settings/class-wc-settings-general.php:190 msgid "Right with space" msgstr "" #: includes/admin/class-wc-admin-setup-wizard.php:331 -#: includes/admin/settings/class-wc-settings-general.php:186 -#: includes/admin/views/html-admin-page-status-report.php:485 +#: includes/admin/settings/class-wc-settings-general.php:196 +#: includes/admin/views/html-admin-page-status-report.php:490 msgid "Thousand Separator" msgstr "" #: includes/admin/class-wc-admin-setup-wizard.php:337 -#: includes/admin/settings/class-wc-settings-general.php:196 -#: includes/admin/views/html-admin-page-status-report.php:490 +#: includes/admin/settings/class-wc-settings-general.php:206 +#: includes/admin/views/html-admin-page-status-report.php:495 msgid "Decimal Separator" msgstr "" #: includes/admin/class-wc-admin-setup-wizard.php:343 -#: includes/admin/settings/class-wc-settings-general.php:206 -#: includes/admin/views/html-admin-page-status-report.php:495 +#: includes/admin/settings/class-wc-settings-general.php:216 +#: includes/admin/views/html-admin-page-status-report.php:500 msgid "Number of Decimals" msgstr "" @@ -7266,7 +7508,7 @@ msgid "Which unit should be used for product dimensions?" msgstr "" #: includes/admin/class-wc-admin-setup-wizard.php:363 -#: includes/admin/meta-boxes/class-wc-meta-box-order-data.php:195 +#: includes/admin/meta-boxes/class-wc-meta-box-order-data.php:200 #: includes/admin/settings/class-wc-settings-products.php:447 msgid "m" msgstr "" @@ -7336,7 +7578,7 @@ msgid "" msgstr "" #: includes/admin/class-wc-admin-setup-wizard.php:465 -#: includes/class-wc-countries.php:640 includes/class-wc-countries.php:903 +#: includes/class-wc-countries.php:654 includes/class-wc-countries.php:917 msgid "State" msgstr "" @@ -7351,70 +7593,80 @@ msgid "" "doubt, speak to an accountant." msgstr "" -#: includes/admin/class-wc-admin-setup-wizard.php:571 +#: includes/admin/class-wc-admin-setup-wizard.php:567 +msgid "PayPal by Braintree" +msgstr "" + +#: includes/admin/class-wc-admin-setup-wizard.php:569 +#: includes/admin/class-wc-admin-setup-wizard.php:576 +msgid "" +"Safe and secure payments using credit cards or your customer's PayPal " +"account. %sLearn more about PayPal%s." +msgstr "" + +#: includes/admin/class-wc-admin-setup-wizard.php:574 +msgid "PayPal Express Checkout" +msgstr "" + +#: includes/admin/class-wc-admin-setup-wizard.php:581 +msgid "Stripe" +msgstr "" + +#: includes/admin/class-wc-admin-setup-wizard.php:583 +msgid "" +"A modern and robust way to accept credit card payments on your store. " +"%sLearn more about Stripe%s." +msgstr "" + +#: includes/admin/class-wc-admin-setup-wizard.php:589 +msgid "Accept payments via PayPal using account balance or credit card." +msgstr "" + +#: includes/admin/class-wc-admin-setup-wizard.php:594 +#: includes/admin/class-wc-admin-setup-wizard.php:597 +msgid "PayPal email address" +msgstr "" + +#: includes/admin/class-wc-admin-setup-wizard.php:603 +msgid "An simple offline gateway that lets you accept a check as method of payment." +msgstr "" + +#: includes/admin/class-wc-admin-setup-wizard.php:608 +msgid "Bank Transfer (BACS) Payments" +msgstr "" + +#: includes/admin/class-wc-admin-setup-wizard.php:609 +msgid "An simple offline gateway that lets you accept BACS payment." +msgstr "" + +#: includes/admin/class-wc-admin-setup-wizard.php:614 +#: includes/gateways/cod/class-wc-gateway-cod.php:26 +#: includes/gateways/cod/class-wc-gateway-cod.php:71 +msgid "Cash on Delivery" +msgstr "" + +#: includes/admin/class-wc-admin-setup-wizard.php:615 +msgid "An simple offline gateway that lets you accept cash on delivery." +msgstr "" + +#: includes/admin/class-wc-admin-setup-wizard.php:646 msgid "" "WooCommerce can accept both online and offline payments. %2$sAdditional " "payment methods%3$s can be installed later and managed from the " "%1$scheckout settings%3$s screen." msgstr "" -#: includes/admin/class-wc-admin-setup-wizard.php:576 -msgid "" -"To accept payments via PayPal on your store, simply enter your PayPal email " -"address below." -msgstr "" - -#: includes/admin/class-wc-admin-setup-wizard.php:580 -msgid "PayPal Email Address:" -msgstr "" - -#: includes/admin/class-wc-admin-setup-wizard.php:587 -msgid "Offline Payments" -msgstr "" - -#: includes/admin/class-wc-admin-setup-wizard.php:588 -msgid "" -"Offline gateways require manual processing, but can be useful in certain " -"circumstances or for testing payments." -msgstr "" - -#: includes/admin/class-wc-admin-setup-wizard.php:592 -msgid "Cheque Payments" -msgstr "" - -#: includes/admin/class-wc-admin-setup-wizard.php:594 -msgid "Enable payment via Cheques" -msgstr "" - -#: includes/admin/class-wc-admin-setup-wizard.php:598 -#: includes/gateways/cod/class-wc-gateway-cod.php:26 -#: includes/gateways/cod/class-wc-gateway-cod.php:71 -msgid "Cash on Delivery" -msgstr "" - -#: includes/admin/class-wc-admin-setup-wizard.php:600 -msgid "Enable cash on delivery" -msgstr "" - -#: includes/admin/class-wc-admin-setup-wizard.php:604 -msgid "Bank Transfer (BACS)" -msgstr "" - -#: includes/admin/class-wc-admin-setup-wizard.php:606 -msgid "Enable BACS payments" -msgstr "" - -#: includes/admin/class-wc-admin-setup-wizard.php:673 +#: includes/admin/class-wc-admin-setup-wizard.php:751 msgid "Your Store is Ready!" msgstr "" -#: includes/admin/class-wc-admin-setup-wizard.php:677 +#: includes/admin/class-wc-admin-setup-wizard.php:755 msgid "" "Want to help make WooCommerce even more awesome? Allow WooThemes to collect " "non-sensitive diagnostic data and usage information. %sFind out more%s." msgstr "" -#: includes/admin/class-wc-admin-setup-wizard.php:679 +#: includes/admin/class-wc-admin-setup-wizard.php:757 #: includes/admin/meta-boxes/class-wc-meta-box-product-data.php:324 #: includes/admin/views/html-bulk-edit-product.php:284 #: includes/admin/views/html-notice-tracking.php:13 @@ -7423,32 +7675,32 @@ msgstr "" msgid "Allow" msgstr "" -#: includes/admin/class-wc-admin-setup-wizard.php:680 +#: includes/admin/class-wc-admin-setup-wizard.php:758 msgid "No thanks" msgstr "" -#: includes/admin/class-wc-admin-setup-wizard.php:687 +#: includes/admin/class-wc-admin-setup-wizard.php:765 msgid "Next Steps" msgstr "" -#: includes/admin/class-wc-admin-setup-wizard.php:689 +#: includes/admin/class-wc-admin-setup-wizard.php:767 msgid "Create your first product!" msgstr "" -#: includes/admin/class-wc-admin-setup-wizard.php:693 +#: includes/admin/class-wc-admin-setup-wizard.php:771 msgid "Learn More" msgstr "" -#: includes/admin/class-wc-admin-setup-wizard.php:695 +#: includes/admin/class-wc-admin-setup-wizard.php:773 msgid "Watch the WC 101 video walkthroughs" msgstr "" -#: includes/admin/class-wc-admin-setup-wizard.php:696 +#: includes/admin/class-wc-admin-setup-wizard.php:774 msgid "Get eCommerce advice in your inbox" msgstr "" -#: includes/admin/class-wc-admin-setup-wizard.php:698 -msgid "Read more about getting started" +#: includes/admin/class-wc-admin-setup-wizard.php:775 +msgid "Learn more about getting started" msgstr "" #: includes/admin/class-wc-admin-status.php:50 @@ -7484,120 +7736,116 @@ msgid "Usage tracking settings successfully reset." msgstr "" #: includes/admin/class-wc-admin-status.php:129 -msgid "There was an error calling %s::%s" -msgstr "" - -#: includes/admin/class-wc-admin-status.php:131 msgid "There was an error calling %s" msgstr "" -#: includes/admin/class-wc-admin-status.php:141 +#: includes/admin/class-wc-admin-status.php:138 msgid "Your changes have been saved." msgstr "" -#: includes/admin/class-wc-admin-status.php:154 +#: includes/admin/class-wc-admin-status.php:151 msgid "WC Transients" msgstr "" -#: includes/admin/class-wc-admin-status.php:155 +#: includes/admin/class-wc-admin-status.php:152 msgid "Clear transients" msgstr "" -#: includes/admin/class-wc-admin-status.php:156 +#: includes/admin/class-wc-admin-status.php:153 msgid "This tool will clear the product/shop transients cache." msgstr "" -#: includes/admin/class-wc-admin-status.php:159 +#: includes/admin/class-wc-admin-status.php:156 msgid "Expired Transients" msgstr "" -#: includes/admin/class-wc-admin-status.php:160 +#: includes/admin/class-wc-admin-status.php:157 msgid "Clear expired transients" msgstr "" -#: includes/admin/class-wc-admin-status.php:161 +#: includes/admin/class-wc-admin-status.php:158 msgid "This tool will clear ALL expired transients from WordPress." msgstr "" -#: includes/admin/class-wc-admin-status.php:164 +#: includes/admin/class-wc-admin-status.php:161 msgid "Term counts" msgstr "" -#: includes/admin/class-wc-admin-status.php:165 +#: includes/admin/class-wc-admin-status.php:162 msgid "Recount terms" msgstr "" -#: includes/admin/class-wc-admin-status.php:166 +#: includes/admin/class-wc-admin-status.php:163 msgid "" "This tool will recount product terms - useful when changing your settings " "in a way which hides products from the catalog." msgstr "" -#: includes/admin/class-wc-admin-status.php:169 +#: includes/admin/class-wc-admin-status.php:166 msgid "Capabilities" msgstr "" -#: includes/admin/class-wc-admin-status.php:170 +#: includes/admin/class-wc-admin-status.php:167 msgid "Reset capabilities" msgstr "" -#: includes/admin/class-wc-admin-status.php:171 +#: includes/admin/class-wc-admin-status.php:168 msgid "" "This tool will reset the admin, customer and shop_manager roles to default. " "Use this if your users cannot access all of the WooCommerce admin pages." msgstr "" -#: includes/admin/class-wc-admin-status.php:174 +#: includes/admin/class-wc-admin-status.php:171 msgid "Customer Sessions" msgstr "" -#: includes/admin/class-wc-admin-status.php:175 +#: includes/admin/class-wc-admin-status.php:172 msgid "Clear all sessions" msgstr "" -#: includes/admin/class-wc-admin-status.php:176 +#: includes/admin/class-wc-admin-status.php:173 msgid "" "Warning: This tool will delete all customer " "session data from the database, including any current live carts." msgstr "" -#: includes/admin/class-wc-admin-status.php:179 +#: includes/admin/class-wc-admin-status.php:176 msgid "Install WooCommerce Pages" msgstr "" -#: includes/admin/class-wc-admin-status.php:180 +#: includes/admin/class-wc-admin-status.php:177 msgid "Install pages" msgstr "" -#: includes/admin/class-wc-admin-status.php:181 +#: includes/admin/class-wc-admin-status.php:178 msgid "" "Note: This tool will install all the missing " "WooCommerce pages. Pages already defined and set up will not be replaced." msgstr "" -#: includes/admin/class-wc-admin-status.php:184 +#: includes/admin/class-wc-admin-status.php:181 msgid "Delete all WooCommerce tax rates" msgstr "" -#: includes/admin/class-wc-admin-status.php:185 +#: includes/admin/class-wc-admin-status.php:182 msgid "Delete ALL tax rates" msgstr "" -#: includes/admin/class-wc-admin-status.php:186 +#: includes/admin/class-wc-admin-status.php:183 msgid "" "Note: This option will delete ALL of your " "tax rates, use with caution." msgstr "" -#: includes/admin/class-wc-admin-status.php:189 +#: includes/admin/class-wc-admin-status.php:186 msgid "Reset Usage Tracking Settings" msgstr "" -#: includes/admin/class-wc-admin-status.php:190 +#: includes/admin/class-wc-admin-status.php:187 msgid "Reset usage tracking settings" msgstr "" -#: includes/admin/class-wc-admin-status.php:191 +#: includes/admin/class-wc-admin-status.php:188 msgid "" "This will reset your usage tracking settings, causing it to show the opt-in " "banner again and not sending any data." @@ -7630,7 +7878,7 @@ msgstr "" #: includes/admin/class-wc-admin-taxonomies.php:101 #: includes/admin/class-wc-admin-taxonomies.php:209 -#: includes/admin/class-wc-admin-taxonomies.php:343 +#: includes/admin/class-wc-admin-taxonomies.php:346 msgid "Thumbnail" msgstr "" @@ -7710,8 +7958,9 @@ msgstr "" #: includes/admin/class-wc-admin-webhooks.php:49 #: includes/admin/class-wc-admin-webhooks.php:195 -#: includes/api/class-wc-api-webhooks.php:197 -#: includes/api/v2/class-wc-api-webhooks.php:197 +#: includes/api/class-wc-rest-webhooks-controller.php:349 +#: includes/api/legacy/v2/class-wc-api-webhooks.php:197 +#: includes/api/legacy/v3/class-wc-api-webhooks.php:197 msgid "Webhook created on %s" msgstr "" @@ -7783,22 +8032,22 @@ msgstr "" msgid "Next ›" msgstr "" -#: includes/admin/class-wc-admin.php:150 +#: includes/admin/class-wc-admin.php:172 msgid "HTML Email Template" msgstr "" -#: includes/admin/class-wc-admin.php:197 +#: includes/admin/class-wc-admin.php:219 msgid "" "If you like WooCommerce please leave us a " "%s★★★★★%s rating. A huge thank you from " "WooThemes in advance!" msgstr "" -#: includes/admin/class-wc-admin.php:197 +#: includes/admin/class-wc-admin.php:219 msgid "Thanks :)" msgstr "" -#: includes/admin/class-wc-admin.php:205 +#: includes/admin/class-wc-admin.php:227 msgid "Thank you for selling with WooCommerce." msgstr "" @@ -8063,7 +8312,7 @@ msgid "Resend order emails" msgstr "" #: includes/admin/meta-boxes/class-wc-meta-box-order-actions.php:60 -msgid "Generate download permissions" +msgid "Regenerate download permissions" msgstr "" #: includes/admin/meta-boxes/class-wc-meta-box-order-actions.php:67 @@ -8078,24 +8327,24 @@ msgstr "" msgid "Save/update the %s" msgstr "" -#: includes/admin/meta-boxes/class-wc-meta-box-order-actions.php:128 +#: includes/admin/meta-boxes/class-wc-meta-box-order-actions.php:129 msgid "%s email notification manually sent." msgstr "" #: includes/admin/meta-boxes/class-wc-meta-box-order-data.php:43 #: includes/admin/meta-boxes/class-wc-meta-box-order-data.php:92 -#: includes/class-wc-countries.php:526 includes/class-wc-form-handler.php:177 +#: includes/class-wc-countries.php:540 includes/class-wc-form-handler.php:177 msgid "First Name" msgstr "" #: includes/admin/meta-boxes/class-wc-meta-box-order-data.php:47 #: includes/admin/meta-boxes/class-wc-meta-box-order-data.php:96 -#: includes/class-wc-countries.php:532 includes/class-wc-form-handler.php:178 +#: includes/class-wc-countries.php:546 includes/class-wc-form-handler.php:178 msgid "Last Name" msgstr "" #: includes/admin/meta-boxes/class-wc-meta-box-order-data.php:86 -#: includes/class-wc-countries.php:1002 +#: includes/class-wc-countries.php:1016 msgid "Phone" msgstr "" @@ -8103,71 +8352,71 @@ msgstr "" msgid "Payment via %s" msgstr "" -#: includes/admin/meta-boxes/class-wc-meta-box-order-data.php:186 +#: includes/admin/meta-boxes/class-wc-meta-box-order-data.php:191 msgid "Customer IP" msgstr "" -#: includes/admin/meta-boxes/class-wc-meta-box-order-data.php:192 +#: includes/admin/meta-boxes/class-wc-meta-box-order-data.php:197 msgid "General Details" msgstr "" -#: includes/admin/meta-boxes/class-wc-meta-box-order-data.php:194 +#: includes/admin/meta-boxes/class-wc-meta-box-order-data.php:199 msgid "Order date:" msgstr "" -#: includes/admin/meta-boxes/class-wc-meta-box-order-data.php:195 +#: includes/admin/meta-boxes/class-wc-meta-box-order-data.php:200 msgid "h" msgstr "" -#: includes/admin/meta-boxes/class-wc-meta-box-order-data.php:198 +#: includes/admin/meta-boxes/class-wc-meta-box-order-data.php:203 msgid "Order status:" msgstr "" -#: includes/admin/meta-boxes/class-wc-meta-box-order-data.php:202 +#: includes/admin/meta-boxes/class-wc-meta-box-order-data.php:207 msgid "Customer payment page" msgstr "" -#: includes/admin/meta-boxes/class-wc-meta-box-order-data.php:216 +#: includes/admin/meta-boxes/class-wc-meta-box-order-data.php:221 msgid "Customer:" msgstr "" -#: includes/admin/meta-boxes/class-wc-meta-box-order-data.php:224 +#: includes/admin/meta-boxes/class-wc-meta-box-order-data.php:229 msgid "View other orders" msgstr "" -#: includes/admin/meta-boxes/class-wc-meta-box-order-data.php:243 +#: includes/admin/meta-boxes/class-wc-meta-box-order-data.php:248 #: templates/checkout/form-billing.php:33 msgid "Billing Details" msgstr "" -#: includes/admin/meta-boxes/class-wc-meta-box-order-data.php:245 +#: includes/admin/meta-boxes/class-wc-meta-box-order-data.php:250 msgid "Load billing address" msgstr "" -#: includes/admin/meta-boxes/class-wc-meta-box-order-data.php:252 -#: includes/admin/meta-boxes/class-wc-meta-box-order-data.php:254 -#: includes/admin/meta-boxes/class-wc-meta-box-order-data.php:337 -#: includes/admin/meta-boxes/class-wc-meta-box-order-data.php:339 -#: includes/class-wc-countries.php:551 +#: includes/admin/meta-boxes/class-wc-meta-box-order-data.php:257 +#: includes/admin/meta-boxes/class-wc-meta-box-order-data.php:259 +#: includes/admin/meta-boxes/class-wc-meta-box-order-data.php:342 +#: includes/admin/meta-boxes/class-wc-meta-box-order-data.php:344 +#: includes/class-wc-countries.php:565 msgid "Address" msgstr "" -#: includes/admin/meta-boxes/class-wc-meta-box-order-data.php:254 +#: includes/admin/meta-boxes/class-wc-meta-box-order-data.php:259 msgid "No billing address set." msgstr "" -#: includes/admin/meta-boxes/class-wc-meta-box-order-data.php:294 +#: includes/admin/meta-boxes/class-wc-meta-box-order-data.php:299 #: includes/admin/meta-boxes/views/html-order-shipping.php:25 #: includes/admin/settings/class-wc-settings-emails.php:101 #: includes/admin/settings/class-wc-settings-emails.php:112 #: includes/admin/settings/views/settings-tax.php:95 -#: includes/admin/views/html-admin-page-status-report.php:165 +#: includes/admin/views/html-admin-page-status-report.php:166 #: includes/shipping/flat-rate/includes/settings-flat-rate.php:56 #: includes/shipping/flat-rate/includes/settings-flat-rate.php:65 #: includes/shipping/free-shipping/class-wc-shipping-free-shipping.php:63 #: includes/shipping/legacy-flat-rate/includes/settings-flat-rate.php:83 #: includes/shipping/legacy-flat-rate/includes/settings-flat-rate.php:92 -#: includes/shipping/legacy-free-shipping/class-wc-shipping-legacy-free-shipping.php:110 +#: includes/shipping/legacy-free-shipping/class-wc-shipping-legacy-free-shipping.php:122 #: includes/wc-account-functions.php:217 #: templates/order/order-details-customer.php:61 #: templates/order/order-details-customer.php:72 @@ -8175,40 +8424,40 @@ msgstr "" msgid "N/A" msgstr "" -#: includes/admin/meta-boxes/class-wc-meta-box-order-data.php:308 -#: includes/admin/meta-boxes/class-wc-meta-box-order-data.php:310 +#: includes/admin/meta-boxes/class-wc-meta-box-order-data.php:313 +#: includes/admin/meta-boxes/class-wc-meta-box-order-data.php:315 #: includes/admin/meta-boxes/views/html-order-shipping.php:41 #: includes/admin/meta-boxes/views/html-order-shipping.php:43 msgid "Other" msgstr "" -#: includes/admin/meta-boxes/class-wc-meta-box-order-data.php:317 +#: includes/admin/meta-boxes/class-wc-meta-box-order-data.php:322 msgid "Transaction ID" msgstr "" -#: includes/admin/meta-boxes/class-wc-meta-box-order-data.php:327 +#: includes/admin/meta-boxes/class-wc-meta-box-order-data.php:332 #: includes/gateways/paypal/includes/settings-paypal.php:82 msgid "Shipping Details" msgstr "" -#: includes/admin/meta-boxes/class-wc-meta-box-order-data.php:329 +#: includes/admin/meta-boxes/class-wc-meta-box-order-data.php:334 msgid "Copy from billing" msgstr "" -#: includes/admin/meta-boxes/class-wc-meta-box-order-data.php:330 +#: includes/admin/meta-boxes/class-wc-meta-box-order-data.php:335 msgid "Load shipping address" msgstr "" -#: includes/admin/meta-boxes/class-wc-meta-box-order-data.php:339 +#: includes/admin/meta-boxes/class-wc-meta-box-order-data.php:344 msgid "No shipping address set." msgstr "" -#: includes/admin/meta-boxes/class-wc-meta-box-order-data.php:357 -#: includes/admin/meta-boxes/class-wc-meta-box-order-data.php:387 +#: includes/admin/meta-boxes/class-wc-meta-box-order-data.php:362 +#: includes/admin/meta-boxes/class-wc-meta-box-order-data.php:392 msgid "Customer Provided Note" msgstr "" -#: includes/admin/meta-boxes/class-wc-meta-box-order-data.php:388 +#: includes/admin/meta-boxes/class-wc-meta-box-order-data.php:393 msgid "Customer's notes about the order" msgstr "" @@ -8286,18 +8535,6 @@ msgstr "" msgid "Inventory" msgstr "" -#: includes/admin/meta-boxes/class-wc-meta-box-product-data.php:101 -#: includes/admin/meta-boxes/class-wc-meta-box-product-data.php:696 -#: includes/admin/meta-boxes/views/html-order-items.php:156 -#: includes/admin/meta-boxes/views/html-order-shipping.php:18 -#: includes/admin/settings/class-wc-settings-shipping.php:27 -#: includes/admin/settings/class-wc-settings-tax.php:185 -#: includes/admin/settings/views/html-settings-tax.php:27 -#: includes/wc-cart-functions.php:188 templates/cart/cart-totals.php:55 -#: templates/cart/cart-totals.php:56 -msgid "Shipping" -msgstr "" - #: includes/admin/meta-boxes/class-wc-meta-box-product-data.php:106 msgid "Linked Products" msgstr "" @@ -8545,6 +8782,8 @@ msgstr "" #: includes/admin/meta-boxes/class-wc-meta-box-product-data.php:337 #: includes/admin/meta-boxes/views/html-variation-admin.php:160 +#: includes/api/class-wc-rest-products-controller.php:1913 +#: includes/api/class-wc-rest-products-controller.php:2337 msgid "" "Controls whether or not the product is listed as \"in stock\" or \"out of " "stock\" on the frontend." @@ -8818,7 +9057,9 @@ msgid "Go to the last page" msgstr "" #: includes/admin/meta-boxes/class-wc-meta-box-product-data.php:741 -#: includes/admin/settings/views/html-admin-page-shipping-zone-methods.php:84 +#: includes/admin/settings/views/html-admin-page-shipping-zone-methods.php:26 +#: includes/admin/settings/views/html-admin-page-shipping-zone-methods.php:77 +#: includes/admin/settings/views/html-admin-page-shipping-zones.php:24 #: includes/admin/settings/views/html-keys-edit.php:96 #: includes/admin/views/html-admin-page-status-tools.php:63 #: includes/admin/views/html-admin-settings.php:31 @@ -8841,8 +9082,9 @@ msgid "The downloadable file %s cannot be used as it does not exist on the serve msgstr "" #: includes/admin/meta-boxes/class-wc-meta-box-product-data.php:1305 -#: includes/api/class-wc-api-products.php:1734 -#: includes/api/v2/class-wc-api-products.php:1243 +#: includes/api/class-wc-rest-products-controller.php:1279 +#: includes/api/legacy/v2/class-wc-api-products.php:1246 +#: includes/api/legacy/v3/class-wc-api-products.php:1741 #: includes/cli/class-wc-cli-product.php:1538 msgid "Variation #%s of %s" msgstr "" @@ -8884,10 +9126,6 @@ msgstr "" msgid "Revoke Access" msgstr "" -#: includes/admin/meta-boxes/views/html-order-download-permission.php:13 -msgid "%s: %s" -msgstr "" - #: includes/admin/meta-boxes/views/html-order-download-permission.php:13 msgid "Downloaded %s time" msgid_plural "Downloaded %s times" @@ -8902,6 +9140,10 @@ msgstr "" msgid "Access expires" msgstr "" +#: includes/admin/meta-boxes/views/html-order-download-permission.php:30 +msgid "Customer download link" +msgstr "" + #: includes/admin/meta-boxes/views/html-order-fee.php:21 msgid "Fee Name" msgstr "" @@ -8942,7 +9184,7 @@ msgstr "" #: includes/admin/meta-boxes/views/html-order-items.php:50 #: includes/class-wc-form-handler.php:405 -#: includes/gateways/paypal/includes/class-wc-gateway-paypal-request.php:302 +#: includes/gateways/paypal/includes/class-wc-gateway-paypal-request.php:304 msgid "Item" msgstr "" @@ -8961,7 +9203,7 @@ msgstr "" #: includes/admin/meta-boxes/views/html-order-items.php:60 #: includes/admin/reports/class-wc-report-taxes-by-code.php:149 #: includes/admin/settings/class-wc-settings-tax.php:33 -#: includes/class-wc-countries.php:323 includes/class-wc-tax.php:649 +#: includes/class-wc-countries.php:337 includes/class-wc-tax.php:662 msgid "Tax" msgstr "" @@ -9039,7 +9281,7 @@ msgid "Add shipping cost" msgstr "" #: includes/admin/meta-boxes/views/html-order-items.php:246 -#: templates/myaccount/form-lost-password.php:59 +#: templates/myaccount/form-reset-password.php:47 msgid "Save" msgstr "" @@ -9162,7 +9404,7 @@ msgid "Drag and drop, or click to set admin variation order" msgstr "" #: includes/admin/meta-boxes/views/html-variation-admin.php:33 -#: includes/class-wc-product-variation.php:685 +#: includes/class-wc-product-variation.php:695 msgid "Any" msgstr "" @@ -9181,7 +9423,7 @@ msgstr "" #: includes/admin/meta-boxes/views/html-variation-admin.php:76 #: includes/admin/settings/class-wc-settings-checkout.php:292 #: includes/admin/settings/class-wc-settings-emails.php:269 -#: includes/admin/settings/views/html-admin-page-shipping-zone-methods.php:15 +#: includes/admin/settings/views/html-admin-page-shipping-zone-methods.php:18 #: includes/admin/views/html-admin-page-status-tools.php:31 #: includes/admin/views/html-admin-page-status-tools.php:42 #: includes/admin/views/html-admin-page-status-tools.php:53 @@ -9356,7 +9598,7 @@ msgstr "" #: includes/admin/reports/class-wc-report-customer-list.php:27 #: includes/admin/settings/class-wc-settings-emails.php:260 -#: includes/class-wc-install.php:547 +#: includes/class-wc-install.php:601 msgid "Customer" msgstr "" @@ -9730,119 +9972,122 @@ msgstr "" msgid "Page contents:" msgstr "" -#: includes/admin/settings/class-wc-settings-accounts.php:58 +#: includes/admin/settings/class-wc-settings-accounts.php:61 +msgid "Enable Registration" +msgstr "" + +#: includes/admin/settings/class-wc-settings-accounts.php:62 +msgid "Enable registration on the \"Checkout\" page" +msgstr "" + +#: includes/admin/settings/class-wc-settings-accounts.php:71 +msgid "Enable registration on the \"My Account\" page" +msgstr "" + +#: includes/admin/settings/class-wc-settings-accounts.php:80 +#: includes/class-wc-download-handler.php:138 templates/auth/form-login.php:44 +#: templates/global/form-login.php:48 templates/myaccount/form-login.php:37 +#: templates/myaccount/form-login.php:56 +msgid "Login" +msgstr "" + +#: includes/admin/settings/class-wc-settings-accounts.php:81 +msgid "Display returning customer login reminder on the \"Checkout\" page" +msgstr "" + +#: includes/admin/settings/class-wc-settings-accounts.php:90 +msgid "Account Creation" +msgstr "" + +#: includes/admin/settings/class-wc-settings-accounts.php:91 +msgid "Automatically generate username from customer email" +msgstr "" + +#: includes/admin/settings/class-wc-settings-accounts.php:100 +msgid "Automatically generate customer password" +msgstr "" + +#: includes/admin/settings/class-wc-settings-accounts.php:110 msgid "My Account Endpoints" msgstr "" -#: includes/admin/settings/class-wc-settings-accounts.php:58 +#: includes/admin/settings/class-wc-settings-accounts.php:110 msgid "" "Endpoints are appended to your page URLs to handle specific actions on the " "accounts pages. They should be unique." msgstr "" -#: includes/admin/settings/class-wc-settings-accounts.php:62 +#: includes/admin/settings/class-wc-settings-accounts.php:114 msgid "Endpoint for the My Account → Orders page" msgstr "" -#: includes/admin/settings/class-wc-settings-accounts.php:70 +#: includes/admin/settings/class-wc-settings-accounts.php:122 #: includes/class-wc-post-types.php:306 includes/class-wc-post-types.php:307 msgid "View Order" msgstr "" -#: includes/admin/settings/class-wc-settings-accounts.php:71 +#: includes/admin/settings/class-wc-settings-accounts.php:123 msgid "Endpoint for the My Account → View Order page" msgstr "" -#: includes/admin/settings/class-wc-settings-accounts.php:79 +#: includes/admin/settings/class-wc-settings-accounts.php:131 #: includes/class-wc-query.php:110 includes/wc-account-functions.php:82 msgid "Downloads" msgstr "" -#: includes/admin/settings/class-wc-settings-accounts.php:80 +#: includes/admin/settings/class-wc-settings-accounts.php:132 msgid "Endpoint for the My Account → Downloads page" msgstr "" -#: includes/admin/settings/class-wc-settings-accounts.php:88 +#: includes/admin/settings/class-wc-settings-accounts.php:140 msgid "Edit Account" msgstr "" -#: includes/admin/settings/class-wc-settings-accounts.php:89 +#: includes/admin/settings/class-wc-settings-accounts.php:141 msgid "Endpoint for the My Account → Edit Account page" msgstr "" -#: includes/admin/settings/class-wc-settings-accounts.php:97 +#: includes/admin/settings/class-wc-settings-accounts.php:149 #: includes/class-wc-query.php:116 msgid "Edit Address" msgstr "" -#: includes/admin/settings/class-wc-settings-accounts.php:98 +#: includes/admin/settings/class-wc-settings-accounts.php:150 msgid "Endpoint for the My Account → Edit Address page" msgstr "" -#: includes/admin/settings/class-wc-settings-accounts.php:106 +#: includes/admin/settings/class-wc-settings-accounts.php:158 #: includes/class-wc-query.php:119 includes/wc-account-functions.php:84 msgid "Payment Methods" msgstr "" -#: includes/admin/settings/class-wc-settings-accounts.php:107 +#: includes/admin/settings/class-wc-settings-accounts.php:159 msgid "Endpoint for the My Account → Payment Methods page" msgstr "" -#: includes/admin/settings/class-wc-settings-accounts.php:115 +#: includes/admin/settings/class-wc-settings-accounts.php:167 #: includes/class-wc-query.php:125 msgid "Lost Password" msgstr "" -#: includes/admin/settings/class-wc-settings-accounts.php:116 +#: includes/admin/settings/class-wc-settings-accounts.php:168 msgid "Endpoint for the My Account → Lost Password page" msgstr "" -#: includes/admin/settings/class-wc-settings-accounts.php:124 +#: includes/admin/settings/class-wc-settings-accounts.php:176 #: includes/wc-account-functions.php:86 templates/auth/form-grant-access.php:39 msgid "Logout" msgstr "" -#: includes/admin/settings/class-wc-settings-accounts.php:125 +#: includes/admin/settings/class-wc-settings-accounts.php:177 msgid "" "Endpoint for the triggering logout. You can add this to your menus via a " "custom link: yoursite.com/?customer-logout=true" msgstr "" -#: includes/admin/settings/class-wc-settings-accounts.php:134 -msgid "Registration Options" -msgstr "" - -#: includes/admin/settings/class-wc-settings-accounts.php:137 -msgid "Enable Registration" -msgstr "" - -#: includes/admin/settings/class-wc-settings-accounts.php:138 -msgid "Enable registration on the \"Checkout\" page" -msgstr "" - -#: includes/admin/settings/class-wc-settings-accounts.php:147 -msgid "Enable registration on the \"My Account\" page" -msgstr "" - -#: includes/admin/settings/class-wc-settings-accounts.php:156 -msgid "Display returning customer login reminder on the \"Checkout\" page" -msgstr "" - -#: includes/admin/settings/class-wc-settings-accounts.php:165 -msgid "Account Creation" -msgstr "" - -#: includes/admin/settings/class-wc-settings-accounts.php:166 -msgid "Automatically generate username from customer email" -msgstr "" - -#: includes/admin/settings/class-wc-settings-accounts.php:175 -msgid "Automatically generate customer password" -msgstr "" - #: includes/admin/settings/class-wc-settings-api.php:27 #: includes/admin/settings/class-wc-settings-api.php:68 -#: includes/admin/views/html-admin-page-status-report.php:504 +#: includes/admin/views/html-admin-page-status-report.php:509 msgid "API" msgstr "" @@ -10164,134 +10409,136 @@ msgid "This option lets you limit which countries you are willing to sell to." msgstr "" #: includes/admin/settings/class-wc-settings-general.php:72 -msgid "Sell to all countries" +msgid "Sell to All Countries" msgstr "" #: includes/admin/settings/class-wc-settings-general.php:73 -msgid "Sell to specific countries only" +#: includes/admin/settings/class-wc-settings-general.php:79 +msgid "Sell to All Countries, Except For…" msgstr "" -#: includes/admin/settings/class-wc-settings-general.php:78 +#: includes/admin/settings/class-wc-settings-general.php:74 +#: includes/admin/settings/class-wc-settings-general.php:88 msgid "Sell to Specific Countries" msgstr "" -#: includes/admin/settings/class-wc-settings-general.php:87 +#: includes/admin/settings/class-wc-settings-general.php:97 msgid "Shipping Location(s)" msgstr "" -#: includes/admin/settings/class-wc-settings-general.php:88 +#: includes/admin/settings/class-wc-settings-general.php:98 msgid "" "Choose which countries you want to ship to, or choose to ship to all " "locations you sell to." msgstr "" -#: includes/admin/settings/class-wc-settings-general.php:95 +#: includes/admin/settings/class-wc-settings-general.php:105 msgid "Ship to all countries you sell to" msgstr "" -#: includes/admin/settings/class-wc-settings-general.php:96 +#: includes/admin/settings/class-wc-settings-general.php:106 msgid "Ship to all countries" msgstr "" -#: includes/admin/settings/class-wc-settings-general.php:97 +#: includes/admin/settings/class-wc-settings-general.php:107 msgid "Ship to specific countries only" msgstr "" -#: includes/admin/settings/class-wc-settings-general.php:98 +#: includes/admin/settings/class-wc-settings-general.php:108 msgid "Disable shipping & shipping calculations" msgstr "" -#: includes/admin/settings/class-wc-settings-general.php:103 +#: includes/admin/settings/class-wc-settings-general.php:113 msgid "Ship to Specific Countries" msgstr "" -#: includes/admin/settings/class-wc-settings-general.php:112 +#: includes/admin/settings/class-wc-settings-general.php:122 msgid "Default Customer Location" msgstr "" -#: includes/admin/settings/class-wc-settings-general.php:114 +#: includes/admin/settings/class-wc-settings-general.php:124 msgid "" "This option determines a customers default location. The MaxMind GeoLite " "Database will be periodically downloaded to your wp-content directory if " "using geolocation." msgstr "" -#: includes/admin/settings/class-wc-settings-general.php:119 +#: includes/admin/settings/class-wc-settings-general.php:129 msgid "No location by default" msgstr "" -#: includes/admin/settings/class-wc-settings-general.php:120 +#: includes/admin/settings/class-wc-settings-general.php:130 #: includes/admin/settings/views/settings-tax.php:33 msgid "Shop base address" msgstr "" -#: includes/admin/settings/class-wc-settings-general.php:121 +#: includes/admin/settings/class-wc-settings-general.php:131 msgid "Geolocate" msgstr "" -#: includes/admin/settings/class-wc-settings-general.php:122 +#: includes/admin/settings/class-wc-settings-general.php:132 msgid "Geolocate (with page caching support)" msgstr "" -#: includes/admin/settings/class-wc-settings-general.php:127 +#: includes/admin/settings/class-wc-settings-general.php:137 msgid "Enable Taxes" msgstr "" -#: includes/admin/settings/class-wc-settings-general.php:128 +#: includes/admin/settings/class-wc-settings-general.php:138 msgid "Enable taxes and tax calculations" msgstr "" -#: includes/admin/settings/class-wc-settings-general.php:135 +#: includes/admin/settings/class-wc-settings-general.php:145 msgid "Store Notice" msgstr "" -#: includes/admin/settings/class-wc-settings-general.php:136 +#: includes/admin/settings/class-wc-settings-general.php:146 msgid "Enable site-wide store notice text" msgstr "" -#: includes/admin/settings/class-wc-settings-general.php:143 +#: includes/admin/settings/class-wc-settings-general.php:153 msgid "Store Notice Text" msgstr "" -#: includes/admin/settings/class-wc-settings-general.php:146 +#: includes/admin/settings/class-wc-settings-general.php:156 #: includes/wc-template-functions.php:447 msgid "" "This is a demo store for testing purposes — no orders shall be " "fulfilled." msgstr "" -#: includes/admin/settings/class-wc-settings-general.php:154 +#: includes/admin/settings/class-wc-settings-general.php:164 msgid "Currency Options" msgstr "" -#: includes/admin/settings/class-wc-settings-general.php:154 +#: includes/admin/settings/class-wc-settings-general.php:164 msgid "The following options affect how prices are displayed on the frontend." msgstr "" -#: includes/admin/settings/class-wc-settings-general.php:157 -#: includes/admin/views/html-admin-page-status-report.php:475 +#: includes/admin/settings/class-wc-settings-general.php:167 +#: includes/admin/views/html-admin-page-status-report.php:480 msgid "Currency" msgstr "" -#: includes/admin/settings/class-wc-settings-general.php:158 +#: includes/admin/settings/class-wc-settings-general.php:168 msgid "" "This controls what currency prices are listed at in the catalog and which " "currency gateways will take payments in." msgstr "" -#: includes/admin/settings/class-wc-settings-general.php:170 +#: includes/admin/settings/class-wc-settings-general.php:180 msgid "This controls the position of the currency symbol." msgstr "" -#: includes/admin/settings/class-wc-settings-general.php:187 +#: includes/admin/settings/class-wc-settings-general.php:197 msgid "This sets the thousand separator of displayed prices." msgstr "" -#: includes/admin/settings/class-wc-settings-general.php:197 +#: includes/admin/settings/class-wc-settings-general.php:207 msgid "This sets the decimal separator of displayed prices." msgstr "" -#: includes/admin/settings/class-wc-settings-general.php:207 +#: includes/admin/settings/class-wc-settings-general.php:217 msgid "This sets the number of decimal points shown in displayed prices." msgstr "" @@ -10612,7 +10859,9 @@ msgid "Only allow reviews from \"verified owners\"" msgstr "" #: includes/admin/settings/class-wc-settings-shipping.php:48 -#: includes/admin/settings/views/html-admin-page-shipping-zones.php:7 +#: includes/admin/settings/views/html-admin-page-shipping-zone-methods.php:8 +#: includes/admin/settings/views/html-admin-page-shipping-zones-instance.php:7 +#: includes/admin/settings/views/html-admin-page-shipping-zones.php:8 msgid "Shipping Zones" msgstr "" @@ -10622,7 +10871,7 @@ msgid "Shipping Options" msgstr "" #: includes/admin/settings/class-wc-settings-shipping.php:50 -#: includes/admin/settings/views/html-admin-page-shipping-classes.php:7 +#: includes/admin/settings/views/html-admin-page-shipping-classes.php:8 #: includes/class-wc-post-types.php:136 includes/class-wc-post-types.php:138 msgid "Shipping Classes" msgstr "" @@ -10659,34 +10908,39 @@ msgstr "" msgid "Force shipping to the customer billing address" msgstr "" -#: includes/admin/settings/class-wc-settings-shipping.php:206 +#: includes/admin/settings/class-wc-settings-shipping.php:202 #: includes/admin/settings/class-wc-settings-shipping.php:264 msgid "Zone does not exist!" msgstr "" -#: includes/admin/settings/class-wc-settings-shipping.php:214 -#: includes/admin/settings/class-wc-settings-shipping.php:243 +#: includes/admin/settings/class-wc-settings-shipping.php:210 +#: includes/admin/settings/class-wc-settings-shipping.php:242 #: includes/admin/settings/class-wc-settings-shipping.php:297 #: includes/admin/settings/class-wc-settings-tax.php:175 msgid "Your changed data will be lost if you leave this page without saving." msgstr "" -#: includes/admin/settings/class-wc-settings-shipping.php:215 +#: includes/admin/settings/class-wc-settings-shipping.php:211 msgid "" "Do you wish to save your changes first? Your changed data will be discarded " "if you choose to cancel." msgstr "" -#: includes/admin/settings/class-wc-settings-shipping.php:216 -#: includes/admin/settings/class-wc-settings-shipping.php:244 +#: includes/admin/settings/class-wc-settings-shipping.php:212 +#: includes/admin/settings/class-wc-settings-shipping.php:243 #: includes/admin/settings/class-wc-settings-shipping.php:298 msgid "Your changes were not saved. Please retry." msgstr "" -#: includes/admin/settings/class-wc-settings-shipping.php:217 +#: includes/admin/settings/class-wc-settings-shipping.php:213 msgid "Shipping method could not be added. Please retry." msgstr "" +#: includes/admin/settings/class-wc-settings-shipping.php:244 +#: includes/class-wc-shipping-zone.php:51 +msgid "Zone" +msgstr "" + #: includes/admin/settings/class-wc-settings-shipping.php:261 msgid "Invalid shipping method!" msgstr "" @@ -10749,72 +11003,68 @@ msgstr "" msgid "Tax Class" msgstr "" -#: includes/admin/settings/views/html-admin-page-shipping-classes.php:8 +#: includes/admin/settings/views/html-admin-page-shipping-classes.php:9 msgid "" -"Shipping classes can be used to group products of similar type. Assign " -"classes to a product on the product edit screen. Once assigned, Shipping " -"Classes can be used by some Shipping Methods (such as Flat Rate Shipping) " -"to provide different rates to different classes of product." +"Shipping classes can be used to group products of similar type and can be " +"used by some Shipping Methods (such as Flat Rate Shipping) to provide " +"different rates to different classes of product." msgstr "" -#: includes/admin/settings/views/html-admin-page-shipping-classes.php:13 +#: includes/admin/settings/views/html-admin-page-shipping-classes.php:15 #: includes/class-wc-post-types.php:139 msgid "Shipping Class" msgstr "" -#: includes/admin/settings/views/html-admin-page-shipping-classes.php:16 +#: includes/admin/settings/views/html-admin-page-shipping-classes.php:18 msgid "Product Count" msgstr "" -#: includes/admin/settings/views/html-admin-page-shipping-classes.php:23 -msgid "Add Shipping Class" -msgstr "" - #: includes/admin/settings/views/html-admin-page-shipping-classes.php:24 msgid "Save Shipping Classes" msgstr "" -#: includes/admin/settings/views/html-admin-page-shipping-classes.php:33 -msgid "No Shipping Classes have been created." +#: includes/admin/settings/views/html-admin-page-shipping-classes.php:25 +msgid "Add Shipping Class" msgstr "" -#: includes/admin/settings/views/html-admin-page-shipping-classes.php:41 +#: includes/admin/settings/views/html-admin-page-shipping-classes.php:34 +msgid "No Shipping classes have been created." +msgstr "" + +#: includes/admin/settings/views/html-admin-page-shipping-classes.php:48 msgid "Shipping Class Name" msgstr "" -#: includes/admin/settings/views/html-admin-page-shipping-classes.php:49 +#: includes/admin/settings/views/html-admin-page-shipping-classes.php:50 +#: includes/admin/settings/views/html-admin-page-shipping-zones.php:93 +msgid "Cancel changes" +msgstr "" + +#: includes/admin/settings/views/html-admin-page-shipping-classes.php:60 msgid "Description for your reference" msgstr "" -#: includes/admin/settings/views/html-admin-page-shipping-zone-methods.php:7 -msgid "Shipping Methods" -msgstr "" - -#: includes/admin/settings/views/html-admin-page-shipping-zone-methods.php:7 -msgid "Return to Shipping Zones" -msgstr "" - -#: includes/admin/settings/views/html-admin-page-shipping-zone-methods.php:8 +#: includes/admin/settings/views/html-admin-page-shipping-zone-methods.php:10 msgid "" "The following shipping methods apply to customers with shipping addresses " "within this zone." msgstr "" -#: includes/admin/settings/views/html-admin-page-shipping-zone-methods.php:12 +#: includes/admin/settings/views/html-admin-page-shipping-zone-methods.php:16 msgid "" "Drag and drop to re-order your shipping methods. This is the order in which " "they will display during checkout." msgstr "" -#: includes/admin/settings/views/html-admin-page-shipping-zone-methods.php:13 +#: includes/admin/settings/views/html-admin-page-shipping-zone-methods.php:17 #: includes/gateways/bacs/class-wc-gateway-bacs.php:79 #: includes/gateways/cheque/class-wc-gateway-cheque.php:60 #: includes/gateways/cod/class-wc-gateway-cod.php:68 #: includes/gateways/paypal/includes/settings-paypal.php:18 #: includes/gateways/simplify-commerce/class-wc-gateway-simplify-commerce.php:195 #: includes/shipping/free-shipping/class-wc-shipping-free-shipping.php:51 -#: includes/shipping/legacy-local-delivery/class-wc-shipping-legacy-local-delivery.php:104 -#: includes/shipping/legacy-local-pickup/class-wc-shipping-legacy-local-pickup.php:81 +#: includes/shipping/legacy-local-delivery/class-wc-shipping-legacy-local-delivery.php:117 +#: includes/shipping/legacy-local-pickup/class-wc-shipping-legacy-local-pickup.php:94 #: includes/shipping/local-pickup/class-wc-shipping-local-pickup.php:70 #: includes/widgets/class-wc-widget-cart.php:32 #: includes/widgets/class-wc-widget-layered-nav-filters.php:30 @@ -10831,152 +11081,130 @@ msgstr "" msgid "Title" msgstr "" -#: includes/admin/settings/views/html-admin-page-shipping-zone-methods.php:34 -#: includes/admin/settings/views/html-admin-page-shipping-zones.php:51 -#: includes/admin/settings/views/html-admin-page-shipping-zones.php:119 -#: includes/admin/settings/views/html-admin-page-shipping-zones.php:134 -#: includes/admin/settings/views/html-admin-page-shipping-zones.php:158 +#: includes/admin/settings/views/html-admin-page-shipping-zone-methods.php:27 +#: includes/admin/settings/views/html-admin-page-shipping-zone-methods.php:91 +#: includes/admin/settings/views/html-admin-page-shipping-zone-methods.php:114 +#: includes/admin/settings/views/html-admin-page-shipping-zones.php:55 +#: includes/admin/settings/views/html-admin-page-shipping-zones.php:129 +#: includes/admin/settings/views/html-admin-page-shipping-zones.php:141 +#: includes/admin/settings/views/html-admin-page-shipping-zones.php:165 msgid "Add shipping method" msgstr "" -#: includes/admin/settings/views/html-admin-page-shipping-zone-methods.php:36 -msgid "Save shipping methods" -msgstr "" - -#: includes/admin/settings/views/html-admin-page-shipping-zone-methods.php:46 +#: includes/admin/settings/views/html-admin-page-shipping-zone-methods.php:37 msgid "Add shipping methods to this zone" msgstr "" -#: includes/admin/settings/views/html-admin-page-shipping-zone-methods.php:47 +#: includes/admin/settings/views/html-admin-page-shipping-zone-methods.php:38 msgid "" "You can add multiple shipping methods within this zone. Only customers " "within the zone will see them." msgstr "" -#: includes/admin/settings/views/html-admin-page-shipping-zone-methods.php:48 +#: includes/admin/settings/views/html-admin-page-shipping-zone-methods.php:39 msgid "" "Choose a method from the dropdown below and click \"Add shipping method\" " "to get started." msgstr "" -#: includes/admin/settings/views/html-admin-page-shipping-zone-methods.php:71 -msgid "%s Settings" -msgstr "" - -#: includes/admin/settings/views/html-admin-page-shipping-zone-methods.php:73 -#: includes/admin/settings/views/html-admin-page-shipping-zones.php:136 +#: includes/admin/settings/views/html-admin-page-shipping-zone-methods.php:66 +#: includes/admin/settings/views/html-admin-page-shipping-zone-methods.php:93 +#: includes/admin/settings/views/html-admin-page-shipping-zones.php:143 msgid "Close modal panel" msgstr "" -#: includes/admin/settings/views/html-admin-page-shipping-zones-instance.php:6 -msgid "Return to Shipping Methods" -msgstr "" - -#: includes/admin/settings/views/html-admin-page-shipping-zones.php:7 -#: includes/admin/settings/views/html-admin-page-shipping-zones.php:62 +#: includes/admin/settings/views/html-admin-page-shipping-zones.php:9 +#: includes/admin/settings/views/html-admin-page-shipping-zones.php:66 msgid "" "A shipping zone is a geographic region where a certain set of shipping " "methods and rates apply." msgstr "" -#: includes/admin/settings/views/html-admin-page-shipping-zones.php:7 +#: includes/admin/settings/views/html-admin-page-shipping-zones.php:9 msgid "" "WooCommerce will automatically choose the correct shipping zone based on " "your customer‘s shipping address and present the shipping methods " "within that zone to them." msgstr "" -#: includes/admin/settings/views/html-admin-page-shipping-zones.php:12 +#: includes/admin/settings/views/html-admin-page-shipping-zones.php:15 msgid "" "Drag and drop to re-order your custom zones. This is the order in which " "they will be matched against the customer address." msgstr "" -#: includes/admin/settings/views/html-admin-page-shipping-zones.php:13 -#: includes/admin/settings/views/html-admin-page-shipping-zones.php:85 +#: includes/admin/settings/views/html-admin-page-shipping-zones.php:16 +#: includes/admin/settings/views/html-admin-page-shipping-zones.php:91 msgid "Zone Name" msgstr "" -#: includes/admin/settings/views/html-admin-page-shipping-zones.php:14 +#: includes/admin/settings/views/html-admin-page-shipping-zones.php:17 msgid "Region(s)" msgstr "" -#: includes/admin/settings/views/html-admin-page-shipping-zones.php:15 +#: includes/admin/settings/views/html-admin-page-shipping-zones.php:18 msgid "Shipping Method(s)" msgstr "" -#: includes/admin/settings/views/html-admin-page-shipping-zones.php:22 -#: includes/admin/settings/views/html-admin-page-shipping-zones.php:70 +#: includes/admin/settings/views/html-admin-page-shipping-zones.php:25 +#: includes/admin/settings/views/html-admin-page-shipping-zones.php:74 msgid "Add shipping zone" msgstr "" -#: includes/admin/settings/views/html-admin-page-shipping-zones.php:23 -msgid "Save shipping zones" -msgstr "" - -#: includes/admin/settings/views/html-admin-page-shipping-zones.php:32 +#: includes/admin/settings/views/html-admin-page-shipping-zones.php:34 #: includes/class-wc-shipping-zone.php:48 msgid "Rest of the World" msgstr "" -#: includes/admin/settings/views/html-admin-page-shipping-zones.php:34 -#: includes/admin/settings/views/html-admin-page-shipping-zones.php:82 -msgid "Edit shipping methods" -msgstr "" - -#: includes/admin/settings/views/html-admin-page-shipping-zones.php:37 +#: includes/admin/settings/views/html-admin-page-shipping-zones.php:39 msgid "" "Shipping Methods added here will apply to shipping addresses that " "aren‘t included in any other shipping zone." msgstr "" -#: includes/admin/settings/views/html-admin-page-shipping-zones.php:51 -#: includes/admin/settings/views/html-admin-page-shipping-zones.php:119 -msgid "Save changes to continue adding shipping methods to this zone." -msgstr "" - -#: includes/admin/settings/views/html-admin-page-shipping-zones.php:63 -msgid "For example:" -msgstr "" - -#: includes/admin/settings/views/html-admin-page-shipping-zones.php:65 -msgid "Local Zone = California ZIP 90210 = Local pickup" -msgstr "" - -#: includes/admin/settings/views/html-admin-page-shipping-zones.php:66 -msgid "US Domestic Zone = All US states = Flat rate shipping" +#: includes/admin/settings/views/html-admin-page-shipping-zones.php:55 +#: includes/admin/settings/views/html-admin-page-shipping-zones.php:129 +msgid "Save changes to continue adding shipping methods to this zone" msgstr "" #: includes/admin/settings/views/html-admin-page-shipping-zones.php:67 -msgid "Europe Zone = Any country in Europe = Flat rate shipping" +msgid "For example:" msgstr "" #: includes/admin/settings/views/html-admin-page-shipping-zones.php:69 +msgid "Local Zone = California ZIP 90210 = Local pickup" +msgstr "" + +#: includes/admin/settings/views/html-admin-page-shipping-zones.php:70 +msgid "US Domestic Zone = All US states = Flat rate shipping" +msgstr "" + +#: includes/admin/settings/views/html-admin-page-shipping-zones.php:71 +msgid "Europe Zone = Any country in Europe = Flat rate shipping" +msgstr "" + +#: includes/admin/settings/views/html-admin-page-shipping-zones.php:73 msgid "" "Add as many zones as you need – customers will only see the methods " "available for their address." msgstr "" -#: includes/admin/settings/views/html-admin-page-shipping-zones.php:82 -msgid "Edit Zone" -msgstr "" - -#: includes/admin/settings/views/html-admin-page-shipping-zones.php:90 +#: includes/admin/settings/views/html-admin-page-shipping-zones.php:100 msgid "Select regions within this zone" msgstr "" -#: includes/admin/settings/views/html-admin-page-shipping-zones.php:109 +#: includes/admin/settings/views/html-admin-page-shipping-zones.php:119 msgid "Limit to specific ZIP/postcodes" msgstr "" -#: includes/admin/settings/views/html-admin-page-shipping-zones.php:111 +#: includes/admin/settings/views/html-admin-page-shipping-zones.php:121 msgid "List 1 postcode per line" msgstr "" -#: includes/admin/settings/views/html-admin-page-shipping-zones.php:112 +#: includes/admin/settings/views/html-admin-page-shipping-zones.php:122 msgid "" -"Wildcards and numerical ranges are supported too, for example, 90210-99000 " -"and CB23*" +"Postcodes containing wildcards (e.g. CB23*) and fully numeric ranges (e.g. " +"90210-99000) are also supported." msgstr "" #: includes/admin/settings/views/html-keys-edit.php:8 @@ -11010,7 +11238,7 @@ msgstr "" #: includes/admin/settings/views/html-keys-edit.php:113 #: includes/admin/settings/views/html-keys-edit.php:121 -#: includes/admin/views/html-admin-page-status-report.php:17 +#: includes/admin/views/html-admin-page-status-report.php:18 msgid "Copied!" msgstr "" @@ -11461,197 +11689,197 @@ msgstr "" msgid "There are currently no logs to view." msgstr "" -#: includes/admin/views/html-admin-page-status-report.php:12 +#: includes/admin/views/html-admin-page-status-report.php:13 msgid "" "Please copy and paste this information in your ticket when contacting " "support:" msgstr "" -#: includes/admin/views/html-admin-page-status-report.php:13 +#: includes/admin/views/html-admin-page-status-report.php:14 msgid "Get System Report" msgstr "" -#: includes/admin/views/html-admin-page-status-report.php:14 +#: includes/admin/views/html-admin-page-status-report.php:15 msgid "Understanding the Status Report" msgstr "" -#: includes/admin/views/html-admin-page-status-report.php:17 +#: includes/admin/views/html-admin-page-status-report.php:18 msgid "Copy for Support" msgstr "" -#: includes/admin/views/html-admin-page-status-report.php:24 +#: includes/admin/views/html-admin-page-status-report.php:25 msgid "WordPress Environment" msgstr "" -#: includes/admin/views/html-admin-page-status-report.php:29 +#: includes/admin/views/html-admin-page-status-report.php:30 msgid "Home URL" msgstr "" -#: includes/admin/views/html-admin-page-status-report.php:30 +#: includes/admin/views/html-admin-page-status-report.php:31 msgid "The URL of your site's homepage." msgstr "" -#: includes/admin/views/html-admin-page-status-report.php:34 +#: includes/admin/views/html-admin-page-status-report.php:35 msgid "Site URL" msgstr "" -#: includes/admin/views/html-admin-page-status-report.php:35 +#: includes/admin/views/html-admin-page-status-report.php:36 msgid "The root URL of your site." msgstr "" -#: includes/admin/views/html-admin-page-status-report.php:39 +#: includes/admin/views/html-admin-page-status-report.php:40 msgid "WC Version" msgstr "" -#: includes/admin/views/html-admin-page-status-report.php:40 +#: includes/admin/views/html-admin-page-status-report.php:41 msgid "The version of WooCommerce installed on your site." msgstr "" -#: includes/admin/views/html-admin-page-status-report.php:44 +#: includes/admin/views/html-admin-page-status-report.php:45 msgid "Log Directory Writable" msgstr "" -#: includes/admin/views/html-admin-page-status-report.php:45 +#: includes/admin/views/html-admin-page-status-report.php:46 msgid "" "Several WooCommerce extensions can write logs which makes debugging " "problems easier. The directory must be writable for this to happen." msgstr "" -#: includes/admin/views/html-admin-page-status-report.php:50 +#: includes/admin/views/html-admin-page-status-report.php:51 msgid "" "To allow logging, make %s writable or define a custom " "WC_LOG_DIR." msgstr "" -#: includes/admin/views/html-admin-page-status-report.php:55 +#: includes/admin/views/html-admin-page-status-report.php:56 msgid "WP Version" msgstr "" -#: includes/admin/views/html-admin-page-status-report.php:56 +#: includes/admin/views/html-admin-page-status-report.php:57 msgid "The version of WordPress installed on your site." msgstr "" -#: includes/admin/views/html-admin-page-status-report.php:60 +#: includes/admin/views/html-admin-page-status-report.php:61 msgid "WP Multisite" msgstr "" -#: includes/admin/views/html-admin-page-status-report.php:61 +#: includes/admin/views/html-admin-page-status-report.php:62 msgid "Whether or not you have WordPress Multisite enabled." msgstr "" -#: includes/admin/views/html-admin-page-status-report.php:65 +#: includes/admin/views/html-admin-page-status-report.php:66 msgid "WP Memory Limit" msgstr "" -#: includes/admin/views/html-admin-page-status-report.php:66 +#: includes/admin/views/html-admin-page-status-report.php:67 msgid "The maximum amount of memory (RAM) that your site can use at one time." msgstr "" -#: includes/admin/views/html-admin-page-status-report.php:76 +#: includes/admin/views/html-admin-page-status-report.php:77 msgid "%s - We recommend setting memory to at least 64MB. See: %s" msgstr "" -#: includes/admin/views/html-admin-page-status-report.php:76 +#: includes/admin/views/html-admin-page-status-report.php:77 msgid "Increasing memory allocated to PHP" msgstr "" -#: includes/admin/views/html-admin-page-status-report.php:83 +#: includes/admin/views/html-admin-page-status-report.php:84 msgid "WP Debug Mode" msgstr "" -#: includes/admin/views/html-admin-page-status-report.php:84 +#: includes/admin/views/html-admin-page-status-report.php:85 msgid "Displays whether or not WordPress is in Debug Mode." msgstr "" -#: includes/admin/views/html-admin-page-status-report.php:94 +#: includes/admin/views/html-admin-page-status-report.php:95 msgid "WP Cron" msgstr "" -#: includes/admin/views/html-admin-page-status-report.php:95 +#: includes/admin/views/html-admin-page-status-report.php:96 msgid "Displays whether or not WP Cron Jobs are enabled." msgstr "" -#: includes/admin/views/html-admin-page-status-report.php:105 +#: includes/admin/views/html-admin-page-status-report.php:106 msgid "Language" msgstr "" -#: includes/admin/views/html-admin-page-status-report.php:106 +#: includes/admin/views/html-admin-page-status-report.php:107 msgid "The current language used by WordPress. Default = English" msgstr "" -#: includes/admin/views/html-admin-page-status-report.php:114 +#: includes/admin/views/html-admin-page-status-report.php:115 msgid "Server Environment" msgstr "" -#: includes/admin/views/html-admin-page-status-report.php:119 +#: includes/admin/views/html-admin-page-status-report.php:120 msgid "Server Info" msgstr "" -#: includes/admin/views/html-admin-page-status-report.php:120 +#: includes/admin/views/html-admin-page-status-report.php:121 msgid "Information about the web server that is currently hosting your site." msgstr "" -#: includes/admin/views/html-admin-page-status-report.php:124 +#: includes/admin/views/html-admin-page-status-report.php:125 msgid "PHP Version" msgstr "" -#: includes/admin/views/html-admin-page-status-report.php:125 +#: includes/admin/views/html-admin-page-status-report.php:126 msgid "The version of PHP installed on your hosting server." msgstr "" -#: includes/admin/views/html-admin-page-status-report.php:132 +#: includes/admin/views/html-admin-page-status-report.php:133 msgid "%s - We recommend a minimum PHP version of 5.6. See: %s" msgstr "" -#: includes/admin/views/html-admin-page-status-report.php:132 +#: includes/admin/views/html-admin-page-status-report.php:133 msgid "How to update your PHP version" msgstr "" -#: includes/admin/views/html-admin-page-status-report.php:137 +#: includes/admin/views/html-admin-page-status-report.php:138 msgid "Couldn't determine PHP version because phpversion() doesn't exist." msgstr "" -#: includes/admin/views/html-admin-page-status-report.php:143 +#: includes/admin/views/html-admin-page-status-report.php:144 msgid "PHP Post Max Size" msgstr "" -#: includes/admin/views/html-admin-page-status-report.php:144 +#: includes/admin/views/html-admin-page-status-report.php:145 msgid "The largest filesize that can be contained in one post." msgstr "" -#: includes/admin/views/html-admin-page-status-report.php:148 +#: includes/admin/views/html-admin-page-status-report.php:149 msgid "PHP Time Limit" msgstr "" -#: includes/admin/views/html-admin-page-status-report.php:149 +#: includes/admin/views/html-admin-page-status-report.php:150 msgid "" "The amount of time (in seconds) that your site will spend on a single " "operation before timing out (to avoid server lockups)" msgstr "" -#: includes/admin/views/html-admin-page-status-report.php:153 +#: includes/admin/views/html-admin-page-status-report.php:154 msgid "PHP Max Input Vars" msgstr "" -#: includes/admin/views/html-admin-page-status-report.php:154 +#: includes/admin/views/html-admin-page-status-report.php:155 msgid "" "The maximum number of variables your server can use for a single function " "to avoid overloads." msgstr "" -#: includes/admin/views/html-admin-page-status-report.php:158 +#: includes/admin/views/html-admin-page-status-report.php:159 msgid "CURL Version" msgstr "" -#: includes/admin/views/html-admin-page-status-report.php:159 +#: includes/admin/views/html-admin-page-status-report.php:160 msgid "The version of CURL installed on your server." msgstr "" -#: includes/admin/views/html-admin-page-status-report.php:170 +#: includes/admin/views/html-admin-page-status-report.php:171 msgid "SUHOSIN Installed" msgstr "" -#: includes/admin/views/html-admin-page-status-report.php:171 +#: includes/admin/views/html-admin-page-status-report.php:172 msgid "" "Suhosin is an advanced protection system for PHP installations. It was " "designed to protect your servers on the one hand against a number of well " @@ -11661,390 +11889,406 @@ msgid "" "its data submission limits." msgstr "" -#: includes/admin/views/html-admin-page-status-report.php:176 +#: includes/admin/views/html-admin-page-status-report.php:179 msgid "MySQL Version" msgstr "" -#: includes/admin/views/html-admin-page-status-report.php:177 +#: includes/admin/views/html-admin-page-status-report.php:180 msgid "The version of MySQL installed on your hosting server." msgstr "" -#: includes/admin/views/html-admin-page-status-report.php:185 +#: includes/admin/views/html-admin-page-status-report.php:186 msgid "%s - We recommend a minimum MySQL version of 5.6. See: %s" msgstr "" -#: includes/admin/views/html-admin-page-status-report.php:185 +#: includes/admin/views/html-admin-page-status-report.php:186 msgid "WordPress Requirements" msgstr "" -#: includes/admin/views/html-admin-page-status-report.php:193 +#: includes/admin/views/html-admin-page-status-report.php:195 msgid "Max Upload Size" msgstr "" -#: includes/admin/views/html-admin-page-status-report.php:194 +#: includes/admin/views/html-admin-page-status-report.php:196 msgid "The largest filesize that can be uploaded to your WordPress installation." msgstr "" -#: includes/admin/views/html-admin-page-status-report.php:198 +#: includes/admin/views/html-admin-page-status-report.php:200 msgid "Default Timezone is UTC" msgstr "" -#: includes/admin/views/html-admin-page-status-report.php:199 +#: includes/admin/views/html-admin-page-status-report.php:201 msgid "The default timezone for your server." msgstr "" -#: includes/admin/views/html-admin-page-status-report.php:203 +#: includes/admin/views/html-admin-page-status-report.php:205 msgid "Default timezone is %s - it should be UTC" msgstr "" -#: includes/admin/views/html-admin-page-status-report.php:214 +#: includes/admin/views/html-admin-page-status-report.php:216 msgid "" "Payment gateways can use cURL to communicate with remote servers to " "authorize payments, other plugins may also use it when communicating with " "remote services." msgstr "" -#: includes/admin/views/html-admin-page-status-report.php:220 +#: includes/admin/views/html-admin-page-status-report.php:222 msgid "" "Your server does not have fsockopen or cURL enabled - PayPal IPN and other " "scripts which communicate with other servers will not work. Contact your " "hosting provider." msgstr "" -#: includes/admin/views/html-admin-page-status-report.php:225 +#: includes/admin/views/html-admin-page-status-report.php:227 msgid "" "Some webservices like shipping use SOAP to get information from remote " "servers, for example, live shipping quotes from FedEx require SOAP to be " "installed." msgstr "" -#: includes/admin/views/html-admin-page-status-report.php:231 +#: includes/admin/views/html-admin-page-status-report.php:233 msgid "" "Your server does not have the %s class enabled - some gateway plugins which " "use SOAP may not work as expected." msgstr "" -#: includes/admin/views/html-admin-page-status-report.php:236 +#: includes/admin/views/html-admin-page-status-report.php:238 msgid "HTML/Multipart emails use DOMDocument to generate inline CSS in templates." msgstr "" -#: includes/admin/views/html-admin-page-status-report.php:242 +#: includes/admin/views/html-admin-page-status-report.php:244 msgid "" "Your server does not have the %s class enabled - HTML/Multipart emails, and " "also some extensions, will not work without DOMDocument." msgstr "" -#: includes/admin/views/html-admin-page-status-report.php:247 +#: includes/admin/views/html-admin-page-status-report.php:249 msgid "GZip (gzopen) is used to open the GEOIP database from MaxMind." msgstr "" -#: includes/admin/views/html-admin-page-status-report.php:253 +#: includes/admin/views/html-admin-page-status-report.php:255 msgid "" "Your server does not support the %s function - this is required to use the " "GeoIP database from MaxMind." msgstr "" -#: includes/admin/views/html-admin-page-status-report.php:258 +#: includes/admin/views/html-admin-page-status-report.php:260 msgid "" "Multibyte String (mbstring) is used to convert character encoding, like for " "emails or converting characters to lowercase." msgstr "" -#: includes/admin/views/html-admin-page-status-report.php:264 +#: includes/admin/views/html-admin-page-status-report.php:266 msgid "" "Your server does not support the %s functions - this is required for better " "character encoding. Some fallbacks will be used instead for it." msgstr "" -#: includes/admin/views/html-admin-page-status-report.php:268 +#: includes/admin/views/html-admin-page-status-report.php:270 msgid "Remote Post" msgstr "" -#: includes/admin/views/html-admin-page-status-report.php:269 +#: includes/admin/views/html-admin-page-status-report.php:271 msgid "" "PayPal uses this method of communicating when sending back transaction " "information." msgstr "" -#: includes/admin/views/html-admin-page-status-report.php:283 +#: includes/admin/views/html-admin-page-status-report.php:285 msgid "" "wp_remote_post() failed. PayPal IPN won't work with your server. Contact " "your hosting provider." msgstr "" -#: includes/admin/views/html-admin-page-status-report.php:285 -#: includes/admin/views/html-admin-page-status-report.php:303 -#: includes/class-wc-auth.php:356 +#: includes/admin/views/html-admin-page-status-report.php:287 +#: includes/admin/views/html-admin-page-status-report.php:305 +#: includes/class-wc-auth.php:375 msgid "Error: %s" msgstr "" -#: includes/admin/views/html-admin-page-status-report.php:287 -#: includes/admin/views/html-admin-page-status-report.php:305 +#: includes/admin/views/html-admin-page-status-report.php:289 +#: includes/admin/views/html-admin-page-status-report.php:307 msgid "Status code: %s" msgstr "" -#: includes/admin/views/html-admin-page-status-report.php:293 +#: includes/admin/views/html-admin-page-status-report.php:295 msgid "Remote Get" msgstr "" -#: includes/admin/views/html-admin-page-status-report.php:294 +#: includes/admin/views/html-admin-page-status-report.php:296 msgid "" "WooCommerce plugins may use this method of communication when checking for " "plugin updates." msgstr "" -#: includes/admin/views/html-admin-page-status-report.php:301 +#: includes/admin/views/html-admin-page-status-report.php:303 msgid "" "wp_remote_get() failed. The WooCommerce plugin updater won't work with your " "server. Contact your hosting provider." msgstr "" -#: includes/admin/views/html-admin-page-status-report.php:332 +#: includes/admin/views/html-admin-page-status-report.php:334 msgid "Database" msgstr "" -#: includes/admin/views/html-admin-page-status-report.php:337 +#: includes/admin/views/html-admin-page-status-report.php:339 msgid "WC Database Version" msgstr "" -#: includes/admin/views/html-admin-page-status-report.php:338 +#: includes/admin/views/html-admin-page-status-report.php:340 msgid "" "The version of WooCommerce that the database is formatted for. This should " "be the same as your WooCommerce Version." msgstr "" -#: includes/admin/views/html-admin-page-status-report.php:365 +#: includes/admin/views/html-admin-page-status-report.php:370 msgid "Table does not exist" msgstr "" -#: includes/admin/views/html-admin-page-status-report.php:373 +#: includes/admin/views/html-admin-page-status-report.php:378 msgid "MaxMind GeoIP Database" msgstr "" -#: includes/admin/views/html-admin-page-status-report.php:374 +#: includes/admin/views/html-admin-page-status-report.php:379 msgid "The GeoIP database from MaxMind is used to geolocate customers." msgstr "" -#: includes/admin/views/html-admin-page-status-report.php:379 +#: includes/admin/views/html-admin-page-status-report.php:384 msgid "" "The MaxMind GeoIP Database does not exist - Geolocation will not function. " -"You can download and install it manually from %s to the path: %s" +"You can download and install it manually from %1$s to the path: %2$s" msgstr "" -#: includes/admin/views/html-admin-page-status-report.php:393 +#: includes/admin/views/html-admin-page-status-report.php:398 msgid "Active Plugins" msgstr "" -#: includes/admin/views/html-admin-page-status-report.php:418 +#: includes/admin/views/html-admin-page-status-report.php:423 msgid "Visit plugin homepage" msgstr "" -#: includes/admin/views/html-admin-page-status-report.php:446 +#: includes/admin/views/html-admin-page-status-report.php:451 msgid "Network enabled" msgstr "" -#: includes/admin/views/html-admin-page-status-report.php:470 +#: includes/admin/views/html-admin-page-status-report.php:475 msgid "Force SSL" msgstr "" -#: includes/admin/views/html-admin-page-status-report.php:471 +#: includes/admin/views/html-admin-page-status-report.php:476 msgid "Does your site force a SSL Certificate for transactions?" msgstr "" -#: includes/admin/views/html-admin-page-status-report.php:476 +#: includes/admin/views/html-admin-page-status-report.php:481 msgid "" "What currency prices are listed at in the catalog and which currency " "gateways will take payments in." msgstr "" -#: includes/admin/views/html-admin-page-status-report.php:481 +#: includes/admin/views/html-admin-page-status-report.php:486 msgid "The position of the currency symbol." msgstr "" -#: includes/admin/views/html-admin-page-status-report.php:486 +#: includes/admin/views/html-admin-page-status-report.php:491 msgid "The thousand separator of displayed prices." msgstr "" -#: includes/admin/views/html-admin-page-status-report.php:491 +#: includes/admin/views/html-admin-page-status-report.php:496 msgid "The decimal separator of displayed prices." msgstr "" -#: includes/admin/views/html-admin-page-status-report.php:496 +#: includes/admin/views/html-admin-page-status-report.php:501 msgid "The number of decimal points shown in displayed prices." msgstr "" -#: includes/admin/views/html-admin-page-status-report.php:509 +#: includes/admin/views/html-admin-page-status-report.php:514 msgid "API Enabled" msgstr "" -#: includes/admin/views/html-admin-page-status-report.php:510 +#: includes/admin/views/html-admin-page-status-report.php:515 msgid "Does your site have REST API enabled?" msgstr "" -#: includes/admin/views/html-admin-page-status-report.php:514 +#: includes/admin/views/html-admin-page-status-report.php:519 msgid "API Version" msgstr "" -#: includes/admin/views/html-admin-page-status-report.php:515 +#: includes/admin/views/html-admin-page-status-report.php:520 msgid "What version of the REST API does your site use?" msgstr "" -#: includes/admin/views/html-admin-page-status-report.php:523 +#: includes/admin/views/html-admin-page-status-report.php:528 msgid "WC Pages" msgstr "" -#: includes/admin/views/html-admin-page-status-report.php:532 +#: includes/admin/views/html-admin-page-status-report.php:537 msgid "The URL of your WooCommerce shop's homepage (along with the Page ID)." msgstr "" -#: includes/admin/views/html-admin-page-status-report.php:537 +#: includes/admin/views/html-admin-page-status-report.php:542 msgid "The URL of your WooCommerce shop's cart (along with the page ID)." msgstr "" -#: includes/admin/views/html-admin-page-status-report.php:542 +#: includes/admin/views/html-admin-page-status-report.php:547 msgid "The URL of your WooCommerce shop's checkout (along with the page ID)." msgstr "" -#: includes/admin/views/html-admin-page-status-report.php:547 +#: includes/admin/views/html-admin-page-status-report.php:552 msgid "" "The URL of your WooCommerce shop's “My Account” Page (along with the page " "ID)." msgstr "" -#: includes/admin/views/html-admin-page-status-report.php:568 +#: includes/admin/views/html-admin-page-status-report.php:573 msgid "Page not set" msgstr "" -#: includes/admin/views/html-admin-page-status-report.php:571 +#: includes/admin/views/html-admin-page-status-report.php:576 +msgid "Page ID is set, but the page does not exist" +msgstr "" + +#: includes/admin/views/html-admin-page-status-report.php:579 msgid "Page visibility should be %spublic%s" msgstr "" -#: includes/admin/views/html-admin-page-status-report.php:581 +#: includes/admin/views/html-admin-page-status-report.php:589 msgid "Page does not exist" msgstr "" -#: includes/admin/views/html-admin-page-status-report.php:586 +#: includes/admin/views/html-admin-page-status-report.php:594 msgid "Page does not contain the shortcode: %s" msgstr "" -#: includes/admin/views/html-admin-page-status-report.php:604 +#: includes/admin/views/html-admin-page-status-report.php:612 msgid "Taxonomies" msgstr "" -#: includes/admin/views/html-admin-page-status-report.php:604 +#: includes/admin/views/html-admin-page-status-report.php:612 msgid "" "A list of taxonomy terms that can be used in regard to order/product " "statuses." msgstr "" -#: includes/admin/views/html-admin-page-status-report.php:609 +#: includes/admin/views/html-admin-page-status-report.php:617 msgid "Product Types" msgstr "" -#: includes/admin/views/html-admin-page-status-report.php:625 +#: includes/admin/views/html-admin-page-status-report.php:633 msgid "Theme" msgstr "" -#: includes/admin/views/html-admin-page-status-report.php:638 +#: includes/admin/views/html-admin-page-status-report.php:646 msgid "The name of the current active theme." msgstr "" -#: includes/admin/views/html-admin-page-status-report.php:642 +#: includes/admin/views/html-admin-page-status-report.php:650 msgid "Version" msgstr "" -#: includes/admin/views/html-admin-page-status-report.php:643 +#: includes/admin/views/html-admin-page-status-report.php:651 msgid "The installed version of the current active theme." msgstr "" -#: includes/admin/views/html-admin-page-status-report.php:648 -#: includes/admin/views/html-admin-page-status-report.php:681 +#: includes/admin/views/html-admin-page-status-report.php:656 +#: includes/admin/views/html-admin-page-status-report.php:689 msgid "%s is available" msgstr "" -#: includes/admin/views/html-admin-page-status-report.php:653 +#: includes/admin/views/html-admin-page-status-report.php:661 msgid "Author URL" msgstr "" -#: includes/admin/views/html-admin-page-status-report.php:654 +#: includes/admin/views/html-admin-page-status-report.php:662 msgid "The theme developers URL." msgstr "" -#: includes/admin/views/html-admin-page-status-report.php:658 +#: includes/admin/views/html-admin-page-status-report.php:666 msgid "Child Theme" msgstr "" -#: includes/admin/views/html-admin-page-status-report.php:659 +#: includes/admin/views/html-admin-page-status-report.php:667 msgid "Displays whether or not the current theme is a child theme." msgstr "" -#: includes/admin/views/html-admin-page-status-report.php:661 +#: includes/admin/views/html-admin-page-status-report.php:669 msgid "" "If you're modifying WooCommerce on a parent theme you didn't build " "personally, then we recommend using a child theme. See: How to create a child theme" msgstr "" -#: includes/admin/views/html-admin-page-status-report.php:670 +#: includes/admin/views/html-admin-page-status-report.php:678 msgid "Parent Theme Name" msgstr "" -#: includes/admin/views/html-admin-page-status-report.php:671 +#: includes/admin/views/html-admin-page-status-report.php:679 msgid "The name of the parent theme." msgstr "" -#: includes/admin/views/html-admin-page-status-report.php:675 +#: includes/admin/views/html-admin-page-status-report.php:683 msgid "Parent Theme Version" msgstr "" -#: includes/admin/views/html-admin-page-status-report.php:676 +#: includes/admin/views/html-admin-page-status-report.php:684 msgid "The installed version of the parent theme." msgstr "" -#: includes/admin/views/html-admin-page-status-report.php:686 +#: includes/admin/views/html-admin-page-status-report.php:694 msgid "Parent Theme Author URL" msgstr "" -#: includes/admin/views/html-admin-page-status-report.php:687 +#: includes/admin/views/html-admin-page-status-report.php:695 msgid "The parent theme developers URL." msgstr "" -#: includes/admin/views/html-admin-page-status-report.php:692 +#: includes/admin/views/html-admin-page-status-report.php:700 msgid "WooCommerce Support" msgstr "" -#: includes/admin/views/html-admin-page-status-report.php:693 +#: includes/admin/views/html-admin-page-status-report.php:701 msgid "" "Displays whether or not the current active theme declares WooCommerce " "support." msgstr "" -#: includes/admin/views/html-admin-page-status-report.php:696 +#: includes/admin/views/html-admin-page-status-report.php:704 msgid "Not Declared" msgstr "" -#: includes/admin/views/html-admin-page-status-report.php:707 +#: includes/admin/views/html-admin-page-status-report.php:715 msgid "Templates" msgstr "" -#: includes/admin/views/html-admin-page-status-report.php:707 +#: includes/admin/views/html-admin-page-status-report.php:715 msgid "" "This section shows any files that are overriding the default WooCommerce " "template pages." msgstr "" -#: includes/admin/views/html-admin-page-status-report.php:743 +#: includes/admin/views/html-admin-page-status-report.php:721 +msgid "Archive Template" +msgstr "" + +#: includes/admin/views/html-admin-page-status-report.php:723 +msgid "" +"Your theme has a woocommerce.php file, you will not be able to override the " +"woocommerce/archive-product.php custom template since woocommerce.php has " +"priority over archive-product.php. This is intended to prevent display " +"issues." +msgstr "" + +#: includes/admin/views/html-admin-page-status-report.php:757 msgid "" "%s version %s is out of " "date. The core version is %s" msgstr "" -#: includes/admin/views/html-admin-page-status-report.php:755 -#: includes/admin/views/html-admin-page-status-report.php:764 +#: includes/admin/views/html-admin-page-status-report.php:769 +#: includes/admin/views/html-admin-page-status-report.php:778 msgid "Overrides" msgstr "" -#: includes/admin/views/html-admin-page-status-report.php:776 +#: includes/admin/views/html-admin-page-status-report.php:790 msgid "Learn how to update outdated templates" msgstr "" @@ -12196,6 +12440,14 @@ msgstr "" msgid "Sold Individually?" msgstr "" +#: includes/admin/views/html-notice-custom.php:12 +#: includes/admin/views/html-notice-legacy-shipping.php:11 +#: includes/admin/views/html-notice-no-shipping-methods.php:11 +#: includes/admin/views/html-notice-simplify-commerce.php:19 +#: includes/admin/views/html-notice-updated.php:12 +msgid "Dismiss" +msgstr "" + #: includes/admin/views/html-notice-install.php:12 msgid "" "Welcome to WooCommerce – You‘re almost ready " @@ -12210,11 +12462,6 @@ msgstr "" msgid "Skip Setup" msgstr "" -#: includes/admin/views/html-notice-legacy-shipping.php:11 -#: includes/admin/views/html-notice-no-shipping-methods.php:11 -msgid "Dismiss" -msgstr "" - #: includes/admin/views/html-notice-legacy-shipping.php:13 msgid "New feature: shipping zones!" msgstr "" @@ -12227,11 +12474,11 @@ msgstr "" #: includes/admin/views/html-notice-legacy-shipping.php:15 msgid "" -"Legacy shipping methods (Flat Rate, International, Local Pickup and " -"Delivery and Free Shipping) are deprecated and will be removed in " -"future versions of WooCommerce, but will continue to function as " -"normal for now. We recommend disabling these shipping methods and instead " -"setting up new rates within shipping zones as soon as possible." +"Legacy shipping methods (Flat Rate, International Flat Rate, Local Pickup " +"and Delivery, and Free Shipping) are deprecated but will continue to work " +"as normal for now. They will be removed in future versions of " +"WooCommerce. We recommend disabling these and setting up new rates " +"within shipping zones as soon as possible." msgstr "" #: includes/admin/views/html-notice-legacy-shipping.php:19 @@ -12241,7 +12488,7 @@ msgstr "" #: includes/admin/views/html-notice-legacy-shipping.php:21 #: includes/admin/views/html-notice-no-shipping-methods.php:19 -msgid "Lean more about shipping zones" +msgid "Learn more about shipping zones" msgstr "" #: includes/admin/views/html-notice-no-shipping-methods.php:13 @@ -12260,6 +12507,18 @@ msgid "" "a shipping method is available." msgstr "" +#: includes/admin/views/html-notice-simplify-commerce.php:21 +msgid "" +"The Simplify Commerce payment gateway is deprecated " +"– Please install our new free Simplify Commerce plugin from " +"WordPress.org. Simplify Commerce will be removed from WooCommerce core in a " +"future update." +msgstr "" + +#: includes/admin/views/html-notice-simplify-commerce.php:23 +msgid "Install our new Simplify Commerce plugin" +msgstr "" + #: includes/admin/views/html-notice-template-check.php:13 msgid "" "Your theme (%s) contains outdated copies of some WooCommerce " @@ -12307,8 +12566,8 @@ msgstr "" #: includes/admin/views/html-notice-update.php:12 msgid "" -"WooCommerce Data Update Required – We just need to " -"update your install to the latest version" +"WooCommerce Data Update Required – We need to update " +"your store's database to the latest version." msgstr "" #: includes/admin/views/html-notice-update.php:13 @@ -12321,6 +12580,19 @@ msgid "" "Are you sure you wish to run the updater now?" msgstr "" +#: includes/admin/views/html-notice-updated.php:14 +#: includes/class-wc-install.php:127 +msgid "" +"WooCommerce data update complete. Thank you for updating to the latest " +"version!" +msgstr "" + +#: includes/admin/views/html-notice-updating.php:12 +msgid "" +"WooCommerce Data Updating – Your database is being " +"updated in the background." +msgstr "" + #: includes/admin/views/html-quick-edit-product.php:35 msgid "Regular Price" msgstr "" @@ -12333,1038 +12605,2702 @@ msgstr "" msgid "Custom:" msgstr "" -#: includes/api/class-wc-api-authentication.php:83 -#: includes/api/class-wc-api-authentication.php:115 -#: includes/api/v1/class-wc-api-authentication.php:115 -#: includes/api/v2/class-wc-api-authentication.php:115 -msgid "Consumer Secret is invalid" +#: includes/api/class-wc-rest-authentication.php:118 +#: includes/api/class-wc-rest-authentication.php:173 +msgid "Consumer Key is invalid." msgstr "" -#: includes/api/class-wc-api-authentication.php:112 +#: includes/api/class-wc-rest-authentication.php:125 +msgid "Consumer Secret is invalid." +msgstr "" + +#: includes/api/class-wc-rest-authentication.php:223 +msgid "Invalid Signature - failed to sort parameters." +msgstr "" + +#: includes/api/class-wc-rest-authentication.php:242 +msgid "Invalid Signature - signature method is invalid." +msgstr "" + +#: includes/api/class-wc-rest-authentication.php:250 +msgid "Invalid Signature - provided signature does not match." +msgstr "" + +#: includes/api/class-wc-rest-authentication.php:301 +msgid "Invalid timestamp." +msgstr "" + +#: includes/api/class-wc-rest-authentication.php:311 +msgid "Invalid nonce - nonce has already been used." +msgstr "" + +#: includes/api/class-wc-rest-authentication.php:375 +msgid "The API key provided does not have read permissions." +msgstr "" + +#: includes/api/class-wc-rest-authentication.php:385 +msgid "The API key provided does not have write permissions." +msgstr "" + +#: includes/api/class-wc-rest-authentication.php:423 msgid "" -"WooCommerce API. Use a consumer key in the username field and a consumer " -"secret in the password field" +"WooCommerce API - Use a consumer key in the username field and a consumer " +"secret in the password field." msgstr "" -#: includes/api/class-wc-api-authentication.php:145 -#: includes/api/v1/class-wc-api-authentication.php:148 -#: includes/api/v2/class-wc-api-authentication.php:148 -msgid "%s parameter is missing" +#: includes/api/class-wc-rest-coupons-controller.php:99 +#: includes/api/class-wc-rest-orders-controller.php:95 +#: includes/api/class-wc-rest-products-controller.php:96 +msgid "Whether to bypass trash and force deletion." msgstr "" -#: includes/api/class-wc-api-authentication.php:180 -#: includes/api/v1/class-wc-api-authentication.php:183 -#: includes/api/v2/class-wc-api-authentication.php:183 -msgid "Consumer Key is invalid" +#: includes/api/class-wc-rest-coupons-controller.php:220 +msgid "The coupon code cannot be empty." msgstr "" -#: includes/api/class-wc-api-authentication.php:198 -#: includes/api/v1/class-wc-api-authentication.php:201 -#: includes/api/v2/class-wc-api-authentication.php:201 -msgid "API user is invalid" -msgstr "" - -#: includes/api/class-wc-api-authentication.php:242 -#: includes/api/v1/class-wc-api-authentication.php:251 -#: includes/api/v2/class-wc-api-authentication.php:251 -msgid "Invalid Signature - failed to sort parameters" -msgstr "" - -#: includes/api/class-wc-api-authentication.php:262 -#: includes/api/v1/class-wc-api-authentication.php:265 -#: includes/api/v2/class-wc-api-authentication.php:265 -msgid "Invalid Signature - signature method is invalid" -msgstr "" - -#: includes/api/class-wc-api-authentication.php:271 -#: includes/api/v1/class-wc-api-authentication.php:273 -#: includes/api/v2/class-wc-api-authentication.php:273 -msgid "Invalid Signature - provided signature does not match" -msgstr "" - -#: includes/api/class-wc-api-authentication.php:336 -#: includes/api/v1/class-wc-api-authentication.php:331 -#: includes/api/v2/class-wc-api-authentication.php:331 -msgid "Invalid timestamp" -msgstr "" - -#: includes/api/class-wc-api-authentication.php:346 -#: includes/api/v1/class-wc-api-authentication.php:341 -#: includes/api/v2/class-wc-api-authentication.php:341 -msgid "Invalid nonce - nonce has already been used" -msgstr "" - -#: includes/api/class-wc-api-authentication.php:381 -#: includes/api/v1/class-wc-api-authentication.php:376 -#: includes/api/v2/class-wc-api-authentication.php:376 -msgid "The API key provided does not have read permissions" -msgstr "" - -#: includes/api/class-wc-api-authentication.php:390 -#: includes/api/v1/class-wc-api-authentication.php:385 -#: includes/api/v2/class-wc-api-authentication.php:385 -msgid "The API key provided does not have write permissions" -msgstr "" - -#: includes/api/class-wc-api-coupons.php:120 -#: includes/api/v1/class-wc-api-coupons.php:109 -#: includes/api/v2/class-wc-api-coupons.php:120 -msgid "Invalid coupon ID" -msgstr "" - -#: includes/api/class-wc-api-coupons.php:166 -#: includes/api/v1/class-wc-api-coupons.php:153 -#: includes/api/v2/class-wc-api-coupons.php:166 -msgid "You do not have permission to read the coupons count" -msgstr "" - -#: includes/api/class-wc-api-coupons.php:192 -#: includes/api/v1/class-wc-api-coupons.php:172 -#: includes/api/v2/class-wc-api-coupons.php:192 -msgid "Invalid coupon code" -msgstr "" - -#: includes/api/class-wc-api-coupons.php:213 -#: includes/api/class-wc-api-customers.php:346 -#: includes/api/class-wc-api-orders.php:416 -#: includes/api/class-wc-api-orders.php:1331 -#: includes/api/class-wc-api-orders.php:1620 -#: includes/api/class-wc-api-products.php:255 -#: includes/api/class-wc-api-products.php:654 -#: includes/api/class-wc-api-products.php:907 -#: includes/api/class-wc-api-products.php:2665 -#: includes/api/class-wc-api-products.php:2996 -#: includes/api/class-wc-api-products.php:3330 -#: includes/api/class-wc-api-taxes.php:184 -#: includes/api/class-wc-api-taxes.php:564 -#: includes/api/class-wc-api-webhooks.php:169 -#: includes/api/v2/class-wc-api-coupons.php:213 -#: includes/api/v2/class-wc-api-customers.php:345 -#: includes/api/v2/class-wc-api-orders.php:384 -#: includes/api/v2/class-wc-api-orders.php:1285 -#: includes/api/v2/class-wc-api-orders.php:1574 -#: includes/api/v2/class-wc-api-products.php:210 -#: includes/api/v2/class-wc-api-products.php:2088 -#: includes/api/v2/class-wc-api-webhooks.php:169 -msgid "No %1$s data specified to create %1$s" -msgstr "" - -#: includes/api/class-wc-api-coupons.php:220 -#: includes/api/v2/class-wc-api-coupons.php:220 -msgid "You do not have permission to create coupons" -msgstr "" - -#: includes/api/class-wc-api-coupons.php:227 -#: includes/api/class-wc-api-customers.php:360 -#: includes/api/class-wc-api-products.php:269 -#: includes/api/class-wc-api-products.php:2629 -#: includes/api/class-wc-api-products.php:3016 -#: includes/api/class-wc-api-server.php:427 -#: includes/api/class-wc-api-taxes.php:575 -#: includes/api/v1/class-wc-api-server.php:409 -#: includes/api/v2/class-wc-api-coupons.php:227 -#: includes/api/v2/class-wc-api-customers.php:359 -#: includes/api/v2/class-wc-api-products.php:224 -#: includes/api/v2/class-wc-api-products.php:2052 -#: includes/api/v2/class-wc-api-server.php:427 includes/class-wc-auth.php:161 -#: includes/cli/class-wc-cli-coupon.php:63 -#: includes/cli/class-wc-cli-product.php:151 -#: includes/cli/class-wc-cli-tax.php:130 -msgid "Missing parameter %s" -msgstr "" - -#: includes/api/class-wc-api-coupons.php:242 -#: includes/api/class-wc-api-coupons.php:358 -#: includes/api/v2/class-wc-api-coupons.php:242 -#: includes/api/v2/class-wc-api-coupons.php:358 +#: includes/api/class-wc-rest-coupons-controller.php:240 +#: includes/api/legacy/v2/class-wc-api-coupons.php:242 +#: includes/api/legacy/v2/class-wc-api-coupons.php:358 +#: includes/api/legacy/v3/class-wc-api-coupons.php:242 +#: includes/api/legacy/v3/class-wc-api-coupons.php:358 #: includes/cli/class-wc-cli-coupon.php:78 #: includes/cli/class-wc-cli-coupon.php:453 msgid "The coupon code already exists" msgstr "" -#: includes/api/class-wc-api-coupons.php:270 -#: includes/api/class-wc-api-coupons.php:379 -#: includes/api/v2/class-wc-api-coupons.php:270 -#: includes/api/v2/class-wc-api-coupons.php:379 +#: includes/api/class-wc-rest-coupons-controller.php:436 +msgid "Unique identifier for the object." +msgstr "" + +#: includes/api/class-wc-rest-coupons-controller.php:442 +#: includes/api/class-wc-rest-orders-controller.php:1660 +msgid "Coupon code." +msgstr "" + +#: includes/api/class-wc-rest-coupons-controller.php:447 +msgid "The date the coupon was created, in the site's timezone." +msgstr "" + +#: includes/api/class-wc-rest-coupons-controller.php:453 +msgid "The date the coupon was last modified, in the site's timezone." +msgstr "" + +#: includes/api/class-wc-rest-coupons-controller.php:459 +msgid "Coupon description." +msgstr "" + +#: includes/api/class-wc-rest-coupons-controller.php:464 +msgid "Determines the type of discount that will be applied." +msgstr "" + +#: includes/api/class-wc-rest-coupons-controller.php:471 +msgid "The amount of discount." +msgstr "" + +#: includes/api/class-wc-rest-coupons-controller.php:476 +msgid "UTC DateTime when the coupon expires." +msgstr "" + +#: includes/api/class-wc-rest-coupons-controller.php:481 +msgid "Number of times the coupon has been used already." +msgstr "" + +#: includes/api/class-wc-rest-coupons-controller.php:487 +msgid "Whether coupon can only be used individually." +msgstr "" + +#: includes/api/class-wc-rest-coupons-controller.php:493 +msgid "List of product ID's the coupon can be used on." +msgstr "" + +#: includes/api/class-wc-rest-coupons-controller.php:498 +msgid "List of product ID's the coupon cannot be used on." +msgstr "" + +#: includes/api/class-wc-rest-coupons-controller.php:503 +msgid "How many times the coupon can be used." +msgstr "" + +#: includes/api/class-wc-rest-coupons-controller.php:508 +msgid "How many times the coupon can be used per customer." +msgstr "" + +#: includes/api/class-wc-rest-coupons-controller.php:513 +msgid "Max number of items in the cart the coupon can be applied to." +msgstr "" + +#: includes/api/class-wc-rest-coupons-controller.php:518 +msgid "Define if can be applied for free shipping." +msgstr "" + +#: includes/api/class-wc-rest-coupons-controller.php:524 +msgid "List of category ID's the coupon applies to." +msgstr "" + +#: includes/api/class-wc-rest-coupons-controller.php:529 +msgid "List of category ID's the coupon does not apply to." +msgstr "" + +#: includes/api/class-wc-rest-coupons-controller.php:534 +msgid "Define if should not apply when have sale items." +msgstr "" + +#: includes/api/class-wc-rest-coupons-controller.php:540 +msgid "Minimum order amount that needs to be in the cart before coupon applies." +msgstr "" + +#: includes/api/class-wc-rest-coupons-controller.php:545 +msgid "Maximum order amount allowed when using the coupon." +msgstr "" + +#: includes/api/class-wc-rest-coupons-controller.php:550 +msgid "List of email addresses that can use this coupon." +msgstr "" + +#: includes/api/class-wc-rest-coupons-controller.php:555 +msgid "List of user IDs who have used the coupon." +msgstr "" + +#: includes/api/class-wc-rest-coupons-controller.php:575 +msgid "Limit result set to resources with a specific code." +msgstr "" + +#: includes/api/class-wc-rest-customer-downloads-controller.php:160 +msgid "Download file URL." +msgstr "" + +#: includes/api/class-wc-rest-customer-downloads-controller.php:166 +msgid "Download ID (MD5)." +msgstr "" + +#: includes/api/class-wc-rest-customer-downloads-controller.php:172 +msgid "Downloadable product ID." +msgstr "" + +#: includes/api/class-wc-rest-customer-downloads-controller.php:178 +msgid "Downloadable file name." +msgstr "" + +#: includes/api/class-wc-rest-customer-downloads-controller.php:184 +msgid "Order ID." +msgstr "" + +#: includes/api/class-wc-rest-customer-downloads-controller.php:190 +#: includes/api/class-wc-rest-orders-controller.php:1094 +msgid "Order key." +msgstr "" + +#: includes/api/class-wc-rest-customer-downloads-controller.php:196 +msgid "Amount of downloads remaining." +msgstr "" + +#: includes/api/class-wc-rest-customer-downloads-controller.php:202 +msgid "The date when the download access expires, in the site's timezone." +msgstr "" + +#: includes/api/class-wc-rest-customer-downloads-controller.php:208 +msgid "File details" +msgstr "" + +#: includes/api/class-wc-rest-customer-downloads-controller.php:214 +#: includes/api/class-wc-rest-products-controller.php:1848 +#: includes/api/class-wc-rest-products-controller.php:2290 +msgid "File name." +msgstr "" + +#: includes/api/class-wc-rest-customer-downloads-controller.php:220 +#: includes/api/class-wc-rest-products-controller.php:1853 +#: includes/api/class-wc-rest-products-controller.php:2295 +msgid "File URL." +msgstr "" + +#: includes/api/class-wc-rest-customers-controller.php:314 +#: includes/api/class-wc-rest-tax-classes-controller.php:175 +#: includes/api/class-wc-rest-taxes-controller.php:356 +msgid "Cannot create existing resource." +msgstr "" + +#: includes/api/class-wc-rest-customers-controller.php:365 +#: includes/api/class-wc-rest-customers-controller.php:385 +#: includes/api/class-wc-rest-customers-controller.php:444 +#: includes/api/class-wc-rest-order-notes-controller.php:247 +#: includes/api/class-wc-rest-order-notes-controller.php:280 +#: includes/api/class-wc-rest-product-reviews-controller.php:137 +#: includes/api/class-wc-rest-tax-classes-controller.php:237 +#: includes/api/class-wc-rest-taxes-controller.php:392 +#: includes/api/class-wc-rest-taxes-controller.php:412 +#: includes/api/class-wc-rest-taxes-controller.php:455 +#: includes/api/class-wc-rest-webhook-deliveries.php:138 +msgid "Invalid resource id." +msgstr "" + +#: includes/api/class-wc-rest-customers-controller.php:389 +msgid "Email address is invalid." +msgstr "" + +#: includes/api/class-wc-rest-customers-controller.php:393 +msgid "Username isn't editable" +msgstr "" + +#: includes/api/class-wc-rest-customers-controller.php:439 +msgid "Customers do not support trashing." +msgstr "" + +#: includes/api/class-wc-rest-customers-controller.php:449 +msgid "Invalid resource id for reassignment." +msgstr "" + +#: includes/api/class-wc-rest-customers-controller.php:486 +msgid "You are not currently logged in." +msgstr "" + +#: includes/api/class-wc-rest-customers-controller.php:641 +#: includes/api/class-wc-rest-order-notes-controller.php:374 +#: includes/api/class-wc-rest-order-refunds-controller.php:350 +#: includes/api/class-wc-rest-orders-controller.php:1076 +#: includes/api/class-wc-rest-product-attribute-terms-controller.php:105 +#: includes/api/class-wc-rest-product-attributes-controller.php:502 +#: includes/api/class-wc-rest-product-categories-controller.php:141 +#: includes/api/class-wc-rest-product-reviews-controller.php:220 +#: includes/api/class-wc-rest-product-shipping-classes-controller.php:95 +#: includes/api/class-wc-rest-product-tags-controller.php:94 +#: includes/api/class-wc-rest-products-controller.php:1698 +#: includes/api/class-wc-rest-tax-classes-controller.php:326 +#: includes/api/class-wc-rest-taxes-controller.php:568 +#: includes/api/class-wc-rest-webhook-deliveries.php:218 +#: includes/api/class-wc-rest-webhooks-controller.php:468 +msgid "Unique identifier for the resource." +msgstr "" + +#: includes/api/class-wc-rest-customers-controller.php:647 +msgid "The date the customer was created, in the site's timezone." +msgstr "" + +#: includes/api/class-wc-rest-customers-controller.php:653 +msgid "The date the customer was last modified, in the site's timezone." +msgstr "" + +#: includes/api/class-wc-rest-customers-controller.php:659 +msgid "The email address for the customer." +msgstr "" + +#: includes/api/class-wc-rest-customers-controller.php:665 +msgid "Customer first name." +msgstr "" + +#: includes/api/class-wc-rest-customers-controller.php:673 +msgid "Customer last name." +msgstr "" + +#: includes/api/class-wc-rest-customers-controller.php:681 +msgid "Customer login name." +msgstr "" + +#: includes/api/class-wc-rest-customers-controller.php:689 +msgid "Customer password." +msgstr "" + +#: includes/api/class-wc-rest-customers-controller.php:694 +msgid "Last order data." +msgstr "" + +#: includes/api/class-wc-rest-customers-controller.php:700 +msgid "Last order ID." +msgstr "" + +#: includes/api/class-wc-rest-customers-controller.php:706 +msgid "UTC DateTime of the customer last order." +msgstr "" + +#: includes/api/class-wc-rest-customers-controller.php:714 +msgid "Quantity of orders made by the customer." +msgstr "" + +#: includes/api/class-wc-rest-customers-controller.php:720 +msgid "Total amount spent." +msgstr "" + +#: includes/api/class-wc-rest-customers-controller.php:726 +msgid "Avatar URL." +msgstr "" + +#: includes/api/class-wc-rest-customers-controller.php:732 +msgid "List of billing address data." +msgstr "" + +#: includes/api/class-wc-rest-customers-controller.php:737 +#: includes/api/class-wc-rest-customers-controller.php:800 +#: includes/api/class-wc-rest-orders-controller.php:1184 +#: includes/api/class-wc-rest-orders-controller.php:1247 +msgid "First name." +msgstr "" + +#: includes/api/class-wc-rest-customers-controller.php:742 +#: includes/api/class-wc-rest-customers-controller.php:805 +#: includes/api/class-wc-rest-orders-controller.php:1189 +#: includes/api/class-wc-rest-orders-controller.php:1252 +msgid "Last name." +msgstr "" + +#: includes/api/class-wc-rest-customers-controller.php:747 +#: includes/api/class-wc-rest-customers-controller.php:810 +#: includes/api/class-wc-rest-orders-controller.php:1194 +#: includes/api/class-wc-rest-orders-controller.php:1257 +msgid "Company name." +msgstr "" + +#: includes/api/class-wc-rest-customers-controller.php:752 +#: includes/api/class-wc-rest-customers-controller.php:815 +#: includes/api/class-wc-rest-orders-controller.php:1199 +#: includes/api/class-wc-rest-orders-controller.php:1262 +msgid "Address line 1." +msgstr "" + +#: includes/api/class-wc-rest-customers-controller.php:757 +#: includes/api/class-wc-rest-customers-controller.php:820 +#: includes/api/class-wc-rest-orders-controller.php:1204 +#: includes/api/class-wc-rest-orders-controller.php:1267 +msgid "Address line 2." +msgstr "" + +#: includes/api/class-wc-rest-customers-controller.php:762 +#: includes/api/class-wc-rest-customers-controller.php:825 +#: includes/api/class-wc-rest-orders-controller.php:1209 +#: includes/api/class-wc-rest-orders-controller.php:1272 +#: includes/api/class-wc-rest-taxes-controller.php:589 +msgid "City name." +msgstr "" + +#: includes/api/class-wc-rest-customers-controller.php:767 +#: includes/api/class-wc-rest-customers-controller.php:830 +#: includes/api/class-wc-rest-orders-controller.php:1214 +#: includes/api/class-wc-rest-orders-controller.php:1277 +msgid "ISO code or name of the state, province or district." +msgstr "" + +#: includes/api/class-wc-rest-customers-controller.php:772 +#: includes/api/class-wc-rest-customers-controller.php:835 +#: includes/api/class-wc-rest-orders-controller.php:1219 +#: includes/api/class-wc-rest-orders-controller.php:1282 +msgid "Postal code." +msgstr "" + +#: includes/api/class-wc-rest-customers-controller.php:777 +#: includes/api/class-wc-rest-customers-controller.php:840 +msgid "ISO code of the country." +msgstr "" + +#: includes/api/class-wc-rest-customers-controller.php:782 +#: includes/api/class-wc-rest-orders-controller.php:1229 +msgid "Email address." +msgstr "" + +#: includes/api/class-wc-rest-customers-controller.php:788 +#: includes/api/class-wc-rest-orders-controller.php:1235 +msgid "Phone number." +msgstr "" + +#: includes/api/class-wc-rest-customers-controller.php:795 +msgid "List of shipping address data." +msgstr "" + +#: includes/api/class-wc-rest-customers-controller.php:913 +msgid "Limit result set to resources with a specific email." +msgstr "" + +#: includes/api/class-wc-rest-customers-controller.php:919 +msgid "Limit result set to resources with a specific role." +msgstr "" + +#: includes/api/class-wc-rest-order-notes-controller.php:158 +#: includes/api/class-wc-rest-order-notes-controller.php:197 +#: includes/api/class-wc-rest-order-notes-controller.php:241 +#: includes/api/class-wc-rest-order-notes-controller.php:274 +msgid "Invalid order id." +msgstr "" + +#: includes/api/class-wc-rest-order-notes-controller.php:206 +msgid "Cannot create order note, please try again." +msgstr "" + +#: includes/api/class-wc-rest-order-notes-controller.php:268 +#: includes/api/class-wc-rest-webhooks-controller.php:296 +msgid "Webhooks do not support trashing." +msgstr "" + +#: includes/api/class-wc-rest-order-notes-controller.php:380 +msgid "The date the order note was created, in the site's timezone." +msgstr "" + +#: includes/api/class-wc-rest-order-notes-controller.php:386 +msgid "Order note." +msgstr "" + +#: includes/api/class-wc-rest-order-notes-controller.php:391 +msgid "" +"Shows/define if the note is only for reference or for the customer (the " +"user will be notified)." +msgstr "" + +#: includes/api/class-wc-rest-order-refunds-controller.php:116 +msgid "Invalid order ID." +msgstr "" + +#: includes/api/class-wc-rest-order-refunds-controller.php:122 +msgid "Invalid order refund ID." +msgstr "" + +#: includes/api/class-wc-rest-order-refunds-controller.php:276 +msgid "Order is invalid" +msgstr "" + +#: includes/api/class-wc-rest-order-refunds-controller.php:280 +msgid "Refund amount must be greater than zero." +msgstr "" + +#: includes/api/class-wc-rest-order-refunds-controller.php:295 +msgid "Cannot create order refund, please try again." +msgstr "" + +#: includes/api/class-wc-rest-order-refunds-controller.php:312 +msgid "" +"An error occurred while attempting to create the refund using the payment " +"gateway API." +msgstr "" + +#: includes/api/class-wc-rest-order-refunds-controller.php:356 +msgid "The date the order refund was created, in the site's timezone." +msgstr "" + +#: includes/api/class-wc-rest-order-refunds-controller.php:362 +msgid "Refund amount." +msgstr "" + +#: includes/api/class-wc-rest-order-refunds-controller.php:367 +msgid "Reason for refund" +msgstr "" + +#: includes/api/class-wc-rest-order-refunds-controller.php:372 +#: includes/api/class-wc-rest-orders-controller.php:1357 +msgid "Line items data." +msgstr "" + +#: includes/api/class-wc-rest-order-refunds-controller.php:377 +#: includes/api/class-wc-rest-orders-controller.php:1362 +#: includes/api/class-wc-rest-orders-controller.php:1487 +#: includes/api/class-wc-rest-orders-controller.php:1536 +#: includes/api/class-wc-rest-orders-controller.php:1590 +#: includes/api/class-wc-rest-orders-controller.php:1654 +msgid "Item ID." +msgstr "" + +#: includes/api/class-wc-rest-order-refunds-controller.php:383 +#: includes/api/class-wc-rest-orders-controller.php:1368 +#: includes/api/class-wc-rest-products-controller.php:1704 +msgid "Product name." +msgstr "" + +#: includes/api/class-wc-rest-order-refunds-controller.php:389 +#: includes/api/class-wc-rest-orders-controller.php:1374 +msgid "Product SKU." +msgstr "" + +#: includes/api/class-wc-rest-order-refunds-controller.php:395 +#: includes/api/class-wc-rest-orders-controller.php:1380 +#: includes/api/class-wc-rest-report-top-sellers-controller.php:158 +msgid "Product ID." +msgstr "" + +#: includes/api/class-wc-rest-order-refunds-controller.php:400 +#: includes/api/class-wc-rest-orders-controller.php:1385 +msgid "Variation ID, if applicable." +msgstr "" + +#: includes/api/class-wc-rest-order-refunds-controller.php:405 +#: includes/api/class-wc-rest-orders-controller.php:1390 +msgid "Quantity ordered." +msgstr "" + +#: includes/api/class-wc-rest-order-refunds-controller.php:410 +#: includes/api/class-wc-rest-orders-controller.php:1395 +msgid "Tax class of product." +msgstr "" + +#: includes/api/class-wc-rest-order-refunds-controller.php:416 +#: includes/api/class-wc-rest-orders-controller.php:1401 +msgid "Product price." +msgstr "" + +#: includes/api/class-wc-rest-order-refunds-controller.php:422 +#: includes/api/class-wc-rest-orders-controller.php:1407 +msgid "Line subtotal (before discounts)." +msgstr "" + +#: includes/api/class-wc-rest-order-refunds-controller.php:427 +#: includes/api/class-wc-rest-orders-controller.php:1412 +msgid "Line subtotal tax (before discounts)." +msgstr "" + +#: includes/api/class-wc-rest-order-refunds-controller.php:432 +#: includes/api/class-wc-rest-orders-controller.php:1417 +#: includes/api/class-wc-rest-orders-controller.php:1552 +msgid "Line total (after discounts)." +msgstr "" + +#: includes/api/class-wc-rest-order-refunds-controller.php:437 +#: includes/api/class-wc-rest-orders-controller.php:1422 +#: includes/api/class-wc-rest-orders-controller.php:1557 +#: includes/api/class-wc-rest-orders-controller.php:1611 +#: includes/api/class-wc-rest-orders-controller.php:1616 +msgid "Line total tax (after discounts)." +msgstr "" + +#: includes/api/class-wc-rest-order-refunds-controller.php:442 +#: includes/api/class-wc-rest-orders-controller.php:1427 +#: includes/api/class-wc-rest-orders-controller.php:1563 +#: includes/api/class-wc-rest-orders-controller.php:1621 +msgid "Line total tax." +msgstr "" + +#: includes/api/class-wc-rest-order-refunds-controller.php:448 +#: includes/api/class-wc-rest-orders-controller.php:1433 +#: includes/api/class-wc-rest-orders-controller.php:1499 +#: includes/api/class-wc-rest-orders-controller.php:1569 +#: includes/api/class-wc-rest-orders-controller.php:1627 +msgid "Tax rate ID." +msgstr "" + +#: includes/api/class-wc-rest-order-refunds-controller.php:454 +#: includes/api/class-wc-rest-orders-controller.php:1439 +#: includes/api/class-wc-rest-orders-controller.php:1575 +#: includes/api/class-wc-rest-orders-controller.php:1633 +msgid "Tax total." +msgstr "" + +#: includes/api/class-wc-rest-order-refunds-controller.php:460 +#: includes/api/class-wc-rest-orders-controller.php:1445 +#: includes/api/class-wc-rest-orders-controller.php:1639 +msgid "Tax subtotal." +msgstr "" + +#: includes/api/class-wc-rest-order-refunds-controller.php:468 +#: includes/api/class-wc-rest-orders-controller.php:1453 +msgid "Line item meta data." +msgstr "" + +#: includes/api/class-wc-rest-order-refunds-controller.php:474 +#: includes/api/class-wc-rest-orders-controller.php:1459 +msgid "Meta key." +msgstr "" + +#: includes/api/class-wc-rest-order-refunds-controller.php:480 +#: includes/api/class-wc-rest-orders-controller.php:1465 +msgid "Meta label." +msgstr "" + +#: includes/api/class-wc-rest-order-refunds-controller.php:486 +#: includes/api/class-wc-rest-orders-controller.php:1471 +msgid "Meta value." +msgstr "" + +#: includes/api/class-wc-rest-order-refunds-controller.php:511 +#: includes/api/class-wc-rest-orders-controller.php:1713 +msgid "Number of decimal points to use in each resource." +msgstr "" + +#: includes/api/class-wc-rest-orders-controller.php:434 +#: includes/api/class-wc-rest-orders-controller.php:926 +msgid "Customer ID is invalid." +msgstr "" + +#: includes/api/class-wc-rest-orders-controller.php:445 +msgid "Cannot create order: %s." +msgstr "" + +#: includes/api/class-wc-rest-orders-controller.php:546 +msgid "Product ID or SKU is required." +msgstr "" + +#: includes/api/class-wc-rest-orders-controller.php:563 +msgid "Product ID or variation ID provided does not match this line item." +msgstr "" + +#: includes/api/class-wc-rest-orders-controller.php:571 +msgid "Product is invalid." +msgstr "" + +#: includes/api/class-wc-rest-orders-controller.php:576 +msgid "Product quantity must be a positive float." +msgstr "" + +#: includes/api/class-wc-rest-orders-controller.php:581 +msgid "Product quantity is required." +msgstr "" + +#: includes/api/class-wc-rest-orders-controller.php:617 +msgid "Cannot create line item, try again." +msgstr "" + +#: includes/api/class-wc-rest-orders-controller.php:622 +msgid "Cannot update line item, try again." +msgstr "" + +#: includes/api/class-wc-rest-orders-controller.php:638 +msgid "Shipping total must be a positive amount." +msgstr "" + +#: includes/api/class-wc-rest-orders-controller.php:644 +msgid "Shipping method ID is required." +msgstr "" + +#: includes/api/class-wc-rest-orders-controller.php:652 +msgid "Cannot create shipping method, try again." +msgstr "" + +#: includes/api/class-wc-rest-orders-controller.php:673 +msgid "Cannot update shipping method, try again." +msgstr "" + +#: includes/api/class-wc-rest-orders-controller.php:691 +msgid "Fee name is required." +msgstr "" + +#: includes/api/class-wc-rest-orders-controller.php:707 +msgid "Fee tax class is required when fee is taxable." +msgstr "" + +#: includes/api/class-wc-rest-orders-controller.php:721 +msgid "Cannot create fee, try again." +msgstr "" + +#: includes/api/class-wc-rest-orders-controller.php:746 +msgid "Cannot update fee, try again." +msgstr "" + +#: includes/api/class-wc-rest-orders-controller.php:762 +msgid "Coupon discount must be a positive amount." +msgstr "" + +#: includes/api/class-wc-rest-orders-controller.php:768 +msgid "Coupon code is required." +msgstr "" + +#: includes/api/class-wc-rest-orders-controller.php:774 +msgid "Cannot create coupon, try again." +msgstr "" + +#: includes/api/class-wc-rest-orders-controller.php:791 +msgid "Cannot update coupon, try again." +msgstr "" + +#: includes/api/class-wc-rest-orders-controller.php:878 +msgid "Order item ID provided is not associated with order." +msgstr "" + +#: includes/api/class-wc-rest-orders-controller.php:953 +msgid "Order item ID is required." +msgstr "" + +#: includes/api/class-wc-rest-orders-controller.php:1082 +msgid "Parent order ID." +msgstr "" + +#: includes/api/class-wc-rest-orders-controller.php:1087 +msgid "Order status." +msgstr "" + +#: includes/api/class-wc-rest-orders-controller.php:1100 +msgid "Currency the order was created with, in ISO format." +msgstr "" + +#: includes/api/class-wc-rest-orders-controller.php:1107 +msgid "Version of WooCommerce when the order was made." +msgstr "" + +#: includes/api/class-wc-rest-orders-controller.php:1113 +msgid "Shows if the prices included tax during checkout." +msgstr "" + +#: includes/api/class-wc-rest-orders-controller.php:1119 +msgid "The date the order was created, in the site's timezone." +msgstr "" + +#: includes/api/class-wc-rest-orders-controller.php:1125 +msgid "The date the order was last modified, in the site's timezone." +msgstr "" + +#: includes/api/class-wc-rest-orders-controller.php:1131 +msgid "User ID who owns the order. 0 for guests." +msgstr "" + +#: includes/api/class-wc-rest-orders-controller.php:1137 +msgid "Total discount amount for the order." +msgstr "" + +#: includes/api/class-wc-rest-orders-controller.php:1143 +msgid "Total discount tax amount for the order." +msgstr "" + +#: includes/api/class-wc-rest-orders-controller.php:1149 +msgid "Total shipping amount for the order." +msgstr "" + +#: includes/api/class-wc-rest-orders-controller.php:1155 +msgid "Total shipping tax amount for the order." +msgstr "" + +#: includes/api/class-wc-rest-orders-controller.php:1161 +msgid "Sum of line item taxes only." +msgstr "" + +#: includes/api/class-wc-rest-orders-controller.php:1167 +msgid "Grand total." +msgstr "" + +#: includes/api/class-wc-rest-orders-controller.php:1173 +msgid "Sum of all taxes." +msgstr "" + +#: includes/api/class-wc-rest-orders-controller.php:1179 +msgid "Billing address." +msgstr "" + +#: includes/api/class-wc-rest-orders-controller.php:1224 +#: includes/api/class-wc-rest-orders-controller.php:1287 +msgid "Country code in ISO 3166-1 alpha-2 format." +msgstr "" + +#: includes/api/class-wc-rest-orders-controller.php:1242 +msgid "Shipping address." +msgstr "" + +#: includes/api/class-wc-rest-orders-controller.php:1294 +msgid "Payment method ID." +msgstr "" + +#: includes/api/class-wc-rest-orders-controller.php:1299 +msgid "Payment method title." +msgstr "" + +#: includes/api/class-wc-rest-orders-controller.php:1304 +msgid "" +"Define if the order is paid. It will set the status to processing and " +"reduce stock items." +msgstr "" + +#: includes/api/class-wc-rest-orders-controller.php:1311 +msgid "Unique transaction ID." +msgstr "" + +#: includes/api/class-wc-rest-orders-controller.php:1316 +msgid "Customer's IP address." +msgstr "" + +#: includes/api/class-wc-rest-orders-controller.php:1322 +msgid "User agent of the customer." +msgstr "" + +#: includes/api/class-wc-rest-orders-controller.php:1328 +msgid "Shows where the order was created." +msgstr "" + +#: includes/api/class-wc-rest-orders-controller.php:1334 +msgid "Note left by customer during checkout." +msgstr "" + +#: includes/api/class-wc-rest-orders-controller.php:1339 +msgid "The date the order was completed, in the site's timezone." +msgstr "" + +#: includes/api/class-wc-rest-orders-controller.php:1345 +msgid "The date the order has been paid, in the site's timezone." +msgstr "" + +#: includes/api/class-wc-rest-orders-controller.php:1351 +msgid "MD5 hash of cart items to ensure orders are not modified." +msgstr "" + +#: includes/api/class-wc-rest-orders-controller.php:1481 +msgid "Tax lines data." +msgstr "" + +#: includes/api/class-wc-rest-orders-controller.php:1493 +msgid "Tax rate code." +msgstr "" + +#: includes/api/class-wc-rest-orders-controller.php:1505 +msgid "Tax rate label." +msgstr "" + +#: includes/api/class-wc-rest-orders-controller.php:1511 +msgid "Show if is a compound tax rate." +msgstr "" + +#: includes/api/class-wc-rest-orders-controller.php:1517 +msgid "Tax total (not including shipping taxes)." +msgstr "" + +#: includes/api/class-wc-rest-orders-controller.php:1523 +msgid "Shipping tax total." +msgstr "" + +#: includes/api/class-wc-rest-orders-controller.php:1531 +msgid "Shipping lines data." +msgstr "" + +#: includes/api/class-wc-rest-orders-controller.php:1542 +msgid "Shipping method name." +msgstr "" + +#: includes/api/class-wc-rest-orders-controller.php:1547 +msgid "Shipping method ID." +msgstr "" + +#: includes/api/class-wc-rest-orders-controller.php:1585 +msgid "Fee lines data." +msgstr "" + +#: includes/api/class-wc-rest-orders-controller.php:1596 +msgid "Fee name." +msgstr "" + +#: includes/api/class-wc-rest-orders-controller.php:1601 +msgid "Tax class of fee." +msgstr "" + +#: includes/api/class-wc-rest-orders-controller.php:1606 +msgid "Tax status of fee." +msgstr "" + +#: includes/api/class-wc-rest-orders-controller.php:1649 +msgid "Coupons line data." +msgstr "" + +#: includes/api/class-wc-rest-orders-controller.php:1665 +msgid "Discount total." +msgstr "" + +#: includes/api/class-wc-rest-orders-controller.php:1670 +msgid "Discount total tax." +msgstr "" + +#: includes/api/class-wc-rest-orders-controller.php:1693 +msgid "Limit result set to orders assigned a specific status." +msgstr "" + +#: includes/api/class-wc-rest-orders-controller.php:1700 +msgid "Limit result set to orders assigned a specific customer." +msgstr "" + +#: includes/api/class-wc-rest-orders-controller.php:1706 +msgid "Limit result set to orders assigned a specific product." +msgstr "" + +#: includes/api/class-wc-rest-product-attribute-terms-controller.php:111 +msgid "Term name." +msgstr "" + +#: includes/api/class-wc-rest-product-attribute-terms-controller.php:119 +#: includes/api/class-wc-rest-product-attributes-controller.php:516 +#: includes/api/class-wc-rest-product-categories-controller.php:155 +#: includes/api/class-wc-rest-product-shipping-classes-controller.php:109 +#: includes/api/class-wc-rest-product-tags-controller.php:108 +msgid "An alphanumeric identifier for the resource unique to its type." +msgstr "" + +#: includes/api/class-wc-rest-product-attribute-terms-controller.php:127 +#: includes/api/class-wc-rest-product-categories-controller.php:189 +msgid "Menu order, used to custom sort the resource." +msgstr "" + +#: includes/api/class-wc-rest-product-attribute-terms-controller.php:132 +#: includes/api/class-wc-rest-product-categories-controller.php:194 +#: includes/api/class-wc-rest-product-shipping-classes-controller.php:130 +#: includes/api/class-wc-rest-product-tags-controller.php:124 +msgid "Number of published products for the resource." +msgstr "" + +#: includes/api/class-wc-rest-product-attributes-controller.php:140 +msgid "Sorry, you cannot view this resource" +msgstr "" + +#: includes/api/class-wc-rest-product-attributes-controller.php:339 +#: includes/api/legacy/v2/class-wc-api-products.php:2226 +#: includes/api/legacy/v3/class-wc-api-products.php:2808 +msgid "Could not edit the attribute" +msgstr "" + +#: includes/api/class-wc-rest-product-attributes-controller.php:508 +#: includes/api/class-wc-rest-products-controller.php:2137 +#: includes/api/class-wc-rest-products-controller.php:2177 +#: includes/api/class-wc-rest-products-controller.php:2451 +msgid "Attribute name." +msgstr "" + +#: includes/api/class-wc-rest-product-attributes-controller.php:524 +msgid "Type of attribute." +msgstr "" + +#: includes/api/class-wc-rest-product-attributes-controller.php:531 +msgid "Default sort order." +msgstr "" + +#: includes/api/class-wc-rest-product-attributes-controller.php:538 +msgid "Enable/Disable attribute archives." +msgstr "" + +#: includes/api/class-wc-rest-product-attributes-controller.php:612 +msgid "Slug \"%s\" is too long (28 characters max)." +msgstr "" + +#: includes/api/class-wc-rest-product-attributes-controller.php:614 +msgid "Slug \"%s\" is not allowed because it is a reserved term." +msgstr "" + +#: includes/api/class-wc-rest-product-attributes-controller.php:616 +msgid "Slug \"%s\" is already in use." +msgstr "" + +#: includes/api/class-wc-rest-product-categories-controller.php:147 +#: includes/api/class-wc-rest-products-controller.php:2048 +msgid "Category name." +msgstr "" + +#: includes/api/class-wc-rest-product-categories-controller.php:163 +#: includes/api/class-wc-rest-product-shipping-classes-controller.php:117 +msgid "The id for the parent of the resource." +msgstr "" + +#: includes/api/class-wc-rest-product-categories-controller.php:168 +#: includes/api/class-wc-rest-product-shipping-classes-controller.php:122 +#: includes/api/class-wc-rest-product-tags-controller.php:116 +msgid "HTML description of the resource." +msgstr "" + +#: includes/api/class-wc-rest-product-categories-controller.php:176 +msgid "Category archive display type." +msgstr "" + +#: includes/api/class-wc-rest-product-categories-controller.php:183 +#: includes/api/class-wc-rest-products-controller.php:2109 +#: includes/api/class-wc-rest-products-controller.php:2423 +msgid "Image URL." +msgstr "" + +#: includes/api/class-wc-rest-product-reviews-controller.php:106 +#: includes/api/class-wc-rest-product-reviews-controller.php:131 +msgid "Invalid product id." +msgstr "" + +#: includes/api/class-wc-rest-product-reviews-controller.php:226 +msgid "The date the review was created, in the site's timezone." +msgstr "" + +#: includes/api/class-wc-rest-product-reviews-controller.php:232 +msgid "Review rating (0 to 5)." +msgstr "" + +#: includes/api/class-wc-rest-product-reviews-controller.php:238 +msgid "Reviewer name." +msgstr "" + +#: includes/api/class-wc-rest-product-reviews-controller.php:244 +msgid "Reviewer email." +msgstr "" + +#: includes/api/class-wc-rest-product-reviews-controller.php:250 +msgid "Shows if the reviewer bought the product or not." +msgstr "" + +#: includes/api/class-wc-rest-product-shipping-classes-controller.php:101 +msgid "Shipping class name." +msgstr "" + +#: includes/api/class-wc-rest-product-tags-controller.php:100 +#: includes/api/class-wc-rest-products-controller.php:2072 +msgid "Tag name." +msgstr "" + +#: includes/api/class-wc-rest-products-controller.php:286 +#: includes/api/class-wc-rest-products-controller.php:287 +#: includes/api/legacy/v1/class-wc-api-products.php:461 +#: includes/api/legacy/v1/class-wc-api-products.php:462 +#: includes/api/legacy/v2/class-wc-api-products.php:1719 +#: includes/api/legacy/v2/class-wc-api-products.php:1720 +#: includes/api/legacy/v3/class-wc-api-products.php:2241 +#: includes/api/legacy/v3/class-wc-api-products.php:2242 +#: includes/cli/class-wc-cli-product.php:914 +#: includes/cli/class-wc-cli-product.php:915 +#: includes/wc-product-functions.php:294 +#: templates/single-product/product-image.php:37 +msgid "Placeholder" +msgstr "" + +#: includes/api/class-wc-rest-products-controller.php:907 +#: includes/api/class-wc-rest-products-controller.php:1326 +msgid "The SKU already exists on another product." +msgstr "" + +#: includes/api/class-wc-rest-products-controller.php:1709 +msgid "Product slug." +msgstr "" + +#: includes/api/class-wc-rest-products-controller.php:1714 +#: includes/api/class-wc-rest-products-controller.php:2217 +msgid "Product URL." +msgstr "" + +#: includes/api/class-wc-rest-products-controller.php:1721 +msgid "The date the product was created, in the site's timezone." +msgstr "" + +#: includes/api/class-wc-rest-products-controller.php:1727 +msgid "The date the product was last modified, in the site's timezone." +msgstr "" + +#: includes/api/class-wc-rest-products-controller.php:1733 +msgid "Product type." +msgstr "" + +#: includes/api/class-wc-rest-products-controller.php:1740 +msgid "Product status (post status)." +msgstr "" + +#: includes/api/class-wc-rest-products-controller.php:1747 +msgid "Featured product." +msgstr "" + +#: includes/api/class-wc-rest-products-controller.php:1753 +msgid "Catalog visibility." +msgstr "" + +#: includes/api/class-wc-rest-products-controller.php:1760 +msgid "Product description." +msgstr "" + +#: includes/api/class-wc-rest-products-controller.php:1765 +msgid "Product short description." +msgstr "" + +#: includes/api/class-wc-rest-products-controller.php:1770 +#: includes/api/class-wc-rest-products-controller.php:2224 +msgid "Unique identifier." +msgstr "" + +#: includes/api/class-wc-rest-products-controller.php:1775 +#: includes/api/class-wc-rest-products-controller.php:2229 +msgid "Current product price." +msgstr "" + +#: includes/api/class-wc-rest-products-controller.php:1781 +#: includes/api/class-wc-rest-products-controller.php:2235 +msgid "Product regular price." +msgstr "" + +#: includes/api/class-wc-rest-products-controller.php:1786 +#: includes/api/class-wc-rest-products-controller.php:2240 +msgid "Product sale price." +msgstr "" + +#: includes/api/class-wc-rest-products-controller.php:1791 +#: includes/api/class-wc-rest-products-controller.php:2245 +msgid "Start date of sale price." +msgstr "" + +#: includes/api/class-wc-rest-products-controller.php:1796 +#: includes/api/class-wc-rest-products-controller.php:2250 +msgid "End data of sale price." +msgstr "" + +#: includes/api/class-wc-rest-products-controller.php:1801 +msgid "Price formatted in HTML." +msgstr "" + +#: includes/api/class-wc-rest-products-controller.php:1807 +#: includes/api/class-wc-rest-products-controller.php:2255 +msgid "Shows if the product is on sale." +msgstr "" + +#: includes/api/class-wc-rest-products-controller.php:1813 +#: includes/api/class-wc-rest-products-controller.php:2261 +msgid "Shows if the product can be bought." +msgstr "" + +#: includes/api/class-wc-rest-products-controller.php:1819 +msgid "Amount of sales." +msgstr "" + +#: includes/api/class-wc-rest-products-controller.php:1825 +#: includes/api/class-wc-rest-products-controller.php:2267 +msgid "If the product is virtual." +msgstr "" + +#: includes/api/class-wc-rest-products-controller.php:1831 +#: includes/api/class-wc-rest-products-controller.php:2273 +msgid "If the product is downloadable." +msgstr "" + +#: includes/api/class-wc-rest-products-controller.php:1837 +#: includes/api/class-wc-rest-products-controller.php:2279 +msgid "List of downloadable files." +msgstr "" + +#: includes/api/class-wc-rest-products-controller.php:1842 +#: includes/api/class-wc-rest-products-controller.php:2284 +msgid "File MD5 hash." +msgstr "" + +#: includes/api/class-wc-rest-products-controller.php:1860 +#: includes/api/class-wc-rest-products-controller.php:2302 +msgid "Amount of times the product can be downloaded." +msgstr "" + +#: includes/api/class-wc-rest-products-controller.php:1866 +#: includes/api/class-wc-rest-products-controller.php:2308 +msgid "Number of days that the customer has up to be able to download the product." +msgstr "" + +#: includes/api/class-wc-rest-products-controller.php:1872 +msgid "Download type, this controls the schema on the front-end." +msgstr "" + +#: includes/api/class-wc-rest-products-controller.php:1879 +msgid "Product external URL. Only for external products." +msgstr "" + +#: includes/api/class-wc-rest-products-controller.php:1885 +msgid "Product external button text. Only for external products." +msgstr "" + +#: includes/api/class-wc-rest-products-controller.php:1890 +#: includes/api/class-wc-rest-products-controller.php:2314 +msgid "Tax status." +msgstr "" + +#: includes/api/class-wc-rest-products-controller.php:1897 +#: includes/api/class-wc-rest-products-controller.php:2321 +#: includes/api/class-wc-rest-taxes-controller.php:627 +msgid "Tax class." +msgstr "" + +#: includes/api/class-wc-rest-products-controller.php:1902 +#: includes/api/class-wc-rest-products-controller.php:2326 +msgid "Stock management at product level." +msgstr "" + +#: includes/api/class-wc-rest-products-controller.php:1908 +#: includes/api/class-wc-rest-products-controller.php:2332 +msgid "Stock quantity." +msgstr "" + +#: includes/api/class-wc-rest-products-controller.php:1919 +#: includes/api/class-wc-rest-products-controller.php:2343 +msgid "If managing stock, this controls if backorders are allowed." +msgstr "" + +#: includes/api/class-wc-rest-products-controller.php:1926 +#: includes/api/class-wc-rest-products-controller.php:2350 +msgid "Shows if backorders are allowed." +msgstr "" + +#: includes/api/class-wc-rest-products-controller.php:1932 +#: includes/api/class-wc-rest-products-controller.php:2356 +msgid "Shows if a product is on backorder." +msgstr "" + +#: includes/api/class-wc-rest-products-controller.php:1938 +msgid "Allow one item to be bought in a single order." +msgstr "" + +#: includes/api/class-wc-rest-products-controller.php:1944 +#: includes/api/class-wc-rest-products-controller.php:2362 +msgid "Product weight (%s)." +msgstr "" + +#: includes/api/class-wc-rest-products-controller.php:1949 +#: includes/api/class-wc-rest-products-controller.php:2367 +msgid "Product dimensions." +msgstr "" + +#: includes/api/class-wc-rest-products-controller.php:1954 +#: includes/api/class-wc-rest-products-controller.php:2372 +msgid "Product length (%s)." +msgstr "" + +#: includes/api/class-wc-rest-products-controller.php:1959 +#: includes/api/class-wc-rest-products-controller.php:2377 +msgid "Product width (%s)." +msgstr "" + +#: includes/api/class-wc-rest-products-controller.php:1964 +#: includes/api/class-wc-rest-products-controller.php:2382 +msgid "Product height (%s)." +msgstr "" + +#: includes/api/class-wc-rest-products-controller.php:1971 +msgid "Shows if the product need to be shipped." +msgstr "" + +#: includes/api/class-wc-rest-products-controller.php:1977 +msgid "Shows whether or not the product shipping is taxable." +msgstr "" + +#: includes/api/class-wc-rest-products-controller.php:1983 +#: includes/api/class-wc-rest-products-controller.php:2389 +msgid "Shipping class slug." +msgstr "" + +#: includes/api/class-wc-rest-products-controller.php:1988 +#: includes/api/class-wc-rest-products-controller.php:2394 +msgid "Shipping class ID." +msgstr "" + +#: includes/api/class-wc-rest-products-controller.php:1994 +msgid "Allow reviews." +msgstr "" + +#: includes/api/class-wc-rest-products-controller.php:2000 +msgid "Reviews average rating." +msgstr "" + +#: includes/api/class-wc-rest-products-controller.php:2006 +msgid "Amount of reviews that the product have." +msgstr "" + +#: includes/api/class-wc-rest-products-controller.php:2012 +msgid "List of related products IDs." +msgstr "" + +#: includes/api/class-wc-rest-products-controller.php:2018 +msgid "List of up-sell products IDs." +msgstr "" + +#: includes/api/class-wc-rest-products-controller.php:2023 +msgid "List of cross-sell products IDs." +msgstr "" + +#: includes/api/class-wc-rest-products-controller.php:2028 +msgid "Product parent ID." +msgstr "" + +#: includes/api/class-wc-rest-products-controller.php:2033 +msgid "Optional note to send the customer after purchase." +msgstr "" + +#: includes/api/class-wc-rest-products-controller.php:2038 +msgid "List of categories." +msgstr "" + +#: includes/api/class-wc-rest-products-controller.php:2043 +msgid "Category ID." +msgstr "" + +#: includes/api/class-wc-rest-products-controller.php:2054 +msgid "Category slug." +msgstr "" + +#: includes/api/class-wc-rest-products-controller.php:2062 +msgid "List of tags." +msgstr "" + +#: includes/api/class-wc-rest-products-controller.php:2067 +msgid "Tag ID." +msgstr "" + +#: includes/api/class-wc-rest-products-controller.php:2078 +msgid "Tag slug." +msgstr "" + +#: includes/api/class-wc-rest-products-controller.php:2086 +msgid "List of images." +msgstr "" + +#: includes/api/class-wc-rest-products-controller.php:2091 +#: includes/api/class-wc-rest-products-controller.php:2405 +msgid "Image ID." +msgstr "" + +#: includes/api/class-wc-rest-products-controller.php:2097 +#: includes/api/class-wc-rest-products-controller.php:2411 +msgid "The date the image was created, in the site's timezone." +msgstr "" + +#: includes/api/class-wc-rest-products-controller.php:2103 +#: includes/api/class-wc-rest-products-controller.php:2417 +msgid "The date the image was last modified, in the site's timezone." +msgstr "" + +#: includes/api/class-wc-rest-products-controller.php:2115 +#: includes/api/class-wc-rest-products-controller.php:2429 +msgid "Image name." +msgstr "" + +#: includes/api/class-wc-rest-products-controller.php:2120 +#: includes/api/class-wc-rest-products-controller.php:2434 +msgid "Image alternative text." +msgstr "" + +#: includes/api/class-wc-rest-products-controller.php:2125 +#: includes/api/class-wc-rest-products-controller.php:2439 +msgid "Image position. 0 means that the image is featured." +msgstr "" + +#: includes/api/class-wc-rest-products-controller.php:2132 +#: includes/api/class-wc-rest-products-controller.php:2446 +msgid "List of attributes." +msgstr "" + +#: includes/api/class-wc-rest-products-controller.php:2143 +#: includes/api/class-wc-rest-products-controller.php:2182 +#: includes/api/class-wc-rest-products-controller.php:2457 +msgid "Attribute slug." +msgstr "" + +#: includes/api/class-wc-rest-products-controller.php:2148 +#: includes/api/class-wc-rest-products-controller.php:2462 +msgid "Attribute position." +msgstr "" + +#: includes/api/class-wc-rest-products-controller.php:2153 +#: includes/api/class-wc-rest-products-controller.php:2467 +msgid "" +"Define if the attribute is visible on the \"Additional Information\" tab in " +"the product's page." +msgstr "" + +#: includes/api/class-wc-rest-products-controller.php:2159 +#: includes/api/class-wc-rest-products-controller.php:2473 +msgid "Define if the attribute can be used as variation." +msgstr "" + +#: includes/api/class-wc-rest-products-controller.php:2165 +#: includes/api/class-wc-rest-products-controller.php:2479 +msgid "List of available term names of the attribute." +msgstr "" + +#: includes/api/class-wc-rest-products-controller.php:2172 +msgid "Defaults variation attributes." +msgstr "" + +#: includes/api/class-wc-rest-products-controller.php:2187 +msgid "Selected term name of the attribute." +msgstr "" + +#: includes/api/class-wc-rest-products-controller.php:2194 +msgid "List of variations." +msgstr "" + +#: includes/api/class-wc-rest-products-controller.php:2199 +msgid "Variation ID." +msgstr "" + +#: includes/api/class-wc-rest-products-controller.php:2205 +msgid "The date the variation was created, in the site's timezone." +msgstr "" + +#: includes/api/class-wc-rest-products-controller.php:2211 +msgid "The date the variation was last modified, in the site's timezone." +msgstr "" + +#: includes/api/class-wc-rest-products-controller.php:2400 +msgid "Varition image data." +msgstr "" + +#: includes/api/class-wc-rest-products-controller.php:2488 +msgid "List of grouped products ID." +msgstr "" + +#: includes/api/class-wc-rest-products-controller.php:2494 +msgid "Menu order, used to custom sort products." +msgstr "" + +#: includes/api/class-wc-rest-products-controller.php:2514 +msgid "Limit result set to products assigned a specific status." +msgstr "" + +#: includes/api/class-wc-rest-products-controller.php:2521 +msgid "Limit result set to products assigned a specific type." +msgstr "" + +#: includes/api/class-wc-rest-products-controller.php:2528 +msgid "Limit result set to products assigned a specific category." +msgstr "" + +#: includes/api/class-wc-rest-products-controller.php:2534 +msgid "Limit result set to products assigned a specific tag." +msgstr "" + +#: includes/api/class-wc-rest-products-controller.php:2540 +msgid "Limit result set to products assigned a specific shipping class." +msgstr "" + +#: includes/api/class-wc-rest-products-controller.php:2546 +msgid "Limit result set to products with a specific attribute." +msgstr "" + +#: includes/api/class-wc-rest-products-controller.php:2552 +msgid "" +"Limit result set to products with a specific attribute term (required an " +"assigned attribute)." +msgstr "" + +#: includes/api/class-wc-rest-products-controller.php:2558 +msgid "Limit result set to products with a specific SKU." +msgstr "" + +#: includes/api/class-wc-rest-report-sales-controller.php:293 +msgid "Gross sales in the period." +msgstr "" + +#: includes/api/class-wc-rest-report-sales-controller.php:299 +msgid "Net sales in the period." +msgstr "" + +#: includes/api/class-wc-rest-report-sales-controller.php:305 +msgid "Average net daily sales." +msgstr "" + +#: includes/api/class-wc-rest-report-sales-controller.php:311 +msgid "Total of orders placed." +msgstr "" + +#: includes/api/class-wc-rest-report-sales-controller.php:317 +msgid "Total of items purchased." +msgstr "" + +#: includes/api/class-wc-rest-report-sales-controller.php:323 +msgid "Total charged for taxes." +msgstr "" + +#: includes/api/class-wc-rest-report-sales-controller.php:329 +msgid "Total charged for shipping." +msgstr "" + +#: includes/api/class-wc-rest-report-sales-controller.php:335 +msgid "Total of refunded orders." +msgstr "" + +#: includes/api/class-wc-rest-report-sales-controller.php:341 +msgid "Total of coupons used." +msgstr "" + +#: includes/api/class-wc-rest-report-sales-controller.php:347 +msgid "Group type." +msgstr "" + +#: includes/api/class-wc-rest-report-sales-controller.php:353 +msgid "Totals." +msgstr "" + +#: includes/api/class-wc-rest-report-sales-controller.php:373 +msgid "Report period." +msgstr "" + +#: includes/api/class-wc-rest-report-sales-controller.php:380 +msgid "" +"Return sales for a specific start date, the date need to be in the %s " +"format." +msgstr "" + +#: includes/api/class-wc-rest-report-sales-controller.php:387 +msgid "Return sales for a specific end date, the date need to be in the %s format." +msgstr "" + +#: includes/api/class-wc-rest-report-top-sellers-controller.php:152 +msgid "Product title." +msgstr "" + +#: includes/api/class-wc-rest-report-top-sellers-controller.php:164 +msgid "Total number of purchases." +msgstr "" + +#: includes/api/class-wc-rest-reports-controller.php:79 +msgid "List of sales reports." +msgstr "" + +#: includes/api/class-wc-rest-reports-controller.php:83 +msgid "List of top sellers products." +msgstr "" + +#: includes/api/class-wc-rest-reports-controller.php:147 +msgid "An alphanumeric identifier for the resource." +msgstr "" + +#: includes/api/class-wc-rest-reports-controller.php:153 +msgid "A human-readable description of the resource." +msgstr "" + +#: includes/api/class-wc-rest-tax-classes-controller.php:83 +msgid "Sorry, you cannot list tax classes." +msgstr "" + +#: includes/api/class-wc-rest-tax-classes-controller.php:129 +#: includes/api/legacy/v3/class-wc-api-taxes.php:534 +#: includes/cli/class-wc-cli-tax.php:434 +msgid "Standard Rate" +msgstr "" + +#: includes/api/class-wc-rest-tax-classes-controller.php:217 +#: includes/api/class-wc-rest-taxes-controller.php:449 +msgid "Taxes do not support trashing." +msgstr "" + +#: includes/api/class-wc-rest-tax-classes-controller.php:332 +msgid "Tax class name." +msgstr "" + +#: includes/api/class-wc-rest-taxes-controller.php:107 +msgid "Sorry, you cannot list taxes." +msgstr "" + +#: includes/api/class-wc-rest-taxes-controller.php:574 +msgid "Country ISO 3166 code." +msgstr "" + +#: includes/api/class-wc-rest-taxes-controller.php:579 +msgid "State code." +msgstr "" + +#: includes/api/class-wc-rest-taxes-controller.php:584 +msgid "Postcode/ZIP." +msgstr "" + +#: includes/api/class-wc-rest-taxes-controller.php:594 +msgid "Tax rate." +msgstr "" + +#: includes/api/class-wc-rest-taxes-controller.php:599 +msgid "Tax rate name." +msgstr "" + +#: includes/api/class-wc-rest-taxes-controller.php:604 +msgid "Tax priority." +msgstr "" + +#: includes/api/class-wc-rest-taxes-controller.php:610 +msgid "Whether or not this is a compound rate." +msgstr "" + +#: includes/api/class-wc-rest-taxes-controller.php:616 +msgid "Whether or not this tax rate also gets applied to shipping." +msgstr "" + +#: includes/api/class-wc-rest-taxes-controller.php:622 +msgid "Indicates the order that will appear in queries." +msgstr "" + +#: includes/api/class-wc-rest-taxes-controller.php:687 +msgid "Sort by tax class." +msgstr "" + +#: includes/api/class-wc-rest-webhook-deliveries.php:106 +#: includes/api/class-wc-rest-webhook-deliveries.php:132 +msgid "Invalid webhook id." +msgstr "" + +#: includes/api/class-wc-rest-webhook-deliveries.php:224 +msgid "The delivery duration, in seconds." +msgstr "" + +#: includes/api/class-wc-rest-webhook-deliveries.php:230 +msgid "" +"A friendly summary of the response including the HTTP response code, " +"message, and body." +msgstr "" + +#: includes/api/class-wc-rest-webhook-deliveries.php:236 +#: includes/api/class-wc-rest-webhook-deliveries.php:243 +msgid "The URL where the webhook was delivered." +msgstr "" + +#: includes/api/class-wc-rest-webhook-deliveries.php:250 +msgid "Request headers." +msgstr "" + +#: includes/api/class-wc-rest-webhook-deliveries.php:256 +msgid "Request body." +msgstr "" + +#: includes/api/class-wc-rest-webhook-deliveries.php:262 +msgid "The HTTP response code from the receiving server." +msgstr "" + +#: includes/api/class-wc-rest-webhook-deliveries.php:268 +msgid "The HTTP response message from the receiving server." +msgstr "" + +#: includes/api/class-wc-rest-webhook-deliveries.php:274 +msgid "Array of the response headers from the receiving server." +msgstr "" + +#: includes/api/class-wc-rest-webhook-deliveries.php:280 +msgid "The response body from the receiving server." +msgstr "" + +#: includes/api/class-wc-rest-webhook-deliveries.php:286 +msgid "The date the webhook delivery was logged, in the site's timezone." +msgstr "" + +#: includes/api/class-wc-rest-webhooks-controller.php:133 +msgid "Webhook topic is required and must be valid." +msgstr "" + +#: includes/api/class-wc-rest-webhooks-controller.php:138 +#: includes/api/class-wc-rest-webhooks-controller.php:233 +msgid "Webhook delivery URL must be a valid URL starting with http:// or https://." +msgstr "" + +#: includes/api/class-wc-rest-webhooks-controller.php:224 +msgid "Webhook topic must be valid." +msgstr "" + +#: includes/api/class-wc-rest-webhooks-controller.php:474 +msgid "A friendly name for the webhook." +msgstr "" + +#: includes/api/class-wc-rest-webhooks-controller.php:479 +msgid "Webhook status." +msgstr "" + +#: includes/api/class-wc-rest-webhooks-controller.php:489 +msgid "Webhook topic." +msgstr "" + +#: includes/api/class-wc-rest-webhooks-controller.php:494 +msgid "Webhook resource." +msgstr "" + +#: includes/api/class-wc-rest-webhooks-controller.php:500 +msgid "Webhook event." +msgstr "" + +#: includes/api/class-wc-rest-webhooks-controller.php:506 +msgid "WooCommerce action names associated with the webhook." +msgstr "" + +#: includes/api/class-wc-rest-webhooks-controller.php:512 +msgid "The URL where the webhook payload is delivered." +msgstr "" + +#: includes/api/class-wc-rest-webhooks-controller.php:519 +msgid "" +"Secret key used to generate a hash of the delivered webhook and provided in " +"the request headers. This will default is a MD5 hash from the current " +"user's ID|username if not provided." +msgstr "" + +#: includes/api/class-wc-rest-webhooks-controller.php:526 +msgid "The date the webhook was created, in the site's timezone." +msgstr "" + +#: includes/api/class-wc-rest-webhooks-controller.php:532 +msgid "The date the webhook was last modified, in the site's timezone." +msgstr "" + +#: includes/api/class-wc-rest-webhooks-controller.php:553 +msgid "Limit result set to webhooks assigned a specific status." +msgstr "" + +#: includes/api/legacy/v1/class-wc-api-authentication.php:93 +#: includes/api/legacy/v2/class-wc-api-authentication.php:93 +msgid "Consumer Key is missing" +msgstr "" + +#: includes/api/legacy/v1/class-wc-api-authentication.php:109 +#: includes/api/legacy/v2/class-wc-api-authentication.php:109 +msgid "Consumer Secret is missing" +msgstr "" + +#: includes/api/legacy/v1/class-wc-api-authentication.php:115 +#: includes/api/legacy/v2/class-wc-api-authentication.php:115 +#: includes/api/legacy/v3/class-wc-api-authentication.php:83 +#: includes/api/legacy/v3/class-wc-api-authentication.php:115 +msgid "Consumer Secret is invalid" +msgstr "" + +#: includes/api/legacy/v1/class-wc-api-authentication.php:148 +#: includes/api/legacy/v2/class-wc-api-authentication.php:148 +#: includes/api/legacy/v3/class-wc-api-authentication.php:145 +msgid "%s parameter is missing" +msgstr "" + +#: includes/api/legacy/v1/class-wc-api-authentication.php:183 +#: includes/api/legacy/v2/class-wc-api-authentication.php:183 +#: includes/api/legacy/v3/class-wc-api-authentication.php:180 +msgid "Consumer Key is invalid" +msgstr "" + +#: includes/api/legacy/v1/class-wc-api-authentication.php:201 +#: includes/api/legacy/v2/class-wc-api-authentication.php:201 +#: includes/api/legacy/v3/class-wc-api-authentication.php:198 +msgid "API user is invalid" +msgstr "" + +#: includes/api/legacy/v1/class-wc-api-authentication.php:251 +#: includes/api/legacy/v2/class-wc-api-authentication.php:251 +#: includes/api/legacy/v3/class-wc-api-authentication.php:242 +msgid "Invalid Signature - failed to sort parameters" +msgstr "" + +#: includes/api/legacy/v1/class-wc-api-authentication.php:265 +#: includes/api/legacy/v2/class-wc-api-authentication.php:265 +#: includes/api/legacy/v3/class-wc-api-authentication.php:262 +msgid "Invalid Signature - signature method is invalid" +msgstr "" + +#: includes/api/legacy/v1/class-wc-api-authentication.php:273 +#: includes/api/legacy/v2/class-wc-api-authentication.php:273 +#: includes/api/legacy/v3/class-wc-api-authentication.php:271 +msgid "Invalid Signature - provided signature does not match" +msgstr "" + +#: includes/api/legacy/v1/class-wc-api-authentication.php:331 +#: includes/api/legacy/v2/class-wc-api-authentication.php:331 +#: includes/api/legacy/v3/class-wc-api-authentication.php:336 +msgid "Invalid timestamp" +msgstr "" + +#: includes/api/legacy/v1/class-wc-api-authentication.php:341 +#: includes/api/legacy/v2/class-wc-api-authentication.php:341 +#: includes/api/legacy/v3/class-wc-api-authentication.php:346 +msgid "Invalid nonce - nonce has already been used" +msgstr "" + +#: includes/api/legacy/v1/class-wc-api-authentication.php:376 +#: includes/api/legacy/v2/class-wc-api-authentication.php:376 +#: includes/api/legacy/v3/class-wc-api-authentication.php:381 +msgid "The API key provided does not have read permissions" +msgstr "" + +#: includes/api/legacy/v1/class-wc-api-authentication.php:385 +#: includes/api/legacy/v2/class-wc-api-authentication.php:385 +#: includes/api/legacy/v3/class-wc-api-authentication.php:390 +msgid "The API key provided does not have write permissions" +msgstr "" + +#: includes/api/legacy/v1/class-wc-api-coupons.php:109 +#: includes/api/legacy/v2/class-wc-api-coupons.php:120 +#: includes/api/legacy/v3/class-wc-api-coupons.php:120 +msgid "Invalid coupon ID" +msgstr "" + +#: includes/api/legacy/v1/class-wc-api-coupons.php:153 +#: includes/api/legacy/v2/class-wc-api-coupons.php:166 +#: includes/api/legacy/v3/class-wc-api-coupons.php:166 +msgid "You do not have permission to read the coupons count" +msgstr "" + +#: includes/api/legacy/v1/class-wc-api-coupons.php:172 +#: includes/api/legacy/v2/class-wc-api-coupons.php:192 +#: includes/api/legacy/v3/class-wc-api-coupons.php:192 +msgid "Invalid coupon code" +msgstr "" + +#: includes/api/legacy/v1/class-wc-api-customers.php:195 +#: includes/api/legacy/v2/class-wc-api-customers.php:239 +#: includes/api/legacy/v3/class-wc-api-customers.php:240 +msgid "You do not have permission to read the customers count" +msgstr "" + +#: includes/api/legacy/v1/class-wc-api-customers.php:211 +#: includes/api/legacy/v2/class-wc-api-customers.php:352 +#: includes/api/legacy/v3/class-wc-api-customers.php:353 +msgid "You do not have permission to create this customer" +msgstr "" + +#: includes/api/legacy/v1/class-wc-api-customers.php:461 +#: includes/api/legacy/v2/class-wc-api-customers.php:726 +#: includes/api/legacy/v3/class-wc-api-customers.php:715 +msgid "Invalid customer ID" +msgstr "" + +#: includes/api/legacy/v1/class-wc-api-customers.php:467 +#: includes/api/legacy/v2/class-wc-api-customers.php:733 +#: includes/api/legacy/v3/class-wc-api-customers.php:722 +msgid "Invalid customer" +msgstr "" + +#: includes/api/legacy/v1/class-wc-api-customers.php:474 +#: includes/api/legacy/v2/class-wc-api-customers.php:741 +#: includes/api/legacy/v3/class-wc-api-customers.php:730 +msgid "You do not have permission to read this customer" +msgstr "" + +#: includes/api/legacy/v1/class-wc-api-customers.php:479 +#: includes/api/legacy/v2/class-wc-api-customers.php:747 +#: includes/api/legacy/v3/class-wc-api-customers.php:736 +msgid "You do not have permission to edit this customer" +msgstr "" + +#: includes/api/legacy/v1/class-wc-api-customers.php:484 +#: includes/api/legacy/v2/class-wc-api-customers.php:753 +#: includes/api/legacy/v3/class-wc-api-customers.php:742 +msgid "You do not have permission to delete this customer" +msgstr "" + +#: includes/api/legacy/v1/class-wc-api-json-handler.php:59 +#: includes/api/legacy/v2/class-wc-api-json-handler.php:58 +#: includes/api/legacy/v3/class-wc-api-json-handler.php:58 +msgid "JSONP support is disabled on this site" +msgstr "" + +#: includes/api/legacy/v1/class-wc-api-json-handler.php:67 +#: includes/api/legacy/v2/class-wc-api-json-handler.php:66 +#: includes/api/legacy/v3/class-wc-api-json-handler.php:66 +msgid "The JSONP callback function is invalid" +msgstr "" + +#: includes/api/legacy/v1/class-wc-api-orders.php:258 +#: includes/api/legacy/v2/class-wc-api-orders.php:318 +#: includes/api/legacy/v3/class-wc-api-orders.php:350 +msgid "You do not have permission to read the orders count" +msgstr "" + +#: includes/api/legacy/v1/class-wc-api-products.php:143 +#: includes/api/legacy/v2/class-wc-api-products.php:183 +#: includes/api/legacy/v3/class-wc-api-products.php:228 +msgid "You do not have permission to read the products count" +msgstr "" + +#: includes/api/legacy/v1/class-wc-api-reports.php:471 +#: includes/api/legacy/v2/class-wc-api-reports.php:321 +#: includes/api/legacy/v3/class-wc-api-reports.php:321 +msgid "You do not have permission to read this report" +msgstr "" + +#: includes/api/legacy/v1/class-wc-api-resource.php:74 +#: includes/api/legacy/v2/class-wc-api-resource.php:85 +#: includes/api/legacy/v3/class-wc-api-resource.php:85 +msgid "Invalid %s ID" +msgstr "" + +#: includes/api/legacy/v1/class-wc-api-resource.php:86 +#: includes/api/legacy/v2/class-wc-api-resource.php:102 +#: includes/api/legacy/v3/class-wc-api-resource.php:102 +msgid "Invalid %s" +msgstr "" + +#: includes/api/legacy/v1/class-wc-api-resource.php:93 +#: includes/api/legacy/v2/class-wc-api-resource.php:110 +#: includes/api/legacy/v3/class-wc-api-resource.php:110 +msgid "You do not have permission to read this %s" +msgstr "" + +#: includes/api/legacy/v1/class-wc-api-resource.php:98 +#: includes/api/legacy/v2/class-wc-api-resource.php:115 +#: includes/api/legacy/v3/class-wc-api-resource.php:115 +msgid "You do not have permission to edit this %s" +msgstr "" + +#: includes/api/legacy/v1/class-wc-api-resource.php:103 +#: includes/api/legacy/v2/class-wc-api-resource.php:120 +#: includes/api/legacy/v3/class-wc-api-resource.php:120 +msgid "You do not have permission to delete this %s" +msgstr "" + +#: includes/api/legacy/v1/class-wc-api-resource.php:305 +#: includes/api/legacy/v2/class-wc-api-resource.php:366 +#: includes/api/legacy/v3/class-wc-api-resource.php:366 +msgid "Permanently deleted customer" +msgstr "" + +#: includes/api/legacy/v1/class-wc-api-resource.php:307 +#: includes/api/legacy/v2/class-wc-api-resource.php:368 +#: includes/api/legacy/v3/class-wc-api-resource.php:368 +msgid "The customer cannot be deleted" +msgstr "" + +#: includes/api/legacy/v1/class-wc-api-resource.php:316 +#: includes/api/legacy/v2/class-wc-api-products.php:414 +#: includes/api/legacy/v2/class-wc-api-resource.php:378 +#: includes/api/legacy/v3/class-wc-api-products.php:469 +#: includes/api/legacy/v3/class-wc-api-products.php:3138 +#: includes/api/legacy/v3/class-wc-api-resource.php:377 +msgid "This %s cannot be deleted" +msgstr "" + +#: includes/api/legacy/v1/class-wc-api-resource.php:319 +#: includes/api/legacy/v2/class-wc-api-products.php:423 +#: includes/api/legacy/v2/class-wc-api-resource.php:382 +#: includes/api/legacy/v3/class-wc-api-products.php:478 +#: includes/api/legacy/v3/class-wc-api-resource.php:380 +msgid "Permanently deleted %s" +msgstr "" + +#: includes/api/legacy/v1/class-wc-api-resource.php:325 +#: includes/api/legacy/v2/class-wc-api-products.php:427 +#: includes/api/legacy/v2/class-wc-api-products.php:2293 +#: includes/api/legacy/v2/class-wc-api-resource.php:386 +#: includes/api/legacy/v3/class-wc-api-products.php:482 +#: includes/api/legacy/v3/class-wc-api-products.php:822 +#: includes/api/legacy/v3/class-wc-api-products.php:1010 +#: includes/api/legacy/v3/class-wc-api-products.php:2877 +#: includes/api/legacy/v3/class-wc-api-products.php:3145 +#: includes/api/legacy/v3/class-wc-api-products.php:3451 +#: includes/api/legacy/v3/class-wc-api-resource.php:386 +#: includes/api/legacy/v3/class-wc-api-taxes.php:354 +#: includes/api/legacy/v3/class-wc-api-taxes.php:665 +msgid "Deleted %s" +msgstr "" + +#: includes/api/legacy/v1/class-wc-api-server.php:170 +#: includes/api/legacy/v2/class-wc-api-server.php:164 +#: includes/api/legacy/v3/class-wc-api-server.php:164 +msgid "Invalid authentication method" +msgstr "" + +#: includes/api/legacy/v1/class-wc-api-server.php:321 +#: includes/api/legacy/v2/class-wc-api-server.php:318 +#: includes/api/legacy/v3/class-wc-api-server.php:318 +msgid "Unsupported request method" +msgstr "" + +#: includes/api/legacy/v1/class-wc-api-server.php:338 +#: includes/api/legacy/v2/class-wc-api-server.php:337 +#: includes/api/legacy/v3/class-wc-api-server.php:337 +msgid "The handler for the route is invalid" +msgstr "" + +#: includes/api/legacy/v1/class-wc-api-server.php:374 +#: includes/api/legacy/v2/class-wc-api-server.php:374 +#: includes/api/legacy/v3/class-wc-api-server.php:374 +msgid "No route was found matching the URL and request method" +msgstr "" + +#: includes/api/legacy/v1/class-wc-api-server.php:409 +#: includes/api/legacy/v2/class-wc-api-coupons.php:227 +#: includes/api/legacy/v2/class-wc-api-customers.php:359 +#: includes/api/legacy/v2/class-wc-api-products.php:224 +#: includes/api/legacy/v2/class-wc-api-products.php:2055 +#: includes/api/legacy/v2/class-wc-api-server.php:427 +#: includes/api/legacy/v3/class-wc-api-coupons.php:227 +#: includes/api/legacy/v3/class-wc-api-customers.php:360 +#: includes/api/legacy/v3/class-wc-api-products.php:269 +#: includes/api/legacy/v3/class-wc-api-products.php:2636 +#: includes/api/legacy/v3/class-wc-api-products.php:3023 +#: includes/api/legacy/v3/class-wc-api-server.php:427 +#: includes/api/legacy/v3/class-wc-api-taxes.php:575 +#: includes/class-wc-auth.php:176 includes/cli/class-wc-cli-coupon.php:63 +#: includes/cli/class-wc-cli-product.php:151 +#: includes/cli/class-wc-cli-tax.php:130 +msgid "Missing parameter %s" +msgstr "" + +#: includes/api/legacy/v2/class-wc-api-coupons.php:213 +#: includes/api/legacy/v2/class-wc-api-customers.php:345 +#: includes/api/legacy/v2/class-wc-api-orders.php:384 +#: includes/api/legacy/v2/class-wc-api-orders.php:1285 +#: includes/api/legacy/v2/class-wc-api-orders.php:1574 +#: includes/api/legacy/v2/class-wc-api-products.php:210 +#: includes/api/legacy/v2/class-wc-api-products.php:2091 +#: includes/api/legacy/v2/class-wc-api-webhooks.php:169 +#: includes/api/legacy/v3/class-wc-api-coupons.php:213 +#: includes/api/legacy/v3/class-wc-api-customers.php:346 +#: includes/api/legacy/v3/class-wc-api-orders.php:416 +#: includes/api/legacy/v3/class-wc-api-orders.php:1331 +#: includes/api/legacy/v3/class-wc-api-orders.php:1620 +#: includes/api/legacy/v3/class-wc-api-products.php:255 +#: includes/api/legacy/v3/class-wc-api-products.php:658 +#: includes/api/legacy/v3/class-wc-api-products.php:911 +#: includes/api/legacy/v3/class-wc-api-products.php:2672 +#: includes/api/legacy/v3/class-wc-api-products.php:3003 +#: includes/api/legacy/v3/class-wc-api-products.php:3337 +#: includes/api/legacy/v3/class-wc-api-taxes.php:184 +#: includes/api/legacy/v3/class-wc-api-taxes.php:564 +#: includes/api/legacy/v3/class-wc-api-webhooks.php:169 +msgid "No %1$s data specified to create %1$s" +msgstr "" + +#: includes/api/legacy/v2/class-wc-api-coupons.php:220 +#: includes/api/legacy/v3/class-wc-api-coupons.php:220 +msgid "You do not have permission to create coupons" +msgstr "" + +#: includes/api/legacy/v2/class-wc-api-coupons.php:270 +#: includes/api/legacy/v2/class-wc-api-coupons.php:379 +#: includes/api/legacy/v3/class-wc-api-coupons.php:270 +#: includes/api/legacy/v3/class-wc-api-coupons.php:379 #: includes/cli/class-wc-cli-coupon.php:106 #: includes/cli/class-wc-cli-coupon.php:465 msgid "Invalid coupon type - the coupon type must be any of these: %s" msgstr "" -#: includes/api/class-wc-api-coupons.php:329 -#: includes/api/class-wc-api-customers.php:401 -#: includes/api/class-wc-api-orders.php:558 -#: includes/api/class-wc-api-orders.php:1388 -#: includes/api/class-wc-api-orders.php:1697 -#: includes/api/class-wc-api-products.php:358 -#: includes/api/class-wc-api-products.php:731 -#: includes/api/class-wc-api-products.php:952 -#: includes/api/class-wc-api-products.php:2747 -#: includes/api/class-wc-api-products.php:3059 -#: includes/api/class-wc-api-products.php:3388 -#: includes/api/class-wc-api-taxes.php:254 -#: includes/api/class-wc-api-webhooks.php:245 -#: includes/api/v2/class-wc-api-coupons.php:329 -#: includes/api/v2/class-wc-api-customers.php:400 -#: includes/api/v2/class-wc-api-orders.php:521 -#: includes/api/v2/class-wc-api-orders.php:1342 -#: includes/api/v2/class-wc-api-orders.php:1651 -#: includes/api/v2/class-wc-api-products.php:312 -#: includes/api/v2/class-wc-api-products.php:2169 -#: includes/api/v2/class-wc-api-webhooks.php:245 +#: includes/api/legacy/v2/class-wc-api-coupons.php:329 +#: includes/api/legacy/v2/class-wc-api-customers.php:400 +#: includes/api/legacy/v2/class-wc-api-orders.php:521 +#: includes/api/legacy/v2/class-wc-api-orders.php:1342 +#: includes/api/legacy/v2/class-wc-api-orders.php:1651 +#: includes/api/legacy/v2/class-wc-api-products.php:312 +#: includes/api/legacy/v2/class-wc-api-products.php:2172 +#: includes/api/legacy/v2/class-wc-api-webhooks.php:245 +#: includes/api/legacy/v3/class-wc-api-coupons.php:329 +#: includes/api/legacy/v3/class-wc-api-customers.php:401 +#: includes/api/legacy/v3/class-wc-api-orders.php:558 +#: includes/api/legacy/v3/class-wc-api-orders.php:1388 +#: includes/api/legacy/v3/class-wc-api-orders.php:1697 +#: includes/api/legacy/v3/class-wc-api-products.php:362 +#: includes/api/legacy/v3/class-wc-api-products.php:735 +#: includes/api/legacy/v3/class-wc-api-products.php:956 +#: includes/api/legacy/v3/class-wc-api-products.php:2754 +#: includes/api/legacy/v3/class-wc-api-products.php:3066 +#: includes/api/legacy/v3/class-wc-api-products.php:3395 +#: includes/api/legacy/v3/class-wc-api-taxes.php:254 +#: includes/api/legacy/v3/class-wc-api-webhooks.php:245 msgid "No %1$s data specified to edit %1$s" msgstr "" -#: includes/api/class-wc-api-coupons.php:364 -#: includes/api/class-wc-api-coupons.php:372 -#: includes/api/v2/class-wc-api-coupons.php:364 -#: includes/api/v2/class-wc-api-coupons.php:372 +#: includes/api/legacy/v2/class-wc-api-coupons.php:364 +#: includes/api/legacy/v2/class-wc-api-coupons.php:372 +#: includes/api/legacy/v3/class-wc-api-coupons.php:364 +#: includes/api/legacy/v3/class-wc-api-coupons.php:372 #: includes/cli/class-wc-cli-coupon.php:459 msgid "Failed to update coupon" msgstr "" -#: includes/api/class-wc-api-coupons.php:526 -#: includes/api/class-wc-api-customers.php:778 -#: includes/api/class-wc-api-orders.php:1810 -#: includes/api/class-wc-api-products.php:3180 -#: includes/api/class-wc-api-taxes.php:457 -#: includes/api/v2/class-wc-api-coupons.php:526 -#: includes/api/v2/class-wc-api-customers.php:789 -#: includes/api/v2/class-wc-api-orders.php:1764 -#: includes/api/v2/class-wc-api-products.php:2356 +#: includes/api/legacy/v2/class-wc-api-coupons.php:526 +#: includes/api/legacy/v2/class-wc-api-customers.php:789 +#: includes/api/legacy/v2/class-wc-api-orders.php:1764 +#: includes/api/legacy/v2/class-wc-api-products.php:2359 +#: includes/api/legacy/v3/class-wc-api-coupons.php:526 +#: includes/api/legacy/v3/class-wc-api-customers.php:778 +#: includes/api/legacy/v3/class-wc-api-orders.php:1810 +#: includes/api/legacy/v3/class-wc-api-products.php:3187 +#: includes/api/legacy/v3/class-wc-api-taxes.php:457 msgid "No %1$s data specified to create/edit %1$s" msgstr "" -#: includes/api/class-wc-api-coupons.php:534 -#: includes/api/class-wc-api-customers.php:786 -#: includes/api/class-wc-api-orders.php:1818 -#: includes/api/class-wc-api-products.php:3188 -#: includes/api/class-wc-api-taxes.php:465 -#: includes/api/v2/class-wc-api-coupons.php:534 -#: includes/api/v2/class-wc-api-customers.php:797 -#: includes/api/v2/class-wc-api-orders.php:1772 -#: includes/api/v2/class-wc-api-products.php:2364 +#: includes/api/legacy/v2/class-wc-api-coupons.php:534 +#: includes/api/legacy/v2/class-wc-api-customers.php:797 +#: includes/api/legacy/v2/class-wc-api-orders.php:1772 +#: includes/api/legacy/v2/class-wc-api-products.php:2367 +#: includes/api/legacy/v3/class-wc-api-coupons.php:534 +#: includes/api/legacy/v3/class-wc-api-customers.php:786 +#: includes/api/legacy/v3/class-wc-api-orders.php:1818 +#: includes/api/legacy/v3/class-wc-api-products.php:3195 +#: includes/api/legacy/v3/class-wc-api-taxes.php:465 msgid "Unable to accept more than %s items for this request" msgstr "" -#: includes/api/class-wc-api-customers.php:218 -#: includes/api/class-wc-api-customers.php:221 -#: includes/api/v2/class-wc-api-customers.php:217 -#: includes/api/v2/class-wc-api-customers.php:220 +#: includes/api/legacy/v2/class-wc-api-customers.php:217 +#: includes/api/legacy/v2/class-wc-api-customers.php:220 +#: includes/api/legacy/v3/class-wc-api-customers.php:218 +#: includes/api/legacy/v3/class-wc-api-customers.php:221 msgid "Invalid customer Email" msgstr "" -#: includes/api/class-wc-api-customers.php:240 -#: includes/api/v1/class-wc-api-customers.php:195 -#: includes/api/v2/class-wc-api-customers.php:239 -msgid "You do not have permission to read the customers count" -msgstr "" - -#: includes/api/class-wc-api-customers.php:353 -#: includes/api/v1/class-wc-api-customers.php:211 -#: includes/api/v2/class-wc-api-customers.php:352 -msgid "You do not have permission to create this customer" -msgstr "" - -#: includes/api/class-wc-api-customers.php:715 -#: includes/api/v1/class-wc-api-customers.php:461 -#: includes/api/v2/class-wc-api-customers.php:726 -msgid "Invalid customer ID" -msgstr "" - -#: includes/api/class-wc-api-customers.php:722 -#: includes/api/v1/class-wc-api-customers.php:467 -#: includes/api/v2/class-wc-api-customers.php:733 -msgid "Invalid customer" -msgstr "" - -#: includes/api/class-wc-api-customers.php:730 -#: includes/api/v1/class-wc-api-customers.php:474 -#: includes/api/v2/class-wc-api-customers.php:741 -msgid "You do not have permission to read this customer" -msgstr "" - -#: includes/api/class-wc-api-customers.php:736 -#: includes/api/v1/class-wc-api-customers.php:479 -#: includes/api/v2/class-wc-api-customers.php:747 -msgid "You do not have permission to edit this customer" -msgstr "" - -#: includes/api/class-wc-api-customers.php:742 -#: includes/api/v1/class-wc-api-customers.php:484 -#: includes/api/v2/class-wc-api-customers.php:753 -msgid "You do not have permission to delete this customer" -msgstr "" - -#: includes/api/class-wc-api-json-handler.php:58 -#: includes/api/v1/class-wc-api-json-handler.php:59 -#: includes/api/v2/class-wc-api-json-handler.php:58 -msgid "JSONP support is disabled on this site" -msgstr "" - -#: includes/api/class-wc-api-json-handler.php:66 -#: includes/api/v1/class-wc-api-json-handler.php:67 -#: includes/api/v2/class-wc-api-json-handler.php:66 -msgid "The JSONP callback function is invalid" -msgstr "" - -#: includes/api/class-wc-api-orders.php:350 -#: includes/api/v1/class-wc-api-orders.php:258 -#: includes/api/v2/class-wc-api-orders.php:318 -msgid "You do not have permission to read the orders count" -msgstr "" - -#: includes/api/class-wc-api-orders.php:423 -#: includes/api/v2/class-wc-api-orders.php:391 +#: includes/api/legacy/v2/class-wc-api-orders.php:391 +#: includes/api/legacy/v3/class-wc-api-orders.php:423 msgid "You do not have permission to create orders" msgstr "" -#: includes/api/class-wc-api-orders.php:439 -#: includes/api/class-wc-api-orders.php:589 -#: includes/api/v2/class-wc-api-orders.php:407 -#: includes/api/v2/class-wc-api-orders.php:552 +#: includes/api/legacy/v2/class-wc-api-orders.php:407 +#: includes/api/legacy/v2/class-wc-api-orders.php:552 +#: includes/api/legacy/v3/class-wc-api-orders.php:439 +#: includes/api/legacy/v3/class-wc-api-orders.php:589 #: includes/cli/class-wc-cli-order.php:114 #: includes/cli/class-wc-cli-order.php:450 msgid "Customer ID is invalid" msgstr "" -#: includes/api/class-wc-api-orders.php:449 -#: includes/api/v2/class-wc-api-orders.php:417 +#: includes/api/legacy/v2/class-wc-api-orders.php:417 +#: includes/api/legacy/v3/class-wc-api-orders.php:449 #: includes/cli/class-wc-cli-order.php:122 msgid "Cannot create order: %s" msgstr "" -#: includes/api/class-wc-api-orders.php:488 -#: includes/api/v2/class-wc-api-orders.php:451 +#: includes/api/legacy/v2/class-wc-api-orders.php:451 +#: includes/api/legacy/v3/class-wc-api-orders.php:488 #: includes/cli/class-wc-cli-order.php:151 msgid "Payment method ID and title are required" msgstr "" -#: includes/api/class-wc-api-orders.php:504 -#: includes/api/class-wc-api-orders.php:654 -#: includes/api/v2/class-wc-api-orders.php:467 -#: includes/api/v2/class-wc-api-orders.php:617 +#: includes/api/legacy/v2/class-wc-api-orders.php:467 +#: includes/api/legacy/v2/class-wc-api-orders.php:617 +#: includes/api/legacy/v3/class-wc-api-orders.php:504 +#: includes/api/legacy/v3/class-wc-api-orders.php:654 #: includes/cli/class-wc-cli-order.php:166 #: includes/cli/class-wc-cli-order.php:521 msgid "Provided order currency is invalid" msgstr "" -#: includes/api/class-wc-api-orders.php:575 -#: includes/api/class-wc-api-orders.php:1633 -#: includes/api/v2/class-wc-api-orders.php:538 -#: includes/api/v2/class-wc-api-orders.php:1587 +#: includes/api/legacy/v2/class-wc-api-orders.php:538 +#: includes/api/legacy/v2/class-wc-api-orders.php:1587 +#: includes/api/legacy/v3/class-wc-api-orders.php:575 +#: includes/api/legacy/v3/class-wc-api-orders.php:1633 #: includes/cli/class-wc-cli-order.php:429 msgid "Order ID is invalid" msgstr "" -#: includes/api/class-wc-api-orders.php:615 -#: includes/api/v2/class-wc-api-orders.php:578 +#: includes/api/legacy/v2/class-wc-api-orders.php:578 +#: includes/api/legacy/v3/class-wc-api-orders.php:615 #: includes/cli/class-wc-cli-order.php:476 msgid "Order item ID is required" msgstr "" -#: includes/api/class-wc-api-orders.php:885 -#: includes/api/v2/class-wc-api-orders.php:842 +#: includes/api/legacy/v2/class-wc-api-orders.php:842 +#: includes/api/legacy/v3/class-wc-api-orders.php:885 #: includes/cli/class-wc-cli-order.php:891 msgid "Order item ID provided is not associated with order" msgstr "" -#: includes/api/class-wc-api-orders.php:908 -#: includes/api/v2/class-wc-api-orders.php:865 +#: includes/api/legacy/v2/class-wc-api-orders.php:865 +#: includes/api/legacy/v3/class-wc-api-orders.php:908 #: includes/cli/class-wc-cli-order.php:913 msgid "Product ID or SKU is required" msgstr "" -#: includes/api/class-wc-api-orders.php:918 -#: includes/api/v2/class-wc-api-orders.php:875 +#: includes/api/legacy/v2/class-wc-api-orders.php:875 +#: includes/api/legacy/v3/class-wc-api-orders.php:918 #: includes/cli/class-wc-cli-order.php:923 msgid "Product ID provided does not match this line item" msgstr "" -#: includes/api/class-wc-api-orders.php:933 -#: includes/api/v2/class-wc-api-orders.php:890 +#: includes/api/legacy/v2/class-wc-api-orders.php:890 +#: includes/api/legacy/v3/class-wc-api-orders.php:933 #: includes/cli/class-wc-cli-order.php:938 msgid "The product variation is invalid" msgstr "" -#: includes/api/class-wc-api-orders.php:944 -#: includes/api/v2/class-wc-api-orders.php:901 +#: includes/api/legacy/v2/class-wc-api-orders.php:901 +#: includes/api/legacy/v3/class-wc-api-orders.php:944 #: includes/cli/class-wc-cli-order.php:949 msgid "Product is invalid" msgstr "" -#: includes/api/class-wc-api-orders.php:949 -#: includes/api/v2/class-wc-api-orders.php:906 +#: includes/api/legacy/v2/class-wc-api-orders.php:906 +#: includes/api/legacy/v3/class-wc-api-orders.php:949 #: includes/cli/class-wc-cli-order.php:954 msgid "Product quantity must be a positive float" msgstr "" -#: includes/api/class-wc-api-orders.php:954 -#: includes/api/v2/class-wc-api-orders.php:911 +#: includes/api/legacy/v2/class-wc-api-orders.php:911 +#: includes/api/legacy/v3/class-wc-api-orders.php:954 #: includes/cli/class-wc-cli-order.php:959 msgid "Product quantity is required" msgstr "" -#: includes/api/class-wc-api-orders.php:989 -#: includes/api/v2/class-wc-api-orders.php:944 +#: includes/api/legacy/v2/class-wc-api-orders.php:944 +#: includes/api/legacy/v3/class-wc-api-orders.php:989 #: includes/cli/class-wc-cli-order.php:996 msgid "Cannot create line item, try again" msgstr "" -#: includes/api/class-wc-api-orders.php:997 -#: includes/api/v2/class-wc-api-orders.php:952 +#: includes/api/legacy/v2/class-wc-api-orders.php:952 +#: includes/api/legacy/v3/class-wc-api-orders.php:997 #: includes/cli/class-wc-cli-order.php:1004 msgid "Cannot update line item, try again" msgstr "" -#: includes/api/class-wc-api-orders.php:1066 -#: includes/api/v2/class-wc-api-orders.php:1020 +#: includes/api/legacy/v2/class-wc-api-orders.php:1020 +#: includes/api/legacy/v3/class-wc-api-orders.php:1066 #: includes/cli/class-wc-cli-order.php:1078 msgid "Shipping total must be a positive amount" msgstr "" -#: includes/api/class-wc-api-orders.php:1073 -#: includes/api/v2/class-wc-api-orders.php:1027 +#: includes/api/legacy/v2/class-wc-api-orders.php:1027 +#: includes/api/legacy/v3/class-wc-api-orders.php:1073 #: includes/cli/class-wc-cli-order.php:1085 msgid "Shipping method ID is required" msgstr "" -#: includes/api/class-wc-api-orders.php:1081 -#: includes/api/v2/class-wc-api-orders.php:1035 +#: includes/api/legacy/v2/class-wc-api-orders.php:1035 +#: includes/api/legacy/v3/class-wc-api-orders.php:1081 #: includes/cli/class-wc-cli-order.php:1093 msgid "Cannot create shipping method, try again" msgstr "" -#: includes/api/class-wc-api-orders.php:1103 -#: includes/api/v2/class-wc-api-orders.php:1057 +#: includes/api/legacy/v2/class-wc-api-orders.php:1057 +#: includes/api/legacy/v3/class-wc-api-orders.php:1103 #: includes/cli/class-wc-cli-order.php:1115 msgid "Cannot update shipping method, try again" msgstr "" -#: includes/api/class-wc-api-orders.php:1123 -#: includes/api/v2/class-wc-api-orders.php:1077 +#: includes/api/legacy/v2/class-wc-api-orders.php:1077 +#: includes/api/legacy/v3/class-wc-api-orders.php:1123 #: includes/cli/class-wc-cli-order.php:1135 msgid "Fee title is required" msgstr "" -#: includes/api/class-wc-api-orders.php:1139 -#: includes/api/v2/class-wc-api-orders.php:1093 +#: includes/api/legacy/v2/class-wc-api-orders.php:1093 +#: includes/api/legacy/v3/class-wc-api-orders.php:1139 #: includes/cli/class-wc-cli-order.php:1151 msgid "Fee tax class is required when fee is taxable" msgstr "" -#: includes/api/class-wc-api-orders.php:1158 -#: includes/api/v2/class-wc-api-orders.php:1112 +#: includes/api/legacy/v2/class-wc-api-orders.php:1112 +#: includes/api/legacy/v3/class-wc-api-orders.php:1158 #: includes/cli/class-wc-cli-order.php:1170 msgid "Cannot create fee, try again" msgstr "" -#: includes/api/class-wc-api-orders.php:1184 -#: includes/api/v2/class-wc-api-orders.php:1138 +#: includes/api/legacy/v2/class-wc-api-orders.php:1138 +#: includes/api/legacy/v3/class-wc-api-orders.php:1184 #: includes/cli/class-wc-cli-order.php:1196 msgid "Cannot update fee, try again" msgstr "" -#: includes/api/class-wc-api-orders.php:1202 -#: includes/api/v2/class-wc-api-orders.php:1156 +#: includes/api/legacy/v2/class-wc-api-orders.php:1156 +#: includes/api/legacy/v3/class-wc-api-orders.php:1202 #: includes/cli/class-wc-cli-order.php:1214 msgid "Coupon discount total must be a positive amount" msgstr "" -#: includes/api/class-wc-api-orders.php:1209 -#: includes/api/v2/class-wc-api-orders.php:1163 +#: includes/api/legacy/v2/class-wc-api-orders.php:1163 +#: includes/api/legacy/v3/class-wc-api-orders.php:1209 #: includes/cli/class-wc-cli-order.php:1221 msgid "Coupon code is required" msgstr "" -#: includes/api/class-wc-api-orders.php:1215 -#: includes/api/v2/class-wc-api-orders.php:1169 +#: includes/api/legacy/v2/class-wc-api-orders.php:1169 +#: includes/api/legacy/v3/class-wc-api-orders.php:1215 #: includes/cli/class-wc-cli-order.php:1227 msgid "Cannot create coupon, try again" msgstr "" -#: includes/api/class-wc-api-orders.php:1233 -#: includes/api/v2/class-wc-api-orders.php:1187 +#: includes/api/legacy/v2/class-wc-api-orders.php:1187 +#: includes/api/legacy/v3/class-wc-api-orders.php:1233 #: includes/cli/class-wc-cli-order.php:1245 msgid "Cannot update coupon, try again" msgstr "" -#: includes/api/class-wc-api-orders.php:1298 -#: includes/api/class-wc-api-orders.php:1406 -#: includes/api/class-wc-api-orders.php:1468 -#: includes/api/v2/class-wc-api-orders.php:1252 -#: includes/api/v2/class-wc-api-orders.php:1360 -#: includes/api/v2/class-wc-api-orders.php:1422 +#: includes/api/legacy/v2/class-wc-api-orders.php:1252 +#: includes/api/legacy/v2/class-wc-api-orders.php:1360 +#: includes/api/legacy/v2/class-wc-api-orders.php:1422 +#: includes/api/legacy/v3/class-wc-api-orders.php:1298 +#: includes/api/legacy/v3/class-wc-api-orders.php:1406 +#: includes/api/legacy/v3/class-wc-api-orders.php:1468 msgid "Invalid order note ID" msgstr "" -#: includes/api/class-wc-api-orders.php:1304 -#: includes/api/class-wc-api-orders.php:1413 -#: includes/api/class-wc-api-orders.php:1475 -#: includes/api/v2/class-wc-api-orders.php:1258 -#: includes/api/v2/class-wc-api-orders.php:1367 -#: includes/api/v2/class-wc-api-orders.php:1429 +#: includes/api/legacy/v2/class-wc-api-orders.php:1258 +#: includes/api/legacy/v2/class-wc-api-orders.php:1367 +#: includes/api/legacy/v2/class-wc-api-orders.php:1429 +#: includes/api/legacy/v3/class-wc-api-orders.php:1304 +#: includes/api/legacy/v3/class-wc-api-orders.php:1413 +#: includes/api/legacy/v3/class-wc-api-orders.php:1475 msgid "An order note with the provided ID could not be found" msgstr "" -#: includes/api/class-wc-api-orders.php:1338 -#: includes/api/v2/class-wc-api-orders.php:1292 +#: includes/api/legacy/v2/class-wc-api-orders.php:1292 +#: includes/api/legacy/v3/class-wc-api-orders.php:1338 msgid "You do not have permission to create order notes" msgstr "" -#: includes/api/class-wc-api-orders.php:1353 -#: includes/api/v2/class-wc-api-orders.php:1307 +#: includes/api/legacy/v2/class-wc-api-orders.php:1307 +#: includes/api/legacy/v3/class-wc-api-orders.php:1353 msgid "Order note is required" msgstr "" -#: includes/api/class-wc-api-orders.php:1362 -#: includes/api/v2/class-wc-api-orders.php:1316 +#: includes/api/legacy/v2/class-wc-api-orders.php:1316 +#: includes/api/legacy/v3/class-wc-api-orders.php:1362 msgid "Cannot create order note, please try again" msgstr "" -#: includes/api/class-wc-api-orders.php:1418 -#: includes/api/class-wc-api-orders.php:1480 -#: includes/api/v2/class-wc-api-orders.php:1372 -#: includes/api/v2/class-wc-api-orders.php:1434 +#: includes/api/legacy/v2/class-wc-api-orders.php:1372 +#: includes/api/legacy/v2/class-wc-api-orders.php:1434 +#: includes/api/legacy/v3/class-wc-api-orders.php:1418 +#: includes/api/legacy/v3/class-wc-api-orders.php:1480 msgid "The order note ID provided is not associated with the order" msgstr "" -#: includes/api/class-wc-api-orders.php:1487 -#: includes/api/v2/class-wc-api-orders.php:1441 +#: includes/api/legacy/v2/class-wc-api-orders.php:1441 +#: includes/api/legacy/v3/class-wc-api-orders.php:1487 msgid "This order note cannot be deleted" msgstr "" -#: includes/api/class-wc-api-orders.php:1492 -#: includes/api/v2/class-wc-api-orders.php:1446 +#: includes/api/legacy/v2/class-wc-api-orders.php:1446 +#: includes/api/legacy/v3/class-wc-api-orders.php:1492 msgid "Permanently deleted order note" msgstr "" -#: includes/api/class-wc-api-orders.php:1550 -#: includes/api/class-wc-api-orders.php:1713 -#: includes/api/class-wc-api-orders.php:1772 -#: includes/api/v2/class-wc-api-orders.php:1504 -#: includes/api/v2/class-wc-api-orders.php:1667 -#: includes/api/v2/class-wc-api-orders.php:1726 +#: includes/api/legacy/v2/class-wc-api-orders.php:1504 +#: includes/api/legacy/v2/class-wc-api-orders.php:1667 +#: includes/api/legacy/v2/class-wc-api-orders.php:1726 +#: includes/api/legacy/v3/class-wc-api-orders.php:1550 +#: includes/api/legacy/v3/class-wc-api-orders.php:1713 +#: includes/api/legacy/v3/class-wc-api-orders.php:1772 msgid "Invalid order refund ID" msgstr "" -#: includes/api/class-wc-api-orders.php:1557 -#: includes/api/class-wc-api-orders.php:1720 -#: includes/api/class-wc-api-orders.php:1779 -#: includes/api/v2/class-wc-api-orders.php:1511 -#: includes/api/v2/class-wc-api-orders.php:1674 -#: includes/api/v2/class-wc-api-orders.php:1733 +#: includes/api/legacy/v2/class-wc-api-orders.php:1511 +#: includes/api/legacy/v2/class-wc-api-orders.php:1674 +#: includes/api/legacy/v2/class-wc-api-orders.php:1733 +#: includes/api/legacy/v3/class-wc-api-orders.php:1557 +#: includes/api/legacy/v3/class-wc-api-orders.php:1720 +#: includes/api/legacy/v3/class-wc-api-orders.php:1779 msgid "An order refund with the provided ID could not be found" msgstr "" -#: includes/api/class-wc-api-orders.php:1627 -#: includes/api/v2/class-wc-api-orders.php:1581 +#: includes/api/legacy/v2/class-wc-api-orders.php:1581 +#: includes/api/legacy/v3/class-wc-api-orders.php:1627 msgid "You do not have permission to create order refunds" msgstr "" -#: includes/api/class-wc-api-orders.php:1640 -#: includes/api/v2/class-wc-api-orders.php:1594 +#: includes/api/legacy/v2/class-wc-api-orders.php:1594 +#: includes/api/legacy/v3/class-wc-api-orders.php:1640 msgid "Refund amount is required" msgstr "" -#: includes/api/class-wc-api-orders.php:1642 -#: includes/api/v2/class-wc-api-orders.php:1596 +#: includes/api/legacy/v2/class-wc-api-orders.php:1596 +#: includes/api/legacy/v3/class-wc-api-orders.php:1642 msgid "Refund amount must be positive" msgstr "" -#: includes/api/class-wc-api-orders.php:1652 -#: includes/api/v2/class-wc-api-orders.php:1606 +#: includes/api/legacy/v2/class-wc-api-orders.php:1606 +#: includes/api/legacy/v3/class-wc-api-orders.php:1652 msgid "Cannot create order refund, please try again" msgstr "" -#: includes/api/class-wc-api-orders.php:1669 -#: includes/api/v2/class-wc-api-orders.php:1623 +#: includes/api/legacy/v2/class-wc-api-orders.php:1623 +#: includes/api/legacy/v3/class-wc-api-orders.php:1669 msgid "" "An error occurred while attempting to create the refund using the payment " "gateway API" msgstr "" -#: includes/api/class-wc-api-orders.php:1725 -#: includes/api/class-wc-api-orders.php:1784 -#: includes/api/v2/class-wc-api-orders.php:1679 -#: includes/api/v2/class-wc-api-orders.php:1738 +#: includes/api/legacy/v2/class-wc-api-orders.php:1679 +#: includes/api/legacy/v2/class-wc-api-orders.php:1738 +#: includes/api/legacy/v3/class-wc-api-orders.php:1725 +#: includes/api/legacy/v3/class-wc-api-orders.php:1784 msgid "The order refund ID provided is not associated with the order" msgstr "" -#: includes/api/class-wc-api-products.php:228 -#: includes/api/v1/class-wc-api-products.php:143 -#: includes/api/v2/class-wc-api-products.php:183 -msgid "You do not have permission to read the products count" -msgstr "" - -#: includes/api/class-wc-api-products.php:262 -#: includes/api/v2/class-wc-api-products.php:217 +#: includes/api/legacy/v2/class-wc-api-products.php:217 +#: includes/api/legacy/v3/class-wc-api-products.php:262 msgid "You do not have permission to create products" msgstr "" -#: includes/api/class-wc-api-products.php:284 -#: includes/api/class-wc-api-products.php:409 -#: includes/api/v2/class-wc-api-products.php:239 -#: includes/api/v2/class-wc-api-products.php:358 +#: includes/api/legacy/v2/class-wc-api-products.php:239 +#: includes/api/legacy/v2/class-wc-api-products.php:358 +#: includes/api/legacy/v3/class-wc-api-products.php:284 +#: includes/api/legacy/v3/class-wc-api-products.php:413 #: includes/cli/class-wc-cli-product.php:166 #: includes/cli/class-wc-cli-product.php:641 msgid "Invalid product type - the product type must be any of these: %s" msgstr "" -#: includes/api/class-wc-api-products.php:465 -#: includes/api/class-wc-api-products.php:3131 -#: includes/api/class-wc-api-resource.php:377 -#: includes/api/v1/class-wc-api-resource.php:316 -#: includes/api/v2/class-wc-api-products.php:414 -#: includes/api/v2/class-wc-api-resource.php:378 -msgid "This %s cannot be deleted" -msgstr "" - -#: includes/api/class-wc-api-products.php:474 -#: includes/api/class-wc-api-resource.php:380 -#: includes/api/v1/class-wc-api-resource.php:319 -#: includes/api/v2/class-wc-api-products.php:423 -#: includes/api/v2/class-wc-api-resource.php:382 -msgid "Permanently deleted %s" -msgstr "" - -#: includes/api/class-wc-api-products.php:478 -#: includes/api/class-wc-api-products.php:818 -#: includes/api/class-wc-api-products.php:1006 -#: includes/api/class-wc-api-products.php:2870 -#: includes/api/class-wc-api-products.php:3138 -#: includes/api/class-wc-api-products.php:3444 -#: includes/api/class-wc-api-resource.php:386 -#: includes/api/class-wc-api-taxes.php:354 -#: includes/api/class-wc-api-taxes.php:665 -#: includes/api/v1/class-wc-api-resource.php:325 -#: includes/api/v2/class-wc-api-products.php:427 -#: includes/api/v2/class-wc-api-products.php:2290 -#: includes/api/v2/class-wc-api-resource.php:386 -msgid "Deleted %s" -msgstr "" - -#: includes/api/class-wc-api-products.php:568 -#: includes/api/class-wc-api-products.php:604 -#: includes/api/v2/class-wc-api-products.php:517 -#: includes/api/v2/class-wc-api-products.php:553 +#: includes/api/legacy/v2/class-wc-api-products.php:517 +#: includes/api/legacy/v2/class-wc-api-products.php:553 +#: includes/api/legacy/v3/class-wc-api-products.php:572 +#: includes/api/legacy/v3/class-wc-api-products.php:608 msgid "You do not have permission to read product categories" msgstr "" -#: includes/api/class-wc-api-products.php:599 -#: includes/api/v2/class-wc-api-products.php:548 +#: includes/api/legacy/v2/class-wc-api-products.php:548 +#: includes/api/legacy/v3/class-wc-api-products.php:603 msgid "Invalid product category ID" msgstr "" -#: includes/api/class-wc-api-products.php:610 -#: includes/api/v2/class-wc-api-products.php:559 +#: includes/api/legacy/v2/class-wc-api-products.php:559 +#: includes/api/legacy/v3/class-wc-api-products.php:614 msgid "A product category with the provided ID could not be found" msgstr "" -#: includes/api/class-wc-api-products.php:659 -msgid "You do not have permission to create product categories" -msgstr "" - -#: includes/api/class-wc-api-products.php:679 -msgid "Product category parent is invalid" -msgstr "" - -#: includes/api/class-wc-api-products.php:739 -msgid "You do not have permission to edit product categories" -msgstr "" - -#: includes/api/class-wc-api-products.php:769 -msgid "Could not edit the category" -msgstr "" - -#: includes/api/class-wc-api-products.php:802 -msgid "You do not have permission to delete product category" -msgstr "" - -#: includes/api/class-wc-api-products.php:808 -msgid "Could not delete the category" -msgstr "" - -#: includes/api/class-wc-api-products.php:835 -#: includes/api/class-wc-api-products.php:871 -msgid "You do not have permission to read product tags" -msgstr "" - -#: includes/api/class-wc-api-products.php:866 -msgid "Invalid product tag ID" -msgstr "" - -#: includes/api/class-wc-api-products.php:877 -msgid "A product tag with the provided ID could not be found" -msgstr "" - -#: includes/api/class-wc-api-products.php:912 -msgid "You do not have permission to create product tags" -msgstr "" - -#: includes/api/class-wc-api-products.php:960 -msgid "You do not have permission to edit product tags" -msgstr "" - -#: includes/api/class-wc-api-products.php:972 -msgid "Could not edit the tag" -msgstr "" - -#: includes/api/class-wc-api-products.php:995 -msgid "You do not have permission to delete product tag" -msgstr "" - -#: includes/api/class-wc-api-products.php:1001 -msgid "Could not delete the tag" -msgstr "" - -#: includes/api/class-wc-api-products.php:1334 -#: includes/api/class-wc-api-products.php:1781 -#: includes/api/v2/class-wc-api-products.php:853 -#: includes/api/v2/class-wc-api-products.php:1290 +#: includes/api/legacy/v2/class-wc-api-products.php:856 +#: includes/api/legacy/v2/class-wc-api-products.php:1293 +#: includes/api/legacy/v3/class-wc-api-products.php:1341 +#: includes/api/legacy/v3/class-wc-api-products.php:1788 #: includes/cli/class-wc-cli-product.php:1126 #: includes/cli/class-wc-cli-product.php:1585 msgid "The SKU already exists on another product" msgstr "" -#: includes/api/class-wc-api-products.php:2234 -#: includes/api/class-wc-api-products.php:2235 -#: includes/api/v1/class-wc-api-products.php:461 -#: includes/api/v1/class-wc-api-products.php:462 -#: includes/api/v2/class-wc-api-products.php:1716 -#: includes/api/v2/class-wc-api-products.php:1717 -#: includes/cli/class-wc-cli-product.php:914 -#: includes/cli/class-wc-cli-product.php:915 -#: includes/wc-product-functions.php:294 -#: templates/single-product/product-image.php:47 -msgid "Placeholder" -msgstr "" - -#: includes/api/class-wc-api-products.php:2345 -#: includes/api/v2/class-wc-api-products.php:1793 +#: includes/api/legacy/v2/class-wc-api-products.php:1796 +#: includes/api/legacy/v3/class-wc-api-products.php:2352 #: includes/cli/class-wc-cli-product.php:2012 msgid "Invalid URL %s" msgstr "" -#: includes/api/class-wc-api-products.php:2357 -#: includes/api/v2/class-wc-api-products.php:1805 +#: includes/api/legacy/v2/class-wc-api-products.php:1808 +#: includes/api/legacy/v3/class-wc-api-products.php:2364 #: includes/cli/class-wc-cli-product.php:2024 msgid "Error getting remote image %s" msgstr "" -#: includes/api/class-wc-api-products.php:2386 -#: includes/api/v2/class-wc-api-products.php:1834 +#: includes/api/legacy/v2/class-wc-api-products.php:1837 +#: includes/api/legacy/v3/class-wc-api-products.php:2393 #: includes/cli/class-wc-cli-product.php:2053 msgid "Zero size file downloaded" msgstr "" -#: includes/api/class-wc-api-products.php:2543 -#: includes/api/class-wc-api-products.php:2587 -#: includes/api/v2/class-wc-api-products.php:1966 -#: includes/api/v2/class-wc-api-products.php:2010 +#: includes/api/legacy/v2/class-wc-api-products.php:1969 +#: includes/api/legacy/v2/class-wc-api-products.php:2013 +#: includes/api/legacy/v3/class-wc-api-products.php:2550 +#: includes/api/legacy/v3/class-wc-api-products.php:2594 msgid "You do not have permission to read product attributes" msgstr "" -#: includes/api/class-wc-api-products.php:2582 -#: includes/api/class-wc-api-products.php:2950 -#: includes/api/v2/class-wc-api-products.php:2005 +#: includes/api/legacy/v2/class-wc-api-products.php:2008 +#: includes/api/legacy/v3/class-wc-api-products.php:2589 +#: includes/api/legacy/v3/class-wc-api-products.php:2957 msgid "Invalid product attribute ID" msgstr "" -#: includes/api/class-wc-api-products.php:2597 -#: includes/api/class-wc-api-products.php:2841 -#: includes/api/class-wc-api-products.php:2894 -#: includes/api/class-wc-api-products.php:2961 -#: includes/api/class-wc-api-products.php:3009 -#: includes/api/class-wc-api-products.php:3073 -#: includes/api/class-wc-api-products.php:3124 -#: includes/api/v2/class-wc-api-products.php:2020 -#: includes/api/v2/class-wc-api-products.php:2262 +#: includes/api/legacy/v2/class-wc-api-products.php:2023 +#: includes/api/legacy/v2/class-wc-api-products.php:2265 +#: includes/api/legacy/v3/class-wc-api-products.php:2604 +#: includes/api/legacy/v3/class-wc-api-products.php:2848 +#: includes/api/legacy/v3/class-wc-api-products.php:2901 +#: includes/api/legacy/v3/class-wc-api-products.php:2968 +#: includes/api/legacy/v3/class-wc-api-products.php:3016 +#: includes/api/legacy/v3/class-wc-api-products.php:3080 +#: includes/api/legacy/v3/class-wc-api-products.php:3131 msgid "A product attribute with the provided ID could not be found" msgstr "" -#: includes/api/class-wc-api-products.php:2642 -#: includes/api/v2/class-wc-api-products.php:2065 +#: includes/api/legacy/v2/class-wc-api-products.php:2068 +#: includes/api/legacy/v3/class-wc-api-products.php:2649 msgid "" "Invalid product attribute type - the product attribute type must be any of " "these: %s" msgstr "" -#: includes/api/class-wc-api-products.php:2647 -#: includes/api/v2/class-wc-api-products.php:2070 +#: includes/api/legacy/v2/class-wc-api-products.php:2073 +#: includes/api/legacy/v3/class-wc-api-products.php:2654 msgid "" "Invalid product attribute order_by type - the product attribute order_by " "type must be any of these: %s" msgstr "" -#: includes/api/class-wc-api-products.php:2672 -#: includes/api/class-wc-api-products.php:3003 -#: includes/api/v2/class-wc-api-products.php:2095 +#: includes/api/legacy/v2/class-wc-api-products.php:2098 +#: includes/api/legacy/v3/class-wc-api-products.php:2679 +#: includes/api/legacy/v3/class-wc-api-products.php:3010 msgid "You do not have permission to create product attributes" msgstr "" -#: includes/api/class-wc-api-products.php:2755 -#: includes/api/class-wc-api-products.php:3067 -#: includes/api/v2/class-wc-api-products.php:2177 +#: includes/api/legacy/v2/class-wc-api-products.php:2180 +#: includes/api/legacy/v3/class-wc-api-products.php:2762 +#: includes/api/legacy/v3/class-wc-api-products.php:3074 msgid "You do not have permission to edit product attributes" msgstr "" -#: includes/api/class-wc-api-products.php:2801 -#: includes/api/v2/class-wc-api-products.php:2223 -msgid "Could not edit the attribute" -msgstr "" - -#: includes/api/class-wc-api-products.php:2829 -#: includes/api/v2/class-wc-api-products.php:2250 +#: includes/api/legacy/v2/class-wc-api-products.php:2253 +#: includes/api/legacy/v3/class-wc-api-products.php:2836 msgid "You do not have permission to delete product attributes" msgstr "" -#: includes/api/class-wc-api-products.php:2851 -#: includes/api/v2/class-wc-api-products.php:2272 +#: includes/api/legacy/v2/class-wc-api-products.php:2275 +#: includes/api/legacy/v3/class-wc-api-products.php:2858 msgid "Could not delete the attribute" msgstr "" -#: includes/api/class-wc-api-products.php:2888 -#: includes/api/class-wc-api-products.php:2955 -msgid "You do not have permission to read product attribute terms" +#: includes/api/legacy/v2/class-wc-api-products.php:2314 +msgid "Invalid product SKU" msgstr "" -#: includes/api/class-wc-api-products.php:2967 -msgid "A product attribute term with the provided ID could not be found" -msgstr "" - -#: includes/api/class-wc-api-products.php:3118 -msgid "You do not have permission to delete product attribute terms" -msgstr "" - -#: includes/api/class-wc-api-products.php:3256 -#: includes/api/class-wc-api-products.php:3291 -msgid "You do not have permission to read product shipping classes" -msgstr "" - -#: includes/api/class-wc-api-products.php:3286 -msgid "Invalid product shipping class ID" -msgstr "" - -#: includes/api/class-wc-api-products.php:3297 -msgid "A product shipping class with the provided ID could not be found" -msgstr "" - -#: includes/api/class-wc-api-products.php:3335 -msgid "You do not have permission to create product shipping classes" -msgstr "" - -#: includes/api/class-wc-api-products.php:3353 -msgid "Product shipping class parent is invalid" -msgstr "" - -#: includes/api/class-wc-api-products.php:3396 -msgid "You do not have permission to edit product shipping classes" -msgstr "" - -#: includes/api/class-wc-api-products.php:3408 -msgid "Could not edit the shipping class" -msgstr "" - -#: includes/api/class-wc-api-products.php:3433 -msgid "You do not have permission to delete product shipping classes" -msgstr "" - -#: includes/api/class-wc-api-products.php:3439 -msgid "Could not delete the shipping class" -msgstr "" - -#: includes/api/class-wc-api-reports.php:321 -#: includes/api/v1/class-wc-api-reports.php:471 -#: includes/api/v2/class-wc-api-reports.php:321 -msgid "You do not have permission to read this report" -msgstr "" - -#: includes/api/class-wc-api-resource.php:85 -#: includes/api/v1/class-wc-api-resource.php:74 -#: includes/api/v2/class-wc-api-resource.php:85 -msgid "Invalid %s ID" -msgstr "" - -#: includes/api/class-wc-api-resource.php:94 -#: includes/api/v2/class-wc-api-resource.php:94 +#: includes/api/legacy/v2/class-wc-api-resource.php:94 +#: includes/api/legacy/v3/class-wc-api-resource.php:94 msgid "No %s found with the ID equal to %s" msgstr "" -#: includes/api/class-wc-api-resource.php:102 -#: includes/api/v1/class-wc-api-resource.php:86 -#: includes/api/v2/class-wc-api-resource.php:102 -msgid "Invalid %s" +#: includes/api/legacy/v2/class-wc-api-webhooks.php:143 +#: includes/api/legacy/v3/class-wc-api-webhooks.php:143 +msgid "You do not have permission to read the webhooks count" msgstr "" -#: includes/api/class-wc-api-resource.php:110 -#: includes/api/v1/class-wc-api-resource.php:93 -#: includes/api/v2/class-wc-api-resource.php:110 -msgid "You do not have permission to read this %s" +#: includes/api/legacy/v2/class-wc-api-webhooks.php:176 +#: includes/api/legacy/v3/class-wc-api-webhooks.php:176 +msgid "You do not have permission to create webhooks" msgstr "" -#: includes/api/class-wc-api-resource.php:115 -#: includes/api/v1/class-wc-api-resource.php:98 -#: includes/api/v2/class-wc-api-resource.php:115 -msgid "You do not have permission to edit this %s" +#: includes/api/legacy/v2/class-wc-api-webhooks.php:183 +#: includes/api/legacy/v3/class-wc-api-webhooks.php:183 +msgid "Webhook topic is required and must be valid" msgstr "" -#: includes/api/class-wc-api-resource.php:120 -#: includes/api/v1/class-wc-api-resource.php:103 -#: includes/api/v2/class-wc-api-resource.php:120 -msgid "You do not have permission to delete this %s" +#: includes/api/legacy/v2/class-wc-api-webhooks.php:188 +#: includes/api/legacy/v2/class-wc-api-webhooks.php:279 +#: includes/api/legacy/v3/class-wc-api-webhooks.php:188 +#: includes/api/legacy/v3/class-wc-api-webhooks.php:279 +msgid "Webhook delivery URL must be a valid URL starting with http:// or https://" msgstr "" -#: includes/api/class-wc-api-resource.php:366 -#: includes/api/v1/class-wc-api-resource.php:305 -#: includes/api/v2/class-wc-api-resource.php:366 -msgid "Permanently deleted customer" +#: includes/api/legacy/v2/class-wc-api-webhooks.php:203 +#: includes/api/legacy/v3/class-wc-api-webhooks.php:203 +msgid "Cannot create webhook: %s" msgstr "" -#: includes/api/class-wc-api-resource.php:368 -#: includes/api/v1/class-wc-api-resource.php:307 -#: includes/api/v2/class-wc-api-resource.php:368 -msgid "The customer cannot be deleted" +#: includes/api/legacy/v2/class-wc-api-webhooks.php:268 +#: includes/api/legacy/v3/class-wc-api-webhooks.php:268 +msgid "Webhook topic must be valid" msgstr "" -#: includes/api/class-wc-api-server.php:164 -#: includes/api/v1/class-wc-api-server.php:170 -#: includes/api/v2/class-wc-api-server.php:164 -msgid "Invalid authentication method" +#: includes/api/legacy/v2/class-wc-api-webhooks.php:437 +#: includes/api/legacy/v3/class-wc-api-webhooks.php:440 +msgid "Invalid webhook delivery ID" msgstr "" -#: includes/api/class-wc-api-server.php:318 -#: includes/api/v1/class-wc-api-server.php:321 -#: includes/api/v2/class-wc-api-server.php:318 -msgid "Unsupported request method" +#: includes/api/legacy/v2/class-wc-api-webhooks.php:445 +#: includes/api/legacy/v3/class-wc-api-webhooks.php:448 +msgid "Invalid webhook delivery" msgstr "" -#: includes/api/class-wc-api-server.php:337 -#: includes/api/v1/class-wc-api-server.php:338 -#: includes/api/v2/class-wc-api-server.php:337 -msgid "The handler for the route is invalid" +#: includes/api/legacy/v3/class-wc-api-authentication.php:112 +msgid "" +"WooCommerce API. Use a consumer key in the username field and a consumer " +"secret in the password field" msgstr "" -#: includes/api/class-wc-api-server.php:374 -#: includes/api/v1/class-wc-api-server.php:374 -#: includes/api/v2/class-wc-api-server.php:374 -msgid "No route was found matching the URL and request method" +#: includes/api/legacy/v3/class-wc-api-products.php:663 +msgid "You do not have permission to create product categories" msgstr "" -#: includes/api/class-wc-api-taxes.php:128 +#: includes/api/legacy/v3/class-wc-api-products.php:683 +msgid "Product category parent is invalid" +msgstr "" + +#: includes/api/legacy/v3/class-wc-api-products.php:743 +msgid "You do not have permission to edit product categories" +msgstr "" + +#: includes/api/legacy/v3/class-wc-api-products.php:773 +msgid "Could not edit the category" +msgstr "" + +#: includes/api/legacy/v3/class-wc-api-products.php:806 +msgid "You do not have permission to delete product category" +msgstr "" + +#: includes/api/legacy/v3/class-wc-api-products.php:812 +msgid "Could not delete the category" +msgstr "" + +#: includes/api/legacy/v3/class-wc-api-products.php:839 +#: includes/api/legacy/v3/class-wc-api-products.php:875 +msgid "You do not have permission to read product tags" +msgstr "" + +#: includes/api/legacy/v3/class-wc-api-products.php:870 +msgid "Invalid product tag ID" +msgstr "" + +#: includes/api/legacy/v3/class-wc-api-products.php:881 +msgid "A product tag with the provided ID could not be found" +msgstr "" + +#: includes/api/legacy/v3/class-wc-api-products.php:916 +msgid "You do not have permission to create product tags" +msgstr "" + +#: includes/api/legacy/v3/class-wc-api-products.php:964 +msgid "You do not have permission to edit product tags" +msgstr "" + +#: includes/api/legacy/v3/class-wc-api-products.php:976 +msgid "Could not edit the tag" +msgstr "" + +#: includes/api/legacy/v3/class-wc-api-products.php:999 +msgid "You do not have permission to delete product tag" +msgstr "" + +#: includes/api/legacy/v3/class-wc-api-products.php:1005 +msgid "Could not delete the tag" +msgstr "" + +#: includes/api/legacy/v3/class-wc-api-products.php:2895 +#: includes/api/legacy/v3/class-wc-api-products.php:2962 +msgid "You do not have permission to read product attribute terms" +msgstr "" + +#: includes/api/legacy/v3/class-wc-api-products.php:2974 +msgid "A product attribute term with the provided ID could not be found" +msgstr "" + +#: includes/api/legacy/v3/class-wc-api-products.php:3125 +msgid "You do not have permission to delete product attribute terms" +msgstr "" + +#: includes/api/legacy/v3/class-wc-api-products.php:3263 +#: includes/api/legacy/v3/class-wc-api-products.php:3298 +msgid "You do not have permission to read product shipping classes" +msgstr "" + +#: includes/api/legacy/v3/class-wc-api-products.php:3293 +msgid "Invalid product shipping class ID" +msgstr "" + +#: includes/api/legacy/v3/class-wc-api-products.php:3304 +msgid "A product shipping class with the provided ID could not be found" +msgstr "" + +#: includes/api/legacy/v3/class-wc-api-products.php:3342 +msgid "You do not have permission to create product shipping classes" +msgstr "" + +#: includes/api/legacy/v3/class-wc-api-products.php:3360 +msgid "Product shipping class parent is invalid" +msgstr "" + +#: includes/api/legacy/v3/class-wc-api-products.php:3403 +msgid "You do not have permission to edit product shipping classes" +msgstr "" + +#: includes/api/legacy/v3/class-wc-api-products.php:3415 +msgid "Could not edit the shipping class" +msgstr "" + +#: includes/api/legacy/v3/class-wc-api-products.php:3440 +msgid "You do not have permission to delete product shipping classes" +msgstr "" + +#: includes/api/legacy/v3/class-wc-api-products.php:3446 +msgid "Could not delete the shipping class" +msgstr "" + +#: includes/api/legacy/v3/class-wc-api-taxes.php:128 msgid "You do not have permission to read tax rate" msgstr "" -#: includes/api/class-wc-api-taxes.php:135 +#: includes/api/legacy/v3/class-wc-api-taxes.php:135 msgid "A tax rate with the provided ID could not be found" msgstr "" -#: includes/api/class-wc-api-taxes.php:189 +#: includes/api/legacy/v3/class-wc-api-taxes.php:189 msgid "You do not have permission to create tax rates" msgstr "" -#: includes/api/class-wc-api-taxes.php:259 +#: includes/api/legacy/v3/class-wc-api-taxes.php:259 msgid "You do not have permission to edit tax rates" msgstr "" -#: includes/api/class-wc-api-taxes.php:343 +#: includes/api/legacy/v3/class-wc-api-taxes.php:343 msgid "You do not have permission to delete tax rates" msgstr "" -#: includes/api/class-wc-api-taxes.php:351 +#: includes/api/legacy/v3/class-wc-api-taxes.php:351 msgid "Could not delete the tax rate" msgstr "" -#: includes/api/class-wc-api-taxes.php:373 +#: includes/api/legacy/v3/class-wc-api-taxes.php:373 msgid "You do not have permission to read the taxes count" msgstr "" -#: includes/api/class-wc-api-taxes.php:526 +#: includes/api/legacy/v3/class-wc-api-taxes.php:526 msgid "You do not have permission to read tax classes" msgstr "" -#: includes/api/class-wc-api-taxes.php:534 -#: includes/cli/class-wc-cli-tax.php:434 -msgid "Standard Rate" -msgstr "" - -#: includes/api/class-wc-api-taxes.php:569 +#: includes/api/legacy/v3/class-wc-api-taxes.php:569 msgid "You do not have permission to create tax classes" msgstr "" -#: includes/api/class-wc-api-taxes.php:593 +#: includes/api/legacy/v3/class-wc-api-taxes.php:593 #: includes/cli/class-wc-cli-tax.php:148 msgid "Tax class already exists" msgstr "" -#: includes/api/class-wc-api-taxes.php:631 +#: includes/api/legacy/v3/class-wc-api-taxes.php:631 msgid "You do not have permission to delete tax classes" msgstr "" -#: includes/api/class-wc-api-taxes.php:647 +#: includes/api/legacy/v3/class-wc-api-taxes.php:647 msgid "Could not delete the tax class" msgstr "" -#: includes/api/class-wc-api-taxes.php:681 +#: includes/api/legacy/v3/class-wc-api-taxes.php:681 msgid "You do not have permission to read the tax classes count" msgstr "" -#: includes/api/class-wc-api-webhooks.php:143 -#: includes/api/v2/class-wc-api-webhooks.php:143 -msgid "You do not have permission to read the webhooks count" -msgstr "" - -#: includes/api/class-wc-api-webhooks.php:176 -#: includes/api/v2/class-wc-api-webhooks.php:176 -msgid "You do not have permission to create webhooks" -msgstr "" - -#: includes/api/class-wc-api-webhooks.php:183 -#: includes/api/v2/class-wc-api-webhooks.php:183 -msgid "Webhook topic is required and must be valid" -msgstr "" - -#: includes/api/class-wc-api-webhooks.php:188 -#: includes/api/class-wc-api-webhooks.php:279 -#: includes/api/v2/class-wc-api-webhooks.php:188 -#: includes/api/v2/class-wc-api-webhooks.php:279 -msgid "Webhook delivery URL must be a valid URL starting with http:// or https://" -msgstr "" - -#: includes/api/class-wc-api-webhooks.php:203 -#: includes/api/v2/class-wc-api-webhooks.php:203 -msgid "Cannot create webhook: %s" -msgstr "" - -#: includes/api/class-wc-api-webhooks.php:268 -#: includes/api/v2/class-wc-api-webhooks.php:268 -msgid "Webhook topic must be valid" -msgstr "" - -#: includes/api/class-wc-api-webhooks.php:440 -#: includes/api/v2/class-wc-api-webhooks.php:437 -msgid "Invalid webhook delivery ID" -msgstr "" - -#: includes/api/class-wc-api-webhooks.php:448 -#: includes/api/v2/class-wc-api-webhooks.php:445 -msgid "Invalid webhook delivery" -msgstr "" - -#: includes/api/v1/class-wc-api-authentication.php:93 -#: includes/api/v2/class-wc-api-authentication.php:93 -msgid "Consumer Key is missing" -msgstr "" - -#: includes/api/v1/class-wc-api-authentication.php:109 -#: includes/api/v2/class-wc-api-authentication.php:109 -msgid "Consumer Secret is missing" -msgstr "" - -#: includes/api/v2/class-wc-api-products.php:2311 -msgid "Invalid product SKU" -msgstr "" - #: includes/class-wc-ajax.php:217 msgid "Sorry there was a problem removing this coupon." msgstr "" @@ -13381,6 +15317,10 @@ msgstr "" msgid "Return to homepage" msgstr "" +#: includes/class-wc-ajax.php:1381 +msgid "Item %s stock reduced from %s to %s." +msgstr "" + #: includes/class-wc-ajax.php:1389 msgid "" "No products had their stock reduced - they may not have stock management " @@ -13439,10 +15379,6 @@ msgstr "" msgid "Dismiss this notice." msgstr "" -#: includes/class-wc-ajax.php:3318 -msgid "Shipping Class name is required" -msgstr "" - #: includes/class-wc-auth.php:100 msgid "View coupons" msgstr "" @@ -13495,41 +15431,41 @@ msgstr "" msgid "View and manage products" msgstr "" -#: includes/class-wc-auth.php:166 +#: includes/class-wc-auth.php:181 msgid "Invalid scope %s" msgstr "" -#: includes/class-wc-auth.php:171 +#: includes/class-wc-auth.php:188 msgid "The %s is not a valid URL" msgstr "" -#: includes/class-wc-auth.php:176 +#: includes/class-wc-auth.php:195 msgid "The callback_url need to be over SSL" msgstr "" -#: includes/class-wc-auth.php:194 +#: includes/class-wc-auth.php:213 msgid "%s - API %s (created on %s at %s)." msgstr "" -#: includes/class-wc-auth.php:256 +#: includes/class-wc-auth.php:275 msgid "" "An error occurred in the request and at the time were unable to send the " "consumer data" msgstr "" -#: includes/class-wc-auth.php:298 +#: includes/class-wc-auth.php:317 msgid "API disabled!" msgstr "" -#: includes/class-wc-auth.php:340 +#: includes/class-wc-auth.php:359 msgid "Invalid nonce verification" msgstr "" -#: includes/class-wc-auth.php:351 +#: includes/class-wc-auth.php:370 msgid "You do not have permissions to access this page!" msgstr "" -#: includes/class-wc-auth.php:356 +#: includes/class-wc-auth.php:375 msgid "Access Denied" msgstr "" @@ -13676,23 +15612,23 @@ msgstr "" msgid "You must accept our Terms & Conditions." msgstr "" -#: includes/class-wc-checkout.php:568 +#: includes/class-wc-checkout.php:569 msgid "Please enter an address to continue." msgstr "" -#: includes/class-wc-checkout.php:570 +#: includes/class-wc-checkout.php:571 msgid "" "Unfortunately we do not ship %s. Please enter an " "alternative shipping address." msgstr "" -#: includes/class-wc-checkout.php:579 +#: includes/class-wc-checkout.php:580 msgid "" "No shipping method has been selected. Please double check your address, or " "contact us if you need any help." msgstr "" -#: includes/class-wc-checkout.php:591 includes/class-wc-form-handler.php:307 +#: includes/class-wc-checkout.php:592 includes/class-wc-form-handler.php:307 msgid "Invalid payment method." msgstr "" @@ -13700,105 +15636,105 @@ msgstr "" msgid "Please rate the product." msgstr "" -#: includes/class-wc-countries.php:301 +#: includes/class-wc-countries.php:315 msgid "to the" msgstr "" -#: includes/class-wc-countries.php:301 +#: includes/class-wc-countries.php:315 msgid "to" msgstr "" -#: includes/class-wc-countries.php:313 +#: includes/class-wc-countries.php:327 msgid "the" msgstr "" -#: includes/class-wc-countries.php:323 +#: includes/class-wc-countries.php:337 msgid "VAT" msgstr "" -#: includes/class-wc-countries.php:333 +#: includes/class-wc-countries.php:347 msgid "(incl. VAT)" msgstr "" -#: includes/class-wc-countries.php:333 +#: includes/class-wc-countries.php:347 msgid "(incl. tax)" msgstr "" -#: includes/class-wc-countries.php:343 +#: includes/class-wc-countries.php:357 msgid "(ex. VAT)" msgstr "" -#: includes/class-wc-countries.php:343 +#: includes/class-wc-countries.php:357 msgid "(ex. tax)" msgstr "" -#: includes/class-wc-countries.php:539 +#: includes/class-wc-countries.php:553 msgid "Company Name" msgstr "" -#: includes/class-wc-countries.php:564 +#: includes/class-wc-countries.php:578 msgid "Town / City" msgstr "" -#: includes/class-wc-countries.php:571 +#: includes/class-wc-countries.php:585 msgid "State / County" msgstr "" -#: includes/class-wc-countries.php:578 +#: includes/class-wc-countries.php:592 #: templates/cart/shipping-calculator.php:91 msgid "Postcode / ZIP" msgstr "" -#: includes/class-wc-countries.php:634 +#: includes/class-wc-countries.php:648 msgid "Suburb" msgstr "" -#: includes/class-wc-countries.php:654 +#: includes/class-wc-countries.php:668 msgid "District" msgstr "" -#: includes/class-wc-countries.php:661 includes/class-wc-countries.php:683 -#: includes/class-wc-countries.php:706 includes/class-wc-countries.php:767 -#: includes/class-wc-countries.php:792 includes/class-wc-countries.php:809 -#: includes/class-wc-countries.php:871 includes/class-wc-countries.php:895 -#: includes/class-wc-countries.php:937 +#: includes/class-wc-countries.php:675 includes/class-wc-countries.php:697 +#: includes/class-wc-countries.php:720 includes/class-wc-countries.php:781 +#: includes/class-wc-countries.php:806 includes/class-wc-countries.php:823 +#: includes/class-wc-countries.php:885 includes/class-wc-countries.php:909 +#: includes/class-wc-countries.php:951 msgid "Province" msgstr "" -#: includes/class-wc-countries.php:689 +#: includes/class-wc-countries.php:703 msgid "Canton" msgstr "" -#: includes/class-wc-countries.php:701 includes/class-wc-countries.php:757 -#: includes/class-wc-countries.php:818 +#: includes/class-wc-countries.php:715 includes/class-wc-countries.php:771 +#: includes/class-wc-countries.php:832 msgid "Region" msgstr "" -#: includes/class-wc-countries.php:754 +#: includes/class-wc-countries.php:768 msgid "Town / District" msgstr "" -#: includes/class-wc-countries.php:762 includes/class-wc-countries.php:911 +#: includes/class-wc-countries.php:776 includes/class-wc-countries.php:925 msgid "County" msgstr "" -#: includes/class-wc-countries.php:797 +#: includes/class-wc-countries.php:811 msgid "Prefecture" msgstr "" -#: includes/class-wc-countries.php:829 +#: includes/class-wc-countries.php:843 msgid "State / Zone" msgstr "" -#: includes/class-wc-countries.php:877 +#: includes/class-wc-countries.php:891 msgid "Municipality" msgstr "" -#: includes/class-wc-countries.php:900 +#: includes/class-wc-countries.php:914 msgid "ZIP" msgstr "" -#: includes/class-wc-countries.php:994 +#: includes/class-wc-countries.php:1008 msgid "Email Address" msgstr "" @@ -13884,49 +15820,43 @@ msgstr "" msgid "Invalid download link." msgstr "" -#: includes/class-wc-download-handler.php:98 -#: includes/class-wc-form-handler.php:582 +#: includes/class-wc-download-handler.php:100 +#: includes/class-wc-form-handler.php:584 #: includes/shortcodes/class-wc-shortcode-checkout.php:176 #: includes/shortcodes/class-wc-shortcode-my-account.php:94 msgid "Invalid order." msgstr "" -#: includes/class-wc-download-handler.php:109 +#: includes/class-wc-download-handler.php:111 msgid "Sorry, you have reached your download limit for this file" msgstr "" -#: includes/class-wc-download-handler.php:120 +#: includes/class-wc-download-handler.php:122 msgid "Sorry, this download has expired" msgstr "" -#: includes/class-wc-download-handler.php:133 -#: includes/class-wc-download-handler.php:136 +#: includes/class-wc-download-handler.php:135 +#: includes/class-wc-download-handler.php:138 msgid "You must be logged in to download files." msgstr "" -#: includes/class-wc-download-handler.php:136 templates/auth/form-login.php:44 -#: templates/global/form-login.php:48 templates/myaccount/form-login.php:37 -#: templates/myaccount/form-login.php:56 -msgid "Login" -msgstr "" - -#: includes/class-wc-download-handler.php:136 +#: includes/class-wc-download-handler.php:138 msgid "Log in to Download Files" msgstr "" -#: includes/class-wc-download-handler.php:139 +#: includes/class-wc-download-handler.php:141 msgid "This is not your download link." msgstr "" -#: includes/class-wc-download-handler.php:172 +#: includes/class-wc-download-handler.php:174 msgid "No file defined" msgstr "" -#: includes/class-wc-download-handler.php:282 +#: includes/class-wc-download-handler.php:284 msgid "File not found" msgstr "" -#: includes/class-wc-download-handler.php:420 +#: includes/class-wc-download-handler.php:422 msgid "Go to homepage" msgstr "" @@ -13963,7 +15893,7 @@ msgid "Product Backorder" msgstr "" #: includes/class-wc-emails.php:555 -msgid "%s units of %s have been backordered in order #%s." +msgid "%1$s units of %2$s have been backordered in order #%3$s." msgstr "" #: includes/class-wc-embed.php:98 @@ -13971,7 +15901,7 @@ msgid "Buy Now" msgstr "" #: includes/class-wc-embed.php:101 includes/class-wc-product-simple.php:48 -#: includes/class-wc-product-variation.php:198 +#: includes/class-wc-product-variation.php:207 msgid "Read More" msgstr "" @@ -13989,7 +15919,7 @@ msgstr "" msgid "Email address" msgstr "" -#: includes/class-wc-form-handler.php:191 includes/wc-user-functions.php:48 +#: includes/class-wc-form-handler.php:191 includes/wc-user-functions.php:49 msgid "Please provide a valid email address." msgstr "" @@ -14025,91 +15955,88 @@ msgstr "" msgid "Payment method added." msgstr "" -#: includes/class-wc-form-handler.php:410 -msgid "%s removed. %sUndo?%s" -msgstr "" - +#: includes/class-wc-form-handler.php:409 #: includes/class-wc-form-handler.php:412 msgid "%s removed." msgstr "" -#: includes/class-wc-form-handler.php:459 +#: includes/class-wc-form-handler.php:410 +msgid "Undo?" +msgstr "" + +#: includes/class-wc-form-handler.php:461 msgid "You can only have 1 %s in your cart." msgstr "" -#: includes/class-wc-form-handler.php:483 +#: includes/class-wc-form-handler.php:485 msgid "Cart updated." msgstr "" -#: includes/class-wc-form-handler.php:549 +#: includes/class-wc-form-handler.php:551 msgid "The cart has been filled with the items from your previous order." msgstr "" -#: includes/class-wc-form-handler.php:572 +#: includes/class-wc-form-handler.php:574 msgid "Order cancelled by customer." msgstr "" -#: includes/class-wc-form-handler.php:575 +#: includes/class-wc-form-handler.php:577 msgid "Your order was cancelled." msgstr "" -#: includes/class-wc-form-handler.php:580 +#: includes/class-wc-form-handler.php:582 msgid "" "Your order can no longer be cancelled. Please contact us if you need " "assistance." msgstr "" -#: includes/class-wc-form-handler.php:690 +#: includes/class-wc-form-handler.php:692 msgid "Please choose the quantity of items you wish to add to your cart…" msgstr "" -#: includes/class-wc-form-handler.php:698 +#: includes/class-wc-form-handler.php:700 msgid "Please choose a product to add to your cart…" msgstr "" -#: includes/class-wc-form-handler.php:751 +#: includes/class-wc-form-handler.php:759 msgid "%s is a required field" msgid_plural "%s are required fields" msgstr[0] "" msgstr[1] "" -#: includes/class-wc-form-handler.php:753 +#: includes/class-wc-form-handler.php:761 msgid "Please choose product options…" msgstr "" -#: includes/class-wc-form-handler.php:780 -#: includes/class-wc-form-handler.php:784 #: includes/class-wc-form-handler.php:788 -#: includes/class-wc-form-handler.php:797 -#: includes/class-wc-form-handler.php:928 +#: includes/class-wc-form-handler.php:792 +#: includes/class-wc-form-handler.php:796 +#: includes/class-wc-form-handler.php:805 +#: includes/class-wc-form-handler.php:937 msgid "Error" msgstr "" -#: includes/class-wc-form-handler.php:784 +#: includes/class-wc-form-handler.php:792 msgid "Username is required." msgstr "" -#: includes/class-wc-form-handler.php:788 +#: includes/class-wc-form-handler.php:796 msgid "Password is required." msgstr "" -#: includes/class-wc-form-handler.php:797 +#: includes/class-wc-form-handler.php:805 msgid "A user could not be found with this email address." msgstr "" -#: includes/class-wc-form-handler.php:824 -msgid "You are now logged in as %s" -msgstr "" - -#: includes/class-wc-form-handler.php:868 +#: includes/class-wc-form-handler.php:877 msgid "Please enter your password." msgstr "" -#: includes/class-wc-form-handler.php:872 +#: includes/class-wc-form-handler.php:881 msgid "Passwords do not match." msgstr "" -#: includes/class-wc-form-handler.php:911 +#: includes/class-wc-form-handler.php:920 msgid "Anti-spam field was filled in." msgstr "" @@ -14122,7 +16049,7 @@ msgid "Error processing checkout. Please try again." msgstr "" #: includes/class-wc-frontend-scripts.php:289 -#: includes/wc-template-functions.php:1772 +#: includes/wc-template-functions.php:1776 msgid "required" msgstr "" @@ -14152,48 +16079,54 @@ msgid "" "& )." msgstr "" -#: includes/class-wc-install.php:77 -msgid "" -"WooCommerce data update complete. Thank you for updating to the latest " -"version!" -msgstr "" - -#: includes/class-wc-install.php:204 +#: includes/class-wc-install.php:257 msgid "Monthly" msgstr "" -#: includes/class-wc-install.php:552 +#: includes/class-wc-install.php:606 msgid "Shop Manager" msgstr "" -#: includes/class-wc-install.php:776 +#: includes/class-wc-install.php:833 msgid "View WooCommerce Settings" msgstr "" -#: includes/class-wc-install.php:792 +#: includes/class-wc-install.php:849 msgid "View WooCommerce Documentation" msgstr "" -#: includes/class-wc-install.php:792 +#: includes/class-wc-install.php:849 msgid "Docs" msgstr "" -#: includes/class-wc-install.php:793 +#: includes/class-wc-install.php:850 msgid "View WooCommerce API Docs" msgstr "" -#: includes/class-wc-install.php:793 +#: includes/class-wc-install.php:850 msgid "API Docs" msgstr "" -#: includes/class-wc-install.php:794 +#: includes/class-wc-install.php:851 msgid "Visit Premium Customer Support Forum" msgstr "" -#: includes/class-wc-install.php:794 +#: includes/class-wc-install.php:851 msgid "Premium Support" msgstr "" +#: includes/class-wc-install.php:986 +msgid "" +"%1$s could not be installed (%2$s). %3$sPlease install it manually by " +"clicking here.%4$s" +msgstr "" + +#: includes/class-wc-install.php:1014 +msgid "" +"%1$s was installed but could not be activated. %2$sPlease activate it " +"manually by clicking here.%3$s" +msgstr "" + #: includes/class-wc-order.php:46 includes/wc-cart-functions.php:281 msgid "(includes %s)" msgstr "" @@ -14579,43 +16512,43 @@ msgstr "" msgid "Parent Webhook" msgstr "" -#: includes/class-wc-post-types.php:444 +#: includes/class-wc-post-types.php:447 msgid "Pending Payment (%s)" msgid_plural "Pending Payment (%s)" msgstr[0] "" msgstr[1] "" -#: includes/class-wc-post-types.php:452 +#: includes/class-wc-post-types.php:455 msgid "Processing (%s)" msgid_plural "Processing (%s)" msgstr[0] "" msgstr[1] "" -#: includes/class-wc-post-types.php:460 +#: includes/class-wc-post-types.php:463 msgid "On Hold (%s)" msgid_plural "On Hold (%s)" msgstr[0] "" msgstr[1] "" -#: includes/class-wc-post-types.php:468 +#: includes/class-wc-post-types.php:471 msgid "Completed (%s)" msgid_plural "Completed (%s)" msgstr[0] "" msgstr[1] "" -#: includes/class-wc-post-types.php:476 +#: includes/class-wc-post-types.php:479 msgid "Cancelled (%s)" msgid_plural "Cancelled (%s)" msgstr[0] "" msgstr[1] "" -#: includes/class-wc-post-types.php:484 +#: includes/class-wc-post-types.php:487 msgid "Refunded (%s)" msgid_plural "Refunded (%s)" msgstr[0] "" msgstr[1] "" -#: includes/class-wc-post-types.php:492 +#: includes/class-wc-post-types.php:495 msgid "Failed (%s)" msgid_plural "Failed (%s)" msgstr[0] "" @@ -14629,13 +16562,13 @@ msgstr "" msgid "Select options" msgstr "" -#: includes/class-wc-product-variable.php:748 +#: includes/class-wc-product-variable.php:743 msgid "" "This variable product has no active variations. Add or enable variations to " "allow this product to be purchased." msgstr "" -#: includes/class-wc-product-variation.php:754 +#: includes/class-wc-product-variation.php:764 msgid "%s – %s%s" msgstr "" @@ -14658,17 +16591,17 @@ msgstr "" msgid "Edit Account Details" msgstr "" -#: includes/class-wc-shipping-zone.php:200 +#: includes/class-wc-shipping-zone.php:202 msgid "%s and %d other region" msgid_plural "%s and %d other regions" msgstr[0] "" msgstr[1] "" -#: includes/class-wc-webhook.php:609 +#: includes/class-wc-webhook.php:610 msgid "Error: Delivery URL cannot be reached: %s" msgstr "" -#: includes/class-wc-webhook.php:613 +#: includes/class-wc-webhook.php:614 msgid "Error: Delivery URL returned response code: %s" msgstr "" @@ -14728,7 +16661,7 @@ msgstr "" #: includes/gateways/paypal/includes/settings-paypal.php:12 #: includes/gateways/simplify-commerce/class-wc-gateway-simplify-commerce.php:188 #: includes/shipping/legacy-flat-rate/includes/settings-flat-rate.php:14 -#: includes/shipping/legacy-free-shipping/class-wc-shipping-legacy-free-shipping.php:71 +#: includes/shipping/legacy-free-shipping/class-wc-shipping-legacy-free-shipping.php:83 msgid "Enable/Disable" msgstr "" @@ -15073,63 +17006,63 @@ msgstr "" msgid "Multipart" msgstr "" -#: includes/emails/class-wc-email.php:590 +#: includes/emails/class-wc-email.php:588 msgid "Could not write to template file." msgstr "" -#: includes/emails/class-wc-email.php:636 +#: includes/emails/class-wc-email.php:634 msgid "Template file copied to theme." msgstr "" -#: includes/emails/class-wc-email.php:665 +#: includes/emails/class-wc-email.php:663 msgid "Template file deleted from theme." msgstr "" -#: includes/emails/class-wc-email.php:711 +#: includes/emails/class-wc-email.php:709 msgid "Return to Emails" msgstr "" -#: includes/emails/class-wc-email.php:739 +#: includes/emails/class-wc-email.php:737 msgid "HTML template" msgstr "" -#: includes/emails/class-wc-email.php:740 +#: includes/emails/class-wc-email.php:738 msgid "Plain text template" msgstr "" -#: includes/emails/class-wc-email.php:765 +#: includes/emails/class-wc-email.php:763 msgid "Delete template file" msgstr "" -#: includes/emails/class-wc-email.php:768 +#: includes/emails/class-wc-email.php:766 msgid "" "This template has been overridden by your theme and can be found in: " "%s." msgstr "" -#: includes/emails/class-wc-email.php:781 +#: includes/emails/class-wc-email.php:779 msgid "Copy file to theme" msgstr "" -#: includes/emails/class-wc-email.php:784 +#: includes/emails/class-wc-email.php:782 msgid "" "To override and edit this email template copy %s to your theme " "folder: %s." msgstr "" -#: includes/emails/class-wc-email.php:793 +#: includes/emails/class-wc-email.php:791 msgid "File was not found." msgstr "" -#: includes/emails/class-wc-email.php:820 +#: includes/emails/class-wc-email.php:818 msgid "View template" msgstr "" -#: includes/emails/class-wc-email.php:821 +#: includes/emails/class-wc-email.php:819 msgid "Hide template" msgstr "" -#: includes/emails/class-wc-email.php:832 +#: includes/emails/class-wc-email.php:830 msgid "Are you sure you want to delete this template file?" msgstr "" @@ -15152,9 +17085,9 @@ msgstr "" #: includes/shipping/flat-rate/includes/settings-flat-rate.php:16 #: includes/shipping/free-shipping/class-wc-shipping-free-shipping.php:53 #: includes/shipping/legacy-flat-rate/includes/settings-flat-rate.php:22 -#: includes/shipping/legacy-free-shipping/class-wc-shipping-legacy-free-shipping.php:79 -#: includes/shipping/legacy-local-delivery/class-wc-shipping-legacy-local-delivery.php:106 -#: includes/shipping/legacy-local-pickup/class-wc-shipping-legacy-local-pickup.php:83 +#: includes/shipping/legacy-free-shipping/class-wc-shipping-legacy-free-shipping.php:91 +#: includes/shipping/legacy-local-delivery/class-wc-shipping-legacy-local-delivery.php:119 +#: includes/shipping/legacy-local-pickup/class-wc-shipping-legacy-local-pickup.php:96 #: includes/shipping/local-pickup/class-wc-shipping-local-pickup.php:72 msgid "This controls the title which the user sees during checkout." msgstr "" @@ -15203,7 +17136,7 @@ msgstr "" #: includes/gateways/bacs/class-wc-gateway-bacs.php:130 #: includes/gateways/bacs/class-wc-gateway-bacs.php:297 -#: includes/gateways/class-wc-payment-gateway-echeck.php:52 +#: includes/gateways/class-wc-payment-gateway-echeck.php:49 msgid "Account Number" msgstr "" @@ -15262,7 +17195,7 @@ msgid "Bank Code" msgstr "" #: includes/gateways/bacs/class-wc-gateway-bacs.php:396 -#: includes/gateways/class-wc-payment-gateway-echeck.php:48 +#: includes/gateways/class-wc-payment-gateway-echeck.php:45 msgid "Routing Number" msgstr "" @@ -15270,53 +17203,41 @@ msgstr "" msgid "Branch Code" msgstr "" -#: includes/gateways/cheque/class-wc-gateway-cheque.php:27 -msgid "Cheque" -msgstr "" - #: includes/gateways/cheque/class-wc-gateway-cheque.php:28 msgid "" -"Allows cheque payments. Why would you take cheques in this day and age? " -"Well you probably wouldn't but it does allow you to make test purchases for " +"Allows check payments. Why would you take checks in this day and age? Well " +"you probably wouldn't but it does allow you to make test purchases for " "testing order emails and the 'success' pages etc." msgstr "" #: includes/gateways/cheque/class-wc-gateway-cheque.php:56 -msgid "Enable Cheque Payment" -msgstr "" - -#: includes/gateways/cheque/class-wc-gateway-cheque.php:63 -msgid "Cheque Payment" +msgid "Enable Check Payments" msgstr "" #: includes/gateways/cheque/class-wc-gateway-cheque.php:70 msgid "" -"Please send your cheque to Store Name, Store Street, Store Town, Store " -"State / County, Store Postcode." +"Please send a check to Store Name, Store Street, Store Town, Store State / " +"County, Store Postcode." msgstr "" -#: includes/gateways/cheque/class-wc-gateway-cheque.php:116 -msgid "Awaiting cheque payment" -msgstr "" - -#: includes/gateways/class-wc-payment-gateway-cc.php:47 +#: includes/gateways/class-wc-payment-gateway-cc.php:57 msgid "Card Code" msgstr "" -#: includes/gateways/class-wc-payment-gateway-cc.php:48 +#: includes/gateways/class-wc-payment-gateway-cc.php:58 msgid "CVC" msgstr "" -#: includes/gateways/class-wc-payment-gateway-cc.php:53 +#: includes/gateways/class-wc-payment-gateway-cc.php:63 #: includes/gateways/simplify-commerce/class-wc-gateway-simplify-commerce.php:306 msgid "Card Number" msgstr "" -#: includes/gateways/class-wc-payment-gateway-cc.php:57 +#: includes/gateways/class-wc-payment-gateway-cc.php:67 msgid "Expiry (MM/YY)" msgstr "" -#: includes/gateways/class-wc-payment-gateway-cc.php:58 +#: includes/gateways/class-wc-payment-gateway-cc.php:68 msgid "MM / YY" msgstr "" @@ -15471,8 +17392,8 @@ msgstr "" msgid "PDT payment completed" msgstr "" -#: includes/gateways/paypal/includes/class-wc-gateway-paypal-request.php:175 -#: includes/gateways/paypal/includes/class-wc-gateway-paypal-request.php:197 +#: includes/gateways/paypal/includes/class-wc-gateway-paypal-request.php:177 +#: includes/gateways/paypal/includes/class-wc-gateway-paypal-request.php:199 msgid "Shipping via %s" msgstr "" @@ -15672,13 +17593,11 @@ msgstr "" #: includes/gateways/simplify-commerce/class-wc-addons-gateway-simplify-commerce.php:182 #: includes/gateways/simplify-commerce/class-wc-addons-gateway-simplify-commerce.php:292 #: includes/gateways/simplify-commerce/class-wc-gateway-simplify-commerce.php:495 -#: includes/gateways/simplify-commerce-deprecated/class-wc-addons-gateway-simplify-commerce-deprecated.php:60 msgid "Sorry, the minimum allowed order total is 0.50 to use this payment method." msgstr "" #: includes/gateways/simplify-commerce/class-wc-addons-gateway-simplify-commerce.php:298 #: includes/gateways/simplify-commerce/class-wc-addons-gateway-simplify-commerce.php:435 -#: includes/gateways/simplify-commerce-deprecated/class-wc-addons-gateway-simplify-commerce-deprecated.php:70 msgid "Customer not found" msgstr "" @@ -15689,7 +17608,6 @@ msgstr "" #: includes/gateways/simplify-commerce/class-wc-addons-gateway-simplify-commerce.php:322 #: includes/gateways/simplify-commerce/class-wc-gateway-simplify-commerce.php:521 -#: includes/gateways/simplify-commerce-deprecated/class-wc-addons-gateway-simplify-commerce-deprecated.php:100 msgid "Simplify payment error: %s" msgstr "" @@ -15697,19 +17615,16 @@ msgstr "" #: includes/gateways/simplify-commerce/class-wc-addons-gateway-simplify-commerce.php:452 #: includes/gateways/simplify-commerce/class-wc-gateway-simplify-commerce.php:531 #: includes/gateways/simplify-commerce/class-wc-gateway-simplify-commerce.php:696 -#: includes/gateways/simplify-commerce-deprecated/class-wc-addons-gateway-simplify-commerce-deprecated.php:110 msgid "Simplify payment approved (ID: %s, Auth Code: %s)" msgstr "" #: includes/gateways/simplify-commerce/class-wc-addons-gateway-simplify-commerce.php:336 #: includes/gateways/simplify-commerce/class-wc-gateway-simplify-commerce.php:535 -#: includes/gateways/simplify-commerce-deprecated/class-wc-addons-gateway-simplify-commerce-deprecated.php:114 msgid "Simplify payment declined" msgstr "" #: includes/gateways/simplify-commerce/class-wc-addons-gateway-simplify-commerce.php:338 #: includes/gateways/simplify-commerce/class-wc-gateway-simplify-commerce.php:537 -#: includes/gateways/simplify-commerce-deprecated/class-wc-addons-gateway-simplify-commerce-deprecated.php:116 msgid "Payment was declined - please try another card." msgstr "" @@ -15723,7 +17638,6 @@ msgid "%s - Pre-order for \"%s\"" msgstr "" #: includes/gateways/simplify-commerce/class-wc-addons-gateway-simplify-commerce.php:430 -#: includes/gateways/simplify-commerce-deprecated/class-wc-addons-gateway-simplify-commerce-deprecated.php:65 msgid "(Order #%s)" msgstr "" @@ -15899,8 +17813,8 @@ msgstr "" msgid "Refund was declined." msgstr "" -#: includes/gateways/simplify-commerce-deprecated/class-wc-addons-gateway-simplify-commerce-deprecated.php:65 -msgid "%s - Subscription for \"%s\"" +#: includes/libraries/wp-background-process.php:395 +msgid "Every %d Minutes" msgstr "" #: includes/shipping/flat-rate/class-wc-shipping-flat-rate.php:25 @@ -15928,7 +17842,7 @@ msgstr "" #: includes/shipping/flat-rate/includes/settings-flat-rate.php:14 #: includes/shipping/legacy-flat-rate/includes/settings-flat-rate.php:20 -#: includes/shipping/legacy-free-shipping/class-wc-shipping-legacy-free-shipping.php:77 +#: includes/shipping/legacy-free-shipping/class-wc-shipping-legacy-free-shipping.php:89 msgid "Method Title" msgstr "" @@ -15974,12 +17888,12 @@ msgid "" msgstr "" #: includes/shipping/free-shipping/class-wc-shipping-free-shipping.php:58 -#: includes/shipping/legacy-free-shipping/class-wc-shipping-legacy-free-shipping.php:105 +#: includes/shipping/legacy-free-shipping/class-wc-shipping-legacy-free-shipping.php:117 msgid "Free Shipping Requires..." msgstr "" #: includes/shipping/free-shipping/class-wc-shipping-free-shipping.php:64 -#: includes/shipping/legacy-free-shipping/class-wc-shipping-legacy-free-shipping.php:111 +#: includes/shipping/legacy-free-shipping/class-wc-shipping-legacy-free-shipping.php:123 msgid "A valid free shipping coupon" msgstr "" @@ -15988,22 +17902,22 @@ msgid "A minimum order amount" msgstr "" #: includes/shipping/free-shipping/class-wc-shipping-free-shipping.php:66 -#: includes/shipping/legacy-free-shipping/class-wc-shipping-legacy-free-shipping.php:113 +#: includes/shipping/legacy-free-shipping/class-wc-shipping-legacy-free-shipping.php:125 msgid "A minimum order amount OR a coupon" msgstr "" #: includes/shipping/free-shipping/class-wc-shipping-free-shipping.php:67 -#: includes/shipping/legacy-free-shipping/class-wc-shipping-legacy-free-shipping.php:114 +#: includes/shipping/legacy-free-shipping/class-wc-shipping-legacy-free-shipping.php:126 msgid "A minimum order amount AND a coupon" msgstr "" #: includes/shipping/free-shipping/class-wc-shipping-free-shipping.php:71 -#: includes/shipping/legacy-free-shipping/class-wc-shipping-legacy-free-shipping.php:118 +#: includes/shipping/legacy-free-shipping/class-wc-shipping-legacy-free-shipping.php:130 msgid "Minimum Order Amount" msgstr "" #: includes/shipping/free-shipping/class-wc-shipping-free-shipping.php:74 -#: includes/shipping/legacy-free-shipping/class-wc-shipping-legacy-free-shipping.php:121 +#: includes/shipping/legacy-free-shipping/class-wc-shipping-legacy-free-shipping.php:133 msgid "" "Users will need to spend this amount to get free shipping (if enabled " "above)." @@ -16025,9 +17939,9 @@ msgid "" msgstr "" #: includes/shipping/legacy-flat-rate/includes/settings-flat-rate.php:16 -#: includes/shipping/legacy-free-shipping/class-wc-shipping-legacy-free-shipping.php:73 -#: includes/shipping/legacy-local-delivery/class-wc-shipping-legacy-local-delivery.php:100 -#: includes/shipping/legacy-local-pickup/class-wc-shipping-legacy-local-pickup.php:77 +#: includes/shipping/legacy-free-shipping/class-wc-shipping-legacy-free-shipping.php:85 +#: includes/shipping/legacy-local-delivery/class-wc-shipping-legacy-local-delivery.php:113 +#: includes/shipping/legacy-local-pickup/class-wc-shipping-legacy-local-pickup.php:90 msgid "Once disabled, this legacy method will no longer be available." msgstr "" @@ -16037,27 +17951,27 @@ msgid "Availability" msgstr "" #: includes/shipping/legacy-flat-rate/includes/settings-flat-rate.php:32 -#: includes/shipping/legacy-free-shipping/class-wc-shipping-legacy-free-shipping.php:89 -#: includes/shipping/legacy-local-delivery/class-wc-shipping-legacy-local-delivery.php:145 -#: includes/shipping/legacy-local-pickup/class-wc-shipping-legacy-local-pickup.php:101 +#: includes/shipping/legacy-free-shipping/class-wc-shipping-legacy-free-shipping.php:101 +#: includes/shipping/legacy-local-delivery/class-wc-shipping-legacy-local-delivery.php:158 +#: includes/shipping/legacy-local-pickup/class-wc-shipping-legacy-local-pickup.php:114 msgid "All allowed countries" msgstr "" #: includes/shipping/legacy-flat-rate/includes/settings-flat-rate.php:33 #: includes/shipping/legacy-flat-rate/includes/settings-flat-rate.php:37 -#: includes/shipping/legacy-free-shipping/class-wc-shipping-legacy-free-shipping.php:90 -#: includes/shipping/legacy-free-shipping/class-wc-shipping-legacy-free-shipping.php:94 -#: includes/shipping/legacy-local-delivery/class-wc-shipping-legacy-local-delivery.php:146 -#: includes/shipping/legacy-local-delivery/class-wc-shipping-legacy-local-delivery.php:150 -#: includes/shipping/legacy-local-pickup/class-wc-shipping-legacy-local-pickup.php:102 -#: includes/shipping/legacy-local-pickup/class-wc-shipping-legacy-local-pickup.php:106 +#: includes/shipping/legacy-free-shipping/class-wc-shipping-legacy-free-shipping.php:102 +#: includes/shipping/legacy-free-shipping/class-wc-shipping-legacy-free-shipping.php:106 +#: includes/shipping/legacy-local-delivery/class-wc-shipping-legacy-local-delivery.php:159 +#: includes/shipping/legacy-local-delivery/class-wc-shipping-legacy-local-delivery.php:163 +#: includes/shipping/legacy-local-pickup/class-wc-shipping-legacy-local-pickup.php:115 +#: includes/shipping/legacy-local-pickup/class-wc-shipping-legacy-local-pickup.php:119 msgid "Specific Countries" msgstr "" #: includes/shipping/legacy-flat-rate/includes/settings-flat-rate.php:44 -#: includes/shipping/legacy-free-shipping/class-wc-shipping-legacy-free-shipping.php:101 -#: includes/shipping/legacy-local-delivery/class-wc-shipping-legacy-local-delivery.php:157 -#: includes/shipping/legacy-local-pickup/class-wc-shipping-legacy-local-pickup.php:113 +#: includes/shipping/legacy-free-shipping/class-wc-shipping-legacy-free-shipping.php:113 +#: includes/shipping/legacy-local-delivery/class-wc-shipping-legacy-local-delivery.php:170 +#: includes/shipping/legacy-local-pickup/class-wc-shipping-legacy-local-pickup.php:126 msgid "Select some countries" msgstr "" @@ -16089,13 +18003,13 @@ msgstr "" msgid "Free Shipping (Legacy)" msgstr "" -#: includes/shipping/legacy-free-shipping/class-wc-shipping-legacy-free-shipping.php:84 -#: includes/shipping/legacy-local-delivery/class-wc-shipping-legacy-local-delivery.php:140 -#: includes/shipping/legacy-local-pickup/class-wc-shipping-legacy-local-pickup.php:96 +#: includes/shipping/legacy-free-shipping/class-wc-shipping-legacy-free-shipping.php:96 +#: includes/shipping/legacy-local-delivery/class-wc-shipping-legacy-local-delivery.php:153 +#: includes/shipping/legacy-local-pickup/class-wc-shipping-legacy-local-pickup.php:109 msgid "Method availability" msgstr "" -#: includes/shipping/legacy-free-shipping/class-wc-shipping-legacy-free-shipping.php:112 +#: includes/shipping/legacy-free-shipping/class-wc-shipping-legacy-free-shipping.php:124 msgid "A minimum order amount (defined below)" msgstr "" @@ -16115,52 +18029,52 @@ msgstr "" msgid "Local Delivery (Legacy)" msgstr "" -#: includes/shipping/legacy-local-delivery/class-wc-shipping-legacy-local-delivery.php:98 -#: includes/shipping/legacy-local-pickup/class-wc-shipping-legacy-local-pickup.php:75 +#: includes/shipping/legacy-local-delivery/class-wc-shipping-legacy-local-delivery.php:111 +#: includes/shipping/legacy-local-pickup/class-wc-shipping-legacy-local-pickup.php:88 msgid "Enable" msgstr "" -#: includes/shipping/legacy-local-delivery/class-wc-shipping-legacy-local-delivery.php:111 +#: includes/shipping/legacy-local-delivery/class-wc-shipping-legacy-local-delivery.php:124 msgid "Fee Type" msgstr "" -#: includes/shipping/legacy-local-delivery/class-wc-shipping-legacy-local-delivery.php:114 +#: includes/shipping/legacy-local-delivery/class-wc-shipping-legacy-local-delivery.php:127 msgid "How to calculate delivery charges" msgstr "" -#: includes/shipping/legacy-local-delivery/class-wc-shipping-legacy-local-delivery.php:117 +#: includes/shipping/legacy-local-delivery/class-wc-shipping-legacy-local-delivery.php:130 msgid "Fixed amount" msgstr "" -#: includes/shipping/legacy-local-delivery/class-wc-shipping-legacy-local-delivery.php:118 +#: includes/shipping/legacy-local-delivery/class-wc-shipping-legacy-local-delivery.php:131 msgid "Percentage of cart total" msgstr "" -#: includes/shipping/legacy-local-delivery/class-wc-shipping-legacy-local-delivery.php:119 +#: includes/shipping/legacy-local-delivery/class-wc-shipping-legacy-local-delivery.php:132 msgid "Fixed amount per product" msgstr "" -#: includes/shipping/legacy-local-delivery/class-wc-shipping-legacy-local-delivery.php:124 +#: includes/shipping/legacy-local-delivery/class-wc-shipping-legacy-local-delivery.php:137 msgid "Delivery Fee" msgstr "" -#: includes/shipping/legacy-local-delivery/class-wc-shipping-legacy-local-delivery.php:126 +#: includes/shipping/legacy-local-delivery/class-wc-shipping-legacy-local-delivery.php:139 msgid "" "What fee do you want to charge for local delivery, disregarded if you " "choose free. Leave blank to disable." msgstr "" -#: includes/shipping/legacy-local-delivery/class-wc-shipping-legacy-local-delivery.php:132 -#: includes/shipping/legacy-local-pickup/class-wc-shipping-legacy-local-pickup.php:88 +#: includes/shipping/legacy-local-delivery/class-wc-shipping-legacy-local-delivery.php:145 +#: includes/shipping/legacy-local-pickup/class-wc-shipping-legacy-local-pickup.php:101 msgid "Allowed ZIP/Post Codes" msgstr "" -#: includes/shipping/legacy-local-delivery/class-wc-shipping-legacy-local-delivery.php:134 +#: includes/shipping/legacy-local-delivery/class-wc-shipping-legacy-local-delivery.php:147 msgid "What ZIP/post codes are available for local delivery?" msgstr "" -#: includes/shipping/legacy-local-delivery/class-wc-shipping-legacy-local-delivery.php:136 -#: includes/shipping/legacy-local-pickup/class-wc-shipping-legacy-local-pickup.php:92 +#: includes/shipping/legacy-local-delivery/class-wc-shipping-legacy-local-delivery.php:149 +#: includes/shipping/legacy-local-pickup/class-wc-shipping-legacy-local-pickup.php:105 msgid "" "Separate codes with a comma. Accepts wildcards, e.g. P* will " "match a postcode of PE30. Also accepts a pattern, e.g. NG1___ " @@ -16171,7 +18085,7 @@ msgstr "" msgid "Local Pickup (Legacy)" msgstr "" -#: includes/shipping/legacy-local-pickup/class-wc-shipping-legacy-local-pickup.php:90 +#: includes/shipping/legacy-local-pickup/class-wc-shipping-legacy-local-pickup.php:103 msgid "What ZIP/post codes are available for local pickup?" msgstr "" @@ -16227,51 +18141,47 @@ msgid "" "the Place Order button at the bottom of the page." msgstr "" -#: includes/shortcodes/class-wc-shortcode-my-account.php:181 +#: includes/shortcodes/class-wc-shortcode-my-account.php:191 msgid "Your password has been reset." msgstr "" -#: includes/shortcodes/class-wc-shortcode-my-account.php:181 +#: includes/shortcodes/class-wc-shortcode-my-account.php:191 msgid "Log in" msgstr "" -#: includes/shortcodes/class-wc-shortcode-my-account.php:202 +#: includes/shortcodes/class-wc-shortcode-my-account.php:215 msgid "Enter a username or e-mail address." msgstr "" -#: includes/shortcodes/class-wc-shortcode-my-account.php:218 -#: includes/shortcodes/class-wc-shortcode-my-account.php:223 +#: includes/shortcodes/class-wc-shortcode-my-account.php:231 +#: includes/shortcodes/class-wc-shortcode-my-account.php:236 msgid "Invalid username or e-mail." msgstr "" -#: includes/shortcodes/class-wc-shortcode-my-account.php:236 +#: includes/shortcodes/class-wc-shortcode-my-account.php:249 msgid "Password reset is not allowed for this user" msgstr "" -#: includes/shortcodes/class-wc-shortcode-my-account.php:263 -msgid "Check your e-mail for the confirmation link." -msgstr "" - -#: includes/shortcodes/class-wc-shortcode-my-account.php:282 -#: includes/shortcodes/class-wc-shortcode-my-account.php:287 -#: includes/shortcodes/class-wc-shortcode-my-account.php:303 +#: includes/shortcodes/class-wc-shortcode-my-account.php:294 +#: includes/shortcodes/class-wc-shortcode-my-account.php:299 +#: includes/shortcodes/class-wc-shortcode-my-account.php:315 msgid "Invalid key" msgstr "" -#: includes/shortcodes/class-wc-shortcode-my-account.php:358 -#: includes/shortcodes/class-wc-shortcode-my-account.php:364 #: includes/shortcodes/class-wc-shortcode-my-account.php:370 -#: includes/shortcodes/class-wc-shortcode-my-account.php:390 -#: includes/shortcodes/class-wc-shortcode-my-account.php:396 +#: includes/shortcodes/class-wc-shortcode-my-account.php:376 +#: includes/shortcodes/class-wc-shortcode-my-account.php:382 #: includes/shortcodes/class-wc-shortcode-my-account.php:402 +#: includes/shortcodes/class-wc-shortcode-my-account.php:408 +#: includes/shortcodes/class-wc-shortcode-my-account.php:414 msgid "Invalid payment method" msgstr "" -#: includes/shortcodes/class-wc-shortcode-my-account.php:376 +#: includes/shortcodes/class-wc-shortcode-my-account.php:388 msgid "Payment method deleted." msgstr "" -#: includes/shortcodes/class-wc-shortcode-my-account.php:408 +#: includes/shortcodes/class-wc-shortcode-my-account.php:420 msgid "This payment method was successfully set as your default." msgstr "" @@ -16287,9 +18197,90 @@ msgstr "" msgid "Sorry, we could not find that order ID in our database." msgstr "" -#: includes/updates/woocommerce-update-2.4.php:171 -#: includes/wc-order-functions.php:966 -msgid "Order Fully Refunded" +#: includes/vendor/class-wp-rest-controller.php:30 +msgid "The register_routes() method must be overriden" +msgstr "" + +#: includes/vendor/class-wp-rest-controller.php:40 +#: includes/vendor/class-wp-rest-controller.php:50 +#: includes/vendor/class-wp-rest-controller.php:60 +#: includes/vendor/class-wp-rest-controller.php:70 +#: includes/vendor/class-wp-rest-controller.php:80 +#: includes/vendor/class-wp-rest-controller.php:90 +#: includes/vendor/class-wp-rest-controller.php:100 +#: includes/vendor/class-wp-rest-controller.php:110 +#: includes/vendor/class-wp-rest-controller.php:120 +#: includes/vendor/class-wp-rest-controller.php:130 +#: includes/vendor/class-wp-rest-controller.php:140 +#: includes/vendor/class-wp-rest-controller.php:151 +msgid "Method '%s' not implemented. Must be over-ridden in subclass." +msgstr "" + +#: includes/vendor/class-wp-rest-controller.php:253 +msgid "Current page of the collection." +msgstr "" + +#: includes/vendor/class-wp-rest-controller.php:261 +msgid "Maximum number of items to be returned in result set." +msgstr "" + +#: includes/vendor/class-wp-rest-controller.php:270 +msgid "Limit results to those matching a string." +msgstr "" + +#: includes/vendor/class-wp-rest-controller.php:288 +msgid "" +"Scope under which the request is made; determines fields present in " +"response." +msgstr "" + +#: includes/vendor/wp-rest-functions.php:169 +msgid "%s is not one of %s" +msgstr "" + +#: includes/vendor/wp-rest-functions.php:174 +#: includes/vendor/wp-rest-functions.php:178 +msgid "%s is not of type %s" +msgstr "" + +#: includes/vendor/wp-rest-functions.php:185 includes/wc-rest-functions.php:179 +msgid "The date you provided is invalid." +msgstr "" + +#: includes/vendor/wp-rest-functions.php:191 +msgid "The email address you provided is invalid." +msgstr "" + +#: includes/vendor/wp-rest-functions.php:200 +msgid "%s must be greater than %d (exclusive)" +msgstr "" + +#: includes/vendor/wp-rest-functions.php:202 +msgid "%s must be greater than %d (inclusive)" +msgstr "" + +#: includes/vendor/wp-rest-functions.php:206 +msgid "%s must be less than %d (exclusive)" +msgstr "" + +#: includes/vendor/wp-rest-functions.php:208 +msgid "%s must be less than %d (inclusive)" +msgstr "" + +#: includes/vendor/wp-rest-functions.php:213 +msgid "%s must be between %d (exclusive) and %d (exclusive)" +msgstr "" + +#: includes/vendor/wp-rest-functions.php:217 +msgid "%s must be between %d (inclusive) and %d (exclusive)" +msgstr "" + +#: includes/vendor/wp-rest-functions.php:221 +msgid "%s must be between %d (exclusive) and %d (inclusive)" +msgstr "" + +#: includes/vendor/wp-rest-functions.php:225 +msgid "%s must be between %d (inclusive) and %d (inclusive)" msgstr "" #: includes/wc-account-functions.php:80 @@ -16362,243 +18353,679 @@ msgstr "" msgid "estimated for %s" msgstr "" -#: includes/wc-core-functions.php:83 +#: includes/wc-core-functions.php:84 msgid "Order – %s" msgstr "" -#: includes/wc-core-functions.php:89 +#: includes/wc-core-functions.php:90 msgid "Invalid order status" msgstr "" -#: includes/wc-core-functions.php:136 +#: includes/wc-core-functions.php:137 msgid "Invalid order ID" msgstr "" -#: includes/wc-core-functions.php:277 -msgid "United Arab Emirates Dirham" -msgstr "" - #: includes/wc-core-functions.php:278 -msgid "Argentine Peso" +msgid "United Arab Emirates dirham" msgstr "" #: includes/wc-core-functions.php:279 -msgid "Australian Dollars" +msgid "Afghan afghani" msgstr "" #: includes/wc-core-functions.php:280 -msgid "Bangladeshi Taka" +msgid "Albanian lek" msgstr "" #: includes/wc-core-functions.php:281 -msgid "Bulgarian Lev" +msgid "Armenian dram" msgstr "" #: includes/wc-core-functions.php:282 -msgid "Brazilian Real" +msgid "Netherlands Antillean guilder" msgstr "" #: includes/wc-core-functions.php:283 -msgid "Canadian Dollars" +msgid "Angolan kwanza" msgstr "" #: includes/wc-core-functions.php:284 -msgid "Swiss Franc" +msgid "Argentine peso" msgstr "" #: includes/wc-core-functions.php:285 -msgid "Chilean Peso" +msgid "Australian dollar" msgstr "" #: includes/wc-core-functions.php:286 -msgid "Chinese Yuan" +msgid "Aruban florin" msgstr "" #: includes/wc-core-functions.php:287 -msgid "Colombian Peso" +msgid "Azerbaijani manat" msgstr "" #: includes/wc-core-functions.php:288 -msgid "Czech Koruna" +msgid "Bosnia and Herzegovina convertible mark" msgstr "" #: includes/wc-core-functions.php:289 -msgid "Danish Krone" +msgid "Barbadian dollar" msgstr "" #: includes/wc-core-functions.php:290 -msgid "Dominican Peso" +msgid "Bangladeshi taka" msgstr "" #: includes/wc-core-functions.php:291 -msgid "Egyptian Pound" +msgid "Bulgarian lev" msgstr "" #: includes/wc-core-functions.php:292 -msgid "Euros" +msgid "Bahraini dinar" msgstr "" #: includes/wc-core-functions.php:293 -msgid "Pounds Sterling" +msgid "Burundian franc" msgstr "" #: includes/wc-core-functions.php:294 -msgid "Hong Kong Dollar" +msgid "Bermudian dollar" msgstr "" #: includes/wc-core-functions.php:295 -msgid "Croatia kuna" +msgid "Brunei dollar" msgstr "" #: includes/wc-core-functions.php:296 -msgid "Hungarian Forint" +msgid "Bolivian boliviano" msgstr "" #: includes/wc-core-functions.php:297 -msgid "Indonesia Rupiah" +msgid "Brazilian real" msgstr "" #: includes/wc-core-functions.php:298 -msgid "Israeli Shekel" +msgid "Bahamian dollar" msgstr "" #: includes/wc-core-functions.php:299 -msgid "Indian Rupee" +msgid "Bitcoin" msgstr "" #: includes/wc-core-functions.php:300 -msgid "Icelandic krona" +msgid "Bhutanese ngultrum" msgstr "" #: includes/wc-core-functions.php:301 -msgid "Japanese Yen" +msgid "Botswana pula" msgstr "" #: includes/wc-core-functions.php:302 -msgid "Kenyan shilling" +msgid "Belarusian ruble" msgstr "" #: includes/wc-core-functions.php:303 -msgid "South Korean Won" +msgid "Belize dollar" msgstr "" #: includes/wc-core-functions.php:304 -msgid "Lao Kip" +msgid "Canadian dollar" msgstr "" #: includes/wc-core-functions.php:305 -msgid "Mexican Peso" +msgid "Congolese franc" msgstr "" #: includes/wc-core-functions.php:306 -msgid "Malaysian Ringgits" +msgid "Swiss franc" msgstr "" #: includes/wc-core-functions.php:307 -msgid "Nigerian Naira" +msgid "Chilean peso" msgstr "" #: includes/wc-core-functions.php:308 -msgid "Norwegian Krone" +msgid "Chinese yuan" msgstr "" #: includes/wc-core-functions.php:309 -msgid "Nepali Rupee" +msgid "Colombian peso" msgstr "" #: includes/wc-core-functions.php:310 -msgid "New Zealand Dollar" +msgid "Costa Rican colón" msgstr "" #: includes/wc-core-functions.php:311 -msgid "Philippine Pesos" +msgid "Cuban convertible peso" msgstr "" #: includes/wc-core-functions.php:312 -msgid "Pakistani Rupee" +msgid "Cuban peso" msgstr "" #: includes/wc-core-functions.php:313 -msgid "Polish Zloty" +msgid "Cape Verdean escudo" msgstr "" #: includes/wc-core-functions.php:314 -msgid "Paraguayan Guaraní" +msgid "Czech koruna" msgstr "" #: includes/wc-core-functions.php:315 -msgid "Romanian Leu" +msgid "Djiboutian franc" msgstr "" #: includes/wc-core-functions.php:316 -msgid "Russian Ruble" +msgid "Danish krone" msgstr "" #: includes/wc-core-functions.php:317 -msgid "Saudi Riyal" +msgid "Dominican peso" msgstr "" #: includes/wc-core-functions.php:318 -msgid "Swedish Krona" +msgid "Algerian dinar" msgstr "" #: includes/wc-core-functions.php:319 -msgid "Singapore Dollar" +msgid "Egyptian pound" msgstr "" #: includes/wc-core-functions.php:320 -msgid "Thai Baht" +msgid "Eritrean nakfa" msgstr "" #: includes/wc-core-functions.php:321 -msgid "Turkish Lira" +msgid "Ethiopian birr" msgstr "" #: includes/wc-core-functions.php:322 -msgid "Taiwan New Dollars" +msgid "Euro" msgstr "" #: includes/wc-core-functions.php:323 -msgid "Ukrainian Hryvnia" +msgid "Fijian dollar" msgstr "" #: includes/wc-core-functions.php:324 -msgid "Ugandan Shilling" +msgid "Falkland Islands pound" msgstr "" #: includes/wc-core-functions.php:325 -msgid "US Dollars" +msgid "Pound sterling" msgstr "" #: includes/wc-core-functions.php:326 -msgid "Vietnamese Dong" +msgid "Georgian lari" msgstr "" #: includes/wc-core-functions.php:327 +msgid "Guernsey pound" +msgstr "" + +#: includes/wc-core-functions.php:328 +msgid "Ghana cedi" +msgstr "" + +#: includes/wc-core-functions.php:329 +msgid "Gibraltar pound" +msgstr "" + +#: includes/wc-core-functions.php:330 +msgid "Gambian dalasi" +msgstr "" + +#: includes/wc-core-functions.php:331 +msgid "Guinean franc" +msgstr "" + +#: includes/wc-core-functions.php:332 +msgid "Guatemalan quetzal" +msgstr "" + +#: includes/wc-core-functions.php:333 +msgid "Guyanese dollar" +msgstr "" + +#: includes/wc-core-functions.php:334 +msgid "Hong Kong dollar" +msgstr "" + +#: includes/wc-core-functions.php:335 +msgid "Honduran lempira" +msgstr "" + +#: includes/wc-core-functions.php:336 +msgid "Croatian kuna" +msgstr "" + +#: includes/wc-core-functions.php:337 +msgid "Haitian gourde" +msgstr "" + +#: includes/wc-core-functions.php:338 +msgid "Hungarian forint" +msgstr "" + +#: includes/wc-core-functions.php:339 +msgid "Indonesian rupiah" +msgstr "" + +#: includes/wc-core-functions.php:340 +msgid "Israeli new shekel" +msgstr "" + +#: includes/wc-core-functions.php:341 +msgid "Manx pound" +msgstr "" + +#: includes/wc-core-functions.php:342 +msgid "Indian rupee" +msgstr "" + +#: includes/wc-core-functions.php:343 +msgid "Iraqi dinar" +msgstr "" + +#: includes/wc-core-functions.php:344 +msgid "Iranian rial" +msgstr "" + +#: includes/wc-core-functions.php:345 +msgid "Icelandic króna" +msgstr "" + +#: includes/wc-core-functions.php:346 +msgid "Jersey pound" +msgstr "" + +#: includes/wc-core-functions.php:347 +msgid "Jamaican dollar" +msgstr "" + +#: includes/wc-core-functions.php:348 +msgid "Jordanian dinar" +msgstr "" + +#: includes/wc-core-functions.php:349 +msgid "Japanese yen" +msgstr "" + +#: includes/wc-core-functions.php:350 +msgid "Kenyan shilling" +msgstr "" + +#: includes/wc-core-functions.php:351 +msgid "Kyrgyzstani som" +msgstr "" + +#: includes/wc-core-functions.php:352 +msgid "Cambodian riel" +msgstr "" + +#: includes/wc-core-functions.php:353 +msgid "Comorian franc" +msgstr "" + +#: includes/wc-core-functions.php:354 +msgid "North Korean won" +msgstr "" + +#: includes/wc-core-functions.php:355 +msgid "South Korean won" +msgstr "" + +#: includes/wc-core-functions.php:356 +msgid "Kuwaiti dinar" +msgstr "" + +#: includes/wc-core-functions.php:357 +msgid "Cayman Islands dollar" +msgstr "" + +#: includes/wc-core-functions.php:358 +msgid "Kazakhstani tenge" +msgstr "" + +#: includes/wc-core-functions.php:359 +msgid "Lao kip" +msgstr "" + +#: includes/wc-core-functions.php:360 +msgid "Lebanese pound" +msgstr "" + +#: includes/wc-core-functions.php:361 +msgid "Sri Lankan rupee" +msgstr "" + +#: includes/wc-core-functions.php:362 +msgid "Liberian dollar" +msgstr "" + +#: includes/wc-core-functions.php:363 +msgid "Lesotho loti" +msgstr "" + +#: includes/wc-core-functions.php:364 +msgid "Libyan dinar" +msgstr "" + +#: includes/wc-core-functions.php:365 +msgid "Moroccan dirham" +msgstr "" + +#: includes/wc-core-functions.php:366 +msgid "Moldovan leu" +msgstr "" + +#: includes/wc-core-functions.php:367 +msgid "Malagasy ariary" +msgstr "" + +#: includes/wc-core-functions.php:368 +msgid "Macedonian denar" +msgstr "" + +#: includes/wc-core-functions.php:369 +msgid "Burmese kyat" +msgstr "" + +#: includes/wc-core-functions.php:370 +msgid "Mongolian tögrög" +msgstr "" + +#: includes/wc-core-functions.php:371 +msgid "Macanese pataca" +msgstr "" + +#: includes/wc-core-functions.php:372 +msgid "Mauritanian ouguiya" +msgstr "" + +#: includes/wc-core-functions.php:373 +msgid "Mauritian rupee" +msgstr "" + +#: includes/wc-core-functions.php:374 +msgid "Maldivian rufiyaa" +msgstr "" + +#: includes/wc-core-functions.php:375 +msgid "Malawian kwacha" +msgstr "" + +#: includes/wc-core-functions.php:376 +msgid "Mexican peso" +msgstr "" + +#: includes/wc-core-functions.php:377 +msgid "Malaysian ringgit" +msgstr "" + +#: includes/wc-core-functions.php:378 +msgid "Mozambican metical" +msgstr "" + +#: includes/wc-core-functions.php:379 +msgid "Namibian dollar" +msgstr "" + +#: includes/wc-core-functions.php:380 +msgid "Nigerian naira" +msgstr "" + +#: includes/wc-core-functions.php:381 +msgid "Nicaraguan córdoba" +msgstr "" + +#: includes/wc-core-functions.php:382 +msgid "Norwegian krone" +msgstr "" + +#: includes/wc-core-functions.php:383 +msgid "Nepalese rupee" +msgstr "" + +#: includes/wc-core-functions.php:384 +msgid "New Zealand dollar" +msgstr "" + +#: includes/wc-core-functions.php:385 +msgid "Omani rial" +msgstr "" + +#: includes/wc-core-functions.php:386 +msgid "Panamanian balboa" +msgstr "" + +#: includes/wc-core-functions.php:387 +msgid "Peruvian nuevo sol" +msgstr "" + +#: includes/wc-core-functions.php:388 +msgid "Papua New Guinean kina" +msgstr "" + +#: includes/wc-core-functions.php:389 +msgid "Philippine peso" +msgstr "" + +#: includes/wc-core-functions.php:390 +msgid "Pakistani rupee" +msgstr "" + +#: includes/wc-core-functions.php:391 +msgid "Polish złoty" +msgstr "" + +#: includes/wc-core-functions.php:392 +msgid "Transnistrian ruble" +msgstr "" + +#: includes/wc-core-functions.php:393 +msgid "Paraguayan guaraní" +msgstr "" + +#: includes/wc-core-functions.php:394 +msgid "Qatari riyal" +msgstr "" + +#: includes/wc-core-functions.php:395 +msgid "Romanian leu" +msgstr "" + +#: includes/wc-core-functions.php:396 +msgid "Serbian dinar" +msgstr "" + +#: includes/wc-core-functions.php:397 +msgid "Russian ruble" +msgstr "" + +#: includes/wc-core-functions.php:398 +msgid "Rwandan franc" +msgstr "" + +#: includes/wc-core-functions.php:399 +msgid "Saudi riyal" +msgstr "" + +#: includes/wc-core-functions.php:400 +msgid "Solomon Islands dollar" +msgstr "" + +#: includes/wc-core-functions.php:401 +msgid "Seychellois rupee" +msgstr "" + +#: includes/wc-core-functions.php:402 +msgid "Sudanese pound" +msgstr "" + +#: includes/wc-core-functions.php:403 +msgid "Swedish krona" +msgstr "" + +#: includes/wc-core-functions.php:404 +msgid "Singapore dollar" +msgstr "" + +#: includes/wc-core-functions.php:405 +msgid "Saint Helena pound" +msgstr "" + +#: includes/wc-core-functions.php:406 +msgid "Sierra Leonean leone" +msgstr "" + +#: includes/wc-core-functions.php:407 +msgid "Somali shilling" +msgstr "" + +#: includes/wc-core-functions.php:408 +msgid "Surinamese dollar" +msgstr "" + +#: includes/wc-core-functions.php:409 +msgid "South Sudanese pound" +msgstr "" + +#: includes/wc-core-functions.php:410 +msgid "São Tomé and Príncipe dobra" +msgstr "" + +#: includes/wc-core-functions.php:411 +msgid "Syrian pound" +msgstr "" + +#: includes/wc-core-functions.php:412 +msgid "Swazi lilangeni" +msgstr "" + +#: includes/wc-core-functions.php:413 +msgid "Thai baht" +msgstr "" + +#: includes/wc-core-functions.php:414 +msgid "Tajikistani somoni" +msgstr "" + +#: includes/wc-core-functions.php:415 +msgid "Turkmenistan manat" +msgstr "" + +#: includes/wc-core-functions.php:416 +msgid "Tunisian dinar" +msgstr "" + +#: includes/wc-core-functions.php:417 +msgid "Tongan paʻanga" +msgstr "" + +#: includes/wc-core-functions.php:418 +msgid "Turkish lira" +msgstr "" + +#: includes/wc-core-functions.php:419 +msgid "Trinidad and Tobago dollar" +msgstr "" + +#: includes/wc-core-functions.php:420 +msgid "New Taiwan dollar" +msgstr "" + +#: includes/wc-core-functions.php:421 +msgid "Tanzanian shilling" +msgstr "" + +#: includes/wc-core-functions.php:422 +msgid "Ukrainian hryvnia" +msgstr "" + +#: includes/wc-core-functions.php:423 +msgid "Ugandan shilling" +msgstr "" + +#: includes/wc-core-functions.php:424 +msgid "United States dollar" +msgstr "" + +#: includes/wc-core-functions.php:425 +msgid "Uruguayan peso" +msgstr "" + +#: includes/wc-core-functions.php:426 +msgid "Uzbekistani som" +msgstr "" + +#: includes/wc-core-functions.php:427 +msgid "Venezuelan bolívar" +msgstr "" + +#: includes/wc-core-functions.php:428 +msgid "Vietnamese đồng" +msgstr "" + +#: includes/wc-core-functions.php:429 +msgid "Vanuatu vatu" +msgstr "" + +#: includes/wc-core-functions.php:430 +msgid "Samoan tālā" +msgstr "" + +#: includes/wc-core-functions.php:431 +msgid "Central African CFA franc" +msgstr "" + +#: includes/wc-core-functions.php:432 +msgid "East Caribbean dollar" +msgstr "" + +#: includes/wc-core-functions.php:433 +msgid "West African CFA franc" +msgstr "" + +#: includes/wc-core-functions.php:434 +msgid "CFP franc" +msgstr "" + +#: includes/wc-core-functions.php:435 +msgid "Yemeni rial" +msgstr "" + +#: includes/wc-core-functions.php:436 msgid "South African rand" msgstr "" -#: includes/wc-core-functions.php:967 +#: includes/wc-core-functions.php:437 +msgid "Zambian kwacha" +msgstr "" + +#: includes/wc-core-functions.php:1189 msgid "MasterCard" msgstr "" -#: includes/wc-core-functions.php:968 +#: includes/wc-core-functions.php:1190 msgid "Visa" msgstr "" -#: includes/wc-core-functions.php:969 +#: includes/wc-core-functions.php:1191 msgid "Discover" msgstr "" -#: includes/wc-core-functions.php:970 +#: includes/wc-core-functions.php:1192 msgid "American Express" msgstr "" -#: includes/wc-core-functions.php:971 +#: includes/wc-core-functions.php:1193 msgid "Diners" msgstr "" -#: includes/wc-core-functions.php:972 +#: includes/wc-core-functions.php:1194 msgid "JCB" msgstr "" @@ -16640,18 +19067,38 @@ msgstr "" msgid "wc_get_order should not be called before the woocommerce_init action." msgstr "" -#: includes/wc-order-functions.php:679 +#: includes/wc-order-functions.php:694 msgid "Unpaid order cancelled - time limit reached." msgstr "" -#: includes/wc-order-functions.php:810 +#: includes/wc-order-functions.php:825 msgid "Refund – %s" msgstr "" +#: includes/wc-order-functions.php:976 includes/wc-update-functions.php:771 +msgid "Order Fully Refunded" +msgstr "" + #: includes/wc-product-functions.php:26 msgid "wc_get_product should not be called before the woocommerce_init action." msgstr "" +#: includes/wc-rest-functions.php:62 +msgid "Invalid URL %s." +msgstr "" + +#: includes/wc-rest-functions.php:74 +msgid "Error getting remote image %s." +msgstr "" + +#: includes/wc-rest-functions.php:104 +msgid "Zero size file downloaded." +msgstr "" + +#: includes/wc-rest-functions.php:172 +msgid "%1$s is not of type %2$s" +msgstr "" + #: includes/wc-template-functions.php:31 msgid "Checkout is not available whilst your cart is empty." msgstr "" @@ -16676,61 +19123,61 @@ msgstr "" msgid " – Page %s" msgstr "" -#: includes/wc-template-functions.php:769 +#: includes/wc-template-functions.php:773 msgid "Default sorting" msgstr "" -#: includes/wc-template-functions.php:770 +#: includes/wc-template-functions.php:774 msgid "Sort by popularity" msgstr "" -#: includes/wc-template-functions.php:771 +#: includes/wc-template-functions.php:775 msgid "Sort by average rating" msgstr "" -#: includes/wc-template-functions.php:772 +#: includes/wc-template-functions.php:776 msgid "Sort by newness" msgstr "" -#: includes/wc-template-functions.php:773 +#: includes/wc-template-functions.php:777 msgid "Sort by price: low to high" msgstr "" -#: includes/wc-template-functions.php:774 +#: includes/wc-template-functions.php:778 msgid "Sort by price: high to low" msgstr "" -#: includes/wc-template-functions.php:1105 +#: includes/wc-template-functions.php:1109 #: templates/checkout/form-shipping.php:67 #: templates/single-product/tabs/additional-information.php:25 msgid "Additional Information" msgstr "" -#: includes/wc-template-functions.php:1114 +#: includes/wc-template-functions.php:1118 msgid "Reviews (%d)" msgstr "" -#: includes/wc-template-functions.php:1246 +#: includes/wc-template-functions.php:1250 msgid "" "Use $args argument as an array instead. Deprecated argument will be removed " "in WC 2.2." msgstr "" -#: includes/wc-template-functions.php:1463 +#: includes/wc-template-functions.php:1467 msgid "Place order" msgstr "" -#: includes/wc-template-functions.php:1830 +#: includes/wc-template-functions.php:1834 msgid "Update country" msgstr "" -#: includes/wc-template-functions.php:1851 +#: includes/wc-template-functions.php:1855 #: templates/cart/shipping-calculator.php:63 msgid "Select a state…" msgstr "" -#: includes/wc-template-functions.php:1896 -#: includes/wc-template-functions.php:2043 +#: includes/wc-template-functions.php:1900 +#: includes/wc-template-functions.php:2047 msgid "Choose an option" msgstr "" @@ -16742,7 +19189,7 @@ msgstr "" msgid "Uncategorized" msgstr "" -#: includes/wc-user-functions.php:52 +#: includes/wc-user-functions.php:53 msgid "An account is already registered with your email address. Please login." msgstr "" @@ -16754,15 +19201,15 @@ msgstr "" msgid "An account is already registered with that username. Please choose another." msgstr "" -#: includes/wc-user-functions.php:86 +#: includes/wc-user-functions.php:85 msgid "Please enter an account password." msgstr "" -#: includes/wc-user-functions.php:112 +#: includes/wc-user-functions.php:111 msgid "ERROR" msgstr "" -#: includes/wc-user-functions.php:112 +#: includes/wc-user-functions.php:111 msgid "" "Couldn’t register you… please contact us if you continue to " "have problems." @@ -16820,8 +19267,8 @@ msgid "Max" msgstr "" #: includes/widgets/class-wc-widget-layered-nav-filters.php:97 -#: includes/widgets/class-wc-widget-rating-filter.php:174 -#: includes/widgets/class-wc-widget-rating-filter.php:175 +#: includes/widgets/class-wc-widget-rating-filter.php:177 +#: includes/widgets/class-wc-widget-rating-filter.php:178 msgid "Rated %s and above" msgstr "" @@ -17086,7 +19533,7 @@ msgstr "" msgid "Your cart is currently empty." msgstr "" -#: templates/cart/cart-empty.php:35 +#: templates/cart/cart-empty.php:36 msgid "Return To Shop" msgstr "" @@ -17211,7 +19658,7 @@ msgid "" "Shipping section." msgstr "" -#: templates/checkout/form-pay.php:69 +#: templates/checkout/form-pay.php:79 msgid "" "Sorry, it seems that there are no available payment methods for your " "location. Please contact us if you require assistance or wish to make " @@ -17416,7 +19863,7 @@ msgid "Cost: %s" msgstr "" #: templates/global/form-login.php:35 -#: templates/myaccount/form-lost-password.php:33 +#: templates/myaccount/form-lost-password.php:30 msgid "Username or email" msgstr "" @@ -17493,26 +19940,37 @@ msgstr "" msgid "Anti-spam" msgstr "" -#: templates/myaccount/form-lost-password.php:31 +#: templates/myaccount/form-lost-password.php:27 msgid "" "Lost your password? Please enter your username or email address. You will " "receive a link to create a new password via email." msgstr "" -#: templates/myaccount/form-lost-password.php:37 +#: templates/myaccount/form-lost-password.php:40 +msgid "Reset Password" +msgstr "" + +#: templates/myaccount/form-reset-password.php:27 msgid "Enter a new password below." msgstr "" -#: templates/myaccount/form-lost-password.php:40 +#: templates/myaccount/form-reset-password.php:30 msgid "New password" msgstr "" -#: templates/myaccount/form-lost-password.php:44 +#: templates/myaccount/form-reset-password.php:34 msgid "Re-enter new password" msgstr "" -#: templates/myaccount/form-lost-password.php:59 -msgid "Reset Password" +#: templates/myaccount/lost-password-confirmation.php:24 +msgid "Password reset email has been sent." +msgstr "" + +#: templates/myaccount/lost-password-confirmation.php:27 +msgid "" +"A password reset email has been sent to the email address on file for your " +"account, but may take several minutes to show up in your inbox. Please wait " +"at least 10 minutes before attempting another reset." msgstr "" #: templates/myaccount/my-account.php:30 @@ -17586,18 +20044,15 @@ msgstr "" msgid "No saved methods found." msgstr "" -#: templates/myaccount/view-order.php:30 templates/order/tracking.php:24 -msgid "" -"Order #%s was placed on %s and is currently %s." +#: templates/myaccount/view-order.php:32 templates/order/tracking.php:26 +msgid "Order #%1$s was placed on %2$s and is currently %3$s." msgstr "" -#: templates/myaccount/view-order.php:33 templates/order/tracking.php:27 +#: templates/myaccount/view-order.php:40 templates/order/tracking.php:34 msgid "Order Updates" msgstr "" -#: templates/myaccount/view-order.php:39 templates/order/tracking.php:33 +#: templates/myaccount/view-order.php:46 templates/order/tracking.php:40 msgid "l jS \\o\\f F Y, h:ia" msgstr "" @@ -17794,20 +20249,43 @@ msgstr "" msgid "http://woothemes.com" msgstr "" +#: i18n/locale-info.php:87 i18n/locale-info.php:97 i18n/locale-info.php:107 +msgctxt "Canadian Tax Rates" +msgid "PST" +msgstr "" + +#: i18n/locale-info.php:117 +msgctxt "Canadian Tax Rates" +msgid "QST" +msgstr "" + +#: i18n/locale-info.php:127 i18n/locale-info.php:134 i18n/locale-info.php:141 +#: i18n/locale-info.php:148 i18n/locale-info.php:155 +msgctxt "Canadian Tax Rates" +msgid "HST" +msgstr "" + +#: i18n/locale-info.php:162 i18n/locale-info.php:169 i18n/locale-info.php:176 +#: i18n/locale-info.php:183 i18n/locale-info.php:190 i18n/locale-info.php:197 +#: i18n/locale-info.php:204 i18n/locale-info.php:211 +msgctxt "Canadian Tax Rates" +msgid "GST" +msgstr "" + #: i18n/states/US.php:23 msgctxt "US state of Georgia" msgid "Georgia" msgstr "" -#: includes/abstracts/abstract-wc-order.php:1152 -#: includes/abstracts/abstract-wc-order.php:1163 -#: includes/admin/class-wc-admin-post-types.php:743 -#: includes/admin/class-wc-admin-post-types.php:752 +#: includes/abstracts/abstract-wc-order.php:1173 +#: includes/abstracts/abstract-wc-order.php:1184 +#: includes/admin/class-wc-admin-post-types.php:739 +#: includes/admin/class-wc-admin-post-types.php:748 msgctxt "full name" msgid "%1$s %2$s" msgstr "" -#: includes/abstracts/abstract-wc-product.php:1045 +#: includes/abstracts/abstract-wc-product.php:1032 msgctxt "min_price" msgid "From:" msgstr "" @@ -17939,23 +20417,20 @@ msgid "Webhooks" msgstr "" #: includes/admin/class-wc-admin-permalink-settings.php:68 -#: includes/class-wc-post-types.php:87 -#: includes/updates/woocommerce-update-2.0.php:46 +#: includes/class-wc-post-types.php:87 includes/wc-update-functions.php:51 msgctxt "slug" msgid "product-category" msgstr "" #: includes/admin/class-wc-admin-permalink-settings.php:78 -#: includes/class-wc-post-types.php:125 -#: includes/updates/woocommerce-update-2.0.php:47 +#: includes/class-wc-post-types.php:125 includes/wc-update-functions.php:52 msgctxt "slug" msgid "product-tag" msgstr "" #: includes/admin/class-wc-admin-permalink-settings.php:196 -#: includes/class-wc-post-types.php:235 -#: includes/updates/woocommerce-update-2.0.php:55 -#: includes/wc-core-functions.php:571 includes/wc-core-functions.php:606 +#: includes/class-wc-post-types.php:235 includes/wc-core-functions.php:791 +#: includes/wc-core-functions.php:826 includes/wc-update-functions.php:60 msgctxt "slug" msgid "product" msgstr "" @@ -17976,35 +20451,52 @@ msgctxt "default-slug" msgid "product" msgstr "" -#: includes/admin/class-wc-admin-post-types.php:760 +#: includes/admin/class-wc-admin-post-types.php:529 +msgctxt "Count / Limit" +msgid "%1$s / %2$s" +msgstr "" + +#: includes/admin/class-wc-admin-post-types.php:756 msgctxt "Order number by X" msgid "%s by %s" msgstr "" #: includes/admin/class-wc-admin-setup-wizard.php:232 -#: includes/class-wc-install.php:243 +#: includes/class-wc-install.php:296 msgctxt "Page title" msgid "Shop" msgstr "" #: includes/admin/class-wc-admin-setup-wizard.php:236 -#: includes/class-wc-install.php:248 +#: includes/class-wc-install.php:301 msgctxt "Page title" msgid "Cart" msgstr "" #: includes/admin/class-wc-admin-setup-wizard.php:240 -#: includes/class-wc-install.php:253 +#: includes/class-wc-install.php:306 msgctxt "Page title" msgid "Checkout" msgstr "" #: includes/admin/class-wc-admin-setup-wizard.php:246 -#: includes/class-wc-install.php:258 +#: includes/class-wc-install.php:311 msgctxt "Page title" msgid "My Account" msgstr "" +#: includes/admin/class-wc-admin-setup-wizard.php:602 +#: includes/gateways/cheque/class-wc-gateway-cheque.php:27 +#: includes/gateways/cheque/class-wc-gateway-cheque.php:63 +msgctxt "Check payment method" +msgid "Check Payments" +msgstr "" + +#: includes/gateways/cheque/class-wc-gateway-cheque.php:116 +msgctxt "Check payment method" +msgid "Awaiting check payment" +msgstr "" + #: includes/admin/class-wc-admin-webhooks-table-list.php:212 msgctxt "posts" msgid "All (%s)" @@ -18015,8 +20507,9 @@ msgstr[1] "" #: includes/admin/class-wc-admin-webhooks.php:49 #: includes/admin/class-wc-admin-webhooks.php:195 #: includes/admin/settings/views/html-webhooks-edit.php:16 -#: includes/api/class-wc-api-webhooks.php:197 -#: includes/api/v2/class-wc-api-webhooks.php:197 +#: includes/api/class-wc-rest-webhooks-controller.php:349 +#: includes/api/legacy/v2/class-wc-api-webhooks.php:197 +#: includes/api/legacy/v3/class-wc-api-webhooks.php:197 msgctxt "Webhook created on date parsed by strftime" msgid "%b %d, %Y @ %I:%M %p" msgstr "" @@ -18069,12 +20562,12 @@ msgctxt "placeholder" msgid "Notes about your order, e.g. special notes for delivery." msgstr "" -#: includes/class-wc-countries.php:552 +#: includes/class-wc-countries.php:566 msgctxt "placeholder" msgid "Street address" msgstr "" -#: includes/class-wc-countries.php:558 +#: includes/class-wc-countries.php:572 msgctxt "placeholder" msgid "Apartment, suite, unit etc. (optional)" msgstr "" @@ -18089,6 +20582,11 @@ msgctxt "Order #123 details" msgid "%s #%s details" msgstr "" +#: includes/admin/meta-boxes/class-wc-meta-box-order-data.php:184 +msgctxt "on date at time" +msgid "on %s @ %s" +msgstr "" + #: includes/admin/meta-boxes/class-wc-meta-box-product-data.php:249 #: includes/admin/views/html-bulk-edit-product.php:78 #: includes/admin/views/html-quick-edit-product.php:57 @@ -18142,6 +20640,11 @@ msgctxt "Settings group label" msgid "Checkout Process" msgstr "" +#: includes/admin/settings/views/html-admin-page-shipping-zone-methods.php:64 +msgctxt "Shipping Method Settings" +msgid "%s Settings" +msgstr "" + #: includes/admin/settings/views/html-settings-tax.php:98 msgctxt "%s will be a number eventually, but must be a string for now." msgid "%s items" @@ -18152,37 +20655,37 @@ msgctxt "Pagination, like `1 of 3`" msgid "%1$s of %2$s" msgstr "" -#: includes/admin/views/html-admin-page-status-report.php:442 +#: includes/admin/views/html-admin-page-status-report.php:447 msgctxt "Version info" msgid "%s is available" msgstr "" -#: includes/admin/views/html-admin-page-status-report.php:454 +#: includes/admin/views/html-admin-page-status-report.php:459 msgctxt "by author" msgid "by %s" msgstr "" -#: includes/admin/views/html-admin-page-status-report.php:529 +#: includes/admin/views/html-admin-page-status-report.php:534 msgctxt "Page setting" msgid "Shop Base" msgstr "" -#: includes/admin/views/html-admin-page-status-report.php:534 +#: includes/admin/views/html-admin-page-status-report.php:539 msgctxt "Page setting" msgid "Cart" msgstr "" -#: includes/admin/views/html-admin-page-status-report.php:539 +#: includes/admin/views/html-admin-page-status-report.php:544 msgctxt "Page setting" msgid "Checkout" msgstr "" -#: includes/admin/views/html-admin-page-status-report.php:544 +#: includes/admin/views/html-admin-page-status-report.php:549 msgctxt "Page setting" msgid "My Account" msgstr "" -#: includes/admin/views/html-admin-page-status-report.php:558 +#: includes/admin/views/html-admin-page-status-report.php:563 msgctxt "WC Pages links in the System Status" msgid "Edit %s page" msgstr "" @@ -18202,22 +20705,22 @@ msgctxt "FIELDNAME is a required field." msgid "%s is a required field." msgstr "" -#: includes/class-wc-install.php:242 +#: includes/class-wc-install.php:295 msgctxt "Page slug" msgid "shop" msgstr "" -#: includes/class-wc-install.php:247 +#: includes/class-wc-install.php:300 msgctxt "Page slug" msgid "cart" msgstr "" -#: includes/class-wc-install.php:252 +#: includes/class-wc-install.php:305 msgctxt "Page slug" msgid "checkout" msgstr "" -#: includes/class-wc-install.php:257 +#: includes/class-wc-install.php:310 msgctxt "Page slug" msgid "my-account" msgstr "" @@ -18227,44 +20730,44 @@ msgctxt "shop_order post type singular name" msgid "Order" msgstr "" -#: includes/class-wc-post-types.php:439 includes/wc-order-functions.php:192 +#: includes/class-wc-post-types.php:442 includes/wc-order-functions.php:192 msgctxt "Order status" msgid "Pending Payment" msgstr "" -#: includes/class-wc-post-types.php:447 includes/wc-order-functions.php:193 +#: includes/class-wc-post-types.php:450 includes/wc-order-functions.php:193 msgctxt "Order status" msgid "Processing" msgstr "" -#: includes/class-wc-post-types.php:455 includes/wc-order-functions.php:194 +#: includes/class-wc-post-types.php:458 includes/wc-order-functions.php:194 msgctxt "Order status" msgid "On Hold" msgstr "" -#: includes/class-wc-post-types.php:463 includes/wc-order-functions.php:195 +#: includes/class-wc-post-types.php:466 includes/wc-order-functions.php:195 msgctxt "Order status" msgid "Completed" msgstr "" -#: includes/class-wc-post-types.php:471 includes/wc-order-functions.php:196 +#: includes/class-wc-post-types.php:474 includes/wc-order-functions.php:196 msgctxt "Order status" msgid "Cancelled" msgstr "" -#: includes/class-wc-post-types.php:479 includes/wc-order-functions.php:197 +#: includes/class-wc-post-types.php:482 includes/wc-order-functions.php:197 msgctxt "Order status" msgid "Refunded" msgstr "" -#: includes/class-wc-post-types.php:487 includes/wc-order-functions.php:198 +#: includes/class-wc-post-types.php:490 includes/wc-order-functions.php:198 msgctxt "Order status" msgid "Failed" msgstr "" #: includes/class-wc-product-grouped.php:155 -#: includes/class-wc-product-variable.php:356 -#: includes/class-wc-product-variable.php:362 +#: includes/class-wc-product-variable.php:351 +#: includes/class-wc-product-variable.php:357 msgctxt "Price range: from-to" msgid "%1$s–%2$s" msgstr "" @@ -18284,12 +20787,12 @@ msgctxt "Item name in quotes" msgid "“%s”" msgstr "" -#: includes/wc-core-functions.php:83 includes/wc-order-functions.php:810 +#: includes/wc-core-functions.php:84 includes/wc-order-functions.php:825 msgctxt "Order date parsed by strftime" msgid "%b %d, %Y @ %I:%M %p" msgstr "" -#: includes/wc-template-functions.php:1418 +#: includes/wc-template-functions.php:1422 msgctxt "breadcrumb" msgid "Home" msgstr "" @@ -18324,4 +20827,4 @@ msgstr "" #: templates/product-searchform.php:29 msgctxt "submit button" msgid "Search" -msgstr "" +msgstr "" \ No newline at end of file diff --git a/i18n/locale-info.php b/i18n/locale-info.php index 0753522d784..ddc55d93b9e 100644 --- a/i18n/locale-info.php +++ b/i18n/locale-info.php @@ -84,7 +84,7 @@ return array( 'country' => 'CA', 'state' => 'BC', 'rate' => '7.0000', - 'name' => 'PST', + 'name' => _x( 'PST', 'Canadian Tax Rates', 'woocommerce' ), 'shipping' => false, 'priority' => 2 ) @@ -94,7 +94,7 @@ return array( 'country' => 'CA', 'state' => 'SK', 'rate' => '5.0000', - 'name' => 'PST', + 'name' => _x( 'PST', 'Canadian Tax Rates', 'woocommerce' ), 'shipping' => false, 'priority' => 2 ) @@ -104,7 +104,7 @@ return array( 'country' => 'CA', 'state' => 'MB', 'rate' => '8.0000', - 'name' => 'PST', + 'name' => _x( 'PST', 'Canadian Tax Rates', 'woocommerce' ), 'shipping' => false, 'priority' => 2 ) @@ -114,7 +114,7 @@ return array( 'country' => 'CA', 'state' => 'QC', 'rate' => '9.975', - 'name' => 'QST', + 'name' => _x( 'QST', 'Canadian Tax Rates', 'woocommerce' ), 'shipping' => false, 'priority' => 2 ) @@ -124,91 +124,91 @@ return array( 'country' => 'CA', 'state' => 'ON', 'rate' => '13.0000', - 'name' => 'HST', + 'name' => _x( 'HST', 'Canadian Tax Rates', 'woocommerce' ), 'shipping' => true ), array( 'country' => 'CA', 'state' => 'NL', 'rate' => '13.0000', - 'name' => 'HST', + 'name' => _x( 'HST', 'Canadian Tax Rates', 'woocommerce' ), 'shipping' => true ), array( 'country' => 'CA', 'state' => 'NB', 'rate' => '13.0000', - 'name' => 'HST', + 'name' => _x( 'HST', 'Canadian Tax Rates', 'woocommerce' ), 'shipping' => true ), array( 'country' => 'CA', 'state' => 'PE', 'rate' => '14.0000', - 'name' => 'HST', + 'name' => _x( 'HST', 'Canadian Tax Rates', 'woocommerce' ), 'shipping' => true ), array( 'country' => 'CA', 'state' => 'NS', 'rate' => '15.0000', - 'name' => 'HST', + 'name' => _x( 'HST', 'Canadian Tax Rates', 'woocommerce' ), 'shipping' => true ), array( 'country' => 'CA', 'state' => 'AB', 'rate' => '5.0000', - 'name' => 'GST', + 'name' => _x( 'GST', 'Canadian Tax Rates', 'woocommerce' ), 'shipping' => true ), array( 'country' => 'CA', 'state' => 'BC', 'rate' => '5.0000', - 'name' => 'GST', + 'name' => _x( 'GST', 'Canadian Tax Rates', 'woocommerce' ), 'shipping' => true ), array( 'country' => 'CA', 'state' => 'NT', 'rate' => '5.0000', - 'name' => 'GST', + 'name' => _x( 'GST', 'Canadian Tax Rates', 'woocommerce' ), 'shipping' => true ), array( 'country' => 'CA', 'state' => 'NU', 'rate' => '5.0000', - 'name' => 'GST', + 'name' => _x( 'GST', 'Canadian Tax Rates', 'woocommerce' ), 'shipping' => true ), array( 'country' => 'CA', 'state' => 'YT', 'rate' => '5.0000', - 'name' => 'GST', + 'name' => _x( 'GST', 'Canadian Tax Rates', 'woocommerce' ), 'shipping' => true ), array( 'country' => 'CA', 'state' => 'SK', 'rate' => '5.0000', - 'name' => 'GST', + 'name' => _x( 'GST', 'Canadian Tax Rates', 'woocommerce' ), 'shipping' => true ), array( 'country' => 'CA', 'state' => 'MB', 'rate' => '5.0000', - 'name' => 'GST', + 'name' => _x( 'GST', 'Canadian Tax Rates', 'woocommerce' ), 'shipping' => true ), array( 'country' => 'CA', 'state' => 'QC', 'rate' => '5.0000', - 'name' => 'GST', + 'name' => _x( 'GST', 'Canadian Tax Rates', 'woocommerce' ), 'shipping' => true ) ) diff --git a/includes/abstracts/abstract-wc-order.php b/includes/abstracts/abstract-wc-order.php index 4eb73b9869f..08bad478406 100644 --- a/includes/abstracts/abstract-wc-order.php +++ b/includes/abstracts/abstract-wc-order.php @@ -663,9 +663,11 @@ abstract class WC_Abstract_Order { * @return bool success or fail. */ public function calculate_taxes() { - $tax_total = 0; - $taxes = array(); - $tax_based_on = get_option( 'woocommerce_tax_based_on' ); + $tax_total = 0; + $shipping_tax_total = 0; + $taxes = array(); + $shipping_taxes = array(); + $tax_based_on = get_option( 'woocommerce_tax_based_on' ); // If is_vat_exempt is 'yes', or wc_tax_enabled is false, return and do nothing. if ( 'yes' === $this->is_vat_exempt or ! wc_tax_enabled() ) { @@ -729,32 +731,51 @@ abstract class WC_Abstract_Order { } } - // Now calculate shipping tax - $shipping_methods = $this->get_shipping_methods(); - if ( ! empty( $shipping_methods ) ) { - $matched_tax_rates = array(); - $tax_rates = WC_Tax::find_rates( array( - 'country' => $country, - 'state' => $state, - 'postcode' => $postcode, - 'city' => $city, - 'tax_class' => '' - ) ); - if ( ! empty( $tax_rates ) ) { - foreach ( $tax_rates as $key => $rate ) { - if ( isset( $rate['shipping'] ) && 'yes' === $rate['shipping'] ) { - $matched_tax_rates[ $key ] = $rate; + + // Calc taxes for shipping + foreach ( $this->get_shipping_methods() as $item_id => $item ) { + $shipping_tax_class = get_option( 'woocommerce_shipping_tax_class' ); + + // Inherit tax class from items + if ( '' === $shipping_tax_class ) { + $tax_classes = WC_Tax::get_tax_classes(); + + foreach ( $tax_classes as $tax_class ) { + $tax_class = sanitize_title( $tax_class ); + if ( in_array( $tax_class, $found_tax_classes ) ) { + $tax_rates = WC_Tax::find_shipping_rates( array( + 'country' => $args['country'], + 'state' => $args['state'], + 'postcode' => $args['postcode'], + 'city' => $args['city'], + 'tax_class' => $tax_class, + ) ); + break; } } + } else { + $tax_rates = WC_Tax::find_shipping_rates( array( + 'country' => $args['country'], + 'state' => $args['state'], + 'postcode' => $args['postcode'], + 'city' => $args['city'], + 'tax_class' => 'standard' === $shipping_tax_class ? '' : $shipping_tax_class, + ) ); } - $shipping_taxes = WC_Tax::calc_shipping_tax( $this->order_shipping, $matched_tax_rates ); - $shipping_tax_total = WC_Tax::round( array_sum( $shipping_taxes ) ); - } else { - $shipping_taxes = array(); - $shipping_tax_total = 0; + $line_taxes = WC_Tax::calc_tax( $item->get_total(), $tax_rates, false ); + $line_tax = max( 0, array_sum( $line_taxes ) ); + $shipping_tax_total += $line_tax; + + wc_update_order_item_meta( $item_id, '_line_tax', wc_format_decimal( $line_tax ) ); + wc_update_order_item_meta( $item_id, '_line_tax_data', array( 'total' => $line_taxes ) ); + + // Sum the item taxes + foreach ( array_keys( $shipping_taxes + $line_taxes ) as $key ) { + $shipping_taxes[ $key ] = ( isset( $line_taxes[ $key ] ) ? $line_taxes[ $key ] : 0 ) + ( isset( $shipping_taxes[ $key ] ) ? $shipping_taxes[ $key ] : 0 ); + } } // Save tax totals @@ -1661,7 +1682,7 @@ abstract class WC_Abstract_Order { $shipping_methods = $this->get_shipping_methods(); foreach ( $shipping_methods as $shipping ) { - $labels[] = $shipping['name']; + $labels[] = $shipping['name'] ? $shipping['name'] : __( 'Shipping', 'woocommerce' ); } } @@ -2006,7 +2027,7 @@ abstract class WC_Abstract_Order { $args = wp_parse_args( $args, $defaults ); $template = $args['plain_text'] ? 'emails/plain/email-order-items.php' : 'emails/email-order-items.php'; - wc_get_template( $template, array( + wc_get_template( $template, apply_filters( 'woocommerce_email_order_items_args', array( 'order' => $this, 'items' => $this->get_items(), 'show_download_links' => $this->is_download_permitted() && ! $args['sent_to_admin'], @@ -2016,7 +2037,7 @@ abstract class WC_Abstract_Order { 'image_size' => $args['image_size'], 'plain_text' => $args['plain_text'], 'sent_to_admin' => $args['sent_to_admin'] - ) ); + ) ) ); return apply_filters( 'woocommerce_email_order_items_table', ob_get_clean(), $this ); } @@ -2338,7 +2359,7 @@ abstract class WC_Abstract_Order { } if ( ! wp_update_post( $update_post_data ) ) { - $this->add_order_note( sprintf( __( 'Unable to update order from %s to %s.', 'woocommerce' ), wc_get_order_status_name( $old_status ), wc_get_order_status_name( $new_status ) ), 0, $manual ); + $this->add_order_note( sprintf( __( 'Unable to update order from %1$s to %2$s.', 'woocommerce' ), wc_get_order_status_name( $old_status ), wc_get_order_status_name( $new_status ) ), 0, $manual ); return false; } @@ -2347,7 +2368,7 @@ abstract class WC_Abstract_Order { // Status was changed. if ( $new_status !== $old_status ) { - $this->add_order_note( trim( $note . ' ' . sprintf( __( 'Order status changed from %s to %s.', 'woocommerce' ), wc_get_order_status_name( $old_status ), wc_get_order_status_name( $new_status ) ) ), 0, $manual ); + $this->add_order_note( trim( $note . ' ' . sprintf( __( 'Order status changed from %1$s to %2$s.', 'woocommerce' ), wc_get_order_status_name( $old_status ), wc_get_order_status_name( $new_status ) ) ), 0, $manual ); do_action( 'woocommerce_order_status_' . $old_status . '_to_' . $new_status, $this->id ); do_action( 'woocommerce_order_status_changed', $this->id, $old_status, $new_status ); } else { @@ -2594,9 +2615,9 @@ abstract class WC_Abstract_Order { $item_name = $_product->get_sku() ? $_product->get_sku(): $item['product_id']; if ( isset( $item['variation_id'] ) && $item['variation_id'] ) { - $this->add_order_note( sprintf( __( 'Item %s variation #%s stock reduced from %s to %s.', 'woocommerce' ), $item_name, $item['variation_id'], $new_stock + $qty, $new_stock) ); + $this->add_order_note( sprintf( __( 'Item %1$s variation #%2$s stock reduced from %3$s to %4$s.', 'woocommerce' ), $item_name, $item['variation_id'], $new_stock + $qty, $new_stock) ); } else { - $this->add_order_note( sprintf( __( 'Item %s stock reduced from %s to %s.', 'woocommerce' ), $item_name, $new_stock + $qty, $new_stock) ); + $this->add_order_note( sprintf( __( 'Item %1$s stock reduced from %2$s to %3$s.', 'woocommerce' ), $item_name, $new_stock + $qty, $new_stock) ); } $this->send_stock_notifications( $_product, $new_stock, $item['qty'] ); } @@ -2716,6 +2737,6 @@ abstract class WC_Abstract_Order { * @return bool */ public function is_editable() { - return apply_filters( 'wc_order_is_editable', in_array( $this->get_status(), array( 'pending', 'on-hold', 'auto-draft' ) ), $this ); + return apply_filters( 'wc_order_is_editable', in_array( $this->get_status(), array( 'pending', 'on-hold', 'auto-draft', 'failed' ) ), $this ); } } diff --git a/includes/abstracts/abstract-wc-payment-gateway.php b/includes/abstracts/abstract-wc-payment-gateway.php index ca572655a38..cd2525c7c0f 100644 --- a/includes/abstracts/abstract-wc-payment-gateway.php +++ b/includes/abstracts/abstract-wc-payment-gateway.php @@ -125,7 +125,7 @@ abstract class WC_Payment_Gateway extends WC_Settings_API { return $this->tokens; } - if ( is_user_logged_in() && $this->supports( 'tokenization' ) && is_checkout() ) { + if ( is_user_logged_in() && $this->supports( 'tokenization' ) ) { $this->tokens = WC_Payment_Tokens::get_customer_tokens( get_current_user_id(), $this->id ); } @@ -382,12 +382,12 @@ abstract class WC_Payment_Gateway extends WC_Settings_API { * @since 2.6.0 */ public function saved_payment_methods() { - $html = '

    '; + $html = '

      '; foreach ( $this->get_tokens() as $token ) { - $html .= $this->saved_payment_method( $token ); + $html .= '
    • ' . $this->saved_payment_method( $token ) . '
    • '; } - $html .= '

      '; - $html .= '
      '; + $html .= '
    • ' . $this->use_new_payment_method_checkbox() . '
    • '; + $html .= '
    '; echo apply_filters( 'wc_payment_gateway_form_saved_payment_methods_html', $html, $this ); } @@ -411,7 +411,7 @@ abstract class WC_Payment_Gateway extends WC_Settings_API { ); $html .= $this->saved_payment_method_title( $token ); - $html .= '
    '; + $html .= ''; return apply_filters( 'wc_payment_gateway_form_saved_payment_method_html', $html, $token, $this ); } @@ -474,9 +474,9 @@ abstract class WC_Payment_Gateway extends WC_Settings_API { $label = ( ! empty( $this->new_method_label ) ? esc_html( $this->new_method_label ) : esc_html__( 'Use a new payment method', 'woocommerce' ) ); $html = ''; $html .= ''; - echo '
    ' . $html . '
    '; + return $html; } /** @@ -491,5 +491,4 @@ abstract class WC_Payment_Gateway extends WC_Settings_API { $cc_form->supports = $this->supports; $cc_form->form(); } - } diff --git a/includes/abstracts/abstract-wc-product.php b/includes/abstracts/abstract-wc-product.php index ff020d7d5da..1c0097548d2 100644 --- a/includes/abstracts/abstract-wc-product.php +++ b/includes/abstracts/abstract-wc-product.php @@ -610,16 +610,20 @@ class WC_Product { * @return bool */ public function is_in_stock() { - $status = false; - if ( $this->managing_stock() && $this->backorders_allowed() ) { - $status = true; - } elseif ( $this->managing_stock() && $this->get_total_stock() <= get_option( 'woocommerce_notify_no_stock_amount' ) ) { + $status = $this->stock_status === 'instock'; + + /** + * Sanity check to ensure stock qty is not lower than 0 but still listed + * instock. + * + * Check is not required for products on backorder since they can be + * instock regardless of actual stock quantity. + */ + if ( $this->managing_stock() && ! $this->backorders_allowed() && $this->get_total_stock() <= get_option( 'woocommerce_notify_no_stock_amount' ) ) { $status = false; - } else { - $status = $this->stock_status === 'instock'; } - return apply_filters( 'woocommerce_product_is_in_stock', $status); + return apply_filters( 'woocommerce_product_is_in_stock', $status ); } /** @@ -666,61 +670,44 @@ class WC_Product { * @return string */ public function get_availability() { - $availability = $class = ''; - - if ( $this->managing_stock() ) { - - if ( $this->is_in_stock() && $this->get_total_stock() > get_option( 'woocommerce_notify_no_stock_amount' ) ) { - - switch ( get_option( 'woocommerce_stock_format' ) ) { - - case 'no_amount' : - $availability = __( 'In stock', 'woocommerce' ); - break; - - case 'low_amount' : - if ( $this->get_total_stock() <= get_option( 'woocommerce_notify_low_stock_amount' ) ) { - $availability = sprintf( __( 'Only %s left in stock', 'woocommerce' ), $this->get_total_stock() ); - - if ( $this->backorders_allowed() && $this->backorders_require_notification() ) { - $availability .= ' ' . __( '(can be backordered)', 'woocommerce' ); - } - } else { - $availability = __( 'In stock', 'woocommerce' ); - } - break; - - default : - $availability = sprintf( __( '%s in stock', 'woocommerce' ), $this->get_total_stock() ); - - if ( $this->backorders_allowed() && $this->backorders_require_notification() ) { - $availability .= ' ' . __( '(can be backordered)', 'woocommerce' ); - } - break; - } - - $class = 'in-stock'; - - } elseif ( $this->backorders_allowed() && $this->backorders_require_notification() ) { - - $availability = __( 'Available on backorder', 'woocommerce' ); - $class = 'available-on-backorder'; - - } elseif ( $this->backorders_allowed() ) { - - $availability = __( 'In stock', 'woocommerce' ); - $class = 'in-stock'; - - } else { - - $availability = __( 'Out of stock', 'woocommerce' ); - $class = 'out-of-stock'; - } - - } elseif ( ! $this->is_in_stock() ) { + // Default to in-stock + $availability = __( 'In stock', 'woocommerce' ); + $class = 'in-stock'; + // If out of stock, this takes priority over all other settings. + if ( ! $this->is_in_stock() ) { $availability = __( 'Out of stock', 'woocommerce' ); $class = 'out-of-stock'; + + // Any further we can assume status is set to in stock. + } elseif ( $this->managing_stock() && $this->is_on_backorder( 1 ) ) { + $availability = __( 'Available on backorder', 'woocommerce' ); + $class = 'available-on-backorder'; + + } elseif ( $this->managing_stock() ) { + switch ( get_option( 'woocommerce_stock_format' ) ) { + case 'no_amount' : + $availability = __( 'In stock', 'woocommerce' ); + break; + case 'low_amount' : + if ( $this->get_total_stock() <= get_option( 'woocommerce_notify_low_stock_amount' ) ) { + $availability = sprintf( __( 'Only %s left in stock', 'woocommerce' ), $this->get_total_stock() ); + + if ( $this->backorders_allowed() && $this->backorders_require_notification() ) { + $availability .= ' ' . __( '(also available on backorder)', 'woocommerce' ); + } + } else { + $availability = __( 'In stock', 'woocommerce' ); + } + break; + default : + $availability = sprintf( __( '%s in stock', 'woocommerce' ), $this->get_total_stock() ); + + if ( $this->backorders_allowed() && $this->backorders_require_notification() ) { + $availability .= ' ' . __( '(also available on backorder)', 'woocommerce' ); + } + break; + } } return apply_filters( 'woocommerce_get_availability', array( 'availability' => $availability, 'class' => $class ), $this ); @@ -1557,14 +1544,13 @@ class WC_Product { * @return string Formatted product name */ public function get_formatted_name() { - if ( $this->get_sku() ) { $identifier = $this->get_sku(); } else { $identifier = '#' . $this->id; } - return sprintf( __( '%s – %s', 'woocommerce' ), $identifier, $this->get_title() ); + return sprintf( '%s – %s', $identifier, $this->get_title() ); } /** diff --git a/includes/abstracts/abstract-wc-rest-controller.php b/includes/abstracts/abstract-wc-rest-controller.php new file mode 100644 index 00000000000..eac54f4a357 --- /dev/null +++ b/includes/abstracts/abstract-wc-rest-controller.php @@ -0,0 +1,175 @@ +rest_base ); + } + + /** + * Check batch limit. + * + * @param array $items Request items. + * @return bool|WP_Error + */ + protected function check_batch_limit( $items ) { + $limit = apply_filters( 'woocommerce_rest_batch_items_limit', 100, $this->get_normalized_rest_base() ); + $total = 0; + + if ( ! empty( $items['create'] ) ) { + $total += count( $items['create'] ); + } + + if ( ! empty( $items['update'] ) ) { + $total += count( $items['update'] ); + } + + if ( ! empty( $items['delete'] ) ) { + $total += count( $items['delete'] ); + } + + if ( $total > $limit ) { + return new WP_Error( 'woocommerce_rest_request_entity_too_large', sprintf( __( 'Unable to accept more than %s items for this request.', 'woocommerce' ), $limit ), array( 'status' => 413 ) ); + } + + return true; + } + + /** + * Bulk create, update and delete items. + * + * @param WP_REST_Request $request Full details about the request. + * @return array Of WP_Error or WP_REST_Response. + */ + public function batch_items( $request ) { + /** @var WP_REST_Server $wp_rest_server */ + global $wp_rest_server; + + // Get the request params. + $items = array_filter( $request->get_params() ); + $response = array(); + + // Check batch limit. + $limit = $this->check_batch_limit( $items ); + if ( is_wp_error( $limit ) ) { + return $limit; + } + + if ( ! empty( $items['create'] ) ) { + foreach ( $items['create'] as $item ) { + $_item = new WP_REST_Request( 'POST' ); + $_item->set_body_params( $item ); + $_response = $this->create_item( $_item ); + + if ( is_wp_error( $_response ) ) { + $response['create'][] = array( + 'id' => 0, + 'error' => array( 'code' => $_response->get_error_code(), 'message' => $_response->get_error_message(), 'data' => $_response->get_error_data() ), + ); + } else { + $response['create'][] = $wp_rest_server->response_to_data( $_response, '' ); + } + } + } + + if ( ! empty( $items['update'] ) ) { + foreach ( $items['update'] as $item ) { + $_item = new WP_REST_Request( 'PUT' ); + $_item->set_body_params( $item ); + $_response = $this->update_item( $_item ); + + if ( is_wp_error( $_response ) ) { + $response['update'][] = array( + 'id' => $item['id'], + 'error' => array( 'code' => $_response->get_error_code(), 'message' => $_response->get_error_message(), 'data' => $_response->get_error_data() ), + ); + } else { + $response['update'][] = $wp_rest_server->response_to_data( $_response, '' ); + } + } + } + + if ( ! empty( $items['delete'] ) ) { + foreach ( $items['delete'] as $id ) { + $_item = new WP_REST_Request( 'DELETE' ); + $_item->set_query_params( array( 'id' => $id, 'force' => true ) ); + $_response = $this->delete_item( $_item ); + + if ( is_wp_error( $_response ) ) { + $response['delete'][] = array( + 'id' => $id, + 'error' => array( 'code' => $_response->get_error_code(), 'message' => $_response->get_error_message(), 'data' => $_response->get_error_data() ), + ); + } else { + $response['delete'][] = $wp_rest_server->response_to_data( $_response, '' ); + } + } + } + + return $response; + } + + /** + * Get the batch schema, conforming to JSON Schema. + * + * @return array + */ + public function get_public_batch_schema() { + $schema = array( + '$schema' => 'http://json-schema.org/draft-04/schema#', + 'title' => 'batch', + 'type' => 'object', + 'properties' => array( + 'create' => array( + 'description' => __( 'List of created resources.', 'woocommerce' ), + 'type' => 'array', + 'context' => array( 'view', 'edit' ), + ), + 'update' => array( + 'description' => __( 'List of updated resources.', 'woocommerce' ), + 'type' => 'array', + 'context' => array( 'view', 'edit' ), + ), + 'delete' => array( + 'description' => __( 'List of delete resources.', 'woocommerce' ), + 'type' => 'array', + 'context' => array( 'view', 'edit' ), + ), + ), + ); + + return $schema; + } +} diff --git a/includes/abstracts/abstract-wc-rest-posts-controller.php b/includes/abstracts/abstract-wc-rest-posts-controller.php index bb3a96f7497..4674733f6cc 100644 --- a/includes/abstracts/abstract-wc-rest-posts-controller.php +++ b/includes/abstracts/abstract-wc-rest-posts-controller.php @@ -12,7 +12,7 @@ if ( ! defined( 'ABSPATH' ) ) { * @package WooCommerce/Abstracts * @version 2.6.0 */ -abstract class WC_REST_Posts_Controller extends WP_REST_Controller { +abstract class WC_REST_Posts_Controller extends WC_REST_Controller { /** * Endpoint namespace. @@ -118,6 +118,20 @@ abstract class WC_REST_Posts_Controller extends WP_REST_Controller { return true; } + /** + * Check if a given request has access batch create, update and delete items. + * + * @param WP_REST_Request $request Full details about the request. + * @return boolean + */ + public function batch_items_permissions_check( $request ) { + if ( ! wc_rest_check_post_permissions( $this->post_type, 'batch' ) ) { + return new WP_Error( 'woocommerce_rest_cannot_batch', __( 'Sorry, you are not allowed to manipule this resource.', 'woocommerce' ), array( 'status' => rest_authorization_required_code() ) ); + } + + return true; + } + /** * Get a single item. * diff --git a/includes/abstracts/abstract-wc-rest-terms-controller.php b/includes/abstracts/abstract-wc-rest-terms-controller.php index 4b7ec89d9b4..0766ab85da9 100644 --- a/includes/abstracts/abstract-wc-rest-terms-controller.php +++ b/includes/abstracts/abstract-wc-rest-terms-controller.php @@ -12,7 +12,7 @@ if ( ! defined( 'ABSPATH' ) ) { * @package WooCommerce/Abstracts * @version 2.6.0 */ -abstract class WC_REST_Terms_Controller extends WP_REST_Controller { +abstract class WC_REST_Terms_Controller extends WC_REST_Controller { /** * Route base. @@ -80,6 +80,16 @@ abstract class WC_REST_Terms_Controller extends WP_REST_Controller { ), 'schema' => array( $this, 'get_public_item_schema' ), ) ); + + register_rest_route( $this->namespace, '/' . $this->rest_base . '/batch', array( + array( + 'methods' => WP_REST_Server::EDITABLE, + 'callback' => array( $this, 'batch_items' ), + 'permission_callback' => array( $this, 'batch_items_permissions_check' ), + 'args' => $this->get_endpoint_args_for_item_schema( WP_REST_Server::EDITABLE ), + ), + 'schema' => array( $this, 'get_public_batch_schema' ), + ) ); } /** @@ -177,6 +187,25 @@ abstract class WC_REST_Terms_Controller extends WP_REST_Controller { return true; } + /** + * Check if a given request has access batch create, update and delete items. + * + * @param WP_REST_Request $request Full details about the request. + * @return boolean + */ + public function batch_items_permissions_check( $request ) { + $permissions = $this->check_permissions( $request, 'batch' ); + if ( is_wp_error( $permissions ) ) { + return $permissions; + } + + if ( ! $permissions ) { + return new WP_Error( 'woocommerce_rest_cannot_batch', __( 'Sorry, you are not allowed to manipule this resource.', 'woocommerce' ), array( 'status' => rest_authorization_required_code() ) ); + } + + return true; + } + /** * Check permissions. * diff --git a/includes/abstracts/abstract-wc-settings-api.php b/includes/abstracts/abstract-wc-settings-api.php index 198b729fec4..7b2ed46af10 100644 --- a/includes/abstracts/abstract-wc-settings-api.php +++ b/includes/abstracts/abstract-wc-settings-api.php @@ -42,6 +42,12 @@ abstract class WC_Settings_API { */ public $form_fields = array(); + /** + * The posted settings data. When empty, $_POST data will be used. + * @var array + */ + protected $data = array(); + /** * Get the form fields after they are initialized. * @return array of options @@ -122,18 +128,35 @@ abstract class WC_Settings_API { return $this->validate_text_field( $key, $value ); } + /** + * Sets the POSTed data. This method can be used to set specific data, instead + * of taking it from the $_POST array. + * @param array data + */ + public function set_post_data( $data = array() ) { + $this->data = $data; + } + + /** + * Returns the POSTed data, to be used to save the settings. + * @return array + */ + public function get_post_data() { + if ( ! empty( $this->data ) && is_array( $this->data ) ) { + return $this->data; + } + return $_POST; + } + /** * Processes and saves options. * If there is an error thrown, will continue to save and validate fields, but will leave the erroring field out. - * @param array $post_data Defaults to $_POST but can be passed in. * @return bool was anything saved? */ - public function process_admin_options( $post_data = array() ) { + public function process_admin_options() { $this->init_settings(); - if ( empty( $post_data ) ) { - $post_data = $_POST; - } + $post_data = $this->get_post_data(); foreach ( $this->get_form_fields() as $key => $field ) { if ( 'title' !== $this->get_field_type( $field ) ) { diff --git a/includes/abstracts/abstract-wc-shipping-method.php b/includes/abstracts/abstract-wc-shipping-method.php index 10bba012984..7ad8eb8462f 100644 --- a/includes/abstracts/abstract-wc-shipping-method.php +++ b/includes/abstracts/abstract-wc-shipping-method.php @@ -207,19 +207,40 @@ abstract class WC_Shipping_Method extends WC_Settings_API { return $this->rates; } + /** + * Returns a rate ID based on this methods ID and instance, with an optional + * suffix if distinguishing between multiple rates. + * @since 2.6.0 + * @param string $suffix + * @return string + */ + public function get_rate_id( $suffix = '' ) { + $rate_id = array( $this->id ); + + if ( $this->instance_id ) { + $rate_id[] = $this->instance_id; + } + + if ( $suffix ) { + $rate_id[] = $suffix; + } + + return implode( ':', $rate_id ); + } + /** * Add a shipping rate. If taxes are not set they will be calculated based on cost. * @param array $args (default: array()) - * @param array $package option to store information about the package in meta. */ - public function add_rate( $args = array(), $package = false ) { + public function add_rate( $args = array() ) { $args = wp_parse_args( $args, array( - 'id' => '', // ID for the rate + 'id' => $this->get_rate_id(), // ID for the rate. If not passed, this id:instance default will be used. 'label' => '', // Label for the rate 'cost' => '0', // Amount or array of costs (per item shipping) 'taxes' => '', // Pass taxes, or leave empty to have it calculated for you, or 'false' to disable calculations 'calc_tax' => 'per_order', // Calc tax per_order or per_item. Per item needs an array of costs - 'meta_data' => array() // Array of misc meta data to store along with this rate - key value pairs. + 'meta_data' => array(), // Array of misc meta data to store along with this rate - key value pairs. + 'package' => false, // Package array this rate was generated for @since 2.6.0 ) ); // ID and label are required @@ -249,9 +270,9 @@ abstract class WC_Shipping_Method extends WC_Settings_API { } // Store package data - if ( $package ) { + if ( $args['package'] ) { $items_in_package = array(); - foreach ( $package['contents'] as $item ) { + foreach ( $args['package']['contents'] as $item ) { $product = $item['data']; $items_in_package[] = $product->get_title() . ' × ' . $item['quantity']; } @@ -462,16 +483,13 @@ abstract class WC_Shipping_Method extends WC_Settings_API { * Processes and saves options. * If there is an error thrown, will continue to save and validate fields, but will leave the erroring field out. * @since 2.6.0 - * @param array $post_data Defaults to $_POST but can be passed in. * @return bool was anything saved? */ - public function process_admin_options( $post_data = array() ) { + public function process_admin_options() { if ( $this->instance_id ) { $this->init_instance_settings(); - if ( empty( $post_data ) ) { - $post_data = $_POST; - } + $post_data = $this->get_post_data(); foreach ( $this->get_instance_form_fields() as $key => $field ) { if ( 'title' !== $this->get_field_type( $field ) ) { diff --git a/includes/admin/class-wc-admin-assets.php b/includes/admin/class-wc-admin-assets.php index 7307dab8552..14401273144 100644 --- a/includes/admin/class-wc-admin-assets.php +++ b/includes/admin/class-wc-admin-assets.php @@ -161,7 +161,7 @@ class WC_Admin_Assets { // Products if ( in_array( $screen_id, array( 'edit-product' ) ) ) { - wp_register_script( 'woocommerce_quick-edit', WC()->plugin_url() . '/assets/js/admin/quick-edit' . $suffix . '.js', array( 'jquery' ), WC_VERSION ); + wp_register_script( 'woocommerce_quick-edit', WC()->plugin_url() . '/assets/js/admin/quick-edit' . $suffix . '.js', array( 'jquery', 'woocommerce_admin' ), WC_VERSION ); wp_enqueue_script( 'woocommerce_quick-edit' ); } @@ -208,11 +208,8 @@ class WC_Admin_Assets { wp_localize_script( 'wc-admin-variation-meta-boxes', 'woocommerce_admin_meta_boxes_variations', $params ); } if ( in_array( str_replace( 'edit-', '', $screen_id ), wc_get_order_types( 'order-meta-boxes' ) ) ) { - wp_register_script( 'wc-admin-order-meta-boxes', WC()->plugin_url() . '/assets/js/admin/meta-boxes-order' . $suffix . '.js', array( 'wc-admin-meta-boxes' ), WC_VERSION ); - wp_register_script( 'wc-admin-order-meta-boxes-modal', WC()->plugin_url() . '/assets/js/admin/order-backbone-modal' . $suffix . '.js', array( 'underscore', 'backbone', 'wp-util', 'wc-admin-order-meta-boxes' ), WC_VERSION ); - + wp_register_script( 'wc-admin-order-meta-boxes', WC()->plugin_url() . '/assets/js/admin/meta-boxes-order' . $suffix . '.js', array( 'wc-admin-meta-boxes', 'wc-backbone-modal' ), WC_VERSION ); wp_enqueue_script( 'wc-admin-order-meta-boxes' ); - wp_enqueue_script( 'wc-admin-order-meta-boxes-modal' ); $params = array( 'countries' => json_encode( array_merge( WC()->countries->get_allowed_country_states(), WC()->countries->get_shipping_country_states() ) ), @@ -286,7 +283,8 @@ class WC_Admin_Assets { 'i18n_download_permission_fail' => __( 'Could not grant access - the user may already have permission for this file or billing email is not set. Ensure the billing email is set, and the order has been saved.', 'woocommerce' ), 'i18n_permission_revoke' => __( 'Are you sure you want to revoke access to this download?', 'woocommerce' ), 'i18n_tax_rate_already_exists' => __( 'You cannot add the same tax rate twice!', 'woocommerce' ), - 'i18n_product_type_alert' => __( 'Your product has variations! Before changing the product type, it is a good idea to delete the variations to avoid errors in the stock reports.', 'woocommerce' ) + 'i18n_product_type_alert' => __( 'Your product has variations! Before changing the product type, it is a good idea to delete the variations to avoid errors in the stock reports.', 'woocommerce' ), + 'i18n_delete_note' => __( 'Are you sure you wish to delete this note? This action cannot be undone.', 'woocommerce' ) ); wp_localize_script( 'wc-admin-meta-boxes', 'woocommerce_admin_meta_boxes', $params ); diff --git a/includes/admin/class-wc-admin-attributes.php b/includes/admin/class-wc-admin-attributes.php index 98d26d00f62..453de2c551b 100644 --- a/includes/admin/class-wc-admin-attributes.php +++ b/includes/admin/class-wc-admin-attributes.php @@ -167,11 +167,19 @@ class WC_Admin_Attributes { ); // Update taxonomy ordering term meta - $wpdb->update( - $wpdb->prefix . 'woocommerce_termmeta', - array( 'meta_key' => 'order_pa_' . sanitize_title( $attribute['attribute_name'] ) ), - array( 'meta_key' => 'order_pa_' . sanitize_title( $old_attribute_name ) ) - ); + if ( get_option( 'db_version' ) < 34370 ) { + $wpdb->update( + $wpdb->prefix . 'woocommerce_termmeta', + array( 'meta_key' => 'order_pa_' . sanitize_title( $attribute['attribute_name'] ) ), + array( 'meta_key' => 'order_pa_' . sanitize_title( $old_attribute_name ) ) + ); + } else { + $wpdb->update( + $wpdb->termmeta, + array( 'meta_key' => 'order_pa_' . sanitize_title( $attribute['attribute_name'] ) ), + array( 'meta_key' => 'order_pa_' . sanitize_title( $old_attribute_name ) ) + ); + } // Update product attributes which use this taxonomy $old_attribute_name_length = strlen( $old_attribute_name ) + 3; @@ -204,15 +212,17 @@ class WC_Admin_Attributes { */ private static function process_delete_attribute() { global $wpdb; + $attribute_id = absint( $_GET['delete'] ); + check_admin_referer( 'woocommerce-delete-attribute_' . $attribute_id ); $attribute_name = $wpdb->get_var( "SELECT attribute_name FROM {$wpdb->prefix}woocommerce_attribute_taxonomies WHERE attribute_id = $attribute_id" ); + $taxonomy = wc_attribute_taxonomy_name( $attribute_name ); + + do_action( 'woocommerce_before_attribute_delete', $attribute_id, $attribute_name, $taxonomy ); if ( $attribute_name && $wpdb->query( "DELETE FROM {$wpdb->prefix}woocommerce_attribute_taxonomies WHERE attribute_id = $attribute_id" ) ) { - - $taxonomy = wc_attribute_taxonomy_name( $attribute_name ); - if ( taxonomy_exists( $taxonomy ) ) { $terms = get_terms( $taxonomy, 'orderby=name&hide_empty=0' ); foreach ( $terms as $term ) { @@ -222,7 +232,6 @@ class WC_Admin_Attributes { do_action( 'woocommerce_attribute_deleted', $attribute_id, $attribute_name, $taxonomy ); delete_transient( 'wc_attribute_taxonomies' ); - return true; } diff --git a/includes/admin/class-wc-admin-duplicate-product.php b/includes/admin/class-wc-admin-duplicate-product.php index 5c6c4869f46..fa71b6f9070 100644 --- a/includes/admin/class-wc-admin-duplicate-product.php +++ b/includes/admin/class-wc-admin-duplicate-product.php @@ -25,7 +25,6 @@ class WC_Admin_Duplicate_Product { public function __construct() { add_action( 'admin_action_duplicate_product', array( $this, 'duplicate_product_action' ) ); add_filter( 'post_row_actions', array( $this, 'dupe_link' ), 10, 2 ); - add_filter( 'page_row_actions', array( $this, 'dupe_link' ), 10, 2 ); add_action( 'post_submitbox_start', array( $this, 'dupe_button' ) ); } @@ -69,9 +68,9 @@ class WC_Admin_Duplicate_Product { } if ( isset( $_GET['post'] ) ) { - $notifyUrl = wp_nonce_url( admin_url( "edit.php?post_type=product&action=duplicate_product&post=" . absint( $_GET['post'] ) ), 'woocommerce-duplicate-product_' . $_GET['post'] ); + $notify_url = wp_nonce_url( admin_url( "edit.php?post_type=product&action=duplicate_product&post=" . absint( $_GET['post'] ) ), 'woocommerce-duplicate-product_' . $_GET['post'] ); ?> -
    +
    prepare( "SELECT meta_key, meta_value FROM $wpdb->postmeta WHERE post_id = %d", absint( $id ) ); - $exclude = array_map( 'esc_sql', array_filter( apply_filters( 'woocommerce_duplicate_product_exclude_meta', array( 'total_sales', '_wc_average_rating', '_wc_rating_count', '_wc_review_count' ) ) ) ); + $exclude = array_map( 'esc_sql', array_filter( apply_filters( 'woocommerce_duplicate_product_exclude_meta', array( 'total_sales', '_wc_average_rating', '_wc_rating_count', '_wc_review_count', '_sku' ) ) ) ); if ( sizeof( $exclude ) ) { $sql .= " AND meta_key NOT IN ( '" . implode( "','", $exclude ) . "' )"; diff --git a/includes/admin/class-wc-admin-help.php b/includes/admin/class-wc-admin-help.php index 9f12f61a4e9..8bfc283914f 100644 --- a/includes/admin/class-wc-admin-help.php +++ b/includes/admin/class-wc-admin-help.php @@ -160,33 +160,25 @@ class WC_Admin_Help { ) ); } - $screen->add_help_tab( array( - 'id' => 'woocommerce_docs_tab', - 'title' => __( 'Documentation', 'woocommerce' ), - 'content' => - '

    ' . __( 'Documentation', 'woocommerce' ) . '

    ' . - '

    ' . __( 'Should you need help understanding, using, or extending WooCommerce, please read our documentation. You will find all kinds of resources including snippets, tutorials and much more.' , 'woocommerce' ) . '

    ' . - '

    ' . __( 'WooCommerce Documentation', 'woocommerce' ) . ' ' . __( 'Developer API Docs', 'woocommerce' ) . '

    ' - - ) ); - $screen->add_help_tab( array( 'id' => 'woocommerce_support_tab', - 'title' => __( 'Support', 'woocommerce' ), + 'title' => __( 'Help & Support', 'woocommerce' ), 'content' => - '

    ' . __( 'Support', 'woocommerce' ) . '

    ' . - '

    ' . sprintf( __( 'After %sreading the documentation%s, for further assistance you can use the %scommunity forums%s on WordPress.org to talk with other users. If however you are a WooThemes customer, or need help with premium add-ons sold by WooThemes, please %suse our helpdesk%s.', 'woocommerce' ), '', '', '', '', '', '' ) . '

    ' . + '

    ' . __( 'Help & Support', 'woocommerce' ) . '

    ' . + '

    ' . sprintf( + __( 'Should you need help understanding, using, or extending WooCommerce, %splease read our documentation%s. You will find all kinds of resources including snippets, tutorials and much more.' , 'woocommerce' ), + '', + '' + ) . '

    ' . + '

    ' . sprintf( + __( 'For further assistance with WooCommerce core you can use the %scommunity forum%s. If you need help with premium add-ons sold by WooThemes, please %suse our helpdesk%s.', 'woocommerce' ), + '', + '', + '', + '' + ) . '

    ' . '

    ' . __( 'Before asking for help we recommend checking the system status page to identify any problems with your configuration.', 'woocommerce' ) . '

    ' . - '

    ' . __( 'System Status', 'woocommerce' ) . ' ' . __( 'WordPress.org Forums', 'woocommerce' ) . ' ' . __( 'WooThemes Customer Support', 'woocommerce' ) . '

    ' - ) ); - - $screen->add_help_tab( array( - 'id' => 'woocommerce_education_tab', - 'title' => __( 'Education', 'woocommerce' ), - 'content' => - '

    ' . __( 'Education', 'woocommerce' ) . '

    ' . - '

    ' . __( 'If you would like to learn about using WooCommerce from an expert, consider following a WooCommerce course ran by one of our educational partners.', 'woocommerce' ) . '

    ' . - '

    ' . __( 'View Education Partners', 'woocommerce' ) . '

    ' + '

    ' . __( 'System Status', 'woocommerce' ) . ' ' . __( 'Community Forum', 'woocommerce' ) . ' ' . __( 'WooThemes Helpdesk', 'woocommerce' ) . '

    ' ) ); $screen->add_help_tab( array( @@ -199,6 +191,15 @@ class WC_Admin_Help { ) ); + $screen->add_help_tab( array( + 'id' => 'woocommerce_education_tab', + 'title' => __( 'Education', 'woocommerce' ), + 'content' => + '

    ' . __( 'Education', 'woocommerce' ) . '

    ' . + '

    ' . __( 'If you would like to learn about using WooCommerce from an expert, consider following a WooCommerce course ran by one of our educational partners.', 'woocommerce' ) . '

    ' . + '

    ' . __( 'View Education Partners', 'woocommerce' ) . '

    ' + ) ); + $screen->add_help_tab( array( 'id' => 'woocommerce_onboard_tab', 'title' => __( 'Setup Wizard', 'woocommerce' ), diff --git a/includes/admin/class-wc-admin-notices.php b/includes/admin/class-wc-admin-notices.php index 52f766ec3fe..1376f83f100 100644 --- a/includes/admin/class-wc-admin-notices.php +++ b/includes/admin/class-wc-admin-notices.php @@ -21,9 +21,10 @@ class WC_Admin_Notices { * Array of notices - name => callback. * @var array */ - private $core_notices = array( + private static $core_notices = array( 'install' => 'install_notice', 'update' => 'update_notice', + 'updating' => 'updating_notice', 'template_files' => 'template_file_check_notice', 'theme_support' => 'theme_check_notice', 'legacy_shipping' => 'legacy_shipping_notice', @@ -31,37 +32,61 @@ class WC_Admin_Notices { 'simplify_commerce' => 'simplify_commerce_notice', ); + /** + * Stores notices. + * @var array + */ + private static $notices = array(); + /** * Constructor. */ - public function __construct() { - add_action( 'switch_theme', array( $this, 'reset_admin_notices' ) ); - add_action( 'woocommerce_installed', array( $this, 'reset_admin_notices' ) ); - add_action( 'wp_loaded', array( $this, 'hide_notices' ) ); + public static function init() { + self::$notices = get_option( 'woocommerce_admin_notices', array() ); + + add_action( 'switch_theme', array( __CLASS__, 'reset_admin_notices' ) ); + add_action( 'woocommerce_installed', array( __CLASS__, 'reset_admin_notices' ) ); + add_action( 'wp_loaded', array( __CLASS__, 'hide_notices' ) ); + add_action( 'shutdown', array( __CLASS__, 'store_notices' ) ); if ( current_user_can( 'manage_woocommerce' ) ) { - add_action( 'admin_print_styles', array( $this, 'add_notices' ) ); + add_action( 'admin_print_styles', array( __CLASS__, 'add_notices' ) ); } } + /** + * Store notices to DB + */ + public static function store_notices() { + update_option( 'woocommerce_admin_notices', self::get_notices() ); + } + + /** + * Get notices + * @return array + */ + public static function get_notices() { + return self::$notices; + } + /** * Remove all notices. */ public static function remove_all_notices() { - delete_option( 'woocommerce_admin_notices' ); + self::$notices = array(); } /** * Reset notices for themes when switched or a new version of WC is installed. */ - public function reset_admin_notices() { + public static function reset_admin_notices() { if ( ! current_theme_supports( 'woocommerce' ) && ! in_array( get_option( 'template' ), wc_get_core_supported_themes() ) ) { self::add_notice( 'theme_support' ); } $simplify_options = get_option( 'woocommerce_simplify_commerce_settings', array() ); - if ( ! class_exists( 'WC_Gateway_Simplify_Commerce_Loader' ) && ! empty( $simplify_options['enabled'] ) && 'yes' === $simplify_options['enabled'] ) { + if ( ! class_exists( 'WC_Gateway_Simplify_Commerce_Loader' ) && ! empty( $simplify_options['enabled'] ) && 'yes' === $simplify_options['enabled'] && in_array( WC()->countries->get_base_country(), apply_filters( 'woocommerce_gateway_simplify_commerce_supported_countries', array( 'US', 'IE' ) ) ) ) { WC_Admin_Notices::add_notice( 'simplify_commerce' ); } @@ -73,8 +98,7 @@ class WC_Admin_Notices { * @param string $name */ public static function add_notice( $name ) { - $notices = array_unique( array_merge( get_option( 'woocommerce_admin_notices', array() ), array( $name ) ) ); - update_option( 'woocommerce_admin_notices', $notices ); + self::$notices = array_unique( array_merge( self::get_notices(), array( $name ) ) ); } /** @@ -82,8 +106,7 @@ class WC_Admin_Notices { * @param string $name */ public static function remove_notice( $name ) { - $notices = array_diff( get_option( 'woocommerce_admin_notices', array() ), array( $name ) ); - update_option( 'woocommerce_admin_notices', $notices ); + self::$notices = array_diff( self::get_notices(), array( $name ) ); delete_option( 'woocommerce_admin_notice_' . $name ); } @@ -93,13 +116,13 @@ class WC_Admin_Notices { * @return boolean */ public static function has_notice( $name ) { - return in_array( $name, get_option( 'woocommerce_admin_notices', array() ) ); + return in_array( $name, self::get_notices() ); } /** * Hide a notice if the GET variable is set. */ - public function hide_notices() { + public static function hide_notices() { if ( isset( $_GET['wc-hide-notice'] ) && isset( $_GET['_wc_notice_nonce'] ) ) { if ( ! wp_verify_nonce( $_GET['_wc_notice_nonce'], 'woocommerce_hide_notices_nonce' ) ) { wp_die( __( 'Action failed. Please refresh the page and retry.', 'woocommerce' ) ); @@ -118,16 +141,16 @@ class WC_Admin_Notices { /** * Add notices + styles if needed. */ - public function add_notices() { - $notices = get_option( 'woocommerce_admin_notices', array() ); + public static function add_notices() { + $notices = self::get_notices(); if ( $notices ) { wp_enqueue_style( 'woocommerce-activation', plugins_url( '/assets/css/activation.css', WC_PLUGIN_FILE ) ); foreach ( $notices as $notice ) { - if ( ! empty( $this->core_notices[ $notice ] ) && apply_filters( 'woocommerce_show_admin_notice', true, $notice ) ) { - add_action( 'admin_notices', array( $this, $this->core_notices[ $notice ] ) ); + if ( ! empty( self::$core_notices[ $notice ] ) && apply_filters( 'woocommerce_show_admin_notice', true, $notice ) ) { + add_action( 'admin_notices', array( __CLASS__, self::$core_notices[ $notice ] ) ); } else { - add_action( 'admin_notices', array( $this, 'output_custom_notices' ) ); + add_action( 'admin_notices', array( __CLASS__, 'output_custom_notices' ) ); } } } @@ -146,11 +169,12 @@ class WC_Admin_Notices { /** * Output any stored custom notices. */ - public function output_custom_notices() { - $notices = get_option( 'woocommerce_admin_notices', array() ); + public static function output_custom_notices() { + $notices = self::get_notices(); + if ( $notices ) { foreach ( $notices as $notice ) { - if ( empty( $this->core_notices[ $notice ] ) ) { + if ( empty( self::$core_notices[ $notice ] ) ) { $notice_html = get_option( 'woocommerce_admin_notice_' . $notice ); if ( $notice_html ) { @@ -164,21 +188,32 @@ class WC_Admin_Notices { /** * If we need to update, include a message with the update button. */ - public function update_notice() { + public static function update_notice() { include( 'views/html-notice-update.php' ); } + /** + * If we are updating, show progress. + */ + public static function updating_notice() { + if ( version_compare( get_option( 'woocommerce_db_version' ), WC_VERSION, '<' ) ) { + include( 'views/html-notice-updating.php' ); + } else { + include( 'views/html-notice-updated.php' ); + } + } + /** * If we have just installed, show a message with the install pages button. */ - public function install_notice() { + public static function install_notice() { include( 'views/html-notice-install.php' ); } /** * Show the Theme Check notice. */ - public function theme_check_notice() { + public static function theme_check_notice() { if ( ! current_theme_supports( 'woocommerce' ) && ! in_array( get_option( 'template' ), wc_get_core_supported_themes() ) ) { include( 'views/html-notice-theme-support.php' ); } else { @@ -189,7 +224,7 @@ class WC_Admin_Notices { /** * Show a notice highlighting bad template files. */ - public function template_file_check_notice() { + public static function template_file_check_notice() { $core_templates = WC_Admin_Status::scan_template_files( WC()->plugin_path() . '/templates' ); $outdated = false; @@ -227,7 +262,7 @@ class WC_Admin_Notices { /** * Show a notice asking users to convert to shipping zones. */ - public function legacy_shipping_notice() { + public static function legacy_shipping_notice() { $maybe_load_legacy_methods = array( 'flat_rate', 'free_shipping', 'international_delivery', 'local_delivery', 'local_pickup' ); $enabled = false; @@ -248,7 +283,7 @@ class WC_Admin_Notices { /** * No shipping methods. */ - public function no_shipping_methods_notice() { + public static function no_shipping_methods_notice() { if ( wc_shipping_enabled() && ( empty( $_GET['page'] ) || empty( $_GET['tab'] ) || 'wc-settings' !== $_GET['page'] || 'shipping' !== $_GET['tab'] ) ) { global $wpdb; @@ -268,8 +303,8 @@ class WC_Admin_Notices { /** * Simplify Commerce is being removed from core. */ - public function simplify_commerce_notice() { - if ( class_exists( 'WC_Gateway_Simplify_Commerce_Loader' ) ) { + public static function simplify_commerce_notice() { + if ( class_exists( 'WC_Gateway_Simplify_Commerce_Loader' ) || ! in_array( WC()->countries->get_base_country(), apply_filters( 'woocommerce_gateway_simplify_commerce_supported_countries', array( 'US', 'IE' ) ) ) ) { self::remove_notice( 'simplify_commerce' ); return; } @@ -279,4 +314,4 @@ class WC_Admin_Notices { } } -new WC_Admin_Notices(); +WC_Admin_Notices::init(); diff --git a/includes/admin/class-wc-admin-post-types.php b/includes/admin/class-wc-admin-post-types.php index 3438b34362c..a2ab4506a46 100644 --- a/includes/admin/class-wc-admin-post-types.php +++ b/includes/admin/class-wc-admin-post-types.php @@ -526,11 +526,7 @@ class WC_Admin_Post_Types { $usage_limit = esc_html( get_post_meta( $post->ID, 'usage_limit', true ) ); $usage_url = sprintf( '%s', admin_url( sprintf( 'edit.php?s=%s&post_status=all&post_type=shop_order', esc_html( $post->post_title ) ) ), $usage_count ); - if ( $usage_limit ) { - printf( __( '%s / %s', 'woocommerce' ), $usage_url, $usage_limit ); - } else { - printf( __( '%s / ∞', 'woocommerce' ), $usage_url ); - } + printf( _x( '%1$s / %2$s', 'Count / Limit', 'woocommerce' ), $usage_url, $usage_limit ? $usage_limit : '∞' ); break; case 'expiry_date' : $expiry_date = get_post_meta( $post->ID, 'expiry_date', true ); @@ -2044,6 +2040,15 @@ class WC_Admin_Post_Types { delete_transient( 'woocommerce_processing_order_count' ); wc_delete_shop_order_transients( $id ); + } else if ( 'product' === $post_type ) { + // Check if SKU is valid before untrash the product. + $sku = get_post_meta( $id, '_sku', true ); + + if ( ! empty( $sku ) ) { + if ( ! wc_product_has_unique_sku( $id, $sku ) ) { + update_post_meta( $id, '_sku', '' ); + } + } } } } diff --git a/includes/admin/class-wc-admin-setup-wizard.php b/includes/admin/class-wc-admin-setup-wizard.php index 8077288b257..25a330e878a 100644 --- a/includes/admin/class-wc-admin-setup-wizard.php +++ b/includes/admin/class-wc-admin-setup-wizard.php @@ -566,7 +566,7 @@ class WC_Admin_Setup_Wizard { 'paypal-braintree' => array( 'name' => __( 'PayPal by Braintree', 'woocommerce' ), 'image' => WC()->plugin_url() . '/assets/images/paypal-braintree.png', - 'description' => sprintf( __( 'Safe and secure payments using credit cards or your customer\'s paypal account. %sLearn more about PayPal%s.', 'woocommerce' ), '', '' ), + 'description' => sprintf( __( 'Safe and secure payments using credit cards or your customer\'s PayPal account. %sLearn more about PayPal%s.', 'woocommerce' ), '', '' ), 'class' => 'featured featured-row-last', 'repo-slug' => 'woocommerce-gateway-paypal-powered-by-braintree', ), @@ -599,8 +599,8 @@ class WC_Admin_Setup_Wizard { ), ), 'cheque' => array( - 'name' => __( 'Cheque Payments', 'woocommerce' ), - 'description' => __( 'An simple offline gateway that lets you accept Cheque payment.', 'woocommerce' ), + 'name' => _x( 'Check Payments', 'Check payment method', 'woocommerce' ), + 'description' => __( 'An simple offline gateway that lets you accept a check as method of payment.', 'woocommerce' ), 'image' => '', 'class' => '', ), diff --git a/includes/admin/class-wc-admin-status.php b/includes/admin/class-wc-admin-status.php index b3ee32b64df..227e7e50450 100644 --- a/includes/admin/class-wc-admin-status.php +++ b/includes/admin/class-wc-admin-status.php @@ -125,11 +125,8 @@ class WC_Admin_Status { $callback = $tools[ $action ]['callback']; $return = call_user_func( $callback ); if ( $return === false ) { - if ( is_array( $callback ) ) { - echo '

    ' . sprintf( __( 'There was an error calling %s::%s', 'woocommerce' ), get_class( $callback[0] ), $callback[1] ) . '

    '; - } else { - echo '

    ' . sprintf( __( 'There was an error calling %s', 'woocommerce' ), $callback ) . '

    '; - } + $callback_string = is_array( $callback ) ? get_class( $callback[0] ) . '::' . $callback[1] : $callback; + echo '

    ' . sprintf( __( 'There was an error calling %s', 'woocommerce' ), $callback_string ) . '

    '; } } break; diff --git a/includes/admin/class-wc-admin-webhooks.php b/includes/admin/class-wc-admin-webhooks.php index 0ccee3f7458..610e06d36c4 100644 --- a/includes/admin/class-wc-admin-webhooks.php +++ b/includes/admin/class-wc-admin-webhooks.php @@ -80,7 +80,7 @@ class WC_Admin_Webhooks { * @param WC_Webhook $webhook */ private function update_secret( $webhook ) { - $secret = ! empty( $_POST['webhook_secret'] ) ? $_POST['webhook_secret'] : get_user_meta( get_current_user_id(), 'woocommerce_api_consumer_secret', true ); + $secret = ! empty( $_POST['webhook_secret'] ) ? $_POST['webhook_secret'] : wc_webhook_generate_secret(); $webhook->set_secret( $secret ); } diff --git a/includes/admin/class-wc-admin.php b/includes/admin/class-wc-admin.php index b0dd89e9840..f132a43f0fa 100644 --- a/includes/admin/class-wc-admin.php +++ b/includes/admin/class-wc-admin.php @@ -24,6 +24,7 @@ class WC_Admin { public function __construct() { add_action( 'init', array( $this, 'includes' ) ); add_action( 'current_screen', array( $this, 'conditional_includes' ) ); + add_action( 'admin_init', array( $this, 'buffer' ), 1 ); add_action( 'admin_init', array( $this, 'preview_emails' ) ); add_action( 'admin_init', array( $this, 'prevent_admin_access' ) ); add_action( 'admin_init', array( $this, 'admin_redirects' ) ); @@ -31,6 +32,13 @@ class WC_Admin { add_filter( 'admin_footer_text', array( $this, 'admin_footer_text' ), 1 ); } + /** + * Output buffering allows admin screens to make redirects later on. + */ + public function buffer() { + ob_start(); + } + /** * Include any classes we need within admin. */ @@ -93,24 +101,38 @@ class WC_Admin { /** * Handle redirects to setup/welcome page after install and updates. * - * Transient must be present, the user must have access rights, and we must ignore the network/bulk plugin updaters. + * For setup wizard, transient must be present, the user must have access rights, and we must ignore the network/bulk plugin updaters. */ public function admin_redirects() { - if ( ! get_transient( '_wc_activation_redirect' ) ) { - return; - } + // Nonced plugin install redirects (whitelisted) + if ( ! empty( $_GET['wc-install-plugin-redirect'] ) ) { + $plugin_slug = wc_clean( $_GET['wc-install-plugin-redirect'] ); - delete_transient( '_wc_activation_redirect' ); + if ( current_user_can( 'install_plugins' ) && in_array( $plugin_slug, array( 'woocommerce-gateway-stripe' ) ) ) { + $nonce = wp_create_nonce( 'install-plugin_' . $plugin_slug ); + $url = self_admin_url( 'update.php?action=install-plugin&plugin=' . $plugin_slug . '&_wpnonce=' . $nonce ); + } else { + $url = admin_url( 'plugin-install.php?tab=search&type=term&s=' . $plugin_slug ); + } - if ( ( ! empty( $_GET['page'] ) && in_array( $_GET['page'], array( 'wc-setup' ) ) ) || is_network_admin() || isset( $_GET['activate-multi'] ) || ! current_user_can( 'manage_woocommerce' ) || apply_filters( 'woocommerce_prevent_automatic_wizard_redirect', false ) ) { - return; - } - - // If the user needs to install, send them to the setup wizard - if ( WC_Admin_Notices::has_notice( 'install' ) ) { - wp_safe_redirect( admin_url( 'index.php?page=wc-setup' ) ); + wp_safe_redirect( $url ); exit; } + + // Setup wizard redirect + if ( get_transient( '_wc_activation_redirect' ) ) { + delete_transient( '_wc_activation_redirect' ); + + if ( ( ! empty( $_GET['page'] ) && in_array( $_GET['page'], array( 'wc-setup' ) ) ) || is_network_admin() || isset( $_GET['activate-multi'] ) || ! current_user_can( 'manage_woocommerce' ) || apply_filters( 'woocommerce_prevent_automatic_wizard_redirect', false ) ) { + return; + } + + // If the user needs to install, send them to the setup wizard + if ( WC_Admin_Notices::has_notice( 'install' ) ) { + wp_safe_redirect( admin_url( 'index.php?page=wc-setup' ) ); + exit; + } + } } /** diff --git a/includes/admin/meta-boxes/class-wc-meta-box-order-actions.php b/includes/admin/meta-boxes/class-wc-meta-box-order-actions.php index 9c2223d9da8..5bcdb64a827 100644 --- a/includes/admin/meta-boxes/class-wc-meta-box-order-actions.php +++ b/includes/admin/meta-boxes/class-wc-meta-box-order-actions.php @@ -49,7 +49,7 @@ class WC_Meta_Box_Order_Actions { if ( ! empty( $mails ) ) { foreach ( $mails as $mail ) { - if ( in_array( $mail->id, $available_emails ) && 'yes' === $mail->enabled ) { + if ( in_array( $mail->id, $available_emails ) && 'no' !== $mail->enabled ) { echo ''; } } @@ -57,7 +57,7 @@ class WC_Meta_Box_Order_Actions { ?> - + $title ) { ?> @@ -97,6 +97,7 @@ class WC_Meta_Box_Order_Actions { * @param WP_Post $post */ public static function save( $post_id, $post ) { + global $wpdb; // Order data saved, now get it so we can manipulate status $order = wc_get_order( $post_id ); @@ -135,9 +136,14 @@ class WC_Meta_Box_Order_Actions { // Change the post saved message add_filter( 'redirect_post_location', array( __CLASS__, 'set_email_sent_message' ) ); - } elseif ( $action == 'regenerate_download_permissions' ) { + } elseif ( 'regenerate_download_permissions' === $action ) { delete_post_meta( $post_id, '_download_permissions_granted' ); + $wpdb->delete( + $wpdb->prefix . 'woocommerce_downloadable_product_permissions', + array( 'order_id' => $post_id ), + array( '%d' ) + ); wc_downloadable_product_permissions( $post_id ); } else { diff --git a/includes/admin/meta-boxes/class-wc-meta-box-order-data.php b/includes/admin/meta-boxes/class-wc-meta-box-order-data.php index 4b8be2aa36b..b4ab990283f 100644 --- a/includes/admin/meta-boxes/class-wc-meta-box-order-data.php +++ b/includes/admin/meta-boxes/class-wc-meta-box-order-data.php @@ -179,6 +179,11 @@ class WC_Meta_Box_Order_Data { echo ' (' . esc_html( $transaction_id ) . ')'; } } + + if ( $paid_date = $order->paid_date ) { + printf( ' ' . _x( 'on %s @ %s', 'on date at time', 'woocommerce' ), date_i18n( get_option( 'date_format' ), strtotime( $order->paid_date ) ), date_i18n( get_option( 'time_format' ), strtotime( $order->paid_date ) ) ); + } + echo '. '; } diff --git a/includes/admin/meta-boxes/class-wc-meta-box-product-data.php b/includes/admin/meta-boxes/class-wc-meta-box-product-data.php index fdc85bf6eae..4663d136319 100644 --- a/includes/admin/meta-boxes/class-wc-meta-box-product-data.php +++ b/includes/admin/meta-boxes/class-wc-meta-box-product-data.php @@ -462,7 +462,7 @@ class WC_Meta_Box_Product_Data { $metabox_class[] = $taxonomy; $attribute_label = wc_attribute_label( $taxonomy ); } else { - $attribute_label = apply_filters( 'woocommerce_attribute_label', $attribute['name'], $attribute['name'] ); + $attribute_label = apply_filters( 'woocommerce_attribute_label', $attribute['name'], $attribute['name'], false ); } include( 'views/html-product-attribute.php' ); diff --git a/includes/admin/meta-boxes/views/html-order-download-permission.php b/includes/admin/meta-boxes/views/html-order-download-permission.php index f46c9f44843..64fda941d48 100644 --- a/includes/admin/meta-boxes/views/html-order-download-permission.php +++ b/includes/admin/meta-boxes/views/html-order-download-permission.php @@ -10,7 +10,7 @@ if ( ! defined( 'ABSPATH' ) ) {
    - id ) . ' — ' . apply_filters( 'woocommerce_admin_download_permissions_title', $product->get_title(), $download->product_id, $download->order_id, $download->order_key, $download->download_id ) . ' — ' . sprintf( __( '%s: %s', 'woocommerce' ), $file_count, wc_get_filename_from_url( $product->get_file_download_path( $download->download_id ) ) ) . ' — ' . sprintf( _n('Downloaded %s time', 'Downloaded %s times', absint( $download->download_count ), 'woocommerce'), absint( $download->download_count ) ); ?> + id ) . ' — ' . apply_filters( 'woocommerce_admin_download_permissions_title', $product->get_title(), $download->product_id, $download->order_id, $download->order_key, $download->download_id ) . ' — ' . esc_html( $file_count ) . ': ' . wc_get_filename_from_url( $product->get_file_download_path( $download->download_id ) ) . ' — ' . sprintf( _n( 'Downloaded %s time', 'Downloaded %s times', absint( $download->download_count ), 'woocommerce'), absint( $download->download_count ) ); ?> @@ -26,6 +26,19 @@ if ( ! defined( 'ABSPATH' ) ) { +
    + + $download->product_id, + 'order' => $download->order_key, + 'email' => urlencode( $download->user_email ), + 'key' => $download->download_id + ), trailingslashit( home_url() ) ); + + echo '' . esc_html( $file_count ) . ''; + ?> +
    diff --git a/includes/admin/meta-boxes/views/html-order-item-meta.php b/includes/admin/meta-boxes/views/html-order-item-meta.php index b6341407484..8b8c524e14c 100644 --- a/includes/admin/meta-boxes/views/html-order-item-meta.php +++ b/includes/admin/meta-boxes/views/html-order-item-meta.php @@ -33,7 +33,7 @@ $meta['meta_key'] = wc_attribute_label( wc_sanitize_taxonomy_name( $meta['meta_key'] ) ); $meta['meta_value'] = isset( $term->name ) ? $term->name : $meta['meta_value']; } else { - $meta['meta_key'] = apply_filters( 'woocommerce_attribute_label', wc_attribute_label( $meta['meta_key'], $_product ), $meta['meta_key'] ); + $meta['meta_key'] = wc_attribute_label( $meta['meta_key'], $_product ); } echo '' . wp_kses_post( rawurldecode( $meta['meta_key'] ) ) . ':' . wp_kses_post( wpautop( make_clickable( rawurldecode( $meta['meta_value'] ) ) ) ) . ''; diff --git a/includes/admin/meta-boxes/views/html-order-items.php b/includes/admin/meta-boxes/views/html-order-items.php index a048817e0d9..049cac4785e 100644 --- a/includes/admin/meta-boxes/views/html-order-items.php +++ b/includes/admin/meta-boxes/views/html-order-items.php @@ -220,7 +220,7 @@ if ( wc_tax_enabled() ) { is_editable() ) : ?> - "> + is_editable() ) : ?> @@ -272,7 +272,7 @@ if ( wc_tax_enabled() ) { - +
    diff --git a/includes/admin/settings/class-wc-settings-accounts.php b/includes/admin/settings/class-wc-settings-accounts.php index e8b69c98a0a..adb0534657c 100644 --- a/includes/admin/settings/class-wc-settings-accounts.php +++ b/includes/admin/settings/class-wc-settings-accounts.php @@ -55,6 +55,58 @@ class WC_Settings_Accounts extends WC_Settings_Page { array( 'type' => 'sectionend', 'id' => 'account_page_options' ), + array( 'title' => '', 'type' => 'title', 'id' => 'account_registration_options' ), + + array( + 'title' => __( 'Enable Registration', 'woocommerce' ), + 'desc' => __( 'Enable registration on the "Checkout" page', 'woocommerce' ), + 'id' => 'woocommerce_enable_signup_and_login_from_checkout', + 'default' => 'yes', + 'type' => 'checkbox', + 'checkboxgroup' => 'start', + 'autoload' => false + ), + + array( + 'desc' => __( 'Enable registration on the "My Account" page', 'woocommerce' ), + 'id' => 'woocommerce_enable_myaccount_registration', + 'default' => 'no', + 'type' => 'checkbox', + 'checkboxgroup' => 'end', + 'autoload' => false + ), + + array( + 'title' => __( 'Login', 'woocommerce' ), + 'desc' => __( 'Display returning customer login reminder on the "Checkout" page', 'woocommerce' ), + 'id' => 'woocommerce_enable_checkout_login_reminder', + 'default' => 'yes', + 'type' => 'checkbox', + 'checkboxgroup' => 'start', + 'autoload' => false + ), + + array( + 'title' => __( 'Account Creation', 'woocommerce' ), + 'desc' => __( 'Automatically generate username from customer email', 'woocommerce' ), + 'id' => 'woocommerce_registration_generate_username', + 'default' => 'yes', + 'type' => 'checkbox', + 'checkboxgroup' => 'start', + 'autoload' => false + ), + + array( + 'desc' => __( 'Automatically generate customer password', 'woocommerce' ), + 'id' => 'woocommerce_registration_generate_password', + 'default' => 'no', + 'type' => 'checkbox', + 'checkboxgroup' => 'end', + 'autoload' => false + ), + + array( 'type' => 'sectionend', 'id' => 'account_registration_options'), + array( 'title' => __( 'My Account Endpoints', 'woocommerce' ), 'type' => 'title', 'desc' => __( 'Endpoints are appended to your page URLs to handle specific actions on the accounts pages. They should be unique.', 'woocommerce' ), 'id' => 'account_endpoint_options' ), array( @@ -131,57 +183,6 @@ class WC_Settings_Accounts extends WC_Settings_Page { array( 'type' => 'sectionend', 'id' => 'account_endpoint_options' ), - array( 'title' => __( 'Registration Options', 'woocommerce' ), 'type' => 'title', 'id' => 'account_registration_options' ), - - array( - 'title' => __( 'Enable Registration', 'woocommerce' ), - 'desc' => __( 'Enable registration on the "Checkout" page', 'woocommerce' ), - 'id' => 'woocommerce_enable_signup_and_login_from_checkout', - 'default' => 'yes', - 'type' => 'checkbox', - 'checkboxgroup' => 'start', - 'autoload' => false - ), - - array( - 'desc' => __( 'Enable registration on the "My Account" page', 'woocommerce' ), - 'id' => 'woocommerce_enable_myaccount_registration', - 'default' => 'no', - 'type' => 'checkbox', - 'checkboxgroup' => 'end', - 'autoload' => false - ), - - array( - 'desc' => __( 'Display returning customer login reminder on the "Checkout" page', 'woocommerce' ), - 'id' => 'woocommerce_enable_checkout_login_reminder', - 'default' => 'yes', - 'type' => 'checkbox', - 'checkboxgroup' => 'start', - 'autoload' => false - ), - - array( - 'title' => __( 'Account Creation', 'woocommerce' ), - 'desc' => __( 'Automatically generate username from customer email', 'woocommerce' ), - 'id' => 'woocommerce_registration_generate_username', - 'default' => 'yes', - 'type' => 'checkbox', - 'checkboxgroup' => 'start', - 'autoload' => false - ), - - array( - 'desc' => __( 'Automatically generate customer password', 'woocommerce' ), - 'id' => 'woocommerce_registration_generate_password', - 'default' => 'no', - 'type' => 'checkbox', - 'checkboxgroup' => 'end', - 'autoload' => false - ), - - array( 'type' => 'sectionend', 'id' => 'account_registration_options'), - ) ); return apply_filters( 'woocommerce_get_settings_' . $this->id, $settings ); diff --git a/includes/admin/settings/class-wc-settings-general.php b/includes/admin/settings/class-wc-settings-general.php index 73818d65504..e63203406e2 100644 --- a/includes/admin/settings/class-wc-settings-general.php +++ b/includes/admin/settings/class-wc-settings-general.php @@ -69,11 +69,21 @@ class WC_Settings_General extends WC_Settings_Page { 'css' => 'min-width: 350px;', 'desc_tip' => true, 'options' => array( - 'all' => __( 'Sell to all countries', 'woocommerce' ), - 'specific' => __( 'Sell to specific countries only', 'woocommerce' ) + 'all' => __( 'Sell to All Countries', 'woocommerce' ), + 'all_except' => __( 'Sell to All Countries, Except For…', 'woocommerce' ), + 'specific' => __( 'Sell to Specific Countries', 'woocommerce' ) ) ), + array( + 'title' => __( 'Sell to All Countries, Except For…', 'woocommerce' ), + 'desc' => '', + 'id' => 'woocommerce_all_except_countries', + 'css' => 'min-width: 350px;', + 'default' => '', + 'type' => 'multi_select_countries' + ), + array( 'title' => __( 'Sell to Specific Countries', 'woocommerce' ), 'desc' => '', diff --git a/includes/admin/settings/class-wc-settings-shipping.php b/includes/admin/settings/class-wc-settings-shipping.php index d2588beb179..722240db95b 100644 --- a/includes/admin/settings/class-wc-settings-shipping.php +++ b/includes/admin/settings/class-wc-settings-shipping.php @@ -127,7 +127,7 @@ class WC_Settings_Shipping extends WC_Settings_Page { // Load shipping methods so we can show any global options they may have $shipping_methods = WC()->shipping->load_shipping_methods(); - if ( '' == $current_section ) { + if ( '' === $current_section ) { $this->output_zones_screen(); } elseif ( 'options' === $current_section ) { $settings = $this->get_settings(); @@ -224,12 +224,15 @@ class WC_Settings_Shipping extends WC_Settings_Page { * Show zones */ protected function zones_screen() { + global $wpdb; + $allowed_countries = WC()->countries->get_allowed_countries(); - $continents = WC()->countries->get_continents(); + $continents = WC()->countries->get_continents(); + $method_count = absint( $wpdb->get_var( "SELECT COUNT(*) FROM {$wpdb->prefix}woocommerce_shipping_zone_methods" ) ); wp_localize_script( 'wc-shipping-zones', 'shippingZonesLocalizeScript', array( - 'zones' => WC_Shipping_Zones::get_zones(), - 'default_zone' => array( + 'zones' => WC_Shipping_Zones::get_zones(), + 'default_zone' => array( 'zone_id' => 0, 'zone_name' => '', 'zone_order' => null, @@ -238,6 +241,7 @@ class WC_Settings_Shipping extends WC_Settings_Page { 'strings' => array( 'unload_confirmation_msg' => __( 'Your changed data will be lost if you leave this page without saving.', 'woocommerce' ), 'save_failed' => __( 'Your changes were not saved. Please retry.', 'woocommerce' ), + 'default_zone_name' => __( 'Zone', 'woocommerce' ), ), ) ); wp_enqueue_script( 'wc-shipping-zones' ); @@ -282,8 +286,8 @@ class WC_Settings_Shipping extends WC_Settings_Page { protected function output_shipping_class_screen() { $wc_shipping = WC_Shipping::instance(); wp_localize_script( 'wc-shipping-classes', 'shippingClassesLocalizeScript', array( - 'classes' => $wc_shipping->get_shipping_classes(), - 'default_shipping_class' => array( + 'classes' => $wc_shipping->get_shipping_classes(), + 'default_shipping_class' => array( 'term_id' => 0, 'name' => '', 'description' => '', diff --git a/includes/admin/settings/views/html-admin-page-shipping-classes.php b/includes/admin/settings/views/html-admin-page-shipping-classes.php index 0222d383aba..2c1253298ba 100644 --- a/includes/admin/settings/views/html-admin-page-shipping-classes.php +++ b/includes/admin/settings/views/html-admin-page-shipping-classes.php @@ -4,56 +4,63 @@ if ( ! defined( 'ABSPATH' ) ) { } ?> -

    -

    +

    + + +

    - - - - - - - - - - - - - - - + + + + + + + + + + + + + +
     
    - - -
    + + +
    diff --git a/includes/admin/settings/views/html-admin-page-shipping-zone-methods.php b/includes/admin/settings/views/html-admin-page-shipping-zone-methods.php index 200cb29e063..42dccf2879d 100644 --- a/includes/admin/settings/views/html-admin-page-shipping-zone-methods.php +++ b/includes/admin/settings/views/html-admin-page-shipping-zone-methods.php @@ -4,45 +4,36 @@ if ( ! defined( 'ABSPATH' ) ) { } ?> -

    (get_zone_name() ); ?>)

    -

    +

    + > + get_zone_name() ); ?> + +

    + - - - - - + + + + - - - - - - - - - - + + + + + + + + + +
     
    -
    - - -
    - -
    + + +
    + + diff --git a/includes/admin/settings/views/html-admin-page-shipping-zones-instance.php b/includes/admin/settings/views/html-admin-page-shipping-zones-instance.php index 225e8a08aed..571471c4dce 100644 --- a/includes/admin/settings/views/html-admin-page-shipping-zones-instance.php +++ b/includes/admin/settings/views/html-admin-page-shipping-zones-instance.php @@ -3,5 +3,10 @@ if ( ! defined( 'ABSPATH' ) ) { exit; } ?> -

    get_method_title() ); ?> get_zone_id() ) ) ); ?>

    +

    + > + get_zone_name() ); ?> > + get_method_title() ); ?> +

    + admin_options(); ?> diff --git a/includes/admin/settings/views/html-admin-page-shipping-zones.php b/includes/admin/settings/views/html-admin-page-shipping-zones.php index 4f1092d9967..bc8c4f4b27e 100644 --- a/includes/admin/settings/views/html-admin-page-shipping-zones.php +++ b/includes/admin/settings/views/html-admin-page-shipping-zones.php @@ -4,38 +4,40 @@ if ( ! defined( 'ABSPATH' ) ) { } ?> -

    +

    + + +

    - - - - - - - - - - - - - - - - - - - - - + + + + + + + + + + + + + + + + + + + - - - + +
     
    - - -
    - -
    - -
    -
    +
    + + +
    + +
    + +
    +
      enabled ? 'method_enabled' : 'method_disabled'; + $class_name = 'yes' === $method->enabled ? 'method_enabled' : 'method_disabled'; echo '
    • ' . esc_html( $method->get_title() ) . '
    • '; } + } else { + echo '
    • '; } ?> -
    • +