YITH WooCommerce Ajax Product Filter - Version 3.0.10

Version Description

  • Released: 29 September 2016 =

  • Fixed: Warning: in_array() expects at least 2 parameters, 1 given with query type set to OR

  • Fixed: Widget dropdown doesn't works on Flatsome Theme

Download this release

Release Info

Developer yithemes
Plugin Icon 128x128 YITH WooCommerce Ajax Product Filter
Version 3.0.10
Comparing to
See all releases

Code changes from version 3.0.9 to 3.0.10

README.txt CHANGED
@@ -3,8 +3,8 @@
3
  Contributors: yithemes
4
  Tags: woocommerce ajax product filter download, woocommerce, widget, ajax, ajax filtered nav, ajax navigation, ajax filtered navigation, woocommerce layered navigation, woocommerce layered nav, product filter, product filters, ajax product filter, woocommerce ajax product filter, woocommerce filters, sidebar filter, sidebar ajax filter, ajax price filter, price filter, product sorting, woocommerce filter, taxonomy filter, attribute filter, attributes filter, woocommerce product sort, ajax sort, woocommerce ajax product filter, advanced product filters, ajax product filters, filters, woocommerce ajax product filters, woocommerce product filters, woocommerce product filters, category filter, attribute filters, woocommerce products filter, woocommerce price filter, yit, yith, yithemes
5
  Requires at least: 4.0
6
- Tested up to: 4.6
7
- Stable tag: 3.0.9
8
  License: GPLv2 or later
9
  License URI: http://www.gnu.org/licenses/gpl-2.0.html
10
 
@@ -159,6 +159,11 @@ If you want to see a demonstration version of the premium plugin, you can see it
159
 
160
  == Changelog ==
161
 
 
 
 
 
 
162
  = 3.0.9 - Released: 31 Aug, 2016 =
163
 
164
  * Added: Support to Ultimate Member plugin
3
  Contributors: yithemes
4
  Tags: woocommerce ajax product filter download, woocommerce, widget, ajax, ajax filtered nav, ajax navigation, ajax filtered navigation, woocommerce layered navigation, woocommerce layered nav, product filter, product filters, ajax product filter, woocommerce ajax product filter, woocommerce filters, sidebar filter, sidebar ajax filter, ajax price filter, price filter, product sorting, woocommerce filter, taxonomy filter, attribute filter, attributes filter, woocommerce product sort, ajax sort, woocommerce ajax product filter, advanced product filters, ajax product filters, filters, woocommerce ajax product filters, woocommerce product filters, woocommerce product filters, category filter, attribute filters, woocommerce products filter, woocommerce price filter, yit, yith, yithemes
5
  Requires at least: 4.0
6
+ Tested up to: 4.6.1
7
+ Stable tag: 3.0.10
8
  License: GPLv2 or later
9
  License URI: http://www.gnu.org/licenses/gpl-2.0.html
10
 
159
 
160
  == Changelog ==
161
 
162
+ = 3.0.10 - Released: 29 September 2016 =
163
+
164
+ * Fixed: Warning: in_array() expects at least 2 parameters, 1 given with query type set to OR
165
+ * Fixed: Widget dropdown doesn't works on Flatsome Theme
166
+
167
  = 3.0.9 - Released: 31 Aug, 2016 =
168
 
169
  * Added: Support to Ultimate Member plugin
assets/css/admin.css CHANGED
@@ -92,7 +92,8 @@ label.yith-wcan-reset-table{
92
  }
93
 
94
  div#yit_wcan_options_yith_wcan_dropdown_style-container .select_wrapper,
95
- div#yit_wcan_options_yith_wcan_tag_query_option-container .select_wrapper {
 
96
  width: 220px;
97
  }
98
 
92
  }
93
 
94
  div#yit_wcan_options_yith_wcan_dropdown_style-container .select_wrapper,
95
+ div#yit_wcan_options_yith_wcan_tag_query_option-container .select_wrapper,
96
+ div#yit_wcan_options_yith_wcan_scroll_top_mode-container .select_wrapper {
97
  width: 220px;
98
  }
99
 
assets/js/yith-wcan-frontend.js CHANGED
@@ -161,7 +161,22 @@ jQuery(function ($) {
161
  $(yith_wcan.container).not('.ywcps-products').css('backgroundImage', 'url(' + yith_wcan_frontend.loader_url + ')');
162
  }
163
 
164
- if( yith_wcan.is_mobile == 1 ){
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
165
  $(window).scrollTop( $(yith_wcan.scroll_top).offset().top );
166
  }
167
 
161
  $(yith_wcan.container).not('.ywcps-products').css('backgroundImage', 'url(' + yith_wcan_frontend.loader_url + ')');
162
  }
163
 
164
+ // Check for scrollTop mode
165
+ var scrollTopEnabled = false;
166
+
167
+ if( yith_wcan.scroll_top_mode == 'both' ){
168
+ scrollTopEnabled = true;
169
+ }
170
+
171
+ else if( yith_wcan.scroll_top_mode == 'mobile' && yith_wcan.is_mobile == 1 ){
172
+ scrollTopEnabled = true;
173
+ }
174
+
175
+ else if( yith_wcan.scroll_top_mode == 'desktop' && yith_wcan.is_mobile != 1 ){
176
+ scrollTopEnabled = true;
177
+ }
178
+
179
+ if( scrollTopEnabled == true ){
180
  $(window).scrollTop( $(yith_wcan.scroll_top).offset().top );
181
  }
182
 
