WC Vendors - Version 2.1.0

Version Description

Download this release

Release Info

Developer digitalchild
Plugin Icon 128x128 WC Vendors
Version 2.1.0
Comparing to
See all releases

Code changes from version 2.0.10 to 2.1.0

assets/css/wcv-admin.css CHANGED
@@ -141,6 +141,8 @@
141
  .wcv_addons_wrap .addons-small-dark-item { width: 100%; }
142
  .wcv_addons_wrap .addons-column-block-item-icon { background: none; border: none; height: 75px; margin: 0 10px 10px 0; width: 75px; } }
143
 
 
 
144
  .wcv_addons_wrap .products { overflow: hidden; display: -webkit-box; display: -ms-flexbox; display: flex; -webkit-box-orient: horizontal; -webkit-box-direction: normal; -ms-flex-flow: row; flex-flow: row; -ms-flex-wrap: wrap; flex-wrap: wrap; margin: 0 -.5em; }
145
 
146
  .wcv_addons_wrap .products li { float: left; border: 1px solid #ddd; margin: 0 .5em 1em !important; padding: 0; vertical-align: top; width: 25%; min-width: 280px; min-height: 220px; -webkit-box-flex: 1; -ms-flex: 1; flex: 1; overflow: hidden; background: #f5f5f5; -webkit-box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.2), inset 0 -1px 0 rgba(0, 0, 0, 0.1); box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.2), inset 0 -1px 0 rgba(0, 0, 0, 0.1); }
141
  .wcv_addons_wrap .addons-small-dark-item { width: 100%; }
142
  .wcv_addons_wrap .addons-column-block-item-icon { background: none; border: none; height: 75px; margin: 0 10px 10px 0; width: 75px; } }
143
 
144
+ .wcv_addons_wrap .colorpickpreview { padding: 7px 0; line-height: 1em; display: inline-block; width: 26px; border: 1px solid #ddd; font-size: 14px; }
145
+
146
  .wcv_addons_wrap .products { overflow: hidden; display: -webkit-box; display: -ms-flexbox; display: flex; -webkit-box-orient: horizontal; -webkit-box-direction: normal; -ms-flex-flow: row; flex-flow: row; -ms-flex-wrap: wrap; flex-wrap: wrap; margin: 0 -.5em; }
147
 
148
  .wcv_addons_wrap .products li { float: left; border: 1px solid #ddd; margin: 0 .5em 1em !important; padding: 0; vertical-align: top; width: 25%; min-width: 280px; min-height: 220px; -webkit-box-flex: 1; -ms-flex: 1; flex: 1; overflow: hidden; background: #f5f5f5; -webkit-box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.2), inset 0 -1px 0 rgba(0, 0, 0, 0.1); box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.2), inset 0 -1px 0 rgba(0, 0, 0, 0.1); }
assets/css/wcv-admin.min.css CHANGED
@@ -1 +1 @@
1
- .wcv_addons_wrap{max-width:1200px}.wcv_addons_wrap h1.search-form-title{clear:left;padding:0}.wcv_addons_wrap .update-plugins .update-count{background-color:#d54e21;border-radius:10px;color:#fff;display:inline-block;font-size:9px;font-weight:600;line-height:17px;margin:1px 0 0 2px;padding:0 6px;vertical-align:text-top}.wcv_addons_wrap .addons-featured{margin:0}.wcv_addons_wrap ul.feature-list{list-style:inherit}.wcv_addons_wrap ul.feature-list li{margin-left:20px}.wcv_addons_wrap ul.subsubsub.subsubsub{margin:-2px 0 12px}.wcv_addons_wrap .subsubsub li::after{content:'|'}.wcv_addons_wrap .subsubsub li:last-child::after{content:''}.wcv_addons_wrap .addons-banner-block-item-icon,.wcv_addons_wrap .addons-column-block-item-icon{-webkit-box-align:center;-ms-flex-align:center;align-items:center;display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-pack:center;-ms-flex-pack:center;justify-content:center}.wcv_addons_wrap .addons-banner-block,.wcv_addons_wrap .addons-wcs-banner-block{background:#fff;border:1px solid #ddd;margin:0 0 1em 0;padding:2em 2em 1em}.wcv_addons_wrap .addons-banner-block img{height:62px}.wcv_addons_wrap .addons-banner-block p{margin:0 0 20px}.wcv_addons_wrap .addons-banner-block-items{display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-orient:horizontal;-webkit-box-direction:normal;-ms-flex-direction:row;flex-direction:row;-ms-flex-wrap:wrap;flex-wrap:wrap;-ms-flex-pack:distribute;justify-content:space-around;margin:0 -10px 0 -10px}.wcv_addons_wrap .addons-banner-block-item{border:1px solid #e6e6e6;border-radius:3px;-webkit-box-flex:1;-ms-flex:1;flex:1;margin:1em;min-width:200px;width:30%}.wcv_addons_wrap .addons-banner-block-item-icon{background:#f7f7f7;height:143px}.wcv_addons_wrap .addons-banner-block-item-content{display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-orient:vertical;-webkit-box-direction:normal;-ms-flex-direction:column;flex-direction:column;height:184px;-webkit-box-pack:justify;-ms-flex-pack:justify;justify-content:space-between;padding:24px}.wcv_addons_wrap .addons-banner-block-item-content h3{margin-top:0}.wcv_addons_wrap .addons-banner-block-item-content p{margin:0 0 auto}.wcv_addons_wrap .addons-wcs-banner-block{display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-align:center;-ms-flex-align:center;align-items:center}.wcv_addons_wrap .addons-wcs-banner-block-image{background:#f7f7f7;border:1px solid #e6e6e6;margin-right:2em;width:400px;padding:1em;text-align:center}.wcv_addons_wrap .addons-wcs-banner-block-image .addons-img{margin:auto 0;max-height:350px;max-width:350px}.wcv_addons_wrap .addons-shipping-methods .addons-wcs-banner-block{margin-left:0;margin-right:0;margin-top:1em}.wcv_addons_wrap .addons-wcs-banner-block-content{display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-orient:vertical;-webkit-box-direction:normal;-ms-flex-direction:column;flex-direction:column;-ms-flex-pack:distribute;justify-content:space-around;-ms-flex-item-align:stretch;align-self:stretch;padding:1em 0}.wcv_addons_wrap .addons-wcs-banner-block-content h1{padding-bottom:0}.wcv_addons_wrap .addons-wcs-banner-block-content p{margin-bottom:0}.wcv_addons_wrap .addons-wcs-banner-block-content .wcs-service-logo{max-width:40px}.wcv_addons_wrap .addons-column-section{display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-orient:horizontal;-webkit-box-direction:normal;-ms-flex-direction:row;flex-direction:row;-ms-flex-wrap:wrap;flex-wrap:wrap;-ms-flex-pack:distribute;justify-content:space-around}.wcv_addons_wrap .addons-column{-webkit-box-flex:1;-ms-flex:1;flex:1;width:50%;padding:0 .5em}.wcv_addons_wrap .addons-column:nth-child(2){margin-right:0}.wcv_addons_wrap .addons-column-block,.wcv_addons_wrap .addons-small-dark-block,.wcv_addons_wrap .addons-small-light-block{-webkit-box-sizing:border-box;box-sizing:border-box;border:1px solid #ddd;margin:0 0 1em;padding:20px}.wcv_addons_wrap .addons-column-block img{max-height:50px;max-width:50px}.wcv_addons_wrap .addons-column-block,.wcv_addons_wrap .addons-small-light-block{background:#fff}.wcv_addons_wrap .addons-column-block-left{float:left}.wcv_addons_wrap .addons-column-block-right{float:right}.wcv_addons_wrap .addons-column-block-item{border-top:2px solid #f9f9f9;-webkit-box-orient:horizontal;-webkit-box-direction:normal;-ms-flex-direction:row;flex-direction:row;-ms-flex-wrap:wrap;flex-wrap:wrap;-webkit-box-pack:justify;-ms-flex-pack:justify;justify-content:space-between;margin:0 -20px;padding:20px}.wcv_addons_wrap .addons-column-block-item-icon{background:#f7f7f7;border:1px solid #e6e6e6;height:100px;margin:0 10px 10px 0;width:100px}.wcv_addons_wrap .addons-column-block-item-content{display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-flex:1;-ms-flex:1;flex:1;-ms-flex-wrap:wrap;flex-wrap:wrap;height:20%;-webkit-box-pack:justify;-ms-flex-pack:justify;justify-content:space-between;min-width:200px}.wcv_addons_wrap .addons-column-block-item-content h2{float:left;margin-top:8px}.wcv_addons_wrap .addons-column-block-item-content a{float:right}.wcv_addons_wrap .addons-column-block-item-content p{float:left}.wcv_addons_wrap .addons-banner-block-item,.wcv_addons_wrap .addons-column-block-item{display:none}.wcv_addons_wrap .addons-banner-block-item:nth-child(-n+3){display:block}.wcv_addons_wrap .addons-column-block-item:nth-of-type(-n+3){display:-webkit-box;display:-ms-flexbox;display:flex}.wcv_addons_wrap .addons-small-dark-block{background-color:#54687d;text-align:center}.wcv_addons_wrap .addons-small-dark-items{display:-webkit-box;display:-ms-flexbox;display:flex;-ms-flex-wrap:wrap;flex-wrap:wrap;-ms-flex-pack:distribute;justify-content:space-around}.wcv_addons_wrap .addons-small-dark-item{margin:0 0 20px}.wcv_addons_wrap .addons-small-dark-block h1{color:#fff}.wcv_addons_wrap .addons-small-dark-block p{color:#fafafa}.wcv_addons_wrap .addons-small-dark-item-icon img{height:30px}.wcv_addons_wrap .addons-small-dark-item a{margin:28px auto 0}.wcv_addons_wrap .addons-small-light-block{display:-webkit-box;display:-ms-flexbox;display:flex;-ms-flex-wrap:wrap;flex-wrap:wrap}.wcv_addons_wrap .addons-small-light-block h1{margin-top:-12px}.wcv_addons_wrap .addons-small-light-block p{margin-top:0}.wcv_addons_wrap .addons-small-light-block img{height:225px;margin:0 0 0 -20px}.wcv_addons_wrap .addons-small-light-block-content{display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-flex:1;-ms-flex:1 1 100px;flex:1 1 100px;-webkit-box-orient:vertical;-webkit-box-direction:normal;-ms-flex-direction:column;flex-direction:column;-ms-flex-pack:distribute;justify-content:space-around}.wcv_addons_wrap .addons-small-light-block-buttons{display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-pack:justify;-ms-flex-pack:justify;justify-content:space-between}.wcv_addons_wrap .addons-small-light-block-content a{width:48%}.wcv_addons_wrap .product-addons-button{cursor:pointer;display:block;height:37px;line-height:37px;text-align:center;text-decoration:none;width:124px}.wcv_addons_wrap .product-addons-button-solid{background-color:#005580;color:#fff}.wcv_addons_wrap .addons-button{border-radius:3px;cursor:pointer;display:block;height:37px;line-height:37px;text-align:center;text-decoration:none;width:124px}.wcv_addons_wrap .addons-button-solid{background-color:#005580;color:#fff}.wcv_addons_wrap .addons-button-solid:hover{color:#fff;opacity:.8}.wcv_addons_wrap .addons-button-outline-green{border:1px solid #73ae39;color:#73ae39}.wcv_addons_wrap .addons-button-outline-green:hover{color:#73ae39;opacity:.8}.wcv_addons_wrap .addons-button-outline-white{border:1px solid #fff;color:#fff}.wcv_addons_wrap .addons-button-outline-white:hover{color:#fff;opacity:.8}.wcv_addons_wrap .addons-button-installed{background:#e6e6e6;color:#3c3c3c}.wcv_addons_wrap .addons-button-installed:hover{color:#3c3c3c;opacity:.8}@media only screen and (max-width:400px){.wcv_addons_wrap .addons-featured{margin:-1% -5%}.wcv_addons_wrap .addons-button{width:100%}.wcv_addons_wrap .addons-small-dark-item{width:100%}.wcv_addons_wrap .addons-column-block-item-icon{background:0 0;border:none;height:75px;margin:0 10px 10px 0;width:75px}}.wcv_addons_wrap .products{overflow:hidden;display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-orient:horizontal;-webkit-box-direction:normal;-ms-flex-flow:row;flex-flow:row;-ms-flex-wrap:wrap;flex-wrap:wrap;margin:0 -.5em}.wcv_addons_wrap .products li{float:left;border:1px solid #ddd;margin:0 .5em 1em!important;padding:0;vertical-align:top;width:25%;min-width:280px;min-height:220px;-webkit-box-flex:1;-ms-flex:1;flex:1;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)}.wcv_addons_wrap .products li a{text-decoration:none;color:inherit;display:block;height:100%}.wcv_addons_wrap .products li a .product-img-wrap{background:#fff;display:block}.wcv_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}.wcv_addons_wrap .products li a img.extension-thumb+h3{display:none}.wcv_addons_wrap .products li a .price{display:none}.wcv_addons_wrap .products li a h2,.wcv_addons_wrap .products li a h3{margin:0!important;padding:20px!important;background:#fff}.wcv_addons_wrap .products li a p{padding:20px!important;margin:0!important;border-top:1px solid #f1f1f1}.wcv_addons_wrap .products li a:focus,.wcv_addons_wrap .products li a:hover{background-color:#fff}
1
+ .wcv_addons_wrap{max-width:1200px}.wcv_addons_wrap h1.search-form-title{clear:left;padding:0}.wcv_addons_wrap .update-plugins .update-count{background-color:#d54e21;border-radius:10px;color:#fff;display:inline-block;font-size:9px;font-weight:600;line-height:17px;margin:1px 0 0 2px;padding:0 6px;vertical-align:text-top}.wcv_addons_wrap .addons-featured{margin:0}.wcv_addons_wrap ul.feature-list{list-style:inherit}.wcv_addons_wrap ul.feature-list li{margin-left:20px}.wcv_addons_wrap ul.subsubsub.subsubsub{margin:-2px 0 12px}.wcv_addons_wrap .subsubsub li::after{content:'|'}.wcv_addons_wrap .subsubsub li:last-child::after{content:''}.wcv_addons_wrap .addons-banner-block-item-icon,.wcv_addons_wrap .addons-column-block-item-icon{-webkit-box-align:center;-ms-flex-align:center;align-items:center;display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-pack:center;-ms-flex-pack:center;justify-content:center}.wcv_addons_wrap .addons-banner-block,.wcv_addons_wrap .addons-wcs-banner-block{background:#fff;border:1px solid #ddd;margin:0 0 1em 0;padding:2em 2em 1em}.wcv_addons_wrap .addons-banner-block img{height:62px}.wcv_addons_wrap .addons-banner-block p{margin:0 0 20px}.wcv_addons_wrap .addons-banner-block-items{display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-orient:horizontal;-webkit-box-direction:normal;-ms-flex-direction:row;flex-direction:row;-ms-flex-wrap:wrap;flex-wrap:wrap;-ms-flex-pack:distribute;justify-content:space-around;margin:0 -10px 0 -10px}.wcv_addons_wrap .addons-banner-block-item{border:1px solid #e6e6e6;border-radius:3px;-webkit-box-flex:1;-ms-flex:1;flex:1;margin:1em;min-width:200px;width:30%}.wcv_addons_wrap .addons-banner-block-item-icon{background:#f7f7f7;height:143px}.wcv_addons_wrap .addons-banner-block-item-content{display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-orient:vertical;-webkit-box-direction:normal;-ms-flex-direction:column;flex-direction:column;height:184px;-webkit-box-pack:justify;-ms-flex-pack:justify;justify-content:space-between;padding:24px}.wcv_addons_wrap .addons-banner-block-item-content h3{margin-top:0}.wcv_addons_wrap .addons-banner-block-item-content p{margin:0 0 auto}.wcv_addons_wrap .addons-wcs-banner-block{display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-align:center;-ms-flex-align:center;align-items:center}.wcv_addons_wrap .addons-wcs-banner-block-image{background:#f7f7f7;border:1px solid #e6e6e6;margin-right:2em;width:400px;padding:1em;text-align:center}.wcv_addons_wrap .addons-wcs-banner-block-image .addons-img{margin:auto 0;max-height:350px;max-width:350px}.wcv_addons_wrap .addons-shipping-methods .addons-wcs-banner-block{margin-left:0;margin-right:0;margin-top:1em}.wcv_addons_wrap .addons-wcs-banner-block-content{display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-orient:vertical;-webkit-box-direction:normal;-ms-flex-direction:column;flex-direction:column;-ms-flex-pack:distribute;justify-content:space-around;-ms-flex-item-align:stretch;align-self:stretch;padding:1em 0}.wcv_addons_wrap .addons-wcs-banner-block-content h1{padding-bottom:0}.wcv_addons_wrap .addons-wcs-banner-block-content p{margin-bottom:0}.wcv_addons_wrap .addons-wcs-banner-block-content .wcs-service-logo{max-width:40px}.wcv_addons_wrap .addons-column-section{display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-orient:horizontal;-webkit-box-direction:normal;-ms-flex-direction:row;flex-direction:row;-ms-flex-wrap:wrap;flex-wrap:wrap;-ms-flex-pack:distribute;justify-content:space-around}.wcv_addons_wrap .addons-column{-webkit-box-flex:1;-ms-flex:1;flex:1;width:50%;padding:0 .5em}.wcv_addons_wrap .addons-column:nth-child(2){margin-right:0}.wcv_addons_wrap .addons-column-block,.wcv_addons_wrap .addons-small-dark-block,.wcv_addons_wrap .addons-small-light-block{-webkit-box-sizing:border-box;box-sizing:border-box;border:1px solid #ddd;margin:0 0 1em;padding:20px}.wcv_addons_wrap .addons-column-block img{max-height:50px;max-width:50px}.wcv_addons_wrap .addons-column-block,.wcv_addons_wrap .addons-small-light-block{background:#fff}.wcv_addons_wrap .addons-column-block-left{float:left}.wcv_addons_wrap .addons-column-block-right{float:right}.wcv_addons_wrap .addons-column-block-item{border-top:2px solid #f9f9f9;-webkit-box-orient:horizontal;-webkit-box-direction:normal;-ms-flex-direction:row;flex-direction:row;-ms-flex-wrap:wrap;flex-wrap:wrap;-webkit-box-pack:justify;-ms-flex-pack:justify;justify-content:space-between;margin:0 -20px;padding:20px}.wcv_addons_wrap .addons-column-block-item-icon{background:#f7f7f7;border:1px solid #e6e6e6;height:100px;margin:0 10px 10px 0;width:100px}.wcv_addons_wrap .addons-column-block-item-content{display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-flex:1;-ms-flex:1;flex:1;-ms-flex-wrap:wrap;flex-wrap:wrap;height:20%;-webkit-box-pack:justify;-ms-flex-pack:justify;justify-content:space-between;min-width:200px}.wcv_addons_wrap .addons-column-block-item-content h2{float:left;margin-top:8px}.wcv_addons_wrap .addons-column-block-item-content a{float:right}.wcv_addons_wrap .addons-column-block-item-content p{float:left}.wcv_addons_wrap .addons-banner-block-item,.wcv_addons_wrap .addons-column-block-item{display:none}.wcv_addons_wrap .addons-banner-block-item:nth-child(-n+3){display:block}.wcv_addons_wrap .addons-column-block-item:nth-of-type(-n+3){display:-webkit-box;display:-ms-flexbox;display:flex}.wcv_addons_wrap .addons-small-dark-block{background-color:#54687d;text-align:center}.wcv_addons_wrap .addons-small-dark-items{display:-webkit-box;display:-ms-flexbox;display:flex;-ms-flex-wrap:wrap;flex-wrap:wrap;-ms-flex-pack:distribute;justify-content:space-around}.wcv_addons_wrap .addons-small-dark-item{margin:0 0 20px}.wcv_addons_wrap .addons-small-dark-block h1{color:#fff}.wcv_addons_wrap .addons-small-dark-block p{color:#fafafa}.wcv_addons_wrap .addons-small-dark-item-icon img{height:30px}.wcv_addons_wrap .addons-small-dark-item a{margin:28px auto 0}.wcv_addons_wrap .addons-small-light-block{display:-webkit-box;display:-ms-flexbox;display:flex;-ms-flex-wrap:wrap;flex-wrap:wrap}.wcv_addons_wrap .addons-small-light-block h1{margin-top:-12px}.wcv_addons_wrap .addons-small-light-block p{margin-top:0}.wcv_addons_wrap .addons-small-light-block img{height:225px;margin:0 0 0 -20px}.wcv_addons_wrap .addons-small-light-block-content{display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-flex:1;-ms-flex:1 1 100px;flex:1 1 100px;-webkit-box-orient:vertical;-webkit-box-direction:normal;-ms-flex-direction:column;flex-direction:column;-ms-flex-pack:distribute;justify-content:space-around}.wcv_addons_wrap .addons-small-light-block-buttons{display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-pack:justify;-ms-flex-pack:justify;justify-content:space-between}.wcv_addons_wrap .addons-small-light-block-content a{width:48%}.wcv_addons_wrap .product-addons-button{cursor:pointer;display:block;height:37px;line-height:37px;text-align:center;text-decoration:none;width:124px}.wcv_addons_wrap .product-addons-button-solid{background-color:#005580;color:#fff}.wcv_addons_wrap .addons-button{border-radius:3px;cursor:pointer;display:block;height:37px;line-height:37px;text-align:center;text-decoration:none;width:124px}.wcv_addons_wrap .addons-button-solid{background-color:#005580;color:#fff}.wcv_addons_wrap .addons-button-solid:hover{color:#fff;opacity:.8}.wcv_addons_wrap .addons-button-outline-green{border:1px solid #73ae39;color:#73ae39}.wcv_addons_wrap .addons-button-outline-green:hover{color:#73ae39;opacity:.8}.wcv_addons_wrap .addons-button-outline-white{border:1px solid #fff;color:#fff}.wcv_addons_wrap .addons-button-outline-white:hover{color:#fff;opacity:.8}.wcv_addons_wrap .addons-button-installed{background:#e6e6e6;color:#3c3c3c}.wcv_addons_wrap .addons-button-installed:hover{color:#3c3c3c;opacity:.8}@media only screen and (max-width:400px){.wcv_addons_wrap .addons-featured{margin:-1% -5%}.wcv_addons_wrap .addons-button{width:100%}.wcv_addons_wrap .addons-small-dark-item{width:100%}.wcv_addons_wrap .addons-column-block-item-icon{background:0 0;border:none;height:75px;margin:0 10px 10px 0;width:75px}}.wcv_addons_wrap .colorpickpreview{padding:7px 0;line-height:1em;display:inline-block;width:26px;border:1px solid #ddd;font-size:14px}.wcv_addons_wrap .products{overflow:hidden;display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-orient:horizontal;-webkit-box-direction:normal;-ms-flex-flow:row;flex-flow:row;-ms-flex-wrap:wrap;flex-wrap:wrap;margin:0 -.5em}.wcv_addons_wrap .products li{float:left;border:1px solid #ddd;margin:0 .5em 1em!important;padding:0;vertical-align:top;width:25%;min-width:280px;min-height:220px;-webkit-box-flex:1;-ms-flex:1;flex:1;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)}.wcv_addons_wrap .products li a{text-decoration:none;color:inherit;display:block;height:100%}.wcv_addons_wrap .products li a .product-img-wrap{background:#fff;display:block}.wcv_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}.wcv_addons_wrap .products li a img.extension-thumb+h3{display:none}.wcv_addons_wrap .products li a .price{display:none}.wcv_addons_wrap .products li a h2,.wcv_addons_wrap .products li a h3{margin:0!important;padding:20px!important;background:#fff}.wcv_addons_wrap .products li a p{padding:20px!important;margin:0!important;border-top:1px solid #f1f1f1}.wcv_addons_wrap .products li a:focus,.wcv_addons_wrap .products li a:hover{background-color:#fff}
assets/css/wcv-admin.scss CHANGED
@@ -399,6 +399,15 @@
399
  }
400
  }
401
 
 
 
 
 
 
 
 
 
 
402
  .products {
403
  overflow: hidden;
404
  display: flex;
399
  }
400
  }
401
 
402
+ .colorpickpreview {
403
+ padding: 7px 0;
404
+ line-height: 1em;
405
+ display: inline-block;
406
+ width: 26px;
407
+ border: 1px solid #ddd;
408
+ font-size: 14px;
409
+ }
410
+
411
  .products {
412
  overflow: hidden;
413
  display: flex;
assets/js/admin/settings.js CHANGED
@@ -37,4 +37,38 @@
37
  return false;
38
  });
