Version Description
- Minor fix
Download this release
Release Info
Developer | dholovnia |
Plugin | Advanced AJAX Product Filters |
Version | 1.1.0.4 |
Comparing to | |
See all releases |
Code changes from version 1.1.0.3 to 1.1.0.4
- js/widget.min.js +1 -1
- readme.txt +5 -2
- woocommerce-filters.php +1 -1
js/widget.min.js
CHANGED
@@ -1 +1 @@
|
|
1 |
-
eval(function(p,a,c,k,e,r){e=function(c){return(c<a?'':e(parseInt(c/a)))+((c=c%a)>35?String.fromCharCode(c+29):c.toString(36))};if(!''.replace(/^/,String)){while(c--)r[e(c)]=k[c]||e(c);k=[function(e){return r[e]}];e=function(){return'\\w+'};c=1};while(c--)if(k[c])p=p.replace(new RegExp('\\b'+e(c)+'\\b','g'),k[c]);return p}('(7($){$(1r).
|
1 |
+
eval(function(p,a,c,k,e,r){e=function(c){return(c<a?'':e(parseInt(c/a)))+((c=c%a)>35?String.fromCharCode(c+29):c.toString(36))};if(!''.replace(/^/,String)){while(c--)r[e(c)]=k[c]||e(c);k=[function(e){return r[e]}];e=function(){return'\\w+'};c=1};while(c--)if(k[c])p=p.replace(new RegExp('\\b'+e(c)+'\\b','g'),k[c]);return p}('(7($){$(1r).2E(7(){1s f=[],1g=[],1t=[],1u=1,1O=P,J=[];5($(\'.h-G\').u(\'.h-G\')){1u=H($(\'.h-G .Q\').R());5(1u<1)1u=1}5($(\'.1P\').u(\'1P\')){1O=V}7 1v(a){5(S j.T!=\'W\'&&j.T!=1w&&S a!=\'W\'&&a.p>0){2F(a)}}7 1Q(){5(!$(\'.1h\').u(\'1h\')){1R P}X=\'\';1x=\'\';v=\'\';$(J).z(7(i,a){5(a.14(\'K\')){A=a.6(\'B\').15(3).1S(0).1T()+a.6(\'B\').15(4);w=a.1y(\'w:1z\').R();v=\'K\';L=a.1A(\'2d\')}8 5(a.14(\'1B\')){A=a.6(\'B\').15(3).1S(0).1T()+a.6(\'B\').15(4);w=a.2e(\'16\').1y(\'A\').R();v=a.1A(\'1U\');L=a.1A(\'2d\')}8 5(a.u(\'17\')){r=$(\'#\'+a.6(\'1C\')).I();s=$(\'#\'+a.6(\'1i\')).I();5(r!=a.6(\'18\')||s!=a.6(\'19\')){5(a.u(\'1j\')){A=\'2G\'}8{A=a.6(\'B\').15(3).1S(0).1T()+a.6(\'B\').15(4)}}v=\'q\';L=a.6(\'1i\');w=r+\' - \'+s}w=\'<16><a Y="2H \'+A+\'" 6-v="\'+v+\'" 6-L="\'+L+\'">\'+w+\'</a></16>\';5(1x==\'\'){X+=\'<1a><C>\'+A+\'</C><1D>\'+w}8 5(1x==A){X+=w}8{X+=\'</1D></1a><1a><C>\'+A+\'</C><1D>\'+w}1x=A});5(X==\'\'){$(\'.1h\').1V(\'\').2f().1k().2f()}8{X+=\'</1D></1a>\';$(\'.1h\').1V(X).2g().1k().2g()}}7 1W(){f=[];J=[];$(\'.1E 16:1X(.q) 1B, .1E 16:1X(q) K\').z(7(i,o){$M=$(o);5($M.14("K")){D=$M.1y("w:1z").6();$(f).z(7(i,o){5(o[0]==D.B){f.2h(i,1)}});5($M.I()){f[f.p]=[D.B,D.1Y,D.2i];J[J.p]=$M}}8{D=$M.6();5($M.14(\':1F\')||$M.14(\':1z\')){f[f.p]=[D.B,D.1Y,D.2i];J[J.p]=$M}8{$(f).z(7(i,o){5(o[0]==D.B&&o[1]==D.1Y){f.2h(i,1)}})}}});1g=[];1t=[];$t=$(\'.17\');5($t.u(\'17\')){$t.z(7(i,o){r=$(\'#\'+$(o).6(\'1C\')).I();s=$(\'#\'+$(o).6(\'1i\')).I();5(r!=$(o).6(\'18\')||s!=$(o).6(\'19\')){J[J.p]=$(o);5($(o).u(\'1j\')){1t=[r,s]}8{1g[1g.p]=[$(o).6(\'B\'),r,s]}}})}}7 U(b){5(S b==\'W\')b=P;5(!b&&1O)1R P;5(j.T!=1w)1v(j.T.2I);$(j.1G).2J(\'1Z\').2K(\'<1a 2j="2k" />\');1W();1Q();N={20:f,O:1t,21:1g,1l:j.1l,2L:\'2M\',Z:$(\'.h-1H K.Z\').I()};5(j.2N&&\'1I\'22 2O&&\'2l\'22 1I){2m(N);N.x=x.Y}8{N.x=j.2n;l=$(\'.h-G C.Q\').R();5(1b=x.Y.1c(/.+\\/10\\/([0-9]+).+/,"$1")){5(!H(l)){l=1b}N.x=N.x.1c(/\\/?/,"")+"/10/"+l+"/"}8 5(1b=x.Y.1c(/.+1m?=([0-9]+).+/,"$1")){5(!H(l)){l=1b}N.x=N.x.1c(/\\/?/,"")+"?10="+l+""}}$.2P(j.2Q,N,7(a){$(\'.h-2R-2S\').1n();$(\'.h-G\').1n();$(\'2o.h-1H\').1n();5(j.T!=1w)1v(j.T.2T);5($(\'.h-23\').u(\'h-23\')&&!$(j.1G).14(\':2U\')){5(S a.24!=\'W\'){$(\'.h-23\').2p(a.24)}}8{5(S a.2q!=\'W\'){$(j.1G).1V(a.2q).25(\'1Z\')}8{$(j.1G).2p(a.24).25(\'1Z\')}}$(\'.2k\').1n();26();5(j.T!=1w)1v(j.T.2V)},"2W")}7 2m(c){E=[];g=\'\';m=[];5(c.Z&&$(\'.h-1H K.Z w:2X\').1A(\'2Y\')!=c.Z){g+=\'2Z-\'+c.Z}5(c.1l&&c.1l>0){5(g)g+="|";g+=\'30-\'+c.1l}5(c.O){$27=$(\'.1j\');5(c.O[0]&&c.O[1]&&(c.O[0]!=$27.6(\'18\')||c.O[1]!=$27.6(\'19\'))){5(g)g+="|";g+=\'O[\'+c.O[0]+\'2r\'+c.O[1]+\']\'}}5(c.21){$(c.21).z(7(i,o){5(!F(o[0].y(3),m)){m[m.p]=o[0].y(3)}5(S E[F(o[0].y(3),m)]==\'W\'){E[F(o[0].y(3),m)]=[]}E[F(o[0].y(3),m)][E[F(o[0].y(3),m)].p]=[o[1],o[2]]})}5(c.20){$(c.20).z(7(i,o){5(!F(o[0].y(3),m)){m[m.p]=o[0].y(3)}5(S E[F(o[0].y(3),m)]==\'W\'){E[F(o[0].y(3),m)]=[]}E[F(o[0].y(3),m)][E[F(o[0].y(3),m)].p]=[o[1],o[2]]})}1s d=j.2n;5(E.p){$(E).z(7(i,o){5(g)g+="|";5(S o!=\'31\'){g+=o}8{28=P;g+=m[i]+\'[\';$(o).z(7(a,b){5((b[1]==\'2s\'||b[1]==\'32\')){5(28){5(b[1]==\'2s\'){g+=\'+\'}8{g+=\'-\'}}}8{b[0]+=\'2r\'+b[1]}g+=b[0];28=V});g+=\']\'}})}l=$(\'.h-G C.Q\').R();5(1b=H(x.Y.1c(/.+\\/10\\/([0-9]+).+/,"$1"))){5(!H(l)){l=1b}d=d.1c(/\\/?$/,"")+"/10/"+l+"/";5(g){d=d+"?1J="+g}}8{1K=P;5(/\\?/.2t(x.Y)){1o=x.Y.1L(\'?\');5(1o[1]){n=[];33=[];5(/&/.2t(1o[1])){n=1o[1].1L(\'&\');2u=n.p;29(k=0;k<2u;k++){1d=n[k].1L(\'=\');n[k]=[];n[k][0]=1d.2v();n[k][1]=1d.2w("=")}}8{n[0]=[];1d=1o[1].1L(\'=\');n[0][0]=1d.2v();n[0][1]=1d.2w("=")}29(k=0;k<n.p;k++){5(n[k][0]==\'1J\'||n[k][0]==\'10\'||n[k][0]==\'1m\')34;5(1K)d+=\'&\';8 d+=\'?\';d+=n[k][0]+\'=\'+n[k][1];1K=V}}}5(1K&&g){d=d+"&1J="+g;5(l>1){d=d+"&1m="+H(l)}}8 5(g){d=d+"?1J="+g;5(l>1){d=d+"&1m="+H(l)}}8 5(l>1){d=d+"?1m="+H(l)}}1s e={2x:"2y"};1I.2l(e,"2x 2y",d);1I.35=d}7 26(){$(\'.h-G\').11(\'1p\',\'a\',7(a){a.1e();5($(12).u(\'36\')){1M=H($(\'.h-G C.Q\').R())+1}8 5($(12).u(\'1k\')){1M=H($(\'.h-G C.Q\').R())-1}8{1M=$(12).R()}$(\'.h-G C.Q\').25(\'Q\');$(12).37("<C 2j=\'10-38 Q\'>"+1M+"</C>").1n();U(V)})}7 F(a,b,c){1s d=P,1q,c=!!c;29(1q 22 b){5((c&&b[1q]===a)||(!c&&b[1q]==a)){d=1q;39}}1R d}$(\'.1E\').11("1p","1B[1U=\'2a\'] + A",7(a){a.1e()||$(12).1k().2b(\'1F\',!$(12).1k().2b(\'1F\'));U()});$(\'.1E\').11("2z","1B:1X([1U=\'2a\']), K",7(a){U()});$(".17").z(7(i,o){$(o).q({3a:V,18:$(o).6(\'18\')>>0,19:$(o).6(\'19\')>>0,2c:[$(o).6(\'3b\')>>0,$(o).6(\'3c\')>>0],3d:7(a,b){$o=$(b.3e).3f(\'1a.17\');13=b.2c;5($(o).u(\'1j\')){13[0]=13[0].1N(2);13[1]=13[1].1N(2)}$(\'#\'+$o.6(\'1C\')).I(13[0]);$(\'#\'+$o.6(\'1i\')).I(13[1])},3g:7(){U()}})});$(".3h").z(7(i,o){$(o).3i({3j:"3k",3l:$(o).6(\'3m\'),3n:3o})});$(".1h").11(\'1p\',\'a\',7(a){a.1e();$1f=$(12);v=$1f.6(\'v\');5(v==\'3p\'){$(\'#\'+$1f.6(\'L\')+\'-2A\').1p()}8 5(v==\'2a\'){$(\'#\'+$1f.6(\'L\')+\'-2A\').3q()}8 5(v==\'K\'){$(\'#\'+$1f.6(\'L\')+\' w:1z\').2b(\'1F\',P)}8 5(v==\'q\'){$q=$(\'#\'+$1f.6(\'L\')).2e(\'16\').1y(\'.17\');2B.2C($q);r=2D($q.6(\'18\'));s=2D($q.6(\'19\'));5($q.u(\'1j\')){r=r.1N(2);s=s.1N(2)}$(\'#\'+$q.6(\'1C\')).I(r);$(\'#\'+$q.6(\'1i\')).I(s);2B.2C([r,s]);$q.q("2c",[r,s]);U()}});5(j.3r){$(1r).11(\'3s\',\'2o.h-1H\',7(a){a.1e()});$(1r).11(\'2z\',\'K.Z\',7(a){a.1e();U(V)})}26();$(1r).11(\'1p\',\'.1P\',7(a){a.1e();U(V)});1W();1Q()})})(3t);',62,216,'|||||if|data|function|else||||||||uri_request|woocommerce||the_ajax_script||cur_page|temp_terms|passed_vars2||length|slider|val1|val2||hasClass|el_type|option|location|substring|each|label|taxonomy|span|el_data|uri_request_array|in_array|pagination|parseInt|val|berocket_aapf_widget_selected_filters|select|el_id|el|args|price|false|current|text|typeof|user_func|updateProducts|true|undefined|tmp_html|href|orderby|page|on|this|vals|is|slice|li|berocket_filter_slider|min|max|div|prev_page|replace|temp|preventDefault|obj|berocket_aapf_widget_product_limits|berocket_aapf_widget_selected_area|fields_2|berocket_filter_price_slider|prev|product_cat|paged|remove|passed_vars1|click|key|document|var|berocket_aapf_widget_product_price_limit|woocommerce_pagination_page|berocket_fire|null|prev_label|find|selected|attr|input|fields_1|ul|berocket_aapf_widget|checked|products_holder_id|ordering|history|filters|something_added|split|_next_page|toFixed|berocket_aapf_widget_wait_for_button|berocket_aapf_widget_update_button|update_selected_area|return|charAt|toUpperCase|type|html|update_data_containers|not|term_id|hide_products|terms|limits|in|info|products|removeClass|aapf_action_init|price_obj|cnt_oo|for|radio|prop|values|id|closest|hide|show|splice|operator|class|berocket_aapf_widget_loading|pushState|updateLocation|current_page_url|form|replaceWith|no_products|_|AND|test|passed_vars2_length|shift|join|BeRocket|Rules|change|styler|console|log|parseFloat|ready|eval|Price|Unselect|before_update|addClass|append|action|berocket_aapf_listener|seo_friendly_urls|window|post|ajaxurl|result|count|on_update|visible|after_update|json|first|value|order|pcategory|object|OR|temp2|continue|pathname|next|after|numbers|break|range|value1|value2|slide|handle|parents|stop|berocket_aapf_widget_height_control|mCustomScrollbar|axis|xy|theme|scroll_theme|scrollInertia|300|checkbox|reset|control_sorting|submit|jQuery'.split('|'),0,{}))
|
readme.txt
CHANGED
@@ -4,8 +4,8 @@ Contributors: dholovnia, berocket
|
|
4 |
Donate link: http://berocket.com
|
5 |
Tags: filters, product filters, ajax product filters, advanced product filters, woocommerce filters, woocommerce product filters, woocommerce ajax product filters
|
6 |
Requires at least: 3.9
|
7 |
-
Tested up to: 4.
|
8 |
-
Stable tag: 1.1.0.
|
9 |
License: GPLv2 or later
|
10 |
License URI: http://www.gnu.org/licenses/gpl-2.0.html
|
11 |
|
@@ -115,6 +115,9 @@ http://woocommerce-product-filter.berocket.com
|
|
115 |
|
116 |
== Changelog ==
|
117 |
|
|
|
|
|
|
|
118 |
= 1.1.0.3 =
|
119 |
* Enhancement - Custom CSS class can be added per widget/filter
|
120 |
* Enhancement - Update button. If added products will be updated only when user click Update button
|
4 |
Donate link: http://berocket.com
|
5 |
Tags: filters, product filters, ajax product filters, advanced product filters, woocommerce filters, woocommerce product filters, woocommerce ajax product filters
|
6 |
Requires at least: 3.9
|
7 |
+
Tested up to: 4.2.2
|
8 |
+
Stable tag: 1.1.0.4
|
9 |
License: GPLv2 or later
|
10 |
License URI: http://www.gnu.org/licenses/gpl-2.0.html
|
11 |
|
115 |
|
116 |
== Changelog ==
|
117 |
|
118 |
+
= 1.1.0.4 =
|
119 |
+
* Minor fix
|
120 |
+
|
121 |
= 1.1.0.3 =
|
122 |
* Enhancement - Custom CSS class can be added per widget/filter
|
123 |
* Enhancement - Update button. If added products will be updated only when user click Update button
|
woocommerce-filters.php
CHANGED
@@ -3,7 +3,7 @@
|
|
3 |
Plugin Name: Advanced AJAX Product Filters for WooCommerce
|
4 |
Plugin URI: http://berocket.com/wp-plugins/product-filters
|
5 |
Description: Advanced AJAX Product Filters for WooCommerce
|
6 |
-
Version: 1.1.0.
|
7 |
Author: BeRocket
|
8 |
Author URI: http://berocket.com
|
9 |
*/
|
3 |
Plugin Name: Advanced AJAX Product Filters for WooCommerce
|
4 |
Plugin URI: http://berocket.com/wp-plugins/product-filters
|
5 |
Description: Advanced AJAX Product Filters for WooCommerce
|
6 |
+
Version: 1.1.0.4
|
7 |
Author: BeRocket
|
8 |
Author URI: http://berocket.com
|
9 |
*/
|