assets/js/yith-wcan-frontend.min.js CHANGED
@@ -1,15 +1,15 @@
1
- jQuery(function(a){function u(a,p){return a.replace(new RegExp("[?&]"+p+"=[^&#]*(#.*)?$"),"$1").replace(new RegExp("([?&])"+p+"=[^&]*&"),"$1")}var y=/(?!(\[))(\.)[^.#[]*/g,z=/(#)[^.#[]*/,A=/^[\w]+/,B=/^[\w]+$/,v=function(k,p){var b;if(B.test(k))b=[{tag:k}];else{b=k;for(var e={sel:[],val:[]},n=[],f=!1,h="",m=[],l=0,g=b.length;l<g;l++){var c=b.charAt(l);if(f)if("\\"===c&&l+1<b.length)m.push(b.charAt(++l));else if(h===c)h="",m.push(c);else if(("'"===c||'"'===c)&&""===h)h=c,m.push(c);else if("]"===c&&
2
- ""===h)e.val.push(m.join("")),m=[],f=!1;else{if("]"!==c||""!==h)""===h&&","===c?(e.val.push(m.join("")),m=[]):m.push(c)}else"\\"===c&&l+1<b.length?f&&m.push(b.charAt(++l)):"["===c&&""===h?f=!0:" "===c||"+"===c?(e.sel=e.sel.join(""),n.push(e),"+"===c&&n.push({sel:"+",val:""}),e={sel:[],val:[]}):" "!==c&&"]"!==c&&e.sel.push(c)}if(0!=e.sel.length||0!=e.val.length)e.sel=e.sel.join(""),n.push(e);for(l=0;l<n.length;l++){e=n[l].sel;if("+"===e)d.tag=e;else{var d=[];d.tag=A.exec(e);d.id=z.exec(e);d.id&&a.isArray(d.id)&&
3
- (d.id=d.id[0].substr(1));d.tag||(d.tag="div");d.vars=[];for(b=0;b<n[l].val.length;b++)h=n[l].val[b].indexOf("="),f=n[l].val[b].substr(0,h),h=n[l].val[b].substr(h+1),h=h.replace(/^[\s]*[\"\']*|[\"\']*[\s]*$/g,""),"text"===f?d.text=h:d.vars.push([f,h]);e=e.match(y);f=[];if(e){for(b=0;b<e.length;b++)f.push(e[b].substr(1));d.className=f.join(" ")}}n[l]=d}b=n}e=[];"undefined"===typeof p&&(p=1);n=[];f=[];h=[];m=document.createElement("div");for(g=l=0;g<b.length;g++){if("+"==b[g].tag)f=h.slice(),--l;else{for(c=
4
- 0;c<p;c++)if("input"==b[g].tag){d=[];d.push("<"+b[g].tag);b[g].id&&d.push("id='"+b[g].id+"'");b[g].className&&(d.push("class='"+b[g].className),g+1===b.length&&d.push(lastClass),d.push("'"));if(b[g].vars)for(var q=0;q<b[g].vars.length;q++)d.push(b[g].vars[q][0]+"='"+b[g].vars[q][1]+"'");b[g].text&&d.push("value='"+b[g].text+"'");d.push("/>");h[c]=f[c];f[c]?(f[c].innerHTML+=d.join(" "),f[c]=f[c].lastChild):(m.innerHTML=d.join(" "),f[c]=m.removeChild(m.firstChild))}else{d=document.createElement(b[g].tag);
5
- if(b[g].vars)for(q=0;q<b[g].vars.length;q++)console.log(b[g].tag,b[g].vars[q]),d.setAttribute(b[g].vars[q][0],b[g].vars[q][1]);b[g].id&&(d.id=b[g].id);b[g].className&&(d.className=b[g].className);b[g].text&&d.appendChild(document.createTextNode(b[g].text));h[c]=f[c];f[c]=f[c]?f[c].appendChild(d):d}l++||Array.prototype.push.apply(n,f)}e=a.merge(e,f)}return a(n)},w=function(k,p,b){for(var e=k.match(/%[^%]*%/g)||[],n=[],f=0;f<p.length;f++){for(var h=k,m=0;m<e.length;m++)var l=e[m].substr(1,e[m].length-
6
- 2),h=h.replace(e[m],p[f][l]);n=a.merge(n,v(h,b))}return a(n)};a.jseldom=function(k){if(2==arguments.length&&a.isPlainObject(arguments[1]))return w.apply(this,[arguments[0],[arguments[1]]]);if(1==arguments.length||2==arguments.length&&!a.isArray(arguments[1]))return v.apply(this,arguments);if(2==arguments.length)return w.apply(this,arguments)};var r=!1,x=function(){var k=a("#yith-wcan-reset-all-categories").find("a.yith-wcan-reset-categories-link"),p=a("#yith-wcan-reset-all-tags").find("a.yith-wcan-reset-tags-link");
7
- k.add(p).on("click",function(b){a(this).yith_wcan_ajax_filters(b,this)})};a.fn.yith_wcan_ajax_filters=function(k,p){k.preventDefault();var b=p.href,e=a(p),n=e.hasClass("yith-wcan-reset-navigation");if("undefined"==typeof b&&e.parents().hasClass("price_slider_wrapper")){e.parents("form");var f=window.location,h=f.origin+f.pathname,m=h!=f.href,l=a(".price_slider_amount #min_price").val(),g=a(".price_slider_amount #max_price").val(),b=f.href;1==m&&(b=u(b,"min_price"),b=u(b,"max_price"));b=b+(h==b?"?":
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",
15
- function(){a("div.yith-wcan-select-wrapper ul.yith-wcan-select li.chosen");t();a("div.yith-wcan-select-wrapper").each(function(){var k="";a(this).find("ul.yith-wcan-select li.chosen").each(function(){k+=a(this).text()+", "});k=k.substring(0,k.length-2);""!=k&&a(this).parent().find("a.yit-wcan-select-open").text(k)})});a(document).on("ready",t);a("body").on("click",function(k){a(k.target).hasClass("yit-wcan-select-open")||t()})});
1
+ jQuery(function(a){function u(a,p){return a.replace(new RegExp("[?&]"+p+"=[^&#]*(#.*)?$"),"$1").replace(new RegExp("([?&])"+p+"=[^&]*&"),"$1")}var y=/(?!(\[))(\.)[^.#[]*/g,z=/(#)[^.#[]*/,A=/^[\w]+/,B=/^[\w]+$/,v=function(k,p){var b;if(B.test(k))b=[{tag:k}];else{b=k;for(var e={sel:[],val:[]},n=[],c=!1,h="",m=[],l=0,f=b.length;l<f;l++){var d=b.charAt(l);if(c)if("\\"===d&&l+1<b.length)m.push(b.charAt(++l));else if(h===d)h="",m.push(d);else if(("'"===d||'"'===d)&&""===h)h=d,m.push(d);else if("]"===d&&
2
+ ""===h)e.val.push(m.join("")),m=[],c=!1;else{if("]"!==d||""!==h)""===h&&","===d?(e.val.push(m.join("")),m=[]):m.push(d)}else"\\"===d&&l+1<b.length?c&&m.push(b.charAt(++l)):"["===d&&""===h?c=!0:" "===d||"+"===d?(e.sel=e.sel.join(""),n.push(e),"+"===d&&n.push({sel:"+",val:""}),e={sel:[],val:[]}):" "!==d&&"]"!==d&&e.sel.push(d)}if(0!=e.sel.length||0!=e.val.length)e.sel=e.sel.join(""),n.push(e);for(l=0;l<n.length;l++){e=n[l].sel;if("+"===e)g.tag=e;else{var g=[];g.tag=A.exec(e);g.id=z.exec(e);g.id&&a.isArray(g.id)&&
3
+ (g.id=g.id[0].substr(1));g.tag||(g.tag="div");g.vars=[];for(b=0;b<n[l].val.length;b++)h=n[l].val[b].indexOf("="),c=n[l].val[b].substr(0,h),h=n[l].val[b].substr(h+1),h=h.replace(/^[\s]*[\"\']*|[\"\']*[\s]*$/g,""),"text"===c?g.text=h:g.vars.push([c,h]);e=e.match(y);c=[];if(e){for(b=0;b<e.length;b++)c.push(e[b].substr(1));g.className=c.join(" ")}}n[l]=g}b=n}e=[];"undefined"===typeof p&&(p=1);n=[];c=[];h=[];m=document.createElement("div");for(f=l=0;f<b.length;f++){if("+"==b[f].tag)c=h.slice(),--l;else{for(d=
4
+ 0;d<p;d++)if("input"==b[f].tag){g=[];g.push("<"+b[f].tag);b[f].id&&g.push("id='"+b[f].id+"'");b[f].className&&(g.push("class='"+b[f].className),f+1===b.length&&g.push(lastClass),g.push("'"));if(b[f].vars)for(var q=0;q<b[f].vars.length;q++)g.push(b[f].vars[q][0]+"='"+b[f].vars[q][1]+"'");b[f].text&&g.push("value='"+b[f].text+"'");g.push("/>");h[d]=c[d];c[d]?(c[d].innerHTML+=g.join(" "),c[d]=c[d].lastChild):(m.innerHTML=g.join(" "),c[d]=m.removeChild(m.firstChild))}else{g=document.createElement(b[f].tag);
5
+ if(b[f].vars)for(q=0;q<b[f].vars.length;q++)console.log(b[f].tag,b[f].vars[q]),g.setAttribute(b[f].vars[q][0],b[f].vars[q][1]);b[f].id&&(g.id=b[f].id);b[f].className&&(g.className=b[f].className);b[f].text&&g.appendChild(document.createTextNode(b[f].text));h[d]=c[d];c[d]=c[d]?c[d].appendChild(g):g}l++||Array.prototype.push.apply(n,c)}e=a.merge(e,c)}return a(n)},w=function(k,p,b){for(var e=k.match(/%[^%]*%/g)||[],n=[],c=0;c<p.length;c++){for(var h=k,m=0;m<e.length;m++)var l=e[m].substr(1,e[m].length-
6
+ 2),h=h.replace(e[m],p[c][l]);n=a.merge(n,v(h,b))}return a(n)};a.jseldom=function(k){if(2==arguments.length&&a.isPlainObject(arguments[1]))return w.apply(this,[arguments[0],[arguments[1]]]);if(1==arguments.length||2==arguments.length&&!a.isArray(arguments[1]))return v.apply(this,arguments);if(2==arguments.length)return w.apply(this,arguments)};var r=!1,x=function(){var k=a("#yith-wcan-reset-all-categories").find("a.yith-wcan-reset-categories-link"),p=a("#yith-wcan-reset-all-tags").find("a.yith-wcan-reset-tags-link");
7
+ k.add(p).on("click",function(b){a(this).yith_wcan_ajax_filters(b,this)})};a.fn.yith_wcan_ajax_filters=function(k,p){k.preventDefault();var b=p.href,e=a(p),n=e.hasClass("yith-wcan-reset-navigation");if("undefined"==typeof b&&e.parents().hasClass("price_slider_wrapper")){e.parents("form");var c=window.location,h=c.origin+c.pathname,m=h!=c.href,l=a(".price_slider_amount #min_price").val(),f=a(".price_slider_amount #max_price").val(),b=c.href;1==m&&(b=u(b,"min_price"),b=u(b,"max_price"));b=b+(h==b?"?":
8
+ "&")+a.param({min_price:l,max_price:f})}"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+")");c=!1;"both"==yith_wcan.scroll_top_mode?c=!0:"mobile"==yith_wcan.scroll_top_mode&&1==yith_wcan.is_mobile?c=!0:"desktop"==yith_wcan.scroll_top_mode&&1!=yith_wcan.is_mobile&&(c=!0);1==c&&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(d){r=!1;a(yith_wcan.container).not(".ywcps-products").removeClass("yith-wcan-loading");0<a(d).find(yith_wcan.container).not(".ywcps-products").length?
10
+ a(".yit-wcan-container").html(a(d).find(yith_wcan.container).not(".ywcps-products")):a(".yit-wcan-container").html(a(d).find(".woocommerce-info"));0<a(d).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(d).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" />');
11
+ 0<a(d).find(yith_wcan.result_count).length&&a(yith_wcan.result_count).html(a(d).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),c=b.attr("id"),c=a(d).find("#"+c);0==c.length?b.hide():(b.html(c.html()),b.show())});if(1==yith_wcan.avada.is_enabled){var c=a(yith_wcan.avada.sort_count);c.html(a(d).find(yith_wcan.avada.sort_count).html());""==e.text()?c.hide():
12
+ c.show()}1!=yith_wcan.change_browser_url||navigator.userAgent.match(/msie/i)||window.history.pushState({pageTitle:d.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 c=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",[c,f]);a(document.body).trigger("price_slider_slide",
13
+ [c,f])}a(document).trigger("yith-wcan-ajax-reset-filtered")}x()}})};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")};
14
+ a(document).on("click","a.yit-wcan-select-open.active",function(k){k.preventDefault();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")});
15
+ a(document).on("ready yith-wcan-ajax-filtered",function(){a("div.yith-wcan-select-wrapper ul.yith-wcan-select li.chosen");t();a("div.yith-wcan-select-wrapper").each(function(){var k="";a(this).find("ul.yith-wcan-select li.chosen").each(function(){k+=a(this).text()+", "});k=k.substring(0,k.length-2);""!=k&&a(this).parent().find("a.yit-wcan-select-open").text(k)})});a(document).on("ready",t);a("body").on("click",function(k){a(k.target).hasClass("yit-wcan-select-open")||t()})});
includes/class.yith-wcan-frontend.php CHANGED
@@ -214,6 +214,7 @@ if ( ! class_exists( 'YITH_WCAN_Frontend' ) ) {
214
  ),