39
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
40
  })( jQuery );
37
  return false;
38
  });
39
 
40
+ // Color picker
41
+ $( '.colorpick' )
42
+
43
+ .iris({
44
+ change: function( event, ui ) {
45
+ $( this ).parent().find( '.colorpickpreview' ).css({ backgroundColor: ui.color.toString() });
46
+ },
47
+ hide: true,
48
+ border: true
49
+ })
50
+
51
+ .on( 'click focus', function( event ) {
52
+ event.stopPropagation();
53
+ $( '.iris-picker' ).hide();
54
+ $( this ).closest( 'td' ).find( '.iris-picker' ).show();
55
+ $( this ).data( 'original-value', $( this ).val() );
56
+ })
57
+
58
+ .on( 'change', function() {
59
+ if ( $( this ).is( '.iris-error' ) ) {
60
+ var original_value = $( this ).data( 'original-value' );
61
+
62
+ if ( original_value.match( /^\#([a-fA-F0-9]{6}|[a-fA-F0-9]{3})$/ ) ) {
63
+ $( this ).val( $( this ).data( 'original-value' ) ).change();
64
+ } else {
65
+ $( this ).val( '' ).change();
66
+ }
67
+ }
68
+ });
69
+
70
+ $( 'body' ).on( 'click', function() {
71
+ $( '.iris-picker' ).hide();
72
+ });
73
+
74
  })( jQuery );
assets/js/wcv-admin-login.js CHANGED
@@ -1,9 +1,11 @@
1
  jQuery( function () {
2
- if (jQuery('#apply_for_vendor').is(':checked')) {
3
- jQuery('.agree-to-terms-container').show();
4
- }
 
5
 
6
- jQuery('#apply_for_vendor').on('click', function () {
7
- jQuery('.agree-to-terms-container').slideToggle();
8
- });
 
9
  });
1
  jQuery( function () {
2
+ if ( $( '#terms_and_conditions_visibility' ).val() == 'no' ){
3
+ if (jQuery('#apply_for_vendor').is(':checked')) {
4
+ jQuery('.agree-to-terms-container').show();
5
+ }
6
 
7
+ jQuery('#apply_for_vendor').on('click', function () {
8
+ jQuery('.agree-to-terms-container').slideToggle();
9
+ });
10
+ }
11
  });
changelog.txt CHANGED
@@ -1,5 +1,22 @@
1
  Changelog for WC Vendors Marketplace
2
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
3
  Version 2.0.10
4
 
5
  * Fixed: Commission by Product report is not functioning & shows errors #456
1
  Changelog for WC Vendors Marketplace
2
 
3
+ Version 2.1.0
4
+
5
+ * Added Option to remove "Become a Vendor" tab on the my-account page
6
+ * Update: Make it easier to visually see which emails have been deprecated
7
+ * Fixed: Virtual / Downloadable Hide option does not work #483
8
+ * Fixed: Admin notify vendor application not firing #468
9
+ * Fixed: Username not showing in Admin notification email subject
10
+ * Fixed: Terms & conditions on wp-register page #479
11
+ * Fixed: Capabilities resetting disables edit live products #466
12
+ * Fixed: Vendor labels can't be translated #451
13
+ * Fixed: "Become a Vendor" tab is not hidden for vendor role #472
14
+ * Fixed: WooCommerce Product Enquiry emails not working #465
15
+ * Fixed: Color picker class not working when adding custom class (#469)
16
+ * Fixed: Stop vendor notification sending twice
17
+ * Fixed: Shipping cost to be added onto Vendor commissions #463
18
+ * Fixed: Using wrong method in classes/class-shipping.php #461
19
+
20
  Version 2.0.10
21
 
22
  * Fixed: Commission by Product report is not functioning & shows errors #456
class-wc-vendors.php CHANGED
@@ -7,11 +7,11 @@
7
  * Author URI: https://www.wcvendors.com
8
  * GitHub Plugin URI: https://github.com/wcvendors/wcvendors
9
  *
10
- * Version: 2.0.10
11
  * Requires at least: 4.4.0
12
  * Tested up to: 4.9.5
13
  * WC requires at least: 3.3.0
14
- * WC tested up to: 3.4.3
15
  *
16
  * Text Domain: wc-vendors
17
  * Domain Path: /languages/
7
  * Author URI: https://www.wcvendors.com
8
  * GitHub Plugin URI: https://github.com/wcvendors/wcvendors
9
  *
10
+ * Version: 2.1.0
11
  * Requires at least: 4.4.0
12
  * Tested up to: 4.9.5
13
  * WC requires at least: 3.3.0
14
+ * WC tested up to: 3.4.4
15
  *
16
  * Text Domain: wc-vendors
17
  * Domain Path: /languages/
classes/admin/class-admin-reports.php CHANGED
@@ -275,7 +275,7 @@ class WCV_Admin_Reports
275
  <?php }
276
  } else { ?>
277
  <select class="chosen_select" id="show_vendor" name="show_vendor" style="width: 300px;"
278
- data-placeholder="<?php _e( 'Select a vendor&hellip;', 'wc-vendors' ); ?>">
279
  <option></option>
280
  <?php foreach ( $vendors as $key => $vendor ) printf( '<option value="%s" %s>%s</option>', $vendor->ID, selected( $selected_vendor, $vendor->ID, false ), $vendor->display_name ); ?>
281
  </select>
275
  <?php }
276
  } else { ?>
277
  <select class="chosen_select" id="show_vendor" name="show_vendor" style="width: 300px;"
278
+ data-placeholder="<?php echo sprintf( __( 'Select a %s&hellip;', 'wc-vendors' ), wcv_get_vendor_name() ); ?>">
279
  <option></option>
280
  <?php foreach ( $vendors as $key => $vendor ) printf( '<option value="%s" %s>%s</option>', $vendor->ID, selected( $selected_vendor, $vendor->ID, false ), $vendor->display_name ); ?>
281
  </select>
classes/admin/class-admin-users.php CHANGED
@@ -57,6 +57,9 @@ class WCV_Admin_Users
57
  // WC > Product featured
58
  add_filter( 'manage_product_posts_columns', array( $this, 'manage_product_columns'), 99);
59
 
 
 
 
60
  }
61
 
62
  }
@@ -422,4 +425,22 @@ class WCV_Admin_Users
422
  return $columns;
423
  }
424
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
425
  }
57
  // WC > Product featured
58
  add_filter( 'manage_product_posts_columns', array( $this, 'manage_product_columns'), 99);
59
 
60
+ //Check allowed product types and hide controls
61
+ add_filter( 'product_type_options', array( $this, 'check_allowed_product_type_options' ) );
62
+
63
  }
64
 
65
  }
425
  return $columns;
426
  }
427
 
428
+ /**
429
+ * Hide the virtual or downloadable product types if hidden in settings
430
+ *
431
+ * @param array $type_options - the product types
432
+ * @return void
433
+ *
434
+ * @since 2.1.1
435
+ */
436
+ public static function check_allowed_product_type_options( $type_options ){
437
+ $product_types = get_option( 'wcvendors_capability_product_type_options' );
438
+
439
+ foreach( $product_types as $type ) {
440
+ unset( $type_options[ $type ] );
441
+ }
442
+
443
+ return $type_options;
444
+ }
445
+
446
  }
