YITH Essential Kit for WooCommerce #1 - Version 1.3.4

Version Description

  • Updated: All YITH plugins to latest version
Download this release

Release Info

Developer yithemes
Plugin Icon 128x128 YITH Essential Kit for WooCommerce #1
Version 1.3.4
Comparing to
See all releases

Code changes from version 1.3.2 to 1.3.4

Files changed (56) hide show
  1. README.txt +10 -2
  2. assets/css/list-layout.css +1 -0
  3. init.php +1 -1
  4. modules/yith-woocommerce-advanced-reviews/init.php +3 -3
  5. modules/yith-woocommerce-ajax-navigation/assets/js/yith-wcan-frontend.js +9 -5
  6. modules/yith-woocommerce-ajax-navigation/assets/js/yith-wcan-frontend.min.js +1 -1
  7. modules/yith-woocommerce-ajax-navigation/includes/class.yith-wcan-frontend.php +30 -78
  8. modules/yith-woocommerce-ajax-navigation/includes/class.yith-wcan.php +24 -0
  9. modules/yith-woocommerce-ajax-navigation/includes/functions.yith-wcan.php +39 -17
  10. modules/yith-woocommerce-ajax-navigation/init.php +2 -2
  11. modules/yith-woocommerce-ajax-navigation/widgets/class.yith-wcan-navigation-widget.php +6 -5
  12. modules/yith-woocommerce-authorizenet-payment-gateway/includes/class.yith-wcauthnet-credit-card-gateway.php +17 -0
  13. modules/yith-woocommerce-authorizenet-payment-gateway/init.php +2 -2
  14. modules/yith-woocommerce-colors-labels-variations/class.yith-wccl-admin.php +0 -88
  15. modules/yith-woocommerce-product-add-ons/assets/js/yith-wapo-frontend.js +1 -1
  16. modules/yith-woocommerce-product-add-ons/assets/js/yith-wapo-frontend.min.js +1 -1
  17. modules/yith-woocommerce-product-add-ons/includes/class.yith-wapo-admin.php +2 -2
  18. modules/yith-woocommerce-product-add-ons/init.php +3 -3
  19. modules/yith-woocommerce-product-vendors/assets/css/admin.css +2 -0
  20. modules/yith-woocommerce-product-vendors/includes/class.yith-commission.php +1 -1
  21. modules/yith-woocommerce-product-vendors/includes/class.yith-commissions.php +22 -22
  22. modules/yith-woocommerce-product-vendors/includes/class.yith-orders.php +172 -13
  23. modules/yith-woocommerce-product-vendors/includes/class.yith-vendor.php +6 -2
  24. modules/yith-woocommerce-product-vendors/includes/class.yith-vendors-admin.php +57 -35
  25. modules/yith-woocommerce-product-vendors/includes/class.yith-vendors-frontend.php +46 -0
  26. modules/yith-woocommerce-product-vendors/includes/class.yith-vendors.php +16 -16
  27. modules/yith-woocommerce-product-vendors/includes/lib/class.yith-commissions-list-table.php +22 -22
  28. modules/yith-woocommerce-product-vendors/includes/widgets/class.yith-woocommerce-vendors-widget.php +7 -7
  29. modules/yith-woocommerce-product-vendors/init.php +5 -5
  30. modules/yith-woocommerce-product-vendors/languages/yith-woocommerce-product-vendors-it_IT.mo +0 -0
  31. modules/yith-woocommerce-product-vendors/languages/yith-woocommerce-product-vendors-it_IT.po +3014 -0
  32. modules/yith-woocommerce-product-vendors/languages/yith-woocommerce-product-vendors.pot +1205 -0
  33. modules/yith-woocommerce-product-vendors/plugin-options/commissions-options.php +3 -3
  34. modules/yith-woocommerce-product-vendors/plugin-options/vendors-options.php +8 -8
  35. modules/yith-woocommerce-product-vendors/templates/admin/commission-view.php +26 -26
  36. modules/yith-woocommerce-product-vendors/templates/admin/commissions.php +1 -1
  37. modules/yith-woocommerce-product-vendors/templates/woocommerce/single-product/vendor-tab.php +2 -2
  38. modules/yith-woocommerce-tab-manager/includes/metabox/tab-metabox.php +1 -1
  39. modules/yith-woocommerce-tab-manager/init.php +3 -3
  40. modules/yith-woocommerce-tab-manager/templates/default.php +2 -7
  41. modules/yith-woocommerce-zoom-magnifier/assets/js/yith_magnifier.js +1 -1
  42. modules/yith-woocommerce-zoom-magnifier/assets/js/yith_magnifier.min.js +1 -1
  43. modules/yith-woocommerce-zoom-magnifier/init.php +3 -3
  44. modules/yith-woocommerce-zoom-magnifier/plugin-options/general-options.php +1 -1
  45. plugin-fw/assets/js/yit-plugin-panel.js +11 -0
  46. plugin-fw/assets/js/yit-plugin-panel.min.js +1 -10
  47. plugin-fw/init.php +1 -1
  48. plugin-fw/lib/yit-plugin-panel-sidebar.php +8 -5
  49. plugin-fw/lib/yit-plugin-panel-wc.php +1 -1
  50. plugin-fw/lib/yit-plugin-panel.php +2 -2
  51. plugin-fw/lib/yit-pointers.php +5 -5
  52. plugin-fw/lib/yit-upgrade.php +16 -7
  53. plugin-fw/templates/panel/types/colorpicker.php +38 -0
  54. plugin-fw/templates/panel/types/number.php +35 -0
  55. plugin-fw/templates/panel/types/upload.php +1 -1
  56. templates/yith-single-plugin.php +12 -2
README.txt CHANGED
@@ -4,7 +4,7 @@ Contributors: yithemes
4
  Tags: woocommerce,yith woocommerce colors and labels variations,yith woocommerce zoom magnifier,yith woocommerce wishlist,yith woocommerce ajax product filter,yith woocommerce ajax search,yith woocommerce catalog mode,yith woocommerce advanced reviews, yith woocommerce badges management,yith woocommerce cart messages,yith woocommerce review reminder,yith woocommerce quick view,yith woocommerce mailchimp,yith woocommerce stripe,yith woocommerce request a quote,yith woocommerce tab manager,yith woocommerce multi vendor
5
  Requires at least: 3.5.1
6
  Tested up to: 4.5.2
7
- Stable tag: 1.3.2
8
  License: GPLv2 or later
9
  License URI: http://www.gnu.org/licenses/gpl-2.0.html
10
 
@@ -155,6 +155,14 @@ YITH Essential Kit for WooCommerce #1 will add a new submenu called "YITH Essent
155
 
156
  == Changelog ==
157
 
 
 
 
 
 
 
 
 
158
  = 1.3.2 =
159
 
160
  * Updated: YITH WooCommerce Ajax Navigation to 3.0.6 version
@@ -336,4 +344,4 @@ YITH Essential Kit for WooCommerce #1 will add a new submenu called "YITH Essent
336
 
337
  == Upgrade Notice ==
338
 
339
- Last Stable Tag 1.3.2
4
  Tags: woocommerce,yith woocommerce colors and labels variations,yith woocommerce zoom magnifier,yith woocommerce wishlist,yith woocommerce ajax product filter,yith woocommerce ajax search,yith woocommerce catalog mode,yith woocommerce advanced reviews, yith woocommerce badges management,yith woocommerce cart messages,yith woocommerce review reminder,yith woocommerce quick view,yith woocommerce mailchimp,yith woocommerce stripe,yith woocommerce request a quote,yith woocommerce tab manager,yith woocommerce multi vendor
5
  Requires at least: 3.5.1
6
  Tested up to: 4.5.2
7
+ Stable tag: 1.3.4
8
  License: GPLv2 or later
9
  License URI: http://www.gnu.org/licenses/gpl-2.0.html
10
 
155
 
156
  == Changelog ==
157
 
158
+ = 1.3.4 =
159
+
160
+ * Updated: All YITH plugins to latest version
161
+
162
+ = 1.3.3 =
163
+
164
+ * Updated: YITH WooCommerce Ajax Navigation to 3.0.8 version
165
+
166
  = 1.3.2 =
167
 
168
  * Updated: YITH WooCommerce Ajax Navigation to 3.0.6 version
344
 
345
  == Upgrade Notice ==
346
 
347
+ Last Stable Tag 1.3.4
assets/css/list-layout.css CHANGED
@@ -63,6 +63,7 @@
63
  background: url('../images/cart.png');
64
  }
65
 
 
66
  .yith-jetpack .plugin-card .column-downloaded {
67
  display: block;
68
  width: 100%;
63
  background: url('../images/cart.png');
64
  }
65
 
66
+
67
  .yith-jetpack .plugin-card .column-downloaded {
68
  display: block;
69
  width: 100%;
init.php CHANGED
@@ -7,7 +7,7 @@ Text Domain: yith-essential-kit-for-woocommerce-1
7
  Domain Path: /languages/
8
  Author: YIThemes
9
  Author URI: http://yithemes.com/
10
- Version: 1.3.2
11
  */
12
 
13
  if ( ! defined( 'ABSPATH' ) ) {
7
  Domain Path: /languages/
8
  Author: YIThemes
9
  Author URI: http://yithemes.com/
10
+ Version: 1.3.4
11
  */
12
 
13
  if ( ! defined( 'ABSPATH' ) ) {
modules/yith-woocommerce-advanced-reviews/init.php CHANGED
@@ -2,10 +2,10 @@
2
  /*
3
  Plugin Name: YITH WooCommerce Advanced Reviews
4
  Plugin URI: http://yithemes.com/themes/plugins/yith-woocommerce-advanced-reviews/
5
- Description: Extends the basic functionality of woocommerce reviews and add a histogram table to the reviews of your products, as well as you see in most trendy e-commerce sites.
6
  Author: YITHEMES
7
  Text Domain: yith-woocommerce-advanced-reviews
8
- Version: 1.2.2
9
  Author URI: http://yithemes.com/
10
  */
11
 
@@ -45,7 +45,7 @@ register_activation_hook ( __FILE__, 'yith_plugin_registration_hook' );
45
 
46
  require_once ( plugin_dir_path ( __FILE__ ) . 'functions.php' );
47
  yith_define ( 'YITH_YWAR_FREE_INIT', plugin_basename ( __FILE__ ) );
48
- yith_define ( 'YITH_YWAR_VERSION', '1.2.2' );
49
  yith_define ( 'YITH_YWAR_FILE', __FILE__ );
50
  yith_define ( 'YITH_YWAR_DIR', plugin_dir_path ( __FILE__ ) );
51
  yith_define ( 'YITH_YWAR_URL', plugins_url ( '/', __FILE__ ) );
2
  /*
3
  Plugin Name: YITH WooCommerce Advanced Reviews
4
  Plugin URI: http://yithemes.com/themes/plugins/yith-woocommerce-advanced-reviews/
5
+ Description: Extends the basic functionality of woocommerce reviews and add a histogram table to the reviews of your products, such as you see in most trendy e-commerce sites.
6
  Author: YITHEMES
7
  Text Domain: yith-woocommerce-advanced-reviews
8
+ Version: 1.2.3
9
  Author URI: http://yithemes.com/
10
  */
11
 
45
 
46
  require_once ( plugin_dir_path ( __FILE__ ) . 'functions.php' );
47
  yith_define ( 'YITH_YWAR_FREE_INIT', plugin_basename ( __FILE__ ) );
48
+ yith_define ( 'YITH_YWAR_VERSION', '1.2.3' );
49
  yith_define ( 'YITH_YWAR_FILE', __FILE__ );
50
  yith_define ( 'YITH_YWAR_DIR', plugin_dir_path ( __FILE__ ) );
51
  yith_define ( 'YITH_YWAR_URL', plugins_url ( '/', __FILE__ ) );
modules/yith-woocommerce-ajax-navigation/assets/js/yith-wcan-frontend.js CHANGED
@@ -212,13 +212,17 @@ jQuery(function ($) {
212
  }
213
 
214
 
215
- var widget_reload = function (t) {
216
- var id = t.attr('id');
217
- t.html($(response).find('#' + id).html());
218
 
219
- if (t.text() == '') {
 
 
 
220
  t.hide();
221
- } else {
 
 
 
222
  t.show();
223
  }
224
  };
212
  }
213
 
214
 
215
+ var widget_reload = function(t) {
 
 
216
 
217
+ var id = t.attr('id'),
218
+ widget_in_response = $(response).find('#' + id);
219
+
220
+ if( widget_in_response.length == 0 ){
221
  t.hide();
222
+ }
223
+
224
+ else {
225
+ t.html(widget_in_response.html());
226
  t.show();
227
  }
228
  };
modules/yith-woocommerce-ajax-navigation/assets/js/yith-wcan-frontend.min.js CHANGED
@@ -8,7 +8,7 @@ jQuery(function(a){function u(a,p){return a.replace(new RegExp("[?&]"+p+"=[^&#]*
8
  "&")+a.param({min_price:l,max_price:g})}"select"==e.data("type")&&(e.parents("div.yith-woo-ajax-navigation").find("a.yit-wcan-select-open").removeClass("active"),e.parent().find("div.yith-wcan-select-wrapper").css("z-index","-1").animate({visibility:"hidden",opacity:0},300));a(yith_wcan.container).not(".ywcps-products").html("").addClass("yith-wcan-loading");a(document).trigger("yith-wcan-ajax-loading");"undefined"!=typeof yith_wcan_frontend&&a(yith_wcan.container).not(".ywcps-products").css("backgroundImage",
9
  "url("+yith_wcan_frontend.loader_url+")");1==yith_wcan.is_mobile&&a(window).scrollTop(a(yith_wcan.scroll_top).offset().top);a(yith_wcan.pagination).hide();a(yith_wcan.result_count).hide();0!=r&&(r.abort(),r=!1);r=a.ajax({url:b,success:function(c){r=!1;a(yith_wcan.container).not(".ywcps-products").removeClass("yith-wcan-loading");0<a(c).find(yith_wcan.container).not(".ywcps-products").length?a(".yit-wcan-container").html(a(c).find(yith_wcan.container).not(".ywcps-products")):a(".yit-wcan-container").html(a(c).find(".woocommerce-info"));
10
  0<a(c).find(yith_wcan.pagination).length?(0==a(yith_wcan.pagination).length&&a.jseldom(yith_wcan.pagination).insertAfter(a(yith_wcan.container).not(".ywcps-products")),a(yith_wcan.pagination).html(a(c).find(yith_wcan.pagination).html()).show()):a(yith_wcan.pagination).empty();a("div.quantity:not(.buttons_added), td.quantity:not(.buttons_added)").addClass("buttons_added").append('<input type="button" value="+" class="plus" />').prepend('<input type="button" value="-" class="minus" />');0<a(c).find(yith_wcan.result_count).length&&
11
- a(yith_wcan.result_count).html(a(c).find(yith_wcan.result_count).html()).show();a(".yith-woo-ajax-navigation").add(".yith-wcan-sort-by").add(".yith-wcan-stock-on-sale").add(".yith-wcan-list-price-filter").each(function(){var b=a(this),d=b.attr("id");b.html(a(c).find("#"+d).html());""==b.text()?b.hide():b.show()});if(1==yith_wcan.avada.is_enabled){var d=a(yith_wcan.avada.sort_count);d.html(a(c).find(yith_wcan.avada.sort_count).html());""==e.text()?d.hide():d.show()}1!=yith_wcan.change_browser_url||
12
  navigator.userAgent.match(/msie/i)||window.history.pushState({pageTitle:c.pageTitle},"",b);a(document).trigger("ready");a(document).trigger("yith-wcan-ajax-filtered");a(window).trigger("scroll");if(n){if("undefined"!=typeof a.fn.slider){var d=parseInt(a(yith_wcan.wc_price_slider.min_price).data("min")),f=parseInt(a(yith_wcan.wc_price_slider.max_price).data("max"));a(yith_wcan.wc_price_slider.wrapper).slider("values",[d,f]);a(document.body).trigger("price_slider_slide",[d,f])}a(document).trigger("yith-wcan-ajax-reset-filtered")}x()}})};
13
  a(yith_wcan.container).not(".ywcps-products").wrap('<div class="yit-wcan-container"></div>');a(document).on("yith-wcan-wrapped",function(){x()});a(document).trigger("yith-wcan-wrapped");a(document).on("click",".yith-wcan a",function(k){a(this).yith_wcan_ajax_filters(k,this)});var t=function(){a("div.yith-wcan-select-wrapper").css("z-index","-1").animate({visibility:"hidden",opacity:0},0);a("a.yit-wcan-select-open").removeClass("active")};a(document).on("click","a.yit-wcan-select-open.active",function(k){k.preventDefault();
14
  a(this).parent().find("div.yith-wcan-select-wrapper").css("z-index","-1").animate({visibility:"hidden",opacity:0},300);a(this).parent().find("a.yit-wcan-select-open").removeClass("active")});a(document).on("click","a.yit-wcan-select-open:not(.active)",function(k){k.preventDefault();a(this).parent().find("div.yith-wcan-select-wrapper").css("z-index","1").animate({visibility:"visible",opacity:1},300);a(this).parent().find("a.yit-wcan-select-open").addClass("active")});a(document).on("ready yith-wcan-ajax-filtered",
8
  "&")+a.param({min_price:l,max_price:g})}"select"==e.data("type")&&(e.parents("div.yith-woo-ajax-navigation").find("a.yit-wcan-select-open").removeClass("active"),e.parent().find("div.yith-wcan-select-wrapper").css("z-index","-1").animate({visibility:"hidden",opacity:0},300));a(yith_wcan.container).not(".ywcps-products").html("").addClass("yith-wcan-loading");a(document).trigger("yith-wcan-ajax-loading");"undefined"!=typeof yith_wcan_frontend&&a(yith_wcan.container).not(".ywcps-products").css("backgroundImage",
9
  "url("+yith_wcan_frontend.loader_url+")");1==yith_wcan.is_mobile&&a(window).scrollTop(a(yith_wcan.scroll_top).offset().top);a(yith_wcan.pagination).hide();a(yith_wcan.result_count).hide();0!=r&&(r.abort(),r=!1);r=a.ajax({url:b,success:function(c){r=!1;a(yith_wcan.container).not(".ywcps-products").removeClass("yith-wcan-loading");0<a(c).find(yith_wcan.container).not(".ywcps-products").length?a(".yit-wcan-container").html(a(c).find(yith_wcan.container).not(".ywcps-products")):a(".yit-wcan-container").html(a(c).find(".woocommerce-info"));
10
  0<a(c).find(yith_wcan.pagination).length?(0==a(yith_wcan.pagination).length&&a.jseldom(yith_wcan.pagination).insertAfter(a(yith_wcan.container).not(".ywcps-products")),a(yith_wcan.pagination).html(a(c).find(yith_wcan.pagination).html()).show()):a(yith_wcan.pagination).empty();a("div.quantity:not(.buttons_added), td.quantity:not(.buttons_added)").addClass("buttons_added").append('<input type="button" value="+" class="plus" />').prepend('<input type="button" value="-" class="minus" />');0<a(c).find(yith_wcan.result_count).length&&
11
+ a(yith_wcan.result_count).html(a(c).find(yith_wcan.result_count).html()).show();a(".yith-woo-ajax-navigation").add(".yith-wcan-sort-by").add(".yith-wcan-stock-on-sale").add(".yith-wcan-list-price-filter").each(function(){var b=a(this),d=b.attr("id"),d=a(c).find("#"+d);0==d.length?b.hide():(b.html(d.html()),b.show())});if(1==yith_wcan.avada.is_enabled){var d=a(yith_wcan.avada.sort_count);d.html(a(c).find(yith_wcan.avada.sort_count).html());""==e.text()?d.hide():d.show()}1!=yith_wcan.change_browser_url||
12
  navigator.userAgent.match(/msie/i)||window.history.pushState({pageTitle:c.pageTitle},"",b);a(document).trigger("ready");a(document).trigger("yith-wcan-ajax-filtered");a(window).trigger("scroll");if(n){if("undefined"!=typeof a.fn.slider){var d=parseInt(a(yith_wcan.wc_price_slider.min_price).data("min")),f=parseInt(a(yith_wcan.wc_price_slider.max_price).data("max"));a(yith_wcan.wc_price_slider.wrapper).slider("values",[d,f]);a(document.body).trigger("price_slider_slide",[d,f])}a(document).trigger("yith-wcan-ajax-reset-filtered")}x()}})};
13
  a(yith_wcan.container).not(".ywcps-products").wrap('<div class="yit-wcan-container"></div>');a(document).on("yith-wcan-wrapped",function(){x()});a(document).trigger("yith-wcan-wrapped");a(document).on("click",".yith-wcan a",function(k){a(this).yith_wcan_ajax_filters(k,this)});var t=function(){a("div.yith-wcan-select-wrapper").css("z-index","-1").animate({visibility:"hidden",opacity:0},0);a("a.yit-wcan-select-open").removeClass("active")};a(document).on("click","a.yit-wcan-select-open.active",function(k){k.preventDefault();
14
  a(this).parent().find("div.yith-wcan-select-wrapper").css("z-index","-1").animate({visibility:"hidden",opacity:0},300);a(this).parent().find("a.yit-wcan-select-open").removeClass("active")});a(document).on("click","a.yit-wcan-select-open:not(.active)",function(k){k.preventDefault();a(this).parent().find("div.yith-wcan-select-wrapper").css("z-index","1").animate({visibility:"visible",opacity:1},300);a(this).parent().find("a.yit-wcan-select-open").addClass("active")});a(document).on("ready yith-wcan-ajax-filtered",
modules/yith-woocommerce-ajax-navigation/includes/class.yith-wcan-frontend.php CHANGED
@@ -50,7 +50,7 @@ if ( ! class_exists( 'YITH_WCAN_Frontend' ) ) {
50
  )
51
  );
52
 
53
- if( in_array( strtolower( wp_get_theme()->name ), $theme_support ) ){
54
  add_filter( 'yith_wcan_use_wp_the_query_object', '__return_true' );
55
  }
56
 
@@ -58,9 +58,6 @@ if ( ! class_exists( 'YITH_WCAN_Frontend' ) ) {
58
  $is_ajax_navigation_active = is_active_widget( false, false, 'yith-woo-ajax-navigation', true );
59
 
60
  //Actions
61
- //TODO: Remove woocommerce_layered_nav_init method
62
- //add_action( 'init', array( $this, 'woocommerce_layered_nav_init' ), 90 );
63
-
64
  if( $is_ajax_navigation_active ) {
65
  add_filter( 'woocommerce_is_layered_nav_active', '__return_true' );
66
  }
@@ -108,7 +105,6 @@ if ( ! class_exists( 'YITH_WCAN_Frontend' ) ) {
108
  * @return array
109
  */
110
  public function the_posts( $posts, $query = false ) {
111
-
112
  if( YITH_WCAN()->is_wc_older_2_6 ){
113
  add_action( 'wp', array( $this, 'layered_navigation_array_for_wc_older_26' ) );
114
  }
@@ -147,7 +143,7 @@ if ( ! class_exists( 'YITH_WCAN_Frontend' ) ) {
147
  $current_wp_query,
148
  array(
149
  'post_type' => 'product',
150
- 'numberposts' => -1,
151
  'post_status' => 'publish',
152
  'meta_query' => is_object( $current_wp_query ) ? $current_wp_query->meta_query : array(),
153
  'fields' => 'ids',
@@ -155,9 +151,21 @@ if ( ! class_exists( 'YITH_WCAN_Frontend' ) ) {
155
  'update_post_meta_cache' => false,
156
  'update_post_term_cache' => false,
157
  'pagename' => '',
158
- 'wc_query' => 'get_products_in_view'
 
159
  )
160
  );
 
 
 
 
 
 
 
 
 
 
 
161
  $this->unfiltered_product_ids = get_posts( $unfiltered_args );
162
  $this->filtered_product_ids = $queried_post_ids;
163
 
@@ -174,7 +182,6 @@ if ( ! class_exists( 'YITH_WCAN_Frontend' ) ) {
174
  $this->layered_nav_product_ids = $this->unfiltered_product_ids;
175
  }
176
  }
177
-
178
  return $posts;
179
  }
180
 
@@ -219,68 +226,7 @@ if ( ! class_exists( 'YITH_WCAN_Frontend' ) ) {
219
  wp_localize_script( 'yith-wcan-script', 'yith_wcan', apply_filters( 'yith-wcan-frontend-args', $args ) );
220
  }
221
  }
222
-
223
-
224
- /**
225
- * Layered Nav Init
226
- *
227
- * @package WooCommerce/Widgets
228
- * @access public
229
- * @return void
230
- */
231
- public function woocommerce_layered_nav_init() {
232
- $is_ajax_navigation_active = is_active_widget( false, false, 'yith-woo-ajax-navigation', true );
233
-
234
-
235
-
236
- if ( ! YITH_WCAN()->is_wc_older_2_6 && $is_ajax_navigation_active && ! is_admin() ) {
237
-
238
- $_chosen_attributes = YITH_WCAN()->get_layered_nav_chosen_attributes();
239
-
240
- /* FIX TO WOOCOMMERCE 2.1 */
241
- $attibute_taxonomies = function_exists( 'wc_get_attribute_taxonomies' ) ? $attribute_taxonomies = wc_get_attribute_taxonomies() : $attribute_taxonomies = WC()->get_attribute_taxonomies();
242
-
243
- if ( $attribute_taxonomies ) {
244
- foreach ( $attribute_taxonomies as $tax ) {
245
-
246
- $attribute = wc_sanitize_taxonomy_name( $tax->attribute_name );
247
-
248
- /* FIX TO WOOCOMMERCE 2.1 */
249
- if ( function_exists( 'wc_attribute_taxonomy_name' ) ) {
250
- $taxonomy = wc_attribute_taxonomy_name( $attribute );
251
- }
252
- else {
253
- $taxonomy = WC()->attribute_taxonomy_name( $attribute );
254
- }
255
-
256
- $name = 'filter_' . $attribute;
257
- $query_type_name = 'query_type_' . $attribute;
258
-
259
- if ( ! empty( $_GET[$name] ) && taxonomy_exists( $taxonomy ) ) {
260
-
261
- $_chosen_attributes[ $taxonomy ]['terms'] = explode( ',', $_GET[ $name ] );
262
-
263
- if ( empty( $_GET[ $query_type_name ] ) || ! in_array( strtolower( $_GET[ $query_type_name ] ), array( 'and', 'or' ) ) )
264
- $_chosen_attributes[ $taxonomy ]['query_type'] = apply_filters( 'woocommerce_layered_nav_default_query_type', 'and' );
265
- else
266
- $_chosen_attributes[ $taxonomy ]['query_type'] = strtolower( $_GET[ $query_type_name ] );
267
-
268
- }
269
- }
270
- }
271
-
272
- if ( YITH_WCAN()->is_wc_older_2_1 ) {
273
- add_filter( 'woocommerce_is_layered_nav_active', '__return_true' );
274
- //add_filter( 'loop_shop_post_in', 'woocommerce_layered_nav_query' );
275
- }
276
-
277
- elseif ( YITH_WCAN()->is_wc_older_2_6 ) {
278
- add_filter( 'woocommerce_is_layered_nav_active', '__return_true' );
279
- //add_filter( 'loop_shop_post_in', array( WC()->query, 'layered_nav_query' ) );
280
- }
281
- //Nothing to do for WooCommerce 2.6
282
- }
283
- }
284
  /**
285
  * Layered Nav post filter.
286
  *
@@ -294,7 +240,7 @@ if ( ! class_exists( 'YITH_WCAN_Frontend' ) ) {
294
  if( is_product_taxonomy() ){
295
  $is_product_taxonomy = array(
296
  'taxonomy' => get_queried_object()->taxonomy,
297
- 'terms' => get_queried_object()->slug,
298
  'field' => YITH_WCAN()->filter_term_field
299
  );
300
  }
@@ -321,8 +267,11 @@ if ( ! class_exists( 'YITH_WCAN_Frontend' ) ) {
321
  'post_type' => 'product',
322
  'numberposts' => -1,
323
  'post_status' => 'publish',
 
 
324
  'fields' => 'ids',
325
  'no_found_rows' => true,
 
326
  'tax_query' => array(
327
  array(
328
  'taxonomy' => $attribute,
@@ -388,13 +337,16 @@ if ( ! class_exists( 'YITH_WCAN_Frontend' ) ) {
388
 
389
  else {
390
 
391
- $args = array(
392
- 'post_type' => 'product',
393
- 'numberposts' => -1,
394
- 'post_status' => 'publish',
395
- 'fields' => 'ids',
396
- 'no_found_rows' => true,
397
- 'tax_query' => array()
 
 
 
398
  );
399
 
400
 
50
  )
51
  );
52
 
53
+ if( in_array( strtolower( wp_get_theme()->name ), $theme_support ) || class_exists( 'QTX_Translator' ) ){
54
  add_filter( 'yith_wcan_use_wp_the_query_object', '__return_true' );
55
  }
56
 
58
  $is_ajax_navigation_active = is_active_widget( false, false, 'yith-woo-ajax-navigation', true );
59
 
60
  //Actions
 
 
 
61
  if( $is_ajax_navigation_active ) {
62
  add_filter( 'woocommerce_is_layered_nav_active', '__return_true' );
63
  }
105
  * @return array
106
  */
107
  public function the_posts( $posts, $query = false ) {
 
108
  if( YITH_WCAN()->is_wc_older_2_6 ){
109
  add_action( 'wp', array( $this, 'layered_navigation_array_for_wc_older_26' ) );
110
  }
143
  $current_wp_query,
144
  array(
145
  'post_type' => 'product',
146
+ 'numberposts' => - 1,
147
  'post_status' => 'publish',
148
  'meta_query' => is_object( $current_wp_query ) ? $current_wp_query->meta_query : array(),
149
  'fields' => 'ids',
151
  'update_post_meta_cache' => false,
152
  'update_post_term_cache' => false,
153
  'pagename' => '',
154
+ 'wc_query' => 'get_products_in_view',
155
+ 'suppress_filters' => true
156
  )
157
  );
158
+
159
+ $hide_out_of_stock_items = apply_filters( 'yith_wcan_hide_out_of_stock_items', 'yes' == get_option( 'woocommerce_hide_out_of_stock_items' ) ? true : false );
160
+
161
+ if( $hide_out_of_stock_items ){
162
+ $unfiltered_args['meta_query'][] = array(
163
+ 'key' => '_stock_status',
164
+ 'value' => 'instock',
165
+ 'compare' => 'AND'
166
+ );
167
+ }
168
+
169
  $this->unfiltered_product_ids = get_posts( $unfiltered_args );
170
  $this->filtered_product_ids = $queried_post_ids;
171
 
182
  $this->layered_nav_product_ids = $this->unfiltered_product_ids;
183
  }
184
  }
 
185
  return $posts;
186
  }
187
 
226
  wp_localize_script( 'yith-wcan-script', 'yith_wcan', apply_filters( 'yith-wcan-frontend-args', $args ) );
227
  }
228
  }
229
+
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
230
  /**
231
  * Layered Nav post filter.
232
  *
240
  if( is_product_taxonomy() ){
241
  $is_product_taxonomy = array(
242
  'taxonomy' => get_queried_object()->taxonomy,
243
+ 'terms' => get_queried_object()->slug,
244
  'field' => YITH_WCAN()->filter_term_field
245
  );
246
  }
267
  'post_type' => 'product',
268
  'numberposts' => -1,
269
  'post_status' => 'publish',
270
+ 'meta_key' => '_visibility',
271
+ 'meta_value' => 'visible',
272
  'fields' => 'ids',
273
  'no_found_rows' => true,
274
+ 'suppress_filters' => true,
275
  'tax_query' => array(
276
  array(
277
  'taxonomy' => $attribute,
337
 
338
  else {
339
 
340
+ $args = array(
341
+ 'post_type' => 'product',
342
+ 'numberposts' => - 1,
343
+ 'post_status' => 'publish',
344
+ 'meta_key' => '_visibility',
345
+ 'meta_value' => 'visible',
346
+ 'fields' => 'ids',
347
+ 'no_found_rows' => true,
348
+ 'suppress_filters' => true,
349
+ 'tax_query' => array()
350
  );
351
 
352
 
modules/yith-woocommerce-ajax-navigation/includes/class.yith-wcan.php CHANGED
@@ -99,6 +99,11 @@ if ( ! class_exists( 'YITH_WCAN' ) ) {
99
  $this->required();
100
 
101
  $this->init();
 
 
 
 
 
102
  }
103
 
104
  /**
@@ -218,5 +223,24 @@ if ( ! class_exists( 'YITH_WCAN' ) ) {
218
  return $chosen_attributes;
219
  }
220
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
221
  }
222
  }
99
  $this->required();
100
 
101
  $this->init();
102
+
103
+ // Support to Ultimate Member plugin
104
+ if( class_exists( 'UM_API' ) ){
105
+ add_action( 'init', array( $this, 'ultimate_member_support' ), 0 );
106
+ }
107
  }
108
 
109
  /**
223
  return $chosen_attributes;
224
  }
225
 
226
+ /**
227
+ * Support to ultimate members functions
228
+ *
229
+ * The method set_predefined_fields call a WP_Query that generate
230
+ * an issue with shop filtered query. Move this step to init with priority 2
231
+ * instead of 1
232
+ *
233
+ * @author Andrea Grillo <andrea.grillo@yithemes.com>
234
+ * @since 3.0.9
235
+ * @return void
236
+ */
237
+ public function ultimate_member_support(){
238
+ global $ultimatemember;
239
+ if( $ultimatemember ){
240
+ remove_action('init', array($ultimatemember->builtin, 'set_predefined_fields'), 1);
241
+ add_action('init', array($ultimatemember->builtin, 'set_predefined_fields'), 2);
242
+ }
243
+ }
244
+
245
  }
246
  }
modules/yith-woocommerce-ajax-navigation/includes/functions.yith-wcan.php CHANGED
@@ -46,7 +46,7 @@ function yith_wcan_dropdown_attributes( $selected, $echo = true ) {
46
  function yith_wcan_attributes_table( $type, $attribute, $id, $name, $values = array(), $echo = true ) {
47
  $return = '';
48
 
49
- $terms = get_terms( 'pa_' . $attribute, array( 'hide_empty' => '0' ) );
50
 
51
  if ( 'list' == $type ) {
52
  $return = '<input type="hidden" name="' . $name . '[colors]" value="" /><input type="hidden" name="' . $name . '[labels]" value="" />';
@@ -252,11 +252,11 @@ if ( ! function_exists( 'yit_get_terms' ) ) {
252
  switch ( $case ) {
253
 
254
  case 'all':
255
- $terms = get_terms( $taxonomy, array( 'hide_empty' => true, 'exclude' => $exclude ) );
256
  break;
257
 
258
  case 'hierarchical':
259
- $terms = get_terms( $taxonomy, array( 'hide_empty' => true, 'exclude' => $exclude ) );
260
  if( ! in_array( $instance['type'], apply_filters( 'yith_wcan_display_type_list', array( 'list' ) ) ) ) {
261
  $terms = yit_reorder_terms_by_parent( $terms, $taxonomy );
262
  $reordered = true;
@@ -264,16 +264,16 @@ if ( ! function_exists( 'yit_get_terms' ) ) {
264
  break;
265
 
266
  case 'parent' :
267
- $terms = get_terms( $taxonomy, array( 'hide_empty' => true, 'parent' => false, 'exclude' => $exclude ) );
268
  break;
269
 
270
  default:
271
- $args = array( 'hide_empty' => true, 'exclude' => $exclude, 'include' => $include );
272
  if ( 'parent' == $instance['display'] ) {
273
  $args['parent'] = false;
274
  }
275
 
276
- $terms = get_terms( $taxonomy, $args );
277
 
278
  if ( 'hierarchical' == $instance['display'] ) {
279
  if( ! in_array( $instance['type'], apply_filters( 'yith_wcan_display_type_list', array( 'list' ) ) ) ) {
@@ -336,12 +336,12 @@ if ( ! function_exists( 'yit_term_has_child' ) ) {
336
  */
337
  function yit_term_has_child( $term, $taxonomy ) {
338
  $count = 0;
339
- $child_terms = get_terms( $taxonomy, array( 'child_of' => $term->term_id ) );
340
 
341
  if( ! is_wp_error( $child_terms ) ){
342
  foreach ( $child_terms as $child_term ) {
343
  $_products_in_term = get_objects_in_term( $child_term->term_id, $taxonomy );
344
- $count += sizeof( array_intersect( $_products_in_term, YITH_WCAN()->frontend->filtered_product_ids ) );
345
  }
346
  }
347
 
@@ -488,16 +488,17 @@ if ( ! function_exists( 'yit_get_woocommerce_layered_nav_link' ) ) {
488
  }
489
 
490
  else {
491
- $taxonomy = get_query_var( 'taxonomy' );
 
 
492
  $brands_taxonomy = yit_get_brands_taxonomy();
493
 
494
  if( ! empty( $brands_taxonomy ) && $brands_taxonomy == $taxonomy ){
495
- $return = add_query_arg( array( $taxonomy => get_query_var( 'term' ) ), get_post_type_archive_link( 'product' ) );
496
  }
497
 
498
  else {
499
- $term = get_query_var( 'term' );
500
- $return = get_term_link( yith_wcan_is_product_attribute() && is_numeric( $term ) ? intval( $term ) : $term, $taxonomy );
501
  }
502
 
503
  return apply_filters( 'yith_wcan_untrailingslashit', true ) && is_string( $return ) ? untrailingslashit( $return ) : $return;
@@ -599,12 +600,12 @@ if( ! function_exists( 'yit_reorder_hierachical_categories' ) ) {
599
  * @author Andrea Grillo <andrea.grillo@yithemes.com>
600
  */
601
  function yit_reorder_hierachical_categories( $parent_term_id, $taxonomy = 'product_cat' ) {
602
- $childs = get_terms(
603
- $taxonomy,
604
  array(
605
- 'parent' => $parent_term_id,
606
- 'hierarchical' => true,
607
- 'hide_empty' => false
 
608
  )
609
  );
610
 
@@ -700,4 +701,25 @@ if( !function_exists( 'yith_wcan_is_product_attribute' ) ) {
700
  function yith_wcan_is_product_attribute( $attribute = '' ) {
701
  return preg_match( '/pa_' . $attribute . '.*/', get_query_var( 'taxonomy' ) );
702
  }
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
703
  }
46
  function yith_wcan_attributes_table( $type, $attribute, $id, $name, $values = array(), $echo = true ) {
47
  $return = '';
48
 
49
+ $terms = get_terms( array( 'taxonomy' => 'pa_' . $attribute, 'hide_empty' => '0' ) );
50
 
51
  if ( 'list' == $type ) {
52
  $return = '<input type="hidden" name="' . $name . '[colors]" value="" /><input type="hidden" name="' . $name . '[labels]" value="" />';
252
  switch ( $case ) {
253
 
254
  case 'all':
255
+ $terms = yith_wcan_wp_get_terms( array( 'taxonomy' => $taxonomy, 'hide_empty' => true, 'exclude' => $exclude ) );
256
  break;
257
 
258
  case 'hierarchical':
259
+ $terms = yith_wcan_wp_get_terms( array( 'taxonomy' => $taxonomy, 'hide_empty' => true, 'exclude' => $exclude ) );
260
  if( ! in_array( $instance['type'], apply_filters( 'yith_wcan_display_type_list', array( 'list' ) ) ) ) {
261
  $terms = yit_reorder_terms_by_parent( $terms, $taxonomy );
262
  $reordered = true;
264
  break;
265
 
266
  case 'parent' :
267
+ $terms = yith_wcan_wp_get_terms( array( 'taxonomy' => $taxonomy, 'hide_empty' => true, 'parent' => false, 'exclude' => $exclude ) );
268
  break;
269
 
270
  default:
271
+ $args = array( 'taxonomy' => $taxonomy, 'hide_empty' => true, 'exclude' => $exclude, 'include' => $include );
272
  if ( 'parent' == $instance['display'] ) {
273
  $args['parent'] = false;
274
  }
275
 
276
+ $terms = yith_wcan_wp_get_terms( $args );
277
 
278
  if ( 'hierarchical' == $instance['display'] ) {
279
  if( ! in_array( $instance['type'], apply_filters( 'yith_wcan_display_type_list', array( 'list' ) ) ) ) {
336
  */
337
  function yit_term_has_child( $term, $taxonomy ) {
338
  $count = 0;
339
+ $child_terms = yith_wcan_wp_get_terms( array( 'taxonomy' => $taxonomy, 'child_of' => $term->term_id ) );
340
 
341
  if( ! is_wp_error( $child_terms ) ){
342
  foreach ( $child_terms as $child_term ) {
343
  $_products_in_term = get_objects_in_term( $child_term->term_id, $taxonomy );
344
+ $count += sizeof( array_intersect( $_products_in_term, YITH_WCAN()->frontend->layered_nav_product_ids ) );
345
  }
346
  }
347
 
488
  }
489
 
490
  else {
491
+ $queried_object = get_queried_object();
492
+ $taxonomy = $queried_object instanceof WP_Term ? $queried_object->taxonomy : get_query_var( 'taxonomy' );
493
+ $term = $queried_object instanceof WP_Term ? $queried_object : get_query_var( 'term' );
494
  $brands_taxonomy = yit_get_brands_taxonomy();
495
 
496
  if( ! empty( $brands_taxonomy ) && $brands_taxonomy == $taxonomy ){
497
+ $return = add_query_arg( array( $taxonomy => $term ), get_post_type_archive_link( 'product' ) );
498
  }
499
 
500
  else {
501
+ $return = get_term_link( yith_wcan_is_product_attribute() && is_numeric( $term ) ? intval( $term ) : $term, $taxonomy );
 
502
  }
503
 
504
  return apply_filters( 'yith_wcan_untrailingslashit', true ) && is_string( $return ) ? untrailingslashit( $return ) : $return;
600
  * @author Andrea Grillo <andrea.grillo@yithemes.com>
601
  */
602
  function yit_reorder_hierachical_categories( $parent_term_id, $taxonomy = 'product_cat' ) {
603
+ $childs = yith_wcan_wp_get_terms(
 
604
  array(
605
+ 'taxonomy' => $taxonomy,
606
+ 'parent' => $parent_term_id,
607
+ 'hierarchical' => true,
608
+ 'hide_empty' => false
609
  )
610
  );
611
 
701
  function yith_wcan_is_product_attribute( $attribute = '' ) {
702
  return preg_match( '/pa_' . $attribute . '.*/', get_query_var( 'taxonomy' ) );
703
  }
704
+ }
705
+
706
+ if( ! function_exists( 'yith_wcan_wp_get_terms' ) ) {
707
+ /**
708
+ * get_terms function support for old WordPress Version
709
+ *
710
+ * @param string $args
711
+ *
712
+ * @return bool
713
+ */
714
+ function yith_wcan_wp_get_terms( $args ) {
715
+ global $wp_version;
716
+
717
+ if( version_compare( $wp_version, '4.6', '<' ) ){
718
+ return get_terms( $args['taxonomy'], $args );
719
+ }
720
+
721
+ else {
722
+ return get_terms( $args );
723
+ }
724
+ }
725
  }
modules/yith-woocommerce-ajax-navigation/init.php CHANGED
@@ -3,7 +3,7 @@
3
  * Plugin Name: YITH WooCommerce Ajax Product Filter
4
  * Plugin URI: http://yithemes.com/
5
  * Description: YITH WooCommerce Ajax Product Filter offers the perfect way to filter all the products of your shop.
6
- * Version: 3.0.6
7
  * Author: YITHEMES
8
  * Author URI: http://yithemes.com/
9
  * Text Domain: yith-woocommerce-ajax-navigation
@@ -64,7 +64,7 @@ load_plugin_textdomain( 'yith-woocommerce-ajax-navigation', false, dirname( plug
64
  ! defined( 'YITH_WCAN' ) && define( 'YITH_WCAN', true );
65
  ! defined( 'YITH_WCAN_URL' ) && define( 'YITH_WCAN_URL', plugin_dir_url( __FILE__ ) );
66
  ! defined( 'YITH_WCAN_DIR' ) && define( 'YITH_WCAN_DIR', plugin_dir_path( __FILE__ ) );
67
- ! defined( 'YITH_WCAN_VERSION' ) && define( 'YITH_WCAN_VERSION', '3.0.6' );
68
  ! defined( 'YITH_WCAN_FREE_INIT') && define( 'YITH_WCAN_FREE_INIT', plugin_basename( __FILE__ ) );
69
  ! defined( 'YITH_WCAN_FILE' ) && define( 'YITH_WCAN_FILE', __FILE__ );
70
 
3
  * Plugin Name: YITH WooCommerce Ajax Product Filter
4
  * Plugin URI: http://yithemes.com/
5
  * Description: YITH WooCommerce Ajax Product Filter offers the perfect way to filter all the products of your shop.
6
+ * Version: 3.0.9
7
  * Author: YITHEMES
8
  * Author URI: http://yithemes.com/
9
  * Text Domain: yith-woocommerce-ajax-navigation
64
  ! defined( 'YITH_WCAN' ) && define( 'YITH_WCAN', true );
65
  ! defined( 'YITH_WCAN_URL' ) && define( 'YITH_WCAN_URL', plugin_dir_url( __FILE__ ) );
66
  ! defined( 'YITH_WCAN_DIR' ) && define( 'YITH_WCAN_DIR', plugin_dir_path( __FILE__ ) );
67
+ ! defined( 'YITH_WCAN_VERSION' ) && define( 'YITH_WCAN_VERSION', '3.0.9' );
68
  ! defined( 'YITH_WCAN_FREE_INIT') && define( 'YITH_WCAN_FREE_INIT', plugin_basename( __FILE__ ) );
69
  ! defined( 'YITH_WCAN_FILE' ) && define( 'YITH_WCAN_FILE', __FILE__ );
70
 
modules/yith-woocommerce-ajax-navigation/widgets/class.yith-wcan-navigation-widget.php CHANGED
@@ -110,9 +110,9 @@ if ( ! class_exists( 'YITH_WCAN_Navigation_Widget' ) ) {
110
  }
111
 
112
  if ( in_array( $display_type, apply_filters( 'yith_wcan_display_type_list', array( 'list' ) ) ) ) {
113
- $ancestors = get_terms(
114
- $taxonomy,
115
  array(
 
116
  'parent' => 0,
117
  'hierarchical' => true,
118
  'hide_empty' => false,
@@ -824,7 +824,7 @@ if ( ! class_exists( 'YITH_WCAN_Navigation_Widget' ) ) {
824
  $attribute = $_POST['attribute'];
825
  $return = array( 'message' => '', 'content' => $_POST );
826
 
827
- $terms = get_terms( 'pa_' . $attribute, array( 'hide_empty' => '0' ) );
828
 
829
  $settings = $this->get_settings();
830
  $widget_settings = $settings[ $this->number ];
@@ -859,7 +859,8 @@ if ( ! class_exists( 'YITH_WCAN_Navigation_Widget' ) ) {
859
 
860
  public function get_list_html( $terms, $taxonomy, $query_type, $display_type, $instance, $terms_type_list, $current_term, $args, $is_child_class, $is_parent_class, $is_chosen_class, $level = 0, $filter_term_field = 'slug' ){
861
  $_chosen_attributes = YITH_WCAN()->get_layered_nav_chosen_attributes();
862
- $in_array_function = apply_filters( 'yith_wcan_in_array_ignor_case', false ) ? 'yit_in_array_ignore_case' : 'in_array';
 
863
  foreach ( $terms as $parent_id => $term_ids ) {
864
  $term = get_term_by( 'id', $parent_id, $taxonomy );
865
 
@@ -936,7 +937,7 @@ if ( ! class_exists( 'YITH_WCAN_Navigation_Widget' ) ) {
936
  if ($name !== $taxonomy) {
937
 
938
  // Exclude query arg for current term archive
939
- while ($in_array_function($term->slug, $data['terms'])) {
940
  $key = array_search($current_term, $data);
941
  unset($data['terms'][$key]);
942
  }
110
  }
111
 
112
  if ( in_array( $display_type, apply_filters( 'yith_wcan_display_type_list', array( 'list' ) ) ) ) {
113
+ $ancestors = yith_wcan_wp_get_terms(
 
114
  array(
115
+ 'taxonomy' => $taxonomy,
116
  'parent' => 0,
117
  'hierarchical' => true,
118
  'hide_empty' => false,
824
  $attribute = $_POST['attribute'];
825
  $return = array( 'message' => '', 'content' => $_POST );
826
 
827
+ $terms = yith_wcan_wp_get_terms( array( 'taxonomy' => 'pa_' . $attribute, 'hide_empty' => '0' ) );
828
 
829
  $settings = $this->get_settings();
830
  $widget_settings = $settings[ $this->number ];
859
 
860
  public function get_list_html( $terms, $taxonomy, $query_type, $display_type, $instance, $terms_type_list, $current_term, $args, $is_child_class, $is_parent_class, $is_chosen_class, $level = 0, $filter_term_field = 'slug' ){
861
  $_chosen_attributes = YITH_WCAN()->get_layered_nav_chosen_attributes();
862
+ $in_array_function = apply_filters( 'yith_wcan_in_array_ignor_case', false ) ? 'yit_in_array_ignore_case' : 'in_array';
863
+ $terms = apply_filters( 'yith_wcan_get_list_html_terms', $terms, $taxonomy, $instance );
864
  foreach ( $terms as $parent_id => $term_ids ) {
865
  $term = get_term_by( 'id', $parent_id, $taxonomy );
866
 
937
  if ($name !== $taxonomy) {
938
 
939
  // Exclude query arg for current term archive
940
+ if ($in_array_function($term->slug, $data['terms'])) {
941
  $key = array_search($current_term, $data);
942
  unset($data['terms'][$key]);
943
  }
modules/yith-woocommerce-authorizenet-payment-gateway/includes/class.yith-wcauthnet-credit-card-gateway.php CHANGED
@@ -103,6 +103,7 @@ if( ! class_exists( 'YITH_WCAUTHNET_Credit_Card_Gateway' ) ){
103
  $this->sandbox = $this->get_option( 'sandbox' );
104
  $this->transaction_type = $this->get_option( 'transaction_type' );
105
  $this->debug = $this->get_option( 'debug' );
 
106
 
107
  // Logs
108
  if ( 'yes' == $this->debug ) {
@@ -125,6 +126,22 @@ if( ! class_exists( 'YITH_WCAUTHNET_Credit_Card_Gateway' ) ){
125
  add_action( 'admin_notices', array( $this, 'admin_notices' ) );
126
  }
127
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
128
  /**
129
  * Initialize options field for payment gateway
130
  *
103
  $this->sandbox = $this->get_option( 'sandbox' );
104
  $this->transaction_type = $this->get_option( 'transaction_type' );
105
  $this->debug = $this->get_option( 'debug' );
106
+ $this->has_fields = false;
107
 
108
  // Logs
109
  if ( 'yes' == $this->debug ) {
126
  add_action( 'admin_notices', array( $this, 'admin_notices' ) );
127
  }
128
 
129
+ /**
130
+ * Print payment method fields (if any)
131
+ *
132
+ * @return void
133
+ * @since 1.0.10
134
+ */
135
+ public function payment_fields() {
136
+ if ( $description = $this->get_description() ) {
137
+ echo wpautop( wptexturize( $description ) );
138
+ }
139
+
140
+ if ( $this->has_fields() ) {
141
+ parent::payment_fields();
142
+ }
143
+ }
144
+
145
  /**
146
  * Initialize options field for payment gateway
147
  *
modules/yith-woocommerce-authorizenet-payment-gateway/init.php CHANGED
@@ -3,7 +3,7 @@
3
  * Plugin Name: YITH WooCommerce Authorize.net Payment Gateway
4
  * Plugin URI: http://yithemes.com/themes/plugins/yith-woocommerce-authorize-net/
5
  * Description: YITH WooCommerce Authorize.net allows you to add Authorize.net payment gateway to WooCommerce
6
- * Version: 1.0.9
7
  * Author: Yithemes
8
  * Author URI: http://yithemes.com/
9
  * Text Domain: yith-wcauthnet
@@ -45,7 +45,7 @@ if ( ! defined( 'YITH_WCAUTHNET' ) ) {
45
  }
46
 
47
  if( ! defined( 'YITH_WCAUTHNET_VERSION' ) ){
48
- define( 'YITH_WCAUTHNET_VERSION', '1.0.9' );
49
  }
50
 
51
  if ( ! defined( 'YITH_WCAUTHNET_URL' ) ) {
3
  * Plugin Name: YITH WooCommerce Authorize.net Payment Gateway
4
  * Plugin URI: http://yithemes.com/themes/plugins/yith-woocommerce-authorize-net/
5
  * Description: YITH WooCommerce Authorize.net allows you to add Authorize.net payment gateway to WooCommerce
6
+ * Version: 1.0.10
7
  * Author: Yithemes
8
  * Author URI: http://yithemes.com/
9
  * Text Domain: yith-wcauthnet
45
  }
46
 
47
  if( ! defined( 'YITH_WCAUTHNET_VERSION' ) ){
48
+ define( 'YITH_WCAUTHNET_VERSION', '1.0.10' );
49
  }
50
 
51
  if ( ! defined( 'YITH_WCAUTHNET_URL' ) ) {
modules/yith-woocommerce-colors-labels-variations/class.yith-wccl-admin.php CHANGED
@@ -28,27 +28,6 @@ if( !class_exists( 'YITH_WCCL_Admin' ) ) {
28
  public $videotutorial_360_url = 'http://player.vimeo.com/external/81998290.sd.mp4?s=fefd139405de59b562007645d4b03e08';
29
  public $videotutorial_1080_url = 'http://player.vimeo.com/external/81998290.hd.mp4?s=2cd578463c2771ecc30c036217b86691';
30
 
31
- /**
32
- * Docs url
33
- *
34
- * @var string Official documentation url
35
- * @since 1.2.4
36
- */
37
- public $doc_url = 'http://yithemes.com/docs-plugins/yith-woocommerce-color-label-variations/';
38
-
39
- /**
40
- * Premium landing url
41
- *
42
- * @var string Premium landing url
43
- * @since 1.2.4
44
- */
45
- public $premium_landing_url = 'http://yithemes.com/themes/plugins/yith-woocommerce-color-and-label-variations';
46
-
47
- /**
48
- * @var string Quick View panel page
49
- */
50
- protected $_panel_page = 'yith_ywcl_panel';
51
-
52
  /**
53
  * Constructor
54
  *
@@ -80,11 +59,6 @@ if( !class_exists( 'YITH_WCCL_Admin' ) ) {
80
  //Add videotutorials link
81
  add_filter( 'plugin_action_links_' . plugin_basename( dirname(__FILE__) . '/init.php' ), array( $this, 'action_links' ) );
82
 
83
- //Add YITH Plugin Panel
84
- add_action( 'admin_menu', array( $this, 'register_panel' ),5 );
85
- //Add premium tab
86
- add_action( 'ywcl_premium_tab', array( $this, 'print_premium_tab' ) );
87
-
88
  // YITH WCCL Loaded
89
  do_action( 'yith_wccl_loaded' );
90
 
@@ -342,67 +316,5 @@ if( !class_exists( 'YITH_WCCL_Admin' ) ) {
342
  <?php
343
  }
344
  }
345
-
346
-
347
- /**
348
- * Register YITH Pnale
349
- *
350
- * @since 1.2.4
351
- * @author Alessio Torrisi <alessio.torrisi@yithemes.com>
352
- * @return void
353
- */
354
- public function register_panel() {
355
-
356
- if ( !empty( $this->_panel ) ) {
357
- return;
358
- }
359
-
360
- $admin_tabs = array(
361
- 'premium' => __( 'Premium Version', 'ywcl' ),
362
- );
363
-
364
- $args = array(
365
- 'create_menu_page' => true,
366
- 'parent_slug' => '',
367
- 'page_title' => _x( 'Color and Label Variations', 'plugin name in admin page title', 'ywcl' ),
368
- 'menu_title' => _x( 'Color and Label Variations', 'plugin name in admin WP menu', 'ywcl' ),
369
- 'capability' => 'manage_options',
370
- 'parent' => '',
371
- 'parent_page' => 'yit_plugin_panel',
372
- 'page' => $this->_panel_page,
373
- 'admin-tabs' => $admin_tabs,
374
- 'options-path' => YITH_WCCL_DIR . '/plugin-options'
375
- );
376
-
377
- /* === Fixed: not updated theme === */
378
- if ( !class_exists( 'YIT_Plugin_Panel_WooCommerce' ) ) {
379
- require_once( 'plugin-fw/lib/yit-plugin-panel-wc.php' );
380
- }
381
-
382
- $this->_panel = new YIT_Plugin_Panel_WooCommerce( $args );
383
- }
384
-
385
- /**
386
- * Prints premium tab
387
- *
388
- * @since 1.2.4
389
- * @author Alessio Torrisi <alessio.torrisi@yithemes.com>
390
- * @return void
391
- */
392
- public function print_premium_tab() {
393
- include( YITH_WCCL_DIR . '/templates/admin/premium.php' );
394
- }
395
-
396
- /**
397
- * Get the premium landing uri
398
- *
399
- * @since 1.2.4
400
- * @author Alessio Torrisi <alessio.torrisi@yithemes.com>
401
- * @return string The premium landing link
402
- */
403
- public function get_premium_landing_uri(){
404
- return defined( 'YITH_REFER_ID' ) ? $this->premium_landing_url . '?refer_id=' . YITH_REFER_ID : $this->premium_landing_url .'?refer_id=1030585';
405
- }
406
-
407
  }
408
  }
28
  public $videotutorial_360_url = 'http://player.vimeo.com/external/81998290.sd.mp4?s=fefd139405de59b562007645d4b03e08';
29
  public $videotutorial_1080_url = 'http://player.vimeo.com/external/81998290.hd.mp4?s=2cd578463c2771ecc30c036217b86691';
30
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
31
  /**
32
  * Constructor
33
  *
59
  //Add videotutorials link
60
  add_filter( 'plugin_action_links_' . plugin_basename( dirname(__FILE__) . '/init.php' ), array( $this, 'action_links' ) );
61
 
 
 
 
 
 
62
  // YITH WCCL Loaded
63
  do_action( 'yith_wccl_loaded' );
64
 
316
  <?php
317
  }
318
  }
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
319
  }
320
  }
modules/yith-woocommerce-product-add-ons/assets/js/yith-wapo-frontend.js CHANGED
@@ -232,7 +232,7 @@ jQuery(document).ready( function($) {
232
  $(this).on( 'yith-wapo-product-option-conditional', function( e , data ) {
233
  'use strict';
234
 
235
- var current_group_container = $(data.closest('.ywapo_group_container'));
236
 
237
  doConditionaLoop( $(this) , data , current_group_container );
238
 
232
  $(this).on( 'yith-wapo-product-option-conditional', function( e , data ) {
233
  'use strict';
234
 
235
+ var current_group_container = $(data).closest('.ywapo_group_container');
236
 
237
  doConditionaLoop( $(this) , data , current_group_container );
238
 
modules/yith-woocommerce-product-add-ons/assets/js/yith-wapo-frontend.min.js CHANGED
@@ -1 +1 @@
1
- jQuery(document).ready(function(t){"use strict";function i(){"use strcit";t("body").find("form:not(.in_loop).cart").each(function(){t(this).init_yith_wapo_totals(),t(this).find(".variations select").change()}),t("body").find(".ywapo_option_description").each(function(){var i=t(this).data("tooltip");i&&a(t(this),i)}),t(".ywapo_input_container_color .wp-color-picker").wpColorPicker({change:function(i,a){var e=t(this).closest(".ywapo_input_container_color"),n=e.find("input.ywapo_input_color");n.val(a.color.toString()),n.change()},clear:function(){var i=t(this).closest(".ywapo_input_container_color"),a=i.find("input.ywapo_input_color");a.val(""),a.change()}}),t(".ywapo_datepicker").each(function(){t(this).datepicker()})}function a(i,a){"use strcit";var e=t('<span class="yith_wccl_tooltip"></span>'),n=yith_wapo_general.tooltip_pos+" "+yith_wapo_general.tooltip_ani;e.addClass(n),i.append(e.html("<span>"+a+"</span>"))}return"undefined"==typeof yith_wapo_general?!1:(t.fn.init_yith_wapo_totals=function(){function i(i){"use strcit";var a=t(".yith_wapo_groups_container");if("undefined"!=typeof a){var o=a.find("input.ywapo_input.ywapo_price_percentage, select.ywapo_input option.ywapo_price_percentage, textarea.ywapo_input.ywapo_price_percentage"),r=0;o.each(function(){var p=t(this);if("undefined"!=typeof p.data("pricetype")&&"fixed"!=p.data("pricetype")){var c=p.closest(".ywapo_input_container");t.ajax({url:yith_wapo_general.wc_ajax_url.toString().replace("%%endpoint%%","yith_wapo_update_variation_price"),type:"POST",data:{variation_id:i.variation_id,variation_price:i.display_price,type_id:p.data("typeid"),option_index:p.data("index")},beforeSend:function(){0==r&&e(a)},success:function(i){if(!i.error&&""!=i){p.attr("data-price",i);var e=_(parseFloat(i));if(c.find("span.amount").html(e),""!=p.text()){var s=p.text().split("+");if(s.length>0){s=s[0]+" + "+e,p.addClass("ywapo_option_price_chaged");var d=p.closest(".ywapo_group_container"),u=d.find("select"),l=u.attr("sb");if("undefined"!=typeof l){var h=p.data("index"),f=t(t("#sbOptions_"+l).find("li").get(parseInt(h)+1)).find("a");f.html(s)}}p.html(s)}r++,r==o.length&&n(a)}}})}})}}function a(i){var a=!0;return i.find(".ywapo_group_container").each(function(){var i=t(this);if("undefined"!=typeof i&&!i.hasClass("ywapo_conditional_hidden")){var e=i.data("type"),n="1"==i.data("requested"),o=!0;switch(e){case"text":case"textarea":case"number":case"file":case"date":case"range":i.find("input.ywapo_input, textarea.ywapo_input").each(function(){return""==t(this).val()&&"required"==t(this).attr("required")?(n=!0,void(o=!1)):""==t(this).val()?void(o=!1):void 0});break;case"color":i.find("input.ywapo_input_color").each(function(){return""==t(this).val()?void(o=!1):void 0});break;case"select":o=""!=i.find("select.ywapo_input").val();break;case"labels":o=i.find(".ywapo_input_container_labels.ywapo_selected").length>0;break;case"checkbox":if(n){var r=i.find(".ywapo_input").length,p=i.find(".ywapo_input:checked").length;o=r>0&&r==p}else i.find(".ywapo_input").each(function(){return t(this).is(":checked")||"required"!=t(this).attr("required")?void 0:(n=!0,void(o=!1))});break;case"radio":o=!1,i.find("input.ywapo_input").each(function(){return t(this).is(":checked")?void(o=!0):void 0})}if(n&&!o)return a=!1,void i.addClass("ywapo_miss_required");i.removeClass("ywapo_miss_required")}}),a||t("html, body").animate({scrollTop:t("#yith_wapo_groups_container").offset().top},2e3),a}function e(t){"use strcit";t.block({message:"",overlayCSS:{backgroundColor:"#fff",opacity:.6,cursor:"wait"}})}function n(t){"use strcit";t.unblock()}function o(i,a){var e=a.data("type"),n=!1;if("select"==e||"radio"==e)n=""!=i.val()?!0:!1;else switch(e){case"checkbox":a.find('input[type="checkbox"].ywapo_input').each(function(){return t(this).is(":checked")?void(n=!0):void 0});break;case"labels":var o=0;a.find('input[type="hidden"].ywapo_input').each(function(){return""!=t(this).val()?(o++,!0):void 0}),n=o>0;break;case"text":case"textarea":case"number":case"file":case"color":case"date":case"range":a.find("input.ywapo_input").each(function(){return""!=t(this).val()?void(n=!0):void 0});break;case"textarea":a.find("textarea.ywapo_input").each(function(){return""!=t(this).val()?void(n=!0):void 0})}return n&&a.removeClass("ywapo_miss_required"),n}function r(i,a,e){"use strcit";var n=e.data("id");if("undefined"!=typeof n){var r=o(t(a),e);i.find(".ywapo_group_container").each(function(){var i=t(this).closest(".ywapo_group_container");if("undefined"!=typeof i){var a=i.data("id");if(n!=a){var e=i.data("condition");if(""!=e){e=e.toString().split(",");var o=s(e);if(o){if(!i.hasClass("ywapo_conditional_hidden"))return i.addClass("ywapo_conditional_hidden"),c(i),!0}else{var d=t.inArray(n.toString(),e);0==d&&(r?(i.removeClass("ywapo_conditional_hidden"),p(i)):(i.addClass("ywapo_conditional_hidden"),c(i)))}}}}})}}function p(i){"use strcit";i.find("input, select, textarea").each(function(){t(this).removeAttr("disabled"),t(this).change()})}function c(i){"use strcit";i.find("input, select, textarea").each(function(){t(this).attr("disabled","disabled")})}function s(i){var a=!1;return t(".yith_wapo_groups_container").find(".ywapo_group_container").each(function(){var e=t(this).data("id");return 0==t.inArray(e.toString(),i)&&t(this).hasClass("ywapo_conditional_hidden")?void(a=!0):void 0}),a}function d(i){var a=0;return i.find('.ywapo_input:checked, select.ywapo_input option:selected, input[type="text"].ywapo_input, input[type="number"].ywapo_input, input[type="file"].ywapo_input, input[type="color"].ywapo_input, input[type="date"].ywapo_input,input[type="hidden"].ywapo_input ,textarea.ywapo_input').each(function(){var i=t(this).closest(".ywapo_group_container");if("undefined"!=typeof i&&!i.hasClass("ywapo_conditional_hidden")){var e=i.data("type"),n=!1;switch(e){case"text":case"textarea":case"number":case"file":case"color":case"date":case"labels":""!=t(this).val().trim()&&(n=!0);break;default:n=!0}if(n){var o=t(this).data("price");"undefined"!=typeof o&&o>=0&&(a+=parseFloat(o))}}}),a}function _(t){var i=accounting.formatMoney(t,{symbol:yith_wapo_general.currency_format_symbol,decimal:yith_wapo_general.currency_format_decimal_sep,thousand:yith_wapo_general.currency_format_thousand_sep,precision:yith_wapo_general.currency_format_num_decimals,format:yith_wapo_general.currency_format});return i}t(this).on("change",".yith_wapo_groups_container input, .yith_wapo_groups_container select, .yith_wapo_groups_container textarea, input.qty",function(i){var a=t(this);t(this).trigger("yith-wapo-product-option-conditional",a),t(this).trigger("yith-wapo-product-option-update")}),t(this).on("found_variation",function(a,e){var n=(t(this),t(".yith_wapo_group_total")),o=0;if("undefined"!=typeof e.display_price)o=e.display_price;else if(t(e.price_html).find(".amount:last").size()){t(".cart");o=t(e.price_html).find(".amount:last").text(),o=_(o)}n.data("product-price",o),i(e),t(this).trigger("yith-wapo-product-option-update")}),t(this).on("yith-wapo-product-option-update",function(){var i=t(this),a=t(".yith_wapo_group_total"),e=d(i);if(e>0){if(i.find("input.qty").size())var n=parseFloat(i.find("input.qty").val());else var n=1;e*=n;var o=t(".yith-wcpb-product-bundled-items"),r=i.find(".single_variation");"undefined"!=typeof r&&0==o.length&&r.after(a);var p=_(e),c=0,a=t(".yith_wapo_group_total"),s=parseFloat(a.data("product-price")),u=a.find(".yith_wapo_group_option_total span.price"),l=a.find(".yith_wapo_group_final_total span.price");u.html(p),c=s*n+e;var h=_(c);l.html(h),a.fadeIn()}else a.fadeOut()}),t(this).on("click",".ywapo_input_container.ywapo_input_container_labels",function(i){var a=t(this).find('input[type="hidden"]');if(""!=a.val())a.val(""),t(this).removeClass("ywapo_selected");else{var e=t(".ywapo_input_container.ywapo_input_container_labels");e.removeClass("ywapo_selected"),e.find('input[type="hidden"]').val(""),t(this).addClass("ywapo_selected"),a.val(a.data("index"))}t(this).trigger("yith-wapo-product-option-conditional",a),t(this).trigger("yith-wapo-product-option-update")}),t(this).on("yith-wapo-product-option-conditional",function(i,a){var e=t(a.closest(".ywapo_group_container"));r(t(this),a,e)}),t(this).on("click",".single_add_to_cart_button",function(i){var e=t(this).closest("form.cart");return yith_wapo_general.do_submit=a(e),yith_wapo_general.do_submit}),t(document).on("yith_ywraq_action_before",function(){return u=t("form.cart"),yith_wapo_general.do_submit=a(u),yith_wapo_general.do_submit});var u=t(this);u.find(".yith_wapo_groups_container input, .yith_wapo_groups_container select, .yith_wapo_groups_container textarea").each(function(){u.trigger("yith-wapo-product-option-conditional",t(this))}),u.trigger("yith-wapo-product-option-update")},i(),void t(document).on("qv_loader_stop yit_quick_view_loaded",function(){i()}))});
1
+ jQuery(document).ready(function(a){"use strict";function b(){"use strcit";a("body").find("form:not(.in_loop).cart").each(function(){a(this).init_yith_wapo_totals(),a(this).find(".variations select").change()}),a("body").find(".ywapo_option_description").each(function(){var b=a(this).data("tooltip");b&&c(a(this),b)}),a(".ywapo_input_container_color .wp-color-picker").wpColorPicker({change:function(b,c){var d=a(this).closest(".ywapo_input_container_color"),e=d.find("input.ywapo_input_color");e.val(c.color.toString()),e.change()},clear:function(){var b=a(this).closest(".ywapo_input_container_color"),c=b.find("input.ywapo_input_color");c.val(""),c.change()}}),a(".ywapo_datepicker").each(function(){a(this).datepicker()})}function c(b,c){"use strcit";var d=a('<span class="yith_wccl_tooltip"></span>'),e=yith_wapo_general.tooltip_pos+" "+yith_wapo_general.tooltip_ani;d.addClass(e),b.append(d.html("<span>"+c+"</span>"))}return"undefined"!=typeof yith_wapo_general&&(a.fn.init_yith_wapo_totals=function(){function b(b){"use strcit";var c=a(".yith_wapo_groups_container");if("undefined"!=typeof c){var f=c.find("input.ywapo_input.ywapo_price_percentage, select.ywapo_input option.ywapo_price_percentage, textarea.ywapo_input.ywapo_price_percentage"),g=0;f.each(function(){var h=a(this);if("undefined"!=typeof h.data("pricetype")&&"fixed"!=h.data("pricetype")){var i=h.closest(".ywapo_input_container");a.ajax({url:yith_wapo_general.wc_ajax_url.toString().replace("%%endpoint%%","yith_wapo_update_variation_price"),type:"POST",data:{variation_id:b.variation_id,variation_price:b.display_price,type_id:h.data("typeid"),option_index:h.data("index")},beforeSend:function(){0==g&&d(c)},success:function(b){if(!b.error&&""!=b){h.attr("data-price",b);var d=l(parseFloat(b));if(i.find("span.amount").html(d),""!=h.text()){var j=h.text().split("+");if(j.length>0){j=j[0]+" + "+d,h.addClass("ywapo_option_price_chaged");var k=h.closest(".ywapo_group_container"),m=k.find("select"),n=m.attr("sb");if("undefined"!=typeof n){var o=h.data("index"),p=a(a("#sbOptions_"+n).find("li").get(parseInt(o)+1)).find("a");p.html(j)}}h.html(j)}g++,g==f.length&&e(c)}}})}})}}function c(b){var c=!0;return b.find(".ywapo_group_container").each(function(){var b=a(this);if("undefined"!=typeof b&&!b.hasClass("ywapo_conditional_hidden")){var d=b.data("type"),e="1"==b.data("requested"),f=!0;switch(d){case"text":case"textarea":case"number":case"file":case"date":case"range":b.find("input.ywapo_input, textarea.ywapo_input").each(function(){return""==a(this).val()&&"required"==a(this).attr("required")?(e=!0,void(f=!1)):""==a(this).val()?void(f=!1):void 0});break;case"color":b.find("input.ywapo_input_color").each(function(){if(""==a(this).val())return void(f=!1)});break;case"select":f=""!=b.find("select.ywapo_input").val();break;case"labels":f=b.find(".ywapo_input_container_labels.ywapo_selected").length>0;break;case"checkbox":if(e){var g=b.find(".ywapo_input").length,h=b.find(".ywapo_input:checked").length;f=g>0&&g==h}else b.find(".ywapo_input").each(function(){if(!a(this).is(":checked")&&"required"==a(this).attr("required"))return e=!0,void(f=!1)});break;case"radio":f=!1,b.find("input.ywapo_input").each(function(){if(a(this).is(":checked"))return void(f=!0)})}if(e&&!f)return c=!1,void b.addClass("ywapo_miss_required");b.removeClass("ywapo_miss_required")}}),c||a("html, body").animate({scrollTop:a("#yith_wapo_groups_container").offset().top},2e3),c}function d(a){"use strcit";a.block({message:"",overlayCSS:{backgroundColor:"#fff",opacity:.6,cursor:"wait"}})}function e(a){"use strcit";a.unblock()}function f(b,c){var d=c.data("type"),e=!1;if("select"==d||"radio"==d)e=""!=b.val();else switch(d){case"checkbox":c.find('input[type="checkbox"].ywapo_input').each(function(){if(a(this).is(":checked"))return void(e=!0)});break;case"labels":var f=0;c.find('input[type="hidden"].ywapo_input').each(function(){if(""!=a(this).val())return f++,!0}),e=f>0;break;case"text":case"textarea":case"number":case"file":case"color":case"date":case"range":c.find("input.ywapo_input").each(function(){if(""!=a(this).val())return void(e=!0)});break;case"textarea":c.find("textarea.ywapo_input").each(function(){if(""!=a(this).val())return void(e=!0)})}return e&&c.removeClass("ywapo_miss_required"),e}function g(b,c,d){"use strcit";var e=d.data("id");if("undefined"!=typeof e){var g=f(a(c),d);b.find(".ywapo_group_container").each(function(){var b=a(this).closest(".ywapo_group_container");if("undefined"!=typeof b){var c=b.data("id");if(e!=c){var d=b.data("condition");if(""!=d){d=d.toString().split(",");var f=j(d);if(f){if(!b.hasClass("ywapo_conditional_hidden"))return b.addClass("ywapo_conditional_hidden"),i(b),!0}else{var k=a.inArray(e.toString(),d);0==k&&(g?(b.removeClass("ywapo_conditional_hidden"),h(b)):(b.addClass("ywapo_conditional_hidden"),i(b)))}}}}})}}function h(b){"use strcit";b.find("input, select, textarea").each(function(){a(this).removeAttr("disabled"),a(this).change()})}function i(b){"use strcit";b.find("input, select, textarea").each(function(){a(this).attr("disabled","disabled")})}function j(b){var c=!1;return a(".yith_wapo_groups_container").find(".ywapo_group_container").each(function(){var d=a(this).data("id");if(0==a.inArray(d.toString(),b)&&a(this).hasClass("ywapo_conditional_hidden"))return void(c=!0)}),c}function k(b){var c=0;return b.find('.ywapo_input:checked, select.ywapo_input option:selected, input[type="text"].ywapo_input, input[type="number"].ywapo_input, input[type="file"].ywapo_input, input[type="color"].ywapo_input, input[type="date"].ywapo_input,input[type="hidden"].ywapo_input ,textarea.ywapo_input').each(function(){var b=a(this).closest(".ywapo_group_container");if("undefined"!=typeof b&&!b.hasClass("ywapo_conditional_hidden")){var d=b.data("type"),e=!1;switch(d){case"text":case"textarea":case"number":case"file":case"color":case"date":case"labels":""!=a(this).val().trim()&&(e=!0);break;default:e=!0}if(e){var f=a(this).data("price");"undefined"!=typeof f&&f>=0&&(c+=parseFloat(f))}}}),c}function l(a){var b=accounting.formatMoney(a,{symbol:yith_wapo_general.currency_format_symbol,decimal:yith_wapo_general.currency_format_decimal_sep,thousand:yith_wapo_general.currency_format_thousand_sep,precision:yith_wapo_general.currency_format_num_decimals,format:yith_wapo_general.currency_format});return b}a(this).on("change",".yith_wapo_groups_container input, .yith_wapo_groups_container select, .yith_wapo_groups_container textarea, input.qty",function(b){var c=a(this);a(this).trigger("yith-wapo-product-option-conditional",c),a(this).trigger("yith-wapo-product-option-update")}),a(this).on("found_variation",function(c,d){var f=(a(this),a(".yith_wapo_group_total")),g=0;if("undefined"!=typeof d.display_price)g=d.display_price;else if(a(d.price_html).find(".amount:last").size()){a(".cart");g=a(d.price_html).find(".amount:last").text(),g=l(g)}f.data("product-price",g),b(d),a(this).trigger("yith-wapo-product-option-update")}),a(this).on("yith-wapo-product-option-update",function(){var b=a(this),c=a(".yith_wapo_group_total"),d=k(b);if(d>0){if(b.find("input.qty").size())var e=parseFloat(b.find("input.qty").val());else var e=1;d*=e;var f=a(".yith-wcpb-product-bundled-items"),g=b.find(".single_variation");"undefined"!=typeof g&&0==f.length&&g.after(c);var h=l(d),i=0,c=a(".yith_wapo_group_total"),j=parseFloat(c.data("product-price")),m=c.find(".yith_wapo_group_option_total span.price"),n=c.find(".yith_wapo_group_final_total span.price");m.html(h),i=j*e+d;var o=l(i);n.html(o),c.fadeIn()}else c.fadeOut()}),a(this).on("click",".ywapo_input_container.ywapo_input_container_labels",function(b){var c=a(this).find('input[type="hidden"]');if(""!=c.val())c.val(""),a(this).removeClass("ywapo_selected");else{var d=a(".ywapo_input_container.ywapo_input_container_labels");d.removeClass("ywapo_selected"),d.find('input[type="hidden"]').val(""),a(this).addClass("ywapo_selected"),c.val(c.data("index"))}a(this).trigger("yith-wapo-product-option-conditional",c),a(this).trigger("yith-wapo-product-option-update")}),a(this).on("yith-wapo-product-option-conditional",function(b,c){var d=a(c).closest(".ywapo_group_container");g(a(this),c,d)}),a(this).on("click",".single_add_to_cart_button",function(b){var d=a(this).closest("form.cart");return yith_wapo_general.do_submit=c(d),yith_wapo_general.do_submit}),a(document).on("yith_ywraq_action_before",function(){return m=a("form.cart"),yith_wapo_general.do_submit=c(m),yith_wapo_general.do_submit});var m=a(this);m.find(".yith_wapo_groups_container input, .yith_wapo_groups_container select, .yith_wapo_groups_container textarea").each(function(){m.trigger("yith-wapo-product-option-conditional",a(this))}),m.trigger("yith-wapo-product-option-update")},b(),void a(document).on("qv_loader_stop yit_quick_view_loaded",function(){b()}))});
modules/yith-woocommerce-product-add-ons/includes/class.yith-wapo-admin.php CHANGED
@@ -411,8 +411,8 @@ if ( ! class_exists( 'YITH_WAPO_Admin' ) ) {
411
  <?php
412
  }
413
 
414
- add_action( 'admin_footer', 'my_action_javascript' );
415
- function my_action_javascript() {
416
  global $post; ?>
417
  <script type="text/javascript" >
418
  jQuery(document).ready(function($) {
411
  <?php
412
  }
413
 
414
+ add_action( 'admin_footer', 'yith_wapo_my_action_javascript' );
415
+ function yith_wapo_my_action_javascript() {
416
  global $post; ?>
417
  <script type="text/javascript" >
418
  jQuery(document).ready(function($) {
modules/yith-woocommerce-product-add-ons/init.php CHANGED
@@ -2,7 +2,7 @@
2
  /**
3
  * Plugin Name: YITH WooCommerce Product Add-Ons
4
  * Description: YITH WooCommerce Product Add-Ons
5
- * Version: 1.0.1
6
  * Author: YITHEMES
7
  * Author URI: http://yithemes.com/
8
  * Text Domain: yith-woocommerce-product-add-ons
@@ -13,7 +13,7 @@
13
  *
14
  * @author YITHEMES
15
  * @package YITH WooCommerce Product Add-Ons
16
- * @version 1.0.1
17
  */
18
  /* Copyright 2016 Your Inspiration Themes (email : plugins@yithemes.com)
19
 
@@ -82,7 +82,7 @@ if ( defined( 'YITH_WAPO_PREMIUM' ) ) {
82
  ! defined( 'YITH_WAPO_TEMPLATE_ADMIN_PATH' ) && define( 'YITH_WAPO_TEMPLATE_ADMIN_PATH', YITH_WAPO_TEMPLATE_PATH . '/yith_wapo/admin/' );
83
  ! defined( 'YITH_WAPO_TEMPLATE_FRONTEND_PATH' ) && define( 'YITH_WAPO_TEMPLATE_FRONTEND_PATH', YITH_WAPO_TEMPLATE_PATH . '/yith_wapo/frontend/' );
84
  ! defined( 'YITH_WAPO_ASSETS_URL' ) && define( 'YITH_WAPO_ASSETS_URL', YITH_WAPO_URL . 'assets' );
85
- ! defined( 'YITH_WAPO_VERSION' ) && define( 'YITH_WAPO_VERSION', '1.0.1' );
86
  ! defined( 'YITH_WAPO_DB_VERSION' ) && define( 'YITH_WAPO_DB_VERSION', '1.0.1' );
87
  ! defined( 'YITH_WAPO_FILE' ) && define( 'YITH_WAPO_FILE', __FILE__ );
88
  ! defined( 'YITH_WAPO_SLUG' ) && define( 'YITH_WAPO_SLUG', 'yith-woocommerce-advanced-product-options' );
2
  /**
3
  * Plugin Name: YITH WooCommerce Product Add-Ons
4
  * Description: YITH WooCommerce Product Add-Ons
5
+ * Version: 1.0.3
6
  * Author: YITHEMES
7
  * Author URI: http://yithemes.com/
8
  * Text Domain: yith-woocommerce-product-add-ons
13
  *
14
  * @author YITHEMES
15
  * @package YITH WooCommerce Product Add-Ons
16
+ * @version 1.0.3
17
  */
18
  /* Copyright 2016 Your Inspiration Themes (email : plugins@yithemes.com)
19
 
82
  ! defined( 'YITH_WAPO_TEMPLATE_ADMIN_PATH' ) && define( 'YITH_WAPO_TEMPLATE_ADMIN_PATH', YITH_WAPO_TEMPLATE_PATH . '/yith_wapo/admin/' );
83
  ! defined( 'YITH_WAPO_TEMPLATE_FRONTEND_PATH' ) && define( 'YITH_WAPO_TEMPLATE_FRONTEND_PATH', YITH_WAPO_TEMPLATE_PATH . '/yith_wapo/frontend/' );
84
  ! defined( 'YITH_WAPO_ASSETS_URL' ) && define( 'YITH_WAPO_ASSETS_URL', YITH_WAPO_URL . 'assets' );
85
+ ! defined( 'YITH_WAPO_VERSION' ) && define( 'YITH_WAPO_VERSION', '1.0.3' );
86
  ! defined( 'YITH_WAPO_DB_VERSION' ) && define( 'YITH_WAPO_DB_VERSION', '1.0.1' );
87
  ! defined( 'YITH_WAPO_FILE' ) && define( 'YITH_WAPO_FILE', __FILE__ );
88
  ! defined( 'YITH_WAPO_SLUG' ) && define( 'YITH_WAPO_SLUG', 'yith-woocommerce-advanced-product-options' );
modules/yith-woocommerce-product-vendors/assets/css/admin.css CHANGED
@@ -75,9 +75,11 @@ select#tax-input-yith_shop_vendor {
75
 
76
  /* Add-ons tab */
77
 
 
78
  #yith_wpv_panel_add-ons #plugin-fw-wc h3,
79
  #yith_wpv_panel_add-ons #plugin-fw-wc > p {
80
  display: inline-block;
 
81
  }
82
 
83
 
75
 
76
  /* Add-ons tab */
77
 
78
+ #yith_wpv_panel_add-ons #plugin-fw-wc h2,
79
  #yith_wpv_panel_add-ons #plugin-fw-wc h3,
80
  #yith_wpv_panel_add-ons #plugin-fw-wc > p {
81
  display: inline-block;
82
+ margin-right: 10px;
83
  }
84
 
85
 
modules/yith-woocommerce-product-vendors/includes/class.yith-commission.php CHANGED
@@ -458,7 +458,7 @@ if ( ! class_exists( 'YITH_Commission' ) ) {
458
  $this->status = $new_status;
459
 
460
  $all_status = YITH_Commissions()->get_status();
461
- $this->add_note( trim( $note . ' ' . sprintf( __( 'Commission status changed from %s to %s.', 'yith_wc_product_vendors' ), $all_status[ $old_status ], $all_status[ $new_status ] ) ) );
462
 
463
  // Status was changed
464
  do_action( 'yith_commission_status_' . $new_status, $this->id );
458
  $this->status = $new_status;
459
 
460
  $all_status = YITH_Commissions()->get_status();
461
+ $this->add_note( trim( $note . ' ' . sprintf( __( 'Commission status changed from %s to %s.', 'yith-woocommerce-product-vendors' ), $all_status[ $old_status ], $all_status[ $new_status ] ) ) );
462
 
463
  // Status was changed
464
  do_action( 'yith_commission_status_' . $new_status, $this->id );
modules/yith-woocommerce-product-vendors/includes/class.yith-commissions.php CHANGED
@@ -185,10 +185,10 @@ if ( ! class_exists( 'YITH_Commissions' ) ) {
185
  //Set messages
186
  $this->_messages = apply_filters( 'yith_commissions_admin_notice',
187
  array(
188
- 'error' => __( 'Commission status not updated!', 'yith_wc_product_vendors' ),
189
- 'updated' => __( 'Commission status updated!', 'yith_wc_product_vendors' ),
190
- 'pay-process' => __( 'Payment successful. In a few minutes you will receive an email with the outcome of the payment and the commission state will be changed accordingly.', 'yith_wc_product_vendors' ),
191
- 'pay-failed' => __( 'Payment failed.', 'yith_wc_product_vendors' )
192
  )
193
  );
194
 
@@ -223,12 +223,12 @@ if ( ! class_exists( 'YITH_Commissions' ) ) {
223
  *
224
  */
225
  return array(
226
- 'paid' => __( 'Paid', 'yith_wc_product_vendors' ),
227
- 'unpaid' => __( 'Unpaid', 'yith_wc_product_vendors' ),
228
- 'pending' => __( 'Pending', 'yith_wc_product_vendors' ),
229
- 'refunded' => __( 'Refunded', 'yith_wc_product_vendors' ),
230
- 'cancelled' => __( 'Cancelled', 'yith_wc_product_vendors' ),
231
- 'processing' => __( 'Processing', 'yith_wc_product_vendors' ),
232
  );
233
  }
234
 
@@ -287,8 +287,8 @@ if ( ! class_exists( 'YITH_Commissions' ) ) {
287
  if( $is_super_user || $vendor->is_valid() && $vendor->has_limited_access() && $vendor->is_owner() ) {
288
 
289
  $args = apply_filters( 'yith_wc_product_vendors_commissions_menu_items', array(
290
- 'page_title' => __( 'Commissions', 'yith_wc_product_vendors' ),
291
- 'menu_title' => __( 'Commissions', 'yith_wc_product_vendors' ),
292
  'capability' => 'edit_products',
293
  'menu_slug' => $this->_screen,
294
  'function' => array( $this, 'commissions_details_page' ),
@@ -303,12 +303,12 @@ if ( ! class_exists( 'YITH_Commissions' ) ) {
303
  }
304
 
305
  // if ( $is_super_user ) {
306
- // add_submenu_page( $this->_screen, $page_title, __( 'Commissions report', 'yith_wc_product_vendors' ), $capability, $menu_slug );
307
  //
308
  // $submenu_args = apply_filters( 'yith_wc_product_vendors_commissions_submenu_items', array(
309
  // 'parent_slug' => $this->_screen,
310
- // 'page_title' => __( 'Unpaid earnings', 'yith_wc_product_vendors' ),
311
- // 'menu_title' => __( 'Unpaid earnings', 'yith_wc_product_vendors' ),
312
  // 'capability' => 'manage_options',
313
  // 'menu_slug' => 'yith_commissions_by_vendor',
314
  // 'function' => array( $this, 'earnings_by_vendor' )
@@ -355,7 +355,7 @@ if ( ! class_exists( 'YITH_Commissions' ) ) {
355
 
356
  $args = apply_filters( 'yith_vendors_commissions_template', array(
357
  'commissions_table' => $commissions_table,
358
- 'page_title' => __( 'Vendor Commissions', 'yith_wc_product_vendors' )
359
  )
360
  );
361
 
@@ -392,7 +392,7 @@ if ( ! class_exists( 'YITH_Commissions' ) ) {
392
 
393
  $args = apply_filters( 'yith_vendors_commissions_template', array(
394
  'commissions_table' => $commissions_table,
395
- 'page_title' => __( 'Earnings by vendor', 'yith_wc_product_vendors' )
396
  )
397
  );
398
 
@@ -410,7 +410,7 @@ if ( ! class_exists( 'YITH_Commissions' ) ) {
410
  */
411
  public function change_commission_view_page_title( $admin_title, $title ) {
412
  if ( isset( $_GET['page'] ) && $_GET['page'] == $this->_screen && ! empty( $_GET['view'] ) ) {
413
- $title = sprintf( __( 'Commission #%d details', 'yith_wc_product_vendors' ), absint( $_GET['view'] ) );
414
  $admin_title = sprintf( __( '%1$s &lsaquo; %2$s &#8212; WordPress' ), $title, get_bloginfo( 'name' ) );
415
  }
416
 
@@ -1169,7 +1169,7 @@ if ( ! class_exists( 'YITH_Commissions' ) ) {
1169
  foreach ( $refunds as $refund_id => $commissions_refunded ) {
1170
  foreach ( $commissions_refunded as $commission_id => $amount ) {
1171
  $commission = YITH_Commission( $commission_id );
1172
- $note = $refund_id == $new_refund_id ? sprintf( __( 'Refunded %s from order', 'yith_wc_product_vendors' ), wc_price( abs( $amount ) ) ) : '';
1173
  $commission->update_amount( $amount, $note );
1174
  }
1175
  update_post_meta( $refund_id, '_refunded_commissions', $commissions_refunded );
@@ -1202,7 +1202,7 @@ if ( ! class_exists( 'YITH_Commissions' ) ) {
1202
  $commission = YITH_Commission( $commission_id );
1203
 
1204
  // update commission
1205
- $commission->update_amount( abs( $amount ), $note ? sprintf( __( 'Cancelled %s refund from order', 'yith_wc_product_vendors' ), wc_price( abs( $amount ) ) ) : '' );
1206
  }
1207
 
1208
  // remove post meta to delete every track of refunds
@@ -1286,7 +1286,7 @@ if ( ! class_exists( 'YITH_Commissions' ) ) {
1286
  */
1287
  public function add_screen_option() {
1288
  if ( 'toplevel_page_' . $this->_screen == get_current_screen()->id ) {
1289
- add_screen_option( 'per_page', array( 'label' => __( 'Commissions', 'yith_wc_product_vendors' ), 'default' => 20, 'option' => 'edit_commissions_per_page' ) );
1290
 
1291
  }
1292
  }
@@ -1322,7 +1322,7 @@ if ( ! class_exists( 'YITH_Commissions' ) ) {
1322
  if( $line_item['product_id'] == $product->id ){
1323
  $commission_id = wc_get_order_item_meta( $line_item_id, '_commission_id', true );
1324
  $admin_url = YITH_Commission( $commission_id )->get_view_url( 'admin' );
1325
- $attribute_label = '_commission_id' == $meta_key ? sprintf( "<a href='%s' class='%s'>" . __( 'commission_id', 'yith_wc_product_vendors' ) . '</a>', $admin_url, 'commission-id-label' ) : $attribute_label;
1326
  }
1327
  }
1328
  }
185
  //Set messages
186
  $this->_messages = apply_filters( 'yith_commissions_admin_notice',
187
  array(
188
+ 'error' => __( 'Commission status not updated!', 'yith-woocommerce-product-vendors' ),
189
+ 'updated' => __( 'Commission status updated!', 'yith-woocommerce-product-vendors' ),
190
+ 'pay-process' => __( 'Payment successful. In a few minutes you will receive an email with the outcome of the payment and the commission state will be changed accordingly.', 'yith-woocommerce-product-vendors' ),
191
+ 'pay-failed' => __( 'Payment failed.', 'yith-woocommerce-product-vendors' )
192
  )
193
  );
194
 
223
  *
224
  */
225
  return array(
226
+ 'paid' => __( 'Paid', 'yith-woocommerce-product-vendors' ),
227
+ 'unpaid' => __( 'Unpaid', 'yith-woocommerce-product-vendors' ),
228
+ 'pending' => __( 'Pending', 'yith-woocommerce-product-vendors' ),
229
+ 'refunded' => __( 'Refunded', 'yith-woocommerce-product-vendors' ),
230
+ 'cancelled' => __( 'Cancelled', 'yith-woocommerce-product-vendors' ),
231
+ 'processing' => __( 'Processing', 'yith-woocommerce-product-vendors' ),
232
  );
233
  }
234
 
287
  if( $is_super_user || $vendor->is_valid() && $vendor->has_limited_access() && $vendor->is_owner() ) {
288
 
289
  $args = apply_filters( 'yith_wc_product_vendors_commissions_menu_items', array(
290
+ 'page_title' => __( 'Commissions', 'yith-woocommerce-product-vendors' ),
291
+ 'menu_title' => __( 'Commissions', 'yith-woocommerce-product-vendors' ),
292
  'capability' => 'edit_products',
293
  'menu_slug' => $this->_screen,
294
  'function' => array( $this, 'commissions_details_page' ),
303
  }
304
 
305
  // if ( $is_super_user ) {
306
+ // add_submenu_page( $this->_screen, $page_title, __( 'Commissions report', 'yith-woocommerce-product-vendors' ), $capability, $menu_slug );
307
  //
308
  // $submenu_args = apply_filters( 'yith_wc_product_vendors_commissions_submenu_items', array(
309
  // 'parent_slug' => $this->_screen,
310
+ // 'page_title' => __( 'Unpaid earnings', 'yith-woocommerce-product-vendors' ),
311
+ // 'menu_title' => __( 'Unpaid earnings', 'yith-woocommerce-product-vendors' ),
312
  // 'capability' => 'manage_options',
313
  // 'menu_slug' => 'yith_commissions_by_vendor',
314
  // 'function' => array( $this, 'earnings_by_vendor' )
355
 
356
  $args = apply_filters( 'yith_vendors_commissions_template', array(
357
  'commissions_table' => $commissions_table,
358
+ 'page_title' => __( 'Vendor Commissions', 'yith-woocommerce-product-vendors' )
359
  )
360
  );
361
 
392
 
393
  $args = apply_filters( 'yith_vendors_commissions_template', array(
394
  'commissions_table' => $commissions_table,
395
+ 'page_title' => __( 'Earnings by vendor', 'yith-woocommerce-product-vendors' )
396
  )
397
  );
398
 
410
  */
411
  public function change_commission_view_page_title( $admin_title, $title ) {
412
  if ( isset( $_GET['page'] ) && $_GET['page'] == $this->_screen && ! empty( $_GET['view'] ) ) {
413
+ $title = sprintf( __( 'Commission #%d details', 'yith-woocommerce-product-vendors' ), absint( $_GET['view'] ) );
414
  $admin_title = sprintf( __( '%1$s &lsaquo; %2$s &#8212; WordPress' ), $title, get_bloginfo( 'name' ) );
415
  }
416
 
1169
  foreach ( $refunds as $refund_id => $commissions_refunded ) {
1170
  foreach ( $commissions_refunded as $commission_id => $amount ) {
1171
  $commission = YITH_Commission( $commission_id );
1172
+ $note = $refund_id == $new_refund_id ? sprintf( __( 'Refunded %s from order', 'yith-woocommerce-product-vendors' ), wc_price( abs( $amount ) ) ) : '';
1173
  $commission->update_amount( $amount, $note );
1174
  }
1175
  update_post_meta( $refund_id, '_refunded_commissions', $commissions_refunded );
1202
  $commission = YITH_Commission( $commission_id );
1203
 
1204
  // update commission
1205
+ $commission->update_amount( abs( $amount ), $note ? sprintf( __( 'Cancelled %s refund from order', 'yith-woocommerce-product-vendors' ), wc_price( abs( $amount ) ) ) : '' );
1206
  }
1207
 
1208
  // remove post meta to delete every track of refunds
1286
  */
1287
  public function add_screen_option() {
1288
  if ( 'toplevel_page_' . $this->_screen == get_current_screen()->id ) {
1289
+ add_screen_option( 'per_page', array( 'label' => __( 'Commissions', 'yith-woocommerce-product-vendors' ), 'default' => 20, 'option' => 'edit_commissions_per_page' ) );
1290
 
1291
  }
1292
  }
1322
  if( $line_item['product_id'] == $product->id ){
1323
  $commission_id = wc_get_order_item_meta( $line_item_id, '_commission_id', true );
1324
  $admin_url = YITH_Commission( $commission_id )->get_view_url( 'admin' );
1325
+ $attribute_label = '_commission_id' == $meta_key ? sprintf( "<a href='%s' class='%s'>" . __( 'commission_id', 'yith-woocommerce-product-vendors' ) . '</a>', $admin_url, 'commission-id-label' ) : $attribute_label;
1326
  }
1327
  }
1328
  }
modules/yith-woocommerce-product-vendors/includes/class.yith-orders.php CHANGED
@@ -50,6 +50,7 @@ if ( ! class_exists ( 'YITH_Orders' ) ) {
50
  add_filter ( 'woocommerce_email_enabled_customer_completed_order', array ( $this, 'woocommerce_email_enabled_new_order' ), 10, 2 );
51
  add_filter ( 'woocommerce_email_enabled_customer_partially_refunded_order', array ( $this, 'woocommerce_email_enabled_new_order' ), 10, 2 );
52
  add_filter ( 'woocommerce_email_enabled_customer_refunded_order', array ( $this, 'woocommerce_email_enabled_new_order' ), 10, 2 );
 
53
 
54
  /* Order Refund */
55
  add_action ( 'woocommerce_order_refunded', array ( $this, 'order_refunded' ), 10, 2 );
@@ -60,7 +61,7 @@ if ( ! class_exists ( 'YITH_Orders' ) ) {
60
  add_filter ( 'woocommerce_attribute_label', array ( $this, 'commissions_attribute_label' ), 10, 3 );
61
 
62
  /* Order Item Meta */
63
- add_action ( 'woocommerce_hidden_order_itemmeta', array ( $this, 'hidden_order_itemmeta' ) );
64
 
65
  /* Order Table */
66
  add_filter ( 'manage_shop_order_posts_columns', array ( $this, 'shop_order_columns' ) );
@@ -80,6 +81,9 @@ if ( ! class_exists ( 'YITH_Orders' ) ) {
80
 
81
  /* YITH WooCommerce Stripe Support */
82
  add_filter( 'yith_stripe_skip_capture_charge', array( $this, 'skip_stripe_charge_for_suborders' ), 10, 2 );
 
 
 
83
 
84
  $sync_enabled = get_option ( 'yith_wpv_vendors_option_order_synchronization', 'yes' );
85
 
@@ -119,6 +123,12 @@ if ( ! class_exists ( 'YITH_Orders' ) ) {
119
  $nopriv && add_action ( "wp_ajax_nopriv_woocommerce_{$ajax_event}", array ( __CLASS__, $ajax_event, 5 ) );
120
  }
121
  }
 
 
 
 
 
 
122
  }
123
 
124
  /**
@@ -409,7 +419,7 @@ if ( ! class_exists ( 'YITH_Orders' ) ) {
409
  foreach ( $suborder_ids as $suborder_id ) {
410
  /** @var $suborder WC_Order */
411
  $suborder = wc_get_order ( $suborder_id );
412
- $suborder->update_status ( $new_status, _x ( 'Update by admin: ', 'Order note', 'yith_wc_product_vendors' ) );
413
  }
414
  add_action ( 'woocommerce_order_status_completed', 'wc_paying_customer' );
415
 
@@ -740,7 +750,7 @@ if ( ! class_exists ( 'YITH_Orders' ) ) {
740
  if ( ! empty( $suborder_ids ) ) {
741
  foreach ( $suborder_ids as $suborder_id ) {
742
  $suborder = wc_get_order ( $suborder_id );
743
- $note_id = $suborder->add_order_note ( _x ( 'Update by admin: ', 'Order note', 'yith_wc_product_vendors' ) . $note, $is_customer_note, true );
744
  add_comment_meta ( $note_id, 'parent_note_id', $parent_note_id );
745
  }
746
  }
@@ -1284,7 +1294,7 @@ if ( ! class_exists ( 'YITH_Orders' ) ) {
1284
  }
1285
 
1286
  /**
1287
- * Check for new order email
1288
  */
1289
  public function woocommerce_email_enabled_new_order ( $enabled, $object ) {
1290
  $is_editpost_action = ! empty( $_REQUEST['action'] ) && in_array( $_REQUEST['action'], array( 'editpost', 'edit') );
@@ -1473,8 +1483,8 @@ if ( ! class_exists ( 'YITH_Orders' ) ) {
1473
  "<a href='%s' class='%s'>%s</a> <small>(%s: <strong>%s</strong>)</small>",
1474
  $admin_url,
1475
  'commission-id-label',
1476
- __ ( 'commission_id', 'yith_wc_product_vendors' ) ,
1477
- __ ( 'status', 'yith_wc_product_vendors' ) ,
1478
  strtolower( $commission->get_status( 'display' ) )
1479
  );
1480
  $attribute_label = $item_meta_key == $meta_key ? $url_attribute_label : $attribute_label;
@@ -1537,11 +1547,11 @@ if ( ! class_exists ( 'YITH_Orders' ) ) {
1537
  $vendor = yith_get_vendor ( 'current', 'user' );
1538
  if ( $vendor->is_super_user () ) {
1539
  if ( ( ! isset( $_GET[ 'post_status' ] ) || ( isset( $_GET[ 'post_status' ] ) && 'trash' != $_GET[ 'post_status' ] ) ) ) {
1540
- $suborder = array ( 'suborder' => _x ( 'Suborders', 'Admin: Order table column', 'yith_wc_product_vendors' ) );
1541
  $ref_pos = array_search ( 'order_title', array_keys ( $order_columns ) );
1542
  $order_columns = array_slice ( $order_columns, 0, $ref_pos + 1, true ) + $suborder + array_slice ( $order_columns, $ref_pos + 1, count ( $order_columns ) - 1, true );
1543
  } else {
1544
- $vendor = array ( 'vendor' => _x ( 'Vendor', 'Admin: Order table column', 'yith_wc_product_vendors' ) );
1545
  $ref_pos = array_search ( 'order_title', array_keys ( $order_columns ) );
1546
  $order_columns = array_slice ( $order_columns, 0, $ref_pos + 1, true ) + $vendor + array_slice ( $order_columns, $ref_pos + 1, count ( $order_columns ) - 1, true );
1547
  }
@@ -1580,7 +1590,7 @@ if ( ! class_exists ( 'YITH_Orders' ) ) {
1580
  wc_get_order_status_name ( $suborder->get_status () ),
1581
  $order_uri,
1582
  $suborder_id,
1583
- _x ( 'in', 'Order table details', 'yith_wc_product_vendors' ),
1584
  $vendor->name
1585
  );
1586
 
@@ -1621,10 +1631,10 @@ if ( ! class_exists ( 'YITH_Orders' ) ) {
1621
 
1622
  if ( $vendor->is_super_user () ) {
1623
  if ( $has_suborder ) {
1624
- $metabox_suborder_description = _x ( 'Suborders', 'Admin: Single order page. Suborder details box', 'yith_wc_product_vendors' ) . ' <span class="tips" data-tip="' . esc_attr__ ( 'Note: from this box you can monitor the status of suborders associated to individual vendors.', 'woocommerce' ) . '">[?]</span>';
1625
  add_meta_box ( 'woocommerce-suborders', $metabox_suborder_description, array ( $this, 'output' ), 'shop_order', 'side', 'core', array ( 'metabox' => 'suborders' ) );
1626
  } else if ( $is_suborder ) {
1627
- $metabox_parent_order_description = _x ( 'Parent order', 'Admin: Single order page. Parent order details box', 'yith_wc_product_vendors' );
1628
  add_meta_box ( 'woocommerce-parent-order', $metabox_parent_order_description, array ( $this, 'output' ), 'shop_order', 'side', 'high', array ( 'metabox' => 'parent-order' ) );
1629
  }
1630
  }
@@ -1655,7 +1665,7 @@ if ( ! class_exists ( 'YITH_Orders' ) ) {
1655
  wc_get_order_status_name ( $suborder->get_status () ),
1656
  $suborder_uri,
1657
  $suborder_id,
1658
- _x ( 'in', 'Order table details', 'yith_wc_product_vendors' ),
1659
  $vendor->name
1660
  );
1661
  echo '<li>';
@@ -1667,7 +1677,7 @@ if ( ! class_exists ( 'YITH_Orders' ) ) {
1667
  case 'parent-order':
1668
  $parent_order_id = wp_get_post_parent_id ( absint ( $post->ID ) );
1669
  $parent_order_uri = esc_url ( 'post.php?post=' . absint ( $parent_order_id ) . '&action=edit' );
1670
- printf ( '<a href="%s">&#8592; %s</a>', $parent_order_uri, _x ( 'Return to main order', 'Admin: single order page. Link to parent order', 'yith_wc_product_vendors' ) );
1671
  break;
1672
  }
1673
  }
@@ -1881,5 +1891,154 @@ if ( ! class_exists ( 'YITH_Orders' ) ) {
1881
  return $skip;
1882
  }
1883
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1884
  }
1885
  }
50
  add_filter ( 'woocommerce_email_enabled_customer_completed_order', array ( $this, 'woocommerce_email_enabled_new_order' ), 10, 2 );
51
  add_filter ( 'woocommerce_email_enabled_customer_partially_refunded_order', array ( $this, 'woocommerce_email_enabled_new_order' ), 10, 2 );
52
  add_filter ( 'woocommerce_email_enabled_customer_refunded_order', array ( $this, 'woocommerce_email_enabled_new_order' ), 10, 2 );
53
+ add_filter ( 'woocommerce_email_enabled_customer_on_hold_order', array ( $this, 'woocommerce_email_enabled_new_order' ), 10, 2 );
54
 
55
  /* Order Refund */
56
  add_action ( 'woocommerce_order_refunded', array ( $this, 'order_refunded' ), 10, 2 );
61
  add_filter ( 'woocommerce_attribute_label', array ( $this, 'commissions_attribute_label' ), 10, 3 );
62
 
63
  /* Order Item Meta */
64
+ add_filter ( 'woocommerce_hidden_order_itemmeta', array ( $this, 'hidden_order_itemmeta' ) );
65
 
66
  /* Order Table */
67
  add_filter ( 'manage_shop_order_posts_columns', array ( $this, 'shop_order_columns' ) );
81
 
82
  /* YITH WooCommerce Stripe Support */
83
  add_filter( 'yith_stripe_skip_capture_charge', array( $this, 'skip_stripe_charge_for_suborders' ), 10, 2 );
84
+
85
+ /* Add shipping addresses to vendor email */
86
+ add_filter( 'woocommerce_order_needs_shipping_address', array( $this, 'order_needs_shipping_address' ), 10, 3 );
87
 
88
  $sync_enabled = get_option ( 'yith_wpv_vendors_option_order_synchronization', 'yes' );
89
 
123
  $nopriv && add_action ( "wp_ajax_nopriv_woocommerce_{$ajax_event}", array ( __CLASS__, $ajax_event, 5 ) );
124
  }
125
  }
126
+
127
+ //the revoke download permission and the grant download permission would be always synchronized
128
+ add_action( 'woocommerce_ajax_revoke_access_to_product_download', array( $this, 'revoke_access_to_product_download' ), 10, 3 );
129
+ add_action( 'wp_ajax_woocommerce_grant_access_to_download', array( $this, 'grant_access_to_download' ), 5 );
130
+
131
+
132
  }
133
 
134
  /**
419
  foreach ( $suborder_ids as $suborder_id ) {
420
  /** @var $suborder WC_Order */
421
  $suborder = wc_get_order ( $suborder_id );
422
+ $suborder->update_status ( $new_status, _x ( 'Update by admin: ', 'Order note', 'yith-woocommerce-product-vendors' ) );
423
  }
424
  add_action ( 'woocommerce_order_status_completed', 'wc_paying_customer' );
425
 
750
  if ( ! empty( $suborder_ids ) ) {
751
  foreach ( $suborder_ids as $suborder_id ) {
752
  $suborder = wc_get_order ( $suborder_id );
753
+ $note_id = $suborder->add_order_note ( _x ( 'Update by admin: ', 'Order note', 'yith-woocommerce-product-vendors' ) . $note, $is_customer_note, true );
754
  add_comment_meta ( $note_id, 'parent_note_id', $parent_note_id );
755
  }
756
  }
1294
  }
1295
 
1296
  /**
1297
+ * Prevent duplicated email for customer
1298
  */
1299
  public function woocommerce_email_enabled_new_order ( $enabled, $object ) {
1300
  $is_editpost_action = ! empty( $_REQUEST['action'] ) && in_array( $_REQUEST['action'], array( 'editpost', 'edit') );
1483
  "<a href='%s' class='%s'>%s</a> <small>(%s: <strong>%s</strong>)</small>",
1484
  $admin_url,
1485
  'commission-id-label',
1486
+ __ ( 'commission_id', 'yith-woocommerce-product-vendors' ) ,
1487
+ __ ( 'status', 'yith-woocommerce-product-vendors' ) ,
1488
  strtolower( $commission->get_status( 'display' ) )
1489
  );
1490
  $attribute_label = $item_meta_key == $meta_key ? $url_attribute_label : $attribute_label;
1547
  $vendor = yith_get_vendor ( 'current', 'user' );
1548
  if ( $vendor->is_super_user () ) {
1549
  if ( ( ! isset( $_GET[ 'post_status' ] ) || ( isset( $_GET[ 'post_status' ] ) && 'trash' != $_GET[ 'post_status' ] ) ) ) {
1550
+ $suborder = array ( 'suborder' => _x ( 'Suborders', 'Admin: Order table column', 'yith-woocommerce-product-vendors' ) );
1551
  $ref_pos = array_search ( 'order_title', array_keys ( $order_columns ) );
1552
  $order_columns = array_slice ( $order_columns, 0, $ref_pos + 1, true ) + $suborder + array_slice ( $order_columns, $ref_pos + 1, count ( $order_columns ) - 1, true );
1553
  } else {
1554
+ $vendor = array ( 'vendor' => _x ( 'Vendor', 'Admin: Order table column', 'yith-woocommerce-product-vendors' ) );
1555
  $ref_pos = array_search ( 'order_title', array_keys ( $order_columns ) );
1556
  $order_columns = array_slice ( $order_columns, 0, $ref_pos + 1, true ) + $vendor + array_slice ( $order_columns, $ref_pos + 1, count ( $order_columns ) - 1, true );
1557
  }
1590
  wc_get_order_status_name ( $suborder->get_status () ),
1591
  $order_uri,
1592
  $suborder_id,
1593
+ _x ( 'in', 'Order table details', 'yith-woocommerce-product-vendors' ),
1594
  $vendor->name
1595
  );
1596
 
1631
 
1632
  if ( $vendor->is_super_user () ) {
1633
  if ( $has_suborder ) {
1634
+ $metabox_suborder_description = _x ( 'Suborders', 'Admin: Single order page. Suborder details box', 'yith-woocommerce-product-vendors' ) . ' <span class="tips" data-tip="' . esc_attr__ ( 'Note: from this box you can monitor the status of suborders associated to individual vendors.', 'woocommerce' ) . '">[?]</span>';
1635
  add_meta_box ( 'woocommerce-suborders', $metabox_suborder_description, array ( $this, 'output' ), 'shop_order', 'side', 'core', array ( 'metabox' => 'suborders' ) );
1636
  } else if ( $is_suborder ) {
1637
+ $metabox_parent_order_description = _x ( 'Parent order', 'Admin: Single order page. Parent order details box', 'yith-woocommerce-product-vendors' );
1638
  add_meta_box ( 'woocommerce-parent-order', $metabox_parent_order_description, array ( $this, 'output' ), 'shop_order', 'side', 'high', array ( 'metabox' => 'parent-order' ) );
1639
  }
1640
  }
1665
  wc_get_order_status_name ( $suborder->get_status () ),
1666
  $suborder_uri,
1667
  $suborder_id,
1668
+ _x ( 'in', 'Order table details', 'yith-woocommerce-product-vendors' ),
1669
  $vendor->name
1670
  );
1671
  echo '<li>';
1677
  case 'parent-order':
1678
  $parent_order_id = wp_get_post_parent_id ( absint ( $post->ID ) );
1679
  $parent_order_uri = esc_url ( 'post.php?post=' . absint ( $parent_order_id ) . '&action=edit' );
1680
+ printf ( '<a href="%s">&#8592; %s</a>', $parent_order_uri, _x ( 'Return to main order', 'Admin: single order page. Link to parent order', 'yith-woocommerce-product-vendors' ) );
1681
  break;
1682
  }
1683
  }
1891
  return $skip;
1892
  }
1893
 
1894
+ public function revoke_access_to_product_download( $download_id, $product_id, $order_id ){
1895
+
1896
+ check_ajax_referer( 'revoke-access', 'security' );
1897
+
1898
+
1899
+ if ( ! current_user_can( 'edit_shop_orders' ) ) {
1900
+ die(-1);
1901
+ }
1902
+
1903
+ $parent_order_id = 0;
1904
+ $current_order_id = 0;
1905
+ if ( wp_get_post_parent_id ( $order_id ) ) {
1906
+ $order = wc_get_order( $order_id );
1907
+ $parent_order_id = $order->post->post_parent;
1908
+ }
1909
+
1910
+ global $wpdb;
1911
+
1912
+ if( $parent_order_id == 0 ) {
1913
+ $suborders = self::get_suborder( $order_id );
1914
+ $vendor = yith_get_vendor( $product_id, 'product' );
1915
+ $vendor_orders = $vendor->get_orders();
1916
+ $suborder_id = array_intersect( $vendor_orders, $suborders );
1917
+
1918
+ if( count( $suborder_id ) == 1 ) {
1919
+
1920
+ $current_order_id = implode('', $suborder_id );
1921
+ }
1922
+
1923
+ }else{
1924
+ $current_order_id = $parent_order_id;
1925
+ }
1926
+
1927
+ $query = $wpdb->prepare( "DELETE FROM {$wpdb->prefix}woocommerce_downloadable_product_permissions WHERE order_id = %d AND product_id = %d AND download_id = %s;", $current_order_id, $product_id, $download_id );
1928
+ $wpdb->query( $query );
1929
+
1930
+ die();
1931
+ }
1932
+
1933
+ public static function grant_access_to_download() {
1934
+
1935
+
1936
+ check_ajax_referer( 'grant-access', 'security' );
1937
+
1938
+ if ( ! current_user_can( 'edit_shop_orders' ) ) {
1939
+ die(-1);
1940
+ }
1941
+
1942
+
1943
+ global $wpdb;
1944
+
1945
+ $wpdb->hide_errors();
1946
+
1947
+ $order_id = intval( $_POST['order_id'] );
1948
+ $product_ids = $_POST['product_ids'];
1949
+ $loop = intval( $_POST['loop'] );
1950
+ $file_counter = 0;
1951
+
1952
+
1953
+ $parent_order_id = 0;
1954
+ if( wp_get_post_parent_id( $order_id) ){
1955
+ $order = wc_get_order( $order_id );
1956
+ $parent_order_id = $order->post->post_parent;
1957
+ }
1958
+
1959
+ $suborders = self::get_suborder( $order_id );
1960
+
1961
+
1962
+ if ( ! is_array( $product_ids ) ) {
1963
+ $product_ids = array( $product_ids );
1964
+ }
1965
+
1966
+ foreach ( $product_ids as $product_id ) {
1967
+
1968
+ $product = wc_get_product( $product_id );
1969
+ $files = $product->get_files();
1970
+
1971
+ if( $parent_order_id == 0 ) {
1972
+ $vendor = yith_get_vendor( $product_id, 'product' );
1973
+ $vendor_orders = $vendor->get_orders();
1974
+ $suborder_id = array_intersect( $vendor_orders, $suborders );
1975
+
1976
+
1977
+ if( count( $suborder_id ) == 1 ) {
1978
+ $suborder_id = implode( '', $suborder_id );
1979
+ $order = wc_get_order( $suborder_id );
1980
+ }
1981
+ }else{
1982
+ $order = wc_get_order( $parent_order_id );
1983
+ }
1984
+
1985
+
1986
+ if ( ! $order->billing_email ) {
1987
+ die();
1988
+ }
1989
+
1990
+
1991
+ if ( ! empty( $files ) ) {
1992
+ foreach ( $files as $download_id => $file ) {
1993
+ if ( $inserted_id = wc_downloadable_file_permission( $download_id, $product_id, $order ) ) {
1994
+
1995
+ // insert complete - get inserted data
1996
+ $download = $wpdb->get_row( $wpdb->prepare( "SELECT * FROM {$wpdb->prefix}woocommerce_downloadable_product_permissions WHERE permission_id = %d", $inserted_id ) );
1997
+
1998
+ $loop ++;
1999
+ $file_counter ++;
2000
+
2001
+ if ( isset( $file['name'] ) ) {
2002
+ $file_count = $file['name'];
2003
+ } else {
2004
+ $file_count = sprintf( __( 'File %d', 'woocommerce' ), $file_counter );
2005
+ }
2006
+ // include( WC()->plugin_path().'/includes/admin/meta-boxes/views/html-order-download-permission.php' );
2007
+ }
2008
+ }
2009
+ }
2010
+ }
2011
+ }
2012
+
2013
+ /**
2014
+ * Checks if an order needs display the shipping address, based on shipping method.
2015
+ *
2016
+ * @author Andrea Grillo <andrea.grillo@yithemes.com>
2017
+ * @return boolean
2018
+ */
2019
+ public function order_needs_shipping_address( $needs_address, $hide, $order ){
2020
+ $raq_order_meta = get_post_meta( $order->id, 'ywraq_raq' );
2021
+ $is_quote = ! empty( $raq_order_meta );
2022
+
2023
+ if( $order->post->post_parent && ! $is_quote ){
2024
+ $parent_order = wc_get_order( $order->post->post_parent );
2025
+
2026
+ if ( ! wc_shipping_enabled() ) {
2027
+ return false;
2028
+ }
2029
+
2030
+ $hide = apply_filters( 'woocommerce_order_hide_shipping_address', array( 'local_pickup' ), $this );
2031
+ $needs_address = false;
2032
+
2033
+ foreach ( $parent_order->get_shipping_methods() as $shipping_method ) {
2034
+ if ( ! in_array( $shipping_method['method_id'], $hide ) ) {
2035
+ $needs_address = true;
2036
+ break;
2037
+ }
2038
+ }
2039
+ }
2040
+
2041
+ return $needs_address;
2042
+ }
2043
  }
2044
  }
modules/yith-woocommerce-product-vendors/includes/class.yith-vendor.php CHANGED
@@ -22,6 +22,8 @@ if ( ! class_exists ( 'YITH_Vendor' ) ) {
22
  * @author Your Inspiration Themes
23
  *
24
  * @property string $telephone
 
 
25
  * @property string $paypal_email
26
  * @property string $enable_selling
27
  * @property string $payment_type
@@ -38,6 +40,7 @@ if ( ! class_exists ( 'YITH_Vendor' ) ) {
38
  * @property int|string $commission
39
  * @property string $vat
40
  * @property string $featured_products
 
41
  *
42
  */
43
  class YITH_Vendor {
@@ -485,7 +488,7 @@ if ( ! class_exists ( 'YITH_Vendor' ) ) {
485
  *
486
  * @return array
487
  */
488
- public function get_products ( $extra = array () ) {
489
  $args = wp_parse_args ( $extra, array (
490
  'posts_per_page' => - 1,
491
  'fields' => 'ids',
@@ -493,7 +496,8 @@ if ( ! class_exists ( 'YITH_Vendor' ) ) {
493
  );
494
 
495
  $args = $this->get_query_products_args ( $args );
496
-
 
497
  return get_posts ( $args );
498
  }
499
 
22
  * @author Your Inspiration Themes
23
  *
24
  * @property string $telephone
25
+ * @property string $location
26
+ * @property string $store_email
27
  * @property string $paypal_email
28
  * @property string $enable_selling
29
  * @property string $payment_type
40
  * @property int|string $commission
41
  * @property string $vat
42
  * @property string $featured_products
43
+ * @property string $bank_account
44
  *
45
  */
46
  class YITH_Vendor {
488
  *
489
  * @return array
490
  */
491
+ public function get_products ( $extra = array () ) {
492
  $args = wp_parse_args ( $extra, array (
493
  'posts_per_page' => - 1,
494
  'fields' => 'ids',
496
  );
497
 
498
  $args = $this->get_query_products_args ( $args );
499
+ $args = apply_filters( 'yith_wcmv_vendor_get_products_query_args', $args, $extra, $this );
500
+
501
  return get_posts ( $args );
502
  }
503
 
modules/yith-woocommerce-product-vendors/includes/class.yith-vendors-admin.php CHANGED
@@ -170,16 +170,16 @@ if ( !class_exists( 'YITH_Vendors_Admin' ) ) {
170
  }
171
 
172
  $admin_tabs = apply_filters( 'yith_vendors_admin_tabs', array(
173
- 'commissions' => __( 'Commissions', 'yith_wc_product_vendors' ),
174
- 'vendors' => __( 'Vendors', 'yith_wc_product_vendors' ),
175
- 'premium' => __( 'Premium Version', 'yith_wc_product_vendors' ),
176
  ) );
177
 
178
  $args = array(
179
  'create_menu_page' => true,
180
  'parent_slug' => '',
181
- 'page_title' => __( 'Multi Vendor', 'yith_wc_product_vendors' ),
182
- 'menu_title' => __( 'Multi Vendor', 'yith_wc_product_vendors' ),
183
  'capability' => apply_filters( 'yit_wcmv_plugin_options_capability', 'manage_options' ),
184
  'parent' => '',
185
  'parent_page' => 'yit_plugin_panel',
@@ -398,6 +398,8 @@ if ( !class_exists( 'YITH_Vendors_Admin' ) ) {
398
 
399
  wp_set_object_terms( $object_id, $terms, $taxonomy, false );
400
  }
 
 
401
  }
402
  }
403
 
@@ -410,19 +412,39 @@ if ( !class_exists( 'YITH_Vendors_Admin' ) ) {
410
  * @use current_screen filter
411
  */
412
  public function disabled_manage_other_vendors_posts() {
413
- if ( isset( $_POST[ 'post_ID' ] ) || !isset( $_GET[ 'post' ] ) ) {
414
  return;
415
  }
416
 
417
- $vendor = yith_get_vendor( 'current', 'user' );
 
 
418
  /* WPML Support */
419
- $default_language = function_exists( 'wpml_get_default_language' ) ? wpml_get_default_language() : null;
420
- $post_id = yit_wpml_object_id( $_GET['post'], 'product', true, $default_language );
421
- $product_vendor = yith_get_vendor( $post_id, 'product' ); // If false, the product hasn't any vendor set
422
- $post = get_post( $_GET['post'] );
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
423
 
424
- if ( $vendor->has_limited_access() && false !== $product_vendor && $vendor->id != $product_vendor->id ) {
425
- wp_die( sprintf( __( 'You do not have permission to edit this product. %1$sClick here to view and edit your products%2$s.', 'yith_wc_product_vendors' ), '<a href="' . esc_url( 'edit.php?post_type=product' ) . '">', '</a>' ) );
426
  }
427
  }
428
 
@@ -468,8 +490,8 @@ if ( !class_exists( 'YITH_Vendors_Admin' ) ) {
468
 
469
  $menus = apply_filters( 'yith_wc_product_vendors_details_menu_items', array(
470
  'vendor_details' => array(
471
- 'page_title' => __( 'Vendor Profile', 'yith_wc_product_vendors' ),
472
- 'menu_title' => __( 'Vendor Profile', 'yith_wc_product_vendors' ),
473
  'capability' => 'edit_products',
474
  'menu_slug' => 'yith_vendor_details',
475
  'function' => array( $this, 'admin_details_page' ),
@@ -600,8 +622,8 @@ if ( !class_exists( 'YITH_Vendors_Admin' ) ) {
600
  $duplicate = false;
601
  }
602
 
603
- $message = __( 'A vendor with this name already exists.', 'yith_wc_product_vendors' );
604
- $title = __( 'Vendor name already exists', 'yith_wc_product_vendors' );
605
  $back_link = admin_url( 'edit-tag.php' );
606
 
607
  $back_link = esc_url( add_query_arg( $back_link, array(
@@ -618,7 +640,7 @@ if ( !class_exists( 'YITH_Vendors_Admin' ) ) {
618
  } else {
619
  $duplicate = get_term_by( 'name', $term, $taxonomy );
620
 
621
- return !$duplicate ? $term : new WP_Error( 'term_exists', __( 'A vendor with this name already exists.', 'yith_wc_product_vendors' ), $duplicate );
622
  }
623
  }
624
 
@@ -1020,12 +1042,12 @@ if ( !class_exists( 'YITH_Vendors_Admin' ) ) {
1020
  * @use plugin_action_links_{$plugin_file_name}
1021
  */
1022
  public function action_links( $links ) {
1023
- $links[] = '<a href="' . admin_url( "admin.php?page={$this->_panel_page}" ) . '">' . __( 'Settings', 'yith_wc_product_vendors' ) . '</a>';
1024
- $premium_live_text = defined( 'YITH_WPV_FREE_INIT' ) ? __( 'Premium live demo', 'yith_wc_product_vendors' ) : __( 'Live demo', 'yith_wc_product_vendors' );
1025
  $links[] = '<a href="' . $this->_premium_live . '" target="_blank">' . $premium_live_text . '</a>';
1026
 
1027
  if ( defined( 'YITH_WPV_FREE_INIT' ) ) {
1028
- $links[] = '<a href="' . $this->get_premium_landing_uri() . '" target="_blank">' . __( 'Premium Version', 'yith_wc_product_vendors' ) . '</a>';
1029
  }
1030
 
1031
  return $links;
@@ -1049,7 +1071,7 @@ if ( !class_exists( 'YITH_Vendors_Admin' ) ) {
1049
  public function plugin_row_meta( $plugin_meta, $plugin_file, $plugin_data, $status ) {
1050
 
1051
  if ( ( defined( 'YITH_WPV_INIT' ) && YITH_WPV_INIT == $plugin_file ) || ( defined( 'YITH_WPV_FREE_INIT' ) && YITH_WPV_FREE_INIT == $plugin_file ) ) {
1052
- $plugin_meta[] = '<a href="' . $this->_official_documentation . '" target="_blank">' . __( 'Plugin Documentation', 'yith_wc_product_vendors' ) . '</a>';
1053
  }
1054
 
1055
  return $plugin_meta;
@@ -1173,7 +1195,7 @@ if ( !class_exists( 'YITH_Vendors_Admin' ) ) {
1173
  global $post;
1174
  $vendor = yith_get_vendor( 'current', 'user' );
1175
  $is_ajax = defined( 'DOING_AJAX' ) && DOING_AJAX;
1176
- $is_order_details = is_admin() && !$is_ajax && 'shop_order' == get_current_screen()->id;
1177
  $refund_management = 'yes' == get_option( 'yith_wpv_vendors_option_order_refund_synchronization', 'no' ) ? true : false;
1178
  $quote_management = 'yes' == get_option( 'yith_wpv_vendors_enable_request_quote', 'no' ) ? true : false;
1179
 
@@ -1334,7 +1356,7 @@ if ( !class_exists( 'YITH_Vendors_Admin' ) ) {
1334
 
1335
  $user = new WP_User( $user_id );
1336
  $user_roles = array();
1337
- $output = esc_html__( 'None', 'yith_wc_product_vendors' );
1338
 
1339
  if ( is_array( $user->roles ) ) {
1340
  foreach ( $user->roles as $role ) {
@@ -1365,7 +1387,7 @@ if ( !class_exists( 'YITH_Vendors_Admin' ) ) {
1365
  }
1366
 
1367
  // Add our new roles column.
1368
- $columns[ 'roles' ] = esc_html__( 'Roles', 'yith_wc_product_vendors' );
1369
 
1370
  return $columns;
1371
  }
@@ -1545,56 +1567,56 @@ if ( !class_exists( 'YITH_Vendors_Admin' ) ) {
1545
  public function get_sidebar_link(){
1546
  $links = array(
1547
  array(
1548
- 'title' => __( 'Plugin documentation', 'yith_wc_product_vendors' ),
1549
  'url' => $this->_official_documentation,
1550
  ),
1551
  );
1552
 
1553
  if( defined( 'YITH_WPV_FREE_INIT' ) ){
1554
  $links[] = array(
1555
- 'title' => __( 'Discover the premium version', 'yith_wc_product_vendors' ),
1556
  'url' => $this->_premium_landing,
1557
  );
1558
 
1559
  $links[] = array(
1560
- 'title' => __( 'Free Vs Premium', 'yith_wc_product_vendors' ),
1561
  'url' => 'https://yithemes.com/themes/plugins/yith-woocommerce-multi-vendor/#tab-free_vs_premium_tab',
1562
  );
1563
 
1564
  $links[] = array(
1565
- 'title' => __( 'Premium live demo', 'yith_wc_product_vendors' ),
1566
  'url' => $this->_premium_live
1567
  );
1568
 
1569
  $links[] = array(
1570
- 'title' => __( 'WordPress support forum', 'yith_wc_product_vendors' ),
1571
  'url' => 'https://wordpress.org/support/plugin/yith-woocommerce-product-vendors',
1572
  );
1573
 
1574
  $links[] = array(
1575
- 'title' => __( 'Changelog', 'yith_wc_product_vendors' ),
1576
  'url' => 'http://yithemes.com/docs-plugins/yith-woocommerce-multi-vendor/14-changelog.html',
1577
  );
1578
  }
1579
 
1580
  if( defined( 'YITH_WPV_PREMIUM' ) ){
1581
  $links[] = array(
1582
- 'title' => __( 'Support platform', 'yith_wc_product_vendors' ),
1583
  'url' => 'https://yithemes.com/my-account/support/dashboard/',
1584
  );
1585
 
1586
  $links[] = array(
1587
- 'title' => sprintf( '%s (%s %s)', __( 'Changelog', 'yith_wc_product_vendors' ), __( 'current version','yith_wc_product_vendors' ), YITH_WPV_VERSION ),
1588
  'url' => 'http://yithemes.com/docs-plugins/yith-woocommerce-multi-vendor/15-changelog-premium.html',
1589
  );
1590
 
1591
  $links[] = array(
1592
- 'title' => __( 'PayPal sandbox test accounts', 'yith_wc_product_vendors' ),
1593
  'url' => 'https://developer.paypal.com/developer/accounts/',
1594
  );
1595
 
1596
  $links[] = array(
1597
- 'title' => __( 'Enable PayPal MassPay', 'yith_wc_product_vendors' ),
1598
  'url' => 'https://www.paypal.com/selfhelp/home',
1599
  );
1600
  }
170
  }
171
 
172
  $admin_tabs = apply_filters( 'yith_vendors_admin_tabs', array(
173
+ 'commissions' => __( 'Commissions', 'yith-woocommerce-product-vendors' ),
174
+ 'vendors' => __( 'Vendors', 'yith-woocommerce-product-vendors' ),
175
+ 'premium' => __( 'Premium Version', 'yith-woocommerce-product-vendors' ),
176
  ) );
177
 
178
  $args = array(
179
  'create_menu_page' => true,
180
  'parent_slug' => '',
181
+ 'page_title' => __( 'Multi Vendor', 'yith-woocommerce-product-vendors' ),
182
+ 'menu_title' => __( 'Multi Vendor', 'yith-woocommerce-product-vendors' ),
183
  'capability' => apply_filters( 'yit_wcmv_plugin_options_capability', 'manage_options' ),
184
  'parent' => '',
185
  'parent_page' => 'yit_plugin_panel',
398
 
399
  wp_set_object_terms( $object_id, $terms, $taxonomy, false );
400
  }
401
+
402
+ do_action( 'yith_wcmv_save_post_product', $post_id, $post, $current_vendor );
403
  }
404
  }
405
 
412
  * @use current_screen filter
413
  */
414
  public function disabled_manage_other_vendors_posts() {
415
+ if ( isset( $_POST[ 'post_ID' ] ) || ! isset( $_GET[ 'post' ] ) ) {
416
  return;
417
  }
418
 
419
+ $post_id = $product_vendor = 0;
420
+ $vendor = yith_get_vendor( 'current', 'user' );
421
+
422
  /* WPML Support */
423
+ $default_language = function_exists( 'wpml_get_default_language' ) ? wpml_get_default_language() : null;
424
+ $post = get_post( $_GET['post'] );
425
+ $is_seller = $vendor->is_valid() && $vendor->has_limited_access();
426
+
427
+ if( $post && 'product' == $post->post_type ){
428
+ $post_id = yit_wpml_object_id( $_GET['post'], 'product', true, $default_language );
429
+ $product_vendor = yith_get_vendor( $post_id, 'product' ); // If false, the product hasn't any vendor set
430
+ if ( $is_seller && false !== $product_vendor && $vendor->id != $product_vendor->id ) {
431
+ wp_die( sprintf( __( 'You do not have permission to edit this product. %1$sClick here to view and edit your products%2$s.', 'yith-woocommerce-product-vendors' ), '<a href="' . esc_url( 'edit.php?post_type=product' ) . '">', '</a>' ) );
432
+ }
433
+ }
434
+
435
+ if( $post && 'shop_order' == $post->post_type ){
436
+ $vendor_orders = $vendor->get_orders( 'all' );
437
+ if( $is_seller && ! in_array( $post->ID, $vendor_orders ) ){
438
+ wp_die( sprintf( __( 'You do not have permission to edit this order. %1$sClick here to view and edit your orders%2$s.', 'yith-woocommerce-product-vendors' ), '<a href="' . esc_url( 'edit.php?post_type=shop_order' ) . '">', '</a>' ) );
439
+ }
440
+ }
441
+
442
+
443
+
444
+
445
+ if( $is_seller ){
446
+
447
 
 
 
448
  }
449
  }
450
 
490
 
491
  $menus = apply_filters( 'yith_wc_product_vendors_details_menu_items', array(
492
  'vendor_details' => array(
493
+ 'page_title' => __( 'Vendor Profile', 'yith-woocommerce-product-vendors' ),
494
+ 'menu_title' => __( 'Vendor Profile', 'yith-woocommerce-product-vendors' ),
495
  'capability' => 'edit_products',
496
  'menu_slug' => 'yith_vendor_details',
497
  'function' => array( $this, 'admin_details_page' ),
622
  $duplicate = false;
623
  }
624
 
625
+ $message = __( 'A vendor with this name already exists.', 'yith-woocommerce-product-vendors' );
626
+ $title = __( 'Vendor name already exists', 'yith-woocommerce-product-vendors' );
627
  $back_link = admin_url( 'edit-tag.php' );
628
 
629
  $back_link = esc_url( add_query_arg( $back_link, array(
640
  } else {
641
  $duplicate = get_term_by( 'name', $term, $taxonomy );
642
 
643
+ return !$duplicate ? $term : new WP_Error( 'term_exists', __( 'A vendor with this name already exists.', 'yith-woocommerce-product-vendors' ), $duplicate );
644
  }
645
  }
646
 
1042
  * @use plugin_action_links_{$plugin_file_name}
1043
  */
1044
  public function action_links( $links ) {
1045
+ $links[] = '<a href="' . admin_url( "admin.php?page={$this->_panel_page}" ) . '">' . __( 'Settings', 'yith-woocommerce-product-vendors' ) . '</a>';
1046
+ $premium_live_text = defined( 'YITH_WPV_FREE_INIT' ) ? __( 'Premium live demo', 'yith-woocommerce-product-vendors' ) : __( 'Live demo', 'yith-woocommerce-product-vendors' );
1047
  $links[] = '<a href="' . $this->_premium_live . '" target="_blank">' . $premium_live_text . '</a>';
1048
 
1049
  if ( defined( 'YITH_WPV_FREE_INIT' ) ) {
1050
+ $links[] = '<a href="' . $this->get_premium_landing_uri() . '" target="_blank">' . __( 'Premium Version', 'yith-woocommerce-product-vendors' ) . '</a>';
1051
  }
1052
 
1053
  return $links;
1071
  public function plugin_row_meta( $plugin_meta, $plugin_file, $plugin_data, $status ) {
1072
 
1073
  if ( ( defined( 'YITH_WPV_INIT' ) && YITH_WPV_INIT == $plugin_file ) || ( defined( 'YITH_WPV_FREE_INIT' ) && YITH_WPV_FREE_INIT == $plugin_file ) ) {
1074
+ $plugin_meta[] = '<a href="' . $this->_official_documentation . '" target="_blank">' . __( 'Plugin Documentation', 'yith-woocommerce-product-vendors' ) . '</a>';
1075
  }
1076
 
1077
  return $plugin_meta;
1195
  global $post;
1196
  $vendor = yith_get_vendor( 'current', 'user' );
1197
  $is_ajax = defined( 'DOING_AJAX' ) && DOING_AJAX;
1198
+ $is_order_details = is_admin() && ! $is_ajax && 'shop_order' == get_current_screen()->id;
1199
  $refund_management = 'yes' == get_option( 'yith_wpv_vendors_option_order_refund_synchronization', 'no' ) ? true : false;
1200
  $quote_management = 'yes' == get_option( 'yith_wpv_vendors_enable_request_quote', 'no' ) ? true : false;
1201
 
1356
 
1357
  $user = new WP_User( $user_id );
1358
  $user_roles = array();
1359
+ $output = esc_html__( 'None', 'yith-woocommerce-product-vendors' );
1360
 
1361
  if ( is_array( $user->roles ) ) {
1362
  foreach ( $user->roles as $role ) {
1387
  }
1388
 
1389
  // Add our new roles column.
1390
+ $columns[ 'roles' ] = esc_html__( 'Roles', 'yith-woocommerce-product-vendors' );
1391
 
1392
  return $columns;
1393
  }
1567
  public function get_sidebar_link(){
1568
  $links = array(
1569
  array(
1570
+ 'title' => __( 'Plugin documentation', 'yith-woocommerce-product-vendors' ),
1571
  'url' => $this->_official_documentation,
1572
  ),
1573
  );
1574
 
1575
  if( defined( 'YITH_WPV_FREE_INIT' ) ){
1576
  $links[] = array(
1577
+ 'title' => __( 'Discover the premium version', 'yith-woocommerce-product-vendors' ),
1578
  'url' => $this->_premium_landing,
1579
  );
1580
 
1581
  $links[] = array(
1582
+ 'title' => __( 'Free Vs Premium', 'yith-woocommerce-product-vendors' ),
1583
  'url' => 'https://yithemes.com/themes/plugins/yith-woocommerce-multi-vendor/#tab-free_vs_premium_tab',
1584
  );
1585
 
1586
  $links[] = array(
1587
+ 'title' => __( 'Premium live demo', 'yith-woocommerce-product-vendors' ),
1588
  'url' => $this->_premium_live
1589
  );
1590
 
1591
  $links[] = array(
1592
+ 'title' => __( 'WordPress support forum', 'yith-woocommerce-product-vendors' ),
1593
  'url' => 'https://wordpress.org/support/plugin/yith-woocommerce-product-vendors',
1594
  );
1595
 
1596
  $links[] = array(
1597
+ 'title' => __( 'Changelog', 'yith-woocommerce-product-vendors' ),
1598
  'url' => 'http://yithemes.com/docs-plugins/yith-woocommerce-multi-vendor/14-changelog.html',
1599
  );
1600
  }
1601
 
1602
  if( defined( 'YITH_WPV_PREMIUM' ) ){
1603
  $links[] = array(
1604
+ 'title' => __( 'Support platform', 'yith-woocommerce-product-vendors' ),
1605
  'url' => 'https://yithemes.com/my-account/support/dashboard/',
1606
  );
1607
 
1608
  $links[] = array(
1609
+ 'title' => sprintf( '%s (%s %s)', __( 'Changelog', 'yith-woocommerce-product-vendors' ), __( 'current version','yith-woocommerce-product-vendors' ), YITH_WPV_VERSION ),
1610
  'url' => 'http://yithemes.com/docs-plugins/yith-woocommerce-multi-vendor/15-changelog-premium.html',
1611
  );
1612
 
1613
  $links[] = array(
1614
+ 'title' => __( 'PayPal sandbox test accounts', 'yith-woocommerce-product-vendors' ),
1615
  'url' => 'https://developer.paypal.com/developer/accounts/',
1616
  );
1617
 
1618
  $links[] = array(
1619
+ 'title' => __( 'Enable PayPal MassPay', 'yith-woocommerce-product-vendors' ),
1620
  'url' => 'https://www.paypal.com/selfhelp/home',
1621
  );
1622
  }
modules/yith-woocommerce-product-vendors/includes/class.yith-vendors-frontend.php CHANGED
@@ -57,6 +57,11 @@ if ( ! class_exists( 'YITH_Vendors_Frontend' ) ) {
57
 
58
  /* MyAccount -> My Order: Disable suborder view */
59
  add_filter( 'woocommerce_my_account_my_orders_query', array( $this, 'my_account_my_orders_query' ) );
 
 
 
 
 
60
  }
61
 
62
  /**
@@ -269,6 +274,47 @@ if ( ! class_exists( 'YITH_Vendors_Frontend' ) ) {
269
  $query_args['post_parent'] = 0;
270
  return $query_args;
271
  }
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
272
  }
273
  }
274
 
57
 
58
  /* MyAccount -> My Order: Disable suborder view */
59
  add_filter( 'woocommerce_my_account_my_orders_query', array( $this, 'my_account_my_orders_query' ) );
60
+
61
+ add_filter( 'woocommerce_customer_get_downloadable_products' , array( $this ,'get_downloadable_products' ) );
62
+
63
+ /* Support to Adventure Tours Product Type */
64
+ class_exists( 'WC_Tour_WP_Query' ) && add_filter( 'yith_wcmv_vendor_get_products_query_args', array( $this, 'add_wc_tour_query_type' ) );
65
  }
66
 
67
  /**
274
  $query_args['post_parent'] = 0;
275
  return $query_args;
276
  }
277
+
278
+ /**
279
+ * Filter download permission (show only parent order)
280
+ *
281
+ * @author Salvatore Strano
282
+ * @param $downloads
283
+ * @return array
284
+ */
285
+ public function get_downloadable_products( $downloads ){
286
+
287
+ $new_downloads = array();
288
+
289
+ foreach ( $downloads as $download ){
290
+
291
+ $order_id = $download['order_id'];
292
+ $order = wc_get_order( $order_id );
293
+
294
+ //show only parent order download
295
+
296
+ if( $order->post->post_parent == 0 ){
297
+ $new_downloads[] = $download;
298
+ }
299
+
300
+ }
301
+
302
+ return $new_downloads;
303
+ }
304
+
305
+ /**
306
+ * Add Support to Adventure Tours Product Type
307
+ *
308
+ * Add the correct wc_query arg to get_posts array
309
+ *
310
+ * @author Andrea Grillo <andrea.grillo@yithemes.com>
311
+ * @since 1.9.13
312
+ * @return $args array WP_Query array
313
+ */
314
+ public function add_wc_tour_query_type( $args ){
315
+ $args['wc_query'] = 'tours';
316
+ return $args;
317
+ }
318
  }
319
  }
320
 
modules/yith-woocommerce-product-vendors/includes/class.yith-vendors.php CHANGED
@@ -331,23 +331,23 @@ if ( ! class_exists( 'YITH_Vendors' ) ) {
331
  public function get_vendors_taxonomy_label( $arg = '' ) {
332
 
333
  $label = apply_filters( 'yith_product_vendors_taxonomy_label', array(
334
- 'name' => __( 'Vendor', 'yith_wc_product_vendors' ),
335
- 'singular_name' => __( 'Vendor', 'yith_wc_product_vendors' ),
336
- 'menu_name' => __( 'Vendors', 'yith_wc_product_vendors' ),
337
- 'search_items' => __( 'Search Vendors', 'yith_wc_product_vendors' ),
338
- 'all_items' => __( 'All Vendors', 'yith_wc_product_vendors' ),
339
- 'parent_item' => __( 'Parent Vendor', 'yith_wc_product_vendors' ),
340
- 'parent_item_colon' => __( 'Parent Vendor:', 'yith_wc_product_vendors' ),
341
- 'view_item' => __( 'View Vendor', 'yith_wc_product_vendors' ),
342
- 'edit_item' => __( 'Edit Vendor', 'yith_wc_product_vendors' ),
343
- 'update_item' => __( 'Update Vendor', 'yith_wc_product_vendors' ),
344
- 'add_new_item' => __( 'Add New Vendor', 'yith_wc_product_vendors' ),
345
- 'new_item_name' => __( 'New Vendor\'s Name', 'yith_wc_product_vendors' ),
346
  'popular_items' => null, //don't remove!
347
- 'separate_items_with_commas' => __( 'Separate vendors with commas', 'yith_wc_product_vendors' ),
348
- 'add_or_remove_items' => __( 'Add or remove vendors', 'yith_wc_product_vendors' ),
349
- 'choose_from_most_used' => __( 'Choose from most used vendors', 'yith_wc_product_vendors' ),
350
- 'not_found' => __( 'No vendors found', 'yith_wc_product_vendors' ),
351
  )
352
  );
353
 
331
  public function get_vendors_taxonomy_label( $arg = '' ) {
332
 
333
  $label = apply_filters( 'yith_product_vendors_taxonomy_label', array(
334
+ 'name' => __( 'Vendor', 'yith-woocommerce-product-vendors' ),
335
+ 'singular_name' => __( 'Vendor', 'yith-woocommerce-product-vendors' ),
336
+ 'menu_name' => __( 'Vendors', 'yith-woocommerce-product-vendors' ),
337
+ 'search_items' => __( 'Search Vendors', 'yith-woocommerce-product-vendors' ),
338
+ 'all_items' => __( 'All Vendors', 'yith-woocommerce-product-vendors' ),
339
+ 'parent_item' => __( 'Parent Vendor', 'yith-woocommerce-product-vendors' ),
340
+ 'parent_item_colon' => __( 'Parent Vendor:', 'yith-woocommerce-product-vendors' ),
341
+ 'view_item' => __( 'View Vendor', 'yith-woocommerce-product-vendors' ),
342
+ 'edit_item' => __( 'Edit Vendor', 'yith-woocommerce-product-vendors' ),
343
+ 'update_item' => __( 'Update Vendor', 'yith-woocommerce-product-vendors' ),
344
+ 'add_new_item' => __( 'Add New Vendor', 'yith-woocommerce-product-vendors' ),
345
+ 'new_item_name' => __( 'New Vendor\'s Name', 'yith-woocommerce-product-vendors' ),
346
  'popular_items' => null, //don't remove!
347
+ 'separate_items_with_commas' => __( 'Separate vendors with commas', 'yith-woocommerce-product-vendors' ),
348
+ 'add_or_remove_items' => __( 'Add or remove vendors', 'yith-woocommerce-product-vendors' ),
349
+ 'choose_from_most_used' => __( 'Choose from most used vendors', 'yith-woocommerce-product-vendors' ),
350
+ 'not_found' => __( 'No vendors found', 'yith-woocommerce-product-vendors' ),
351
  )
352
  );
353
 
modules/yith-woocommerce-product-vendors/includes/lib/class.yith-commissions-list-table.php CHANGED
@@ -56,18 +56,18 @@ if ( ! class_exists( 'YITH_Commissions_List_Table' ) ) {
56
  */
57
  public function get_columns() {
58
  $columns = apply_filters( 'yith_commissions_list_table_column', array(
59
- 'commission_id' => __( 'ID', 'yith_wc_product_vendors' ),
60
- 'commission_status' => '<span class="status_head tips" data-tip="' . esc_attr__( 'Status', 'yith_wc_product_vendors' ) . '">' . esc_attr__( 'Status', 'yith_wc_product_vendors' ) . '</span>',
61
- 'order_id' => __( 'Order', 'yith_wc_product_vendors' ),
62
- 'line_item' => __( 'Product', 'yith_wc_product_vendors' ),
63
- 'rate' => __( 'Rate', 'yith_wc_product_vendors' ),
64
- 'user' => __( 'User', 'yith_wc_product_vendors' ),
65
  'vendor' => YITH_Vendors()->get_vendors_taxonomy_label( 'singular_name' ),
66
- 'bank_account' => __( 'IBAN/BIC', 'yith_wc_product_vendors' ),
67
- 'amount' => __( 'Amount', 'yith_wc_product_vendors' ),
68
- 'date' => __( 'Date', 'yith_wc_product_vendors' ),
69
- 'date_edit' => __( 'Last update', 'yith_wc_product_vendors' ),
70
- 'user_actions' => __( 'Actions', 'yith_wc_product_vendors' ),
71
  )
72
  );
73
 
@@ -205,7 +205,7 @@ if ( ! class_exists( 'YITH_Commissions_List_Table' ) ) {
205
  $order = wc_get_order( $rec->order_id );
206
 
207
  if( ! $order ){
208
- echo '<small class="meta">' . __( 'Order Deleted', 'yith_wc_product_vendors' ) . '</small>';
209
  return;
210
  }
211
 
@@ -256,7 +256,7 @@ if ( ! class_exists( 'YITH_Commissions_List_Table' ) ) {
256
  $order_info = $order_number;
257
  }
258
 
259
- printf( _x( '%s by %s', 'Order number by user', 'yith_wc_product_vendors' ), $order_info, $username );
260
 
261
  if ( $order->billing_email ) {
262
  echo '<small class="meta email"><a href="' . esc_url( 'mailto:' . $order->billing_email ) . '">' . esc_html( $order->billing_email ) . '</a></small>';
@@ -284,7 +284,7 @@ if ( ! class_exists( 'YITH_Commissions_List_Table' ) ) {
284
  $user = $rec->get_user();
285
 
286
  if ( empty( $user ) ) {
287
- return "<em>" . __( 'User deleted', 'yith_wc_product_vendors' ) . "</em>";
288
  }
289
 
290
  $user_url = get_edit_user_link( $rec->user_id );
@@ -296,7 +296,7 @@ if ( ! class_exists( 'YITH_Commissions_List_Table' ) ) {
296
  $vendor = $rec->get_vendor();
297
 
298
  if ( ! $vendor->is_valid() ) {
299
- return "<em>" . __( 'Vendor deleted', 'yith_wc_product_vendors' ) . "</em>";
300
  }
301
 
302
  $vendor_url = get_edit_term_link( $vendor->id, $vendor->taxonomy );
@@ -309,22 +309,22 @@ if ( ! class_exists( 'YITH_Commissions_List_Table' ) ) {
309
  break;
310
 
311
  case 'user_actions':
312
- printf( '<a class="button tips view" href="%1$s" data-tip="%2$s">%2$s</a>', $rec->get_view_url( 'admin' ), __( 'View', 'yith_wc_product_vendors' ) );
313
  break;
314
 
315
  case 'date':
316
  $date = $rec->get_date();
317
- $t_time = date_i18n( __( 'Y/m/d g:i:s A', 'yith_wc_product_vendors' ), mysql2date( 'U', $date ) );
318
  $m_time = $date;
319
  $time = mysql2date( 'G', $date );
320
 
321
  $time_diff = time() - $time;
322
 
323
  if ( $time_diff > 0 && $time_diff < DAY_IN_SECONDS ) {
324
- $h_time = sprintf( __( '%s ago', 'yith_wc_product_vendors' ), human_time_diff( $time ) );
325
  }
326
  else {
327
- $h_time = mysql2date( __( 'Y/m/d', 'yith_wc_product_vendors' ), $m_time );
328
  }
329
 
330
  echo $h_time ? '<abbr title="' . $t_time . '">' . $h_time . '</abbr>' : '<small class="meta">-</small>';
@@ -339,9 +339,9 @@ if ( ! class_exists( 'YITH_Commissions_List_Table' ) ) {
339
  $time_diff = time() - $time;
340
 
341
  if ( $time_diff > 0 && $time_diff < WEEK_IN_SECONDS )
342
- $h_time = sprintf( __( '%s ago', 'yith_wc_product_vendors' ), human_time_diff( $time ) );
343
  else
344
- $h_time = mysql2date( __( 'Y/m/d', 'yith_wc_product_vendors' ), $m_time );
345
 
346
  echo $h_time ? '<abbr title="' . $t_time . '">' . $h_time . '</abbr>' : '<small class="meta">-</small>';
347
  break;
@@ -373,7 +373,7 @@ if ( ! class_exists( 'YITH_Commissions_List_Table' ) ) {
373
  * @access public
374
  */
375
  public function no_items() {
376
- _e( 'No commissions found.', 'yith_wc_product_vendors' );
377
  }
378
 
379
 
56
  */
57
  public function get_columns() {
58
  $columns = apply_filters( 'yith_commissions_list_table_column', array(
59
+ 'commission_id' => __( 'ID', 'yith-woocommerce-product-vendors' ),
60
+ 'commission_status' => '<span class="status_head tips" data-tip="' . esc_attr__( 'Status', 'yith-woocommerce-product-vendors' ) . '">' . esc_attr__( 'Status', 'yith-woocommerce-product-vendors' ) . '</span>',
61
+ 'order_id' => __( 'Order', 'yith-woocommerce-product-vendors' ),
62
+ 'line_item' => __( 'Product', 'yith-woocommerce-product-vendors' ),
63
+ 'rate' => __( 'Rate', 'yith-woocommerce-product-vendors' ),
64
+ 'user' => __( 'User', 'yith-woocommerce-product-vendors' ),
65
  'vendor' => YITH_Vendors()->get_vendors_taxonomy_label( 'singular_name' ),
66
+ 'bank_account' => __( 'IBAN/BIC', 'yith-woocommerce-product-vendors' ),
67
+ 'amount' => __( 'Amount', 'yith-woocommerce-product-vendors' ),
68
+ 'date' => __( 'Date', 'yith-woocommerce-product-vendors' ),
69
+ 'date_edit' => __( 'Last update', 'yith-woocommerce-product-vendors' ),
70
+ 'user_actions' => __( 'Actions', 'yith-woocommerce-product-vendors' ),
71
  )
72
  );
73
 
205
  $order = wc_get_order( $rec->order_id );
206
 
207
  if( ! $order ){
208
+ echo '<small class="meta">' . __( 'Order Deleted', 'yith-woocommerce-product-vendors' ) . '</small>';
209
  return;
210
  }
211
 
256
  $order_info = $order_number;
257
  }
258
 
259
+ printf( _x( '%s by %s', 'Order number by user', 'yith-woocommerce-product-vendors' ), $order_info, $username );
260
 
261
  if ( $order->billing_email ) {
262
  echo '<small class="meta email"><a href="' . esc_url( 'mailto:' . $order->billing_email ) . '">' . esc_html( $order->billing_email ) . '</a></small>';
284
  $user = $rec->get_user();
285
 
286
  if ( empty( $user ) ) {
287
+ return "<em>" . __( 'User deleted', 'yith-woocommerce-product-vendors' ) . "</em>";
288
  }
289
 
290
  $user_url = get_edit_user_link( $rec->user_id );
296
  $vendor = $rec->get_vendor();
297
 
298
  if ( ! $vendor->is_valid() ) {
299
+ return "<em>" . __( 'Vendor deleted', 'yith-woocommerce-product-vendors' ) . "</em>";
300
  }
301
 
302
  $vendor_url = get_edit_term_link( $vendor->id, $vendor->taxonomy );
309
  break;
310
 
311
  case 'user_actions':
312
+ printf( '<a class="button tips view" href="%1$s" data-tip="%2$s">%2$s</a>', $rec->get_view_url( 'admin' ), __( 'View', 'yith-woocommerce-product-vendors' ) );
313
  break;
314
 
315
  case 'date':
316
  $date = $rec->get_date();
317
+ $t_time = date_i18n( __( 'Y/m/d g:i:s A', 'yith-woocommerce-product-vendors' ), mysql2date( 'U', $date ) );
318
  $m_time = $date;
319
  $time = mysql2date( 'G', $date );
320
 
321
  $time_diff = time() - $time;
322
 
323
  if ( $time_diff > 0 && $time_diff < DAY_IN_SECONDS ) {
324
+ $h_time = sprintf( __( '%s ago', 'yith-woocommerce-product-vendors' ), human_time_diff( $time ) );
325
  }
326
  else {
327
+ $h_time = mysql2date( __( 'Y/m/d', 'yith-woocommerce-product-vendors' ), $m_time );
328
  }
329
 
330
  echo $h_time ? '<abbr title="' . $t_time . '">' . $h_time . '</abbr>' : '<small class="meta">-</small>';
339
  $time_diff = time() - $time;
340
 
341
  if ( $time_diff > 0 && $time_diff < WEEK_IN_SECONDS )
342
+ $h_time = sprintf( __( '%s ago', 'yith-woocommerce-product-vendors' ), human_time_diff( $time ) );
343
  else
344
+ $h_time = mysql2date( __( 'Y/m/d', 'yith-woocommerce-product-vendors' ), $m_time );
345
 
346
  echo $h_time ? '<abbr title="' . $t_time . '">' . $h_time . '</abbr>' : '<small class="meta">-</small>';
347
  break;
373
  * @access public
374
  */
375
  public function no_items() {
376
+ _e( 'No commissions found.', 'yith-woocommerce-product-vendors' );
377
  }
378
 
379
 
modules/yith-woocommerce-product-vendors/includes/widgets/class.yith-woocommerce-vendors-widget.php CHANGED
@@ -26,9 +26,9 @@ if ( ! class_exists( 'YITH_Woocommerce_Vendors_Widget' ) ) {
26
  */
27
  function __construct() {
28
  $id_base = 'yith-vendors-list';
29
- $name = __( 'YITH Vendor List', 'yith_wc_product_vendors' );
30
  $widget_options = array(
31
- 'description' => __( 'Display the list with enabled vendors.', 'yith_wc_product_vendors' )
32
  );
33
 
34
  parent::__construct( $id_base, $name, $widget_options );
@@ -64,7 +64,7 @@ if ( ! class_exists( 'YITH_Woocommerce_Vendors_Widget' ) ) {
64
 
65
  public function form( $instance ) {
66
  $defaults = array(
67
- 'title' => __( 'Vendor List', 'yith_wc_product_vendors' ),
68
  'hide_on_vendor_page' => '',
69
  'show_product_number' => '',
70
  'hide_empty' => '',
@@ -73,22 +73,22 @@ if ( ! class_exists( 'YITH_Woocommerce_Vendors_Widget' ) ) {
73
  $instance = wp_parse_args( (array) $instance, $defaults );
74
  ?>
75
  <p>
76
- <label for="<?php echo $this->get_field_id( 'title' ); ?>"><?php _e( 'Title', 'yith_wc_product_vendors' ) ?>:
77
  <input type="text" id="<?php echo $this->get_field_id( 'title' ); ?>" name="<?php echo $this->get_field_name( 'title' ); ?>" value="<?php echo $instance['title']; ?>" class="widefat" />
78
  </label>
79
  </p>
80
  <p>
81
- <label for="<?php echo $this->get_field_id( 'hide_on_vendor_page' ); ?>"><?php _e( 'Hide this widget on vendor page', 'yith_wc_product_vendors' ) ?>:
82
  <input type="checkbox" id="<?php echo $this->get_field_id( 'hide_on_vendor_page' ); ?>" name="<?php echo $this->get_field_name( 'hide_on_vendor_page' ); ?>" value="1" <?php checked( $instance['hide_on_vendor_page'], 1, true )?> class="widefat" />
83
  </label>
84
  </p>
85
  <p>
86
- <label for="<?php echo $this->get_field_id( 'show_product_number' ); ?>"><?php _e( 'Vendor\'s products amount', 'yith_wc_product_vendors' ) ?>:
87
  <input type="checkbox" id="<?php echo $this->get_field_id( 'show_product_number' ); ?>" name="<?php echo $this->get_field_name( 'show_product_number' ); ?>" value="1" <?php checked( $instance['show_product_number'], 1, true )?> class="widefat" />
88
  </label>
89
  </p>
90
  <p>
91
- <label for="<?php echo $this->get_field_id( 'hide_empty' ); ?>"><?php _e( 'Hide vendors with no products', 'yith_wc_product_vendors' ) ?>:
92
  <input type="checkbox" id="<?php echo $this->get_field_id( 'hide_empty' ); ?>" name="<?php echo $this->get_field_name( 'hide_empty' ); ?>" value="1" <?php checked( $instance['hide_empty'], 1, true )?> class="widefat" />
93
  </label>
94
  </p>
26
  */
27
  function __construct() {
28
  $id_base = 'yith-vendors-list';
29
+ $name = __( 'YITH Vendor List', 'yith-woocommerce-product-vendors' );
30
  $widget_options = array(
31
+ 'description' => __( 'Display the list with enabled vendors.', 'yith-woocommerce-product-vendors' )
32
  );
33
 
34
  parent::__construct( $id_base, $name, $widget_options );
64
 
65
  public function form( $instance ) {
66
  $defaults = array(
67
+ 'title' => __( 'Vendor List', 'yith-woocommerce-product-vendors' ),
68
  'hide_on_vendor_page' => '',
69
  'show_product_number' => '',
70
  'hide_empty' => '',
73
  $instance = wp_parse_args( (array) $instance, $defaults );
74
  ?>
75
  <p>
76
+ <label for="<?php echo $this->get_field_id( 'title' ); ?>"><?php _e( 'Title', 'yith-woocommerce-product-vendors' ) ?>:
77
  <input type="text" id="<?php echo $this->get_field_id( 'title' ); ?>" name="<?php echo $this->get_field_name( 'title' ); ?>" value="<?php echo $instance['title']; ?>" class="widefat" />
78
  </label>
79
  </p>
80
  <p>
81
+ <label for="<?php echo $this->get_field_id( 'hide_on_vendor_page' ); ?>"><?php _e( 'Hide this widget on vendor page', 'yith-woocommerce-product-vendors' ) ?>:
82
  <input type="checkbox" id="<?php echo $this->get_field_id( 'hide_on_vendor_page' ); ?>" name="<?php echo $this->get_field_name( 'hide_on_vendor_page' ); ?>" value="1" <?php checked( $instance['hide_on_vendor_page'], 1, true )?> class="widefat" />
83
  </label>
84
  </p>
85
  <p>
86
+ <label for="<?php echo $this->get_field_id( 'show_product_number' ); ?>"><?php _e( 'Vendor\'s products amount', 'yith-woocommerce-product-vendors' ) ?>:
87
  <input type="checkbox" id="<?php echo $this->get_field_id( 'show_product_number' ); ?>" name="<?php echo $this->get_field_name( 'show_product_number' ); ?>" value="1" <?php checked( $instance['show_product_number'], 1, true )?> class="widefat" />
88
  </label>
89
  </p>
90
  <p>
91
+ <label for="<?php echo $this->get_field_id( 'hide_empty' ); ?>"><?php _e( 'Hide vendors with no products', 'yith-woocommerce-product-vendors' ) ?>:
92
  <input type="checkbox" id="<?php echo $this->get_field_id( 'hide_empty' ); ?>" name="<?php echo $this->get_field_name( 'hide_empty' ); ?>" value="1" <?php checked( $instance['hide_empty'], 1, true )?> class="widefat" />
93
  </label>
94
  </p>
modules/yith-woocommerce-product-vendors/init.php CHANGED
@@ -4,8 +4,8 @@ Plugin Name: YITH WooCommerce Multi Vendor
4
  Plugin URI: http://yithemes.com/themes/plugins/yith-woocommerce-product-vendors/
5
  Description: YITH WooCommerce Multi Vendor is a plugin explicitly developed to switch your website into a platform hosting more than one shop.
6
  Author: YITHEMES
7
- Text Domain: yith_wc_product_vendors
8
- Version: 1.9.11
9
  Author URI: http://yithemes.com/
10
  */
11
 
@@ -31,7 +31,7 @@ if( ! function_exists( 'install_premium_woocommerce_admin_notice' ) ) {
31
  */
32
  function install_premium_woocommerce_admin_notice() { ?>
33
  <div class="error">
34
- <p><?php _e( 'YITH WooCommerce Multi Vendor is enabled but not effective. It requires WooCommerce in order to work.', 'yith_wc_product_vendors' ); ?></p>
35
  </div>
36
  <?php
37
  }
@@ -46,7 +46,7 @@ if ( ! function_exists( 'WC' ) ) {
46
  if ( defined( 'YITH_WPV_VERSION' ) ) {
47
  return;
48
  } else {
49
- define( 'YITH_WPV_VERSION', '1.9.11' );
50
  }
51
 
52
  if ( ! defined( 'YITH_WPV_DB_VERSION' ) ) {
@@ -54,7 +54,7 @@ if ( ! defined( 'YITH_WPV_DB_VERSION' ) ) {
54
  }
55
 
56
  /* Load YWCM text domain */
57
- load_plugin_textdomain( 'yith_wc_product_vendors', false, dirname( plugin_basename( __FILE__ ) ) . '/languages/' );
58
 
59
  if ( ! defined( 'YITH_WPV_FREE_INIT' ) ) {
60
  define( 'YITH_WPV_FREE_INIT', plugin_basename( __FILE__ ) );
4
  Plugin URI: http://yithemes.com/themes/plugins/yith-woocommerce-product-vendors/
5
  Description: YITH WooCommerce Multi Vendor is a plugin explicitly developed to switch your website into a platform hosting more than one shop.
6
  Author: YITHEMES
7
+ Text Domain: yith-woocommerce-product-vendors
8
+ Version: 1.9.13
9
  Author URI: http://yithemes.com/
10
  */
11
 
31
  */
32
  function install_premium_woocommerce_admin_notice() { ?>
33
  <div class="error">
34
+ <p><?php _e( 'YITH WooCommerce Multi Vendor is enabled but not effective. It requires WooCommerce in order to work.', 'yith-woocommerce-product-vendors' ); ?></p>
35
  </div>
36
  <?php
37
  }
46
  if ( defined( 'YITH_WPV_VERSION' ) ) {
47
  return;
48
  } else {
49
+ define( 'YITH_WPV_VERSION', '1.9.13' );
50
  }
51
 
52
  if ( ! defined( 'YITH_WPV_DB_VERSION' ) ) {
54
  }
55
 
56
  /* Load YWCM text domain */
57
+ load_plugin_textdomain( 'yith-woocommerce-product-vendors', false, dirname( plugin_basename( __FILE__ ) ) . '/languages/' );
58
 
59
  if ( ! defined( 'YITH_WPV_FREE_INIT' ) ) {
60
  define( 'YITH_WPV_FREE_INIT', plugin_basename( __FILE__ ) );
modules/yith-woocommerce-product-vendors/languages/yith-woocommerce-product-vendors-it_IT.mo ADDED
Binary file
modules/yith-woocommerce-product-vendors/languages/yith-woocommerce-product-vendors-it_IT.po ADDED
@@ -0,0 +1,3014 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ msgid ""
2
+ msgstr ""
3
+ "Project-Id-Version: YITH WooCommerce Multi Vendor\n"
4
+ "POT-Creation-Date: 2016-05-24 11:44+0200\n"
5
+ "PO-Revision-Date: 2016-05-24 11:44+0200\n"
6
+ "Last-Translator: \n"
7
+ "Language-Team: YIThemes <plugins@yithemes.com>\n"
8
+ "Language: it_IT\n"
9
+ "MIME-Version: 1.0\n"
10
+ "Content-Type: text/plain; charset=UTF-8\n"
11
+ "Content-Transfer-Encoding: 8bit\n"
12
+ "X-Generator: Poedit 1.8.4\n"
13
+ "X-Poedit-Basepath: ..\n"
14
+ "Plural-Forms: nplurals=2; plural=n!=1;\n"
15
+ "X-Poedit-KeywordsList: __ ;_e;_n:1,2;__ngettext:1,2;__ngettext_noop:1,2;"
16
+ "_n_noop:1,2;_c,_nc:4c,1,2;_x:1,2c;_ex:1,2c;_nx:4c,1,2;_nx_noop:4c,1,2;"
17
+ "esc_attr__;esc_attr_e\n"
18
+ "X-Poedit-SourceCharset: UTF-8\n"
19
+ "X-Poedit-SearchPath-0: .\n"
20
+ "X-Poedit-SearchPathExcluded-0: plugin-fw\n"
21
+
22
+ #: includes/class.yith-commission.php:461
23
+ #, php-format
24
+ msgid "Commission status changed from %s to %s."
25
+ msgstr "Stato commissione modificato da %s a %s."
26
+
27
+ #: includes/class.yith-commissions.php:188
28
+ msgid "Commission status not updated!"
29
+ msgstr "Stato commissione non aggiornato!"
30
+
31
+ #: includes/class.yith-commissions.php:189
32
+ msgid "Commission status updated!"
33
+ msgstr "Stato commissione aggiornato!"
34
+
35
+ #: includes/class.yith-commissions.php:190
36
+ msgid ""
37
+ "Payment successful. In a few minutes you will receive an email with the "
38
+ "outcome of the payment and the commission state will be changed accordingly."
39
+ msgstr ""
40
+ "Pagamento effettuato con successo. A breve riceverai un'email con il "
41
+ "resoconto del pagamento e lo stato della commissione sarà modificato "
42
+ "automaticamente."
43
+
44
+ #: includes/class.yith-commissions.php:191
45
+ msgid "Payment failed."
46
+ msgstr "Pagamento fallito."
47
+
48
+ #: includes/class.yith-commissions.php:226
49
+ msgid "Paid"
50
+ msgstr "Pagato"
51
+
52
+ #: includes/class.yith-commissions.php:227
53
+ msgid "Unpaid"
54
+ msgstr "Non pagato"
55
+
56
+ #: includes/class.yith-commissions.php:228
57
+ msgid "Pending"
58
+ msgstr "In attesa di pagamento"
59
+
60
+ #: includes/class.yith-commissions.php:229
61
+ msgid "Refunded"
62
+ msgstr "Rimborsato"
63
+
64
+ #: includes/class.yith-commissions.php:230
65
+ msgid "Cancelled"
66
+ msgstr "Annullato"
67
+
68
+ #: includes/class.yith-commissions.php:231
69
+ msgid "Processing"
70
+ msgstr "In corso"
71
+
72
+ #: includes/class.yith-commissions.php:290
73
+ #: includes/class.yith-commissions.php:291
74
+ #: includes/class.yith-commissions.php:1289
75
+ #: includes/class.yith-vendors-admin.php:173
76
+ msgid "Commissions"
77
+ msgstr "Commissioni"
78
+
79
+ #: includes/class.yith-commissions.php:358
80
+ msgid "Vendor Commissions"
81
+ msgstr "Commissioni venditore"
82
+
83
+ #: includes/class.yith-commissions.php:395
84
+ msgid "Earnings by vendor"
85
+ msgstr ""
86
+
87
+ #: includes/class.yith-commissions.php:413
88
+ #, php-format
89
+ msgid "Commission #%d details"
90
+ msgstr "Dettagli commissione #%d"
91
+
92
+ #: includes/class.yith-commissions.php:414
93
+ #, php-format
94
+ msgid "%1$s &lsaquo; %2$s &#8212; WordPress"
95
+ msgstr "%1$s &lsaquo; %2$s &#8212; WordPress"
96
+
97
+ #: includes/class.yith-commissions.php:1172
98
+ #, php-format
99
+ msgid "Refunded %s from order"
100
+ msgstr "Rimborsato %s dall'ordine"
101
+
102
+ #: includes/class.yith-commissions.php:1205
103
+ #, php-format
104
+ msgid "Cancelled %s refund from order"
105
+ msgstr "Annullato rimborso di %s dall'ordine"
106
+
107
+ #: includes/class.yith-commissions.php:1325
108
+ #: includes/class.yith-orders.php:1467
109
+ msgid "commission_id"
110
+ msgstr "id_commissione"
111
+
112
+ #: includes/class.yith-orders.php:195
113
+ #, php-format
114
+ msgid "Order &ndash; %s"
115
+ msgstr "Ordine &ndash; %s"
116
+
117
+ #: includes/class.yith-orders.php:195
118
+ msgctxt "Order date parsed by strftime"
119
+ msgid "%b %d, %Y @ %I:%M %p"
120
+ msgstr "%d %b, %Y @ %I:%M %p"
121
+
122
+ #: includes/class.yith-orders.php:423 includes/class.yith-orders.php:746
123
+ msgctxt "Order note"
124
+ msgid "Update by admin: "
125
+ msgstr "Aggiornamento dell'amministratore: "
126
+
127
+ #: includes/class.yith-orders.php:739
128
+ msgid "Delete note"
129
+ msgstr "Cancella nota"
130
+
131
+ #: includes/class.yith-orders.php:839
132
+ #, php-format
133
+ msgid "Item #%s stock reduced from %s to %s."
134
+ msgstr "Riserve articolo #%s ridotte da %s a %s."
135
+
136
+ #: includes/class.yith-orders.php:843
137
+ #, php-format
138
+ msgid "Item #%s stock increased from %s to %s."
139
+ msgstr "Riserve articolo #%s aumentate da %s a %s."
140
+
141
+ #: includes/class.yith-orders.php:1468
142
+ msgid "status"
143
+ msgstr ""
144
+
145
+ #: includes/class.yith-orders.php:1531
146
+ msgctxt "Admin: Order table column"
147
+ msgid "Suborders"
148
+ msgstr "Sottordini"
149
+
150
+ #: includes/class.yith-orders.php:1535
151
+ msgctxt "Admin: Order table column"
152
+ msgid "Vendor"
153
+ msgstr ""
154
+
155
+ #: includes/class.yith-orders.php:1574 includes/class.yith-orders.php:1649
156
+ msgctxt "Order table details"
157
+ msgid "in"
158
+ msgstr ""
159
+
160
+ #: includes/class.yith-orders.php:1615
161
+ msgctxt "Admin: Single order page. Suborder details box"
162
+ msgid "Suborders"
163
+ msgstr "Sottordini"
164
+
165
+ #: includes/class.yith-orders.php:1615
166
+ msgid ""
167
+ "Note: from this box you can monitor the status of suborders associated to "
168
+ "individual vendors."
169
+ msgstr ""
170
+ "N.B.: da questa casella puoi controllare lo stato dei sotto-ordini associati "
171
+ "ai singoli venditori."
172
+
173
+ #: includes/class.yith-orders.php:1618
174
+ msgctxt "Admin: Single order page. Parent order details box"
175
+ msgid "Parent order"
176
+ msgstr "Ordine padre"
177
+
178
+ #: includes/class.yith-orders.php:1661
179
+ msgctxt "Admin: single order page. Link to parent order"
180
+ msgid "Return to main order"
181
+ msgstr "Torna all'ordine principale"
182
+
183
+ #: includes/class.yith-vendors-admin.php:174
184
+ #: includes/class.yith-vendors.php:348
185
+ msgid "Vendors"
186
+ msgstr "Venditori"
187
+
188
+ #: includes/class.yith-vendors-admin.php:175
189
+ #: includes/class.yith-vendors-admin.php:1028
190
+ msgid "Premium Version"
191
+ msgstr "Versione premium"
192
+
193
+ #: includes/class.yith-vendors-admin.php:181
194
+ #: includes/class.yith-vendors-admin.php:182
195
+ msgid "Multi Vendor"
196
+ msgstr "Multi Vendor"
197
+
198
+ #: includes/class.yith-vendors-admin.php:425
199
+ #, php-format
200
+ msgid ""
201
+ "You do not have permission to edit this product. %1$sClick here to view and "
202
+ "edit your products%2$s."
203
+ msgstr ""
204
+ "Non hai le autorizzazioni necessarie per modificare questo prodotto. %1$sFai "
205
+ "clic qui per visualizzare e modificare i tuoi prodotti%2$s."
206
+
207
+ #: includes/class.yith-vendors-admin.php:471
208
+ #: includes/class.yith-vendors-admin.php:472
209
+ msgid "Vendor Profile"
210
+ msgstr "Profilo venditore"
211
+
212
+ #: includes/class.yith-vendors-admin.php:603
213
+ #: includes/class.yith-vendors-admin.php:621
214
+ msgid "A vendor with this name already exists."
215
+ msgstr "Esiste già un venditore con questo nome."
216
+
217
+ #: includes/class.yith-vendors-admin.php:604
218
+ msgid "Vendor name already exists"
219
+ msgstr "Questo nome venditore esiste già"
220
+
221
+ #: includes/class.yith-vendors-admin.php:943
222
+ #, php-format
223
+ msgid "No %s"
224
+ msgstr "Nessun %s"
225
+
226
+ #: includes/class.yith-vendors-admin.php:1023
227
+ msgid "Settings"
228
+ msgstr "Impostazioni"
229
+
230
+ #: includes/class.yith-vendors-admin.php:1024
231
+ #: includes/class.yith-vendors-admin.php:1565
232
+ msgid "Premium live demo"
233
+ msgstr "Anteprima premium"
234
+
235
+ #: includes/class.yith-vendors-admin.php:1024
236
+ msgid "Live demo"
237
+ msgstr "Anteprima"
238
+
239
+ #: includes/class.yith-vendors-admin.php:1052
240
+ msgid "Plugin Documentation"
241
+ msgstr "Documentazione plugin"
242
+
243
+ #: includes/class.yith-vendors-admin.php:1156
244
+ msgid "Visit Store"
245
+ msgstr "Visita lo store"
246
+
247
+ #: includes/class.yith-vendors-admin.php:1548
248
+ msgid "Plugin documentation"
249
+ msgstr ""
250
+
251
+ #: includes/class.yith-vendors-admin.php:1555
252
+ msgid "Discovery premium version"
253
+ msgstr ""
254
+
255
+ #: includes/class.yith-vendors-admin.php:1560
256
+ msgid "Free Vs Premium"
257
+ msgstr ""
258
+
259
+ #: includes/class.yith-vendors-admin.php:1570
260
+ msgid "WordPress support forum"
261
+ msgstr ""
262
+
263
+ #: includes/class.yith-vendors-admin.php:1575
264
+ #: includes/class.yith-vendors-admin.php:1587
265
+ msgid "Changelog"
266
+ msgstr ""
267
+
268
+ #: includes/class.yith-vendors-admin.php:1582
269
+ msgid "Support platform"
270
+ msgstr ""
271
+
272
+ #: includes/class.yith-vendors-admin.php:1587
273
+ msgid "current version"
274
+ msgstr ""
275
+
276
+ #: includes/class.yith-vendors-admin.php:1592
277
+ msgid "PayPal sandbox test accounts"
278
+ msgstr ""
279
+
280
+ #: includes/class.yith-vendors-admin.php:1597
281
+ msgid "Enable PayPal MassPay"
282
+ msgstr ""
283
+
284
+ #: includes/class.yith-vendors.php:346 includes/class.yith-vendors.php:347
285
+ #: templates/admin/commission-view.php:193
286
+ msgid "Vendor"
287
+ msgstr "Venditore"
288
+
289
+ #: includes/class.yith-vendors.php:349
290
+ msgid "Search Vendors"
291
+ msgstr "Cerca venditori"
292
+
293
+ #: includes/class.yith-vendors.php:350
294
+ msgid "All Vendors"
295
+ msgstr "Tutti i venditori"
296
+
297
+ #: includes/class.yith-vendors.php:351
298
+ msgid "Parent Vendor"
299
+ msgstr "Venditore padre"
300
+
301
+ #: includes/class.yith-vendors.php:352
302
+ msgid "Parent Vendor:"
303
+ msgstr "Venditore padre:"
304
+
305
+ #: includes/class.yith-vendors.php:353
306
+ msgid "View Vendor"
307
+ msgstr "Visualizza venditore"
308
+
309
+ #: includes/class.yith-vendors.php:354
310
+ msgid "Edit Vendor"
311
+ msgstr "Modifica venditore"
312
+
313
+ #: includes/class.yith-vendors.php:355
314
+ msgid "Update Vendor"
315
+ msgstr "Aggiorna venditore"
316
+
317
+ #: includes/class.yith-vendors.php:356
318
+ msgid "Add New Vendor"
319
+ msgstr "Aggiungi nuovo venditore"
320
+
321
+ #: includes/class.yith-vendors.php:357
322
+ msgid "New Vendor's Name"
323
+ msgstr "Nome nuovo venditore"
324
+
325
+ #: includes/class.yith-vendors.php:359
326
+ msgid "Separate vendors with commas"
327
+ msgstr "Utilizza la virgola per separare i venditori"
328
+
329
+ #: includes/class.yith-vendors.php:360
330
+ msgid "Add or remove vendors"
331
+ msgstr "Aggiungi o rimuovi venditori"
332
+
333
+ #: includes/class.yith-vendors.php:361
334
+ msgid "Choose from most used vendors"
335
+ msgstr "Scegli tra gli shop venditori più utilizzati"
336
+
337
+ #: includes/class.yith-vendors.php:362
338
+ msgid "No vendors found"
339
+ msgstr "Nessun venditore trovato"
340
+
341
+ #: includes/lib/class.yith-commissions-list-table.php:59
342
+ msgid "ID"
343
+ msgstr "ID"
344
+
345
+ #: includes/lib/class.yith-commissions-list-table.php:60
346
+ #: templates/admin/commission-view.php:158
347
+ msgid "Status"
348
+ msgstr "Stato"
349
+
350
+ #: includes/lib/class.yith-commissions-list-table.php:61
351
+ msgid "Order"
352
+ msgstr "Ordine"
353
+
354
+ #: includes/lib/class.yith-commissions-list-table.php:62
355
+ msgid "Product"
356
+ msgstr "Prodotto"
357
+
358
+ #: includes/lib/class.yith-commissions-list-table.php:63
359
+ #: templates/admin/commission-view.php:462
360
+ msgid "Rate"
361
+ msgstr "Tasso"
362
+
363
+ #: includes/lib/class.yith-commissions-list-table.php:64
364
+ msgid "User"
365
+ msgstr "Utente"
366
+
367
+ #: includes/lib/class.yith-commissions-list-table.php:66
368
+ #: templates/admin/premium.php:811
369
+ msgid "IBAN/BIC"
370
+ msgstr ""
371
+
372
+ #: includes/lib/class.yith-commissions-list-table.php:67
373
+ msgid "Amount"
374
+ msgstr "Importo"
375
+
376
+ #: includes/lib/class.yith-commissions-list-table.php:68
377
+ msgid "Date"
378
+ msgstr "Data"
379
+
380
+ #: includes/lib/class.yith-commissions-list-table.php:69
381
+ #: templates/admin/commission-view.php:166
382
+ msgid "Last update"
383
+ msgstr "Ultimo aggiornamento"
384
+
385
+ #: includes/lib/class.yith-commissions-list-table.php:70
386
+ #: templates/admin/commission-view.php:45
387
+ msgid "Actions"
388
+ msgstr "Azioni"
389
+
390
+ #: includes/lib/class.yith-commissions-list-table.php:208
391
+ msgid "Order Deleted"
392
+ msgstr "Ordine eliminato"
393
+
394
+ #: includes/lib/class.yith-commissions-list-table.php:239
395
+ #: templates/admin/commission-view.php:126
396
+ msgid "Guest"
397
+ msgstr "Ospite"
398
+
399
+ #: includes/lib/class.yith-commissions-list-table.php:259
400
+ #, php-format
401
+ msgctxt "Order number by user"
402
+ msgid "%s by %s"
403
+ msgstr "%s per %s"
404
+
405
+ #: includes/lib/class.yith-commissions-list-table.php:287
406
+ #: templates/admin/commission-view.php:188
407
+ msgid "User deleted"
408
+ msgstr "Utente eliminato"
409
+
410
+ #: includes/lib/class.yith-commissions-list-table.php:299
411
+ #: templates/admin/commission-view.php:199
412
+ msgid "Vendor deleted"
413
+ msgstr "Venditore eliminato"
414
+
415
+ #: includes/lib/class.yith-commissions-list-table.php:312
416
+ msgid "View"
417
+ msgstr "Visualizza"
418
+
419
+ #: includes/lib/class.yith-commissions-list-table.php:317
420
+ #: includes/lib/class.yith-commissions-list-table.php:335
421
+ #: templates/admin/commission-view.php:169
422
+ msgid "Y/m/d g:i:s A"
423
+ msgstr "Y/m/d g:i:s A"
424
+
425
+ #: includes/lib/class.yith-commissions-list-table.php:324
426
+ #: includes/lib/class.yith-commissions-list-table.php:342
427
+ #: templates/admin/commission-view.php:170
428
+ #, php-format
429
+ msgid "%s ago"
430
+ msgstr "%s fa"
431
+
432
+ #: includes/lib/class.yith-commissions-list-table.php:327
433
+ #: includes/lib/class.yith-commissions-list-table.php:344
434
+ msgid "Y/m/d"
435
+ msgstr "Y/m/d"
436
+
437
+ #: includes/lib/class.yith-commissions-list-table.php:376
438
+ msgid "No commissions found."
439
+ msgstr "Nessuna commissione trovata."
440
+
441
+ #: includes/widgets/class.yith-woocommerce-vendors-widget.php:29
442
+ msgid "YITH Vendor List"
443
+ msgstr "YITH Elenco Venditori"
444
+
445
+ #: includes/widgets/class.yith-woocommerce-vendors-widget.php:31
446
+ msgid "Display the list with enabled vendors."
447
+ msgstr "Mostra un elenco con i venditori abilitati."
448
+
449
+ #: includes/widgets/class.yith-woocommerce-vendors-widget.php:67
450
+ msgid "Vendor List"
451
+ msgstr "Elenco venditori"
452
+
453
+ #: includes/widgets/class.yith-woocommerce-vendors-widget.php:76
454
+ msgid "Title"
455
+ msgstr "Titolo"
456
+
457
+ #: includes/widgets/class.yith-woocommerce-vendors-widget.php:81
458
+ msgid "Hide this widget on vendor page"
459
+ msgstr "Nascondi questo widget nelle pagine venditore"
460
+
461
+ #: includes/widgets/class.yith-woocommerce-vendors-widget.php:86
462
+ msgid "Vendor's products amount"
463
+ msgstr "Quantità di prodotti del venditore"
464
+
465
+ #: includes/widgets/class.yith-woocommerce-vendors-widget.php:91
466
+ msgid "Hide vendors with no products"
467
+ msgstr "Nascondi venditori che non hanno prodotti"
468
+
469
+ #: init.php:34
470
+ msgid ""
471
+ "YITH WooCommerce Multi Vendor is enabled but not effective. It requires "
472
+ "WooCommerce in order to work."
473
+ msgstr ""
474
+ "YITH WooCommerce Multi Vendor è abilitato ma non in funzione. Devi aver "
475
+ "installato WooCommerce per farlo funzionare."
476
+
477
+ #: plugin-options/commissions-options.php:20
478
+ msgid "General settings"
479
+ msgstr "Impostazioni generali"
480
+
481
+ #: plugin-options/commissions-options.php:27
482
+ msgid "Commission Base"
483
+ msgstr "Commissione base"
484
+
485
+ #: plugin-options/commissions-options.php:30
486
+ msgid "Default commission percentage"
487
+ msgstr "Percentuale commissione di base"
488
+
489
+ #: plugin-options/vendors-options.php:20
490
+ msgid "Product management"
491
+ msgstr "Gestione prodotti"
492
+
493
+ #: plugin-options/vendors-options.php:27
494
+ msgid "Vendor name label color"
495
+ msgstr "Colore nome venditore"
496
+
497
+ #: plugin-options/vendors-options.php:29
498
+ msgid "Use in shop page and single product page"
499
+ msgstr "Usa nella pagina shop e nella pagina singolo prodotto"
500
+
501
+ #: plugin-options/vendors-options.php:43
502
+ msgid "Order management"
503
+ msgstr "Gestione ordine"
504
+
505
+ #: plugin-options/vendors-options.php:50
506
+ msgid "Enable order management"
507
+ msgstr "Abilita gestione ordine"
508
+
509
+ #: plugin-options/vendors-options.php:52
510
+ msgid ""
511
+ "If you enable this option, each vendor will be able to manage orders on his/"
512
+ "her own products independently."
513
+ msgstr ""
514
+ "Se abiliti questa opzione, ogni venditore sarà abilitato a gestire gli "
515
+ "ordini dei suoi prodotti indipendentemente."
516
+
517
+ #: plugin-options/vendors-options.php:58
518
+ msgid "Order synchronization"
519
+ msgstr "Sincronizzazione ordini"
520
+
521
+ #: plugin-options/vendors-options.php:60
522
+ msgid ""
523
+ "All changes to general orders will be synchronized with the individual "
524
+ "vendor's order"
525
+ msgstr ""
526
+ "Ogni modifica agli ordini generali sarà sincronizzata con l'ordine del "
527
+ "singolo venditore"
528
+
529
+ #: templates/admin/add-product-vendors-taxonomy.php:12
530
+ #: templates/admin/edit-product-vendors-taxonomy.php:13
531
+ msgid "Vendor Shop Owner"
532
+ msgstr "Proprietario pagina venditore"
533
+
534
+ #: templates/admin/add-product-vendors-taxonomy.php:13
535
+ msgid "Search for a customer&hellip;"
536
+ msgstr ""
537
+
538
+ #: templates/admin/add-product-vendors-taxonomy.php:15
539
+ msgid ""
540
+ "User that can manage products in this vendor shop and view sale reports."
541
+ msgstr ""
542
+ "Utente che può gestire i prodotti in questa pagina venditore e visualizzarne "
543
+ "i report delle vendite."
544
+
545
+ #: templates/admin/add-product-vendors-taxonomy.php:19
546
+ #: templates/admin/edit-product-vendors-taxonomy.php:31
547
+ msgid "PayPal email address"
548
+ msgstr "Indirizzo email PayPal"
549
+
550
+ #: templates/admin/add-product-vendors-taxonomy.php:21
551
+ #: templates/admin/edit-product-vendors-taxonomy.php:36
552
+ msgid "Vendor's PayPal email address where profits will be delivered."
553
+ msgstr "Indirizzo email PayPal del venditore su cui inviare i pagamenti."
554
+
555
+ #: templates/admin/add-product-vendors-taxonomy.php:25
556
+ #: templates/admin/edit-product-vendors-taxonomy.php:42
557
+ msgid "Enable sales"
558
+ msgstr "Abilita vendita"
559
+
560
+ #: templates/admin/add-product-vendors-taxonomy.php:27
561
+ #: templates/admin/edit-product-vendors-taxonomy.php:48
562
+ msgid "Enable or disable product sales."
563
+ msgstr "Abilita o disabilità vendite prodotto."
564
+
565
+ #: templates/admin/add-product-vendors-taxonomy.php:32
566
+ #: templates/admin/edit-product-vendors-taxonomy.php:55
567
+ msgid "Commission:"
568
+ msgstr "Commissione"
569
+
570
+ #: templates/admin/add-product-vendors-taxonomy.php:36
571
+ msgid "Percentage of the total sale price that this vendor receives"
572
+ msgstr "Percentuale del prezzo di vendita totale che riceve questo venditore"
573
+
574
+ #: templates/admin/commission-view.php:25
575
+ msgid "View Commission"
576
+ msgstr "Visualizza commissione"
577
+
578
+ #: templates/admin/commission-view.php:26
579
+ msgid "Back"
580
+ msgstr "Indietro"
581
+
582
+ #: templates/admin/commission-view.php:39
583
+ msgid "Commission Actions"
584
+ msgstr "Azioni su commissioni"
585
+
586
+ #: templates/admin/commission-view.php:47
587
+ #, php-format
588
+ msgid "Change to %s"
589
+ msgstr "Cambia con %s"
590
+
591
+ #: templates/admin/commission-view.php:53
592
+ msgid "Apply"
593
+ msgstr "Applica"
594
+
595
+ #: templates/admin/commission-view.php:62
596
+ msgid "Commission notes"
597
+ msgstr "Note di commissione"
598
+
599
+ #: templates/admin/commission-view.php:73
600
+ #, php-format
601
+ msgid "added on %1$s at %2$s"
602
+ msgstr "aggiunti il %1$s alle %2$s"
603
+
604
+ #: templates/admin/commission-view.php:78
605
+ msgid "There are no notes yet."
606
+ msgstr "Ancora non sono presenti note."
607
+
608
+ #: templates/admin/commission-view.php:99
609
+ #, php-format
610
+ msgid "Commission %s Details"
611
+ msgstr "Dettagli commissione %s"
612
+
613
+ #: templates/admin/commission-view.php:148
614
+ #, php-format
615
+ msgctxt "Commission credited to [user]"
616
+ msgid "credited to %s &#8212; from order %s &#8212; order status: %s"
617
+ msgstr "accreditata a %s &#8212; dall'ordine %s &#8212; stato dell'ordine: %s"
618
+
619
+ #: templates/admin/commission-view.php:155
620
+ msgid "General details"
621
+ msgstr "Dettagli"
622
+
623
+ #: templates/admin/commission-view.php:162
624
+ msgid "Commission date"
625
+ msgstr "Data della commissione"
626
+
627
+ #: templates/admin/commission-view.php:180
628
+ msgid "User details"
629
+ msgstr "Dettaglio utente"
630
+
631
+ #: templates/admin/commission-view.php:185
632
+ msgid "Email"
633
+ msgstr "Email"
634
+
635
+ #: templates/admin/commission-view.php:204
636
+ msgid "PayPal"
637
+ msgstr "PayPal"
638
+
639
+ #: templates/admin/commission-view.php:212
640
+ msgid "Billing information"
641
+ msgstr "Informazioni di fatturazione"
642
+
643
+ #: templates/admin/commission-view.php:237
644
+ msgid "Shipping information"
645
+ msgstr "Informazioni di spedizione"
646
+
647
+ #: templates/admin/commission-view.php:272
648
+ msgid "Item data"
649
+ msgstr "Dati articolo"
650
+
651
+ #: templates/admin/commission-view.php:279
652
+ msgid "Item"
653
+ msgstr "Articolo"
654
+
655
+ #: templates/admin/commission-view.php:280
656
+ msgid "Qty"
657
+ msgstr "Qtà"
658
+
659
+ #: templates/admin/commission-view.php:281
660
+ msgid "Cost"
661
+ msgstr "Costo"
662
+
663
+ #: templates/admin/commission-view.php:293
664
+ msgid "Product ID:"
665
+ msgstr "ID prodotto:"
666
+
667
+ #: templates/admin/commission-view.php:296
668
+ #: templates/admin/commission-view.php:298
669
+ msgid "Variation ID:"
670
+ msgstr "ID variazione:"
671
+
672
+ #: templates/admin/commission-view.php:298
673
+ msgid "No longer exists"
674
+ msgstr "Non esiste più"
675
+
676
+ #: templates/admin/commission-view.php:302
677
+ msgid "Product SKU:"
678
+ msgstr "Codice SKU prodotto:"
679
+
680
+ #: templates/admin/commission-view.php:408
681
+ msgid "Refund"
682
+ msgstr "Rimborso"
683
+
684
+ #: templates/admin/commission-view.php:438
685
+ msgid "Coupon(s) Used"
686
+ msgstr "Coupon utilizzati"
687
+
688
+ #: templates/admin/commission-view.php:468
689
+ msgid "Commission"
690
+ msgstr "Commissione"
691
+
692
+ #: templates/admin/commissions.php:24
693
+ msgid "Search commissions"
694
+ msgstr "Cerca commissioni"
695
+
696
+ #: templates/admin/edit-product-vendors-taxonomy.php:20
697
+ msgid "Search for a shop owner&hellip;"
698
+ msgstr ""
699
+
700
+ #: templates/admin/edit-product-vendors-taxonomy.php:25
701
+ msgid "User that can manage products in this shop and view sale reports."
702
+ msgstr ""
703
+ "Utente che può gestire i prodotti in questo shop e visualizzare i report "
704
+ "delle vendite."
705
+
706
+ #: templates/admin/edit-product-vendors-taxonomy.php:61
707
+ msgid "Percentage of the total sale price that this vendor receives."
708
+ msgstr ""
709
+ "Percentuale sul prezzo totale del prodotto che riceve questo venditore."
710
+
711
+ #: templates/admin/premium.php:240 templates/admin/premium.php:872
712
+ #, php-format
713
+ msgid ""
714
+ "Upgrade to the %1$spremium version%2$s of %1$sYITH WooCommerce Multi Vendor"
715
+ "%2$s to benefit from all features!"
716
+ msgstr ""
717
+
718
+ #: templates/admin/premium.php:244 templates/admin/premium.php:876
719
+ #, php-format
720
+ msgid "%1$s UPGRADE %2$s %3$s to the premium version %2$s"
721
+ msgstr ""
722
+
723
+ #: templates/admin/premium.php:251
724
+ msgid "Premium Features"
725
+ msgstr ""
726
+
727
+ #: templates/admin/premium.php:260
728
+ msgid "A richer vendor shop page"
729
+ msgstr ""
730
+
731
+ #: templates/admin/premium.php:263
732
+ #, php-format
733
+ msgid ""
734
+ "The vendor page gets more details!Vendors will be able to add their %s "
735
+ "contact details %s (email, address, phone number) and the most common social "
736
+ "network profiles (Facebook, Twitter, Google+, LinkedIn and YouTube)"
737
+ msgstr ""
738
+
739
+ #: templates/admin/premium.php:266
740
+ #, php-format
741
+ msgid ""
742
+ "These pieces of information are gathered in the page of every vendor shop "
743
+ "with a %sheader%s where style and images can be customized."
744
+ msgstr ""
745
+
746
+ #: templates/admin/premium.php:277
747
+ msgid "One or more administrators for every vendor shop"
748
+ msgstr ""
749
+
750
+ #: templates/admin/premium.php:280
751
+ #, php-format
752
+ msgid ""
753
+ "The administrators of the vendor shop are one of the most important new "
754
+ "features.%s They are simple registered users of the shop that have been "
755
+ "admitted to %smanage the products%s and all the information about a vendor "
756
+ "shop by the administrator of the store or the owner of the vendor shop."
757
+ msgstr ""
758
+
759
+ #: templates/admin/premium.php:283
760
+ #, php-format
761
+ msgid ""
762
+ "The only element they can't change is the %stype of payment%s that only "
763
+ "administrator of the store or the owner of the vendor shop can set."
764
+ msgstr ""
765
+
766
+ #: templates/admin/premium.php:300
767
+ msgid "Direct product sale"
768
+ msgstr ""
769
+
770
+ #: templates/admin/premium.php:303
771
+ #, php-format
772
+ msgid ""
773
+ "Thanks to the %s\"Skip Admin review\"%s option, vendors can publish new "
774
+ "products without the store administrator approval. This option can be "
775
+ "applied to all the vendor shops, or just to the selected ones."
776
+ msgstr ""
777
+
778
+ #: templates/admin/premium.php:314
779
+ msgid "Actions for commissions"
780
+ msgstr ""
781
+
782
+ #: templates/admin/premium.php:317
783
+ msgid ""
784
+ "A commissions table with more details to be always up-to-date. Every "
785
+ "commission offers a set of buttons to quickly proceed to the PayPal payments "
786
+ "(if set as manual), or to change the state of the commission."
787
+ msgstr ""
788
+
789
+ #: templates/admin/premium.php:334 templates/admin/premium.php:368
790
+ msgid "Variable commission rates"
791
+ msgstr ""
792
+
793
+ #: templates/admin/premium.php:337 templates/admin/premium.php:371
794
+ #, php-format
795
+ msgid ""
796
+ "%sNo more single commission rate for all the vendor shops:%s in the premium "
797
+ "version of the plugin, this rate can be modified for every single vendor "
798
+ "shop and for every product associated."
799
+ msgstr ""
800
+
801
+ #: templates/admin/premium.php:348
802
+ msgid "Coupon handling"
803
+ msgstr "Gestione coupon"
804
+
805
+ #: templates/admin/premium.php:351
806
+ #, php-format
807
+ msgid ""
808
+ "If users use a coupon during a purchase, how will vendor commissions be "
809
+ "calculated? It's up to you: with the %s\"Coupon handling\"%s option, you can "
810
+ "decide whether you want to calculate the commission for the discounted total "
811
+ "or not."
812
+ msgstr ""
813
+
814
+ #: templates/admin/premium.php:382
815
+ msgid "COUPON CREATION"
816
+ msgstr ""
817
+
818
+ #: templates/admin/premium.php:385
819
+ #, php-format
820
+ msgid ""
821
+ "With the option %s \"Enable coupon management\" %s, the vendors of your shop "
822
+ "can create coupons regarding the products they own. A nice innovation to "
823
+ "offer to your vendor-users."
824
+ msgstr ""
825
+
826
+ #: templates/admin/premium.php:402
827
+ msgid "REVIEWS"
828
+ msgstr ""
829
+
830
+ #: templates/admin/premium.php:405
831
+ #, php-format
832
+ msgid ""
833
+ " Just like coupons, this option is tailored on the need to manage reviews "
834
+ "and it has been added to the premium version of the plugin. Activating the %s"
835
+ "\"Enable review management\"%s option from the option panel of the plugin, "
836
+ "vendors will be free to manage the reviews of the products they own, and act "
837
+ "with the same privileges of the administrator of the store."
838
+ msgstr ""
839
+
840
+ #: templates/admin/premium.php:416
841
+ msgid "Advanced reports"
842
+ msgstr ""
843
+
844
+ #: templates/admin/premium.php:419
845
+ #, php-format
846
+ msgid ""
847
+ "Statistics have a central relevance in the e-commerce field and WooCommerce "
848
+ "Multi Vendor offers you different reports to %sanalyze your data%s: from the "
849
+ "most lucrative vendors, to the best sellers, including convenient commission "
850
+ "diagrams for each of them."
851
+ msgstr ""
852
+
853
+ #: templates/admin/premium.php:436
854
+ msgid "CSV exportation of the reports"
855
+ msgstr ""
856
+
857
+ #: templates/admin/premium.php:439
858
+ #, php-format
859
+ msgid ""
860
+ "For each report, %syou can export its data in the CSV format%s: in this way, "
861
+ "you will be free to use all the report details in every fields not "
862
+ "expressively related to WordPress."
863
+ msgstr ""
864
+
865
+ #: templates/admin/premium.php:450
866
+ msgid "Vendor's product exclusion from the shop (Product listing)"
867
+ msgstr ""
868
+
869
+ #: templates/admin/premium.php:453
870
+ #, php-format
871
+ msgid ""
872
+ "The %s\"Product listing\"%s option has been conceived to exclude from the "
873
+ "shop the products of a particular vendor. In this way, these would be "
874
+ "consultable only from the relative vendor's page."
875
+ msgstr ""
876
+
877
+ #: templates/admin/premium.php:470
878
+ msgid "Three widgets for your sidebars"
879
+ msgstr ""
880
+
881
+ #: templates/admin/premium.php:473
882
+ #, php-format
883
+ msgid ""
884
+ "%1$sYITH Vendor List, YITH Vendor Quick Info%2$s and %1$sYITH Vendor Store "
885
+ "Location%2$s: these are the three widgets that the plugin offers you. Thanks "
886
+ "to these widgets, you will be able to show the list of the registered "
887
+ "vendors of your shop, and enrich the detail page of the vendor shops with "
888
+ "information about their locations, or a contact form users can use to send "
889
+ "emails to the shop administrators."
890
+ msgstr ""
891
+
892
+ #: templates/admin/premium.php:483
893
+ msgid "Shortcode"
894
+ msgstr ""
895
+
896
+ #: templates/admin/premium.php:486
897
+ msgid ""
898
+ "Take advantage of the YITH WooCommerce Multi Vendor List shortcode to show "
899
+ "the complete list of your shop vendors in any page."
900
+ msgstr ""
901
+
902
+ #: templates/admin/premium.php:503
903
+ msgid "VISUALIZATION OF THE VENDOR'S NAME"
904
+ msgstr ""
905
+
906
+ #: templates/admin/premium.php:506
907
+ msgid ""
908
+ "The default setting of the plugin shows the name of each vendor in three "
909
+ "pages of your site: the shop page, the product detail page and product "
910
+ "category page. Now you can decide whether you want to show their name and "
911
+ "hide them whenever you want with three different options."
912
+ msgstr ""
913
+
914
+ #: templates/admin/premium.php:516
915
+ msgid "VENDOR REGISTRATION"
916
+ msgstr ""
917
+
918
+ #: templates/admin/premium.php:519
919
+ #, php-format
920
+ msgid ""
921
+ "A more dynamic management for whoever wants to become a vendor in your "
922
+ "store. It doesn't matter whether you are a registered user or a new one: "
923
+ "everyone will be free to register as a vendor with the related "
924
+ "%1$sregistration form.%2$s Following your settings, the registration request "
925
+ "can be accepted automatically or manually by administrators"
926
+ msgstr ""
927
+
928
+ #: templates/admin/premium.php:536
929
+ msgid "RESTRICTED NUMBER OF PRODUCTS"
930
+ msgstr ""
931
+
932
+ #: templates/admin/premium.php:539
933
+ msgid ""
934
+ "The option \"Enable product amount limit\" has been conceived to whoever "
935
+ "would like to limit the creation of products of the shop vendors, with the "
936
+ "freedom to indicate a specific maximum number of products that each vendor "
937
+ "can create."
938
+ msgstr ""
939
+
940
+ #: templates/admin/premium.php:549
941
+ msgid "BULK ACTIONS ON VENDORS"
942
+ msgstr ""
943
+
944
+ #: templates/admin/premium.php:552
945
+ msgid ""
946
+ "How many times did you find yourself annoyed by the repetition of the same "
947
+ "passages with a huge waste of time? Well, now vendors management is "
948
+ "completely renewed! You will be able to apply bulk actions on all the "
949
+ "registered vendors, approving or deleting them all together with just one "
950
+ "click."
951
+ msgstr ""
952
+
953
+ #: templates/admin/premium.php:568
954
+ msgid "Advanced administration area for each vendor"
955
+ msgstr ""
956
+
957
+ #: templates/admin/premium.php:571
958
+ msgid ""
959
+ "A breath of fresh air for the \"vendor users\" that can take advantage of a "
960
+ "big and advanced administrative area. From this place, they will be free to "
961
+ "consult the reports about their products,change their profile information "
962
+ "and choose the payment method they prefer. Each vendor can also check the "
963
+ "commissions table, with the whole sum of the relative commissions up to that "
964
+ "moment."
965
+ msgstr ""
966
+
967
+ #: templates/admin/premium.php:581
968
+ msgid "ABUSE REPORT"
969
+ msgstr ""
970
+
971
+ #: templates/admin/premium.php:584
972
+ msgid ""
973
+ "With this feature, your users will be able to send you a message about one "
974
+ "of the products of your shop with a dedicated form that will open in a popup "
975
+ "within the related product detail page."
976
+ msgstr ""
977
+
978
+ #: templates/admin/premium.php:600
979
+ msgid "Second email"
980
+ msgstr ""
981
+
982
+ #: templates/admin/premium.php:603
983
+ msgid ""
984
+ "Each time that a new order is registered or cancelled, a notification email "
985
+ "is sent to the corresponding vendor. This sending can sometimes be affected "
986
+ "by some problems, and this is why you should be able to send again the lost "
987
+ "email. With the premium version of the plugin, you will just have to go to "
988
+ "the detail page of the order and with a single click everything will be "
989
+ "solved."
990
+ msgstr ""
991
+
992
+ #: templates/admin/premium.php:613
993
+ msgid "Minimum amount of commissions"
994
+ msgstr ""
995
+
996
+ #: templates/admin/premium.php:616
997
+ msgid ""
998
+ "If each vendor can decide a commission threshold for which asking the "
999
+ "payment, administrators must be free to control how this works.Setting a "
1000
+ "minimum amount of commissions, you will be free to pay commissions starting "
1001
+ "from the amount you have set."
1002
+ msgstr ""
1003
+
1004
+ #: templates/admin/premium.php:632
1005
+ msgid "Highlighted products"
1006
+ msgstr ""
1007
+
1008
+ #: templates/admin/premium.php:635
1009
+ msgid ""
1010
+ "Setting a WooCommerce product as \"Featured\" means standing it out among "
1011
+ "the others, maybe putting it in the main part of the homepage, or in one of "
1012
+ "the widgets of the siderbars of your shop. With the related option, you will "
1013
+ "be free to allow or block vendors to set their products as \"featured\"."
1014
+ msgstr ""
1015
+
1016
+ #: templates/admin/premium.php:645
1017
+ msgid "Sales amount"
1018
+ msgstr "Importo di vendita"
1019
+
1020
+ #: templates/admin/premium.php:648
1021
+ msgid ""
1022
+ "Enrich your shop with more information. Show the amount of sales made by "
1023
+ "each vendor, placing it in the detail page of the related product, and for "
1024
+ "each single product assigned to a vendor."
1025
+ msgstr ""
1026
+
1027
+ #: templates/admin/premium.php:664
1028
+ msgid "Shop closed"
1029
+ msgstr ""
1030
+
1031
+ #: templates/admin/premium.php:667
1032
+ msgid ""
1033
+ "Even the owners of online shops need a break, maybe for deserved vacations "
1034
+ "or for other reasons. Therefore, when administrators offers this freedom to "
1035
+ "their vendors, they will be free to close their stores, showing a customized "
1036
+ "message to users. Vendors will also be free to decide whether they want to "
1037
+ "keep their products purchasable, or showing them in catalogue mode with no "
1038
+ "opportunity to add them to the cart. "
1039
+ msgstr ""
1040
+
1041
+ #: templates/admin/premium.php:677
1042
+ msgid "Vendor Chat"
1043
+ msgstr ""
1044
+
1045
+ #: templates/admin/premium.php:680
1046
+ #, php-format
1047
+ msgid ""
1048
+ "Thanks to the integration with %1$sYITH Live Chat%2$s, vendors of your site "
1049
+ "will be free to answer immediately to their customers' questions. In this "
1050
+ "way, vendors and purchasers will be even nearer, for a complete success of "
1051
+ "your e-commerce."
1052
+ msgstr ""
1053
+
1054
+ #: templates/admin/premium.php:696
1055
+ msgid "VAT numbers"
1056
+ msgstr ""
1057
+
1058
+ #: templates/admin/premium.php:699
1059
+ msgid ""
1060
+ "If you need the VAT number of your vendors, make it mandatory during the "
1061
+ "registration. In this way, no request to become vendor could be completed "
1062
+ "without adding the VAT number, as this can also be showed in the related "
1063
+ "detailed vendor's page."
1064
+ msgstr ""
1065
+
1066
+ #: templates/admin/premium.php:709
1067
+ msgid "Refund management"
1068
+ msgstr ""
1069
+
1070
+ #: templates/admin/premium.php:712
1071
+ msgid ""
1072
+ "Now refund management can be designated to the vendors of your shop. In "
1073
+ "fact, they will be able to refund partially or totally users about the "
1074
+ "products they own, with a related recalculation of the commissions received. "
1075
+ "Another way to empower your vendors about the management of their shops."
1076
+ msgstr ""
1077
+
1078
+ #: templates/admin/premium.php:728
1079
+ msgid "VENDOR TAXONOMY"
1080
+ msgstr ""
1081
+
1082
+ #: templates/admin/premium.php:731
1083
+ #, php-format
1084
+ msgid ""
1085
+ "With a specific option, %1$svendor taxonomy slug%2$s becomes customizable "
1086
+ "according to your needs."
1087
+ msgstr ""
1088
+
1089
+ #: templates/admin/premium.php:741
1090
+ msgid "VENDOR LOGO"
1091
+ msgstr ""
1092
+
1093
+ #: templates/admin/premium.php:744
1094
+ msgid ""
1095
+ "Vendors might wish to show their own logo, but not all vendors have one. "
1096
+ "This is the reason why you can give them the chance to add it or not in "
1097
+ "their shop pages. If you prefer to have an uniform style in your site, you "
1098
+ "can also choose to hide all your vendors’ logos."
1099
+ msgstr ""
1100
+
1101
+ #: templates/admin/premium.php:747
1102
+ msgid ""
1103
+ " If you prefer to have an suniform style in your site, you can also choose "
1104
+ "to hide all your vendors’ logos."
1105
+ msgstr ""
1106
+
1107
+ #: templates/admin/premium.php:763
1108
+ msgid "USERS PRIVACY"
1109
+ msgstr ""
1110
+
1111
+ #: templates/admin/premium.php:766
1112
+ msgid ""
1113
+ "Protect your customers' privacy! With a specific option of the plugin, you "
1114
+ "can hide \"Customer\" search section in order detail page, so that other "
1115
+ "vendors won’t have access to your customers email addresses."
1116
+ msgstr ""
1117
+
1118
+ #: templates/admin/premium.php:776
1119
+ msgid "Advanced editor"
1120
+ msgstr ""
1121
+
1122
+ #: templates/admin/premium.php:779
1123
+ msgid ""
1124
+ "All vendors can have WordPress advanced editor so that they can add a richer "
1125
+ "description of their shop by inserting HTML tags and images."
1126
+ msgstr ""
1127
+
1128
+ #: templates/admin/premium.php:792
1129
+ msgid "LEGAL NOTES"
1130
+ msgstr ""
1131
+
1132
+ #: templates/admin/premium.php:795
1133
+ msgid ""
1134
+ "Each vendor of your shop can insert important legal notes in their reserved "
1135
+ "area, which will be shown with the other profile information in vendor "
1136
+ "detail page."
1137
+ msgstr ""
1138
+
1139
+ #: templates/admin/premium.php:814
1140
+ msgid ""
1141
+ "By giving your users the possibility to add their IBAN/BIC code, it will be "
1142
+ "much easier to pay their commissions by bank transfer when requested. "
1143
+ msgstr ""
1144
+
1145
+ #: templates/admin/premium.php:824
1146
+ msgid "TERMS AND CONDITIONS"
1147
+ msgstr ""
1148
+
1149
+ #: templates/admin/premium.php:827
1150
+ msgid ""
1151
+ "Ask to users who wish to become vendors in your shop, to accept \"terms and "
1152
+ "conditions\" during their registration, which, in case of non-acceptance, "
1153
+ "could not be completed."
1154
+ msgstr ""
1155
+
1156
+ #: templates/admin/premium.php:843
1157
+ msgid "WordPress gallery"
1158
+ msgstr ""
1159
+
1160
+ #: templates/admin/premium.php:846
1161
+ msgid ""
1162
+ "All the functionalities of WordPress gallery made available to vendors. From "
1163
+ "now on, they could add and manage media in relation to the products they "
1164
+ "own, by creating image galleries to outstand important details to make a "
1165
+ "difference on market."
1166
+ msgstr ""
1167
+
1168
+ #: templates/admin/premium.php:856
1169
+ msgid "Vendors menu"
1170
+ msgstr ""
1171
+
1172
+ #: templates/admin/premium.php:859
1173
+ msgid ""
1174
+ "Each vendor can be managed by menu field in order to create the list of all "
1175
+ "vendors of the shop and include it, for example, within the main navigation "
1176
+ "of your site"
1177
+ msgstr ""
1178
+
1179
+ #: templates/admin/vendor-admin.php:17
1180
+ msgid "Vendor Details"
1181
+ msgstr "Dettagli venditore"
1182
+
1183
+ #: templates/admin/vendor-admin.php:24
1184
+ msgid "Name:"
1185
+ msgstr "Nome:"
1186
+
1187
+ #: templates/admin/vendor-admin.php:29
1188
+ msgid "Slug:"
1189
+ msgstr "Slug:"
1190
+
1191
+ #: templates/admin/vendor-admin.php:34
1192
+ msgid "PayPal email address:"
1193
+ msgstr ""
1194
+
1195
+ #: templates/admin/vendor-admin.php:39
1196
+ msgid "Description:"
1197
+ msgstr "Descrizione:"
1198
+
1199
+ #: templates/admin/vendor-admin.php:45
1200
+ msgid "Commission Rate: "
1201
+ msgstr "Tasso di commissione:"
1202
+
1203
+ #: templates/admin/vendor-admin.php:52
1204
+ msgid "Vendor's selling status: "
1205
+ msgstr ""
1206
+
1207
+ #: templates/admin/vendor-admin.php:54
1208
+ msgid "Enabled"
1209
+ msgstr "Abilitato"
1210
+
1211
+ #: templates/admin/vendor-admin.php:54
1212
+ msgid "Disabled"
1213
+ msgstr "Disabilitato"
1214
+
1215
+ #: templates/admin/vendor-admin.php:60
1216
+ msgid "Save Vendor Information"
1217
+ msgstr ""
1218
+
1219
+ #: templates/woocommerce/loop/vendor-name-title.php:20
1220
+ #: templates/woocommerce/single-product/vendor-name-title.php:20
1221
+ msgid "by"
1222
+ msgstr "da"
1223
+
1224
+ #~ msgid "in"
1225
+ #~ msgstr "in"
1226
+
1227
+ #~ msgid "Search users"
1228
+ #~ msgstr "Cerca utenti"
1229
+
1230
+ #~ msgid "Sale Commissions"
1231
+ #~ msgstr "Commissioni vendita"
1232
+
1233
+ #~ msgid "Vendor Sales"
1234
+ #~ msgstr "Vendite"
1235
+
1236
+ #~ msgid "Registered Vendors"
1237
+ #~ msgstr "Venditori registrati"
1238
+
1239
+ #~ msgid "Export CSV"
1240
+ #~ msgstr "Esporta CSV"
1241
+
1242
+ #~ msgid "Year"
1243
+ #~ msgstr "Anno"
1244
+
1245
+ #~ msgid "Last Month"
1246
+ #~ msgstr "Mese precedente"
1247
+
1248
+ #~ msgid "This Month"
1249
+ #~ msgstr "Questo mese"
1250
+
1251
+ #~ msgid "Last 7 Days"
1252
+ #~ msgstr "Ultimi 7 giorni"
1253
+
1254
+ #~ msgid "Payments"
1255
+ #~ msgstr "Pagamenti"
1256
+
1257
+ #~ msgid "Frontpage"
1258
+ #~ msgstr "Front page"
1259
+
1260
+ #~ msgid "Reports"
1261
+ #~ msgstr "Report"
1262
+
1263
+ #~ msgid "Front page"
1264
+ #~ msgstr "Pagina principale"
1265
+
1266
+ #~ msgid "Vendor settings"
1267
+ #~ msgstr "Impostazioni venditore"
1268
+
1269
+ #~ msgid "Choose an image"
1270
+ #~ msgstr "Seleziona un\\'immagine"
1271
+
1272
+ #~ msgid "Use image"
1273
+ #~ msgstr "Usa immagine"
1274
+
1275
+ #~ msgid "Registration date"
1276
+ #~ msgstr "Data di registrazione"
1277
+
1278
+ #~ msgid "Owner"
1279
+ #~ msgstr "Proprietario"
1280
+
1281
+ #~ msgid "Enable"
1282
+ #~ msgstr "Attiva"
1283
+
1284
+ #~ msgid "VAT/SSN"
1285
+ #~ msgstr "IVA/C.F."
1286
+
1287
+ #~ msgid "Items"
1288
+ #~ msgstr "Articoli"
1289
+
1290
+ #~ msgid "Set an owner"
1291
+ #~ msgstr "Imposta un proprietario"
1292
+
1293
+ #~ msgid "Edit extra info"
1294
+ #~ msgstr "Modifica informazioni extra"
1295
+
1296
+ #~ msgid "Approve"
1297
+ #~ msgstr "Approva"
1298
+
1299
+ #~ msgid "Disable sales"
1300
+ #~ msgstr "Disabilita vendita"
1301
+
1302
+ #~ msgid "Instant Payment"
1303
+ #~ msgstr "Pagamento istantaneo"
1304
+
1305
+ #~ msgid "Payment threshold"
1306
+ #~ msgstr "Soglia di pagamento"
1307
+
1308
+ #~ msgid "Facebook"
1309
+ #~ msgstr "Facebook"
1310
+
1311
+ #~ msgid "Twitter"
1312
+ #~ msgstr "Twitter"
1313
+
1314
+ #~ msgid "Google+"
1315
+ #~ msgstr "Google+"
1316
+
1317
+ #~ msgid "Linkedin"
1318
+ #~ msgstr "LinkedIn"
1319
+
1320
+ #~ msgid "Youtube"
1321
+ #~ msgstr "Youtube"
1322
+
1323
+ #~ msgid ""
1324
+ #~ "Are you sure? If you click \"YES\" you change skip review option for each "
1325
+ #~ "vendor"
1326
+ #~ msgstr ""
1327
+ #~ "Sei sicuro? Se scegli \"Sì\" modificherai l'opzione per ignorare le "
1328
+ #~ "recensioni per ogni venditore"
1329
+
1330
+ #~ msgid ""
1331
+ #~ "If you continue, the commission will be paid automatically to the vendor "
1332
+ #~ "via PayPal. Do you want to continue?"
1333
+ #~ msgstr ""
1334
+ #~ "Se procedi, la commissione verrà pagata automaticamente al venditore "
1335
+ #~ "tramite PayPal. Vuoi procedere?"
1336
+
1337
+ #~ msgid "Payment failed: %s"
1338
+ #~ msgstr "Pagamento fallito: %s"
1339
+
1340
+ #~ msgid "Product commission"
1341
+ #~ msgstr "Commissione prodotto"
1342
+
1343
+ #~ msgid ""
1344
+ #~ "You can set a specific commission for a single product. Keep this field "
1345
+ #~ "blank or zero to use the vendor commission"
1346
+ #~ msgstr ""
1347
+ #~ "Puoi impostare una commissione specifica per un singolo prodotto. "
1348
+ #~ "Inserisci zero o lascia il campo vuoto per utilizzare la commissione del "
1349
+ #~ "venditore."
1350
+
1351
+ #~ msgid ""
1352
+ #~ "You do not have sufficient permissions to access this page. %1$sClick "
1353
+ #~ "here to return in your dashboard%2$s."
1354
+ #~ msgstr ""
1355
+ #~ "Non hai le autorizzazioni necessarie per accedere a questa pagina. "
1356
+ #~ "%1$sFai clic qui per tornare alla tua dashboard%2$s."
1357
+
1358
+ #~ msgid ""
1359
+ #~ "You are not allowed to create more than %1$s products. %2$sClick here to "
1360
+ #~ "return in your admin area%3$s."
1361
+ #~ msgstr ""
1362
+ #~ "Non sei autorizzato a creare più di %1$s prodotti. %2$sFai clic qui per "
1363
+ #~ "tornare alla tua pagina di amministrazione%3$s."
1364
+
1365
+ #~ msgid ""
1366
+ #~ "You do not have permission to edit this post. %1$sClick here to view your "
1367
+ #~ "dashboard%2$s."
1368
+ #~ msgstr ""
1369
+ #~ "Non sei in possesso di autorizzazioni sufficienti per modificare questo "
1370
+ #~ "articolo. %1$sFai clic qui per visualizzare la tua dashboard%2$s."
1371
+
1372
+ #~ msgid ""
1373
+ #~ "You do not have permission to edit this coupon. %1$sClick here to view "
1374
+ #~ "and edit your coupons%2$s."
1375
+ #~ msgstr ""
1376
+ #~ "Non hai le autorizzazioni necessarie per modificare questo coupon. "
1377
+ #~ "%1$sFai clic qui per visualizzare e modificare i tuoi coupon%2$s."
1378
+
1379
+ #~ msgid ""
1380
+ #~ "You do not have permission to edit this review. %1$sClick here to view "
1381
+ #~ "and edit your product reviews%2$s."
1382
+ #~ msgstr ""
1383
+ #~ "Non ha le autorizzazioni per modificare questa recensione. %1$sClicca qui "
1384
+ #~ "per visualizzare e modificare le tue recensioni prodotto%2$s."
1385
+
1386
+ #~ msgid "Recent reviews"
1387
+ #~ msgstr "Recensioni recenti"
1388
+
1389
+ #~ msgid "Recent comments"
1390
+ #~ msgstr "Commenti recenti"
1391
+
1392
+ #~ msgid "Comments"
1393
+ #~ msgstr "Commenti"
1394
+
1395
+ #~ msgid "No activity yet!"
1396
+ #~ msgstr "Ancora non è stata svolta alcuna attività"
1397
+
1398
+ #~ msgid "out of 5"
1399
+ #~ msgstr "di 5"
1400
+
1401
+ #~ msgid "reviewed by"
1402
+ #~ msgstr "recensito da"
1403
+
1404
+ #~ msgid "There are no product reviews yet."
1405
+ #~ msgstr "Non è presente alcuna recensione prodotto."
1406
+
1407
+ #~ msgctxt "Order details: Product sold by"
1408
+ #~ msgid "Sold by"
1409
+ #~ msgstr "Venduto da"
1410
+
1411
+ #~ msgid "Warning: "
1412
+ #~ msgstr "Attenzione:"
1413
+
1414
+ #~ msgid ""
1415
+ #~ "vendor shops have no owner set. Please, set an owner for each vendor shop "
1416
+ #~ "in order to enable them"
1417
+ #~ msgstr ""
1418
+ #~ "non è stato impostato un proprietario per gli shop venditore. Per favore, "
1419
+ #~ "imposta un proprietario per ciascuno shop per abilitarli"
1420
+
1421
+ #~ msgid "Go to Vendor page to fix it."
1422
+ #~ msgstr "Vai alla pagina venditori per correggere."
1423
+
1424
+ #~ msgid ""
1425
+ #~ "vendor shops have no VAT/SSN set. Please, set VAT/SSN field for each "
1426
+ #~ "vendor shop"
1427
+ #~ msgstr ""
1428
+ #~ "Non è stata specificata una partita IVA o il codice fiscale per gli shop "
1429
+ #~ "venditore. Per favore, compila il campo per ogni shop."
1430
+
1431
+ #~ msgid ""
1432
+ #~ "Please, set the VAT/SSN field to complete your profile in \"Vendor profile"
1433
+ #~ "\""
1434
+ #~ msgstr ""
1435
+ #~ "Per favore, imposta il campo IVA/C.F. per completare il tuo profilo da "
1436
+ #~ "\"Profilo venditore\""
1437
+
1438
+ #~ msgid "Go to Vendor details page to fix it."
1439
+ #~ msgstr "Vai nella pagina \"Profilo venditore\" per correggere."
1440
+
1441
+ #~ msgid "Become a vendor"
1442
+ #~ msgstr "Diventa un venditore"
1443
+
1444
+ #~ msgid "Commission paid via PayPal (txn ID: %s)"
1445
+ #~ msgstr "Commissione pagata tramite PayPal (txn ID: %s)"
1446
+
1447
+ #~ msgid "Payment %s"
1448
+ #~ msgstr "Pagamento %s"
1449
+
1450
+ #~ msgid "Abuse reported correctly."
1451
+ #~ msgstr "Abuso segnalato correttamente."
1452
+
1453
+ #~ msgid "All fields are mandatory."
1454
+ #~ msgstr "Tutti i campi sono obbligatori."
1455
+
1456
+ #~ msgid "Your request could not be processed. Please try again"
1457
+ #~ msgstr ""
1458
+ #~ "La tua richiesta non può essere elaborata. Ti preghiamo di riprovare"
1459
+
1460
+ #~ msgid "Error"
1461
+ #~ msgstr "Errore"
1462
+
1463
+ #~ msgid "The First name field is mandatory"
1464
+ #~ msgstr "Il campo \"Nome\" è obbligatorio"
1465
+
1466
+ #~ msgid "The Last name field is mandatory"
1467
+ #~ msgstr "Il campo \"Cognome\" è obbligatorio"
1468
+
1469
+ #~ msgid "The Store address field is mandatory"
1470
+ #~ msgstr "Il campo \"Indirizzo negozio\" è obbligatorio"
1471
+
1472
+ #~ msgid "The Email field is mandatory"
1473
+ #~ msgstr "Il campo \"Email\" è obbligatorio"
1474
+
1475
+ #~ msgid "The Email address entered is not valid"
1476
+ #~ msgstr "L'indirizzo email inserito non è valido"
1477
+
1478
+ #~ msgid "The Telephone field is mandatory"
1479
+ #~ msgstr "Il campo \"Telefono\" è obbligatorio"
1480
+
1481
+ #~ msgid "The VAT/SSN field is mandatory"
1482
+ #~ msgstr "Il campo IVA/C.F. è obbligatorio"
1483
+
1484
+ #~ msgid "Insert the vendor name"
1485
+ #~ msgstr "Inserisci il nome del venditore"
1486
+
1487
+ #~ msgid "Report"
1488
+ #~ msgstr "Invia segnalazione"
1489
+
1490
+ #~ msgid "User %s (%s) is reporting an abuse on the following product: \n"
1491
+ #~ msgstr ""
1492
+ #~ "L'utente %s (%s) ha segnalato un abuso riguardante il seguente prodotto:\n"
1493
+
1494
+ #~ msgid "Product details: %s (ID: #%s) \n"
1495
+ #~ msgstr "Dettagli prodotto: %s (ID: #%s) \n"
1496
+
1497
+ #~ msgid "Vendor shop: %s (ID: #%s) \n"
1498
+ #~ msgstr "Pagina venditore: %s (ID: #%s) \n"
1499
+
1500
+ #~ msgid "Message: %s\n"
1501
+ #~ msgstr "Messaggio: %s\n"
1502
+
1503
+ #~ msgid "Product page: %s\n"
1504
+ #~ msgstr "Pagina prodotto: %s\n"
1505
+
1506
+ #~ msgid "Vendor Account details: %s \n"
1507
+ #~ msgstr "Dettagli account venditore: %s \n"
1508
+
1509
+ #~ msgid "Item sold"
1510
+ #~ msgstr "Articolo venduto"
1511
+
1512
+ #~ msgctxt "Cart details: Product sold by"
1513
+ #~ msgid "Sold by"
1514
+ #~ msgstr "Venduto da"
1515
+
1516
+ #~ msgid "Cancelled order (to vendor)"
1517
+ #~ msgstr "Ordine annullato (venditore)"
1518
+
1519
+ #~ msgid ""
1520
+ #~ "Cancelled order emails are sent when orders have been marked as cancelled "
1521
+ #~ "(if they were previously set as pending or on-hold)."
1522
+ #~ msgstr ""
1523
+ #~ "Le email di ordine cancellato sono inviate quando gli ordini vengono "
1524
+ #~ "segnati come cancellati (se precedentemente erano in attesa di pagamento "
1525
+ #~ "o in attesa)."
1526
+
1527
+ #~ msgid "Cancelled order"
1528
+ #~ msgstr "Ordine annullato"
1529
+
1530
+ #~ msgid "[{site_title}] Cancelled order ({order_number})"
1531
+ #~ msgstr "[{site_title}] Ordine annullato ({order_number})"
1532
+
1533
+ #~ msgid "Enable/Disable"
1534
+ #~ msgstr "Abilita/disabilita"
1535
+
1536
+ #~ msgid "Enable this email notification"
1537
+ #~ msgstr "Abilita le notifiche per email"
1538
+
1539
+ #~ msgid "Subject"
1540
+ #~ msgstr "Oggetto"
1541
+
1542
+ #~ msgid ""
1543
+ #~ "This controls the email subject line. Leave blank to use the default "
1544
+ #~ "subject: <code>%s</code>."
1545
+ #~ msgstr ""
1546
+ #~ "In questo campo puoi inserire l'oggetto dell'email. Lasciare vuoto per "
1547
+ #~ "utilizzare l'oggetto predefinito: <code>%s</code>."
1548
+
1549
+ #~ msgid "Email Heading"
1550
+ #~ msgstr "Intestazione email"
1551
+
1552
+ #~ msgid ""
1553
+ #~ "This controls the main heading contained within the email notification. "
1554
+ #~ "Leave blank to use the default heading: <code>%s</code>."
1555
+ #~ msgstr ""
1556
+ #~ "In questo campo puoi inserire l'header dell'email. Lasciare vuoto per "
1557
+ #~ "utilizzare il testo predefinito: <code>%s</code>."
1558
+
1559
+ #~ msgid "Email type"
1560
+ #~ msgstr "Tipo di email"
1561
+
1562
+ #~ msgid "Choose email format."
1563
+ #~ msgstr "Scegli formato email."
1564
+
1565
+ #~ msgid "Commission paid (for Admin)"
1566
+ #~ msgstr "Commissione pagata (amministratore)"
1567
+
1568
+ #~ msgid "New commissions are credited to vendor"
1569
+ #~ msgstr "Le nuove commissioni vengono accreditate al venditore"
1570
+
1571
+ #~ msgid "Commission paid"
1572
+ #~ msgstr "Commissione pagata"
1573
+
1574
+ #~ msgid "[{site_title}] - Commission paid"
1575
+ #~ msgstr "[{site_title}] - Commissione pagata"
1576
+
1577
+ #~ msgid "Recipient(s)"
1578
+ #~ msgstr "Destinatari"
1579
+
1580
+ #~ msgid ""
1581
+ #~ "Enter recipients (comma separated) for this email. Defaults to <code>%s</"
1582
+ #~ "code>."
1583
+ #~ msgstr ""
1584
+ #~ "Inserisci qui i destinatari di questa email (usando la virgola per "
1585
+ #~ "separarli). Default <code>%s</code>."
1586
+
1587
+ #~ msgid ""
1588
+ #~ "This controls the email subject line. Leave it blank to use the default "
1589
+ #~ "subject: <code>%s</code>."
1590
+ #~ msgstr ""
1591
+ #~ "In questo campo puoi inserire l'oggetto della tua email. Per utilizzare "
1592
+ #~ "l'oggetto impostato di default lascia il campo vuoto: <code>%s</code>."
1593
+
1594
+ #~ msgid ""
1595
+ #~ "This controls the main heading contained in the email notification. Leave "
1596
+ #~ "it blank to use the default heading: <code>%s</code>."
1597
+ #~ msgstr ""
1598
+ #~ "In questo campo puoi inserire l'intestazione della tua email. Per "
1599
+ #~ "utilizzare l'intestazione di default lascia il campo vuoto: <code>%s</"
1600
+ #~ "code>."
1601
+
1602
+ #~ msgid "Choose format for emails that will be sent."
1603
+ #~ msgstr "Scegli il formato per le email."
1604
+
1605
+ #~ msgid "Commissions unpaid"
1606
+ #~ msgstr "Commissioni non pagate"
1607
+
1608
+ #~ msgid "New commissions are credited to vendors"
1609
+ #~ msgstr "Delle nuove commissioni sono state accreditate ai vneditori"
1610
+
1611
+ #~ msgid "[{site_title}] - Commissions unpaid"
1612
+ #~ msgstr "[{site_title}] - Commissioni non pagata"
1613
+
1614
+ #~ msgid "New order (to vendor)"
1615
+ #~ msgstr "Nuovo ordine (venditore)"
1616
+
1617
+ #~ msgid "New order emails are sent to vendor(s) when an order is received."
1618
+ #~ msgstr ""
1619
+ #~ "Le email nuovo ordine vengono inviate al venditore ogni volta che "
1620
+ #~ "ricevono un nuovo ordine."
1621
+
1622
+ #~ msgid "New customer order"
1623
+ #~ msgstr "Nuovo ordine cliente"
1624
+
1625
+ #~ msgid "[{site_title}] New customer order ({order_number}) - {order_date}"
1626
+ #~ msgstr "[{site_title}] Nuovo ordine cliente ({order_number}) - {order_date}"
1627
+
1628
+ #~ msgid "New Vendor Registration"
1629
+ #~ msgstr "Registrazione nuovo venditore"
1630
+
1631
+ #~ msgid "New Vendor has requested to access to your store"
1632
+ #~ msgstr "Un nuovo venditore ha richiesto l'accesso al tuo store"
1633
+
1634
+ #~ msgid "[{site_title}] - New Vendor Registration"
1635
+ #~ msgstr "[{site_title}] - Registrazione nuovo venditore"
1636
+
1637
+ #~ msgid "Commission paid (for Vendor)"
1638
+ #~ msgstr "Commissione pagata (venditore)"
1639
+
1640
+ #~ msgid "New commissions have been credited to vendor"
1641
+ #~ msgstr "Sono state accreditate nuove commissioni al venditore"
1642
+
1643
+ #~ msgid "Vendor's Commission paid"
1644
+ #~ msgstr "Commissione venditore pagata"
1645
+
1646
+ #~ msgid "Enable notification for this email"
1647
+ #~ msgstr "Abilita notifiche email"
1648
+
1649
+ #~ msgid "Choose format for the email that will be sent."
1650
+ #~ msgstr "Scegli il formato dell'email da inviare."
1651
+
1652
+ #~ msgid "Vendor's new account approvation"
1653
+ #~ msgstr "Approvazione nuovo account venditore"
1654
+
1655
+ #~ msgid ""
1656
+ #~ "Emails are sent to the vendor as soon as the admin approves his/her "
1657
+ #~ "account"
1658
+ #~ msgstr ""
1659
+ #~ "Un'email verrà inviata al venditore non appena l'amministratore approva "
1660
+ #~ "l'account"
1661
+
1662
+ #~ msgid "Your vendor account on the website {site_title} has been approved."
1663
+ #~ msgstr ""
1664
+ #~ "Il tuo account venditore sul sito sito {site_title} è stato approvato"
1665
+
1666
+ #~ msgid "Welcome to {site_title}"
1667
+ #~ msgstr "Benvenuto su {site_title}"
1668
+
1669
+ #~ msgid "Missing required parameters for PayPal configuration"
1670
+ #~ msgstr "Mancano i parametri richiesti per la configurazione PayPal"
1671
+
1672
+ #~ msgid "Payment sent"
1673
+ #~ msgstr "Pagamento inviato"
1674
+
1675
+ #~ msgid "Change to"
1676
+ #~ msgstr "Passa a"
1677
+
1678
+ #~ msgid "Pay"
1679
+ #~ msgstr "Paga"
1680
+
1681
+ #~ msgid "All"
1682
+ #~ msgstr "Tutte"
1683
+
1684
+ #~ msgid "Ship to"
1685
+ #~ msgstr "Invia a "
1686
+
1687
+ #~ msgid "Search for a product&hellip;"
1688
+ #~ msgstr "Cerca un prodotto&hellip;"
1689
+
1690
+ #~ msgid "Filter"
1691
+ #~ msgstr "Filtra"
1692
+
1693
+ #~ msgid "Reset"
1694
+ #~ msgstr "Reimposta"
1695
+
1696
+ #~ msgid "Change status to"
1697
+ #~ msgstr "Passa stato a"
1698
+
1699
+ #~ msgid "Via"
1700
+ #~ msgstr "per"
1701
+
1702
+ #~ msgid "Order status:"
1703
+ #~ msgstr "Stato ordine:"
1704
+
1705
+ #~ msgctxt "Order status"
1706
+ #~ msgid "Trashed"
1707
+ #~ msgstr "Eliminato"
1708
+
1709
+ #~ msgid "Coupon Data"
1710
+ #~ msgstr "Informazioni coupon"
1711
+
1712
+ #~ msgid "General"
1713
+ #~ msgstr "Generali"
1714
+
1715
+ #~ msgid "Usage Restriction"
1716
+ #~ msgstr "Limitazioni di utilizzo"
1717
+
1718
+ #~ msgid "Usage Limits"
1719
+ #~ msgstr "Limiti di utilizzo"
1720
+
1721
+ #~ msgid "Discount type"
1722
+ #~ msgstr "Tipo di sconto"
1723
+
1724
+ #~ msgid "Coupon amount"
1725
+ #~ msgstr "Importo coupon"
1726
+
1727
+ #~ msgid "Value of the coupon."
1728
+ #~ msgstr "Valore del coupon."
1729
+
1730
+ #~ msgid "Coupon expiry date"
1731
+ #~ msgstr "Data scadenza coupon"
1732
+
1733
+ #~ msgctxt "placeholder"
1734
+ #~ msgid "YYYY-MM-DD"
1735
+ #~ msgstr "AAAA-MM-GG"
1736
+
1737
+ #~ msgid "Minimum spend"
1738
+ #~ msgstr "Spesa minima"
1739
+
1740
+ #~ msgid "No minimum"
1741
+ #~ msgstr "Non attivo"
1742
+
1743
+ #~ msgid ""
1744
+ #~ "This field allows you to set the minimum subtotal needed to use the "
1745
+ #~ "coupon."
1746
+ #~ msgstr ""
1747
+ #~ "Questo campo ti permette di impostare l'importo minimo di spesa che "
1748
+ #~ "l'utente deve raggiungere per poter utilizzare il coupon."
1749
+
1750
+ #~ msgid "Maximum spend"
1751
+ #~ msgstr "Spesa massima"
1752
+
1753
+ #~ msgid "No maximum"
1754
+ #~ msgstr "Non attivo"
1755
+
1756
+ #~ msgid ""
1757
+ #~ "This field allows you to set the maximum subtotal allowed when using the "
1758
+ #~ "coupon."
1759
+ #~ msgstr ""
1760
+ #~ "Questo campo ti permette di impostare l'importo massimo di spesa che "
1761
+ #~ "l'utente non deve superare per poter utilizzare il coupon."
1762
+
1763
+ #~ msgid "Individual use only"
1764
+ #~ msgstr "Uso esclusivo"
1765
+
1766
+ #~ msgid ""
1767
+ #~ "Check this box if the coupon cannot be used in conjunction with other "
1768
+ #~ "coupons."
1769
+ #~ msgstr ""
1770
+ #~ "Seleziona questa opzione se vuoi che il coupon non possa essere "
1771
+ #~ "utilizzato in combinazione con altri coupon."
1772
+
1773
+ #~ msgid "Exclude sale items"
1774
+ #~ msgstr "Escludi articoli in saldo"
1775
+
1776
+ #~ msgid ""
1777
+ #~ "Check this box if the coupon should not apply to items on sale. Per-item "
1778
+ #~ "coupons will only work if the item is not on sale. Per-cart coupons will "
1779
+ #~ "only work if there are no sale items in the cart."
1780
+ #~ msgstr ""
1781
+ #~ "Seleziona questa opzione se vuoi che il coupon non possa essere "
1782
+ #~ "utilizzato per gli articoli in saldo. I coupon articolo valgono solo se "
1783
+ #~ "l'articolo non è in saldo. I coupon carrello valgono solo se non sono "
1784
+ #~ "presenti articoli in saldo nel carrello."
1785
+
1786
+ #~ msgid "Products"
1787
+ #~ msgstr "Prodotti"
1788
+
1789
+ #~ msgid ""
1790
+ #~ "Select products that must have been added to cart to use this coupon."
1791
+ #~ msgstr ""
1792
+ #~ "Seleziona i prodotti che devono essere aggiunti al carrello perché il "
1793
+ #~ "coupon possa essere utilizzato."
1794
+
1795
+ #~ msgid "Exclude products"
1796
+ #~ msgstr "Escludi prodotti"
1797
+
1798
+ #~ msgid "Email restrictions"
1799
+ #~ msgstr "Limitazioni email"
1800
+
1801
+ #~ msgid "No restrictions"
1802
+ #~ msgstr "Nessuna limitazione"
1803
+
1804
+ #~ msgid ""
1805
+ #~ "List of allowed emails to check against the customer's billing email when "
1806
+ #~ "an order is placed. Separate email addresses with commas."
1807
+ #~ msgstr "Elenco degli indirizzi email autorizzati da "
1808
+
1809
+ #~ msgid "Usage limit per coupon"
1810
+ #~ msgstr "Limite di utilizzo per coupon"
1811
+
1812
+ #~ msgctxt "placeholder"
1813
+ #~ msgid "Unlimited usage"
1814
+ #~ msgstr "Infinito"
1815
+
1816
+ #~ msgid "How many times this coupon can be used before it is void."
1817
+ #~ msgstr "Quante volte può essere utilizzato questo coupon."
1818
+
1819
+ #~ msgid "Limit usage to X items"
1820
+ #~ msgstr "Limita utilizzo a X articoli"
1821
+
1822
+ #~ msgctxt "placeholder"
1823
+ #~ msgid "Apply to all qualifying items in cart"
1824
+ #~ msgstr "Applica a tutti gli articoli conformi nel carrello"
1825
+
1826
+ #~ msgid ""
1827
+ #~ "The maximum number of individual items this coupon can apply to when "
1828
+ #~ "using product discounts. Leave blank to apply to all qualifying items in "
1829
+ #~ "cart."
1830
+ #~ msgstr ""
1831
+ #~ "Numero massimo di elementi singoli a cui può essere applicato questo "
1832
+ #~ "coupon quando sono selezionati sconti prodotto. Lascia il campo vuoto per "
1833
+ #~ "applicare lo sconto a tutti i prodotti conformi in carrello."
1834
+
1835
+ #~ msgid "Usage limit per user"
1836
+ #~ msgstr "Limite di utilizzo per utente"
1837
+
1838
+ #~ msgid ""
1839
+ #~ "How many times this coupon can be used by an invidual user. Uses billing "
1840
+ #~ "email for guests, and user ID for logged in users."
1841
+ #~ msgstr ""
1842
+ #~ "Seleziona il numero di volte che un utente può utilizzare questo coupon. "
1843
+ #~ "Utilizza email di fatturazione per gli ospiti e ID utente per gli utenti "
1844
+ #~ "registrati."
1845
+
1846
+ #~ msgid "Vacation"
1847
+ #~ msgstr "Ferie"
1848
+
1849
+ #~ msgid "%s commission amount"
1850
+ #~ msgstr "Importo commissione: %s"
1851
+
1852
+ #~ msgid "This is the sum of commission totals."
1853
+ #~ msgstr "Somma totale delle commissioni"
1854
+
1855
+ #~ msgid "%s paid commissions"
1856
+ #~ msgstr "Commissioni pagate: %s"
1857
+
1858
+ #~ msgid "This is the sum of paid commission totals."
1859
+ #~ msgstr "Somma del totale commissioni pagate."
1860
+
1861
+ #~ msgid "%s unpaid commissions"
1862
+ #~ msgstr "Commissioni non pagate: %s"
1863
+
1864
+ #~ msgid "This is the sum of unpaid commission totals."
1865
+ #~ msgstr "Somma del totale commissioni non pagate."
1866
+
1867
+ #~ msgid "%s processing commissions"
1868
+ #~ msgstr "Commissioni in corso: %s"
1869
+
1870
+ #~ msgid "This is the sum of processing commission totals."
1871
+ #~ msgstr "Somma del totale commissioni in corso."
1872
+
1873
+ #~ msgid "%s pending commissions"
1874
+ #~ msgstr "Commissioni in attesa di pagamento: %s"
1875
+
1876
+ #~ msgid "This is the sum of pending commission totals."
1877
+ #~ msgstr "Somma del totale commissioni in attesa di pagamento."
1878
+
1879
+ #~ msgid "%s commissions"
1880
+ #~ msgstr "Commissioni: %s"
1881
+
1882
+ #~ msgid "This is the sum of the commissions in this period."
1883
+ #~ msgstr "Somma delle commissioni di questo periodo."
1884
+
1885
+ #~ msgid "%s refunded commissions"
1886
+ #~ msgstr "Commissioni rimborsate: %s"
1887
+
1888
+ #~ msgid "This is the sum of refunded commission totals."
1889
+ #~ msgstr "Somma del totale commissioni rimborsate."
1890
+
1891
+ #~ msgid "%s cancelled commissions"
1892
+ #~ msgstr "Commissioni annullate: %s"
1893
+
1894
+ #~ msgid "This is the sum of cancelled commission totals."
1895
+ #~ msgstr "Somma del totale commissioni annullate."
1896
+
1897
+ #~ msgid "Commission Totals"
1898
+ #~ msgstr "Totale commissioni"
1899
+
1900
+ #~ msgid "Commissions amount"
1901
+ #~ msgstr "Importo commissioni"
1902
+
1903
+ #~ msgid "Paid Commissions"
1904
+ #~ msgstr "Commissioni pagate"
1905
+
1906
+ #~ msgid "Unpaid Commissions"
1907
+ #~ msgstr "Commissioni non pagate"
1908
+
1909
+ #~ msgid "Processing Commissions"
1910
+ #~ msgstr "Commissioni in corso"
1911
+
1912
+ #~ msgid "Pending Commissions"
1913
+ #~ msgstr "Commissioni in attesa di pagamento"
1914
+
1915
+ #~ msgid "Refunded Commissions"
1916
+ #~ msgstr "Commissioni rimborsate"
1917
+
1918
+ #~ msgid "Cancelled Commissions"
1919
+ #~ msgstr "Commissioni annullate"
1920
+
1921
+ #~ msgid "%s gross sales in this period"
1922
+ #~ msgstr "Vendite di questo periodo al lordo: %s"
1923
+
1924
+ #~ msgid ""
1925
+ #~ "This is the sum of the order totals after any refunds and including "
1926
+ #~ "shipping and taxes."
1927
+ #~ msgstr ""
1928
+ #~ "Somma del totale degli ordini dopo aver effettuato tutti i rimborsi e "
1929
+ #~ "comprensivo di tasse e spese di spedizione."
1930
+
1931
+ #~ msgid "%s net sales in this period"
1932
+ #~ msgstr "Vendite di questo periodo al netto: %s"
1933
+
1934
+ #~ msgid ""
1935
+ #~ "This is the sum of the order totals after any refunds and excluding "
1936
+ #~ "shipping and taxes."
1937
+ #~ msgstr ""
1938
+ #~ "Somma del totale degli ordini dopo aver effettuato tutti i rimborsi e non "
1939
+ #~ "comprensivo di tasse e spese di spedizione."
1940
+
1941
+ #~ msgid "%s orders placed"
1942
+ #~ msgstr "%s ordini presenti"
1943
+
1944
+ #~ msgid "%s items purchased"
1945
+ #~ msgstr "%s articoli acquistati"
1946
+
1947
+ #~ msgid "Items purchased"
1948
+ #~ msgstr "Articoli acquistati"
1949
+
1950
+ #~ msgid "Orders count"
1951
+ #~ msgstr "Conteggio ordini"
1952
+
1953
+ #~ msgid "Gross sales"
1954
+ #~ msgstr "Vendite lorde"
1955
+
1956
+ #~ msgid "Net sales"
1957
+ #~ msgstr "Vendite nette"
1958
+
1959
+ #~ msgid "%s registered vendors"
1960
+ #~ msgstr "%s venditori registrati"
1961
+
1962
+ #~ msgid "%s with selling capability"
1963
+ #~ msgstr "%s abilitati alla vendita"
1964
+
1965
+ #~ msgid "%s enabled"
1966
+ #~ msgstr "%s abilitati"
1967
+
1968
+ #~ msgid "%s without selling capability"
1969
+ #~ msgstr "%s non abilitati alla vendita"
1970
+
1971
+ #~ msgid "%s disabled"
1972
+ #~ msgstr "%s non abilitati"
1973
+
1974
+ #~ msgid "Totals of registered vendors"
1975
+ #~ msgstr "Tutti i venditori registrati"
1976
+
1977
+ #~ msgid "new vendors"
1978
+ #~ msgstr "nuovi venditori"
1979
+
1980
+ #~ msgid "Enabled Vs Disabled Vendors"
1981
+ #~ msgstr "Venditori abilitati e non"
1982
+
1983
+ #~ msgid "vendors"
1984
+ #~ msgstr "venditori"
1985
+
1986
+ #~ msgid "%s sales for the selected vendor"
1987
+ #~ msgstr "%s di vendite per il venditore selezionato"
1988
+
1989
+ #~ msgid "%s purchases for the selected vendor"
1990
+ #~ msgstr "%s acquisti per il venditore selezionato"
1991
+
1992
+ #~ msgid "Showing reports for:"
1993
+ #~ msgstr "Mostra report per:"
1994
+
1995
+ #~ msgid "Search for a vendor&hellip;"
1996
+ #~ msgstr "Cerca un venditore&hellip;"
1997
+
1998
+ #~ msgid "Show"
1999
+ #~ msgstr "Mostra"
2000
+
2001
+ #~ msgid "Top Sellers"
2002
+ #~ msgstr "Con più vendite"
2003
+
2004
+ #~ msgid "No vendors found in range"
2005
+ #~ msgstr "Nessun venditore trovato"
2006
+
2007
+ #~ msgid "Top Earners"
2008
+ #~ msgstr "Con guadagno maggiore"
2009
+
2010
+ #~ msgid "&larr; Choose a vendor to view stats"
2011
+ #~ msgstr "&larr; Scegli un venditore per visualizzarne le statistiche"
2012
+
2013
+ #~ msgid "Number of items sold"
2014
+ #~ msgstr "Numero di articoli venduti"
2015
+
2016
+ #~ msgid "Unable to send email. Please try again"
2017
+ #~ msgstr "Impossibile inviare email. Ti preghiamo di riprovare"
2018
+
2019
+ #~ msgid "Email sent successfully"
2020
+ #~ msgstr "Email inviata con successo"
2021
+
2022
+ #~ msgid "YITH Vendor Quick Info"
2023
+ #~ msgstr "YITH Informazioni venditore"
2024
+
2025
+ #~ msgid "Add a quick info contact form in vendor's store page"
2026
+ #~ msgstr ""
2027
+ #~ "Aggiungi un modulo contatti per rapide informazioni nella pagina shop del "
2028
+ #~ "venditore"
2029
+
2030
+ #~ msgid "Quick Info"
2031
+ #~ msgstr "Informazioni veloci"
2032
+
2033
+ #~ msgid "Do you need more information? Write to us!"
2034
+ #~ msgstr "Ti serve sapere altro? Scrivici!"
2035
+
2036
+ #~ msgid "Submit"
2037
+ #~ msgstr "Invia"
2038
+
2039
+ #~ msgid "Description"
2040
+ #~ msgstr "Descrizione"
2041
+
2042
+ #~ msgid "Submit button label text"
2043
+ #~ msgstr "Testo pulsante \"Submit\""
2044
+
2045
+ #~ msgid "Hide from guests"
2046
+ #~ msgstr "Nascondi agli ospiti"
2047
+
2048
+ #~ msgid "Send a copy to website owner"
2049
+ #~ msgstr "Invia una copia al proprietario del sito"
2050
+
2051
+ #~ msgid "YITH Vendor Store Location"
2052
+ #~ msgstr "YITH Posizione negozio venditore"
2053
+
2054
+ #~ msgid "Display the vendor's store location in Google Maps"
2055
+ #~ msgstr "Mostra la posizione del negozio in Google Maps"
2056
+
2057
+ #~ msgid "Store Location"
2058
+ #~ msgstr "Posizione negozio"
2059
+
2060
+ #~ msgid "Commission page view"
2061
+ #~ msgstr "Visualizzazione pagina commissioni"
2062
+
2063
+ #~ msgid "Select the default view for commission page"
2064
+ #~ msgstr "Seleziona la visualizzazione di default per la pagina commissioni"
2065
+
2066
+ #~ msgid "Include coupons in commission calculations"
2067
+ #~ msgstr "Includi i coupon nel calcolo della commissione"
2068
+
2069
+ #~ msgid ""
2070
+ #~ "Decide whether vendor commissions have to be calculated including coupon "
2071
+ #~ "value or not."
2072
+ #~ msgstr ""
2073
+ #~ "Scegli se le commissioni venditore devono essere calcolate includendo il "
2074
+ #~ "valore del coupon o meno."
2075
+
2076
+ #~ msgid "WooCommerce Pages"
2077
+ #~ msgstr "Pagine WooCommerce"
2078
+
2079
+ #~ msgid "Show vendor's name in shop page"
2080
+ #~ msgstr "Mostra nome venditore nella pagina shop"
2081
+
2082
+ #~ msgid ""
2083
+ #~ "Select if you want to show vendor's name below products in Shop page."
2084
+ #~ msgstr ""
2085
+ #~ "Scegli se mostrare il nome del venditore sotto i prodotti nella pagina "
2086
+ #~ "shop."
2087
+
2088
+ #~ msgid "Show vendor's name in single product page"
2089
+ #~ msgstr "Mostra nome del venditore nella pagina prodotto"
2090
+
2091
+ #~ msgid ""
2092
+ #~ "Select if you want to show vendor's name below products in Single product "
2093
+ #~ "page."
2094
+ #~ msgstr ""
2095
+ #~ "Scegli se mostrare il nome del venditore sotto i prodotti nella pagina "
2096
+ #~ "singolo prodotto."
2097
+
2098
+ #~ msgid "Show vendor's name in product category page"
2099
+ #~ msgstr "Mostra nome del venditore nella pagina categoria prodotto"
2100
+
2101
+ #~ msgid ""
2102
+ #~ "Select if you want to show vendor's name below products in Product "
2103
+ #~ "category page."
2104
+ #~ msgstr ""
2105
+ #~ "Scegli se mostrare il nome del venditore sotto i prodotti nella pagina "
2106
+ #~ "categoria prodotti."
2107
+
2108
+ #~ msgid "Show \"Item sold\" information in single product page"
2109
+ #~ msgstr ""
2110
+ #~ "Mostra l'informazione \"Articolo venduto\" nella pagina singolo prodotto"
2111
+
2112
+ #~ msgid ""
2113
+ #~ "Select if you want to show the text \"Item sold\" in single product page "
2114
+ #~ "among category and tag information"
2115
+ #~ msgstr ""
2116
+ #~ "Scegli se mostrare il testo \"Articolo venduto\" nella pagina singolo "
2117
+ #~ "prodotto sotto le informazioni di categorie e tag"
2118
+
2119
+ #~ msgid "Show \"Report abuse\" link"
2120
+ #~ msgstr "Mostra link \"Segnala un abuso\""
2121
+
2122
+ #~ msgid ""
2123
+ #~ "Choose if you want to show the \"Report abuse\" link under product "
2124
+ #~ "thumbnails in single product page."
2125
+ #~ msgstr ""
2126
+ #~ "Scegli se mostrare il link \"Segnala un abuso\" sotto le thumbnail nella "
2127
+ #~ "pagina prodotto."
2128
+
2129
+ #~ msgid "All products"
2130
+ #~ msgstr "Tutti i prodotti"
2131
+
2132
+ #~ msgid "Only for vendor's products"
2133
+ #~ msgstr "Solo per i prodotti del venditore"
2134
+
2135
+ #~ msgid "\"Report abuse\" link text"
2136
+ #~ msgstr "Testo del link \"Segnala un abuso\""
2137
+
2138
+ #~ msgid "The report abuse link text."
2139
+ #~ msgstr "Inserisci qui il testo del link utilizzato per segnalare un abuso."
2140
+
2141
+ #~ msgid "Report abuse"
2142
+ #~ msgstr "Segnala un abuso"
2143
+
2144
+ #~ msgid "Vendor's registration page"
2145
+ #~ msgstr "Pagina di registrazione del venditore"
2146
+
2147
+ #~ msgid "Enable Vendors registration in \"My Account\" page"
2148
+ #~ msgstr "Abilita registrazione venditori nella pagina \"Il mio account\""
2149
+
2150
+ #~ msgid ""
2151
+ #~ "To make this option available you have to enable registration from \"My "
2152
+ #~ "Account\" page in <a href=\"%s\">WooCommerce > Settings > Account</a>"
2153
+ #~ msgstr ""
2154
+ #~ "Per attivare questa opzione devi abilitare la registrazione dalla pagina "
2155
+ #~ "\"Il mio account\" in <a href=\"%s\">WooCommerce > Impostazioni > "
2156
+ #~ "Account</a>"
2157
+
2158
+ #~ msgid "Auto enable vendor account"
2159
+ #~ msgstr "Autoabilitazione account venditore"
2160
+
2161
+ #~ msgid ""
2162
+ #~ "After registration, the seller is entitled to sell. If you disable this "
2163
+ #~ "option, the administrator must enable the vendor account manually"
2164
+ #~ msgstr ""
2165
+ #~ "Dopo la registrazione, il venditore è abilitato alla vendita. Se "
2166
+ #~ "disabiliti questa opzione, l'amministratore deve abilitare l'account "
2167
+ #~ "venditore manualmente."
2168
+
2169
+ #~ msgid "VAT/SSN number"
2170
+ #~ msgstr "Partita IVA/cod. fis."
2171
+
2172
+ #~ msgid "Mark this field required"
2173
+ #~ msgstr "Segna questo campo come obbligatorio"
2174
+
2175
+ #~ msgid "Become a vendor page"
2176
+ #~ msgstr "Pagina per diventare venditori"
2177
+
2178
+ #~ msgid "\"Become a vendor\" page"
2179
+ #~ msgstr "Pagina \"Diventa un venditore\""
2180
+
2181
+ #~ msgid "This sets the page where add the \"become a vendor\" form."
2182
+ #~ msgstr ""
2183
+ #~ "Imposta la pagina dove aggiungere il campo \"Diventa un venditore\"."
2184
+
2185
+ #~ msgid "Vendor's Store Page"
2186
+ #~ msgstr "Pagina venditore"
2187
+
2188
+ #~ msgid "Store link"
2189
+ #~ msgstr "Link negozio"
2190
+
2191
+ #~ msgid "Select the style you want to use:"
2192
+ #~ msgstr "Seleziona lo stile che vuoi utilizzare:"
2193
+
2194
+ #~ msgid "Theme style"
2195
+ #~ msgstr "Stile tema"
2196
+
2197
+ #~ msgid "Custom style"
2198
+ #~ msgstr "Stile personalizzato"
2199
+
2200
+ #~ msgid "Vendor's name label color"
2201
+ #~ msgstr "Colore etichetta nome venditore"
2202
+
2203
+ #~ msgid "Use it in shop page and single product page"
2204
+ #~ msgstr "Utilizzalo nella pagina shop e nella pagina singolo prodotto"
2205
+
2206
+ #~ msgid "Vendor's name label color (on hover)"
2207
+ #~ msgstr "Colore etichetta nome venditore (al passaggio del mouse)"
2208
+
2209
+ #~ msgid "Use it in shop page and single product page (on hover)"
2210
+ #~ msgstr ""
2211
+ #~ "Utilizzalo nella pagina shop e nella pagina singolo prodotto (al "
2212
+ #~ "passaggio del mouse)"
2213
+
2214
+ #~ msgid "Style for header image in vendor store page"
2215
+ #~ msgstr "Stile immagine header nella pagina venditore"
2216
+
2217
+ #~ msgid ""
2218
+ #~ "Skin 1: Black background and white font color, Skin 2: White background "
2219
+ #~ "and black font color"
2220
+ #~ msgstr ""
2221
+ #~ "Tema 1: sfondo nero e testo bianco, Tema 2: sfondo bianco e testo nero"
2222
+
2223
+ #~ msgid "Skin 1"
2224
+ #~ msgstr "Tema 1"
2225
+
2226
+ #~ msgid "Skin 2"
2227
+ #~ msgstr "Tema 2"
2228
+
2229
+ #~ msgid "Vendor tab position in single product page"
2230
+ #~ msgstr "Posizione scheda venditore nella pagina singolo prodotto"
2231
+
2232
+ #~ msgid ""
2233
+ #~ "Select the position for \"Vendor\" tab in single product page. You can "
2234
+ #~ "set to show the tab before or after WooCommerce tabs"
2235
+ #~ msgstr ""
2236
+ #~ "Seleziona la posizione della scheda \"Venditore\" nella pagina singolo "
2237
+ #~ "prodotto. Puoi scegliere di mostrare la scheda prima o dopo quelle "
2238
+ #~ "predefinite di WooCommerce"
2239
+
2240
+ #~ msgid "First tab"
2241
+ #~ msgstr "Prima scheda"
2242
+
2243
+ #~ msgid "After WooCommerce tabs"
2244
+ #~ msgstr "Dopo le schede predefinite di WooCommerce"
2245
+
2246
+ #~ msgid "Settings for vendor's \"Related products\""
2247
+ #~ msgstr "Impostazioni per i \"Prodotti correlati\" del venditore"
2248
+
2249
+ #~ msgid "Select related products to show in single product pages:"
2250
+ #~ msgstr ""
2251
+ #~ "Seleziona i prodotti correlati da mostrare nelle pagine singolo prodotto:"
2252
+
2253
+ #~ msgid "Do not show related products"
2254
+ #~ msgstr "Non mostrare prodotti correlati"
2255
+
2256
+ #~ msgid "Related products from the entire store"
2257
+ #~ msgstr "Prodotti correlati da tutto lo store"
2258
+
2259
+ #~ msgid "Related products from vendor's shop"
2260
+ #~ msgstr "Prodotti correlati dalla pagina del venditore"
2261
+
2262
+ #~ msgid "Show vendor's description in store page"
2263
+ #~ msgstr "Mostra la descrizione del venditore nella pagina Shop dello store."
2264
+
2265
+ #~ msgid ""
2266
+ #~ "Select if you want to show vendor's description after the header of Store "
2267
+ #~ "page."
2268
+ #~ msgstr ""
2269
+ #~ "Scegli se mostrare la descrizione del venditore dopo l'header della "
2270
+ #~ "pagina Shop dello store."
2271
+
2272
+ #~ msgid "Show vendor's name in store page"
2273
+ #~ msgstr "Mostra nome del venditore nella pagina shop dello store"
2274
+
2275
+ #~ msgid ""
2276
+ #~ "Select if you want to show vendor's name below products in Store page."
2277
+ #~ msgstr ""
2278
+ #~ "Scegli se mostrare il nome del venditore sotto i prodotti nella pagina "
2279
+ #~ "shop dello store."
2280
+
2281
+ #~ msgid "Show total vendor's sales in store page"
2282
+ #~ msgstr "Mostra vendite totali del venditore nella pagina shop"
2283
+
2284
+ #~ msgid ""
2285
+ #~ "Select if you want to show total vendor's sales in the header of Store "
2286
+ #~ "page."
2287
+ #~ msgstr ""
2288
+ #~ "Scegli se mostrare le vendite totali del venditore nell'header della "
2289
+ #~ "pagina shop."
2290
+
2291
+ #~ msgid "Show VAT/SSN in store page"
2292
+ #~ msgstr "Mostra IVA/C.F. nella pagina store"
2293
+
2294
+ #~ msgid ""
2295
+ #~ "Select if you want to show the VAT/SSN information in the header of Store "
2296
+ #~ "page."
2297
+ #~ msgstr ""
2298
+ #~ "Seleziona se vuoi mostrare le informazioni IVA/C.F. nell'intestazione "
2299
+ #~ "della pagina Store."
2300
+
2301
+ #~ msgid "PayPal settings"
2302
+ #~ msgstr "Impostazioni PayPal"
2303
+
2304
+ #~ msgid ""
2305
+ #~ "Configure here PayPal in order to process the payment of commissions."
2306
+ #~ msgstr "Configura qui PayPal per elaborare il pagamento delle commissioni."
2307
+
2308
+ #~ msgid "Payment Method"
2309
+ #~ msgstr "Metodo di pagamento"
2310
+
2311
+ #~ msgid "Choose how to pay the commissions to vendors"
2312
+ #~ msgstr "Scegli come pagare le commissioni ai venditori"
2313
+
2314
+ #~ msgid "Pay manually"
2315
+ #~ msgstr "Paga manualmente"
2316
+
2317
+ #~ msgid "Let vendors decide"
2318
+ #~ msgstr "Lascia che sia il venditore a decidere"
2319
+
2320
+ #~ msgid "Minimum Withdrawal"
2321
+ #~ msgstr "Prelievo minimo"
2322
+
2323
+ #~ msgid ""
2324
+ #~ "Set the minimum value for commission withdrawals. This setting will "
2325
+ #~ "update all vendors' accounts that still have a threshold lower than the "
2326
+ #~ "one set."
2327
+ #~ msgstr ""
2328
+ #~ "Imposta il valore minimo per prelevare le commissioni. Questa "
2329
+ #~ "impostazione aggiornerà tutti gli account dei venditori che hanno già una "
2330
+ #~ "soglia inferiore a quella impostata."
2331
+
2332
+ #~ msgid "Sandbox environment"
2333
+ #~ msgstr "Modalità sandbox"
2334
+
2335
+ #~ msgid "Set environment as sandbox, for test purpose"
2336
+ #~ msgstr "Imposta la modalità sandbox per testare il funzionamento"
2337
+
2338
+ #~ msgid "API Username"
2339
+ #~ msgstr "API Username"
2340
+
2341
+ #~ msgid ""
2342
+ #~ "API username of PayPal administration account (if empty, settings of "
2343
+ #~ "PayPal in <a href=\"%s\">WooCommmerce Settings page</a> apply)."
2344
+ #~ msgstr ""
2345
+ #~ "Nome utente API dell'account di amministratore PayPal (se vuoto, applica "
2346
+ #~ "impostazioni PayPal da <a href=\"%s\">WooCommmerce Settings page</a>)."
2347
+
2348
+ #~ msgid "API Password"
2349
+ #~ msgstr "API Password"
2350
+
2351
+ #~ msgid ""
2352
+ #~ "API password of PayPal administration account (if empty, settings of "
2353
+ #~ "PayPal in <a href=\"%s\">WooCommmerce Settings page</a> apply)."
2354
+ #~ msgstr ""
2355
+ #~ "Password API dell'account di amministratore PayPal (se vuoto, applica "
2356
+ #~ "impostazioni PayPal da <a href=\"%s\">WooCommmerce Settings page</a>)."
2357
+
2358
+ #~ msgid "API Signature"
2359
+ #~ msgstr "API Signature"
2360
+
2361
+ #~ msgid ""
2362
+ #~ "API signature of PayPal administration account (if empty, settings of "
2363
+ #~ "PayPal in <a href=\"%s\">WooCommmerce Settings page</a> apply)."
2364
+ #~ msgstr ""
2365
+ #~ "Firma API dell'account di amministratore PayPal (se vuoto, applica "
2366
+ #~ "impostazioni PayPal da <a href=\"%s\">WooCommmerce Settings page</a>)."
2367
+
2368
+ #~ msgid "Payment Email Subject"
2369
+ #~ msgstr "Oggetto email pagamento"
2370
+
2371
+ #~ msgid ""
2372
+ #~ "Subject for email sent by PayPal to customers when payment request is "
2373
+ #~ "registered"
2374
+ #~ msgstr "Oggetto dell'email che gli utenti ricevono da PayPaò"
2375
+
2376
+ #~ msgid "Notification URL"
2377
+ #~ msgstr "URL di notifica"
2378
+
2379
+ #~ msgid ""
2380
+ #~ "Copy this URL and set it into PayPal admin panel, to receive IPN from "
2381
+ #~ "their server"
2382
+ #~ msgstr ""
2383
+ #~ "Copia questo URL nel pannello di amministrazione PayPal per ricevere "
2384
+ #~ "l'IPN dal server"
2385
+
2386
+ #~ msgid "Report settings."
2387
+ #~ msgstr "Impostazioni report."
2388
+
2389
+ #~ msgid "Vendor Report limit"
2390
+ #~ msgstr "Limite report venditore"
2391
+
2392
+ #~ msgid "Choose the maximum number of rows you can show in the reports"
2393
+ #~ msgstr "Seleziona il numero massimo di righe da mostrare nei report"
2394
+
2395
+ #~ msgid "10"
2396
+ #~ msgstr "10"
2397
+
2398
+ #~ msgid "20"
2399
+ #~ msgstr "20"
2400
+
2401
+ #~ msgid ""
2402
+ #~ "If you enable this option, each vendor will be able to chat with their "
2403
+ #~ "customers directly"
2404
+ #~ msgstr ""
2405
+ #~ "Se abiliti questa opzione, ogni venditore potrà avviare una chat "
2406
+ #~ "direttamente con i propri clienti"
2407
+
2408
+ #~ msgctxt ""
2409
+ #~ "Admin: refers to the sentence \"It needs YITH Live Chat plugin to work\""
2410
+ #~ msgid "Needs"
2411
+ #~ msgstr "Richiede"
2412
+
2413
+ #~ msgid "plugin"
2414
+ #~ msgstr "plugin"
2415
+
2416
+ #~ msgid ""
2417
+ #~ "If you enable this option, vendors will be able to create and manage "
2418
+ #~ "memberships for their own customers"
2419
+ #~ msgstr ""
2420
+ #~ "Se abiliti questa opzione, i venditori potranno creare e gestire piani di "
2421
+ #~ "accesso contenuti per i loro clienti"
2422
+
2423
+ #~ msgctxt "Admin: means needs YITH WooCommerce Membership plugin to works"
2424
+ #~ msgid "Needs"
2425
+ #~ msgstr "Richiede"
2426
+
2427
+ #~ msgid "Enable product amount limit"
2428
+ #~ msgstr "Abilita limite quantità prodotti"
2429
+
2430
+ #~ msgid "Limit product amount for each vendor"
2431
+ #~ msgstr ""
2432
+ #~ "Imposta un limite per la quantità di prodotti che può caricare ciascun "
2433
+ #~ "venditore"
2434
+
2435
+ #~ msgid "Product amount limit"
2436
+ #~ msgstr "Restrizioni quantità di prodotti"
2437
+
2438
+ #~ msgid "Set a maximum number of products that each vendor can publish"
2439
+ #~ msgstr ""
2440
+ #~ "Seleziona un numero massimo di prodotti che ciascun venditore può "
2441
+ #~ "pubblicare"
2442
+
2443
+ #~ msgid "Product listings"
2444
+ #~ msgstr "Elenchi prodotti"
2445
+
2446
+ #~ msgid "Hide vendor products from store loop page"
2447
+ #~ msgstr "Nascondi prodotti del venditore dalla pagina loop dello store"
2448
+
2449
+ #~ msgid ""
2450
+ #~ "Hide products belonging to vendors from store loop page - this means that "
2451
+ #~ "vendor products will only be visible on the individual vendor pages."
2452
+ #~ msgstr ""
2453
+ #~ "Nascondi i prodotti appartenenti ai venditori dalla pagina loop dello "
2454
+ #~ "store - questo significa che i prodotti del venditore saranno visibili "
2455
+ #~ "solo nelle pagine dei rispettivi venditori."
2456
+
2457
+ #~ msgid "Skip admin review"
2458
+ #~ msgstr "Salta approvazione amministratore"
2459
+
2460
+ #~ msgid ""
2461
+ #~ "If you enable this option any vendor could publish products without super "
2462
+ #~ "admin authorization.\n"
2463
+ #~ " This is the default option for any new "
2464
+ #~ "vendor\n"
2465
+ #~ " It is possible to override these "
2466
+ #~ "settings for each vendor. "
2467
+ #~ msgstr ""
2468
+ #~ "Se abiliti questa opzione, tutti i venditori potranno pubblicare i "
2469
+ #~ "prodotti senza dover avere l'autorizzazione dell'amministratore.\n"
2470
+ #~ "Questa è l'impostazione predefinita per ogni nuovo venditore.\n"
2471
+ #~ "È possibile sovrascrivere queste impostazioni per ogni singolo venditore."
2472
+
2473
+ #~ msgid "Force \"Skip reviews\" option for all vendors"
2474
+ #~ msgstr "Imposta l'opzione \"Salta autorizzazione\" per tutti i venditori"
2475
+
2476
+ #~ msgid "Force option"
2477
+ #~ msgstr "Imposta per tutti"
2478
+
2479
+ #~ msgid "Force \"Skip admin review\" options for all vendors."
2480
+ #~ msgstr ""
2481
+ #~ "Imposta l'opzione \"Salta autorizzazione amministratore\" per tutti i "
2482
+ #~ "venditori"
2483
+
2484
+ #~ msgid "Enable YIT Shortcodes Button"
2485
+ #~ msgstr "Abilita pulsante YIT Shortcodes"
2486
+
2487
+ #~ msgid ""
2488
+ #~ "If you enable this option, each vendor will be able to use YIT Shortcodes "
2489
+ #~ "in Add/Edit Product page."
2490
+ #~ msgstr ""
2491
+ #~ "Se abiliti questa opzione, ogni venditore sarà abilitato ad usare YIT "
2492
+ #~ "Shortcodes nella pagina Aggiungi/Modifica Prodotti."
2493
+
2494
+ #~ msgid "Coupon management"
2495
+ #~ msgstr "Gestione coupon"
2496
+
2497
+ #~ msgid "Enable coupon management"
2498
+ #~ msgstr "Abilita gestione coupon"
2499
+
2500
+ #~ msgid ""
2501
+ #~ "If you enable this option, each vendor will be able to create coupon for "
2502
+ #~ "their own products."
2503
+ #~ msgstr ""
2504
+ #~ "Se abiliti questa opzione, ciascun venditore potrà creare dei coupon per "
2505
+ #~ "i propri prodotti."
2506
+
2507
+ #~ msgid "Review management"
2508
+ #~ msgstr "Gestione recensioni"
2509
+
2510
+ #~ msgid "Enable review management"
2511
+ #~ msgstr "Abilita gestione recensioni"
2512
+
2513
+ #~ msgid ""
2514
+ #~ "If you enable this option, each vendor will be able to manage reviews on "
2515
+ #~ "his/her own products independently."
2516
+ #~ msgstr ""
2517
+ #~ "Se abiliti questa opzione, ogni venditore potrà gestire le recensioni sui "
2518
+ #~ "propri prodotti in maniera indipendente."
2519
+
2520
+ #~ msgid ""
2521
+ #~ "All changes made to general orders will be synchronized with the "
2522
+ #~ "individual vendor's order"
2523
+ #~ msgstr ""
2524
+ #~ "Tutte le modifiche effettuate sugli ordini generali saranno sincronizzate "
2525
+ #~ "con gli ordini di ogni singolo venditore"
2526
+
2527
+ #~ msgid "Order refund management"
2528
+ #~ msgstr "Gestione rimborso ordini"
2529
+
2530
+ #~ msgid ""
2531
+ #~ "If you enable this option, each vendor will be able to manage refund on "
2532
+ #~ "his/her own orders independently."
2533
+ #~ msgstr ""
2534
+ #~ "Se abiliti questa opzione, ciascun venditore avrà la possibilità di "
2535
+ #~ "gestire gli ordini riguardanti i propri prodotti autonomamente."
2536
+
2537
+ #~ msgid "Featured Products management"
2538
+ #~ msgstr "Gestione prodotti in evidenza"
2539
+
2540
+ #~ msgid "Enable featured products management"
2541
+ #~ msgstr "Abilita gestione prodotti in evidenza"
2542
+
2543
+ #~ msgid ""
2544
+ #~ "If you enable this option, each vendor will be able to set \"Featured\" "
2545
+ #~ "on his/her own products independently."
2546
+ #~ msgstr ""
2547
+ #~ "Se abiliti questa opzione, ciascun venditore potrà scegliere in autonomia "
2548
+ #~ "quali tra i suoi prodotti inserire come \"in evidenza\"."
2549
+
2550
+ #~ msgid "Seller vacation"
2551
+ #~ msgstr "Chiuso per ferie - venditore"
2552
+
2553
+ #~ msgid "Enable seller vacation module"
2554
+ #~ msgstr "Abilita chiusura per ferie venditore"
2555
+
2556
+ #~ msgid ""
2557
+ #~ "If you enable this option, each vendor will be able to close his/her shop "
2558
+ #~ "for vacation."
2559
+ #~ msgstr ""
2560
+ #~ "Se abiliti questa opzione, ciascun venditore potrà chiudere il suo shop "
2561
+ #~ "per ferie."
2562
+
2563
+ #~ msgid "Live Chat Integration"
2564
+ #~ msgstr "Integrazione con Live Chat"
2565
+
2566
+ #~ msgid "Enable live chat for vendors"
2567
+ #~ msgstr "Attiva la chat per i venditori"
2568
+
2569
+ #~ msgid "Vendor's VAT/SSN."
2570
+ #~ msgstr "IVA/C.F. venditore"
2571
+
2572
+ #~ msgid "Allow vendors to add products without admin review"
2573
+ #~ msgstr ""
2574
+ #~ "Autorizza i venditori ad aggiungere prodotti senza dover ricevere "
2575
+ #~ "autorizzazione dall'amministratore"
2576
+
2577
+ #~ msgid "Vendor Shop Admins"
2578
+ #~ msgstr "Amministratori pagina venditore"
2579
+
2580
+ #~ msgid "Contact information :"
2581
+ #~ msgstr "Informazioni di contatto:"
2582
+
2583
+ #~ msgid "Location"
2584
+ #~ msgstr "Posizione"
2585
+
2586
+ #~ msgid "Store email"
2587
+ #~ msgstr "Email store"
2588
+
2589
+ #~ msgid "Telephone"
2590
+ #~ msgstr "Telefono"
2591
+
2592
+ #~ msgid "Social profile:"
2593
+ #~ msgstr "Profilo social:"
2594
+
2595
+ #~ msgid "Registration date:"
2596
+ #~ msgstr "Data di registrazione:"
2597
+
2598
+ #~ msgid "Header image"
2599
+ #~ msgstr "Immagine header"
2600
+
2601
+ #~ msgid "Upload/Add image"
2602
+ #~ msgstr "Carica/aggiungi immagine"
2603
+
2604
+ #~ msgid "Remove image"
2605
+ #~ msgstr "Rimuovi immagine"
2606
+
2607
+ #~ msgid "Vendor shop page information"
2608
+ #~ msgstr "Informazioni pagina venditore"
2609
+
2610
+ #~ msgid "Description for Vendor Tab in single product page."
2611
+ #~ msgstr "Descrizione della scheda venditore nella pagina singolo prodotto."
2612
+
2613
+ #~ msgid "Enable store header logo:"
2614
+ #~ msgstr "Abilita logo dell'header del negozio:"
2615
+
2616
+ #~ msgid "Show logo in the vendor's store header page"
2617
+ #~ msgstr "Mostra il logo nell'header della pagina del negozio dei venditori."
2618
+
2619
+ #~ msgid ""
2620
+ #~ "Store address. e.g.: MyStore S.A. Avenue MyStore 55, 1800 Vevey, "
2621
+ #~ "Switzerland"
2622
+ #~ msgstr "Indirizzo negozio. Es. IlMioNegozio via MyStore 55, Svizzera"
2623
+
2624
+ #~ msgid "Insert store email address."
2625
+ #~ msgstr "Inserisci indirizzo email dello store."
2626
+
2627
+ #~ msgid "Insert store telephone number."
2628
+ #~ msgstr "Inserisci numero di telefono dello store."
2629
+
2630
+ #~ msgid "Add social page link here"
2631
+ #~ msgstr "Aggiungi link pagina social qui"
2632
+
2633
+ #~ msgid "Save Front page Settings"
2634
+ #~ msgstr "Salva impostazioni front page"
2635
+
2636
+ #~ msgid "Payments information"
2637
+ #~ msgstr "Informazioni di pagamento"
2638
+
2639
+ #~ msgid "Payment type:"
2640
+ #~ msgstr "Tipo di pagamento:"
2641
+
2642
+ #~ msgid "Choose payment method for crediting commissions"
2643
+ #~ msgstr "Scegli il metodo di pagamento per le commissioni"
2644
+
2645
+ #~ msgid "Threshold"
2646
+ #~ msgstr "Soglia"
2647
+
2648
+ #~ msgid "Minimum vendor's earning before a vendor's commissions can be paid"
2649
+ #~ msgstr ""
2650
+ #~ "Guadagno minimo che il venditore deve raggiungere prima che gli si "
2651
+ #~ "possano pagare le commissioni"
2652
+
2653
+ #~ msgid "Minimum threshold allowed by site administrator is"
2654
+ #~ msgstr "La soglia minima di guadagni impostata dall'amministratore è"
2655
+
2656
+ #~ msgid "Save Payments Information"
2657
+ #~ msgstr "Salva informazioni di pagamento"
2658
+
2659
+ #~ msgid "Store general information"
2660
+ #~ msgstr "Informazioni generali dello store"
2661
+
2662
+ #~ msgid "Store name (displayed in vendor tabs and vendor store page)."
2663
+ #~ msgstr ""
2664
+ #~ "Nome dello store (visualizzato nelle schede del venditore e nella pagina "
2665
+ #~ "del venditore)."
2666
+
2667
+ #~ msgid ""
2668
+ #~ "The “slug” is the URL-friendly version of the name. It is usually "
2669
+ #~ "lowercased and contains only letters, numbers and hyphens."
2670
+ #~ msgstr ""
2671
+ #~ "Lo \"slug\" è una versione del nome adatta per l'URL. È costituita in "
2672
+ #~ "genere da caratteri minuscoli e contiene solo lettere, numeri e trattini."
2673
+
2674
+ #~ msgid "VAT/SSN:"
2675
+ #~ msgstr "IVA/C.F."
2676
+
2677
+ #~ msgid "The VAT/SSN of your store."
2678
+ #~ msgstr "La partita IVA o il codice fiscale per il tuo store."
2679
+
2680
+ #~ msgid "Store capability and rate:"
2681
+ #~ msgstr "Autorizzazioni store e tassi commissione:"
2682
+
2683
+ #~ msgid "Skip admin review: "
2684
+ #~ msgstr "Salta approvazione amministrazione:"
2685
+
2686
+ #~ msgid "Sale status: "
2687
+ #~ msgstr "Stato delle vendite:"
2688
+
2689
+ #~ msgid "Registration date: "
2690
+ #~ msgstr "Data di registrazione:"
2691
+
2692
+ #~ msgid "Save Vendor Settings"
2693
+ #~ msgstr "Salva impostazioni venditore"
2694
+
2695
+ #~ msgid "Seller vacation info"
2696
+ #~ msgstr "Info "
2697
+
2698
+ #~ msgid "Vacation message:"
2699
+ #~ msgstr "Messaggio chiusura ferie:"
2700
+
2701
+ #~ msgid "Add here the vacation message."
2702
+ #~ msgstr "Inserisci qui un messaggio per le ferie."
2703
+
2704
+ #~ msgid "Vacation date"
2705
+ #~ msgstr "Data ferie"
2706
+
2707
+ #~ msgid "Start date"
2708
+ #~ msgstr "Dal"
2709
+
2710
+ #~ msgid "End date"
2711
+ #~ msgstr "Al"
2712
+
2713
+ #~ msgid "Selling option"
2714
+ #~ msgstr "Opzione vendite"
2715
+
2716
+ #~ msgid "Prevent sales temporarily"
2717
+ #~ msgstr "Blocca vendite temporaneamente"
2718
+
2719
+ #~ msgid "Keep selling anyway"
2720
+ #~ msgstr "Continua a vendere comunque"
2721
+
2722
+ #~ msgid "Save Vacation Settings"
2723
+ #~ msgstr "Salva impostazioni ferie"
2724
+
2725
+ #~ msgid "Paypal email"
2726
+ #~ msgstr "Email PayPal"
2727
+
2728
+ #~ msgid "Order number"
2729
+ #~ msgstr "Numero ordine"
2730
+
2731
+ #~ msgid "The commission has been credited successfully."
2732
+ #~ msgstr "La commissione è stata accreditata con successo."
2733
+
2734
+ #~ msgid "Commission #%s detail"
2735
+ #~ msgstr "Dettagli commissione #%s"
2736
+
2737
+ #~ msgid "Some commissions have not been credited properly."
2738
+ #~ msgstr "Alcune commissioni non sono state accreditate correttamente."
2739
+
2740
+ #~ msgid "Details of commissions not paid"
2741
+ #~ msgstr "Dettagli commissioni non pagate"
2742
+
2743
+ #~ msgid "Commission #%s"
2744
+ #~ msgstr "Commissione #%s"
2745
+
2746
+ #~ msgid "Owner:"
2747
+ #~ msgstr "Proprietario:"
2748
+
2749
+ #~ msgid "Store Name:"
2750
+ #~ msgstr "Nome store:"
2751
+
2752
+ #~ msgid "Store Email"
2753
+ #~ msgstr "Email store"
2754
+
2755
+ #~ msgid "New vendor registered"
2756
+ #~ msgstr "Nuovo venditore registrato"
2757
+
2758
+ #~ msgid "A new user has made a request to become a vendor in your store."
2759
+ #~ msgstr ""
2760
+ #~ "Un nuovo utente ha richiesto di diventare venditore all'interno del tuo "
2761
+ #~ "store."
2762
+
2763
+ #~ msgid "Vendor detail"
2764
+ #~ msgstr "Dettagli venditore"
2765
+
2766
+ #~ msgid "PayPal email"
2767
+ #~ msgstr "Email PayPal"
2768
+
2769
+ #~ msgid "Commission number: %s"
2770
+ #~ msgstr "Numero commissione: %s"
2771
+
2772
+ #~ msgid "jS F Y"
2773
+ #~ msgstr "jS F Y"
2774
+
2775
+ #~ msgid "Store Name"
2776
+ #~ msgstr "Nome dello store"
2777
+
2778
+ #~ msgid "The order #%d from %s has been cancelled. The order was as follows:"
2779
+ #~ msgstr "L'ordine #%d da %s è stato annullato. Di seguito i dettagli:"
2780
+
2781
+ #~ msgid "Order number: %s"
2782
+ #~ msgstr "Numero ordine: %s"
2783
+
2784
+ #~ msgctxt "New Order Email"
2785
+ #~ msgid "Commission id:"
2786
+ #~ msgstr "ID commissione:"
2787
+
2788
+ #~ msgctxt "New Order Email"
2789
+ #~ msgid "Commission rate:"
2790
+ #~ msgstr "Tasso di commissione:"
2791
+
2792
+ #~ msgctxt "New Order Email"
2793
+ #~ msgid "Earnings:"
2794
+ #~ msgstr "Guadagni:"
2795
+
2796
+ #~ msgid "Quantity: %s"
2797
+ #~ msgstr "Quantità: %s"
2798
+
2799
+ #~ msgid "Cost: %s"
2800
+ #~ msgstr "Costo: %s"
2801
+
2802
+ #~ msgid "Download %d"
2803
+ #~ msgstr "Download %d"
2804
+
2805
+ #~ msgid "Download"
2806
+ #~ msgstr "Download"
2807
+
2808
+ #~ msgid "Your vendor account has been approved %s."
2809
+ #~ msgstr "Il tuo account venditore è stato approvato %s."
2810
+
2811
+ #~ msgid ""
2812
+ #~ "From your vendor dashboard you can view your recent commissions, view the "
2813
+ #~ "sales report and manage your store and payment settings. Click <a href="
2814
+ #~ "\"%s\">here</a> to access <strong>store dashboard</strong>."
2815
+ #~ msgstr ""
2816
+ #~ "Dalla tua dashboard venditore puoi visualizzare le tue commissioni "
2817
+ #~ "recenti, il report delle vendite e gestire il tuo store e le impostazioni "
2818
+ #~ "di pagamento. Fai clic su <a href=\"%s\">here</a> per entrare nella "
2819
+ #~ "<strong>dashboard dello store</strong>."
2820
+
2821
+ #~ msgid "You have received an order from %s."
2822
+ #~ msgstr "Hai ricevuto un ordine da %s."
2823
+
2824
+ #~ msgid "Order #%s"
2825
+ #~ msgstr "Ordine #%s"
2826
+
2827
+ #~ msgid "Price"
2828
+ #~ msgstr "Prezzo"
2829
+
2830
+ #~ msgctxt "Email: commission rate column"
2831
+ #~ msgid "Commission"
2832
+ #~ msgstr "Commissione"
2833
+
2834
+ #~ msgctxt "Email: commission amount column"
2835
+ #~ msgid "Earnings"
2836
+ #~ msgstr "Guadagni"
2837
+
2838
+ #~ msgid "Product Image"
2839
+ #~ msgstr "Immagine prodotto"
2840
+
2841
+ #~ msgid "You have received an order from %s. The order is as follows:"
2842
+ #~ msgstr "Hai ricevuto un ordine da %s. Di seguito i dettagli:"
2843
+
2844
+ #~ msgid "Store name *"
2845
+ #~ msgstr "Nome shop *"
2846
+
2847
+ #~ msgid "Address *"
2848
+ #~ msgstr "Indirizzo *"
2849
+
2850
+ #~ msgid "Email *"
2851
+ #~ msgstr "Email *"
2852
+
2853
+ #~ msgid "Telephone *"
2854
+ #~ msgstr "Telefono *"
2855
+
2856
+ #~ msgid "Store page"
2857
+ #~ msgstr "Pagina shop"
2858
+
2859
+ #~ msgid "%s average rating from %d review"
2860
+ #~ msgid_plural "%s average rating from %d reviews"
2861
+ #~ msgstr[0] "Votazione media: %s su %d recensione"
2862
+ #~ msgstr[1] "Votazione media: %s su %d recensioni"
2863
+
2864
+ #~ msgid "Total sales: %d"
2865
+ #~ msgstr "Vendite totali: %d"
2866
+
2867
+ #~ msgid "Name"
2868
+ #~ msgstr "Nome"
2869
+
2870
+ #~ msgid "Message"
2871
+ #~ msgstr "Messaggio"
2872
+
2873
+ #~ msgid "Show in Google Maps"
2874
+ #~ msgstr "Mostra in Google Maps"
2875
+
2876
+ #~ msgid "Custom:"
2877
+ #~ msgstr "Personalizza:"
2878
+
2879
+ #~ msgid "Go"
2880
+ #~ msgstr "Vai a"
2881
+
2882
+ #~ msgid "VAT/SSN: %s"
2883
+ #~ msgstr "IVA/C.F.: %s"
2884
+
2885
+ #~ msgid "My Vendor Dashboard"
2886
+ #~ msgstr "La mia dashboard venditore"
2887
+
2888
+ #~ msgid ""
2889
+ #~ "You'll be able to access your dashboard as soon as the administrator "
2890
+ #~ "approves your vendor account."
2891
+ #~ msgstr ""
2892
+ #~ "Potrai accedere alla tua dashboard non appena l'amministratore approva il "
2893
+ #~ "tuo account venditore."
2894
+
2895
+ #~ msgid ""
2896
+ #~ "From your vendor dashboard you can view your recent commissions, view the "
2897
+ #~ "sales report and manage your store and payment settings."
2898
+ #~ msgstr ""
2899
+ #~ "Dalla tua dashboard venditore, potrai visualizzare le tue commissioni "
2900
+ #~ "recenti, il report delle vendite e gestire il tuo shop e le impostazioni "
2901
+ #~ "di pagamento."
2902
+
2903
+ #~ msgid ""
2904
+ #~ "Click <a href=\"%s\">here</a> to access <strong>%s dashboard</strong>."
2905
+ #~ msgstr ""
2906
+ #~ "Fai clic su <a href=\"%s\">here</a> per accedere alla <strong>%s "
2907
+ #~ "dashboard</strong>."
2908
+
2909
+ #~ msgid "Register as a vendor"
2910
+ #~ msgstr "Registrati come venditore"
2911
+
2912
+ #~ msgid "Owner First Name *"
2913
+ #~ msgstr "Nome proprietario *"
2914
+
2915
+ #~ msgid "Owner Last Name *"
2916
+ #~ msgstr "Cognome proprietario *"
2917
+
2918
+ #~ msgid "Report an abuse for product %s"
2919
+ #~ msgstr "Segnala un abuso per il prodotto %s"
2920
+
2921
+ #~ msgid "in vendor shop %s"
2922
+ #~ msgstr "nello shop %s"
2923
+
2924
+ #~ msgid "Leave a message explaining the reasons for your abuse report"
2925
+ #~ msgstr "Lascia un messaggio e spiega il motivo della segnalazione"
2926
+
2927
+ #~ msgid ""
2928
+ #~ "Please, set the VAT/SSN field to complete your profile in your store "
2929
+ #~ "details"
2930
+ #~ msgstr ""
2931
+ #~ "Per favore, imposta il campo IVA/C.F. per completare il tuo profilo da "
2932
+ #~ "\"Profilo venditore\""
2933
+
2934
+ #~ msgid ""
2935
+ #~ "vendor shops have no VAT/SSN set. Please, set VAT/SSN filed for each "
2936
+ #~ "vendor shop"
2937
+ #~ msgstr ""
2938
+ #~ "Non è stata specificata una partita IVA o il codice fiscale per gli shop "
2939
+ #~ "venditore. Per favore, compila il campo per ogni shop venditore."
2940
+
2941
+ #~ msgid ""
2942
+ #~ "If you enable this option, each vendor will be able to manage refund on "
2943
+ #~ "his/her own reviews independently."
2944
+ #~ msgstr ""
2945
+ #~ "Se abiliti questa opzione, ciascun venditore potrà gestire il rimborso "
2946
+ #~ "per i pro"
2947
+
2948
+ #~ msgid "Vendor details"
2949
+ #~ msgstr "Dettagli venditore"
2950
+
2951
+ #~ msgid ""
2952
+ #~ "If you enable this option any vendor could publish products without super "
2953
+ #~ "admin authorization.This is the default option for any new vendor. It is "
2954
+ #~ "possible to override these settings for each vendor. "
2955
+ #~ msgstr ""
2956
+ #~ "Se abiliti questa opzione ogni venditore potrebbe pubblicare prodotti "
2957
+ #~ "senza l'autorizzazione del super-amministratore. Questa è l'opzione di "
2958
+ #~ "default per ogni nuovo venditore. E' possibile sovrascrivere queste "
2959
+ #~ "impostazioni per ogni venditore."
2960
+
2961
+ #~ msgid "Choose which format of email to send."
2962
+ #~ msgstr "Scegli il formato email da inviare."
2963
+
2964
+ #~ msgid "Minimum Withdrawals"
2965
+ #~ msgstr "Prelievo minimo"
2966
+
2967
+ #~ msgid ""
2968
+ #~ "Cancelled order emails are sent to when orders have been marked cancelled "
2969
+ #~ "(if they were previously pending or on-hold)."
2970
+ #~ msgstr ""
2971
+ #~ "Le email per ordine cancellato vengono inviate quando lo stato degli "
2972
+ #~ "ordini è stato impostato come annullato (se prima erano in attesa o in "
2973
+ #~ "attesa di pagamento)."
2974
+
2975
+ #~ msgid ""
2976
+ #~ "Select if you want to show \"Item sold\" information in single product "
2977
+ #~ "page under categories and tags information"
2978
+ #~ msgstr ""
2979
+ #~ "Scegli se mostrare l'informazione \"Articolo venduto\" nella pagina "
2980
+ #~ "singolo prodotto sotto le informazioni di categorie e tag"
2981
+
2982
+ #~ msgid "Hide vendor products from other product listings"
2983
+ #~ msgstr "Nascondi prodotti venditore da altre elenchi prodotti"
2984
+
2985
+ #~ msgid ""
2986
+ #~ "If you enable this option any vendor could publish product without super "
2987
+ #~ "admin autorizzation.\n"
2988
+ #~ " This is the default option for new "
2989
+ #~ "vendor\n"
2990
+ #~ " It is possible to override this "
2991
+ #~ "settings for each vendor. "
2992
+ #~ msgstr ""
2993
+ #~ "Se abiliti questa opzione, tutti i venditori potranno pubblicare i "
2994
+ #~ "prodotti senza dover avere l'autorizzazione dell'amministratore.\n"
2995
+ #~ "Questa è l'impostazione predefinita per ogni nuovo venditore.\n"
2996
+ #~ "È possibile sovrascrivere queste impostazioni per ogni singolo venditore."
2997
+
2998
+ #~ msgid "Choose the maximum number of row you can show in the reports"
2999
+ #~ msgstr "Seleziona il numero massimo di righe da mostrare nei report"
3000
+
3001
+ #~ msgid ""
3002
+ #~ "Select products that must have been added to cart to use this coupon or."
3003
+ #~ msgstr ""
3004
+ #~ "Seleziona i prodotti che devono essere aggiunti al carrello perché il "
3005
+ #~ "coupon possa essere utilizzato."
3006
+
3007
+ #~ msgid "[{site_title}] Commission paid"
3008
+ #~ msgstr "Commissione per [{site_title}] pagata"
3009
+
3010
+ #~ msgid "[{site_title}] Commissions unpaid"
3011
+ #~ msgstr "Le commissioni di [{site_title}] non sono state pagate"
3012
+
3013
+ #~ msgid "[{site_title}] New Vendor Registration"
3014
+ #~ msgstr "[{site_title}] - "
modules/yith-woocommerce-product-vendors/languages/yith-woocommerce-product-vendors.pot ADDED
@@ -0,0 +1,1205 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ #, fuzzy
2
+ msgid ""
3
+ msgstr ""
4
+ "Project-Id-Version: YITH WooCommerce Multi Vendor\n"
5
+ "POT-Creation-Date: 2016-05-24 11:43+0200\n"
6
+ "PO-Revision-Date: 2015-07-23 14:59+0100\n"
7
+ "Last-Translator: \n"
8
+ "Language-Team: YIThemes <plugins@yithemes.com>\n"
9
+ "Language: en\n"
10
+ "MIME-Version: 1.0\n"
11
+ "Content-Type: text/plain; charset=UTF-8\n"
12
+ "Content-Transfer-Encoding: 8bit\n"
13
+ "X-Generator: Poedit 1.8.4\n"
14
+ "X-Poedit-Basepath: ..\n"
15
+ "Plural-Forms: nplurals=2; plural=n!=1;\n"
16
+ "X-Poedit-KeywordsList: __ ;_e;_n:1,2;__ngettext:1,2;__ngettext_noop:1,2;"
17
+ "_n_noop:1,2;_c,_nc:4c,1,2;_x:1,2c;_ex:1,2c;_nx:4c,1,2;_nx_noop:4c,1,2;"
18
+ "esc_attr__;esc_attr_e\n"
19
+ "X-Poedit-SourceCharset: UTF-8\n"
20
+ "X-Poedit-SearchPath-0: .\n"
21
+ "X-Poedit-SearchPathExcluded-0: plugin-fw\n"
22
+
23
+ #: includes/class.yith-commission.php:461
24
+ #, php-format
25
+ msgid "Commission status changed from %s to %s."
26
+ msgstr ""
27
+
28
+ #: includes/class.yith-commissions.php:188
29
+ msgid "Commission status not updated!"
30
+ msgstr ""
31
+
32
+ #: includes/class.yith-commissions.php:189
33
+ msgid "Commission status updated!"
34
+ msgstr ""
35
+
36
+ #: includes/class.yith-commissions.php:190
37
+ msgid ""
38
+ "Payment successful. In a few minutes you will receive an email with the "
39
+ "outcome of the payment and the commission state will be changed accordingly."
40
+ msgstr ""
41
+
42
+ #: includes/class.yith-commissions.php:191
43
+ msgid "Payment failed."
44
+ msgstr ""
45
+
46
+ #: includes/class.yith-commissions.php:226
47
+ msgid "Paid"
48
+ msgstr ""
49
+
50
+ #: includes/class.yith-commissions.php:227
51
+ msgid "Unpaid"
52
+ msgstr ""
53
+
54
+ #: includes/class.yith-commissions.php:228
55
+ msgid "Pending"
56
+ msgstr ""
57
+
58
+ #: includes/class.yith-commissions.php:229
59
+ msgid "Refunded"
60
+ msgstr ""
61
+
62
+ #: includes/class.yith-commissions.php:230
63
+ msgid "Cancelled"
64
+ msgstr ""
65
+
66
+ #: includes/class.yith-commissions.php:231
67
+ msgid "Processing"
68
+ msgstr ""
69
+
70
+ #: includes/class.yith-commissions.php:290
71
+ #: includes/class.yith-commissions.php:291
72
+ #: includes/class.yith-commissions.php:1289
73
+ #: includes/class.yith-vendors-admin.php:173
74
+ msgid "Commissions"
75
+ msgstr ""
76
+
77
+ #: includes/class.yith-commissions.php:358
78
+ msgid "Vendor Commissions"
79
+ msgstr ""
80
+
81
+ #: includes/class.yith-commissions.php:395
82
+ msgid "Earnings by vendor"
83
+ msgstr ""
84
+
85
+ #: includes/class.yith-commissions.php:413
86
+ #, php-format
87
+ msgid "Commission #%d details"
88
+ msgstr ""
89
+
90
+ #: includes/class.yith-commissions.php:414
91
+ #, php-format
92
+ msgid "%1$s &lsaquo; %2$s &#8212; WordPress"
93
+ msgstr ""
94
+
95
+ #: includes/class.yith-commissions.php:1172
96
+ #, php-format
97
+ msgid "Refunded %s from order"
98
+ msgstr ""
99
+
100
+ #: includes/class.yith-commissions.php:1205
101
+ #, php-format
102
+ msgid "Cancelled %s refund from order"
103
+ msgstr ""
104
+
105
+ #: includes/class.yith-commissions.php:1325
106
+ #: includes/class.yith-orders.php:1467
107
+ msgid "commission_id"
108
+ msgstr ""
109
+
110
+ #: includes/class.yith-orders.php:195
111
+ #, php-format
112
+ msgid "Order &ndash; %s"
113
+ msgstr ""
114
+
115
+ #: includes/class.yith-orders.php:195
116
+ msgctxt "Order date parsed by strftime"
117
+ msgid "%b %d, %Y @ %I:%M %p"
118
+ msgstr ""
119
+
120
+ #: includes/class.yith-orders.php:423 includes/class.yith-orders.php:746
121
+ msgctxt "Order note"
122
+ msgid "Update by admin: "
123
+ msgstr ""
124
+
125
+ #: includes/class.yith-orders.php:739
126
+ msgid "Delete note"
127
+ msgstr ""
128
+
129
+ #: includes/class.yith-orders.php:839
130
+ #, php-format
131
+ msgid "Item #%s stock reduced from %s to %s."
132
+ msgstr ""
133
+
134
+ #: includes/class.yith-orders.php:843
135
+ #, php-format
136
+ msgid "Item #%s stock increased from %s to %s."
137
+ msgstr ""
138
+
139
+ #: includes/class.yith-orders.php:1468
140
+ msgid "status"
141
+ msgstr ""
142
+
143
+ #: includes/class.yith-orders.php:1531
144
+ msgctxt "Admin: Order table column"
145
+ msgid "Suborders"
146
+ msgstr ""
147
+
148
+ #: includes/class.yith-orders.php:1535
149
+ msgctxt "Admin: Order table column"
150
+ msgid "Vendor"
151
+ msgstr ""
152
+
153
+ #: includes/class.yith-orders.php:1574 includes/class.yith-orders.php:1649
154
+ msgctxt "Order table details"
155
+ msgid "in"
156
+ msgstr ""
157
+
158
+ #: includes/class.yith-orders.php:1615
159
+ msgctxt "Admin: Single order page. Suborder details box"
160
+ msgid "Suborders"
161
+ msgstr ""
162
+
163
+ #: includes/class.yith-orders.php:1615
164
+ msgid ""
165
+ "Note: from this box you can monitor the status of suborders associated to "
166
+ "individual vendors."
167
+ msgstr ""
168
+
169
+ #: includes/class.yith-orders.php:1618
170
+ msgctxt "Admin: Single order page. Parent order details box"
171
+ msgid "Parent order"
172
+ msgstr ""
173
+
174
+ #: includes/class.yith-orders.php:1661
175
+ msgctxt "Admin: single order page. Link to parent order"
176
+ msgid "Return to main order"
177
+ msgstr ""
178
+
179
+ #: includes/class.yith-vendors-admin.php:174
180
+ #: includes/class.yith-vendors.php:348
181
+ msgid "Vendors"
182
+ msgstr ""
183
+
184
+ #: includes/class.yith-vendors-admin.php:175
185
+ #: includes/class.yith-vendors-admin.php:1028
186
+ msgid "Premium Version"
187
+ msgstr ""
188
+
189
+ #: includes/class.yith-vendors-admin.php:181
190
+ #: includes/class.yith-vendors-admin.php:182
191
+ msgid "Multi Vendor"
192
+ msgstr ""
193
+
194
+ #: includes/class.yith-vendors-admin.php:425
195
+ #, php-format
196
+ msgid ""
197
+ "You do not have permission to edit this product. %1$sClick here to view and "
198
+ "edit your products%2$s."
199
+ msgstr ""
200
+
201
+ #: includes/class.yith-vendors-admin.php:471
202
+ #: includes/class.yith-vendors-admin.php:472
203
+ msgid "Vendor Profile"
204
+ msgstr ""
205
+
206
+ #: includes/class.yith-vendors-admin.php:603
207
+ #: includes/class.yith-vendors-admin.php:621
208
+ msgid "A vendor with this name already exists."
209
+ msgstr ""
210
+
211
+ #: includes/class.yith-vendors-admin.php:604
212
+ msgid "Vendor name already exists"
213
+ msgstr ""
214
+
215
+ #: includes/class.yith-vendors-admin.php:943
216
+ #, php-format
217
+ msgid "No %s"
218
+ msgstr ""
219
+
220
+ #: includes/class.yith-vendors-admin.php:1023
221
+ msgid "Settings"
222
+ msgstr ""
223
+
224
+ #: includes/class.yith-vendors-admin.php:1024
225
+ #: includes/class.yith-vendors-admin.php:1565
226
+ msgid "Premium live demo"
227
+ msgstr ""
228
+
229
+ #: includes/class.yith-vendors-admin.php:1024
230
+ msgid "Live demo"
231
+ msgstr ""
232
+
233
+ #: includes/class.yith-vendors-admin.php:1052
234
+ msgid "Plugin Documentation"
235
+ msgstr ""
236
+
237
+ #: includes/class.yith-vendors-admin.php:1156
238
+ msgid "Visit Store"
239
+ msgstr ""
240
+
241
+ #: includes/class.yith-vendors-admin.php:1548
242
+ msgid "Plugin documentation"
243
+ msgstr ""
244
+
245
+ #: includes/class.yith-vendors-admin.php:1555
246
+ msgid "Discovery premium version"
247
+ msgstr ""
248
+
249
+ #: includes/class.yith-vendors-admin.php:1560
250
+ msgid "Free Vs Premium"
251
+ msgstr ""
252
+
253
+ #: includes/class.yith-vendors-admin.php:1570
254
+ msgid "WordPress support forum"
255
+ msgstr ""
256
+
257
+ #: includes/class.yith-vendors-admin.php:1575
258
+ #: includes/class.yith-vendors-admin.php:1587
259
+ msgid "Changelog"
260
+ msgstr ""
261
+
262
+ #: includes/class.yith-vendors-admin.php:1582
263
+ msgid "Support platform"
264
+ msgstr ""
265
+
266
+ #: includes/class.yith-vendors-admin.php:1587
267
+ msgid "current version"
268
+ msgstr ""
269
+
270
+ #: includes/class.yith-vendors-admin.php:1592
271
+ msgid "PayPal sandbox test accounts"
272
+ msgstr ""
273
+
274
+ #: includes/class.yith-vendors-admin.php:1597
275
+ msgid "Enable PayPal MassPay"
276
+ msgstr ""
277
+
278
+ #: includes/class.yith-vendors.php:346 includes/class.yith-vendors.php:347
279
+ #: templates/admin/commission-view.php:193
280
+ msgid "Vendor"
281
+ msgstr ""
282
+
283
+ #: includes/class.yith-vendors.php:349
284
+ msgid "Search Vendors"
285
+ msgstr ""
286
+
287
+ #: includes/class.yith-vendors.php:350
288
+ msgid "All Vendors"
289
+ msgstr ""
290
+
291
+ #: includes/class.yith-vendors.php:351
292
+ msgid "Parent Vendor"
293
+ msgstr ""
294
+
295
+ #: includes/class.yith-vendors.php:352
296
+ msgid "Parent Vendor:"
297
+ msgstr ""
298
+
299
+ #: includes/class.yith-vendors.php:353
300
+ msgid "View Vendor"
301
+ msgstr ""
302
+
303
+ #: includes/class.yith-vendors.php:354
304
+ msgid "Edit Vendor"
305
+ msgstr ""
306
+
307
+ #: includes/class.yith-vendors.php:355
308
+ msgid "Update Vendor"
309
+ msgstr ""
310
+
311
+ #: includes/class.yith-vendors.php:356
312
+ msgid "Add New Vendor"
313
+ msgstr ""
314
+
315
+ #: includes/class.yith-vendors.php:357
316
+ msgid "New Vendor's Name"
317
+ msgstr ""
318
+
319
+ #: includes/class.yith-vendors.php:359
320
+ msgid "Separate vendors with commas"
321
+ msgstr ""
322
+
323
+ #: includes/class.yith-vendors.php:360
324
+ msgid "Add or remove vendors"
325
+ msgstr ""
326
+
327
+ #: includes/class.yith-vendors.php:361
328
+ msgid "Choose from most used vendors"
329
+ msgstr ""
330
+
331
+ #: includes/class.yith-vendors.php:362
332
+ msgid "No vendors found"
333
+ msgstr ""
334
+
335
+ #: includes/lib/class.yith-commissions-list-table.php:59
336
+ msgid "ID"
337
+ msgstr ""
338
+
339
+ #: includes/lib/class.yith-commissions-list-table.php:60
340
+ #: templates/admin/commission-view.php:158
341
+ msgid "Status"
342
+ msgstr ""
343
+
344
+ #: includes/lib/class.yith-commissions-list-table.php:61
345
+ msgid "Order"
346
+ msgstr ""
347
+
348
+ #: includes/lib/class.yith-commissions-list-table.php:62
349
+ msgid "Product"
350
+ msgstr ""
351
+
352
+ #: includes/lib/class.yith-commissions-list-table.php:63
353
+ #: templates/admin/commission-view.php:462
354
+ msgid "Rate"
355
+ msgstr ""
356
+
357
+ #: includes/lib/class.yith-commissions-list-table.php:64
358
+ msgid "User"
359
+ msgstr ""
360
+
361
+ #: includes/lib/class.yith-commissions-list-table.php:66
362
+ #: templates/admin/premium.php:811
363
+ msgid "IBAN/BIC"
364
+ msgstr ""
365
+
366
+ #: includes/lib/class.yith-commissions-list-table.php:67
367
+ msgid "Amount"
368
+ msgstr ""
369
+
370
+ #: includes/lib/class.yith-commissions-list-table.php:68
371
+ msgid "Date"
372
+ msgstr ""
373
+
374
+ #: includes/lib/class.yith-commissions-list-table.php:69
375
+ #: templates/admin/commission-view.php:166
376
+ msgid "Last update"
377
+ msgstr ""
378
+
379
+ #: includes/lib/class.yith-commissions-list-table.php:70
380
+ #: templates/admin/commission-view.php:45
381
+ msgid "Actions"
382
+ msgstr ""
383
+
384
+ #: includes/lib/class.yith-commissions-list-table.php:208
385
+ msgid "Order Deleted"
386
+ msgstr ""
387
+
388
+ #: includes/lib/class.yith-commissions-list-table.php:239
389
+ #: templates/admin/commission-view.php:126
390
+ msgid "Guest"
391
+ msgstr ""
392
+
393
+ #: includes/lib/class.yith-commissions-list-table.php:259
394
+ #, php-format
395
+ msgctxt "Order number by user"
396
+ msgid "%s by %s"
397
+ msgstr ""
398
+
399
+ #: includes/lib/class.yith-commissions-list-table.php:287
400
+ #: templates/admin/commission-view.php:188
401
+ msgid "User deleted"
402
+ msgstr ""
403
+
404
+ #: includes/lib/class.yith-commissions-list-table.php:299
405
+ #: templates/admin/commission-view.php:199
406
+ msgid "Vendor deleted"
407
+ msgstr ""
408
+
409
+ #: includes/lib/class.yith-commissions-list-table.php:312
410
+ msgid "View"
411
+ msgstr ""
412
+
413
+ #: includes/lib/class.yith-commissions-list-table.php:317
414
+ #: includes/lib/class.yith-commissions-list-table.php:335
415
+ #: templates/admin/commission-view.php:169
416
+ msgid "Y/m/d g:i:s A"
417
+ msgstr ""
418
+
419
+ #: includes/lib/class.yith-commissions-list-table.php:324
420
+ #: includes/lib/class.yith-commissions-list-table.php:342
421
+ #: templates/admin/commission-view.php:170
422
+ #, php-format
423
+ msgid "%s ago"
424
+ msgstr ""
425
+
426
+ #: includes/lib/class.yith-commissions-list-table.php:327
427
+ #: includes/lib/class.yith-commissions-list-table.php:344
428
+ msgid "Y/m/d"
429
+ msgstr ""
430
+
431
+ #: includes/lib/class.yith-commissions-list-table.php:376
432
+ msgid "No commissions found."
433
+ msgstr ""
434
+
435
+ #: includes/widgets/class.yith-woocommerce-vendors-widget.php:29
436
+ msgid "YITH Vendor List"
437
+ msgstr ""
438
+
439
+ #: includes/widgets/class.yith-woocommerce-vendors-widget.php:31
440
+ msgid "Display the list with enabled vendors."
441
+ msgstr ""
442
+
443
+ #: includes/widgets/class.yith-woocommerce-vendors-widget.php:67
444
+ msgid "Vendor List"
445
+ msgstr ""
446
+
447
+ #: includes/widgets/class.yith-woocommerce-vendors-widget.php:76
448
+ msgid "Title"
449
+ msgstr ""
450
+
451
+ #: includes/widgets/class.yith-woocommerce-vendors-widget.php:81
452
+ msgid "Hide this widget on vendor page"
453
+ msgstr ""
454
+
455
+ #: includes/widgets/class.yith-woocommerce-vendors-widget.php:86
456
+ msgid "Vendor's products amount"
457
+ msgstr ""
458
+
459
+ #: includes/widgets/class.yith-woocommerce-vendors-widget.php:91
460
+ msgid "Hide vendors with no products"
461
+ msgstr ""
462
+
463
+ #: init.php:34
464
+ msgid ""
465
+ "YITH WooCommerce Multi Vendor is enabled but not effective. It requires "
466
+ "WooCommerce in order to work."
467
+ msgstr ""
468
+
469
+ #: plugin-options/commissions-options.php:20
470
+ msgid "General settings"
471
+ msgstr ""
472
+
473
+ #: plugin-options/commissions-options.php:27
474
+ msgid "Commission Base"
475
+ msgstr ""
476
+
477
+ #: plugin-options/commissions-options.php:30
478
+ msgid "Default commission percentage"
479
+ msgstr ""
480
+
481
+ #: plugin-options/vendors-options.php:20
482
+ msgid "Product management"
483
+ msgstr ""
484
+
485
+ #: plugin-options/vendors-options.php:27
486
+ msgid "Vendor name label color"
487
+ msgstr ""
488
+
489
+ #: plugin-options/vendors-options.php:29
490
+ msgid "Use in shop page and single product page"
491
+ msgstr ""
492
+
493
+ #: plugin-options/vendors-options.php:43
494
+ msgid "Order management"
495
+ msgstr ""
496
+
497
+ #: plugin-options/vendors-options.php:50
498
+ msgid "Enable order management"
499
+ msgstr ""
500
+
501
+ #: plugin-options/vendors-options.php:52
502
+ msgid ""
503
+ "If you enable this option, each vendor will be able to manage orders on his/"
504
+ "her own products independently."
505
+ msgstr ""
506
+
507
+ #: plugin-options/vendors-options.php:58
508
+ msgid "Order synchronization"
509
+ msgstr ""
510
+
511
+ #: plugin-options/vendors-options.php:60
512
+ msgid ""
513
+ "All changes to general orders will be synchronized with the individual "
514
+ "vendor's order"
515
+ msgstr ""
516
+
517
+ #: templates/admin/add-product-vendors-taxonomy.php:12
518
+ #: templates/admin/edit-product-vendors-taxonomy.php:13
519
+ msgid "Vendor Shop Owner"
520
+ msgstr ""
521
+
522
+ #: templates/admin/add-product-vendors-taxonomy.php:13
523
+ msgid "Search for a customer&hellip;"
524
+ msgstr ""
525
+
526
+ #: templates/admin/add-product-vendors-taxonomy.php:15
527
+ msgid ""
528
+ "User that can manage products in this vendor shop and view sale reports."
529
+ msgstr ""
530
+
531
+ #: templates/admin/add-product-vendors-taxonomy.php:19
532
+ #: templates/admin/edit-product-vendors-taxonomy.php:31
533
+ msgid "PayPal email address"
534
+ msgstr ""
535
+
536
+ #: templates/admin/add-product-vendors-taxonomy.php:21
537
+ #: templates/admin/edit-product-vendors-taxonomy.php:36
538
+ msgid "Vendor's PayPal email address where profits will be delivered."
539
+ msgstr ""
540
+
541
+ #: templates/admin/add-product-vendors-taxonomy.php:25
542
+ #: templates/admin/edit-product-vendors-taxonomy.php:42
543
+ msgid "Enable sales"
544
+ msgstr ""
545
+
546
+ #: templates/admin/add-product-vendors-taxonomy.php:27
547
+ #: templates/admin/edit-product-vendors-taxonomy.php:48
548
+ msgid "Enable or disable product sales."
549
+ msgstr ""
550
+
551
+ #: templates/admin/add-product-vendors-taxonomy.php:32
552
+ #: templates/admin/edit-product-vendors-taxonomy.php:55
553
+ msgid "Commission:"
554
+ msgstr ""
555
+
556
+ #: templates/admin/add-product-vendors-taxonomy.php:36
557
+ msgid "Percentage of the total sale price that this vendor receives"
558
+ msgstr ""
559
+
560
+ #: templates/admin/commission-view.php:25
561
+ msgid "View Commission"
562
+ msgstr ""
563
+
564
+ #: templates/admin/commission-view.php:26
565
+ msgid "Back"
566
+ msgstr ""
567
+
568
+ #: templates/admin/commission-view.php:39
569
+ msgid "Commission Actions"
570
+ msgstr ""
571
+
572
+ #: templates/admin/commission-view.php:47
573
+ #, php-format
574
+ msgid "Change to %s"
575
+ msgstr ""
576
+
577
+ #: templates/admin/commission-view.php:53
578
+ msgid "Apply"
579
+ msgstr ""
580
+
581
+ #: templates/admin/commission-view.php:62
582
+ msgid "Commission notes"
583
+ msgstr ""
584
+
585
+ #: templates/admin/commission-view.php:73
586
+ #, php-format
587
+ msgid "added on %1$s at %2$s"
588
+ msgstr ""
589
+
590
+ #: templates/admin/commission-view.php:78
591
+ msgid "There are no notes yet."
592
+ msgstr ""
593
+
594
+ #: templates/admin/commission-view.php:99
595
+ #, php-format
596
+ msgid "Commission %s Details"
597
+ msgstr ""
598
+
599
+ #: templates/admin/commission-view.php:148
600
+ #, php-format
601
+ msgctxt "Commission credited to [user]"
602
+ msgid "credited to %s &#8212; from order %s &#8212; order status: %s"
603
+ msgstr ""
604
+
605
+ #: templates/admin/commission-view.php:155
606
+ msgid "General details"
607
+ msgstr ""
608
+
609
+ #: templates/admin/commission-view.php:162
610
+ msgid "Commission date"
611
+ msgstr ""
612
+
613
+ #: templates/admin/commission-view.php:180
614
+ msgid "User details"
615
+ msgstr ""
616
+
617
+ #: templates/admin/commission-view.php:185
618
+ msgid "Email"
619
+ msgstr ""
620
+
621
+ #: templates/admin/commission-view.php:204
622
+ msgid "PayPal"
623
+ msgstr ""
624
+
625
+ #: templates/admin/commission-view.php:212
626
+ msgid "Billing information"
627
+ msgstr ""
628
+
629
+ #: templates/admin/commission-view.php:237
630
+ msgid "Shipping information"
631
+ msgstr ""
632
+
633
+ #: templates/admin/commission-view.php:272
634
+ msgid "Item data"
635
+ msgstr ""
636
+
637
+ #: templates/admin/commission-view.php:279
638
+ msgid "Item"
639
+ msgstr ""
640
+
641
+ #: templates/admin/commission-view.php:280
642
+ msgid "Qty"
643
+ msgstr ""
644
+
645
+ #: templates/admin/commission-view.php:281
646
+ msgid "Cost"
647
+ msgstr ""
648
+
649
+ #: templates/admin/commission-view.php:293
650
+ msgid "Product ID:"
651
+ msgstr ""
652
+
653
+ #: templates/admin/commission-view.php:296
654
+ #: templates/admin/commission-view.php:298
655
+ msgid "Variation ID:"
656
+ msgstr ""
657
+
658
+ #: templates/admin/commission-view.php:298
659
+ msgid "No longer exists"
660
+ msgstr ""
661
+
662
+ #: templates/admin/commission-view.php:302
663
+ msgid "Product SKU:"
664
+ msgstr ""
665
+
666
+ #: templates/admin/commission-view.php:408
667
+ msgid "Refund"
668
+ msgstr ""
669
+
670
+ #: templates/admin/commission-view.php:438
671
+ msgid "Coupon(s) Used"
672
+ msgstr ""
673
+
674
+ #: templates/admin/commission-view.php:468
675
+ msgid "Commission"
676
+ msgstr ""
677
+
678
+ #: templates/admin/commissions.php:24
679
+ msgid "Search commissions"
680
+ msgstr ""
681
+
682
+ #: templates/admin/edit-product-vendors-taxonomy.php:20
683
+ msgid "Search for a shop owner&hellip;"
684
+ msgstr ""
685
+
686
+ #: templates/admin/edit-product-vendors-taxonomy.php:25
687
+ msgid "User that can manage products in this shop and view sale reports."
688
+ msgstr ""
689
+
690
+ #: templates/admin/edit-product-vendors-taxonomy.php:61
691
+ msgid "Percentage of the total sale price that this vendor receives."
692
+ msgstr ""
693
+
694
+ #: templates/admin/premium.php:240 templates/admin/premium.php:872
695
+ #, php-format
696
+ msgid ""
697
+ "Upgrade to the %1$spremium version%2$s of %1$sYITH WooCommerce Multi Vendor"
698
+ "%2$s to benefit from all features!"
699
+ msgstr ""
700
+
701
+ #: templates/admin/premium.php:244 templates/admin/premium.php:876
702
+ #, php-format
703
+ msgid "%1$s UPGRADE %2$s %3$s to the premium version %2$s"
704
+ msgstr ""
705
+
706
+ #: templates/admin/premium.php:251
707
+ msgid "Premium Features"
708
+ msgstr ""
709
+
710
+ #: templates/admin/premium.php:260
711
+ msgid "A richer vendor shop page"
712
+ msgstr ""
713
+
714
+ #: templates/admin/premium.php:263
715
+ #, php-format
716
+ msgid ""
717
+ "The vendor page gets more details!Vendors will be able to add their %s "
718
+ "contact details %s (email, address, phone number) and the most common social "
719
+ "network profiles (Facebook, Twitter, Google+, LinkedIn and YouTube)"
720
+ msgstr ""
721
+
722
+ #: templates/admin/premium.php:266
723
+ #, php-format
724
+ msgid ""
725
+ "These pieces of information are gathered in the page of every vendor shop "
726
+ "with a %sheader%s where style and images can be customized."
727
+ msgstr ""
728
+
729
+ #: templates/admin/premium.php:277
730
+ msgid "One or more administrators for every vendor shop"
731
+ msgstr ""
732
+
733
+ #: templates/admin/premium.php:280
734
+ #, php-format
735
+ msgid ""
736
+ "The administrators of the vendor shop are one of the most important new "
737
+ "features.%s They are simple registered users of the shop that have been "
738
+ "admitted to %smanage the products%s and all the information about a vendor "
739
+ "shop by the administrator of the store or the owner of the vendor shop."
740
+ msgstr ""
741
+
742
+ #: templates/admin/premium.php:283
743
+ #, php-format
744
+ msgid ""
745
+ "The only element they can't change is the %stype of payment%s that only "
746
+ "administrator of the store or the owner of the vendor shop can set."
747
+ msgstr ""
748
+
749
+ #: templates/admin/premium.php:300
750
+ msgid "Direct product sale"
751
+ msgstr ""
752
+
753
+ #: templates/admin/premium.php:303
754
+ #, php-format
755
+ msgid ""
756
+ "Thanks to the %s\"Skip Admin review\"%s option, vendors can publish new "
757
+ "products without the store administrator approval. This option can be "
758
+ "applied to all the vendor shops, or just to the selected ones."
759
+ msgstr ""
760
+
761
+ #: templates/admin/premium.php:314
762
+ msgid "Actions for commissions"
763
+ msgstr ""
764
+
765
+ #: templates/admin/premium.php:317
766
+ msgid ""
767
+ "A commissions table with more details to be always up-to-date. Every "
768
+ "commission offers a set of buttons to quickly proceed to the PayPal payments "
769
+ "(if set as manual), or to change the state of the commission."
770
+ msgstr ""
771
+
772
+ #: templates/admin/premium.php:334 templates/admin/premium.php:368
773
+ msgid "Variable commission rates"
774
+ msgstr ""
775
+
776
+ #: templates/admin/premium.php:337 templates/admin/premium.php:371
777
+ #, php-format
778
+ msgid ""
779
+ "%sNo more single commission rate for all the vendor shops:%s in the premium "
780
+ "version of the plugin, this rate can be modified for every single vendor "
781
+ "shop and for every product associated."
782
+ msgstr ""
783
+
784
+ #: templates/admin/premium.php:348
785
+ msgid "Coupon handling"
786
+ msgstr ""
787
+
788
+ #: templates/admin/premium.php:351
789
+ #, php-format
790
+ msgid ""
791
+ "If users use a coupon during a purchase, how will vendor commissions be "
792
+ "calculated? It's up to you: with the %s\"Coupon handling\"%s option, you can "
793
+ "decide whether you want to calculate the commission for the discounted total "
794
+ "or not."
795
+ msgstr ""
796
+
797
+ #: templates/admin/premium.php:382
798
+ msgid "COUPON CREATION"
799
+ msgstr ""
800
+
801
+ #: templates/admin/premium.php:385
802
+ #, php-format
803
+ msgid ""
804
+ "With the option %s \"Enable coupon management\" %s, the vendors of your shop "
805
+ "can create coupons regarding the products they own. A nice innovation to "
806
+ "offer to your vendor-users."
807
+ msgstr ""
808
+
809
+ #: templates/admin/premium.php:402
810
+ msgid "REVIEWS"
811
+ msgstr ""
812
+
813
+ #: templates/admin/premium.php:405
814
+ #, php-format
815
+ msgid ""
816
+ " Just like coupons, this option is tailored on the need to manage reviews "
817
+ "and it has been added to the premium version of the plugin. Activating the %s"
818
+ "\"Enable review management\"%s option from the option panel of the plugin, "
819
+ "vendors will be free to manage the reviews of the products they own, and act "
820
+ "with the same privileges of the administrator of the store."
821
+ msgstr ""
822
+
823
+ #: templates/admin/premium.php:416
824
+ msgid "Advanced reports"
825
+ msgstr ""
826
+
827
+ #: templates/admin/premium.php:419
828
+ #, php-format
829
+ msgid ""
830
+ "Statistics have a central relevance in the e-commerce field and WooCommerce "
831
+ "Multi Vendor offers you different reports to %sanalyze your data%s: from the "
832
+ "most lucrative vendors, to the best sellers, including convenient commission "
833
+ "diagrams for each of them."
834
+ msgstr ""
835
+
836
+ #: templates/admin/premium.php:436
837
+ msgid "CSV exportation of the reports"
838
+ msgstr ""
839
+
840
+ #: templates/admin/premium.php:439
841
+ #, php-format
842
+ msgid ""
843
+ "For each report, %syou can export its data in the CSV format%s: in this way, "
844
+ "you will be free to use all the report details in every fields not "
845
+ "expressively related to WordPress."
846
+ msgstr ""
847
+
848
+ #: templates/admin/premium.php:450
849
+ msgid "Vendor's product exclusion from the shop (Product listing)"
850
+ msgstr ""
851
+
852
+ #: templates/admin/premium.php:453
853
+ #, php-format
854
+ msgid ""
855
+ "The %s\"Product listing\"%s option has been conceived to exclude from the "
856
+ "shop the products of a particular vendor. In this way, these would be "
857
+ "consultable only from the relative vendor's page."
858
+ msgstr ""
859
+
860
+ #: templates/admin/premium.php:470
861
+ msgid "Three widgets for your sidebars"
862
+ msgstr ""
863
+
864
+ #: templates/admin/premium.php:473
865
+ #, php-format
866
+ msgid ""
867
+ "%1$sYITH Vendor List, YITH Vendor Quick Info%2$s and %1$sYITH Vendor Store "
868
+ "Location%2$s: these are the three widgets that the plugin offers you. Thanks "
869
+ "to these widgets, you will be able to show the list of the registered "
870
+ "vendors of your shop, and enrich the detail page of the vendor shops with "
871
+ "information about their locations, or a contact form users can use to send "
872
+ "emails to the shop administrators."
873
+ msgstr ""
874
+
875
+ #: templates/admin/premium.php:483
876
+ msgid "Shortcode"
877
+ msgstr ""
878
+
879
+ #: templates/admin/premium.php:486
880
+ msgid ""
881
+ "Take advantage of the YITH WooCommerce Multi Vendor List shortcode to show "
882
+ "the complete list of your shop vendors in any page."
883
+ msgstr ""
884
+
885
+ #: templates/admin/premium.php:503
886
+ msgid "VISUALIZATION OF THE VENDOR'S NAME"
887
+ msgstr ""
888
+
889
+ #: templates/admin/premium.php:506
890
+ msgid ""
891
+ "The default setting of the plugin shows the name of each vendor in three "
892
+ "pages of your site: the shop page, the product detail page and product "
893
+ "category page. Now you can decide whether you want to show their name and "
894
+ "hide them whenever you want with three different options."
895
+ msgstr ""
896
+
897
+ #: templates/admin/premium.php:516
898
+ msgid "VENDOR REGISTRATION"
899
+ msgstr ""
900
+
901
+ #: templates/admin/premium.php:519
902
+ #, php-format
903
+ msgid ""
904
+ "A more dynamic management for whoever wants to become a vendor in your "
905
+ "store. It doesn't matter whether you are a registered user or a new one: "
906
+ "everyone will be free to register as a vendor with the related "
907
+ "%1$sregistration form.%2$s Following your settings, the registration request "
908
+ "can be accepted automatically or manually by administrators"
909
+ msgstr ""
910
+
911
+ #: templates/admin/premium.php:536
912
+ msgid "RESTRICTED NUMBER OF PRODUCTS"
913
+ msgstr ""
914
+
915
+ #: templates/admin/premium.php:539
916
+ msgid ""
917
+ "The option \"Enable product amount limit\" has been conceived to whoever "
918
+ "would like to limit the creation of products of the shop vendors, with the "
919
+ "freedom to indicate a specific maximum number of products that each vendor "
920
+ "can create."
921
+ msgstr ""
922
+
923
+ #: templates/admin/premium.php:549
924
+ msgid "BULK ACTIONS ON VENDORS"
925
+ msgstr ""
926
+
927
+ #: templates/admin/premium.php:552
928
+ msgid ""
929
+ "How many times did you find yourself annoyed by the repetition of the same "
930
+ "passages with a huge waste of time? Well, now vendors management is "
931
+ "completely renewed! You will be able to apply bulk actions on all the "
932
+ "registered vendors, approving or deleting them all together with just one "
933
+ "click."
934
+ msgstr ""
935
+
936
+ #: templates/admin/premium.php:568
937
+ msgid "Advanced administration area for each vendor"
938
+ msgstr ""
939
+
940
+ #: templates/admin/premium.php:571
941
+ msgid ""
942
+ "A breath of fresh air for the \"vendor users\" that can take advantage of a "
943
+ "big and advanced administrative area. From this place, they will be free to "
944
+ "consult the reports about their products,change their profile information "
945
+ "and choose the payment method they prefer. Each vendor can also check the "
946
+ "commissions table, with the whole sum of the relative commissions up to that "
947
+ "moment."
948
+ msgstr ""
949
+
950
+ #: templates/admin/premium.php:581
951
+ msgid "ABUSE REPORT"
952
+ msgstr ""
953
+
954
+ #: templates/admin/premium.php:584
955
+ msgid ""
956
+ "With this feature, your users will be able to send you a message about one "
957
+ "of the products of your shop with a dedicated form that will open in a popup "
958
+ "within the related product detail page."
959
+ msgstr ""
960
+
961
+ #: templates/admin/premium.php:600
962
+ msgid "Second email"
963
+ msgstr ""
964
+
965
+ #: templates/admin/premium.php:603
966
+ msgid ""
967
+ "Each time that a new order is registered or cancelled, a notification email "
968
+ "is sent to the corresponding vendor. This sending can sometimes be affected "
969
+ "by some problems, and this is why you should be able to send again the lost "
970
+ "email. With the premium version of the plugin, you will just have to go to "
971
+ "the detail page of the order and with a single click everything will be "
972
+ "solved."
973
+ msgstr ""
974
+
975
+ #: templates/admin/premium.php:613
976
+ msgid "Minimum amount of commissions"
977
+ msgstr ""
978
+
979
+ #: templates/admin/premium.php:616
980
+ msgid ""
981
+ "If each vendor can decide a commission threshold for which asking the "
982
+ "payment, administrators must be free to control how this works.Setting a "
983
+ "minimum amount of commissions, you will be free to pay commissions starting "
984
+ "from the amount you have set."
985
+ msgstr ""
986
+
987
+ #: templates/admin/premium.php:632
988
+ msgid "Highlighted products"
989
+ msgstr ""
990
+
991
+ #: templates/admin/premium.php:635
992
+ msgid ""
993
+ "Setting a WooCommerce product as \"Featured\" means standing it out among "
994
+ "the others, maybe putting it in the main part of the homepage, or in one of "
995
+ "the widgets of the siderbars of your shop. With the related option, you will "
996
+ "be free to allow or block vendors to set their products as \"featured\"."
997
+ msgstr ""
998
+
999
+ #: templates/admin/premium.php:645
1000
+ msgid "Sales amount"
1001
+ msgstr ""
1002
+
1003
+ #: templates/admin/premium.php:648
1004
+ msgid ""
1005
+ "Enrich your shop with more information. Show the amount of sales made by "
1006
+ "each vendor, placing it in the detail page of the related product, and for "
1007
+ "each single product assigned to a vendor."
1008
+ msgstr ""
1009
+
1010
+ #: templates/admin/premium.php:664
1011
+ msgid "Shop closed"
1012
+ msgstr ""
1013
+
1014
+ #: templates/admin/premium.php:667
1015
+ msgid ""
1016
+ "Even the owners of online shops need a break, maybe for deserved vacations "
1017
+ "or for other reasons. Therefore, when administrators offers this freedom to "
1018
+ "their vendors, they will be free to close their stores, showing a customized "
1019
+ "message to users. Vendors will also be free to decide whether they want to "
1020
+ "keep their products purchasable, or showing them in catalogue mode with no "
1021
+ "opportunity to add them to the cart. "
1022
+ msgstr ""
1023
+
1024
+ #: templates/admin/premium.php:677
1025
+ msgid "Vendor Chat"
1026
+ msgstr ""
1027
+
1028
+ #: templates/admin/premium.php:680
1029
+ #, php-format
1030
+ msgid ""
1031
+ "Thanks to the integration with %1$sYITH Live Chat%2$s, vendors of your site "
1032
+ "will be free to answer immediately to their customers' questions. In this "
1033
+ "way, vendors and purchasers will be even nearer, for a complete success of "
1034
+ "your e-commerce."
1035
+ msgstr ""
1036
+
1037
+ #: templates/admin/premium.php:696
1038
+ msgid "VAT numbers"
1039
+ msgstr ""
1040
+
1041
+ #: templates/admin/premium.php:699
1042
+ msgid ""
1043
+ "If you need the VAT number of your vendors, make it mandatory during the "
1044
+ "registration. In this way, no request to become vendor could be completed "
1045
+ "without adding the VAT number, as this can also be showed in the related "
1046
+ "detailed vendor's page."
1047
+ msgstr ""
1048
+
1049
+ #: templates/admin/premium.php:709
1050
+ msgid "Refund management"
1051
+ msgstr ""
1052
+
1053
+ #: templates/admin/premium.php:712
1054
+ msgid ""
1055
+ "Now refund management can be designated to the vendors of your shop. In "
1056
+ "fact, they will be able to refund partially or totally users about the "
1057
+ "products they own, with a related recalculation of the commissions received. "
1058
+ "Another way to empower your vendors about the management of their shops."
1059
+ msgstr ""
1060
+
1061
+ #: templates/admin/premium.php:728
1062
+ msgid "VENDOR TAXONOMY"
1063
+ msgstr ""
1064
+
1065
+ #: templates/admin/premium.php:731
1066
+ #, php-format
1067
+ msgid ""
1068
+ "With a specific option, %1$svendor taxonomy slug%2$s becomes customizable "
1069
+ "according to your needs."
1070
+ msgstr ""
1071
+
1072
+ #: templates/admin/premium.php:741
1073
+ msgid "VENDOR LOGO"
1074
+ msgstr ""
1075
+
1076
+ #: templates/admin/premium.php:744
1077
+ msgid ""
1078
+ "Vendors might wish to show their own logo, but not all vendors have one. "
1079
+ "This is the reason why you can give them the chance to add it or not in "
1080
+ "their shop pages. If you prefer to have an uniform style in your site, you "
1081
+ "can also choose to hide all your vendors’ logos."
1082
+ msgstr ""
1083
+
1084
+ #: templates/admin/premium.php:747
1085
+ msgid ""
1086
+ " If you prefer to have an suniform style in your site, you can also choose "
1087
+ "to hide all your vendors’ logos."
1088
+ msgstr ""
1089
+
1090
+ #: templates/admin/premium.php:763
1091
+ msgid "USERS PRIVACY"
1092
+ msgstr ""
1093
+
1094
+ #: templates/admin/premium.php:766
1095
+ msgid ""
1096
+ "Protect your customers' privacy! With a specific option of the plugin, you "
1097
+ "can hide \"Customer\" search section in order detail page, so that other "
1098
+ "vendors won’t have access to your customers email addresses."
1099
+ msgstr ""
1100
+
1101
+ #: templates/admin/premium.php:776
1102
+ msgid "Advanced editor"
1103
+ msgstr ""
1104
+
1105
+ #: templates/admin/premium.php:779
1106
+ msgid ""
1107
+ "All vendors can have WordPress advanced editor so that they can add a richer "
1108
+ "description of their shop by inserting HTML tags and images."
1109
+ msgstr ""
1110
+
1111
+ #: templates/admin/premium.php:792
1112
+ msgid "LEGAL NOTES"
1113
+ msgstr ""
1114
+
1115
+ #: templates/admin/premium.php:795
1116
+ msgid ""
1117
+ "Each vendor of your shop can insert important legal notes in their reserved "
1118
+ "area, which will be shown with the other profile information in vendor "
1119
+ "detail page."
1120
+ msgstr ""
1121
+
1122
+ #: templates/admin/premium.php:814
1123
+ msgid ""
1124
+ "By giving your users the possibility to add their IBAN/BIC code, it will be "
1125
+ "much easier to pay their commissions by bank transfer when requested. "
1126
+ msgstr ""
1127
+
1128
+ #: templates/admin/premium.php:824
1129
+ msgid "TERMS AND CONDITIONS"
1130
+ msgstr ""
1131
+
1132
+ #: templates/admin/premium.php:827
1133
+ msgid ""
1134
+ "Ask to users who wish to become vendors in your shop, to accept \"terms and "
1135
+ "conditions\" during their registration, which, in case of non-acceptance, "
1136
+ "could not be completed."
1137
+ msgstr ""
1138
+
1139
+ #: templates/admin/premium.php:843
1140
+ msgid "WordPress gallery"
1141
+ msgstr ""
1142
+
1143
+ #: templates/admin/premium.php:846
1144
+ msgid ""
1145
+ "All the functionalities of WordPress gallery made available to vendors. From "
1146
+ "now on, they could add and manage media in relation to the products they "
1147
+ "own, by creating image galleries to outstand important details to make a "
1148
+ "difference on market."
1149
+ msgstr ""
1150
+
1151
+ #: templates/admin/premium.php:856
1152
+ msgid "Vendors menu"
1153
+ msgstr ""
1154
+
1155
+ #: templates/admin/premium.php:859
1156
+ msgid ""
1157
+ "Each vendor can be managed by menu field in order to create the list of all "
1158
+ "vendors of the shop and include it, for example, within the main navigation "
1159
+ "of your site"
1160
+ msgstr ""
1161
+
1162
+ #: templates/admin/vendor-admin.php:17
1163
+ msgid "Vendor Details"
1164
+ msgstr ""
1165
+
1166
+ #: templates/admin/vendor-admin.php:24
1167
+ msgid "Name:"
1168
+ msgstr ""
1169
+
1170
+ #: templates/admin/vendor-admin.php:29
1171
+ msgid "Slug:"
1172
+ msgstr ""
1173
+
1174
+ #: templates/admin/vendor-admin.php:34
1175
+ msgid "PayPal email address:"
1176
+ msgstr ""
1177
+
1178
+ #: templates/admin/vendor-admin.php:39
1179
+ msgid "Description:"
1180
+ msgstr ""
1181
+
1182
+ #: templates/admin/vendor-admin.php:45
1183
+ msgid "Commission Rate: "
1184
+ msgstr ""
1185
+
1186
+ #: templates/admin/vendor-admin.php:52
1187
+ msgid "Vendor's selling status: "
1188
+ msgstr ""
1189
+
1190
+ #: templates/admin/vendor-admin.php:54
1191
+ msgid "Enabled"
1192
+ msgstr ""
1193
+
1194
+ #: templates/admin/vendor-admin.php:54
1195
+ msgid "Disabled"
1196
+ msgstr ""
1197
+
1198
+ #: templates/admin/vendor-admin.php:60
1199
+ msgid "Save Vendor Information"
1200
+ msgstr ""
1201
+
1202
+ #: templates/woocommerce/loop/vendor-name-title.php:20
1203
+ #: templates/woocommerce/single-product/vendor-name-title.php:20
1204
+ msgid "by"
1205
+ msgstr ""
modules/yith-woocommerce-product-vendors/plugin-options/commissions-options.php CHANGED
@@ -17,17 +17,17 @@ return apply_filters( 'yith_wpv_panel_commissions_options', array(
17
  ),
18
 
19
  'commissions_options_title' => array(
20
- 'title' => __( 'General settings', 'yith_wc_product_vendors' ),
21
  'type' => 'title',
22
  'desc' => '',
23
  'id' => 'yith_wpv_commissions_options_title'
24
  ),
25
 
26
  'commissions_options_base_commission' => array(
27
- 'title' => __( 'Commission Base', 'yith_wc_product_vendors' ),
28
  'type' => 'number',
29
  'default' => 50,
30
- 'desc' => __( 'Default commission percentage', 'yith_wc_product_vendors' ),
31
  'id' => 'yith_vendor_base_commission',
32
  'css' => 'width:55px;',
33
  'custom_attributes' => array(
17
  ),
18
 
19
  'commissions_options_title' => array(
20
+ 'title' => __( 'General settings', 'yith-woocommerce-product-vendors' ),
21
  'type' => 'title',
22
  'desc' => '',
23
  'id' => 'yith_wpv_commissions_options_title'
24
  ),
25
 
26
  'commissions_options_base_commission' => array(
27
+ 'title' => __( 'Commission Base', 'yith-woocommerce-product-vendors' ),
28
  'type' => 'number',
29
  'default' => 50,
30
+ 'desc' => __( 'Default commission percentage', 'yith-woocommerce-product-vendors' ),
31
  'id' => 'yith_vendor_base_commission',
32
  'css' => 'width:55px;',
33
  'custom_attributes' => array(
modules/yith-woocommerce-product-vendors/plugin-options/vendors-options.php CHANGED
@@ -17,16 +17,16 @@ return apply_filters( 'yith_wpv_panel_vendors_options', array(
17
  ),
18
 
19
  'vendors_options_title' => array(
20
- 'title' => __( 'Product management', 'yith_wc_product_vendors' ),
21
  'type' => 'title',
22
  'desc' => '',
23
  'id' => 'yith_wpv_vendors_options_title'
24
  ),
25
 
26
  'vendors_color_name' => array(
27
- 'title' => __( 'Vendor name label color', 'yith_wc_product_vendors' ),
28
  'type' => 'color',
29
- 'desc' => __( 'Use in shop page and single product page', 'yith_wc_product_vendors' ),
30
  'id' => 'yith_vendors_color_name',
31
  'default' => '#bc360a'
32
  ),
@@ -40,24 +40,24 @@ return apply_filters( 'yith_wpv_panel_vendors_options', array(
40
  ),
41
 
42
  'vendors_order_title' => array(
43
- 'title' => __( 'Order management', 'yith_wc_product_vendors' ),
44
  'type' => 'title',
45
  'desc' => '',
46
  'id' => 'yith_wpv_vendors_orders_title'
47
  ),
48
 
49
  'vendors_order_management' => array(
50
- 'title' => __( 'Enable order management', 'yith_wc_product_vendors' ),
51
  'type' => 'checkbox',
52
- 'desc' => __( 'If you enable this option, each vendor will be able to manage orders on his/her own products independently.', 'yith_wc_product_vendors' ),
53
  'id' => 'yith_wpv_vendors_option_order_management',
54
  'default' => 'no'
55
  ),
56
 
57
  'vendors_order_synchronization' => array(
58
- 'title' => __( 'Order synchronization', 'yith_wc_product_vendors' ),
59
  'type' => 'checkbox',
60
- 'desc' => __( "All changes to general orders will be synchronized with the individual vendor's order", 'yith_wc_product_vendors' ),
61
  'id' => 'yith_wpv_vendors_option_order_synchronization',
62
  'default' => 'yes'
63
  ),
17
  ),
18
 
19
  'vendors_options_title' => array(
20
+ 'title' => __( 'Product management', 'yith-woocommerce-product-vendors' ),
21
  'type' => 'title',
22
  'desc' => '',
23
  'id' => 'yith_wpv_vendors_options_title'
24
  ),
25
 
26
  'vendors_color_name' => array(
27
+ 'title' => __( 'Vendor name label color', 'yith-woocommerce-product-vendors' ),
28
  'type' => 'color',
29
+ 'desc' => __( 'Use in shop page and single product page', 'yith-woocommerce-product-vendors' ),
30
  'id' => 'yith_vendors_color_name',
31
  'default' => '#bc360a'
32
  ),
40
  ),
41
 
42
  'vendors_order_title' => array(
43
+ 'title' => __( 'Order management', 'yith-woocommerce-product-vendors' ),
44
  'type' => 'title',
45
  'desc' => '',
46
  'id' => 'yith_wpv_vendors_orders_title'
47
  ),
48
 
49
  'vendors_order_management' => array(
50
+ 'title' => __( 'Enable order management', 'yith-woocommerce-product-vendors' ),
51
  'type' => 'checkbox',
52
+ 'desc' => __( 'If you enable this option, each vendor will be able to manage orders on his/her own products independently.', 'yith-woocommerce-product-vendors' ),
53
  'id' => 'yith_wpv_vendors_option_order_management',
54
  'default' => 'no'
55
  ),
56
 
57
  'vendors_order_synchronization' => array(
58
+ 'title' => __( 'Order synchronization', 'yith-woocommerce-product-vendors' ),
59
  'type' => 'checkbox',
60
+ 'desc' => __( "All changes to general orders will be synchronized with the individual vendor's order", 'yith-woocommerce-product-vendors' ),
61
  'id' => 'yith_wpv_vendors_option_order_synchronization',
62
  'default' => 'yes'
63
  ),
modules/yith-woocommerce-product-vendors/templates/admin/commission-view.php CHANGED
@@ -22,8 +22,8 @@ $item_id = $commission->line_item_id;
22
 
23
  <div class="wrap">
24
  <h2>
25
- <?php _e( 'View Commission', 'yith_wc_product_vendors' ) ?>
26
- <a href="<?php echo esc_url( remove_query_arg( 'view' ) ) ?>" class="add-new-h2"><?php _e( 'Back', 'yith_wc_product_vendors' ) ?></a>
27
  </h2>
28
 
29
  <?php YITH_Commissions()->admin_notice(); ?>
@@ -36,21 +36,21 @@ $item_id = $commission->line_item_id;
36
 
37
  <?php if ( $vendor->is_super_user() ) : ?>
38
  <form id="woocommerce-order-actions" class="postbox" method="GET">
39
- <h3 class="hndle ui-sortable-handle"><span><?php _e( 'Commission Actions', 'yith_wc_product_vendors' ) ?></span></h3>
40
  <div class="inside">
41
  <ul class="order_actions submitbox">
42
 
43
  <li class="wide" id="actions">
44
  <select name="new_status">
45
- <option value=""><?php _e( 'Actions', 'yith_wc_product_vendors' ) ?></option>
46
  <?php foreach ( YITH_Commissions()->get_status() as $status => $display ) : if ( ! YITH_Commissions()->is_status_changing_permitted( $status, $commission->status ) ) continue; ?>
47
- <option value="<?php echo $status ?>"><?php printf( __( 'Change to %s', 'yith_wc_product_vendors' ), $display ) ?></option>
48
  <?php endforeach; ?>
49
  </select>
50
 
51
  <input type="hidden" name="action" value="yith_commission_table_actions" />
52
  <input type="hidden" name="view" value="<?php echo $commission->id ?>" />
53
- <button type="submit" class="button wc-reload" title="<?php _e( 'Apply', 'yith_wc_product_vendors' ) ?>"><span><?php _e( 'Apply', 'yith_wc_product_vendors' ) ?></span></button>
54
  </li>
55
 
56
  </ul>
@@ -59,7 +59,7 @@ $item_id = $commission->line_item_id;
59
  <?php endif; ?>
60
 
61
  <div id="woocommerce-order-notes" class="postbox">
62
- <h3 class="hndle ui-sortable-handle"><span><?php _e( 'Commission notes', 'yith_wc_product_vendors' ) ?></span></h3>
63
  <div class="inside">
64
  <ul class="order_notes">
65
 
@@ -96,7 +96,7 @@ $item_id = $commission->line_item_id;
96
 
97
  <div class="panel-wrap woocommerce">
98
  <div id="order_data" class="yith-commission panel">
99
- <h2><?php printf( __( 'Commission %s Details', 'yith_wc_product_vendors' ), '#' . $commission->id ) ?></h2>
100
  <p class="order_number">
101
  <?php
102
  $user_info = $commission->get_user();
@@ -145,29 +145,29 @@ $item_id = $commission->line_item_id;
145
 
146
  $wc_order_status = wc_get_order_statuses();
147
 
148
- printf( _x( 'credited to %s &#8212; from order %s &#8212; order status: %s', 'Commission credited to [user]', 'yith_wc_product_vendors' ), $username, $order_info, $wc_order_status[ $order->post_status ] );
149
  ?>
150
  </p>
151
 
152
  <div class="order_data_column_container">
153
  <div class="order_data_column">
154
 
155
- <h4><?php _e( 'General details', 'yith_wc_product_vendors' ) ?></h4>
156
  <div class="address">
157
  <p>
158
- <strong><?php _e( 'Status', 'yith_wc_product_vendors' ) ?>:</strong>
159
  <?php echo $commission->get_status('display') ?>
160
  </p>
161
  <p>
162
- <strong><?php _e( 'Commission date', 'yith_wc_product_vendors' ) ?>:</strong>
163
  <?php echo $commission->get_date('display') ?>
164
  </p>
165
  <p>
166
- <strong><?php _e( 'Last update', 'yith_wc_product_vendors' ) ?>:</strong>
167
  <?php
168
  $date = ! empty( $commission->last_edit ) && strpos( $commission->last_edit, '0000-00-00' ) ? $commission->last_edit : $commission->get_date();
169
- $t_time = date_i18n( __( 'Y/m/d g:i:s A', 'yith_wc_product_vendors' ), mysql2date( 'U', $date ) );
170
- $h_time = sprintf( __( '%s ago', 'yith_wc_product_vendors' ), human_time_diff( mysql2date( 'U', $date ) ) );
171
 
172
  echo '<abbr title="' . $t_time . '">' . $h_time . '</abbr>';
173
  ?>
@@ -177,31 +177,31 @@ $item_id = $commission->line_item_id;
177
  </div>
178
  <div class="order_data_column">
179
 
180
- <h4><?php _e( 'User details', 'yith_wc_product_vendors' ) ?></h4>
181
  <div class="address">
182
  <p>
183
  <?php
184
  if( ! empty( $user ) ) {
185
- printf( '<strong>%1$s:</strong>', __( 'Email', 'yith_wc_product_vendors' ) );
186
  printf( '<a href="mailto:%1$s">%1$s</a>', $user->user_email );
187
  } else {
188
- echo '<em>' . __( 'User deleted', 'yith_wc_product_vendors' ) . '</em>';
189
  }
190
  ?>
191
  </p>
192
  <p>
193
- <strong><?php _e( 'Vendor', 'yith_wc_product_vendors' ) ?>:</strong>
194
  <?php
195
  if( $vendor->is_valid() ) {
196
  $vendor_url = get_edit_term_link( $vendor->id, $vendor->taxonomy );
197
  echo ! empty( $vendor_url ) ? "<a href='{$vendor_url}' target='_blank'>{$vendor->name}</a>" : $vendor->name;
198
  } else {
199
- echo '<em>' . __( 'Vendor deleted', 'yith_wc_product_vendors' ) . '</em>';
200
  }
201
  ?>
202
  </p>
203
  <p>
204
- <strong><?php _e( 'PayPal', 'yith_wc_product_vendors' ) ?>:</strong>
205
  <a href="mailto:<?php echo $vendor->paypal_email ?>"><?php echo $vendor->paypal_email ?></a>
206
  </p>
207
  </div>
@@ -209,7 +209,7 @@ $item_id = $commission->line_item_id;
209
  </div>
210
  <?php if( ! empty( $user ) ) : ?>
211
  <div class="order_data_column">
212
- <h4><?php _e( 'Billing information', 'yith_wc_product_vendors' ) ?></h4>
213
  <div class="address">
214
  <p>
215
  <?php
@@ -234,7 +234,7 @@ $item_id = $commission->line_item_id;
234
  </div>
235
 
236
  <div class="order_data_column">
237
- <h4><?php _e( 'Shipping information', 'yith_wc_product_vendors' ) ?></h4>
238
  <div class="address">
239
  <p>
240
  <?php
@@ -269,7 +269,7 @@ $item_id = $commission->line_item_id;
269
  </div>
270
 
271
  <div id="woocommerce-order-items" class="postbox">
272
- <h3 class="hndle ui-sortable-handle"><span><?php _e( 'Item data', 'yith_wc_product_vendors' ) ?></span></h3>
273
  <div class="inside">
274
 
275
  <div class="woocommerce_order_items_wrapper wc-order-items-editable">
@@ -459,13 +459,13 @@ $item_id = $commission->line_item_id;
459
  <tbody>
460
 
461
  <tr>
462
- <td class="label"><?php _e( 'Rate', 'yith_wc_product_vendors' ) ?>:</td>
463
  <td class="total"><?php echo $commission->get_rate( 'display' ) ?></td>
464
  <td width="1%"></td>
465
  </tr>
466
 
467
  <tr>
468
- <td class="label"><?php _e( 'Commission', 'yith_wc_product_vendors' ) ?>:</td>
469
  <td class="total">
470
  <?php echo str_replace( array( '<span class="amount">', '</span>' ), '', wc_price( $commission->get_amount() + abs( $commission->get_refund_amount() ) ) ) ?>
471
  </td>
22
 
23
  <div class="wrap">
24
  <h2>
25
+ <?php _e( 'View Commission', 'yith-woocommerce-product-vendors' ) ?>
26
+ <a href="<?php echo esc_url( remove_query_arg( 'view' ) ) ?>" class="add-new-h2"><?php _e( 'Back', 'yith-woocommerce-product-vendors' ) ?></a>
27
  </h2>
28
 
29
  <?php YITH_Commissions()->admin_notice(); ?>
36
 
37
  <?php if ( $vendor->is_super_user() ) : ?>
38
  <form id="woocommerce-order-actions" class="postbox" method="GET">
39
+ <h3 class="hndle ui-sortable-handle"><span><?php _e( 'Commission Actions', 'yith-woocommerce-product-vendors' ) ?></span></h3>
40
  <div class="inside">
41
  <ul class="order_actions submitbox">
42
 
43
  <li class="wide" id="actions">
44
  <select name="new_status">
45
+ <option value=""><?php _e( 'Actions', 'yith-woocommerce-product-vendors' ) ?></option>
46
  <?php foreach ( YITH_Commissions()->get_status() as $status => $display ) : if ( ! YITH_Commissions()->is_status_changing_permitted( $status, $commission->status ) ) continue; ?>
47
+ <option value="<?php echo $status ?>"><?php printf( __( 'Change to %s', 'yith-woocommerce-product-vendors' ), $display ) ?></option>
48
  <?php endforeach; ?>
49
  </select>
50
 
51
  <input type="hidden" name="action" value="yith_commission_table_actions" />
52
  <input type="hidden" name="view" value="<?php echo $commission->id ?>" />
53
+ <button type="submit" class="button wc-reload" title="<?php _e( 'Apply', 'yith-woocommerce-product-vendors' ) ?>"><span><?php _e( 'Apply', 'yith-woocommerce-product-vendors' ) ?></span></button>
54
  </li>
55
 
56
  </ul>
59
  <?php endif; ?>
60
 
61
  <div id="woocommerce-order-notes" class="postbox">
62
+ <h3 class="hndle ui-sortable-handle"><span><?php _e( 'Commission notes', 'yith-woocommerce-product-vendors' ) ?></span></h3>
63
  <div class="inside">
64
  <ul class="order_notes">
65
 
96
 
97
  <div class="panel-wrap woocommerce">
98
  <div id="order_data" class="yith-commission panel">
99
+ <h2><?php printf( __( 'Commission %s Details', 'yith-woocommerce-product-vendors' ), '#' . $commission->id ) ?></h2>
100
  <p class="order_number">
101
  <?php
102
  $user_info = $commission->get_user();
145
 
146
  $wc_order_status = wc_get_order_statuses();
147
 
148
+ printf( _x( 'credited to %s &#8212; from order %s &#8212; order status: %s', 'Commission credited to [user]', 'yith-woocommerce-product-vendors' ), $username, $order_info, $wc_order_status[ $order->post_status ] );
149
  ?>
150
  </p>
151
 
152
  <div class="order_data_column_container">
153
  <div class="order_data_column">
154
 
155
+ <h4><?php _e( 'General details', 'yith-woocommerce-product-vendors' ) ?></h4>
156
  <div class="address">
157
  <p>
158
+ <strong><?php _e( 'Status', 'yith-woocommerce-product-vendors' ) ?>:</strong>
159
  <?php echo $commission->get_status('display') ?>
160
  </p>
161
  <p>
162
+ <strong><?php _e( 'Commission date', 'yith-woocommerce-product-vendors' ) ?>:</strong>
163
  <?php echo $commission->get_date('display') ?>
164
  </p>
165
  <p>
166
+ <strong><?php _e( 'Last update', 'yith-woocommerce-product-vendors' ) ?>:</strong>
167
  <?php
168
  $date = ! empty( $commission->last_edit ) && strpos( $commission->last_edit, '0000-00-00' ) ? $commission->last_edit : $commission->get_date();
169
+ $t_time = date_i18n( __( 'Y/m/d g:i:s A', 'yith-woocommerce-product-vendors' ), mysql2date( 'U', $date ) );
170
+ $h_time = sprintf( __( '%s ago', 'yith-woocommerce-product-vendors' ), human_time_diff( mysql2date( 'U', $date ) ) );
171
 
172
  echo '<abbr title="' . $t_time . '">' . $h_time . '</abbr>';
173
  ?>
177
  </div>
178
  <div class="order_data_column">
179
 
180
+ <h4><?php _e( 'User details', 'yith-woocommerce-product-vendors' ) ?></h4>
181
  <div class="address">
182
  <p>
183
  <?php
184
  if( ! empty( $user ) ) {
185
+ printf( '<strong>%1$s:</strong>', __( 'Email', 'yith-woocommerce-product-vendors' ) );
186
  printf( '<a href="mailto:%1$s">%1$s</a>', $user->user_email );
187
  } else {
188
+ echo '<em>' . __( 'User deleted', 'yith-woocommerce-product-vendors' ) . '</em>';
189
  }
190
  ?>
191
  </p>
192
  <p>
193
+ <strong><?php _e( 'Vendor', 'yith-woocommerce-product-vendors' ) ?>:</strong>
194
  <?php
195
  if( $vendor->is_valid() ) {
196
  $vendor_url = get_edit_term_link( $vendor->id, $vendor->taxonomy );
197
  echo ! empty( $vendor_url ) ? "<a href='{$vendor_url}' target='_blank'>{$vendor->name}</a>" : $vendor->name;
198
  } else {
199
+ echo '<em>' . __( 'Vendor deleted', 'yith-woocommerce-product-vendors' ) . '</em>';
200
  }
201
  ?>
202
  </p>
203
  <p>
204
+ <strong><?php _e( 'PayPal', 'yith-woocommerce-product-vendors' ) ?>:</strong>
205
  <a href="mailto:<?php echo $vendor->paypal_email ?>"><?php echo $vendor->paypal_email ?></a>
206
  </p>
207
  </div>
209
  </div>
210
  <?php if( ! empty( $user ) ) : ?>
211
  <div class="order_data_column">
212
+ <h4><?php _e( 'Billing information', 'yith-woocommerce-product-vendors' ) ?></h4>
213
  <div class="address">
214
  <p>
215
  <?php
234
  </div>
235
 
236
  <div class="order_data_column">
237
+ <h4><?php _e( 'Shipping information', 'yith-woocommerce-product-vendors' ) ?></h4>
238
  <div class="address">
239
  <p>
240
  <?php
269
  </div>
270
 
271
  <div id="woocommerce-order-items" class="postbox">
272
+ <h3 class="hndle ui-sortable-handle"><span><?php _e( 'Item data', 'yith-woocommerce-product-vendors' ) ?></span></h3>
273
  <div class="inside">
274
 
275
  <div class="woocommerce_order_items_wrapper wc-order-items-editable">
459
  <tbody>
460
 
461
  <tr>
462
+ <td class="label"><?php _e( 'Rate', 'yith-woocommerce-product-vendors' ) ?>:</td>
463
  <td class="total"><?php echo $commission->get_rate( 'display' ) ?></td>
464
  <td width="1%"></td>
465
  </tr>
466
 
467
  <tr>
468
+ <td class="label"><?php _e( 'Commission', 'yith-woocommerce-product-vendors' ) ?>:</td>
469
  <td class="total">
470
  <?php echo str_replace( array( '<span class="amount">', '</span>' ), '', wc_price( $commission->get_amount() + abs( $commission->get_refund_amount() ) ) ) ?>
471
  </td>
modules/yith-woocommerce-product-vendors/templates/admin/commissions.php CHANGED
@@ -21,7 +21,7 @@
21
 
22
  <form id="commissions-filter" method="get">
23
  <input type="hidden" name="page" value="<?php echo $_REQUEST['page'] ?>" />
24
- <?php $commissions_table->add_search_box( __( 'Search commissions', 'yith_wc_product_vendors' ), 's' ); ?>
25
  <?php $commissions_table->display(); ?>
26
  </form>
27
  </div>
21
 
22
  <form id="commissions-filter" method="get">
23
  <input type="hidden" name="page" value="<?php echo $_REQUEST['page'] ?>" />
24
+ <?php $commissions_table->add_search_box( __( 'Search commissions', 'yith-woocommerce-product-vendors' ), 's' ); ?>
25
  <?php $commissions_table->display(); ?>
26
  </form>
27
  </div>
modules/yith-woocommerce-product-vendors/templates/woocommerce/single-product/vendor-tab.php CHANGED
@@ -16,10 +16,10 @@ $vendor_description = do_shortcode( $vendor_description );
16
 
17
  <h2>
18
  <a href="<?php echo $vendor_url ?>">
19
- <?php echo __( $vendor_name, 'yith_wc_product_vendors' ) ?>
20
  </a>
21
  </h2>
22
 
23
  <div class="vendor-description">
24
- <?php echo __( $vendor_description, 'yith_wc_product_vendors' ) ?>
25
  </div>
16
 
17
  <h2>
18
  <a href="<?php echo $vendor_url ?>">
19
+ <?php echo __( $vendor_name, 'yith-woocommerce-product-vendors' ) ?>
20
  </a>
21
  </h2>
22
 
23
  <div class="vendor-description">
24
+ <?php echo __( $vendor_description, 'yith-woocommerce-product-vendors' ) ?>
25
  </div>
modules/yith-woocommerce-tab-manager/includes/metabox/tab-metabox.php CHANGED
@@ -17,7 +17,7 @@ $args = array (
17
  'ywtm_text_tab' => array (
18
  'label' => __('Content Tab', 'yith-woocommerce-tab-manager'),
19
  'desc' => '',
20
- 'type' => 'textarea',
21
  ),
22
  'ywtm_show_tab' => array(
23
  'label' => __( 'Enable Tab', 'yith-woocommerce-tab-manager' ),
17
  'ywtm_text_tab' => array (
18
  'label' => __('Content Tab', 'yith-woocommerce-tab-manager'),
19
  'desc' => '',
20
+ 'type' => 'textarea-editor',
21
  ),
22
  'ywtm_show_tab' => array(
23
  'label' => __( 'Enable Tab', 'yith-woocommerce-tab-manager' ),
modules/yith-woocommerce-tab-manager/init.php CHANGED
@@ -3,15 +3,15 @@
3
  * Plugin Name: YITH WooCommerce Tab Manager
4
  * Plugin URI: http://yithemes.com/themes/plugins/yith-woocommerce-tab-manager/
5
  * Description: YITH WooCommerce Tab Manager allows you to add Tab to products.
6
- * Version: 1.1.5
7
  * Author: YITHEMES
8
  * Author URI: http://yithemes.com/
9
- * Text Domain: yith_wc_tab_manager
10
  * Domain Path: /languages/
11
  *
12
  * @author Your Inspiration Themes
13
  * @package YITH WooCommerce Tab Manager
14
- * @version 1.1.5
15
  */
16
 
17
  /* Copyright 2013 Your Inspiration Themes (email : plugins@yithemes.com)
3
  * Plugin Name: YITH WooCommerce Tab Manager
4
  * Plugin URI: http://yithemes.com/themes/plugins/yith-woocommerce-tab-manager/
5
  * Description: YITH WooCommerce Tab Manager allows you to add Tab to products.
6
+ * Version: 1.1.6
7
  * Author: YITHEMES
8
  * Author URI: http://yithemes.com/
9
+ * Text Domain: yith-woocommerce-tab-manager
10
  * Domain Path: /languages/
11
  *
12
  * @author Your Inspiration Themes
13
  * @package YITH WooCommerce Tab Manager
14
+ * @version 1.1.6
15
  */
16
 
17
  /* Copyright 2013 Your Inspiration Themes (email : plugins@yithemes.com)
modules/yith-woocommerce-tab-manager/templates/default.php CHANGED
@@ -1,10 +1,5 @@
1
  <?php
2
- /**
3
- * Created by PhpStorm.
4
- * User: Your Inspiration
5
- * Date: 16/03/2015
6
- * Time: 11:40
7
- */
8
  ?>
9
 
10
- <p> <?php echo $content ?></p>
1
  <?php
2
+ $content = wpautop( $content );
 
 
 
 
 
3
  ?>
4
 
5
+ <div class="tab-editor-container ywtm_content_tab"> <?php echo do_shortcode( $content ); ?></div>
modules/yith-woocommerce-zoom-magnifier/assets/js/yith_magnifier.js CHANGED
@@ -324,7 +324,7 @@
324
  self.IMG_smallImage = new Image();
325
  self.IMG_smallImage.src = self.zoomImage.attr('src');
326
 
327
- if ($.browser.msie && $.browser.version == 8) {
328
  $(self.IMG_zoomImage).load(function () {
329
 
330
  self._initTrap();
324
  self.IMG_smallImage = new Image();
325
  self.IMG_smallImage.src = self.zoomImage.attr('src');
326
 
327
+ if ($.browser && $.browser.msie && $.browser.version == 8) {
328
  $(self.IMG_zoomImage).load(function () {
329
 
330
  self._initTrap();
modules/yith-woocommerce-zoom-magnifier/assets/js/yith_magnifier.min.js CHANGED
@@ -1 +1 @@
1
- !function(t,i,o){"use strict";i.fn.imagesLoaded===o&&!function(t,i){var o="data:image/gif;base64,R0lGODlhAQABAIAAAAAAAP///ywAAAAAAQABAAACAUwAOw==";t.fn.imagesLoaded=function(e){function n(){var i=t(c),o=t(d);h&&(d.length?h.reject(l,i,o):h.resolve(l)),t.isFunction(e)&&e.call(r,l,i,o)}function s(t){a(t.target,"error"===t.type)}function a(i,e){i.src!==o&&-1===t.inArray(i,u)&&(u.push(i),e?d.push(i):c.push(i),t.data(i,"imagesLoaded",{isBroken:e,src:i.src}),m&&h.notifyWith(t(i),[e,l,t(c),t(d)]),l.length===u.length&&(setTimeout(n),l.unbind(".imagesLoaded",s)))}var r=this,h=t.isFunction(t.Deferred)?t.Deferred():0,m=t.isFunction(h.notify),l=r.find("img").add(r.filter("img")),u=[],c=[],d=[];return t.isPlainObject(e)&&t.each(e,function(t,i){"callback"===t?e=i:h&&h[t](i)}),l.length?l.bind("load.imagesLoaded error.imagesLoaded",s).each(function(e,n){var s=n.src,r=t.data(n,"imagesLoaded");return r&&r.src===s?void a(n,r.isBroken):n.complete&&n.naturalWidth!==i?void a(n,0===n.naturalWidth||0===n.naturalHeight):void((n.readyState||n.complete)&&(n.src=o,n.src=s))}):n(),h?h.promise(r):r}}(jQuery),i.yith_magnifier=function(t,o){this.t=o,this.element=i(o),this._init(t)},i.yith_magnifier.defaults={zoomWidth:"auto",zoomHeight:"auto",position:"right",tint:!1,tintOpacity:.5,lensOpacity:.5,softFocus:!1,smoothMove:3,showTitle:!0,titleOpacity:.5,adjustX:0,adjustY:0,phoneBehavior:"inside",loadingLabel:"Loading...",enableSlider:!0,slider:"carouFredSel",sliderOptions:{},onLoad:function(){return!1},onEnter:function(){return!1},onLeave:function(){return!1},onMove:function(){return!1},onClick:function(){return!1},elements:{zoom:i(".yith_magnifier_zoom"),zoomImage:i(".yith_magnifier_zoom img"),gallery:i(".yith_magnifier_gallery li a")}},i.yith_magnifier.prototype={_init:function(t){var o=this;i(document).trigger("yith_magnifier_before_init"),i.each(i.yith_magnifier.defaults.elements,function(t,e){var n=i.yith_magnifier.defaults.elements;n[t]=i(e,o)}),o.options=i.extend(!0,{},i.yith_magnifier.defaults,t),o.isPhone=o._isPhone(),o._loading(),o.element.imagesLoaded(function(){o.options.onLoad(),o._initZoom(),o._initGallery()}),i(document).trigger("yith_magnifier_after_init")},_initGallery:function(){var t=this,o=t.options.elements,e=o.gallery,n=o.zoom,s=o.zoomImage;e.length>0?(e.on("click",function(o){o.preventDefault();var e=i(this);t.destroy(),n.attr("href",this.href),s.attr("src",e.data("small")).attr("srcset",e.data("small")).attr("src-orig",e.data("small")).attr("title","").attr("title",e.attr("title")),i.data(t.t,"yith_magnifier",new i.yith_magnifier(t.options,t.element))}),t.options.enableSlider&&(e.closest("ul").trigger("yith_magnifier_slider_destroy"),e.closest("ul")[t.options.slider](t.options.sliderOptions))):e.on("click",function(t){return t.preventDefault(),!1})},_loading:function(){if(this.options.disableRightClick&&i(document).on("contextmenu",function(t){return!1}),this.mouseTrap===o){var t=this.options.elements.zoom.width();this.options.loadingLabel&&i('<div class="yith_magnifier_loading">'+this.options.loadingLabel+"</div>").css({width:t,"text-align":"center",opacity:.5}).appendTo(this.options.elements.zoom.parent())}},_initZoom:function(){var t=this;t.zoom=t.options.elements.zoom,t.zoomImage=t.options.elements.zoomImage;var o="yith_magnifier_zoom_wrap";t.options.zoom_wrap_additional_css&&(i("."+o).length||(o+=" "+t.options.zoom_wrap_additional_css)),t.zoom.wrap('<div class="'+o+'"></div>'),t.IMG_zoomImage=new Image,t.IMG_zoomImage.src=t.zoom.attr("href"),t.IMG_smallImage=new Image,t.IMG_smallImage.src=t.zoomImage.attr("src"),i.browser.msie&&8==i.browser.version?i(t.IMG_zoomImage).load(function(){t._initTrap()}):i([t.IMG_zoomImage,t.IMG_smallImage]).imagesLoaded(function(){t._initTrap()}),i(document).trigger("yith_magnifier_after_init_zoom")},_initTrap:function(){var t=this,o=t.IMG_zoomImage;t.IMG_smallImage;t.mx=0,t.my=0,t.controlTimer=0,t.lens=null,t.tint=null,t.softFocus=null,t.zoomDiv=null,t.cw=0,t.ch=0,t.zw=0,t.destU=0,t.destV=0,t.currU=0,t.currV=0,t.mouseTrap=null;var e=t.options.elements.zoom,n=t.options.elements.zoomImage;i(".yith_magnifier_loading").remove(),this.element.find(".yith_magnifier_mousetrap")&&this.element.find(".yith_magnifier_mousetrap").remove(),this.mouseTrap=i('<div class="yith_magnifier_mousetrap" />').css({width:"100%",height:"100%",top:0,left:0}).appendTo(e.parent());var s="ontouchstart"in document.documentElement?!0:!1,a="touchmove mousemove",r="touchend mouseleave",h="touchstart mouseenter",m="touchstart click";this.mouseTrap.on(a,this,function(i){t.options.onMove(),t.mx="undefined"!=typeof i.originalEvent.touches?i.originalEvent.touches[0].pageX:i.pageX,t.my="undefined"!=typeof i.originalEvent.touches?i.originalEvent.touches[0].pageY:i.pageY}).on(r,this,function(i){return clearTimeout(t.controlTimer),t.lens&&t.lens.fadeOut(299),t.tint&&t.tint.fadeOut(299),t.softFocus&&t.softFocus.fadeOut(299),t.zoomDiv.fadeOut(300,function(){t._onLeave()}),!1}).on(m,this,function(i){t.options.onClick()}).on(h,this,function(a){t.options.onEnter(),s&&a.preventDefault(),t.mx="undefined"!=typeof a.originalEvent.touches?a.originalEvent.touches[0].pageX:a.pageX,t.my="undefined"!=typeof a.originalEvent.touches?a.originalEvent.touches[0].pageY:a.pageY,t.zw=a.data,t.zoomDiv&&(t.zoomDiv.stop(!0,!1),t.zoomDiv.remove());var r=t.options.adjustX,h=t.options.adjustY,m=n.outerWidth(),l=n.outerHeight(),u=t.options.zoomWidth,c=t.options.zoomHeight;"auto"==t.options.zoomWidth&&(u=m),"auto"==t.options.zoomHeight&&(c=l);var d=e.parent();switch(t.options.position){case"top":h-=c;break;case"right":r+=m;break;case"bottom":h+=l;break;case"left":r-=u;break;case"inside":u=m,c=l;break;default:d=i("#"+t.options.position),d.length?(u=d.innerWidth(),c=d.innerHeight()):(d=e,r+=m,h+=l)}t.isPhone&&"inside"==t.options.phoneBehavior&&(u=m,c=l,r=0,h=0),t.zoomDiv=i('<div class="yith_magnifier_zoom_magnifier" />').css({left:r,top:h,width:u,height:c,"background-repeat":"no-repeat",backgroundImage:"url("+o.src+")"}).appendTo(d),n.attr("title")&&t.options.showTitle&&i('<div class="yith_magnifier_title">'+n.attr("title")+"</div>").appendTo(t.zoomDiv),t.isPhone?"disable"!=t.options.phoneBehavior?t.zoomDiv.fadeIn(500):t.lens.fadeOut(299):t.zoomDiv.fadeIn(500),t.lens&&(t.lens.remove(),t.lens=null),o.width<=1?t.cw=n.outerWidth()/o.naturalWidth*t.zoomDiv.width():t.cw=n.outerWidth()/o.width*t.zoomDiv.width(),o.height<=1?t.ch=n.outerHeight()/o.naturalHeight*t.zoomDiv.height():t.ch=n.outerHeight()/o.height*t.zoomDiv.height(),t.lens=i('<div class="yith_magnifier_lens" />').css({width:t.cw,height:t.ch}).appendTo(e),t.mouseTrap.css("cursor",t.lens.css("cursor"));var g=!1;t.options.tint&&(t.tint=i("<div />").css({display:"none",position:"absolute",left:0,top:0,width:n.outerWidth(),height:n.outerHeight(),backgroundColor:t.options.tint,opacity:t.options.tintOpacity}).appendTo(e),t.lens.append(i("<img />",{src:n.attr("src")})),g=!0,t.tint.fadeIn(500)),t.options.softFocus&&(t.softFocus=i("<div />").css({position:"absolute",display:"none",top:"1px",left:"1px",width:n.outerWidth(),height:n.outerHeight(),opacity:.5}).appendTo(e),t.softFocus.append(i("<img />",{src:n.attr("src")})),0==t.lens.find("img").length&&t.lens.append(i("<img />",{src:n.attr("src")})),g=!0,t.softFocus.fadeIn(500)),g||t.lens.css("opacity",t.options.lensOpacity),"inside"!==t.options.position&&t.lens.fadeIn(500),t.zw._controlLoop()})},_controlLoop:function(){var t=this;if(this.lens){var i=this.mx-this.zoomImage.offset().left-.5*this.cw>>0,o=this.my-this.zoomImage.offset().top-.5*this.ch>>0;0>i?i=0:i>this.zoomImage.outerWidth()-this.cw&&(i=this.zoomImage.outerWidth()-this.cw),0>o?o=0:o>this.zoomImage.outerHeight()-this.ch&&(o=this.zoomImage.outerHeight()-this.ch),this.lens.css({left:i-2,top:o-1}),this.lens.find("img").css({width:this.zoomImage.outerWidth(),height:this.zoomImage.outerHeight(),marginLeft:-i+"px ",marginTop:-o+"px"}),this.IMG_zoomImage.width<=1?this.destU=i/this.zoomImage.outerWidth()*this.IMG_zoomImage.naturalWidth>>0:this.destU=i/this.zoomImage.outerWidth()*this.IMG_zoomImage.width>>0,this.IMG_zoomImage.height<=1?this.destV=o/this.zoomImage.outerHeight()*this.IMG_zoomImage.naturalHeight>>0:this.destV=o/this.zoomImage.outerHeight()*this.IMG_zoomImage.height>>0,this.currU+=(this.destU-this.currU)/this.options.smoothMove,this.currV+=(this.destV-this.currV)/this.options.smoothMove,this.zoomDiv.css("background-position",-(this.currU>>0)+"px "+(-(this.currV>>0)+"px"))}this.controlTimer=setTimeout(function(){t._controlLoop()},30)},_onLeave:function(){this.options.onLeave(),this.zoomDiv&&(this.zoomDiv.remove(),this.zoomDiv=null),this._removeElements()},_removeElements:function(){this.lens&&(this.lens.remove(),this.lens=null),this.tint&&(this.tint.remove(),this.tint=null),this.softFocus&&(this.softFocus.remove(),this.softFocus=null),this.element.find(".yith_magnifier_loading").length>0&&this.element.find(".yith_magnifier_loading").remove()},_isPhone:function(){var t=navigator.userAgent.toLowerCase();return t.match(/iphone/i)||t.match(/ipod/i)||t.match(/android/i)},destroy:function(){this.zoom&&this.zoom.unwrap(),this.mouseTrap&&(this.mouseTrap.unbind(),this.mouseTrap.remove(),this.mouseTrap=null),this.zoomDiv&&(this.zoomDiv.remove(),this.zoomDiv=null),this.options.disableRightClick&&i(document).unbind(),this._removeElements(),this.options.elements.gallery.unbind(),this.element.removeData("yith_magnifier")}},i.fn.yith_magnifier=function(t){if("string"==typeof t){var o=Array.prototype.slice.call(arguments,1);this.each(function(){var e=i.data(this,"yith_magnifier");return e?i.isFunction(e[t])&&"_"!==t.charAt(0)?void e[t].apply(e,o):void i.error("no such method '"+t+"' for yith_magnifier instance"):void i.error("cannot call methods on yith_magnifier prior to initialization; attempted to call method '"+t+"'")})}else this.each(function(){var o=i.data(this,"yith_magnifier");o?i.error("yith_magnifier already istantiated."):i.data(this,"yith_magnifier",new i.yith_magnifier(t,this))});return this}}(window,jQuery);
1
+ !function(a,b,c){"use strict";b.fn.imagesLoaded===c&&!function(a,b){var c="data:image/gif;base64,R0lGODlhAQABAIAAAAAAAP///ywAAAAAAQABAAACAUwAOw==";a.fn.imagesLoaded=function(d){function l(){var b=a(j),c=a(k);f&&(k.length?f.reject(h,b,c):f.resolve(h)),a.isFunction(d)&&d.call(e,h,b,c)}function m(a){n(a.target,"error"===a.type)}function n(b,d){b.src!==c&&a.inArray(b,i)===-1&&(i.push(b),d?k.push(b):j.push(b),a.data(b,"imagesLoaded",{isBroken:d,src:b.src}),g&&f.notifyWith(a(b),[d,h,a(j),a(k)]),h.length===i.length&&(setTimeout(l),h.unbind(".imagesLoaded",m)))}var e=this,f=a.isFunction(a.Deferred)?a.Deferred():0,g=a.isFunction(f.notify),h=e.find("img").add(e.filter("img")),i=[],j=[],k=[];return a.isPlainObject(d)&&a.each(d,function(a,b){"callback"===a?d=b:f&&f[a](b)}),h.length?h.bind("load.imagesLoaded error.imagesLoaded",m).each(function(d,e){var f=e.src,g=a.data(e,"imagesLoaded");return g&&g.src===f?void n(e,g.isBroken):e.complete&&e.naturalWidth!==b?void n(e,0===e.naturalWidth||0===e.naturalHeight):void((e.readyState||e.complete)&&(e.src=c,e.src=f))}):l(),f?f.promise(e):e}}(jQuery),b.yith_magnifier=function(a,c){this.t=c,this.element=b(c),this._init(a)},b.yith_magnifier.defaults={zoomWidth:"auto",zoomHeight:"auto",position:"right",tint:!1,tintOpacity:.5,lensOpacity:.5,softFocus:!1,smoothMove:3,showTitle:!0,titleOpacity:.5,adjustX:0,adjustY:0,phoneBehavior:"inside",loadingLabel:"Loading...",enableSlider:!0,slider:"carouFredSel",sliderOptions:{},onLoad:function(){return!1},onEnter:function(){return!1},onLeave:function(){return!1},onMove:function(){return!1},onClick:function(){return!1},elements:{zoom:b(".yith_magnifier_zoom"),zoomImage:b(".yith_magnifier_zoom img").first(),gallery:b(".yith_magnifier_gallery li a")}},b.yith_magnifier.prototype={_init:function(a){var c=this;b(document).trigger("yith_magnifier_before_init"),b.each(b.yith_magnifier.defaults.elements,function(a,d){var e=b.yith_magnifier.defaults.elements;e[a]=b(d,c)}),c.options=b.extend(!0,{},b.yith_magnifier.defaults,a),c.isPhone=c._isPhone(),c._loading(),c.element.imagesLoaded(function(){c.options.onLoad(),c._initZoom(),c._initGallery()}),b(document).trigger("yith_magnifier_after_init")},_initGallery:function(){var a=this,c=a.options.elements,d=c.gallery,e=c.zoom,f=c.zoomImage;d.length>0?(d.on("click",function(c){c.preventDefault();var d=b(this);a.destroy(),e.attr("href",this.href),f.attr("src",d.data("small")).attr("srcset",d.data("small")).attr("src-orig",d.data("small")).attr("title","").attr("title",d.attr("title")),b.data(a.t,"yith_magnifier",new b.yith_magnifier(a.options,a.element))}),a.options.enableSlider&&(d.closest("ul").trigger("yith_magnifier_slider_destroy"),d.closest("ul")[a.options.slider](a.options.sliderOptions))):d.on("click",function(a){return a.preventDefault(),!1})},_loading:function(){if(this.options.disableRightClick&&b(document).on("contextmenu",function(a){return!1}),this.mouseTrap===c){var a=this.options.elements.zoom.width();this.options.loadingLabel&&b('<div class="yith_magnifier_loading">'+this.options.loadingLabel+"</div>").css({width:a,"text-align":"center",opacity:.5}).appendTo(this.options.elements.zoom.parent())}},_initZoom:function(){var a=this;a.zoom=a.options.elements.zoom,a.zoomImage=a.options.elements.zoomImage;var c="yith_magnifier_zoom_wrap";a.options.zoom_wrap_additional_css&&(b("."+c).length||(c+=" "+a.options.zoom_wrap_additional_css)),a.zoom.wrap('<div class="'+c+'"></div>'),a.IMG_zoomImage=new Image,a.IMG_zoomImage.src=a.zoom.attr("href"),a.IMG_smallImage=new Image,a.IMG_smallImage.src=a.zoomImage.attr("src"),b.browser&&b.browser.msie&&8==b.browser.version?b(a.IMG_zoomImage).load(function(){a._initTrap()}):b([a.IMG_zoomImage,a.IMG_smallImage]).imagesLoaded(function(){a._initTrap()}),b(document).trigger("yith_magnifier_after_init_zoom")},_initTrap:function(){var a=this,c=a.IMG_zoomImage;a.IMG_smallImage;a.mx=0,a.my=0,a.controlTimer=0,a.lens=null,a.tint=null,a.softFocus=null,a.zoomDiv=null,a.cw=0,a.ch=0,a.zw=0,a.destU=0,a.destV=0,a.currU=0,a.currV=0,a.mouseTrap=null;var e=a.options.elements.zoom,f=a.options.elements.zoomImage;b(".yith_magnifier_loading").remove(),this.element.find(".yith_magnifier_mousetrap")&&this.element.find(".yith_magnifier_mousetrap").remove(),this.mouseTrap=b('<div class="yith_magnifier_mousetrap" />').css({width:"100%",height:"100%",top:0,left:0}).appendTo(e.parent());var g="ontouchstart"in document.documentElement,h="touchmove mousemove",i="touchend mouseleave",j="touchstart mouseenter",k="touchstart click";this.mouseTrap.on(h,this,function(b){a.options.onMove(),a.mx="undefined"!=typeof b.originalEvent.touches?b.originalEvent.touches[0].pageX:b.pageX,a.my="undefined"!=typeof b.originalEvent.touches?b.originalEvent.touches[0].pageY:b.pageY}).on(i,this,function(b){return clearTimeout(a.controlTimer),a.lens&&a.lens.fadeOut(299),a.tint&&a.tint.fadeOut(299),a.softFocus&&a.softFocus.fadeOut(299),a.zoomDiv.fadeOut(300,function(){a._onLeave()}),!1}).on(k,this,function(b){a.options.onClick()}).on(j,this,function(d){a.options.onEnter(),g&&d.preventDefault(),a.mx="undefined"!=typeof d.originalEvent.touches?d.originalEvent.touches[0].pageX:d.pageX,a.my="undefined"!=typeof d.originalEvent.touches?d.originalEvent.touches[0].pageY:d.pageY,a.zw=d.data,a.zoomDiv&&(a.zoomDiv.stop(!0,!1),a.zoomDiv.remove());var h=a.options.adjustX,i=a.options.adjustY,j=f.outerWidth(),k=f.outerHeight(),l=a.options.zoomWidth,m=a.options.zoomHeight;"auto"==a.options.zoomWidth&&(l=j),"auto"==a.options.zoomHeight&&(m=k);var n=e.parent();switch(a.options.position){case"top":i-=m;break;case"right":h+=j;break;case"bottom":i+=k;break;case"left":h-=l;break;case"inside":l=j,m=k;break;default:n=b("#"+a.options.position),n.length?(l=n.innerWidth(),m=n.innerHeight()):(n=e,h+=j,i+=k)}a.isPhone&&"inside"==a.options.phoneBehavior&&(l=j,m=k,h=0,i=0),a.zoomDiv=b('<div class="yith_magnifier_zoom_magnifier" />').css({left:h,top:i,width:l,height:m,"background-repeat":"no-repeat",backgroundImage:"url("+c.src+")"}).appendTo(n),f.attr("title")&&a.options.showTitle&&b('<div class="yith_magnifier_title">'+f.attr("title")+"</div>").appendTo(a.zoomDiv),a.isPhone?"disable"!=a.options.phoneBehavior?a.zoomDiv.fadeIn(500):a.lens.fadeOut(299):a.zoomDiv.fadeIn(500),a.lens&&(a.lens.remove(),a.lens=null),c.width<=1?a.cw=f.outerWidth()/c.naturalWidth*a.zoomDiv.width():a.cw=f.outerWidth()/c.width*a.zoomDiv.width(),c.height<=1?a.ch=f.outerHeight()/c.naturalHeight*a.zoomDiv.height():a.ch=f.outerHeight()/c.height*a.zoomDiv.height(),a.lens=b('<div class="yith_magnifier_lens" />').css({width:a.cw,height:a.ch}).appendTo(e),a.mouseTrap.css("cursor",a.lens.css("cursor"));var o=!1;a.options.tint&&(a.tint=b("<div />").css({display:"none",position:"absolute",left:0,top:0,width:f.outerWidth(),height:f.outerHeight(),backgroundColor:a.options.tint,opacity:a.options.tintOpacity}).appendTo(e),a.lens.append(b("<img />",{src:f.attr("src")})),o=!0,a.tint.fadeIn(500)),a.options.softFocus&&(a.softFocus=b("<div />").css({position:"absolute",display:"none",top:"1px",left:"1px",width:f.outerWidth(),height:f.outerHeight(),opacity:.5}).appendTo(e),a.softFocus.append(b("<img />",{src:f.attr("src")})),0==a.lens.find("img").length&&a.lens.append(b("<img />",{src:f.attr("src")})),o=!0,a.softFocus.fadeIn(500)),o||a.lens.css("opacity",a.options.lensOpacity),"inside"!==a.options.position&&a.lens.fadeIn(500),a.zw._controlLoop()})},_controlLoop:function(){var a=this;if(this.lens){var b=this.mx-this.zoomImage.offset().left-.5*this.cw>>0,c=this.my-this.zoomImage.offset().top-.5*this.ch>>0;b<0?b=0:b>this.zoomImage.outerWidth()-this.cw&&(b=this.zoomImage.outerWidth()-this.cw),c<0?c=0:c>this.zoomImage.outerHeight()-this.ch&&(c=this.zoomImage.outerHeight()-this.ch),this.lens.css({left:b-2,top:c-1}),this.lens.find("img").css({width:this.zoomImage.outerWidth(),height:this.zoomImage.outerHeight(),marginLeft:-b+"px ",marginTop:-c+"px"}),this.IMG_zoomImage.width<=1?this.destU=b/this.zoomImage.outerWidth()*this.IMG_zoomImage.naturalWidth>>0:this.destU=b/this.zoomImage.outerWidth()*this.IMG_zoomImage.width>>0,this.IMG_zoomImage.height<=1?this.destV=c/this.zoomImage.outerHeight()*this.IMG_zoomImage.naturalHeight>>0:this.destV=c/this.zoomImage.outerHeight()*this.IMG_zoomImage.height>>0,this.currU+=(this.destU-this.currU)/this.options.smoothMove,this.currV+=(this.destV-this.currV)/this.options.smoothMove,this.zoomDiv.css("background-position",-(this.currU>>0)+"px "+(-(this.currV>>0)+"px"))}this.controlTimer=setTimeout(function(){a._controlLoop()},30)},_onLeave:function(){this.options.onLeave(),this.zoomDiv&&(this.zoomDiv.remove(),this.zoomDiv=null),this._removeElements()},_removeElements:function(){this.lens&&(this.lens.remove(),this.lens=null),this.tint&&(this.tint.remove(),this.tint=null),this.softFocus&&(this.softFocus.remove(),this.softFocus=null),this.element.find(".yith_magnifier_loading").length>0&&this.element.find(".yith_magnifier_loading").remove()},_isPhone:function(){var a=navigator.userAgent.toLowerCase();return a.match(/iphone/i)||a.match(/ipod/i)||a.match(/android/i)},destroy:function(){this.zoom&&this.zoom.unwrap(),this.mouseTrap&&(this.mouseTrap.unbind(),this.mouseTrap.remove(),this.mouseTrap=null),this.zoomDiv&&(this.zoomDiv.remove(),this.zoomDiv=null),this.options.disableRightClick&&b(document).unbind(),this._removeElements(),this.options.elements.gallery.unbind(),this.element.removeData("yith_magnifier")}},b.fn.yith_magnifier=function(a){if("string"==typeof a){var c=Array.prototype.slice.call(arguments,1);this.each(function(){var d=b.data(this,"yith_magnifier");return d?b.isFunction(d[a])&&"_"!==a.charAt(0)?void d[a].apply(d,c):void b.error("no such method '"+a+"' for yith_magnifier instance"):void b.error("cannot call methods on yith_magnifier prior to initialization; attempted to call method '"+a+"'")})}else this.each(function(){var c=b.data(this,"yith_magnifier");c?b.error("yith_magnifier already istantiated."):b.data(this,"yith_magnifier",new b.yith_magnifier(a,this))});return this}}(window,jQuery);
modules/yith-woocommerce-zoom-magnifier/init.php CHANGED
@@ -3,7 +3,7 @@
3
  * Plugin Name: YITH WooCommerce Zoom Magnifier
4
  * Plugin URI: http://yithemes.com/themes/plugins/yith-woocommerce-zoom-magnifier/
5
  * Description: YITH WooCommerce Zoom Magnifier enables you to add a zoom effect to product images and a thumbnail slider for the product image gallery.
6
- * Version: 1.2.20
7
  * Author: YITHEMES
8
  * Author URI: http://yithemes.com/
9
  * Text Domain: yith-woocommerce-zoom-magnifier
@@ -11,7 +11,7 @@
11
  *
12
  * @author Your Inspiration Themes
13
  * @package YITH WooCommerce Magnifier
14
- * @version 1.2.20
15
  */
16
  /* Copyright 2013-2015 Your Inspiration Themes (email : plugins@yithemes.com)
17
 
@@ -76,7 +76,7 @@ if ( ! function_exists ( 'yith_plugin_registration_hook' ) ) {
76
  register_activation_hook ( __FILE__, 'yith_plugin_registration_hook' );
77
 
78
  defined ( 'YITH_YWZM_FREE_INIT' ) || define ( 'YITH_YWZM_FREE_INIT', plugin_basename ( __FILE__ ) );
79
- defined ( 'YITH_YWZM_VERSION' ) || define ( 'YITH_YWZM_VERSION', '1.2.20' );
80
  defined ( 'YITH_YWZM_FILE' ) || define ( 'YITH_YWZM_FILE', __FILE__ );
81
  defined ( 'YITH_YWZM_DIR' ) || define ( 'YITH_YWZM_DIR', plugin_dir_path ( __FILE__ ) );
82
  defined ( 'YITH_YWZM_URL' ) || define ( 'YITH_YWZM_URL', plugins_url ( '/', __FILE__ ) );
3
  * Plugin Name: YITH WooCommerce Zoom Magnifier
4
  * Plugin URI: http://yithemes.com/themes/plugins/yith-woocommerce-zoom-magnifier/
5
  * Description: YITH WooCommerce Zoom Magnifier enables you to add a zoom effect to product images and a thumbnail slider for the product image gallery.
6
+ * Version: 1.2.21
7
  * Author: YITHEMES
8
  * Author URI: http://yithemes.com/
9
  * Text Domain: yith-woocommerce-zoom-magnifier
11
  *
12
  * @author Your Inspiration Themes
13
  * @package YITH WooCommerce Magnifier
14
+ * @version 1.2.21
15
  */
16
  /* Copyright 2013-2015 Your Inspiration Themes (email : plugins@yithemes.com)
17
 
76
  register_activation_hook ( __FILE__, 'yith_plugin_registration_hook' );
77
 
78
  defined ( 'YITH_YWZM_FREE_INIT' ) || define ( 'YITH_YWZM_FREE_INIT', plugin_basename ( __FILE__ ) );
79
+ defined ( 'YITH_YWZM_VERSION' ) || define ( 'YITH_YWZM_VERSION', '1.2.21' );
80
  defined ( 'YITH_YWZM_FILE' ) || define ( 'YITH_YWZM_FILE', __FILE__ );
81
  defined ( 'YITH_YWZM_DIR' ) || define ( 'YITH_YWZM_DIR', plugin_dir_path ( __FILE__ ) );
82
  defined ( 'YITH_YWZM_URL' ) || define ( 'YITH_YWZM_URL', plugins_url ( '/', __FILE__ ) );
modules/yith-woocommerce-zoom-magnifier/plugin-options/general-options.php CHANGED
@@ -223,7 +223,7 @@ if ( ! defined( 'YITH_YWZM_PREMIUM' ) ) {
223
  'video_description' => __( 'See YITH WooCommerce Zoom Magnifier plugin with full premium features in action', 'yith-woocommerce-zoom-magnifier' ),
224
  ),
225
  'title_second_column' => __( 'Get Support and Pro Features', 'yith-woocommerce-zoom-magnifier' ),
226
- 'description_second_column' => __( 'Purchasing the premium version of the plugin, you will take advantage of the advanced features of the product, and you will get one year of free updates and support through our platform available 24h/24.', 'yith-woocommerce-zoom-magnifier' ),
227
  'button' => array(
228
  'href' => YITH_YWZM_Plugin_FW_Loader::get_instance()->get_premium_landing_uri(),
229
  'title' => 'Get Support and Pro Features'
223
  'video_description' => __( 'See YITH WooCommerce Zoom Magnifier plugin with full premium features in action', 'yith-woocommerce-zoom-magnifier' ),
224
  ),
225
  'title_second_column' => __( 'Get Support and Pro Features', 'yith-woocommerce-zoom-magnifier' ),
226
+ 'description_second_column' => __( 'By purchasing the premium version of the plugin, you will take advantage of the advanced features of the product, and you will get one year of free updates and support through our platform available 24h/24.', 'yith-woocommerce-zoom-magnifier' ),
227
  'button' => array(
228
  'href' => YITH_YWZM_Plugin_FW_Loader::get_instance()->get_premium_landing_uri(),
229
  'title' => 'Get Support and Pro Features'
plugin-fw/assets/js/yit-plugin-panel.js CHANGED
@@ -78,6 +78,17 @@
78
  input.change();
79
  });
80
 
 
 
 
 
 
 
 
 
 
 
 
81
 
82
  //slider
83
  $('.plugin-option .slider_container .ui-slider-horizontal').each(function () {
78
  input.change();
79
  });
80
 
81
+ //colorpicker
82
+ $('.plugin-option .panel-colorpicker').wpColorPicker({
83
+ onInit: function(){ },
84
+ change: function(event, ui){
85
+ },
86
+ clear: function(){
87
+ var input = $(this);
88
+ input.val(input.data('default-color'));
89
+ input.change();
90
+ }
91
+ });
92
 
93
  //slider
94
  $('.plugin-option .slider_container .ui-slider-horizontal').each(function () {
plugin-fw/assets/js/yit-plugin-panel.min.js CHANGED
@@ -1,10 +1 @@
1
- (function(a){var l=function(){var b="";a(this).attr("multiple")?(a(this).children("option:selected").each(function(c,d){0!=c&&(b+=", ");b+=a(d).text()}),""==b&&a(this).children().children("option:selected").each(function(c,d){0!=c&&(b+=", ");b+=a(d).text()})):(b=a(this).children("option:selected").text(),""==b&&(b=a(this).children().children("option:selected").text()));0>=a(this).parent().find("span").length&&a(this).before("<span></span>");a(this).parent().children("span").replaceWith("<span>"+b+
2
- "</span>")};a(".plugin-option .select_wrapper select").not(".chosen").each(l).change(l);a(".plugin-option .select_wrapper").click(function(b){b.stopPropagation();a(this).find("select[multiple]").not(".chosen").toggle()});a(".plugin-option .select_wrapper select[multiple]").not(".chosen").click(function(a){a.stopPropagation()});a(window).click(function(){a(".plugin-option .select_wrapper select[multiple]").not(".chosen").hide()});a(".plugin-option .chosen .select_wrapper select").chosen();a(".plugin-option .onoff_container span").on("click",
3
- function(){var b=a(this).prev("input");b.prop("checked")?b.prop("checked",!1).attr("value","no").removeClass("onoffchecked"):b.prop("checked",!0).attr("value","yes").addClass("onoffchecked");b.change()});a(".plugin-option .slider_container .ui-slider-horizontal").each(function(){var b=a(this).data("val"),c=a(this).data("min"),d=a(this).data("max"),e=a(this).data("step"),f=a(this).data("labels");a(this).slider({value:b,min:c,max:d,range:"min",step:e,slide:function(b,c){a(this).find("input").val(c.value);
4
- a(this).siblings(".feedback").find("strong").text(c.value+f)}})});"undefined"!==typeof wp&&"undefined"!==typeof wp.media&&(a(".plugin-option .upload_img_url").change(function(){var b=a(this).val(),c=a(this).parents().siblings(".upload_img_preview");/(http|ftp|https):\/\/[a-zA-Z0-9@?^=%&amp;:/~+#-_.]*.(gif|jpg|jpeg|png|ico)/.test(b)?c.html('<img src="'+b+'" style="max-width:600px; max-height:300px;" />'):c.html("")}).trigger("change"),a(document).on("click",".plugin-option .upload_button",function(b){b.preventDefault();
5
- var c,d=a(this).attr("id").replace(/-button$/,"");c||(b=[new wp.media.controller.Library({library:wp.media.query(),multiple:!1,title:"Choose Image",priority:20,filterable:"uploaded"})],c=wp.media.frames.downloadable_file=wp.media({title:"Choose Image",library:{type:""},button:{text:"Choose Image"},multiple:!1,states:b}),c.on("select",function(){var b=c.state().get("selection").first().toJSON();a("#"+d).val(b.url);a("#"+d+"-yith-attachment-id")&&a("#"+d+"-yith-attachment-id").val(b.id);a(".plugin-option .upload_img_url").trigger("change")}));
6
- c.open()}),a(document).on("click",".plugin-option .upload_button_reset",function(b){var c=a(this);b=c.attr("id");c=c.attr("id").replace(/-button_reset$/,"");b=a("#"+b).data("default");a("#"+c).val(b);a(".plugin-option .upload_img_url").trigger("change")}));a(".plugin-option .add_media").on("click",function(){});a("[data-field]").each(function(){var b=a(this),c="#"+b.data("field"),d="#"+b.data("dep"),e=b.data("value");a(d).on("change",function(){var b=d,g=e.toString(),h=!0;if("string"==typeof b){":radio"==
7
- b.substr(0,6)&&(b+=":checked");for(var g=g.split(","),k=0;k<g.length;k++)if(a(b).val()!=g[k])h=!1;else{h=!0;break}}h?a(c+"-container").closest("tr").show():a(c+"-container").closest("tr").hide()}).change()});a(".rm_connectedlist").each(function(){var b=a(this).find("ul"),c=a(this).find(":hidden");b.sortable({connectWith:b,update:function(d,e){var f={};b.each(function(){var b={};a(this).children().each(function(){b[a(this).data("option")]=a(this).text()});f[a(this).data("list")]=b});c.val(JSON.stringify(f).replace(/[\\"']/g,
8
- "\\$&").replace(/\u0000/g,"\\0"))}}).disableSelection()});a(document).ready(function(){a(".yith-video-link").click(function(b){b.preventDefault();b=a(this).data("video-id");a("."+b).dialog({dialogClass:"wp-dialog yit-dialog yit-video-dialog",modal:!0,closeOnEscape:!0,width:"auto",resizable:!1,draggable:!1,create:function(b,d){a(this).css("maxWidth","853px")},open:function(b,d){a(".ui-widget-overlay").bind("click",function(){a(this).siblings(".ui-dialog").find(".ui-dialog-content").dialog("close")})}});
9
- a(".ui-dialog :button").blur()})});a(document).ready(function(){a(".codemirror").each(function(b,c){var d=CodeMirror.fromTextArea(c,{lineNumbers:1,mode:"javascript",showCursorWhenSelecting:!0});a(c).data("codemirrorInstance",d)})});a(document).ready(function(){a(".google-analytic-generate").click(function(){var b=a("#"+a(this).data("textarea")).data("codemirrorInstance"),c=a("#"+a(this).data("input")).val(),d=a(this).data("basename"),e;e="(function(i,s,o,g,r,a,m){i['GoogleAnalyticsObject']=r;i[r]=i[r]||function(){\n(i[r].q=i[r].q||[]).push(arguments)},i[r].l=1*new Date();a=s.createElement( o ),\nm=s.getElementsByTagName(o)[0];a.async=1;a.src=g;m.parentNode.insertBefore(a,m)\n";
10
- e+="})(window,document,'script','//www.google-analytics.com/analytics.js','ga');\n\n";e+="ga('create', '"+c+"', '"+d+"');\n";e+="ga('send', 'pageview');\n";b.replaceRange(e,b.getCursor("start"),b.getCursor("end"))})})})(jQuery);
1
+ !function(t){function e(e,i,n){var a=!0;if("string"==typeof i){":radio"==i.substr(0,6)&&(i+=":checked");for(var n=n.split(","),o=0;o<n.length;o++){if(t(i).val()==n[o]){a=!0;break}a=!1}}a?t(e+"-container").closest("tr").show():t(e+"-container").closest("tr").hide()}var i=function(){var e="";t(this).attr("multiple")?(t(this).children("option:selected").each(function(i,n){0!=i&&(e+=", "),e+=t(n).text()}),""==e&&t(this).children().children("option:selected").each(function(i,n){0!=i&&(e+=", "),e+=t(n).text()})):(e=t(this).children("option:selected").text(),""==e&&(e=t(this).children().children("option:selected").text())),t(this).parent().find("span").length<=0&&t(this).before("<span></span>"),t(this).parent().children("span").replaceWith("<span>"+e+"</span>")};if(t(".plugin-option .select_wrapper select").not(".chosen").each(i).change(i),t(".plugin-option .select_wrapper").click(function(e){e.stopPropagation(),t(this).find("select[multiple]").not(".chosen").toggle()}),t(".plugin-option .select_wrapper select[multiple]").not(".chosen").click(function(t){t.stopPropagation()}),t(window).click(function(){t(".plugin-option .select_wrapper select[multiple]").not(".chosen").hide()}),t(".plugin-option .chosen .select_wrapper select").chosen(),t(".plugin-option .onoff_container span").on("click",function(){var e=t(this).prev("input"),i=e.prop("checked");i?e.prop("checked",!1).attr("value","no").removeClass("onoffchecked"):e.prop("checked",!0).attr("value","yes").addClass("onoffchecked"),e.change()}),t(".plugin-option .panel-colorpicker").wpColorPicker({onInit:function(){},change:function(t,e){},clear:function(){var e=t(this);e.val(e.data("default-color")),e.change()}}),t(".plugin-option .slider_container .ui-slider-horizontal").each(function(){var e=t(this).data("val"),i=t(this).data("min"),n=t(this).data("max"),a=t(this).data("step"),o=t(this).data("labels");t(this).slider({value:e,min:i,max:n,range:"min",step:a,slide:function(e,i){t(this).find("input").val(i.value),t(this).siblings(".feedback").find("strong").text(i.value+o)}})}),"undefined"!=typeof wp&&"undefined"!=typeof wp.media){var n=!0;wp.media.editor.send.attachment;t(".plugin-option .upload_img_url").change(function(){var e=t(this).val(),i=new RegExp("(http|ftp|https)://[a-zA-Z0-9@?^=%&amp;:/~+#-_.]*.(gif|jpg|jpeg|png|ico)"),n=t(this).parents().siblings(".upload_img_preview");i.test(e)?n.html('<img src="'+e+'" style="max-width:600px; max-height:300px;" />'):n.html("")}).trigger("change"),t(document).on("click",".plugin-option .upload_button",function(e){e.preventDefault();var i,n=t(this),a=n.attr("id").replace(/-button$/,"");if(i)return void i.open();var o=[new wp.media.controller.Library({library:wp.media.query(),multiple:!1,title:"Choose Image",priority:20,filterable:"uploaded"})];i=wp.media.frames.downloadable_file=wp.media({title:"Choose Image",library:{type:""},button:{text:"Choose Image"},multiple:!1,states:o}),i.on("select",function(){var e=i.state().get("selection").first().toJSON();t("#"+a).val(e.url),t("#"+a+"-yith-attachment-id")&&t("#"+a+"-yith-attachment-id").val(e.id),t(".plugin-option .upload_img_url").trigger("change")}),i.open()}),t(document).on("click",".plugin-option .upload_button_reset",function(e){var i=t(this),n=i.attr("id"),a=i.attr("id").replace(/-button_reset$/,""),o=t("#"+n).data("default");t("#"+a).val(o),t(".plugin-option .upload_img_url").trigger("change")})}t(".plugin-option .add_media").on("click",function(){n=!1}),t("[data-field]").each(function(){var i=t(this),n="#"+i.data("field"),a="#"+i.data("dep"),o=i.data("value");t(a).on("change",function(){e(n,a,o.toString())}).change()}),t(".rm_connectedlist").each(function(){var e=t(this).find("ul"),i=t(this).find(":hidden");e.sortable({connectWith:e,update:function(n,a){var o={};e.each(function(){var e={};t(this).children().each(function(){e[t(this).data("option")]=t(this).text()}),o[t(this).data("list")]=e}),i.val(JSON.stringify(o).replace(/[\\"']/g,"\\$&").replace(/\u0000/g,"\\0"))}}).disableSelection()}),t(document).ready(function(){t(".yith-video-link").click(function(e){e.preventDefault();var i=t(this).data("video-id");t("."+i).dialog({dialogClass:"wp-dialog yit-dialog yit-video-dialog",modal:!0,closeOnEscape:!0,width:"auto",resizable:!1,draggable:!1,create:function(e,i){t(this).css("maxWidth","853px")},open:function(e,i){t(".ui-widget-overlay").bind("click",function(){t(this).siblings(".ui-dialog").find(".ui-dialog-content").dialog("close")})}}),t(".ui-dialog :button").blur()})}),t(document).ready(function(){t(".codemirror").each(function(e,i){var n=CodeMirror.fromTextArea(i,{lineNumbers:1,mode:"javascript",showCursorWhenSelecting:!0});t(i).data("codemirrorInstance",n)})}),t(document).ready(function(){t(".google-analytic-generate").click(function(){var e=t("#"+t(this).data("textarea")).data("codemirrorInstance"),i=t("#"+t(this).data("input")).val(),n=t(this).data("basename"),a="(function(i,s,o,g,r,a,m){i['GoogleAnalyticsObject']=r;i[r]=i[r]||function(){\n";a+="(i[r].q=i[r].q||[]).push(arguments)},i[r].l=1*new Date();a=s.createElement( o ),\n",a+="m=s.getElementsByTagName(o)[0];a.async=1;a.src=g;m.parentNode.insertBefore(a,m)\n",a+="})(window,document,'script','//www.google-analytics.com/analytics.js','ga');\n\n",a+="ga('create', '"+i+"', '"+n+"');\n",a+="ga('send', 'pageview');\n",e.replaceRange(a,e.getCursor("start"),e.getCursor("end"))})})}(jQuery);
 
 
 
 
 
 
 
 
 
plugin-fw/init.php CHANGED
@@ -1,7 +1,7 @@
1
  <?php
2
  /**
3
  * Framework Name: YIT Plugin Framework
4
- * Version: 2.9.34
5
  * Author: Yithemes
6
  * Text Domain: yith-plugin-fw
7
  * Domain Path: /languages/
1
  <?php
2
  /**
3
  * Framework Name: YIT Plugin Framework
4
+ * Version: 2.9.37
5
  * Author: Yithemes
6
  * Text Domain: yith-plugin-fw
7
  * Domain Path: /languages/
plugin-fw/lib/yit-plugin-panel-sidebar.php CHANGED
@@ -166,6 +166,10 @@ if ( !class_exists( 'YIT_Plugin_Panel_Sidebar' ) ) {
166
  * @author Leanza Francesco <leanzafrancesco@gmail.com>
167
  */
168
  public function get_remote_widgets() {
 
 
 
 
169
  $remote_widgets = get_transient( self::$transient_remote_widgets );
170
  $updated = get_transient( self::$transient_updated_remote_widgets );
171
  $is_debug = defined( 'YIT_FW_REMOTE_WIDGETS_DEBUG' ) && YIT_FW_REMOTE_WIDGETS_DEBUG;
@@ -209,11 +213,11 @@ if ( !class_exists( 'YIT_Plugin_Panel_Sidebar' ) ) {
209
  if ( !isset( $xml_widget->id ) )
210
  continue;
211
 
212
- $widget_id = (string)$xml_widget->id;
213
  $widget_array = array();
214
  foreach ( $enabled_args as $key ) {
215
  if ( isset( $xml_widget->$key ) ) {
216
- $widget_array[ $key ] = (string)$xml_widget->$key;
217
  } else {
218
  if ( $key == 'priority' ) {
219
  $widget_array[ $key ] = $last_remote_priority;
@@ -224,7 +228,7 @@ if ( !class_exists( 'YIT_Plugin_Panel_Sidebar' ) ) {
224
  $remote_widgets[ $widget_id ] = $widget_array;
225
  }
226
 
227
- $xml_expiration = isset( $xml_data->expiration ) ? (string)$xml_data->expiration : '';
228
  if ( !empty( $xml_expiration ) ) {
229
  $expiration = strtotime( $xml_expiration ) - strtotime( 'now' );
230
  // if the XML is expired removes widgets
@@ -253,8 +257,7 @@ if ( !class_exists( 'YIT_Plugin_Panel_Sidebar' ) ) {
253
  if ( $expiration < 1 ) {
254
  $expiration = 1 * DAY_IN_SECONDS + $four_days_random;
255
  }
256
- }
257
- catch ( Exception $e ) {
258
 
259
  }
260
 
166
  * @author Leanza Francesco <leanzafrancesco@gmail.com>
167
  */
168
  public function get_remote_widgets() {
169
+ $load_remote_widgets = apply_filters( 'yit_panel_sidebar_load_remote_widgets', true );
170
+ if ( !$load_remote_widgets )
171
+ return array();
172
+
173
  $remote_widgets = get_transient( self::$transient_remote_widgets );
174
  $updated = get_transient( self::$transient_updated_remote_widgets );
175
  $is_debug = defined( 'YIT_FW_REMOTE_WIDGETS_DEBUG' ) && YIT_FW_REMOTE_WIDGETS_DEBUG;
213
  if ( !isset( $xml_widget->id ) )
214
  continue;
215
 
216
+ $widget_id = (string) $xml_widget->id;
217
  $widget_array = array();
218
  foreach ( $enabled_args as $key ) {
219
  if ( isset( $xml_widget->$key ) ) {
220
+ $widget_array[ $key ] = (string) $xml_widget->$key;
221
  } else {
222
  if ( $key == 'priority' ) {
223
  $widget_array[ $key ] = $last_remote_priority;
228
  $remote_widgets[ $widget_id ] = $widget_array;
229
  }
230
 
231
+ $xml_expiration = isset( $xml_data->expiration ) ? (string) $xml_data->expiration : '';
232
  if ( !empty( $xml_expiration ) ) {
233
  $expiration = strtotime( $xml_expiration ) - strtotime( 'now' );
234
  // if the XML is expired removes widgets
257
  if ( $expiration < 1 ) {
258
  $expiration = 1 * DAY_IN_SECONDS + $four_days_random;
259
  }
260
+ } catch ( Exception $e ) {
 
261
 
262
  }
263
 
plugin-fw/lib/yit-plugin-panel-wc.php CHANGED
@@ -369,7 +369,7 @@ if ( ! class_exists( 'YIT_Plugin_Panel_WooCommerce' ) ) {
369
  wp_enqueue_script( 'woocommerce_settings', $woocommerce->plugin_url() . '/assets/js/admin/settings.min.js', $woocommerce_settings_deps, $woocommerce_version, true );
370
 
371
  wp_register_script( 'colorbox', YIT_CORE_PLUGIN_URL . '/assets/js/jquery.colorbox.js', array( 'jquery' ), '1.6.3', true );
372
- wp_register_script( 'yit-plugin-panel', YIT_CORE_PLUGIN_URL . '/assets/js/yit-plugin-panel.min.js', array( 'jquery', 'jquery-chosen' ), $this->version, true );
373
  wp_localize_script( 'woocommerce_settings', 'woocommerce_settings_params', array(
374
  'i18n_nav_warning' => __( 'The changes you have made will be lost if you leave this page.', 'yith-plugin-fw' )
375
  ) );
369
  wp_enqueue_script( 'woocommerce_settings', $woocommerce->plugin_url() . '/assets/js/admin/settings.min.js', $woocommerce_settings_deps, $woocommerce_version, true );
370
 
371
  wp_register_script( 'colorbox', YIT_CORE_PLUGIN_URL . '/assets/js/jquery.colorbox.js', array( 'jquery' ), '1.6.3', true );
372
+ wp_register_script( 'yit-plugin-panel', YIT_CORE_PLUGIN_URL . '/assets/js/yit-plugin-panel.min.js', array( 'jquery', 'jquery-chosen','wp-color-picker' ), $this->version, true );
373
  wp_localize_script( 'woocommerce_settings', 'woocommerce_settings_params', array(
374
  'i18n_nav_warning' => __( 'The changes you have made will be lost if you leave this page.', 'yith-plugin-fw' )
375
  ) );
plugin-fw/lib/yit-plugin-panel.php CHANGED
@@ -152,7 +152,7 @@ if ( ! class_exists( 'YIT_Plugin_Panel' ) ) {
152
  wp_enqueue_script( 'jquery-ui-slider' );
153
  wp_enqueue_script( 'jquery-ui-dialog' );
154
  wp_enqueue_script( 'jquery-chosen', YIT_CORE_PLUGIN_URL . '/assets/js/chosen/chosen.jquery.js', array( 'jquery' ), '1.1.0', true );
155
- wp_register_script( 'yit-plugin-panel', YIT_CORE_PLUGIN_URL . '/assets/js/yit-plugin-panel.js', array( 'jquery', 'jquery-chosen' ), $this->version, true );
156
  wp_register_script( 'codemirror', YIT_CORE_PLUGIN_URL . '/assets/js/codemirror/codemirror.js', array( 'jquery' ), $this->version, true );
157
  wp_register_script( 'codemirror-javascript', YIT_CORE_PLUGIN_URL . '/assets/js/codemirror/javascript.js', array( 'jquery', 'codemirror' ), $this->version, true );
158
  wp_register_script( 'colorbox', YIT_CORE_PLUGIN_URL . '/assets/js/jquery.colorbox.js', array( 'jquery' ), '1.6.3', true );
@@ -168,7 +168,7 @@ if ( ! class_exists( 'YIT_Plugin_Panel' ) ) {
168
  wp_enqueue_style( 'yit-jquery-ui-style', '//code.jquery.com/ui/' . $jquery_version . '/themes/smoothness/jquery-ui.css', array(), $jquery_version );
169
  wp_register_style( 'colorbox', YIT_CORE_PLUGIN_URL . '/assets/css/colorbox.css', array(), $this->version );
170
  wp_register_style( 'yit-upgrade-to-pro', YIT_CORE_PLUGIN_URL . '/assets/css/yit-upgrade-to-pro.css', array( 'colorbox' ), $this->version );
171
-
172
  if( ( 'admin.php' == $pagenow && strpos( get_current_screen()->id, 'yith-plugins_page' ) !== false ) || apply_filters( 'yit_plugin_panel_asset_loading', false ) ){
173
  wp_enqueue_style( 'yit-plugin-style' );
174
  wp_enqueue_script( 'yit-plugin-panel' );
152
  wp_enqueue_script( 'jquery-ui-slider' );
153
  wp_enqueue_script( 'jquery-ui-dialog' );
154
  wp_enqueue_script( 'jquery-chosen', YIT_CORE_PLUGIN_URL . '/assets/js/chosen/chosen.jquery.js', array( 'jquery' ), '1.1.0', true );
155
+ wp_register_script( 'yit-plugin-panel', YIT_CORE_PLUGIN_URL . '/assets/js/yit-plugin-panel.js', array( 'jquery', 'jquery-chosen','wp-color-picker'), $this->version, true );
156
  wp_register_script( 'codemirror', YIT_CORE_PLUGIN_URL . '/assets/js/codemirror/codemirror.js', array( 'jquery' ), $this->version, true );
157
  wp_register_script( 'codemirror-javascript', YIT_CORE_PLUGIN_URL . '/assets/js/codemirror/javascript.js', array( 'jquery', 'codemirror' ), $this->version, true );
158
  wp_register_script( 'colorbox', YIT_CORE_PLUGIN_URL . '/assets/js/jquery.colorbox.js', array( 'jquery' ), '1.6.3', true );
168
  wp_enqueue_style( 'yit-jquery-ui-style', '//code.jquery.com/ui/' . $jquery_version . '/themes/smoothness/jquery-ui.css', array(), $jquery_version );
169
  wp_register_style( 'colorbox', YIT_CORE_PLUGIN_URL . '/assets/css/colorbox.css', array(), $this->version );
170
  wp_register_style( 'yit-upgrade-to-pro', YIT_CORE_PLUGIN_URL . '/assets/css/yit-upgrade-to-pro.css', array( 'colorbox' ), $this->version );
171
+
172
  if( ( 'admin.php' == $pagenow && strpos( get_current_screen()->id, 'yith-plugins_page' ) !== false ) || apply_filters( 'yit_plugin_panel_asset_loading', false ) ){
173
  wp_enqueue_style( 'yit-plugin-style' );
174
  wp_enqueue_script( 'yit-plugin-panel' );
plugin-fw/lib/yit-pointers.php CHANGED
@@ -68,8 +68,8 @@ if ( ! class_exists( 'YIT_Pointers' ) ) {
68
  'content' => sprintf( '<h3> %s </h3> <p> %s </p> <p> %s <a href="http://yithemes.com/product-category/plugins/" target="_blank">Yithemes.com</a> %s
69
  <a href="https://profiles.wordpress.org/yithemes/" target="_blank">Wordpress.org</a></p>',
70
  __( 'Plugins Activated', 'yith-plugin-fw' ),
71
- __( 'From now on, you can find all plugin options in YIT Plugin menu.
72
- For each plugin installed, customization settings will be available as a new entry in YIT Plugin menu.', 'yith-plugin-fw' ),
73
  __( 'Discover all our plugins available on:', 'yith-plugin-fw' ),
74
  __( 'and', 'yith-plugin-fw' )
75
  ),
@@ -82,10 +82,10 @@ if ( ! class_exists( 'YIT_Pointers' ) ) {
82
  'content' => sprintf( '<h3> %s </h3> <p> %s </p> <p> %s <a href="http://yithemes.com/product-category/plugins/" target="_blank">Yithemes.com</a> %s
83
  <a href="https://profiles.wordpress.org/yithemes/" target="_blank">Wordpress.org</a></p>',
84
  __( 'Plugins Upgraded', 'yith-plugin-fw' ),
85
- __( 'From now on, you can find all options of your plugins in YIT Plugin menu.
86
- Any time one of our plugins is updated, a new entry will be added to this menu.
87
  For example, after the update, plugin options (such as for YITH WooCommerce Wishlist, YITH WooCommerce Ajax Search, etc.)
88
- will be moved from previous location to YIT Plugin tab.', 'yith-plugin-fw' ),
89
  __( 'Discover all our plugins available on:', 'yith-plugin-fw' ),
90
  __( 'and', 'yith-plugin-fw' )
91
  ),
68
  'content' => sprintf( '<h3> %s </h3> <p> %s </p> <p> %s <a href="http://yithemes.com/product-category/plugins/" target="_blank">Yithemes.com</a> %s
69
  <a href="https://profiles.wordpress.org/yithemes/" target="_blank">Wordpress.org</a></p>',
70
  __( 'Plugins Activated', 'yith-plugin-fw' ),
71
+ __( 'From now on, you can find all plugin options in YITH Plugins menu.
72
+ Plugin customization settings will be available as a new entry in YITH Plugins menu.', 'yith-plugin-fw' ),
73
  __( 'Discover all our plugins available on:', 'yith-plugin-fw' ),
74
  __( 'and', 'yith-plugin-fw' )
75
  ),
82
  'content' => sprintf( '<h3> %s </h3> <p> %s </p> <p> %s <a href="http://yithemes.com/product-category/plugins/" target="_blank">Yithemes.com</a> %s
83
  <a href="https://profiles.wordpress.org/yithemes/" target="_blank">Wordpress.org</a></p>',
84
  __( 'Plugins Upgraded', 'yith-plugin-fw' ),
85
+ __( 'From now on, you can find the option panel of YITH plugins in YITH Plugins menu.
86
+ Every time one of our plugins is added, a new entry will be added to this menu.
87
  For example, after the update, plugin options (such as for YITH WooCommerce Wishlist, YITH WooCommerce Ajax Search, etc.)
88
+ will be moved from previous location to YITH Plugins tab.', 'yith-plugin-fw' ),
89
  __( 'Discover all our plugins available on:', 'yith-plugin-fw' ),
90
  __( 'and', 'yith-plugin-fw' )
91
  ),
plugin-fw/lib/yit-upgrade.php CHANGED
@@ -93,7 +93,7 @@ if ( ! class_exists( 'YIT_Upgrade' ) ) {
93
 
94
  /* === HOOKS === */
95
  if ( ! is_multisite() || is_plugin_active_for_network( $plugin_init ) ) {
96
- add_action( 'admin_init', array( $this, 'remove_wp_plugin_update_row' ), 15 );
97
  add_filter( 'pre_set_site_transient_update_plugins', array( $this, 'check_update' ) );
98
  } else if ( is_multisite() && current_user_can( 'update_plugins' ) ) {
99
  $transient = 'yith_register_' . md5( $plugin_slug );
@@ -433,18 +433,27 @@ if ( ! class_exists( 'YIT_Upgrade' ) ) {
433
  $wp_list_table = _get_list_table( 'WP_MS_Themes_List_Table' );
434
 
435
  if ( is_network_admin() || ! is_multisite() || true ) {
436
- echo '<tr class="plugin-update-tr"><td colspan="' . $wp_list_table->get_column_count() . '" class="plugin-update colspanchange"><div class="update-message">';
 
 
 
 
 
 
 
437
 
438
  if ( ! current_user_can( 'update_plugins' ) ) {
439
- printf( __( 'There is a new version of %1$s available. <a href="%2$s" class="thickbox yit-changelog-button" title="%3$s">View version %4$s details</a>.', 'yith-plugin-fw' ), $this->_plugins[ $init ]['info']['Name'], esc_url( $details_url ), esc_attr( $this->_plugins[ $init ]['info']['Name'] ), $r->new_version );
440
  } elseif ( is_plugin_active_for_network( $init ) ) {
441
- printf( __( 'There is a new version of %1$s available. <a href="%2$s" class="thickbox yit-changelog-button" title="%3$s">View version %4$s details</a>. <em>You have to activate the plugin on a single site of the network to benefit from automatic updates.</em>', 'yith-plugin-fw' ), $this->_plugins[ $init ]['info']['Name'], esc_url( $details_url ), esc_attr( $this->_plugins[ $init ]['info']['Name'] ), $r->new_version );
442
  } elseif ( empty( $r->package ) ) {
443
- printf( __( 'There is a new version of %1$s available. <a href="%2$s" class="thickbox yit-changelog-button" title="%3$s">View version %4$s details</a>. <em>Automatic update is unavailable for this plugin, please <a href="%5$s" title="License activation">activate</a> your copy of %6s.</em>', 'yith-plugin-fw' ), $this->_plugins[ $init ]['info']['Name'], esc_url( $details_url ), esc_attr( $this->_plugins[ $init ]['info']['Name'] ), $r->new_version, YIT_Plugin_Licence()->get_licence_activation_page_url(), $this->_plugins[ $init ]['info']['Name'] );
444
  } else {
445
- printf( __( 'There is a new version of %1$s available. <a href="%2$s" class="thickbox yit-changelog-button" title="%3$s">View version %4$s details</a> or <a href="%5$s">update now</a>.', 'yith-plugin-fw' ), $this->_plugins[ $init ]['info']['Name'], esc_url( $details_url ), esc_attr( $this->_plugins[ $init ]['info']['Name'] ), $r->new_version, wp_nonce_url( self_admin_url( 'update.php?action=upgrade-plugin&plugin=' ) . $init, 'upgrade-plugin_' . $init ) );
446
  }
447
 
 
 
448
  /**
449
  * Fires at the end of the update message container in each
450
  * row of the themes list table.
@@ -475,7 +484,7 @@ if ( ! class_exists( 'YIT_Upgrade' ) ) {
475
  */
476
  public function remove_wp_plugin_update_row() {
477
  foreach ( $this->_plugins as $init => $plugin ) {
478
- remove_action( "after_plugin_row_{$init}", 'wp_plugin_update_row', 10, 2 );
479
  add_action( "after_plugin_row_{$init}", array( $this, 'plugin_update_row' ) );
480
  add_action( "in_theme_update_message-{$init}", array( $this, 'in_theme_update_message' ), 10, 3 );
481
  }
93
 
94
  /* === HOOKS === */
95
  if ( ! is_multisite() || is_plugin_active_for_network( $plugin_init ) ) {
96
+ add_action( 'load-plugins.php', array( $this, 'remove_wp_plugin_update_row' ), 25 );
97
  add_filter( 'pre_set_site_transient_update_plugins', array( $this, 'check_update' ) );
98
  } else if ( is_multisite() && current_user_can( 'update_plugins' ) ) {
99
  $transient = 'yith_register_' . md5( $plugin_slug );
433
  $wp_list_table = _get_list_table( 'WP_MS_Themes_List_Table' );
434
 
435
  if ( is_network_admin() || ! is_multisite() || true ) {
436
+ global $wp_version;
437
+ $is_wp_4_6 = version_compare( $wp_version, '4.6', '>=' );
438
+
439
+ echo '<tr class="plugin-update-tr' . ( is_plugin_active( $init ) ? ' active' : '' ) . '"><td colspan="' . $wp_list_table->get_column_count() . '" class="plugin-update colspanchange">';
440
+
441
+ echo '<div class="update-message' . ( $is_wp_4_6 ? ' notice inline notice-warning notice-alt' : '' ) . '">';
442
+
443
+ echo( $is_wp_4_6 ? '<p>' : '' );
444
 
445
  if ( ! current_user_can( 'update_plugins' ) ) {
446
+ printf( __( 'There is a new version of %1$s available. <a href="%2$s" class="thickbox yit-changelog-button open-plugin-details-modal" title="%3$s">View version %4$s details</a>.', 'yith-plugin-fw' ), $this->_plugins[ $init ]['info']['Name'], esc_url( $details_url ), esc_attr( $this->_plugins[ $init ]['info']['Name'] ), $r->new_version );
447
  } elseif ( is_plugin_active_for_network( $init ) ) {
448
+ printf( __( 'There is a new version of %1$s available. <a href="%2$s" class="thickbox yit-changelog-button open-plugin-details-modal" title="%3$s">View version %4$s details</a>. <em>You have to activate the plugin on a single site of the network to benefit from automatic updates.</em>', 'yith-plugin-fw' ), $this->_plugins[ $init ]['info']['Name'], esc_url( $details_url ), esc_attr( $this->_plugins[ $init ]['info']['Name'] ), $r->new_version );
449
  } elseif ( empty( $r->package ) ) {
450
+ printf( __( 'There is a new version of %1$s available. <a href="%2$s" class="thickbox yit-changelog-button open-plugin-details-modal" title="%3$s">View version %4$s details</a>. <em>Automatic update is unavailable for this plugin, please <a href="%5$s" title="License activation">activate</a> your copy of %6s.</em>', 'yith-plugin-fw' ), $this->_plugins[ $init ]['info']['Name'], esc_url( $details_url ), esc_attr( $this->_plugins[ $init ]['info']['Name'] ), $r->new_version, YIT_Plugin_Licence()->get_licence_activation_page_url(), $this->_plugins[ $init ]['info']['Name'] );
451
  } else {
452
+ printf( __( 'There is a new version of %1$s available. <a href="%2$s" class="thickbox yit-changelog-button open-plugin-details-modal" title="%3$s">View version %4$s details</a> or <a href="%5$s">update now</a>.', 'yith-plugin-fw' ), $this->_plugins[ $init ]['info']['Name'], esc_url( $details_url ), esc_attr( $this->_plugins[ $init ]['info']['Name'] ), $r->new_version, wp_nonce_url( self_admin_url( 'update.php?action=upgrade-plugin&plugin=' ) . $init, 'upgrade-plugin_' . $init ) );
453
  }
454
 
455
+ echo( $is_wp_4_6 ? '</p>' : '' );
456
+
457
  /**
458
  * Fires at the end of the update message container in each
459
  * row of the themes list table.
484
  */
485
  public function remove_wp_plugin_update_row() {
486
  foreach ( $this->_plugins as $init => $plugin ) {
487
+ remove_action( "after_plugin_row_{$init}", 'wp_plugin_update_row', 10 );
488
  add_action( "after_plugin_row_{$init}", array( $this, 'plugin_update_row' ) );
489
  add_action( "in_theme_update_message-{$init}", array( $this, 'in_theme_update_message' ), 10, 3 );
490
  }
plugin-fw/templates/panel/types/colorpicker.php ADDED
@@ -0,0 +1,38 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ <?php
2
+ /**
3
+ * This file belongs to the YIT Plugin Framework.
4
+ *
5
+ * This source file is subject to the GNU GENERAL PUBLIC LICENSE (GPL 3.0)
6
+ * that is bundled with this package in the file LICENSE.txt.
7
+ * It is also available through the world-wide-web at this URL:
8
+ * http://www.gnu.org/licenses/gpl-3.0.txt
9
+ */
10
+
11
+ /**
12
+ * Text Plugin Admin View
13
+ *
14
+ * @package Yithemes
15
+ * @author Emanuela Castorina <emanuela.castorina@yithemes.it>
16
+ * @since 1.0.0
17
+ */
18
+
19
+ if ( ! defined( 'ABSPATH' ) ) {
20
+ exit;
21
+ } // Exit if accessed directly
22
+
23
+ wp_enqueue_style('wp-color-picker');
24
+
25
+ $id = $this->get_id_field( $option['id'] );
26
+ $name = $this->get_name_field( $option['id'] );
27
+
28
+ ?>
29
+ <div id="<?php echo $id ?>-container" <?php if ( isset( $option['deps'] ) ): ?>data-field="<?php echo $id ?>" data-dep="<?php echo $this->get_id_field( $option['deps']['ids'] ) ?>" data-value="<?php echo $option['deps']['values'] ?>" <?php endif ?> class="yit_options rm_option rm_input rm_colorpicker">
30
+ <div class="option">
31
+ <input type="text" name="<?php echo $name ?>" id="<?php echo $id ?>" value="<?php echo esc_attr( $db_value ) ?>" <?php if( isset( $std ) ) : ?>data-default-color="<?php echo $std ?>"<?php endif ?> class="panel-colorpicker"/>
32
+
33
+ </div>
34
+ <span class="description"><?php echo $option['desc'] ?></span>
35
+
36
+ <div class="clear"></div>
37
+ </div>
38
+
plugin-fw/templates/panel/types/number.php ADDED
@@ -0,0 +1,35 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ <?php
2
+ /**
3
+ * This file belongs to the YIT Plugin Framework.
4
+ *
5
+ * This source file is subject to the GNU GENERAL PUBLIC LICENSE (GPL 3.0)
6
+ * that is bundled with this package in the file LICENSE.txt.
7
+ * It is also available through the world-wide-web at this URL:
8
+ * http://www.gnu.org/licenses/gpl-3.0.txt
9
+ */
10
+
11
+ /**
12
+ * Number Plugin Admin View
13
+ *
14
+ * @package Yithemes
15
+ * @author Emanuela Castorina <emanuela.castorina@yithemes.it>
16
+ * @since 1.0.0
17
+ */
18
+
19
+ if ( ! defined( 'ABSPATH' ) ) {
20
+ exit;
21
+ } // Exit if accessed directly
22
+
23
+ $id = $this->get_id_field( $option['id'] );
24
+ $name = $this->get_name_field( $option['id'] );
25
+
26
+ ?>
27
+ <div id="<?php echo $id ?>-container" <?php if ( isset( $option['deps'] ) ): ?>data-field="<?php echo $id ?>" data-dep="<?php echo $this->get_id_field( $option['deps']['ids'] ) ?>" data-value="<?php echo $option['deps']['values'] ?>" <?php endif ?> class="yit_options rm_option rm_input rm_text">
28
+ <div class="option">
29
+ <input type="number" name="<?php echo $name ?>" id="<?php echo $id ?>" value="<?php echo esc_attr( $db_value ) ?>" <?php echo $custom_attributes ?> />
30
+ </div>
31
+ <span class="description"><?php echo $option['desc'] ?></span>
32
+
33
+ <div class="clear"></div>
34
+ </div>
35
+
plugin-fw/templates/panel/types/upload.php CHANGED
@@ -38,7 +38,7 @@ $name = $this->get_name_field( $option['id'] );
38
  <?php
39
  $file = $db_value;
40
  if ( preg_match( '/(jpg|jpeg|png|gif|ico)$/', $file ) ) {
41
- echo "<img src=\"" . $this->settings['plugin-url'] . "/plugin-fw/assets/images/sleep.png\" data-src=\"$file\" />";
42
  }
43
  ?>
44
  </div>
38
  <?php
39
  $file = $db_value;
40
  if ( preg_match( '/(jpg|jpeg|png|gif|ico)$/', $file ) ) {
41
+ echo isset( $this->settings['plugin-url'] ) ? "<img src=\"" . $this->settings['plugin-url'] . "/plugin-fw/assets/images/sleep.png\" data-src=\"$file\" />" : '';
42
  }
43
  ?>
44
  </div>
templates/yith-single-plugin.php CHANGED
@@ -11,6 +11,7 @@
11
  if ( ! defined( 'ABSPATH' ) ) {
12
  exit; // Exit if accessed directly
13
  }
 
14
 
15
  $is_premium_activated = false;
16
  if( is_array( $module_data['premium_constat'] ) ) {
@@ -60,6 +61,14 @@ $description = strip_tags( $plugin['short_description'] );
60
 
61
  $version = wp_kses( $plugin['version'], $plugins_allowedtags );
62
 
 
 
 
 
 
 
 
 
63
  $name = strip_tags( $title . ' ' . $version );
64
 
65
  $author = wp_kses( $plugin['author'], $plugins_allowedtags );
@@ -136,9 +145,10 @@ $last_updated_timestamp = strtotime( $plugin['last_updated'] );
136
  <a href="<?php echo esc_url( $details_link ); ?>" class="thickbox plugin-icon"><img src="<?php echo esc_attr( $plugin_icon_url ) ?>" /></a>
137
 
138
  <div class="name column-name">
139
- <h4>
140
  <a href="<?php echo esc_url( $details_link ); ?>" class="thickbox"><?php echo $title; ?></a>
141
- </h4>
 
142
  </div>
143
  <div class="action-links">
144
  <?php
11
  if ( ! defined( 'ABSPATH' ) ) {
12
  exit; // Exit if accessed directly
13
  }
14
+ global $yith_jetpack_1;
15
 
16
  $is_premium_activated = false;
17
  if( is_array( $module_data['premium_constat'] ) ) {
61
 
62
  $version = wp_kses( $plugin['version'], $plugins_allowedtags );
63
 
64
+ $offline_version = '';
65
+ $plugin_offline_info = get_plugin_data($yith_jetpack_1->module_path($module_data['slug']).$module_data['file']);
66
+
67
+ if( isset( $plugin_offline_info['Version'] ) ) {
68
+ $offline_version = $plugin_offline_info['Version'];
69
+ }
70
+
71
+
72
  $name = strip_tags( $title . ' ' . $version );
73
 
74
  $author = wp_kses( $plugin['author'], $plugins_allowedtags );
145
  <a href="<?php echo esc_url( $details_link ); ?>" class="thickbox plugin-icon"><img src="<?php echo esc_attr( $plugin_icon_url ) ?>" /></a>
146
 
147
  <div class="name column-name">
148
+ <h3>
149
  <a href="<?php echo esc_url( $details_link ); ?>" class="thickbox"><?php echo $title; ?></a>
150
+ </h3>
151
+ <span><?php echo $offline_version ? $offline_version : '' ; ?></span>
152
  </div>
153
  <div class="action-links">
154
  <?php