215
  'is_mobile' => wp_is_mobile(),
216
  'scroll_top' => yith_wcan_get_option('yith_wcan_ajax_scroll_top_class', '.yit-wcan-container'),
 
217
  'change_browser_url' => 'yes' == yith_wcan_get_option( 'yith_wcan_change_browser_url', 'yes' ) ? true : false,
218
  /* === Avada Theme Support === */
219
  'avada' => array(
214
  ),
215
  'is_mobile' => wp_is_mobile(),
216
  'scroll_top' => yith_wcan_get_option('yith_wcan_ajax_scroll_top_class', '.yit-wcan-container'),
217
+ 'scroll_top_mode' => yith_wcan_get_option( 'yith_wcan_scroll_top_mode', 'mobile' ),
218
  'change_browser_url' => 'yes' == yith_wcan_get_option( 'yith_wcan_change_browser_url', 'yes' ) ? true : false,
219
  /* === Avada Theme Support === */
220
  'avada' => array(
includes/functions.yith-wcan.php CHANGED
@@ -284,7 +284,7 @@ if ( ! function_exists( 'yit_get_terms' ) ) {
284
  break;
285
  }
286
 
287
- if( 'product' == yith_wcan_get_option( 'yith_wcan_ajax_shop_terms_order', 'alphabetical' ) && 'hierarchical' != $instance['display'] && ! is_wp_error( $terms ) && ! $reordered ){
288
  usort( $terms, 'yit_terms_sort' );
289
  }
290
 
284
  break;
285
  }