classes/admin/class-wcv-admin-settings.php CHANGED
@@ -234,7 +234,7 @@ if ( ! defined( 'ABSPATH' ) ) {
234
  dir="ltr"
235
  style="<?php echo esc_attr( $value['css'] ); ?>"
236
  value="<?php echo esc_attr( $option_value ); ?>"
237
- class="<?php echo esc_attr( $value['class'] ); ?>colorpick"
238
  placeholder="<?php echo esc_attr( $value['placeholder'] ); ?>"
239
  <?php echo implode( ' ', $custom_attributes ); ?>
240
  />&lrm; <?php echo $description; ?>
234
  dir="ltr"
235
  style="<?php echo esc_attr( $value['css'] ); ?>"
236
  value="<?php echo esc_attr( $option_value ); ?>"
237
+ class="<?php echo esc_attr( $value['class'] ); ?> colorpick"
238
  placeholder="<?php echo esc_attr( $value['placeholder'] ); ?>"
239
  <?php echo implode( ' ', $custom_attributes ); ?>
240
  />&lrm; <?php echo $description; ?>
classes/admin/class-wcv-admin-setup.php CHANGED
@@ -123,6 +123,7 @@ class WCV_Admin_Setup {
123
  $args = array(
124
  'assign_product_terms' => $can_add,
125
  'edit_products' => $can_add || $can_edit,
 
126
  'edit_published_products' => $can_edit,
127
  'delete_published_products' => $can_edit,
128
  'delete_products' => $can_edit,
@@ -280,11 +281,12 @@ class WCV_Admin_Setup {
280
 
281
  $can_add = wc_string_to_bool( get_option( 'wcvendors_capability_products_enabled', 'no' ) );
282
  $can_edit = wc_string_to_bool( get_option( 'wcvendors_capability_products_edit', 'no' ) );
283
- $can_submit_live = wc_string_to_bool( get_option( 'wcvendors_capability_products_live', 'no' ) );
284
 
285
  $args = array(
286
  'assign_product_terms' => $can_add,
287
  'edit_products' => $can_add || $can_edit,
 
288
  'edit_published_products' => $can_edit,
289
  'delete_published_products' => $can_edit,
290
  'delete_products' => $can_edit,
123
  $args = array(
124
  'assign_product_terms' => $can_add,
125
  'edit_products' => $can_add || $can_edit,
126
+ 'edit_product' => $can_add || $can_edit,
127
  'edit_published_products' => $can_edit,
128
  'delete_published_products' => $can_edit,
129
  'delete_products' => $can_edit,
281
 
282
  $can_add = wc_string_to_bool( get_option( 'wcvendors_capability_products_enabled', 'no' ) );
283
  $can_edit = wc_string_to_bool( get_option( 'wcvendors_capability_products_edit', 'no' ) );
284
+ $can_submit_live = wc_string_to_bool( get_option( 'wcvendors_capability_products_live', 'no' ) );
285
 
286
  $args = array(
287
  'assign_product_terms' => $can_add,
288
  'edit_products' => $can_add || $can_edit,
289
+ 'edit_product' => $can_add || $can_edit,
290
  'edit_published_products' => $can_edit,
291
  'delete_published_products' => $can_edit,
292
  'delete_products' => $can_edit,
classes/admin/emails/class-emails.php CHANGED
@@ -40,8 +40,8 @@ class WCV_Emails
40
  add_action( 'wcvendors_email_customer_details', array( $this, 'vendor_customer_details'), 10, 4 );
41
  add_action( 'set_user_role', array( $this, 'vendor_application' ), 10, 2 );
42
 
43
- //Trigger emails during user registration
44
- add_action( 'user_register', array( $this, 'vendor_application' ), 10, 1 );
45
 
46
  }
47
 
@@ -196,7 +196,7 @@ class WCV_Emails
196
  public function vendor_application( $user_id, $role = "" ){
197
  /**
198
  * If the role is not given, set it according to the vendor approval option in admin
199
- */
200
  if ( $role == "" ) {
201
  $manual = wc_string_to_bool( get_option( 'wcvendors_vendor_approve_registration', 'no' ) );
202
  $role = apply_filters( 'wcvendors_pending_role', ( $manual ? 'pending_vendor' : 'vendor' ) );
@@ -204,16 +204,21 @@ class WCV_Emails
204
 
205
  if ( !empty( $_POST[ 'apply_for_vendor' ] ) || ( !empty( $_GET[ 'action' ] ) && ( $_GET[ 'action' ] == 'approve_vendor' || $_GET[ 'action' ] == 'deny_vendor' ) ) ) {
206
 
 
 
207
  if ( $role == 'pending_vendor' ) {
208
  WC()->mailer()->emails[ 'WCVendors_Vendor_Notify_Application' ]->trigger( $user_id, __( 'pending', 'wc-vendors' ) );
 
209
  } else if ( $role == 'vendor' ) {
210
  WC()->mailer()->emails[ 'WCVendors_Vendor_Notify_Approved' ]->trigger( $user_id );
 
211
  } else if ( !empty( $_GET[ 'action' ] ) && $_GET[ 'action' ] == 'deny_vendor' ) {
212
  $reason = isset( $_GET[ 'reason' ] ) ? $_GET[ 'reason' ] : '';
213
  WC()->mailer()->emails[ 'WCVendors_Vendor_Notify_Denied' ]->trigger( $user_id, $reason );
 
214
  }
215
 
216
- WC()->mailer()->emails[ 'WCVendors_Admin_Notify_Application' ]->trigger( $user_id, $role );
217
 
218
  }
219
  }
@@ -292,8 +297,20 @@ class WCV_Emails
292
  ),
293
  'woocommerce', WCV_TEMPLATE_BASE );
294
  }
 
295
 
296
 
 
 
 
 
 
 
 
 
 
 
297
  }
298
 
 
299
  }
40
  add_action( 'wcvendors_email_customer_details', array( $this, 'vendor_customer_details'), 10, 4 );
41
  add_action( 'set_user_role', array( $this, 'vendor_application' ), 10, 2 );
42
 
43
+ // WooCommerce Product Enquiry Compatibility
44
+ add_filter( 'product_enquiry_send_to', array( $this, 'product_enquiry_compatibility' ), 10, 2 );
45
 
46
  }
47
 
196
  public function vendor_application( $user_id, $role = "" ){
197
  /**
198
  * If the role is not given, set it according to the vendor approval option in admin
199
+ */
200
  if ( $role == "" ) {
201
  $manual = wc_string_to_bool( get_option( 'wcvendors_vendor_approve_registration', 'no' ) );
202
  $role = apply_filters( 'wcvendors_pending_role', ( $manual ? 'pending_vendor' : 'vendor' ) );
204
 
205
  if ( !empty( $_POST[ 'apply_for_vendor' ] ) || ( !empty( $_GET[ 'action' ] ) && ( $_GET[ 'action' ] == 'approve_vendor' || $_GET[ 'action' ] == 'deny_vendor' ) ) ) {
206
 
207
+ $role = ( $role != 'pending_vendor' && $role != 'vendor' ) ? 'pending_vendor' : $role ;
208
+
209
  if ( $role == 'pending_vendor' ) {
210
  WC()->mailer()->emails[ 'WCVendors_Vendor_Notify_Application' ]->trigger( $user_id, __( 'pending', 'wc-vendors' ) );
211
+ $status = __( 'pending', 'wc-vendors' );
212
  } else if ( $role == 'vendor' ) {
213
  WC()->mailer()->emails[ 'WCVendors_Vendor_Notify_Approved' ]->trigger( $user_id );
214
+ $status = __( 'approved', 'wc-vendors' );
215
  } else if ( !empty( $_GET[ 'action' ] ) && $_GET[ 'action' ] == 'deny_vendor' ) {
216
  $reason = isset( $_GET[ 'reason' ] ) ? $_GET[ 'reason' ] : '';
217
  WC()->mailer()->emails[ 'WCVendors_Vendor_Notify_Denied' ]->trigger( $user_id, $reason );
218
+ $status = __( 'denied', 'wc-vendors' );
219
  }
220
 
221
+ WC()->mailer()->emails[ 'WCVendors_Admin_Notify_Application' ]->trigger( $user_id, $status );
222
 
223
  }
224
  }
297
  ),
298
  'woocommerce', WCV_TEMPLATE_BASE );
299
  }
300
+ }
301
 
302
 
303
+ /**
304
+ * WooCommerce Product Enquiry hook - Send email to vendor instead of admin
305
+ */
306
+ public function product_enquiry_compatibility( $send_to, $product_id ) {
307
+ $author_id = get_post( $product_id )->post_author;
308
+ if ( WCV_Vendors::is_vendor( $author_id ) ) {
309
+ $send_to = get_userdata( $author_id )->user_email;
310
+ }
311
+
312
+ return $send_to;
313
  }
314
 
315
+
316
  }
classes/admin/emails/class-wc-approve-vendor.php CHANGED
@@ -25,7 +25,7 @@ class WC_Email_Approve_Vendor extends WC_Email
25
  function __construct()
