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

Category Based Product Filter

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.

Hi,

Coming from the link below codecanyon. I installed your plugin and trying to understand the function. It should be compatible with a currency plugin. I deleted the other one ( villa theme currency switcher) in code canyon and installed yours. Trying to setup both plugins properly for global selling.

https://codecanyon.net/item/woof-woocommerce-products-filter/11498469/comments?page=118&filter=all#comment_25584247

Problems:

The global price filter:

PF-1-) In a category  "Tek motif Danteller"/en:"Single Motif Crochet":

where prices are between 0 - 38 TL. Price filter rounds 37.71 to 38 that's ok.  All products are variable. They all have 2 variables and the price is the same for both except just one product that( I am just trying lots of options in there to understand the limits) has the price between 4,71  – 37,71. When you choose the price like in the filter between 30 to 38 in the range it shows nothing. ? The problem is like when the prices of the variables are not the same the filter cannot show the results. 

PF-2-)   In a category"Kenar Oyaları"/en: Edging Works" :

The price is for per cm so always between 0-1TL or $. The filter shows the price between 0-1 but it is not functioning.  You can check it for yourself.

Filtering heights of the products (one of the dimensions of the product in shipping tab).

I could not do that.

1-) Added _height meta and set the range between 0-15.5cm but I had to look at the highest model height. However, this is just for one category. This will show in every category so the range would be a problem. Also the result is not right. I do not know it shows some results but irrelevant.

2-) I added the height numbers of the products as attributes. When I add the attribute to the category it shows the heights and results are perfect. However it is a drop down menu. I cannot use a slider for the numbers. It does not detect the attributes value as numbers and the plugin dos not give me an ion range slider option.

Other than these 2 basic issues there is not any problem with the WPML. That was my concern but it is perfect and the procedure is so easy.

 

Thanks

 

 

 

 

 

Hello

PF-1) You can do a test  with  native  woo  price  filter

PF-2) Try  in  file - \wp-content\plugins\woocommerce-products-filter\js\front.js - change  code  - https://c2n.me/49U0eS1.png

New  code:

var tax=jQuery(input).data('taxes');
woof_current_values.min_price = ( parseFloat(ui.from, 10)/tax);
woof_current_values.max_price = ( parseFloat(ui.to, 10)/tax);
//woocs adaptation
if (typeof woocs_current_currency !== 'undefined') {
woof_current_values.min_price = woof_current_values.min_price / parseFloat(woocs_current_currency.rate);
woof_current_values.max_price = woof_current_values.max_price / parseFloat(woocs_current_currency.rate);
}

1) You can only insert a constant range into the slider

2) Attribute(taxonomy) slider is only available in the paid version

 

Hi,

I added the code. Thanks. It is working. But it will be changed in every update. After I bought the plugin will you guide me to use codes in child theme? Or do you have a tutorial like the link below. May be a tutorial in documentation or in FAQ. Normally I use child theme for css and never used for js.

https://wpshout.com/quick-guides/properly-modify-javascript-files-parent-theme/

Before buying the paid version there are last 2  things I want to ask. You said.  

PF-1) You can do a test  with  native  woo  price  filter

1-) So you mean even if the native woo price filter we will have the same problem? If the product variations have the price range, we cannot use this filter or any other filter to show the specific product. Am I right? I did not get that. I just wanted to clarify. If that is the situation. What is your suggestions? The customization of the products is essential you know.

2-) You said:

2) Attribute(taxonomy) slider is only available in the paid version

 

Just to clarify. In paid version under the structure tab, for the variables there will be slider options"ion range-slider". Is that right? If that is right my question is for the decimals can we use dot"." like"1.2" or comma"," like"1,2".

https://ibb.co/KGWF65s

Thanks

Hello

 But it will be changed in every update - Read this - https://webkul.com/blog/how-to-override-javascript-jquery-functions-and-events/

1)  Filter by price works the same in woocommerce and WOOF. Unfortunately we have no other solution for you

2) Better try  to watch   this  video - https://products-filter.com/video-tutorials#video_beGT6p_look   

"." like"1.2" or comma"," like"1,2". -  it doesn't matter because the taxonomy is a string and it is impossible to perform mathematical operations with a string

 

Hi,

I installed another filter. This is also from codecanyon. For the category"Edging Works" I have attributes which are numbers as I told you. The range is between 0.6 cm to 2.8 cm.  You can see below.

https://ibb.co/tZ4JWvw

In the admin area of the category filters there is this option: Order by. When you select that option it gives you"number" option as the term order. And the range works without any problem.

https://ibb.co/THv63s2

That was what I was talking about.

Thanks

Hello

Are you sure this is a taxonomy?

Ok!  better  use   dot (better to  sort) . But it doesn't matter for search

Hi,

I bought your plugin. There was an extension. It appeared after I added your original plugin ( not the free version I mean). I changed comma values ( 1,2 - 1,4 - 1,7 ...etc. ) to dots ( 1.2 - 1.4 - 1.7) in specific height attribute. Then I selected the extensions below in"Extensions" tab.

Slider: Range slider for the products attributes. For example for such attribute as size.

It is working. Wow. That is that I was talking about. It is the attributes with numbers. There was a misunderstanding I guess.

However, there is not any license fields I can input for your plugin.

Thanks

 

Hello

 Wow. That is that I was talking about. It is the attributes with numbers. - But I meant that the search will work as with a string, no matter what slug the term has.

To  paste  license  key - https://c2n.me/43SC6rb.png -> https://c2n.me/42HBIt7.png

Hi Pablo,

After the last V2.2.9.3 update I added the code you have written but it is not working anymore. The ion slider that has value below 1 $ ( between 0-1) is not working anymore. It shows the values from 0-1 and when you click the left slider( minimum value )  it goes directly to the maximum.  It disregards the price values between 0 and 1.

 

var tax=jQuery(input).data('taxes');
woof_current_values.min_price = ( parseFloat(ui.from, 10)/tax);
woof_current_values.max_price = ( parseFloat(ui.to, 10)/tax);
//woocs adaptation
if (typeof woocs_current_currency !== 'undefined') {
woof_current_values.min_price = woof_current_values.min_price / parseFloat(woocs_current_currency.rate);
woof_current_values.max_price = woof_current_values.max_price / parseFloat(woocs_current_currency.rate);
}

 

This code above will be put in here in front.js

Best Regards

Hello

Please  drop  me  exact  link to the  issue

Hi,

https://valeryaccessory.com/product-category/edging-crochet/

You can see from here..

Thanks

Hello

Please  check  this option - https://share.pluginus.net/image/i20220907075520.png

and  in file - wp-content\plugins\woocommerce-products-filter\views\plugin_options.php - change  this  code - https://share.pluginus.net/image/i20220907075904.png

Thank you so much. It is working now. Then every time I update I update these 2 files:

1-) \wp-content\plugins\woocommerce-products-filter\js\front.js - change  code  - https://c2n.me/49U0eS1.png

2-) wp-content\plugins\woocommerce-products-filter\views\plugin_options.php - change  this  code https://share.pluginus.net/image/i20220907075904.png

Thanks

Hello

Only point : 1