286
 
287
+ if( apply_filters( 'yith_wcan_skip_shop_term_order', true, $taxonomy, $instance ) &&'product' == yith_wcan_get_option( 'yith_wcan_ajax_shop_terms_order', 'alphabetical' ) && 'hierarchical' != $instance['display'] && ! is_wp_error( $terms ) && ! $reordered ){
288
  usort( $terms, 'yit_terms_sort' );
289
  }
290
 
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.9
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.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
 
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.10
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.10' );
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
 
languages/yith-woocommerce-ajax-navigation-it_IT.mo CHANGED
Binary file
languages/yith-woocommerce-ajax-navigation-it_IT.po CHANGED
@@ -2,8 +2,8 @@ msgid ""
2
  msgstr ""
3
  "Project-Id-Version: YITH WooCommerce Ajax Product Filter\n"
4
  "Report-Msgid-Bugs-To: \n"
5
- "POT-Creation-Date: 2016-06-13 16:11+0200\n"
6
- "PO-Revision-Date: 2016-06-13 16:11+0200\n"
7
  "Last-Translator: Your Inspiration Themes <plugins@yithemes.com>\n"
8
  "Language-Team: \n"
9
  "Language: it_IT\n"
@@ -11,7 +11,7 @@ msgstr ""
11
  "Content-Type: text/plain; charset=UTF-8\n"
12
  "Content-Transfer-Encoding: 8bit\n"
13
  "Plural-Forms: nplurals=2; plural=n != 1;\n"
14
- "X-Generator: Poedit 1.8.4\n"
15
  "X-Poedit-SourceCharset: UTF-8\n"
16
  "X-Poedit-KeywordsList: __;_e;__ngettext:1,2;_n: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\n"
@@ -54,7 +54,7 @@ msgstr "Documentazione Plugin"
54
  #: includes/functions.yith-wcan.php:57 includes/functions.yith-wcan.php:71
55
  #: includes/functions.yith-wcan.php:93
56
  msgid "Term"
57
- msgstr "Proprietà"
58
 
59
  # @ yit
60
  #: includes/functions.yith-wcan.php:57
@@ -75,7 +75,7 @@ msgstr "Colore 2"
75
  # @ yit
76
  #: includes/functions.yith-wcan.php:93
77
  msgid "Labels"
78
- msgstr "Etichetta"
79
 
80
  #: init.php:46
81
  msgid ""
@@ -90,6 +90,8 @@ msgid ""
90
  "You can't activate the free version of YITH WooCommerce Ajax Product Filter "
91
  "while you are using the premium one."
92
  msgstr ""
 
 
93
 
94
  #: settings/custom-style-options.php:24
95
  msgid "Enter here your custom CSS rules:"
@@ -102,7 +104,7 @@ msgstr "Impostazioni frontend"
102
  #: settings/frontend-options.php:25
103
  msgctxt "Admin panel: option description"
104
  msgid "How To:"
105
- msgstr "Descrizione"
106
 
107
  #: settings/frontend-options.php:27
108
  msgctxt "Admin: Panel section description"
@@ -122,7 +124,7 @@ msgstr ""
122
 
123
  #: settings/frontend-options.php:33
124
  msgid "Product Container"
125
- msgstr "Contenitore Prodotti"
126
 
127
  #: settings/frontend-options.php:34
128
  msgid "Enter here the CSS class or id for the product container"
@@ -130,7 +132,7 @@ msgstr "Inserisci qui la classe CSS or l'ID del contenitore prodotto"
130
 
131
  #: settings/frontend-options.php:41
132
  msgid "Shop Pagination Container"
133
- msgstr "Contenitore Paginazione"
134
 
135
  #: settings/frontend-options.php:42
136
  msgid "Enter here the CSS class or id for the shop pagination container"
@@ -139,7 +141,7 @@ msgstr ""
139
 
140
  #: settings/frontend-options.php:49
141
  msgid "Result Count Container"
142
- msgstr "Contenitore Conteggio Prodotti"
143
 
144
  #: settings/frontend-options.php:50
145
  msgid "Enter here the CSS class or id for the results count container"
@@ -147,7 +149,7 @@ msgstr "Inserisci qui la classe CSS o l'ID dei risultati del conteggio"
147
 
148
  #: settings/frontend-options.php:57