26
  {
27
  $this->id = 'vendor_application';
28
- $this->title = sprintf( __( '%s Application', 'wc-vendors' ), wcv_get_vendor_name() );
29
  $this->description = sprintf( __( '%s application will either be approved, denied, or pending. <strong>This email has been deprecated.</strong>', 'wc-vendors' ), wcv_get_vendor_name() );
30
 
31
  $this->heading = __( 'Application {status}', 'wc-vendors' );
25
  function __construct()
26
  {
27
  $this->id = 'vendor_application';
28
+ $this->title = sprintf( __( '%s Application - deprecated', 'wc-vendors' ), wcv_get_vendor_name() );
29
  $this->description = sprintf( __( '%s application will either be approved, denied, or pending. <strong>This email has been deprecated.</strong>', 'wc-vendors' ), wcv_get_vendor_name() );
30
 
31
  $this->heading = __( 'Application {status}', 'wc-vendors' );
classes/admin/emails/class-wc-notify-admin.php CHANGED
@@ -25,7 +25,7 @@ class WC_Email_Notify_Admin extends WC_Email
25
  function __construct()
26
  {
27
  $this->id = 'admin_new_vendor_product';
28
- $this->title = sprintf( __( 'New %s Product', 'wc-vendors' ), wcv_get_vendor_name() );
29
  $this->description = __( 'New order emails are sent when a new product is submitted by a vendor. <strong>This email has been depreciated.</strong>', 'wc-vendors' );
30
 
31
  $this->heading = __( 'New product submitted: {product_name}', 'wc-vendors' );
25
  function __construct()
26
  {
27
  $this->id = 'admin_new_vendor_product';
28
+ $this->title = sprintf( __( 'New %s Product - deprecated', 'wc-vendors' ), wcv_get_vendor_name() );
29
  $this->description = __( 'New order emails are sent when a new product is submitted by a vendor. <strong>This email has been depreciated.</strong>', 'wc-vendors' );
30
 
31
  $this->heading = __( 'New product submitted: {product_name}', 'wc-vendors' );
classes/admin/emails/class-wc-notify-shipped.php CHANGED
@@ -25,7 +25,7 @@ class WC_Email_Notify_Shipped extends WC_Email
25
  function __construct()
26
  {
27
  $this->id = 'vendor_notify_shipped';
28
- $this->title = sprintf( __( '%s has shipped', 'wc-vendors' ), wcv_get_vendor_name() );
29
  $this->description = __( 'An email is sent when a vendor has marked one of their orders as shipped. <strong>This email has been deprecated.</strong>', 'wc-vendors' );
30
 
31
  $this->heading = __( 'Your order has been shipped', 'wc-vendors' );
25
  function __construct()
26
  {
27
  $this->id = 'vendor_notify_shipped';
28
+ $this->title = sprintf( __( '%s has shipped - deprecated', 'wc-vendors' ), wcv_get_vendor_name() );
29
  $this->description = __( 'An email is sent when a vendor has marked one of their orders as shipped. <strong>This email has been deprecated.</strong>', 'wc-vendors' );
30
 
31
  $this->heading = __( 'Your order has been shipped', 'wc-vendors' );
classes/admin/emails/class-wc-notify-vendor.php CHANGED
@@ -24,7 +24,7 @@ class WC_Email_Notify_Vendor extends WC_Email
24
  function __construct()
25
  {
26
  $this->id = 'vendor_new_order';
27
- $this->title = __( 'Notify vendors', 'wc-vendors' );
28
  $this->description = __( 'New order emails are sent when an order is received/paid by a customer. <strong>This email has been deprecated.</strong>', 'wc-vendors' );
29
 
30
  $this->heading = __( 'New customer order', 'wc-vendors' );
24
  function __construct()
25
  {
26
  $this->id = 'vendor_new_order';
27
+ $this->title = __( 'Notify vendors - deprecated', 'wc-vendors' );
28
  $this->description = __( 'New order emails are sent when an order is received/paid by a customer. <strong>This email has been deprecated.</strong>', 'wc-vendors' );
29
 
30
  $this->heading = __( 'New customer order', 'wc-vendors' );
classes/admin/emails/class-wcv-admin-notify-application.php CHANGED
@@ -7,9 +7,9 @@ if ( ! defined( 'ABSPATH' ) ) {
7
  if ( ! class_exists( 'WCVendors_Admin_Notify_Application' ) ) :
8
 
9
  /**
10
- * Notify Admin Shipped
11
  *
12
- * An email sent to the admin when the vendor marks the order shipped.
13
  *
14
  * @class WCVendors_Admin_Notify_Shipped
15
  * @version 2.0.0
@@ -64,8 +64,8 @@ class WCVendors_Admin_Notify_Application extends WC_Email {
64
  /**
65
  * Trigger the sending of this email.
66
  *
67
- * @param int $order_id The order ID.
68
- * @param WC_Order $order Order object.
69
  */
70
  public function trigger( $vendor_id, $status ) {
71
 
@@ -73,9 +73,12 @@ class WCVendors_Admin_Notify_Application extends WC_Email {
73
 
74
  $this->user = get_userdata( $vendor_id );
75
  $this->status = $status;
76
- $this->placeholders['{user_name}'] = $this->user->user_name;
77
 
78
- if ( $this->is_enabled() && $this->get_recipient() && $status === $this->get_option( 'notification' ) ) {
 
 
 
79
  $this->send( $this->get_recipient(), $this->get_subject(), $this->get_content(), $this->get_headers(), $this->get_attachments() );
80
  }
81
 
@@ -160,7 +163,7 @@ class WCVendors_Admin_Notify_Application extends WC_Email {
160
  'title' => __( 'Notification', 'wc-vendors' ),
161
  'type' => 'select',
162
  'description' => __( 'Choose when to be notified of an application.', 'wc-vendors' ),
163
- 'default' => 'pending',
164
  'class' => 'wc-enhanced-select',
165
  'options' => array(
166
  'vendor' => __( 'All Applications', 'wc-vendors'),
@@ -181,4 +184,4 @@ class WCVendors_Admin_Notify_Application extends WC_Email {
181
  }
182
  }
183
 
184
- endif;
7
  if ( ! class_exists( 'WCVendors_Admin_Notify_Application' ) ) :
8
 
9
  /**
10
+ * Notify Admin Application
11
  *
12
+ * An email sent to the admin when a user applies to be a vendor
13
  *
14
  * @class WCVendors_Admin_Notify_Shipped
15
  * @version 2.0.0
64
  /**
65
  * Trigger the sending of this email.
66
  *
67
+ * @param int $vendor_id The order ID.
68
+ * @param string $status vendor role.
69
  */
70
  public function trigger( $vendor_id, $status ) {
71
 
73
 
74
  $this->user = get_userdata( $vendor_id );
75
  $this->status = $status;
76
+ $this->placeholders['{user_name}'] = $this->user->user_login;
77
 
78
+ $send_if = $this->get_option( 'notification' );
79
+ $should_send = $send_if == 'vendor' ? true : ( $send_if == 'pending_vendor' && $status == 'pending' ? true: false );
80
+
81
+ if ( $this->is_enabled() && $this->get_recipient() && $should_send ) {
82
  $this->send( $this->get_recipient(), $this->get_subject(), $this->get_content(), $this->get_headers(), $this->get_attachments() );
83
  }
84
 
163
  'title' => __( 'Notification', 'wc-vendors' ),
164
  'type' => 'select',
165
  'description' => __( 'Choose when to be notified of an application.', 'wc-vendors' ),
166
+ 'default' => 'pending_vendor',
167
  'class' => 'wc-enhanced-select',
168
  'options' => array(
169
  'vendor' => __( 'All Applications', 'wc-vendors'),
184
  }
185
  }
186
 
187
+ endif;
classes/admin/settings/class-wcv-settings-display.php CHANGED
@@ -97,7 +97,7 @@ class WCVendors_Settings_Display extends WCVendors_Settings_Page {
97
  'desc_tip' => __( 'Change all references to vendor to this term', 'wc-vendors' ),
98
  'id' => 'wcvendors_vendor_singular',
99
  'type' => 'text',
100
- 'default' => __( 'Vendor', 'wc-vendors' ),
101
  ),
102
 
103
  array(
@@ -105,7 +105,7 @@ class WCVendors_Settings_Display extends WCVendors_Settings_Page {
105
  'desc_tip' => __( 'Change all references to vendors to this term', 'wc-vendors' ),
106
  'id' => 'wcvendors_vendor_plural',
107
  'type' => 'text',
108
- 'default' => __( 'Vendors', 'wc-vendors' ),
109
  ),
110
 
111
  array(
@@ -239,7 +239,7 @@ class WCVendors_Settings_Display extends WCVendors_Settings_Page {
239
 
240
  array(
241
  'title' => __( 'Shop HTML', 'wc-vendors' ),
242
- 'desc' => sprintf( __( 'Allow HTML in %s shop desription', 'wc-vendors' ), wcv_get_vendor_name( true, false ) ),
243
  'desc_tip' => sprintf( __( 'This will enable the WYSIWYG editor and for the %1$s shop description. You can enable or disable this per %1$s by editing the %1$s user account.', 'wc-vendors' ), wcv_get_vendor_name( true, false ) ),
244
  'id' => 'wcvendors_display_shop_description_html',
245
  'default' => 'no',
97
  'desc_tip' => __( 'Change all references to vendor to this term', 'wc-vendors' ),
98
  'id' => 'wcvendors_vendor_singular',
99
  'type' => 'text',
100
+ 'default' => sprintf( __( '%s', 'wc-vendors' ), wcv_get_vendor_name() ),
101
  ),
102
 
103
  array(
105
  'desc_tip' => __( 'Change all references to vendors to this term', 'wc-vendors' ),
106
  'id' => 'wcvendors_vendor_plural',
107
  'type' => 'text',
108
+ 'default' => sprintf( __( '%s', 'wc-vendors' ), wcv_get_vendor_name( false ) ),
109
  ),
110
 
111
  array(
239
 
240
  array(
241
  'title' => __( 'Shop HTML', 'wc-vendors' ),
242
+ 'desc' => sprintf( __( 'Allow HTML in %s shop description', 'wc-vendors' ), wcv_get_vendor_name( true, false ) ),
243
  'desc_tip' => sprintf( __( 'This will enable the WYSIWYG editor and for the %1$s shop description. You can enable or disable this per %1$s by editing the %1$s user account.', 'wc-vendors' ), wcv_get_vendor_name( true, false ) ),
244
  'id' => 'wcvendors_display_shop_description_html',
245
  'default' => 'no',
classes/admin/settings/class-wcv-settings-general.php CHANGED
@@ -73,6 +73,13 @@ class WCVendors_Settings_General extends WCVendors_Settings_Page {
73
  'default' => 'yes',
74
  'type' => 'checkbox',
75
  ),
 
 
 
 
 
 
 
76
  array(
77
  'title' => sprintf( __( '%s Approval', 'wc-vendors' ), wcv_get_vendor_name() ),
78
  'desc' => sprintf( __( 'Manually approve all %s applications', 'wc-vendors' ), wcv_get_vendor_name( true, false ) ),
@@ -80,6 +87,13 @@ class WCVendors_Settings_General extends WCVendors_Settings_Page {
80
  'default' => 'no',
81
  'type' => 'checkbox',
82
  ),
 
 
 
 
 
 
 
83
  array(
84
  'title' => sprintf( __( '%s Taxes', 'wc-vendors' ), wcv_get_vendor_name() ),
85
  'desc' => sprintf( __( 'Give any taxes to the %s', 'wc-vendors' ), wcv_get_vendor_name( true, false ) ),
73
  'default' => 'yes',
74
  'type' => 'checkbox',
75
  ),
76
+ array(
77
+ 'title' => sprintf( __( 'Terms & Conditions Checkbox', 'wc-vendors' ), wcv_get_vendor_name() ),
78
+ 'desc' => sprintf( __( 'Make the terms and conditions checkbox always visible even if become a %s is not checked', 'wc-vendors' ), wcv_get_vendor_name( true, false ) ),
79
+ 'id' => 'wcvendors_terms_and_conditions_visibility',
80
+ 'default' => 'yes',
81
+ 'type' => 'checkbox',
82
+ ),
83
  array(
84
  'title' => sprintf( __( '%s Approval', 'wc-vendors' ), wcv_get_vendor_name() ),
85
  'desc' => sprintf( __( 'Manually approve all %s applications', 'wc-vendors' ), wcv_get_vendor_name( true, false ) ),
87
  'default' => 'no',
88
  'type' => 'checkbox',
89
  ),
90
+ array(
91
+ 'title' => sprintf( __( 'Become a %s', 'wc-vendors' ), wcv_get_vendor_name() ),
92
+ 'desc' => sprintf( __( 'Show the "Become a %s" link on WooCommerce my-account page', 'wc-vendors' ), wcv_get_vendor_name( ) ),
93
+ 'id' => 'wcvendors_become_a_vendor_my_account_link_visibility',
94
+ 'default' => 'yes',
95
+ 'type' => 'checkbox',
96
+ ),
97
  array(
98
  'title' => sprintf( __( '%s Taxes', 'wc-vendors' ), wcv_get_vendor_name() ),
99
  'desc' => sprintf( __( 'Give any taxes to the %s', 'wc-vendors' ), wcv_get_vendor_name( true, false ) ),
classes/class-commission.php CHANGED
@@ -216,7 +216,7 @@ class WCV_Commission
216
  $table_name = $wpdb->prefix . "pv_commission";
217
  $where = $wpdb->prepare( 'WHERE status = %s', 'due' );
218
  $where = apply_filters( 'wcvendors_commission_all_due_where', $where );
219
- $query = "SELECT id, vendor_id, total_due FROM `{$table_name}` $where";
220
  $query = apply_filters( 'wcvendors_commission_all_due_sql', $query );
221
  $results = $wpdb->get_results( $query );
222
 
216
  $table_name = $wpdb->prefix . "pv_commission";
217
  $where = $wpdb->prepare( 'WHERE status = %s', 'due' );
218
  $where = apply_filters( 'wcvendors_commission_all_due_where', $where );
219
+ $query = "SELECT id, vendor_id, total_due, total_shipping FROM `{$table_name}` $where";
220
  $query = apply_filters( 'wcvendors_commission_all_due_sql', $query );
221
  $results = $wpdb->get_results( $query );
222
 
classes/class-install.php CHANGED
@@ -15,6 +15,10 @@ class WCVendors_Install {
15
  'wcv_migrate_settings',
16
  'wcv_enable_legacy_emails',
17
  'wcv_update_200_db_version',
 
 
 
 
18
  )
19
  );
20
 
@@ -148,21 +152,27 @@ class WCVendors_Install {
148
  );
149
 
150
  remove_role( 'vendor' );
 
 
 
151
  add_role(
152
  'vendor',
153
  sprintf( __( '%s', 'wc-vendors'), wcv_get_vendor_name() ) ,
154
  array(
155
- 'assign_product_terms' => true,
156
- 'edit_products' => true,
157
- 'edit_product' => true,
158
- 'edit_published_products' => false,
159
- 'manage_product' => true,
160
- 'publish_products' => false,
161
- 'delete_posts' => true,
162
- 'read' => true,
163
- 'import' => true,
164
- 'upload_files' => true,
165
- 'view_woocommerce_reports' => false,
 
 
 
166
  )
167
  );
168
  }
@@ -430,7 +440,7 @@ class WCVendors_Install {
430
  $row_meta = array(
431
  'docs' => '<a href="' . esc_url( apply_filters( 'wcvendors_docs_url', 'https://docs.wcvendors.com/' ) ) . '" aria-label="' . esc_attr__( 'View WC Vendors documentation', 'wc-vendors' ) . '">' . esc_html__( 'Docs', 'wc-vendors' ) . '</a>',
432
  'free-support' => '<a href="' . esc_url( apply_filters( 'wcvendors_free_support_url', 'https://wordpress.org/plugins/wc-vendors' ) ) . '" aria-label="' . esc_attr__( 'Visit community forums', 'wc-vendors' ) . '">' . esc_html__( 'Free support', 'wc-vendors' ) . '</a>',
433
- 'support' => '<a href="' . esc_url( apply_filters( 'wcvendors_support_url', 'https://www.wcvendors.com/product/wc-vendors-pro/?utm_source=plugin&utm_campaign=premium_support' ) ) . '" aria-label="' . esc_attr__( 'Puy premium customer support', 'wc-vendors' ) . '">' . esc_html__( 'Premium support', 'wc-vendors' ) . '</a>',
434
  'pro' => '<strong><a href="https://www.wcvendors.com/product/wc-vendors-pro/?utm_source=plugin&utm_campaign=upgrade_promo" target="_blank">'.__( 'Upgrade to Pro', 'wcvendors').'</a></strong>',
435
  );
436
 
@@ -454,6 +464,26 @@ class WCVendors_Install {
454
  }
455
  }
456
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
457
  }
458
 
459
  WCVendors_Install::init();
15
  'wcv_migrate_settings',
16
  'wcv_enable_legacy_emails',
17
  'wcv_update_200_db_version',
18
+ ),
19
+ '2.0.11' => array(
20
+ 'add_hide_become_a_vendor_link_option',
21
+ 'add_terms_and_conditions_visibility_option'
22
  )
23
  );
24
 
152
  );
153
 
154
  remove_role( 'vendor' );
155
+ $can_add = wc_string_to_bool( get_option( 'wcvendors_capability_products_enabled', 'no' ) );
156
+ $can_edit = wc_string_to_bool( get_option( 'wcvendors_capability_products_edit', 'no' ) );
157
+ $can_submit_live = wc_string_to_bool( get_option( 'wcvendors_capability_products_live', 'no' ) );
158
  add_role(
159
  'vendor',
160
  sprintf( __( '%s', 'wc-vendors'), wcv_get_vendor_name() ) ,
161
  array(
162
+ 'assign_product_terms' => $can_add,
163
+ 'edit_products' => $can_add || $can_edit,
164
+ 'edit_product' => $can_add || $can_edit,
165
+ 'edit_published_products' => $can_edit,
166
+ 'delete_published_products' => $can_edit,
167
+ 'delete_products' => $can_edit,
168
+ 'delete_posts' => true,
169
+ 'manage_product' => $can_add,
170
+ 'publish_products' => $can_submit_live,
171
+ 'read' => true,
172
+ 'read_products' => $can_edit || $can_add,
173
+ 'upload_files' => true,
174
+ 'import' => true,
175
+ 'view_woocommerce_reports' => false,
176
  )
177
  );
178
  }
440
  $row_meta = array(
441
  'docs' => '<a href="' . esc_url( apply_filters( 'wcvendors_docs_url', 'https://docs.wcvendors.com/' ) ) . '" aria-label="' . esc_attr__( 'View WC Vendors documentation', 'wc-vendors' ) . '">' . esc_html__( 'Docs', 'wc-vendors' ) . '</a>',
442
  'free-support' => '<a href="' . esc_url( apply_filters( 'wcvendors_free_support_url', 'https://wordpress.org/plugins/wc-vendors' ) ) . '" aria-label="' . esc_attr__( 'Visit community forums', 'wc-vendors' ) . '">' . esc_html__( 'Free support', 'wc-vendors' ) . '</a>',
443
+ 'support' => '<a href="' . esc_url( apply_filters( 'wcvendors_support_url', 'https://www.wcvendors.com/product/wc-vendors-pro/?utm_source=plugin&utm_campaign=premium_support' ) ) . '" aria-label="' . esc_attr__( 'Buy premium customer support', 'wc-vendors' ) . '">' . esc_html__( 'Premium support', 'wc-vendors' ) . '</a>',
444
  'pro' => '<strong><a href="https://www.wcvendors.com/product/wc-vendors-pro/?utm_source=plugin&utm_campaign=upgrade_promo" target="_blank">'.__( 'Upgrade to Pro', 'wcvendors').'</a></strong>',
445
  );
446
 
464
  }
465
  }
466
 
467
+ /**
468
+ * Add option to hide the Become a Vendor link on my-account page
469
+ *
470
+ * @return void
471
+ * @since 2.0.11
472
+ */
473
+ public static function add_hide_become_a_vendor_link_option(){
474
+ add_option( 'wcvendors_become_a_vendor_my_account_link_visibility', 'yes' );
475
+ }
476
+
477
+ /**
478
+ * Add the terms and conditions visibility option default
479
+ *
480
+ * @return void
481
+ * @since 2.0.11
482
+ */
483
+ public static function add_terms_and_conditions_visibility_option(){
484
+ add_option( 'wcvendors_terms_and_conditions_visibility', 'yes' );
485
+ }
486
+
487
  }
488
 
489
  WCVendors_Install::init();
classes/class-shipping.php CHANGED
@@ -107,7 +107,7 @@ class WCV_Shipping
107
  $settings = get_option( 'woocommerce_per_product_settings' );
108
  $taxable = $settings['tax_status'];
109
  $order = wc_get_order( $order_id );
110
- $tax_class = $product->get_tax_glass();
111
 
112
  $shipping_country = $order->get_shipping_country();
113
  $shipping_state = $order->get_shipping_state();
107
  $settings = get_option( 'woocommerce_per_product_settings' );
108
  $taxable = $settings['tax_status'];
109
  $order = wc_get_order( $order_id );
110
+ $tax_class = $product->get_tax_class();
111
 
112
  $shipping_country = $order->get_shipping_country();
113
  $shipping_state = $order->get_shipping_state();
classes/front/account/class-wc-account-links.php CHANGED
@@ -21,6 +21,10 @@ class WCV_Account_Links extends WCV_Vendor_Signup {
21
  // Only enable this if registration for vendors is enabled
22
  if ( ! wc_string_to_bool( get_option( 'wcvendors_vendor_allow_registration', 'no' ) ) ) return;
23
 
 
 
 
 
24
  $this->terms_page = get_option( 'wcvendors_vendor_terms_page_id' );
25
  add_filter( 'woocommerce_account_menu_items', array( $this, 'add_account_menu_items') );
26
  add_action( 'woocommerce_account_become-a-vendor_endpoint', array( $this, 'render_vendor_signup' ) );
21
  // Only enable this if registration for vendors is enabled
22
  if ( ! wc_string_to_bool( get_option( 'wcvendors_vendor_allow_registration', 'no' ) ) ) return;
23
 
24
+ $show_become_a_vendor_link = wc_string_to_bool( get_option( 'wcvendors_become_a_vendor_my_account_link_visibility' ) );
25
+
26
+ if ( WCV_Vendors::is_vendor( get_current_user_id() ) || ! $show_become_a_vendor_link ) return;
27
+
28
  $this->terms_page = get_option( 'wcvendors_vendor_terms_page_id' );
29
  add_filter( 'woocommerce_account_menu_items', array( $this, 'add_account_menu_items') );
30
  add_action( 'woocommerce_account_become-a-vendor_endpoint', array( $this, 'render_vendor_signup' ) );
classes/front/class-vendor-shop.php CHANGED
@@ -16,10 +16,7 @@ class WCV_Vendor_Shop
16
  /**
17
  * init
18
  */
19
- function __construct()
20
- {
21
-
22
- add_filter( 'product_enquiry_send_to', array( 'WCV_Vendor_Shop', 'product_enquiry_compatibility' ), 10, 2 );
23
 
24
  add_action( 'woocommerce_product_query', array( $this, 'vendor_shop_query' ), 10, 2 );
25
  // add_filter( 'init', array( $this, 'add_rewrite_rules' ), 0 );
@@ -84,16 +81,6 @@ class WCV_Vendor_Shop
84
  $q->set( 'author', $vendor_id );
85
  }
86
 
87
- public static function product_enquiry_compatibility( $send_to, $product_id )
88
- {
89
- $author_id = get_post( $product_id )->post_author;
90
- if ( WCV_Vendors::is_vendor( $author_id ) ) {
91
- $send_to = get_userdata( $author_id )->user_email;
92
- }
93
-
94
- return $send_to;
95
- }
96
-
97
 
98
  /**
99
  *
16
  /**
17
  * init
18
  */
19
+ function __construct() {
 
 
 
20
 
21
  add_action( 'woocommerce_product_query', array( $this, 'vendor_shop_query' ), 10, 2 );
22
  // add_filter( 'init', array( $this, 'add_rewrite_rules' ), 0 );
81
  $q->set( 'author', $vendor_id );
82
  }
83
 
 
 
 
 
 
 
 
 
 
 
84
 
85
  /**
86
  *
classes/front/signup/views/html-vendor-signup.php CHANGED
@@ -28,9 +28,17 @@
28
 
29
  <?php if ( $this->terms_page ) : ?>
30
 
31
- <?php do_action( 'wcvendors_login_agree_to_terms_before' ); ?>
32
 
33
- <p class="agree-to-terms-container" style="display:none;">
 
 
 
 
 
 
 
 
34
  <label for="agree_to_terms">
35
  <input class="input-checkbox" id="agree_to_terms" <?php checked( isset( $_POST[ 'agree_to_terms' ] ), true ); ?> type="checkbox" name="agree_to_terms" value="1"/>
36
  <?php apply_filters( 'wcvendors_vendor_registration_terms', printf( __( 'I have read and accepted the <a target="top" href="%s">terms and conditions</a>.', 'wc-vendors' ), get_permalink( $this->terms_page ) ) ); ?>
@@ -45,7 +53,7 @@
45
  var error_message = "<?php _e( 'Please agree to the terms and conditions', 'wc-vendors'); ?>";
46
 
47
  jQuery( function( $ ){
48
-
49
  jQuery( "#apply_for_vendor" ).change( function() {
50
  if ( this.checked ) {
51
  jQuery('.agree-to-terms-container').show();
@@ -53,6 +61,7 @@
53
  jQuery('.agree-to-terms-container').hide();
54
  }
55
  });
 
56
 
57
  $( 'form.register').on( 'submit', function ( e ){
58
  if ( jQuery('#agree_to_terms').is(':visible') && ! jQuery('#agree_to_terms').is(':checked') ) {
28
 
29
  <?php if ( $this->terms_page ) : ?>
30
 
31
+ <?php
32
 
33
+ do_action( 'wcvendors_login_agree_to_terms_before' );
34
+
35
+ $terms_and_conditions_visibility = get_option( 'wcvendors_terms_and_conditions_visibility' );
36
+
37
+ $display = apply_filters( 'wcvendors_terms_and_conditions_visibility', wc_string_to_bool( $terms_and_conditions_visibility ) ) ? 'block': 'none';
38
+
39
+ ?>
40
+ <input type="hidden" id="terms_and_conditions_visibility" value="<?php echo $terms_and_conditions_visibility; ?>" />
41
+ <p class="agree-to-terms-container" style="display: <?php echo $display; ?>">
42
  <label for="agree_to_terms">
43
  <input class="input-checkbox" id="agree_to_terms" <?php checked( isset( $_POST[ 'agree_to_terms' ] ), true ); ?> type="checkbox" name="agree_to_terms" value="1"/>
44
  <?php apply_filters( 'wcvendors_vendor_registration_terms', printf( __( 'I have read and accepted the <a target="top" href="%s">terms and conditions</a>.', 'wc-vendors' ), get_permalink( $this->terms_page ) ) ); ?>
53
  var error_message = "<?php _e( 'Please agree to the terms and conditions', 'wc-vendors'); ?>";
54
 
55
  jQuery( function( $ ){
56
+ <?php if ( $display == 'none' ): ?>
57
  jQuery( "#apply_for_vendor" ).change( function() {
58
  if ( this.checked ) {
59
  jQuery('.agree-to-terms-container').show();
61
  jQuery('.agree-to-terms-container').hide();
62
  }
63
  });
64
+ <?php endif; ?>
65
 
66
  $( 'form.register').on( 'submit', function ( e ){
67
  if ( jQuery('#agree_to_terms').is(':visible') && ! jQuery('#agree_to_terms').is(':checked') ) {
classes/gateways/PayPal_Masspay/class-paypal-masspay.php CHANGED
@@ -57,6 +57,9 @@ class WCV_Mass_Pay
57
 
58
  foreach ( $orders as $data ) {
59
  $due_amounts[ $data->vendor_id ][ ] = $data->total_due;
 
 
 
60
  $this->orders_paid[ ] = $data->id;
61
  }
62
 
57
 
58
  foreach ( $orders as $data ) {
59
  $due_amounts[ $data->vendor_id ][ ] = $data->total_due;
60
+ if ( 'yes' == get_option( 'wcvendors_vendor_give_shipping', 'no' ) ) {
61
+ $due_amounts[ $data->vendor_id ][ ] += $data->total_shipping;
62
+ }
63
  $this->orders_paid[ ] = $data->id;
64
  }
65
 
languages/wc-vendors.pot CHANGED
@@ -17,15 +17,15 @@ msgstr ""
17
  "Plural-Forms: nplurals=2; plural=(n != 1);\n"
18
 
19
  #: class-wc-vendors.php:52
20
- msgid "WC Vendors requires WooCommerce to run. Please install WooCommerce and activate before attempting to activate again."
21
  msgstr ""
22
 
23
- #: class-wc-vendors.php:112, classes/admin/class-admin-menus.php:45, classes/admin/class-admin-menus.php:45, classes/admin/class-admin-reports.php:41, classes/admin/class-wcv-admin-setup.php:267, classes/admin/views/html-vendor-meta.php:1
24
- msgid "WC Vendors"
25
  msgstr ""
26
 
27
  #: class-wc-vendors.php:152
28
- msgid "<b>WC Vendors is inactive</b>. WC Vendors requires a minimum of WooCommerce 3.0.0 to operate."
29
  msgstr ""
30
 
31
  #: class-wc-vendors.php:433
@@ -36,15 +36,15 @@ msgstr ""
36
  msgid "WC Vendors Pro 1.5.0 is required to run WC Vendors 2.0.0. Your current version %s will be deactivated. Please upgrade to the latest version."
37
  msgstr ""
38
 
39
- #: classes/class-commission.php:55, classes/admin/class-admin-reports.php:348, classes/admin/class-admin-reports.php:441, classes/admin/class-wcv-commissions-page.php:278, classes/admin/class-wcv-commissions-page.php:544
40
  msgid "Due"
41
  msgstr ""
42
 
43
- #: classes/class-commission.php:56, classes/admin/class-admin-reports.php:347, classes/admin/class-admin-reports.php:442, classes/admin/class-wcv-commissions-page.php:279, classes/admin/class-wcv-commissions-page.php:545
44
  msgid "Paid"
45
  msgstr ""
46
 
47
- #: classes/class-commission.php:57, classes/admin/class-admin-reports.php:346, classes/admin/class-admin-reports.php:443, classes/admin/class-wcv-commissions-page.php:280, classes/admin/class-wcv-commissions-page.php:546
48
  msgid "Reversed"
49
  msgstr ""
50
 
@@ -52,83 +52,83 @@ msgstr ""
52
  msgid "Payment total: %s"
53
  msgstr ""
54
 
55
- #: classes/class-install.php:142, classes/admin/class-wcv-admin-setup.php:145
56
  msgid "Pending %s"
57
  msgstr ""
58
 
59
- #: classes/class-install.php:153, classes/admin/class-admin-reports.php:173, classes/admin/class-admin-reports.php:456, classes/admin/class-product-meta.php:245, classes/admin/class-wcv-admin-setup.php:140, classes/admin/class-wcv-admin-setup.php:302, classes/admin/class-wcv-commissions-csv-exporter.php:43, classes/admin/class-wcv-commissions-page.php:118, classes/admin/class-wcv-commissions-sum-csv-exporter.php:41, classes/admin/settings/class-wcv-settings-display.php:195
60
  msgid "%s"
61
  msgstr ""
62
 
63
- #: classes/class-install.php:203
64
  msgctxt "Page slug"
65
  msgid "vendor_dashboard"
66
  msgstr ""
67
 
68
- #: classes/class-install.php:205
69
  msgctxt "Page title"
70
  msgid "%s Dashboard"
71
  msgstr ""
72
 
73
- #: classes/class-install.php:211
74
  msgctxt "Page slug"
75
  msgid "vendors"
76
  msgstr ""
77
 
78
- #: classes/class-install.php:213
79
  msgctxt "Page title"
80
  msgid "%s"
81
  msgstr ""
82
 
83
- #: classes/class-install.php:221
84
  msgctxt "Page slug"
85
  msgid "shop_settings"
86
  msgstr ""
87
 
88
- #: classes/class-install.php:222
89
  msgctxt "Page title"
90
  msgid "Shop Settings"
91
  msgstr ""
92
 
93
- #: classes/class-install.php:227
94
  msgctxt "Page slug"
95
  msgid "product_orders"
96
  msgstr ""
97
 
98
- #: classes/class-install.php:228
99
  msgctxt "Page title"
100
  msgid "Orders"
101
  msgstr ""
102
 
103
- #: classes/class-install.php:414
104
  msgid "View WC Vendors settings"
105
  msgstr ""
106
 
107
- #: classes/class-install.php:414, templates/dashboard/settings/settings.php:18
108
  msgid "Settings"
109
  msgstr ""
110
 
111
- #: classes/class-install.php:431
112
  msgid "View WC Vendors documentation"
113
  msgstr ""
114
 
115
- #: classes/class-install.php:431
116
  msgid "Docs"
117
  msgstr ""
118
 
119
- #: classes/class-install.php:432
120
  msgid "Visit community forums"
121
  msgstr ""
122
 
123
- #: classes/class-install.php:432
124
  msgid "Free support"
125
  msgstr ""
126
 
127
- #: classes/class-install.php:433
128
- msgid "Visit premium customer support"
129
  msgstr ""
130
 
131
- #: classes/class-install.php:433
132
  msgid "Premium support"
133
  msgstr ""
134
 
@@ -145,6 +145,10 @@ msgctxt "Order date parsed by strftime"
145
  msgid "%b %d, %Y @ %I:%M %p"
146
  msgstr ""
147
 
 
 
 
 
148
  #: classes/admin/class-admin-menus.php:52
149
  msgid "WC Vendors Extensions"
150
  msgstr ""
@@ -169,7 +173,7 @@ msgstr ""
169
  msgid "Commission by product"
170
  msgstr ""
171
 
172
- #: classes/admin/class-admin-reports.php:62, classes/admin/class-admin-reports.php:343
173
  msgid "Commission Totals"
174
  msgstr ""
175
 
@@ -177,15 +181,15 @@ msgstr ""
177
  msgid "Commission totals for all vendors includes shipping and taxes. By default no date range is used and all due commissions are returned. Use the date range to filter."
178
  msgstr ""
179
 
180
- #: classes/admin/class-admin-reports.php:119, classes/admin/class-admin-reports.php:435, templates/dashboard/date-picker.php:20
181
  msgid "From:"
182
  msgstr ""
183
 
184
- #: classes/admin/class-admin-reports.php:121, classes/admin/class-admin-reports.php:437, templates/dashboard/date-picker.php:24
185
  msgid "To:"
186
  msgstr ""
187
 
188
- #: classes/admin/class-admin-reports.php:123, classes/admin/class-admin-reports.php:281, classes/admin/class-admin-reports.php:446, templates/dashboard/date-picker.php:29
189
  msgid "Show"
190
  msgstr ""
191
 
@@ -217,7 +221,7 @@ msgstr ""
217
  msgid "Product"
218
  msgstr ""
219
 
220
- #: classes/admin/class-admin-reports.php:174, classes/admin/class-admin-reports.php:372, classes/admin/class-vendor-admin-dashboard.php:351, classes/admin/class-wcv-commissions-csv-exporter.php:47, classes/admin/class-wcv-commissions-page.php:122, classes/admin/class-wcv-commissions-sum-csv-exporter.php:42, templates/dashboard/orders.php:53
221
  msgid "Total"
222
  msgstr ""
223
 
@@ -225,7 +229,7 @@ msgstr ""
225
  msgid "Date &amp; Time"
226
  msgstr ""
227
 
228
- #: classes/admin/class-admin-reports.php:176, classes/admin/class-admin-reports.php:459, classes/admin/class-wcv-commissions-csv-exporter.php:48, classes/admin/class-wcv-commissions-page.php:123
229
  msgid "Status"
230
  msgstr ""
231
 
@@ -245,43 +249,43 @@ msgstr ""
245
  msgid "Show:"
246
  msgstr ""
247
 
248
- #: classes/admin/class-admin-reports.php:244
249
  msgid "Type in a product name to start searching..."
250
  msgstr ""
251
 
252
- #: classes/admin/class-admin-reports.php:276
253
- msgid "Select a vendor&hellip;"
254
  msgstr ""
255
 
256
- #: classes/admin/class-admin-reports.php:342
257
  msgid "Month"
258
  msgstr ""
259
 
260
- #: classes/admin/class-admin-reports.php:344, classes/admin/class-wcv-commissions-csv-exporter.php:46, classes/admin/class-wcv-commissions-page.php:121
261
  msgid "Tax"
262
  msgstr ""
263
 
264
- #: classes/admin/class-admin-reports.php:345, classes/admin/class-wcv-commissions-csv-exporter.php:45, classes/admin/class-wcv-commissions-page.php:120, templates/dashboard/orders.php:51, templates/orders/orders.php:129, classes/admin/settings/class-wcv-settings-capabilities.php:107
265
  msgid "Shipping"
266
  msgstr ""
267
 
268
- #: classes/admin/class-admin-reports.php:457
269
  msgid "Tax Total"
270
  msgstr ""
271
 
272
- #: classes/admin/class-admin-reports.php:458
273
  msgid "Shipping Total"
274
  msgstr ""
275
 
276
- #: classes/admin/class-admin-reports.php:460
277
  msgid "Commission Total"
278
  msgstr ""
279
 
280
- #: classes/admin/class-admin-reports.php:482
281
  msgid "No commissions found."
282
  msgstr ""
283
 
284
- #: classes/admin/class-admin-users.php:73
285
  msgid "You are not allowed to submit products. <a href=\"%s\">Go Back</a>"
286
  msgstr ""
287
 
@@ -585,20 +589,20 @@ msgstr ""
585
  msgid "This will reset wcvendors back to defaults. This DELETES ALL YOUR Settings."
586
  msgstr ""
587
 
588
- #: classes/admin/class-wcv-admin-setup.php:152
589
  msgid "WC Vendor roles successfully reset."
590
  msgstr ""
591
 
592
- #: classes/admin/class-wcv-admin-setup.php:166
593
  msgid "WC Vendors was successfully reset. All settings have been reset."
594
  msgstr ""
595
 
596
  #. translators: 1: WooCommerce 2:: five stars
597
- #: classes/admin/class-wcv-admin-setup.php:266
598
  msgid "If you like %1$s please leave us a %2$s rating. A huge thanks in advance!"
599
  msgstr ""
600
 
601
- #: classes/admin/class-wcv-admin-setup.php:268
602
  msgid "Thanks :)"
603
  msgstr ""
604
 
@@ -686,11 +690,11 @@ msgstr ""
686
  msgid "Commission Status"
687
  msgstr ""
688
 
689
- #: classes/includes/class-functions.php:35, classes/admin/settings/class-wcv-settings-display.php:100
690
  msgid "Vendor"
691
  msgstr ""
692
 
693
- #: classes/includes/class-functions.php:36, classes/admin/settings/class-wcv-settings-display.php:108
694
  msgid "Vendors"
695
  msgstr ""
696
 
@@ -738,11 +742,11 @@ msgstr ""
738
  msgid "Apply to become a vendor? "
739
  msgstr ""
740
 
741
- #: templates/dashboard/denied.php:50
742
  msgid "I have read and accepted the <a href=\"%s\">terms and conditions</a>"
743
  msgstr ""
744
 
745
- #: templates/dashboard/denied.php:70
746
  msgid "Submit"
747
  msgstr ""
748
 
@@ -919,15 +923,15 @@ msgstr ""
919
  msgid "Quantity: %d"
920
  msgstr ""
921
 
922
- #: classes/admin/emails/class-emails.php:76, classes/admin/emails/class-emails.php:208, classes/admin/emails/class-wc-approve-vendor.php:70
923
  msgid "pending"
924
  msgstr ""
925
 
926
- #: classes/admin/emails/class-emails.php:78
927
  msgid "approved"
928
  msgstr ""
929
 
930
- #: classes/admin/emails/class-emails.php:80
931
  msgid "denied"
932
  msgstr ""
933
 
@@ -936,7 +940,7 @@ msgid "Resend %s new order notification"
936
  msgstr ""
937
 
938
  #: classes/admin/emails/class-wc-approve-vendor.php:28
939
- msgid "%s Application"
940
  msgstr ""
941
 
942
  #: classes/admin/emails/class-wc-approve-vendor.php:29
@@ -951,11 +955,11 @@ msgstr ""
951
  msgid "[{blogname}] Your vendor application has been {status}"
952
  msgstr ""
953
 
954
- #: classes/admin/emails/class-wc-approve-vendor.php:123, classes/admin/emails/class-wc-notify-admin.php:134, classes/admin/emails/class-wc-notify-shipped.php:166, classes/admin/emails/class-wc-notify-vendor.php:268, classes/admin/emails/class-wcv-admin-notify-application.php:128, classes/admin/emails/class-wcv-admin-notify-product.php:146, classes/admin/emails/class-wcv-admin-notify-shipped.php:135, classes/admin/emails/class-wcv-customer-notify-shipped.php:142, classes/admin/emails/class-wcv-vendor-notify-application.php:129, classes/admin/emails/class-wcv-vendor-notify-approved.php:138, classes/admin/emails/class-wcv-vendor-notify-denied.php:148, classes/admin/emails/class-wcv-vendor-notify-order.php:160, classes/gateways/WCV_Gateway_Test/class-wcv-gateway-test.php:62
955
  msgid "Enable/Disable"
956
  msgstr ""
957
 
958
- #: classes/admin/emails/class-wc-approve-vendor.php:125, classes/admin/emails/class-wc-notify-admin.php:136, classes/admin/emails/class-wc-notify-shipped.php:168, classes/admin/emails/class-wc-notify-vendor.php:270, classes/admin/emails/class-wcv-admin-notify-application.php:130, classes/admin/emails/class-wcv-admin-notify-product.php:148, classes/admin/emails/class-wcv-admin-notify-shipped.php:137, classes/admin/emails/class-wcv-customer-notify-shipped.php:144, classes/admin/emails/class-wcv-vendor-notify-application.php:131, classes/admin/emails/class-wcv-vendor-notify-approved.php:140, classes/admin/emails/class-wcv-vendor-notify-denied.php:150, classes/admin/emails/class-wcv-vendor-notify-order.php:162
959
  msgid "Enable this email notification"
960
  msgstr ""
961
 
@@ -963,7 +967,7 @@ msgstr ""
963
  msgid "Enter recipients (comma separated) for this email. Defaults to <code>%s</code>."
964
  msgstr ""
965
 
966
- #: classes/admin/emails/class-wc-approve-vendor.php:136, classes/admin/emails/class-wc-notify-admin.php:147, classes/admin/emails/class-wc-notify-shipped.php:172, classes/admin/emails/class-wc-notify-vendor.php:274, classes/admin/emails/class-wcv-admin-notify-application.php:142, classes/admin/emails/class-wcv-admin-notify-product.php:160, classes/admin/emails/class-wcv-admin-notify-shipped.php:149, classes/admin/emails/class-wcv-customer-notify-shipped.php:148, classes/admin/emails/class-wcv-vendor-notify-application.php:135, classes/admin/emails/class-wcv-vendor-notify-approved.php:144, classes/admin/emails/class-wcv-vendor-notify-denied.php:154, classes/admin/emails/class-wcv-vendor-notify-order.php:166
967
  msgid "Subject"
968
  msgstr ""
969
 
@@ -979,11 +983,11 @@ msgstr ""
979
  msgid "This controls the main heading contained within the email notification. Leave blank to use the default heading: <code>%s</code>."
980
  msgstr ""
981
 
982
- #: classes/admin/emails/class-wc-approve-vendor.php:150, classes/admin/emails/class-wc-notify-admin.php:161, classes/admin/emails/class-wc-notify-shipped.php:186, classes/admin/emails/class-wc-notify-vendor.php:294, classes/admin/emails/class-wcv-admin-notify-application.php:172, classes/admin/emails/class-wcv-admin-notify-product.php:178, classes/admin/emails/class-wcv-admin-notify-shipped.php:167, classes/admin/emails/class-wcv-customer-notify-shipped.php:166, classes/admin/emails/class-wcv-vendor-notify-application.php:153, classes/admin/emails/class-wcv-vendor-notify-approved.php:171, classes/admin/emails/class-wcv-vendor-notify-denied.php:189, classes/admin/emails/class-wcv-vendor-notify-order.php:204
983
  msgid "Email type"
984
  msgstr ""
985
 
986
- #: classes/admin/emails/class-wc-approve-vendor.php:152, classes/admin/emails/class-wc-notify-admin.php:163, classes/admin/emails/class-wc-notify-shipped.php:188, classes/admin/emails/class-wc-notify-vendor.php:296, classes/admin/emails/class-wcv-admin-notify-application.php:174, classes/admin/emails/class-wcv-admin-notify-product.php:180, classes/admin/emails/class-wcv-admin-notify-shipped.php:169, classes/admin/emails/class-wcv-customer-notify-shipped.php:168, classes/admin/emails/class-wcv-vendor-notify-application.php:155, classes/admin/emails/class-wcv-vendor-notify-approved.php:173, classes/admin/emails/class-wcv-vendor-notify-denied.php:191, classes/admin/emails/class-wcv-vendor-notify-order.php:206
987
  msgid "Choose which format of email to send."
988
  msgstr ""
989
 
@@ -1000,7 +1004,7 @@ msgid "Multipart"
1000
  msgstr ""
1001
 
1002
  #: classes/admin/emails/class-wc-notify-admin.php:28
1003
- msgid "New %s Product"
1004
  msgstr ""
1005
 
1006
  #: classes/admin/emails/class-wc-notify-admin.php:29
@@ -1015,8 +1019,8 @@ msgstr ""
1015
  msgid "[{blogname}] New product submitted by {vendor_name} - {product_name}"
1016
  msgstr ""
1017
 
1018
- #: classes/admin/emails/class-wc-notify-shipped.php:28, classes/admin/emails/class-wcv-admin-notify-shipped.php:62, classes/admin/emails/class-wcv-customer-notify-shipped.php:61
1019
- msgid "%s has shipped"
1020
  msgstr ""
1021
 
1022
  #: classes/admin/emails/class-wc-notify-shipped.php:29
@@ -1036,7 +1040,7 @@ msgid "Subtotal:"
1036
  msgstr ""
1037
 
1038
  #: classes/admin/emails/class-wc-notify-vendor.php:27
1039
- msgid "Notify vendors"
1040
  msgstr ""
1041
 
1042
  #: classes/admin/emails/class-wc-notify-vendor.php:28
@@ -1087,11 +1091,11 @@ msgstr ""
1087
  msgid "%s application received"
1088
  msgstr ""
1089
 
1090
- #: classes/admin/emails/class-wcv-admin-notify-application.php:134, classes/admin/emails/class-wcv-admin-notify-product.php:152, classes/admin/emails/class-wcv-admin-notify-shipped.php:141
1091
  msgid "Recipient(s)"
1092
  msgstr ""
1093
 
1094
- #: classes/admin/emails/class-wcv-admin-notify-application.php:136, classes/admin/emails/class-wcv-admin-notify-product.php:154, classes/admin/emails/class-wcv-admin-notify-shipped.php:143
1095
  msgid "Enter recipients (comma separated) for this email. Defaults to %s."
1096
  msgstr ""
1097
 
@@ -1112,27 +1116,27 @@ msgstr ""
1112
  #. translators: %s: list of placeholders
1113
  #. translators: %s: list of placeholders
1114
  #. translators: %s: list of placeholders
1115
- #: classes/admin/emails/class-wcv-admin-notify-application.php:146, classes/admin/emails/class-wcv-admin-notify-application.php:155, classes/admin/emails/class-wcv-admin-notify-product.php:164, classes/admin/emails/class-wcv-admin-notify-product.php:173, classes/admin/emails/class-wcv-admin-notify-shipped.php:153, classes/admin/emails/class-wcv-admin-notify-shipped.php:162, classes/admin/emails/class-wcv-customer-notify-shipped.php:152, classes/admin/emails/class-wcv-customer-notify-shipped.php:161, classes/admin/emails/class-wcv-vendor-notify-application.php:139, classes/admin/emails/class-wcv-vendor-notify-application.php:148, classes/admin/emails/class-wcv-vendor-notify-approved.php:148, classes/admin/emails/class-wcv-vendor-notify-approved.php:166, classes/admin/emails/class-wcv-vendor-notify-denied.php:158, classes/admin/emails/class-wcv-vendor-notify-denied.php:167, classes/admin/emails/class-wcv-vendor-notify-denied.php:184, classes/admin/emails/class-wcv-vendor-notify-order.php:170, classes/admin/emails/class-wcv-vendor-notify-order.php:179
1116
  msgid "Available placeholders: %s"
1117
  msgstr ""
1118
 
1119
- #: classes/admin/emails/class-wcv-admin-notify-application.php:151, classes/admin/emails/class-wcv-admin-notify-product.php:169, classes/admin/emails/class-wcv-admin-notify-shipped.php:158, classes/admin/emails/class-wcv-customer-notify-shipped.php:157, classes/admin/emails/class-wcv-vendor-notify-application.php:144, classes/admin/emails/class-wcv-vendor-notify-approved.php:162, classes/admin/emails/class-wcv-vendor-notify-denied.php:180, classes/admin/emails/class-wcv-vendor-notify-order.php:175
1120
  msgid "Email heading"
1121
  msgstr ""
1122
 
1123
- #: classes/admin/emails/class-wcv-admin-notify-application.php:160
1124
  msgid "Notification"
1125
  msgstr ""
1126
 
1127
- #: classes/admin/emails/class-wcv-admin-notify-application.php:162
1128
  msgid "Choose when to be notified of an application."
1129
  msgstr ""
1130
 
1131
- #: classes/admin/emails/class-wcv-admin-notify-application.php:166
1132
  msgid "All Applications"
1133
  msgstr ""
1134
 
1135
- #: classes/admin/emails/class-wcv-admin-notify-application.php:167
1136
  msgid "Pending Applications"
1137
  msgstr ""
1138
 
@@ -1164,6 +1168,10 @@ msgstr ""
1164
  msgid "[{site_title}] %s has marked shipped ({order_number}) - {order_date}"
1165
  msgstr ""
1166
 
 
 
 
 
1167
  #: classes/admin/emails/class-wcv-customer-notify-shipped.php:28
1168
  msgid "Customer %s shipped"
1169
  msgstr ""
@@ -1716,7 +1724,7 @@ msgid "Shop HTML"
1716
  msgstr ""
1717
 
1718
  #: classes/admin/settings/class-wcv-settings-display.php:242
1719
- msgid "Allow HTML in %s shop desription"
1720
  msgstr ""
1721
 
1722
  #: classes/admin/settings/class-wcv-settings-display.php:243
@@ -1764,26 +1772,42 @@ msgid "Allow users to apply to become a %s"
1764
  msgstr ""
1765
 
1766
  #: classes/admin/settings/class-wcv-settings-general.php:77
1767
- msgid "%s Approval"
1768
  msgstr ""
1769
 
1770
  #: classes/admin/settings/class-wcv-settings-general.php:78
1771
- msgid "Manually approve all %s applications"
1772
  msgstr ""
1773
 
1774
  #: classes/admin/settings/class-wcv-settings-general.php:84
1775
- msgid "%s Taxes"
1776
  msgstr ""
1777
 
1778
  #: classes/admin/settings/class-wcv-settings-general.php:85
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1779
  msgid "Give any taxes to the %s"
1780
  msgstr ""
1781
 
1782
- #: classes/admin/settings/class-wcv-settings-general.php:91
1783
  msgid "%s Shipping"
1784
  msgstr ""
1785
 
1786
- #: classes/admin/settings/class-wcv-settings-general.php:92
1787
  msgid "Give any shipping to the %s"
1788
  msgstr ""
1789
 
@@ -2055,11 +2079,7 @@ msgstr ""
2055
  msgid "Save Shop Settings"
2056
  msgstr ""
2057
 
2058
- #: classes/front/account/class-wc-account-links.php:42
2059
- msgid "Become a %s"
2060
- msgstr ""
2061
-
2062
- #: classes/front/account/class-wc-account-links.php:80
2063
  msgid "You are already an approved vendor, no need to apply"
2064
  msgstr ""
2065
 
@@ -2131,7 +2151,7 @@ msgstr ""
2131
  msgid "ERROR"
2132
  msgstr ""
2133
 
2134
- #: classes/front/signup/class-vendor-signup.php:79, classes/front/signup/views/html-vendor-signup.php:45
2135
  msgid "Please agree to the terms and conditions"
2136
  msgstr ""
2137
 
@@ -2251,7 +2271,7 @@ msgstr ""
2251
  msgid "%s does not support your store currency."
2252
  msgstr ""
2253
 
2254
- #: classes/gateways/PayPal_AdvPayments/paypal_ap.php:390, classes/gateways/PayPal_AdvPayments/paypal_ap.php:506, classes/gateways/PayPal_Masspay/class-paypal-masspay.php:153
2255
  msgid "Error: %s"
2256
  msgstr ""
2257
 
@@ -2263,35 +2283,35 @@ msgstr ""
2263
  msgid "Error ID: %d. %s"
2264
  msgstr ""
2265
 
2266
- #: classes/gateways/PayPal_Masspay/class-paypal-masspay.php:115
2267
  msgid "No vendors found to pay. Maybe they haven't set a PayPal address?"
2268
  msgstr ""
2269
 
2270
- #: classes/gateways/PayPal_Masspay/class-paypal-masspay.php:167
2271
  msgid "All due commission has been paid for. "
2272
  msgstr ""
2273
 
2274
- #: classes/gateways/PayPal_Masspay/class-paypal-masspay.php:173
2275
  msgid "All due commission has been paid for, but I could not clear it from their profiles due to an internal error. Commission will still be listed as due. Please manually mark the commission as paid from the Commissions page."
2276
  msgstr ""
2277
 
2278
- #: classes/gateways/PayPal_Masspay/class-paypal-masspay.php:207
2279
  msgid "WooCommerce: Mass payments for vendors update"
2280
  msgstr ""
2281
 
2282
- #: classes/gateways/PayPal_Masspay/class-paypal-masspay.php:209
2283
  msgid "Hello! A payment was just triggered to mass pay all vendors their due commission."
2284
  msgstr ""
2285
 
2286
- #: classes/gateways/PayPal_Masspay/class-paypal-masspay.php:210
2287
  msgid "Payment status: %s."
2288
  msgstr ""
2289
 
2290
- #: classes/gateways/PayPal_Masspay/class-paypal-masspay.php:211
2291
  msgid "Payment message: %s."
2292
  msgstr ""
2293
 
2294
- #: classes/gateways/PayPal_Masspay/class-paypal-masspay.php:214
2295
  msgid "Payment total: %s."
2296
  msgstr ""
2297
 
@@ -2604,6 +2624,6 @@ msgstr ""
2604
  msgid "Need Help?"
2605
  msgstr ""
2606
 
2607
- #: classes/front/signup/views/html-vendor-signup.php:36
2608
  msgid "I have read and accepted the <a target=\"top\" href=\"%s\">terms and conditions</a>."
2609
  msgstr ""
17
  "Plural-Forms: nplurals=2; plural=(n != 1);\n"
18
 
19
  #: class-wc-vendors.php:52
20
+ msgid "WC Vendors Marketplace requires WooCommerce to run. Please install WooCommerce and activate before attempting to activate again."
21
  msgstr ""
22
 
23
+ #: class-wc-vendors.php:112
24
+ msgid "WC Vendors Marketplace"
25
  msgstr ""
26
 
27
  #: class-wc-vendors.php:152
28
+ msgid "<b>WC Vendors Marketplace is inactive</b>. WC Vendors Marketplace requires a minimum of WooCommerce 3.0.0 to operate."
29
  msgstr ""
30
 
31
  #: class-wc-vendors.php:433
36
  msgid "WC Vendors Pro 1.5.0 is required to run WC Vendors 2.0.0. Your current version %s will be deactivated. Please upgrade to the latest version."
37
  msgstr ""
38
 
39
+ #: classes/class-commission.php:55, classes/admin/class-admin-reports.php:350, classes/admin/class-admin-reports.php:443, classes/admin/class-wcv-commissions-page.php:278, classes/admin/class-wcv-commissions-page.php:544
40
  msgid "Due"
41
  msgstr ""
42
 
43
+ #: classes/class-commission.php:56, classes/admin/class-admin-reports.php:349, classes/admin/class-admin-reports.php:444, classes/admin/class-wcv-commissions-page.php:279, classes/admin/class-wcv-commissions-page.php:545
44
  msgid "Paid"
45
  msgstr ""
46
 
47
+ #: classes/class-commission.php:57, classes/admin/class-admin-reports.php:348, classes/admin/class-admin-reports.php:445, classes/admin/class-wcv-commissions-page.php:280, classes/admin/class-wcv-commissions-page.php:546
48
  msgid "Reversed"
49
  msgstr ""
50
 
52
  msgid "Payment total: %s"
53
  msgstr ""
54
 
55
+ #: classes/class-install.php:146, classes/admin/class-wcv-admin-setup.php:146
56
  msgid "Pending %s"
57
  msgstr ""
58
 
59
+ #: classes/class-install.php:160, classes/admin/class-admin-reports.php:173, classes/admin/class-admin-reports.php:458, classes/admin/class-product-meta.php:245, classes/admin/class-wcv-admin-setup.php:141, classes/admin/class-wcv-admin-setup.php:304, classes/admin/class-wcv-commissions-csv-exporter.php:43, classes/admin/class-wcv-commissions-page.php:118, classes/admin/class-wcv-commissions-sum-csv-exporter.php:41, classes/admin/settings/class-wcv-settings-display.php:100, classes/admin/settings/class-wcv-settings-display.php:108, classes/admin/settings/class-wcv-settings-display.php:195
60
  msgid "%s"
61
  msgstr ""
62
 
63
+ #: classes/class-install.php:213
64
  msgctxt "Page slug"
65
  msgid "vendor_dashboard"
66
  msgstr ""
67
 
68
+ #: classes/class-install.php:215
69
  msgctxt "Page title"
70
  msgid "%s Dashboard"
71
  msgstr ""
72
 
73
+ #: classes/class-install.php:221
74
  msgctxt "Page slug"
75
  msgid "vendors"
76
  msgstr ""
77
 
78
+ #: classes/class-install.php:223
79
  msgctxt "Page title"
80
  msgid "%s"
81
  msgstr ""
82
 
83
+ #: classes/class-install.php:231
84
  msgctxt "Page slug"
85
  msgid "shop_settings"
86
  msgstr ""
87
 
88
+ #: classes/class-install.php:232
89
  msgctxt "Page title"
90
  msgid "Shop Settings"
91
  msgstr ""
92
 
93
+ #: classes/class-install.php:237
94
  msgctxt "Page slug"
95
  msgid "product_orders"
96
  msgstr ""
97
 
98
+ #: classes/class-install.php:238
99
  msgctxt "Page title"
100
  msgid "Orders"
101
  msgstr ""
102
 
103
+ #: classes/class-install.php:424
104
  msgid "View WC Vendors settings"
105
  msgstr ""
106
 
107
+ #: classes/class-install.php:424, templates/dashboard/settings/settings.php:18
108
  msgid "Settings"
109
  msgstr ""
110
 
111
+ #: classes/class-install.php:441
112
  msgid "View WC Vendors documentation"
113
  msgstr ""
114
 
115
+ #: classes/class-install.php:441
116
  msgid "Docs"
117
  msgstr ""
118
 
119
+ #: classes/class-install.php:442
120
  msgid "Visit community forums"
121
  msgstr ""
122
 
123
+ #: classes/class-install.php:442
124
  msgid "Free support"
125
  msgstr ""
126
 
127
+ #: classes/class-install.php:443
128
+ msgid "Buy premium customer support"
129
  msgstr ""
130
 
131
+ #: classes/class-install.php:443
132
  msgid "Premium support"
133
  msgstr ""
134
 
145
  msgid "%b %d, %Y @ %I:%M %p"
146
  msgstr ""
147
 
148
+ #: classes/admin/class-admin-menus.php:45, classes/admin/class-admin-menus.php:45, classes/admin/class-admin-reports.php:41, classes/admin/class-wcv-admin-setup.php:268, classes/admin/views/html-vendor-meta.php:1
149
+ msgid "WC Vendors"
150
+ msgstr ""
151
+
152
  #: classes/admin/class-admin-menus.php:52
153
  msgid "WC Vendors Extensions"
154
  msgstr ""
173
  msgid "Commission by product"
174
  msgstr ""
175
 
176
+ #: classes/admin/class-admin-reports.php:62, classes/admin/class-admin-reports.php:345
177
  msgid "Commission Totals"
178
  msgstr ""
179
 
181
  msgid "Commission totals for all vendors includes shipping and taxes. By default no date range is used and all due commissions are returned. Use the date range to filter."
182
  msgstr ""
183
 
184
+ #: classes/admin/class-admin-reports.php:119, classes/admin/class-admin-reports.php:437, templates/dashboard/date-picker.php:20
185
  msgid "From:"
186
  msgstr ""
187
 
188
+ #: classes/admin/class-admin-reports.php:121, classes/admin/class-admin-reports.php:439, templates/dashboard/date-picker.php:24
189
  msgid "To:"
190
  msgstr ""
191
 
192
+ #: classes/admin/class-admin-reports.php:123, classes/admin/class-admin-reports.php:283, classes/admin/class-admin-reports.php:448, templates/dashboard/date-picker.php:29
193
  msgid "Show"
194
  msgstr ""
195
 
221
  msgid "Product"
222
  msgstr ""
223
 
224
+ #: classes/admin/class-admin-reports.php:174, classes/admin/class-admin-reports.php:374, classes/admin/class-vendor-admin-dashboard.php:351, classes/admin/class-wcv-commissions-csv-exporter.php:47, classes/admin/class-wcv-commissions-page.php:122, classes/admin/class-wcv-commissions-sum-csv-exporter.php:42, templates/dashboard/orders.php:53
225
  msgid "Total"
226
  msgstr ""
227
 
229
  msgid "Date &amp; Time"
230
  msgstr ""
231
 
232
+ #: classes/admin/class-admin-reports.php:176, classes/admin/class-admin-reports.php:461, classes/admin/class-wcv-commissions-csv-exporter.php:48, classes/admin/class-wcv-commissions-page.php:123
233
  msgid "Status"
234
  msgstr ""
235
 
249
  msgid "Show:"
250
  msgstr ""
251
 
252
+ #: classes/admin/class-admin-reports.php:242, classes/admin/class-admin-reports.php:246
253
  msgid "Type in a product name to start searching..."
254
  msgstr ""
255
 
256
+ #: classes/admin/class-admin-reports.php:278
257
+ msgid "Select a %s&hellip;"
258
  msgstr ""
259
 
260
+ #: classes/admin/class-admin-reports.php:344
261
  msgid "Month"
262
  msgstr ""
263
 
264
+ #: classes/admin/class-admin-reports.php:346, classes/admin/class-wcv-commissions-csv-exporter.php:46, classes/admin/class-wcv-commissions-page.php:121
265
  msgid "Tax"
266
  msgstr ""
267
 
268
+ #: classes/admin/class-admin-reports.php:347, classes/admin/class-wcv-commissions-csv-exporter.php:45, classes/admin/class-wcv-commissions-page.php:120, templates/dashboard/orders.php:51, templates/orders/orders.php:129, classes/admin/settings/class-wcv-settings-capabilities.php:107
269
  msgid "Shipping"
270
  msgstr ""
271
 
272
+ #: classes/admin/class-admin-reports.php:459
273
  msgid "Tax Total"
274
  msgstr ""
275
 
276
+ #: classes/admin/class-admin-reports.php:460
277
  msgid "Shipping Total"
278
  msgstr ""
279
 
280
+ #: classes/admin/class-admin-reports.php:462
281
  msgid "Commission Total"
282
  msgstr ""
283
 
284
+ #: classes/admin/class-admin-reports.php:484
285
  msgid "No commissions found."
286
  msgstr ""
287
 
288
+ #: classes/admin/class-admin-users.php:76
289
  msgid "You are not allowed to submit products. <a href=\"%s\">Go Back</a>"
290
  msgstr ""
291
 
589
  msgid "This will reset wcvendors back to defaults. This DELETES ALL YOUR Settings."
590
  msgstr ""
591
 
592
+ #: classes/admin/class-wcv-admin-setup.php:153
593
  msgid "WC Vendor roles successfully reset."
594
  msgstr ""
595
 
596
+ #: classes/admin/class-wcv-admin-setup.php:167
597
  msgid "WC Vendors was successfully reset. All settings have been reset."
598
  msgstr ""
599
 
600
  #. translators: 1: WooCommerce 2:: five stars
601
+ #: classes/admin/class-wcv-admin-setup.php:267
602
  msgid "If you like %1$s please leave us a %2$s rating. A huge thanks in advance!"
603
  msgstr ""
604
 
605
+ #: classes/admin/class-wcv-admin-setup.php:269
606
  msgid "Thanks :)"
607
  msgstr ""
608
 
690
  msgid "Commission Status"
691
  msgstr ""
692
 
693
+ #: classes/includes/class-functions.php:35
694
  msgid "Vendor"
695
  msgstr ""
696
 
697
+ #: classes/includes/class-functions.php:36
698
  msgid "Vendors"
699
  msgstr ""
700
 
742
  msgid "Apply to become a vendor? "
743
  msgstr ""
744
 
745
+ #: templates/dashboard/denied.php:57
746
  msgid "I have read and accepted the <a href=\"%s\">terms and conditions</a>"
747
  msgstr ""
748
 
749
+ #: templates/dashboard/denied.php:79
750
  msgid "Submit"
751
  msgstr ""
752
 
923
  msgid "Quantity: %d"
924
  msgstr ""
925
 
926
+ #: classes/admin/emails/class-emails.php:76, classes/admin/emails/class-emails.php:210, classes/admin/emails/class-emails.php:211, classes/admin/emails/class-wc-approve-vendor.php:70
927
  msgid "pending"
928
  msgstr ""
929
 
930
+ #: classes/admin/emails/class-emails.php:78, classes/admin/emails/class-emails.php:214
931
  msgid "approved"
932
  msgstr ""
933
 
934
+ #: classes/admin/emails/class-emails.php:80, classes/admin/emails/class-emails.php:218
935
  msgid "denied"
936
  msgstr ""
937
 
940
  msgstr ""
941
 
942
  #: classes/admin/emails/class-wc-approve-vendor.php:28
943
+ msgid "%s Application - deprecated"
944
  msgstr ""
945
 
946
  #: classes/admin/emails/class-wc-approve-vendor.php:29
955
  msgid "[{blogname}] Your vendor application has been {status}"
956
  msgstr ""
957
 
958
+ #: classes/admin/emails/class-wc-approve-vendor.php:123, classes/admin/emails/class-wc-notify-admin.php:134, classes/admin/emails/class-wc-notify-shipped.php:166, classes/admin/emails/class-wc-notify-vendor.php:268, classes/admin/emails/class-wcv-admin-notify-application.php:131, classes/admin/emails/class-wcv-admin-notify-product.php:146, classes/admin/emails/class-wcv-admin-notify-shipped.php:135, classes/admin/emails/class-wcv-customer-notify-shipped.php:142, classes/admin/emails/class-wcv-vendor-notify-application.php:129, classes/admin/emails/class-wcv-vendor-notify-approved.php:138, classes/admin/emails/class-wcv-vendor-notify-denied.php:148, classes/admin/emails/class-wcv-vendor-notify-order.php:160, classes/gateways/WCV_Gateway_Test/class-wcv-gateway-test.php:62
959
  msgid "Enable/Disable"
960
  msgstr ""
961
 
962
+ #: classes/admin/emails/class-wc-approve-vendor.php:125, classes/admin/emails/class-wc-notify-admin.php:136, classes/admin/emails/class-wc-notify-shipped.php:168, classes/admin/emails/class-wc-notify-vendor.php:270, classes/admin/emails/class-wcv-admin-notify-application.php:133, classes/admin/emails/class-wcv-admin-notify-product.php:148, classes/admin/emails/class-wcv-admin-notify-shipped.php:137, classes/admin/emails/class-wcv-customer-notify-shipped.php:144, classes/admin/emails/class-wcv-vendor-notify-application.php:131, classes/admin/emails/class-wcv-vendor-notify-approved.php:140, classes/admin/emails/class-wcv-vendor-notify-denied.php:150, classes/admin/emails/class-wcv-vendor-notify-order.php:162
963
  msgid "Enable this email notification"
964
  msgstr ""
965
 
967
  msgid "Enter recipients (comma separated) for this email. Defaults to <code>%s</code>."
968
  msgstr ""
969
 
970
+ #: classes/admin/emails/class-wc-approve-vendor.php:136, classes/admin/emails/class-wc-notify-admin.php:147, classes/admin/emails/class-wc-notify-shipped.php:172, classes/admin/emails/class-wc-notify-vendor.php:274, classes/admin/emails/class-wcv-admin-notify-application.php:145, classes/admin/emails/class-wcv-admin-notify-product.php:160, classes/admin/emails/class-wcv-admin-notify-shipped.php:149, classes/admin/emails/class-wcv-customer-notify-shipped.php:148, classes/admin/emails/class-wcv-vendor-notify-application.php:135, classes/admin/emails/class-wcv-vendor-notify-approved.php:144, classes/admin/emails/class-wcv-vendor-notify-denied.php:154, classes/admin/emails/class-wcv-vendor-notify-order.php:166
971
  msgid "Subject"
972
  msgstr ""
973
 
983
  msgid "This controls the main heading contained within the email notification. Leave blank to use the default heading: <code>%s</code>."
984
  msgstr ""
985
 
986
+ #: classes/admin/emails/class-wc-approve-vendor.php:150, classes/admin/emails/class-wc-notify-admin.php:161, classes/admin/emails/class-wc-notify-shipped.php:186, classes/admin/emails/class-wc-notify-vendor.php:294, classes/admin/emails/class-wcv-admin-notify-application.php:175, classes/admin/emails/class-wcv-admin-notify-product.php:178, classes/admin/emails/class-wcv-admin-notify-shipped.php:167, classes/admin/emails/class-wcv-customer-notify-shipped.php:166, classes/admin/emails/class-wcv-vendor-notify-application.php:153, classes/admin/emails/class-wcv-vendor-notify-approved.php:171, classes/admin/emails/class-wcv-vendor-notify-denied.php:189, classes/admin/emails/class-wcv-vendor-notify-order.php:204
987
  msgid "Email type"
988
  msgstr ""
989
 
990
+ #: classes/admin/emails/class-wc-approve-vendor.php:152, classes/admin/emails/class-wc-notify-admin.php:163, classes/admin/emails/class-wc-notify-shipped.php:188, classes/admin/emails/class-wc-notify-vendor.php:296, classes/admin/emails/class-wcv-admin-notify-application.php:177, classes/admin/emails/class-wcv-admin-notify-product.php:180, classes/admin/emails/class-wcv-admin-notify-shipped.php:169, classes/admin/emails/class-wcv-customer-notify-shipped.php:168, classes/admin/emails/class-wcv-vendor-notify-application.php:155, classes/admin/emails/class-wcv-vendor-notify-approved.php:173, classes/admin/emails/class-wcv-vendor-notify-denied.php:191, classes/admin/emails/class-wcv-vendor-notify-order.php:206
991
  msgid "Choose which format of email to send."
992
  msgstr ""
993
 
1004
  msgstr ""
1005
 
1006
  #: classes/admin/emails/class-wc-notify-admin.php:28
1007
+ msgid "New %s Product - deprecated"
1008
  msgstr ""
1009
 
1010
  #: classes/admin/emails/class-wc-notify-admin.php:29
1019
  msgid "[{blogname}] New product submitted by {vendor_name} - {product_name}"
1020
  msgstr ""
1021
 
1022
+ #: classes/admin/emails/class-wc-notify-shipped.php:28
1023
+ msgid "%s has shipped - deprecated"
1024
  msgstr ""
1025
 
1026
  #: classes/admin/emails/class-wc-notify-shipped.php:29
1040
  msgstr ""
1041
 
1042
  #: classes/admin/emails/class-wc-notify-vendor.php:27
1043
+ msgid "Notify vendors - deprecated"
1044
  msgstr ""
1045
 
1046
  #: classes/admin/emails/class-wc-notify-vendor.php:28
1091
  msgid "%s application received"
1092
  msgstr ""
1093
 
1094
+ #: classes/admin/emails/class-wcv-admin-notify-application.php:137, classes/admin/emails/class-wcv-admin-notify-product.php:152, classes/admin/emails/class-wcv-admin-notify-shipped.php:141
1095
  msgid "Recipient(s)"
1096
  msgstr ""
1097
 
1098
+ #: classes/admin/emails/class-wcv-admin-notify-application.php:139, classes/admin/emails/class-wcv-admin-notify-product.php:154, classes/admin/emails/class-wcv-admin-notify-shipped.php:143
1099
  msgid "Enter recipients (comma separated) for this email. Defaults to %s."
1100
  msgstr ""
1101
 
1116
  #. translators: %s: list of placeholders
1117
  #. translators: %s: list of placeholders
1118
  #. translators: %s: list of placeholders
1119
+ #: classes/admin/emails/class-wcv-admin-notify-application.php:149, classes/admin/emails/class-wcv-admin-notify-application.php:158, classes/admin/emails/class-wcv-admin-notify-product.php:164, classes/admin/emails/class-wcv-admin-notify-product.php:173, classes/admin/emails/class-wcv-admin-notify-shipped.php:153, classes/admin/emails/class-wcv-admin-notify-shipped.php:162, classes/admin/emails/class-wcv-customer-notify-shipped.php:152, classes/admin/emails/class-wcv-customer-notify-shipped.php:161, classes/admin/emails/class-wcv-vendor-notify-application.php:139, classes/admin/emails/class-wcv-vendor-notify-application.php:148, classes/admin/emails/class-wcv-vendor-notify-approved.php:148, classes/admin/emails/class-wcv-vendor-notify-approved.php:166, classes/admin/emails/class-wcv-vendor-notify-denied.php:158, classes/admin/emails/class-wcv-vendor-notify-denied.php:167, classes/admin/emails/class-wcv-vendor-notify-denied.php:184, classes/admin/emails/class-wcv-vendor-notify-order.php:170, classes/admin/emails/class-wcv-vendor-notify-order.php:179
1120
  msgid "Available placeholders: %s"
1121
  msgstr ""
1122
 
1123
+ #: classes/admin/emails/class-wcv-admin-notify-application.php:154, classes/admin/emails/class-wcv-admin-notify-product.php:169, classes/admin/emails/class-wcv-admin-notify-shipped.php:158, classes/admin/emails/class-wcv-customer-notify-shipped.php:157, classes/admin/emails/class-wcv-vendor-notify-application.php:144, classes/admin/emails/class-wcv-vendor-notify-approved.php:162, classes/admin/emails/class-wcv-vendor-notify-denied.php:180, classes/admin/emails/class-wcv-vendor-notify-order.php:175
1124
  msgid "Email heading"
1125
  msgstr ""
1126
 
1127
+ #: classes/admin/emails/class-wcv-admin-notify-application.php:163
1128
  msgid "Notification"
1129
  msgstr ""
1130
 
1131
+ #: classes/admin/emails/class-wcv-admin-notify-application.php:165
1132
  msgid "Choose when to be notified of an application."
1133
  msgstr ""
1134
 
1135
+ #: classes/admin/emails/class-wcv-admin-notify-application.php:169
1136
  msgid "All Applications"
1137
  msgstr ""
1138
 
1139
+ #: classes/admin/emails/class-wcv-admin-notify-application.php:170
1140
  msgid "Pending Applications"
1141
  msgstr ""
1142
 
1168
  msgid "[{site_title}] %s has marked shipped ({order_number}) - {order_date}"
1169
  msgstr ""
1170
 
1171
+ #: classes/admin/emails/class-wcv-admin-notify-shipped.php:62, classes/admin/emails/class-wcv-customer-notify-shipped.php:61
1172
+ msgid "%s has shipped"
1173
+ msgstr ""
1174
+
1175
  #: classes/admin/emails/class-wcv-customer-notify-shipped.php:28
1176
  msgid "Customer %s shipped"
1177
  msgstr ""
1724
  msgstr ""
1725
 
1726
  #: classes/admin/settings/class-wcv-settings-display.php:242
1727
+ msgid "Allow HTML in %s shop description"
1728
  msgstr ""
1729
 
1730
  #: classes/admin/settings/class-wcv-settings-display.php:243
1772
  msgstr ""
1773
 
1774
  #: classes/admin/settings/class-wcv-settings-general.php:77
1775
+ msgid "Terms & Conditions Checkbox"
1776
  msgstr ""
1777
 
1778
  #: classes/admin/settings/class-wcv-settings-general.php:78
1779
+ msgid "Make the terms and conditions checkbox always visible even if become a %s is not checked"
1780
  msgstr ""
1781
 
1782
  #: classes/admin/settings/class-wcv-settings-general.php:84
1783
+ msgid "%s Approval"
1784
  msgstr ""
1785
 
1786
  #: classes/admin/settings/class-wcv-settings-general.php:85
1787
+ msgid "Manually approve all %s applications"
1788
+ msgstr ""
1789
+
1790
+ #: classes/admin/settings/class-wcv-settings-general.php:91, classes/front/account/class-wc-account-links.php:46
1791
+ msgid "Become a %s"
1792
+ msgstr ""
1793
+
1794
+ #: classes/admin/settings/class-wcv-settings-general.php:92
1795
+ msgid "Show the \"Become a %s\" link on WooCommerce my-account page"
1796
+ msgstr ""
1797
+
1798
+ #: classes/admin/settings/class-wcv-settings-general.php:98
1799
+ msgid "%s Taxes"
1800
+ msgstr ""
1801
+
1802
+ #: classes/admin/settings/class-wcv-settings-general.php:99
1803
  msgid "Give any taxes to the %s"
1804
  msgstr ""
1805
 
1806
+ #: classes/admin/settings/class-wcv-settings-general.php:105
1807
  msgid "%s Shipping"
1808
  msgstr ""
1809
 
1810
+ #: classes/admin/settings/class-wcv-settings-general.php:106
1811
  msgid "Give any shipping to the %s"
1812
  msgstr ""
1813
 
2079
  msgid "Save Shop Settings"
2080
  msgstr ""
2081
 
2082
+ #: classes/front/account/class-wc-account-links.php:84
 
 
 
 
2083
  msgid "You are already an approved vendor, no need to apply"
2084
  msgstr ""
2085
 
2151
  msgid "ERROR"
2152
  msgstr ""
2153
 
2154
+ #: classes/front/signup/class-vendor-signup.php:79, classes/front/signup/views/html-vendor-signup.php:53
2155
  msgid "Please agree to the terms and conditions"
2156
  msgstr ""
2157
 
2271
  msgid "%s does not support your store currency."
2272
  msgstr ""
2273
 
2274
+ #: classes/gateways/PayPal_AdvPayments/paypal_ap.php:390, classes/gateways/PayPal_AdvPayments/paypal_ap.php:506, classes/gateways/PayPal_Masspay/class-paypal-masspay.php:156
2275
  msgid "Error: %s"
2276
  msgstr ""
2277
 
2283
  msgid "Error ID: %d. %s"
2284
  msgstr ""
2285
 
2286
+ #: classes/gateways/PayPal_Masspay/class-paypal-masspay.php:118
2287
  msgid "No vendors found to pay. Maybe they haven't set a PayPal address?"
2288
  msgstr ""
2289
 
2290
+ #: classes/gateways/PayPal_Masspay/class-paypal-masspay.php:170
2291
  msgid "All due commission has been paid for. "
2292
  msgstr ""
2293
 
2294
+ #: classes/gateways/PayPal_Masspay/class-paypal-masspay.php:176
2295
  msgid "All due commission has been paid for, but I could not clear it from their profiles due to an internal error. Commission will still be listed as due. Please manually mark the commission as paid from the Commissions page."
2296
  msgstr ""
2297
 
2298
+ #: classes/gateways/PayPal_Masspay/class-paypal-masspay.php:210
2299
  msgid "WooCommerce: Mass payments for vendors update"
2300
  msgstr ""
2301
 
2302
+ #: classes/gateways/PayPal_Masspay/class-paypal-masspay.php:212
2303
  msgid "Hello! A payment was just triggered to mass pay all vendors their due commission."
2304
  msgstr ""
2305
 
2306
+ #: classes/gateways/PayPal_Masspay/class-paypal-masspay.php:213
2307
  msgid "Payment status: %s."
2308
  msgstr ""
2309
 
2310
+ #: classes/gateways/PayPal_Masspay/class-paypal-masspay.php:214
2311
  msgid "Payment message: %s."
2312
  msgstr ""
2313
 
2314
+ #: classes/gateways/PayPal_Masspay/class-paypal-masspay.php:217
2315
  msgid "Payment total: %s."
2316
  msgstr ""
2317
 
2624
  msgid "Need Help?"
2625
  msgstr ""
2626
 
2627
+ #: classes/front/signup/views/html-vendor-signup.php:44
2628
  msgid "I have read and accepted the <a target=\"top\" href=\"%s\">terms and conditions</a>."
2629
  msgstr ""
readme.txt CHANGED
@@ -7,7 +7,7 @@ Plugin URI: https://www.wcvendors.com/
7
  Requires at least: 4.4.0
8
  Requires PHP: 5.6
9
  Tested up to: 4.9.5
10
- Stable tag: 2.0.10
11
  License: GPLv2 or later
12
 
13
  The number one marketplace plugin for WooCommerce. Now you can allow anyone to open a store on your WooCommerce site!
@@ -145,6 +145,23 @@ WC Vendors Marketplace does not work with multisite WordPress. There are no plan
145
 
146
  == Changelog ==
147
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
148
  = Version 2.0.10 - 4th July 2018 =
149
 
150
  * Fixed: Commission by Product report is not functioning & shows errors #456
7
  Requires at least: 4.4.0
8
  Requires PHP: 5.6
9
  Tested up to: 4.9.5
10
+ Stable tag: 2.1.0
11
  License: GPLv2 or later
12
 
13
  The number one marketplace plugin for WooCommerce. Now you can allow anyone to open a store on your WooCommerce site!
145
 
146
  == Changelog ==
147
 
148
+ = Version 2.1.0 6th August 2018 =
149
+
150
+ * Added Option to remove "Become a Vendor" tab on the my-account page
151
+ * Update: Make it easier to visually see which emails have been deprecated
152
+ * Fixed: Virtual / Downloadable Hide option does not work #483
153
+ * Fixed: Admin notify vendor application not firing #468
154
+ * Fixed: Username not showing in Admin notification email subject
155
+ * Fixed: Terms & conditions on wp-register page #479
156
+ * Fixed: Capabilities resetting disables edit live products #466
157
+ * Fixed: Vendor labels can't be translated #451
158
+ * Fixed: "Become a Vendor" tab is not hidden for vendor role #472
159
+ * Fixed: WooCommerce Product Enquiry emails not working #465
160
+ * Fixed: Color picker class not working when adding custom class (#469)
161
+ * Fixed: Stop vendor notification sending twice
162
+ * Fixed: Shipping cost to be added onto Vendor commissions #463
163
+ * Fixed: Using wrong method in classes/class-shipping.php #461
164
+
165
  = Version 2.0.10 - 4th July 2018 =
166
 
167
  * Fixed: Commission by Product report is not functioning & shows errors #456
templates/dashboard/denied.php CHANGED
@@ -40,25 +40,34 @@
40
 
41
  <?php
42
  $terms_page = get_option( 'wcvendors_vendor_terms_page_id' );
 
 
43
 
44
- if ( $terms_page ) { ?>
45
- <p class="form-row agree-to-terms-container" style="display:none">
 
 
 
 
 
46
  <input class="input-checkbox"
47
  id="agree_to_terms" <?php checked( isset( $_POST[ 'agree_to_terms' ] ), true ) ?>
48
  type="checkbox" name="agree_to_terms" value="1"/>
49
  <label for="agree_to_terms"
50
  class="checkbox"><?php printf( __( 'I have read and accepted the <a href="%s">terms and conditions</a>', 'wc-vendors' ), get_permalink( $terms_page ) ); ?></label>
51
  </p>
52
-
53
  <script type="text/javascript">
54
  jQuery(function () {
55
- if (jQuery('#apply_for_vendor').is(':checked')) {
 
56
  jQuery('.agree-to-terms-container').show();
57
- }
58
 
59
- jQuery('#apply_for_vendor').on('click', function () {
60
- jQuery('.agree-to-terms-container').slideToggle();
61
- });
 
62
  })
63
  </script>
64
 
40
 
41
  <?php
42
  $terms_page = get_option( 'wcvendors_vendor_terms_page_id' );
43
+
44
+ if ( $terms_page ) {
45
 
46
+ $terms_and_conditions_visibility = get_option( 'wcvendors_terms_and_conditions_visibility' );
47
+
48
+ $display = apply_filters( 'wcvendors_terms_and_conditions_visibility', wc_string_to_bool( $terms_and_conditions_visibility ) ) ? 'block': 'none';
49
+
50
+ ?>
51
+ <input type="hidden" id="terms_and_conditions_visibility" value="<?php echo $terms_and_conditions_visibility; ?>" />
52
+ <p class="form-row agree-to-terms-container" style="display:<?php echo $display; ?>">
53
  <input class="input-checkbox"
54
  id="agree_to_terms" <?php checked( isset( $_POST[ 'agree_to_terms' ] ), true ) ?>
55
  type="checkbox" name="agree_to_terms" value="1"/>
56
  <label for="agree_to_terms"
57
  class="checkbox"><?php printf( __( 'I have read and accepted the <a href="%s">terms and conditions</a>', 'wc-vendors' ), get_permalink( $terms_page ) ); ?></label>
58
  </p>
59
+
60
  <script type="text/javascript">
61
  jQuery(function () {
62
+ if ( $( '#terms_and_conditions_visibility' ).val() == 'no' ){
63
+ if (jQuery('#apply_for_vendor').is(':checked')) {
64
  jQuery('.agree-to-terms-container').show();
65
+ }
66
 
67
+ jQuery('#apply_for_vendor').on('click', function () {
68
+ jQuery('.agree-to-terms-container').slideToggle();
69
+ });
70
+ }
71
  })
72
  </script>
73
 
templates/emails/admin-notify-application.php CHANGED
@@ -18,7 +18,7 @@
18
 
19
  <p><?php printf( __( 'Hi there. This is a notification about a vendor application on %s.', 'wc-vendors' ), get_option( 'blogname' ) ); ?></p>
20
 
21
- <p><?php printf( __( 'The application is currently: %s', 'wc-vendors' ), $status ); ?></p>
22
  <p><?php printf( __( 'Applicant username: %s', 'wc-vendors' ), $user->user_login ); ?></p>
23
 
24
  <?php if ( 'pending' === $status ) : ?>
18
 
19
  <p><?php printf( __( 'Hi there. This is a notification about a vendor application on %s.', 'wc-vendors' ), get_option( 'blogname' ) ); ?></p>
20
 
21
+ <p><?php printf( __( 'The application is currently: %s', 'wc-vendors' ), ucfirst( $status ) ); ?></p>
22
  <p><?php printf( __( 'Applicant username: %s', 'wc-vendors' ), $user->user_login ); ?></p>
23
 
24
  <?php if ( 'pending' === $status ) : ?>