PluginUs.Net - Business Tools for WooCommerce and WordPress

[realize your idea - make your dreams come true]

Support Forum

You need to log-in to create request (topic) to the support

Woof turbo mode with meta data not working

The support doesn work on Saturdays and Sundays, so some Friday requests can be answered on Monday. If you have problems with registration ask help on contact us page please
If you not got email within 24~36 business hours, firstly check your spam box, and if no any email from the support there - back to the forum and read answer here. DO NOT ANSWER ON EMAILS [noreply@pluginus.net] FROM THE FORUM!! Emails are just for your info, all answers should be published only here.
The support doesn work on Saturdays and Sundays, so some Friday requests can be answered on Monday.

Hello,

i have problem with meta data using turbo mode.

If I use turbo mode then meta data works illogically or does not show results.
If I add custom meta field - transport name with for example number 8 in product. And i want to filter this data in woof in slider from 1 -10. then result from 1-10 will not work. result 1-9 will work.
In all data like height, width, length this does not work consistently.
And always if it shows the result correct it shows for example:
1^9
instead of
Transport: 1-9
if only turbo mode
everything is ok.
In the demo:
https://turbo.products-filter.com/
I don't see the custom fields slider working either.

How to make it work?

Hello

What plugin version number are you using?

Drop  me  exact  link  to the  issue

WooCommerce Products Filter v.2.2.5.6

Im working on localhost now.

 

Hello

Paste your license key here - https://share.pluginus.net/image/i20210618130558.png -> https://share.pluginus.net/image/i20210618130614.png

 

Ok - done

Hello

Try  in  file -  \wp-content\plugins\woocommerce-products-filter\ext\turbo_mode\js\turbo_mode.js -  change  this  line - https://share.pluginus.net/image/i20210930172749.png

query =" (meta_data->('" + settings["meta_key"] +"') BETWEEN" + data_arr[0] +" AND" + data_arr[1] +")";

Hello,

the logic - works well now ;)

This is  problem:

When im filtering (transport - meta field):

in"woof_products_top_panel_ul" i have something like that:

3^10

not Transport: 3-10

i think this problem is in front.js

 

Hello

Please  try  in  file  - wp-content\plugins\woocommerce-products-filter\ext\meta_filter\html_types\slider\js\slider.js - add  code - https://c2n.me/4dxZtfi.png

var top_panel = jQuery('input[data-anchor^="woof_n_' + jQuery(input).attr('name') + '"]');
var title = jQuery(input).parents('.woof_container_inner').find('h4').text();
jQuery(top_panel).val(title + ': ' + parseFloat(ui.from, 10) +"-" + parseFloat(ui.to, 10));
jQuery(top_panel).attr('data-anchor','woof_n_' + jQuery(input).attr('name')+ '_' + parseFloat(ui.from, 10) +"^" + parseFloat(ui.to, 10));

clear  all cache  and  do a  test

 

Hello

All is working great now!

Thank You.

One question:

This changes will be in future update?

Hello

This changes will be in future update? - Yes!

Welcome;)