149
  msgid "Scroll top anchor"
150
- msgstr "Ancora torna su"
151
 
152
  #: settings/frontend-options.php:58
153
  msgid "Enter here the HTML tag for the scroll to top feature on mobiles"
@@ -159,22 +161,24 @@ msgid ""
159
  "Upgrade to %1$spremium version%2$s of %1$sYITH WooCommerce Ajax Product "
160
  "Filter%2$s to benefit from all features!"
161
  msgstr ""
 
 
162
 
163
  #: templates/admin/premium.php:206 templates/admin/premium.php:428
164
  msgid "UPGRADE"
165
- msgstr ""
166
 
167
  #: templates/admin/premium.php:207 templates/admin/premium.php:429
168
  msgid "to the premium version"
169
- msgstr ""
170
 
171
  #: templates/admin/premium.php:213
172
  msgid "Premium Features"
173
- msgstr ""
174
 
175
  #: templates/admin/premium.php:221
176
  msgid "Two more layouts"
177
- msgstr ""
178
 
179
  #: templates/admin/premium.php:224
180
  #, php-format
@@ -188,10 +192,19 @@ msgid ""
188
  "On%2$s plugin, you will be able to offer the freedom to filter your shop "
189
  "products by brands thanks to the ajax technology."
190
  msgstr ""
 
 
 
 
 
 
 
 
 
191
 
192
  #: templates/admin/premium.php:234
193
  msgid "Price range"
194
- msgstr ""
195
 
196
  #: templates/admin/premium.php:237
197
  #, php-format
@@ -201,10 +214,16 @@ msgid ""
201
  "Price Filter, %1$syou can set unlimited price ranges:%2$s your users will be "
202
  "able to filter products selecting on the ranges you have set."
203
  msgstr ""
 
 
 
 
 
 
204
 
205
  #: templates/admin/premium.php:253
206
  msgid "Ajax Stock/On Sale Filters"
207
- msgstr ""
208
 
209
  #: templates/admin/premium.php:256
210
  #, php-format
@@ -214,10 +233,14 @@ msgid ""
214
  "the available ones.%3$s %1$sAn additional feature for an e-commerce site "
215
  "that is worthy!%2$s"
216
  msgstr ""
 
 
 
 
217
 
218
  #: templates/admin/premium.php:266
219
  msgid "Product sorting"
220
- msgstr ""
221
 
222
  #: templates/admin/premium.php:269
223
  #, php-format
@@ -227,20 +250,28 @@ msgid ""
227
  "need to reload the page. Products can be sorted by rate, sales, price or "
228
  "publication date."
229
  msgstr ""
 
 
 
 
 
230
 
231
  #: templates/admin/premium.php:285
232
  msgid "Customized loader"
233
- msgstr ""
234
 
235
  #: templates/admin/premium.php:288
236
  msgid ""
237
  "From the plugin option panel, you can choose to upload a new icon for your "
238
  "loader: in this way, it will better meet your needs."
239
  msgstr ""
 
 
 
240
 
241
  #: templates/admin/premium.php:298
242
  msgid "WooCommerce Price Filter"
243
- msgstr ""
244
 
245
  #: templates/admin/premium.php:301
246
  #, php-format
@@ -250,6 +281,11 @@ msgid ""
250
  "%2$s and activate the %1$sAjax mode%2$s to apply the filter immediately, "
251
  "without reloading the page."
252
  msgstr ""
 
 
 
 
 
253
 
254
  #: templates/admin/premium.php:317
255
  msgid "SEO"
@@ -262,10 +298,15 @@ msgid ""
262
  "generated by the plugin, or not: with the latter, you will be free to avoid "
263
  "possible penalizations that may apply to your site."
264
  msgstr ""
 
 
 
 
 
265
 
266
  #: templates/admin/premium.php:330
267
  msgid " Filter by category"
268
- msgstr ""
269
 
270
  #: templates/admin/premium.php:333
271
  #, php-format
@@ -273,10 +314,13 @@ msgid ""
273
  "Configure the widget to let your users filter product by a %1$sselected "
274
  "category%2$s. Your users will be even happier to browse your shop."
275
  msgstr ""
 
 
 
276
 
277
  #: templates/admin/premium.php:349
278
  msgid "FILTER ORDERING"
279
- msgstr ""
280
 
281
  #: templates/admin/premium.php:352
282
  msgid ""
@@ -284,10 +328,14 @@ msgid ""
284
  "product archieve pages: classic alphabetical order or decreasing order, "
285
  "based on the number of products contained in each filter."
286
  msgstr ""
 
 
 
 
287
 
288
  #: templates/admin/premium.php:362
289
  msgid "Filter style"
290
- msgstr "Stile filtro"
291
 
292
  #: templates/admin/premium.php:365
293
  msgid ""
@@ -295,10 +343,14 @@ msgid ""
295
  "plugin gives you the possibility to show filters in \"checkbox\" style. "
296
  "Users will experience a new look of your pages while filtering products."
297
  msgstr ""
 
 
 
 
298
 
299
  #: templates/admin/premium.php:381
300
  msgid "Page url"
301
- msgstr ""
302
 
303
  #: templates/admin/premium.php:384
304
  msgid ""
@@ -306,10 +358,14 @@ msgid ""
306
  "the same url or let it get automatically updated every time user applies a "
307
  "filter to the products list of your shop."
308
  msgstr ""
 
 
 
 
309
 
310
  #: templates/admin/premium.php:394
311
  msgid "Filter by tag"
312
- msgstr ""
313
 
314
  #: templates/admin/premium.php:397
315
  msgid ""
@@ -318,10 +374,15 @@ msgid ""
318
  "addition, you could organize your tags in a hierarchy and have appropriate "
319
  "tools for a better management of your products."
320
  msgstr ""
 
 
 
 
 
321
 
322
  #: templates/admin/premium.php:413
323
  msgid "Reset"
324
- msgstr ""
325
 
326
  #: templates/admin/premium.php:416
327
  msgid ""
@@ -331,6 +392,12 @@ msgid ""
331
  "manages this action by a specific button which reset filters and by other "
332
  "two which refresh the main view of categories and/or tags."
333
  msgstr ""
 
 
 
 
 
 
334
 
335
  #: widgets/class.yith-wcan-navigation-widget.php:36
336
  msgid "Filter the list of products without reloading the page"
@@ -341,14 +408,14 @@ msgctxt "Admin: Widget Title"
341
  msgid "YITH WooCommerce Ajax Product Filter"
342
  msgstr "YITH WooCommerce Filtro Prodotti Ajax"
343
 
344
- #: widgets/class.yith-wcan-navigation-widget.php:139
345
  msgid "Filters:"
346
  msgstr "Filtri:"
347
 
348
  # @ yit
349
  #: widgets/class.yith-wcan-navigation-widget.php:705
350
  msgid "List"
351
- msgstr "Lista"
352
 
353
  # @ yit
354
  #: widgets/class.yith-wcan-navigation-widget.php:707
@@ -392,7 +459,7 @@ msgstr "Attributo:"
392
 
393
  #: widgets/class.yith-wcan-navigation-widget.php:748
394
  msgid "Display (default All):"
395
- msgstr "Visualizza (default Tutti)"
396
 
397
  #: widgets/class.yith-wcan-navigation-widget.php:750
398
  msgid "All (no hierarchical)"
2
  msgstr ""
3
  "Project-Id-Version: YITH WooCommerce Ajax Product Filter\n"
4
  "Report-Msgid-Bugs-To: \n"
5
+ "POT-Creation-Date: 2016-09-02 17:56+0200\n"
6
+ "PO-Revision-Date: 2016-09-02 17:56+0200\n"
7
  "Last-Translator: Your Inspiration Themes <plugins@yithemes.com>\n"
8
  "Language-Team: \n"
9
  "Language: it_IT\n"
11
  "Content-Type: text/plain; charset=UTF-8\n"
12
  "Content-Transfer-Encoding: 8bit\n"
13
  "Plural-Forms: nplurals=2; plural=n != 1;\n"
14
+ "X-Generator: Poedit 1.8.8\n"
15
  "X-Poedit-SourceCharset: UTF-8\n"
16
  "X-Poedit-KeywordsList: __;_e;__ngettext:1,2;_n: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\n"
54
  #: includes/functions.yith-wcan.php:57 includes/functions.yith-wcan.php:71
55
  #: includes/functions.yith-wcan.php:93
56
  msgid "Term"
57
+ msgstr "Termine"
58
 
59
  # @ yit
60
  #: includes/functions.yith-wcan.php:57
75
  # @ yit
76
  #: includes/functions.yith-wcan.php:93
77
  msgid "Labels"
78
+ msgstr "Etichette"
79
 
80
  #: init.php:46
81
  msgid ""
90
  "You can't activate the free version of YITH WooCommerce Ajax Product Filter "
91
  "while you are using the premium one."
92
  msgstr ""
93
+ "Non è possibile attivare la versione gratuita di YITH WooCommerce Ajax "
94
+ "Product Filter se stai già utilizzando la versione premium"
95
 
96
  #: settings/custom-style-options.php:24
97
  msgid "Enter here your custom CSS rules:"
104
  #: settings/frontend-options.php:25
105
  msgctxt "Admin panel: option description"
106
  msgid "How To:"
107
+ msgstr "Come fare per..."
108
 
109
  #: settings/frontend-options.php:27
110
  msgctxt "Admin: Panel section description"
124
 
125
  #: settings/frontend-options.php:33
126
  msgid "Product Container"
127
+ msgstr "Contenitore prodotti"
128
 
129
  #: settings/frontend-options.php:34
130
  msgid "Enter here the CSS class or id for the product container"
132
 
133
  #: settings/frontend-options.php:41
134
  msgid "Shop Pagination Container"
135
+ msgstr "Contenitore paginazione"
136
 
137
  #: settings/frontend-options.php:42
138
  msgid "Enter here the CSS class or id for the shop pagination container"
141
 
142
  #: settings/frontend-options.php:49
143
  msgid "Result Count Container"
144
+ msgstr "Contenitore conteggio risultati"
145
 
146
  #: settings/frontend-options.php:50
147
  msgid "Enter here the CSS class or id for the results count container"
149
 
150
  #: settings/frontend-options.php:57
151
  msgid "Scroll top anchor"
152
+ msgstr "Torna su"
153
 
154
  #: settings/frontend-options.php:58
155
  msgid "Enter here the HTML tag for the scroll to top feature on mobiles"
161
  "Upgrade to %1$spremium version%2$s of %1$sYITH WooCommerce Ajax Product "
162
  "Filter%2$s to benefit from all features!"
163
  msgstr ""
164
+ "Aggiorna alla %1$sversione premium%2$s di %1$sYITH WooCommerce Ajax Product "
165
+ "Filter%2$s per usufruire di tutte le sue funzionalità!"
166
 
167
  #: templates/admin/premium.php:206 templates/admin/premium.php:428
168
  msgid "UPGRADE"
169
+ msgstr "AGGIORNA"
170
 
171
  #: templates/admin/premium.php:207 templates/admin/premium.php:429
172
  msgid "to the premium version"
173
+ msgstr "alla versione premium"
174
 
175
  #: templates/admin/premium.php:213
176
  msgid "Premium Features"
177
+ msgstr "Funzionalità premium"
178
 
179
  #: templates/admin/premium.php:221
180
  msgid "Two more layouts"
181
+ msgstr "Due layout in più"
182
 
183
  #: templates/admin/premium.php:224
184
  #, php-format
192
  "On%2$s plugin, you will be able to offer the freedom to filter your shop "
193
  "products by brands thanks to the ajax technology."
194
  msgstr ""
195
+ "Il widget YITH WooCommerce Ajax product Filter si arricchisce ulteriormente "
196
+ "con 2 nuove tipologie di layout per il filtro dei prodotti del tuo negozio. "
197
+ "1$sBicolor%2$s, perfetto per quegli attributi che fanno riferimento a due "
198
+ "colori contemporaneamente (bianco/nero), per un impatto visivo immediato per "
199
+ "l’utente finale. Scegli la tipologia %1$sTag%2$s se, invece, vuoi che i tuoi "
200
+ "prodotti possano essere filtrati per tag prodotto. E se stai usando "
201
+ "contemporaneamente anche YITH WooCommerce Brands Add-On, potrai offrire la "
202
+ "possibilità di filtrare per marca i prodotti del tuo negozio grazie alla "
203
+ "tecnologia AJAX."
204
 
205
  #: templates/admin/premium.php:234
206
  msgid "Price range"
207
+ msgstr "Intervallo di prezzo"
208
 
209
  #: templates/admin/premium.php:237
210
  #, php-format
214
  "Price Filter, %1$syou can set unlimited price ranges:%2$s your users will be "
215
  "able to filter products selecting on the ranges you have set."
216
  msgstr ""
217
+ "Uno dei filtri maggiormente richiesti dagli utenti all’interno di un e-"
218
+ "commerce è la possibilità di selezionare i prodotti sulla base del prezzo. "
219
+ "Grazie a YITH WooCommerce Filtro Ajax Elenco Prezzi %1$spotrai definire "
220
+ "infiniti intervalli di prezzo%2$s, così da permettere ai tuoi utenti di "
221
+ "filtrare i prodotti selezionando uno degli intervalli di prezzo da te "
222
+ "definiti."
223
 
224
  #: templates/admin/premium.php:253
225
  msgid "Ajax Stock/On Sale Filters"
226
+ msgstr "Filtri AJAX per Disponibili/In offerta"
227
 
228
  #: templates/admin/premium.php:256
229
  #, php-format
233
  "the available ones.%3$s %1$sAn additional feature for an e-commerce site "
234
  "that is worthy!%2$s"
235
  msgstr ""
236
+ "Un nuovo widget per la versione premium del plugin. Con esso chiunque si "
237
+ "trovi a navigare tra le pagine del tuo negozio potrà visualizzare solo i "
238
+ "prodotti in offerta e/o i prodotti al momento disponibili.%3$s %1$sUna "
239
+ "caratteristica aggiuntiva per un e-commerce che vale!%2$s"
240
 
241
  #: templates/admin/premium.php:266
242
  msgid "Product sorting"
243
+ msgstr "Ordinamento prodotti"
244
 
245
  #: templates/admin/premium.php:269
246
  #, php-format
250
  "need to reload the page. Products can be sorted by rate, sales, price or "
251
  "publication date."
252
  msgstr ""
253
+ "Con il nuovo widget %1$sYITH WooCommerce Disposizione Ajax%2$s, permetterai "
254
+ "ai tuoi utenti di ordinare i prodotti in AJAX, senza la necessità di dover "
255
+ "attendere che la pagina ricarichi. I prodotti possono essere ordinati in "
256
+ "base alla valutazione, al numero di vendite, al prezzo o alla data di "
257
+ "pubblicazione."
258
 
259
  #: templates/admin/premium.php:285
260
  msgid "Customized loader"
261
+ msgstr "Immagine di caricamento personalizzata"
262
 
263
  #: templates/admin/premium.php:288
264
  msgid ""
265
  "From the plugin option panel, you can choose to upload a new icon for your "
266
  "loader: in this way, it will better meet your needs."
267
  msgstr ""
268
+ "Dal pannello opzioni del plugin, potrai scegliere di caricare una nuova "
269
+ "icona da mostrare durante il caricamento di una pagina: in questo modo, sarà "
270
+ "ancora più adatto alle tue esigenze."
271
 
272
  #: templates/admin/premium.php:298
273
  msgid "WooCommerce Price Filter"
274
+ msgstr "Filtro prezzi di WooCommerce"
275
 
276
  #: templates/admin/premium.php:301
277
  #, php-format
281
  "%2$s and activate the %1$sAjax mode%2$s to apply the filter immediately, "
282
  "without reloading the page."
283
  msgstr ""
284
+ "Sfrutta le potenzialità della versione premium del plugin per modificare il "
285
+ "comportamento predefinito del Filtro prezzi di WooCommerce. Cambia il "
286
+ "%1$slayout del filtro%2$s e attiva la %1$smodalità AJAX%2$s così che il "
287
+ "filtro possa essere applicato istantaneamente senza dover ricaricare la "
288
+ "pagina."
289
 
290
  #: templates/admin/premium.php:317
291
  msgid "SEO"
298
  "generated by the plugin, or not: with the latter, you will be free to avoid "
299
  "possible penalizations that may apply to your site."
300
  msgstr ""
301
+ "La gestione AJAX del plugin comporta l’aggiunta di specifiche query all’URL "
302
+ "della pagina corrente. Scegli tu se permettere ai motori di ricerca di "
303
+ "indicizzare gli URL generati dal plugin o meno: in tal modo sarai messo "
304
+ "nelle condizioni di evitare eventuali penalizzazioni che potrebbero essere "
305
+ "applicate al tuo sito."
306
 
307
  #: templates/admin/premium.php:330
308
  msgid " Filter by category"
309
+ msgstr " Filtra per categoria"
310
 
311
  #: templates/admin/premium.php:333
312
  #, php-format
314
  "Configure the widget to let your users filter product by a %1$sselected "
315
  "category%2$s. Your users will be even happier to browse your shop."
316
  msgstr ""
317
+ "Configura il widget per dare ai tuoi utenti la possibilità di filtrare i "
318
+ "prodotti in base alla %1$scategoria selezionata%2$s. I tuoi utenti saranno "
319
+ "ancora più felici di navigare all’interno del tuo negozio."
320
 
321
  #: templates/admin/premium.php:349
322
  msgid "FILTER ORDERING"
323
+ msgstr "ORDINAMENTO FILTRI"
324
 
325
  #: templates/admin/premium.php:352
326
  msgid ""
328
  "product archieve pages: classic alphabetical order or decreasing order, "
329
  "based on the number of products contained in each filter."
330
  msgstr ""
331
+ "Scegli l’ordinamento migliore per i filtri presenti all’interno delle tue "
332
+ "pagine archivio prodotti: classico ordinamento alfabetico o un elenco di "
333
+ "filtri ordinati in maniera decrescente in base al numero di prodotti "
334
+ "contenuti in ogni filtro."
335
 
336
  #: templates/admin/premium.php:362
337
  msgid "Filter style"
338
+ msgstr "Stile filtri"
339
 
340
  #: templates/admin/premium.php:365
341
  msgid ""
343
  "plugin gives you the possibility to show filters in \"checkbox\" style. "
344
  "Users will experience a new look of your pages while filtering products."
345
  msgstr ""
346
+ "Oltre al classico stile di visualizzazione, con la versione premium del "
347
+ "plugin puoi optare per una visualizzazione dei filtri in stile “checkbox”. "
348
+ "Mentre filtrano i prodotti, i tuoi utenti vedranno le pagine con un nuovo "
349
+ "aspetto."
350
 
351
  #: templates/admin/premium.php:381
352
  msgid "Page url"
353
+ msgstr "URL della pagina"
354
 
355
  #: templates/admin/premium.php:384
356
  msgid ""
358
  "the same url or let it get automatically updated every time user applies a "
359
  "filter to the products list of your shop."
360
  msgstr ""
361
+ "Ad ogni filtro applicato viene generato un nuovo URL per la pagina. Sta a te "
362
+ "scegliere se mantenere lo stesso URL o far sì che si aggiorni "
363
+ "automaticamente ogni volta che l’utente applica un filtro alla lista dei "
364
+ "prodotti del tuo negozio."
365
 
366
  #: templates/admin/premium.php:394
367
  msgid "Filter by tag"
368
+ msgstr "Filtra per tag"
369
 
370
  #: templates/admin/premium.php:397
371
  msgid ""
374
  "addition, you could organize your tags in a hierarchy and have appropriate "
375
  "tools for a better management of your products."
376
  msgstr ""
377
+ "Se utilizzi i tag come un potente strumento di classificazione dei tuoi "
378
+ "prodotti, configura un filtro ad hoc in maniera tale che anche i filtri per "
379
+ "tag funzionino in AJAX. Inoltre, puoi anche creare una struttura gerarchica "
380
+ "per i tuoi tag ed avere gli strumenti adatti per una migliore gestione dei "
381
+ "tuoi prodotti."
382
 
383
  #: templates/admin/premium.php:413
384
  msgid "Reset"
385
+ msgstr "Reset"
386
 
387
  #: templates/admin/premium.php:416
388
  msgid ""
392
  "manages this action by a specific button which reset filters and by other "
393
  "two which refresh the main view of categories and/or tags."
394
  msgstr ""
395
+ "L’esperienza dell'utente sul sito richiede praticità ed intuito. Ecco perché "
396
+ "è impensabile deselezionare un filtro uno per volta per tornare alla vista "
397
+ "principale quando sono stati applicati molti filtri. Il plugin gestisce "
398
+ "questa opzione con uno specifico pulsante per reimpostare i filtri e con "
399
+ "altri due per ripristinare la visualizzazione principale di categorie e/o "
400
+ "tag."
401
 
402
  #: widgets/class.yith-wcan-navigation-widget.php:36
403
  msgid "Filter the list of products without reloading the page"
408
  msgid "YITH WooCommerce Ajax Product Filter"
409
  msgstr "YITH WooCommerce Filtro Prodotti Ajax"
410
 
411
+ #: widgets/class.yith-wcan-navigation-widget.php:140
412
  msgid "Filters:"
413
  msgstr "Filtri:"
414
 
415
  # @ yit
416
  #: widgets/class.yith-wcan-navigation-widget.php:705
417
  msgid "List"
418
+ msgstr "Elenco"
419
 
420
  # @ yit
421
  #: widgets/class.yith-wcan-navigation-widget.php:707
459
 
460
  #: widgets/class.yith-wcan-navigation-widget.php:748
461
  msgid "Display (default All):"
462
+ msgstr "Visualizza (predefinito: tutti)"
463
 
464
  #: widgets/class.yith-wcan-navigation-widget.php:750
465
  msgid "All (no hierarchical)"
plugin-fw/init.php CHANGED
@@ -1,7 +1,7 @@
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/
@@ -19,6 +19,7 @@
19
  * http://www.gnu.org/licenses/gpl-3.0.txt
20
  */
21
 
 
22
 
23
  if ( ! defined ( 'ABSPATH' ) ) {
24
  exit;
1
  <?php
2
  /**
3
  * Framework Name: YIT Plugin Framework
4
+ * Version: 2.9.38
5
  * Author: Yithemes
6
  * Text Domain: yith-plugin-fw
7
  * Domain Path: /languages/
19
  * http://www.gnu.org/licenses/gpl-3.0.txt
20
  */
21
 
22
+ // test
23
 
24
  if ( ! defined ( 'ABSPATH' ) ) {
25
  exit;
plugin-fw/licence/lib/yit-licence.php CHANGED
@@ -691,7 +691,7 @@ if ( ! class_exists( 'YIT_Licence' ) ) {
691
  * @author Andrea Grillo <andrea.grillo@yithemes.com>
692
  */
693
  public function display_product_name( $product_name ){
694
- return str_replace( array( 'YITH', 'WooCommerce', 'Premium', 'Theme' ), '', $product_name );
695
  }
696
 
697
  public function get_number_of_membership_products(){
691
  * @author Andrea Grillo <andrea.grillo@yithemes.com>
692
  */
693
  public function display_product_name( $product_name ){
694
+ return str_replace( array( 'for WooCommerce', 'YITH', 'WooCommerce', 'Premium', 'Theme' ), '', $product_name );
695
  }
696
 
697
  public function get_number_of_membership_products(){
widgets/class.yith-wcan-navigation-widget.php CHANGED
@@ -471,7 +471,7 @@ if ( ! class_exists( 'YITH_WCAN_Navigation_Widget' ) ) {
471
  }
472
 
473
  // Query type Arg
474
- if ( $query_type == 'or' && ! ( sizeof( $current_filter ) == 1 && isset( $_chosen_attributes[$taxonomy]['terms'] ) && $in_array_function( $_chosen_attributes[$taxonomy]['terms'] ) && $in_array_function( $term->$filter_term_field, $_chosen_attributes[$taxonomy]['terms'] ) ) ) {
475
  $link = add_query_arg( 'query_type_' . sanitize_title( $instance['attribute'] ), 'or', $link );
476
  }
477
 
471
  }
472
 
473
  // Query type Arg
474
+ if ( $query_type == 'or' && ! ( sizeof( $current_filter ) == 1 && isset( $_chosen_attributes[$taxonomy]['terms'] ) && is_array( $_chosen_attributes[$taxonomy]['terms'] ) && $in_array_function( $term->$filter_term_field, $_chosen_attributes[$taxonomy]['terms'] ) ) ) {
475
  $link = add_query_arg( 'query_type_' . sanitize_title( $instance['attribute'] ), 'or', $link );
476
  }
477