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

Slider step for text attributes

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 created a product attribute and I am entering numeric values into it. It looks like the slider is interpreting the values of this attribute as text.

Firstly, the step does not work, switching occurs only according to the existing values. If the products have values 1, 5 and 100, I can only set these positions on the slider. Values in between are not available.
Second, the grid is not scaled. For the same values 1, 5 and 10 will correspond to the positions 0%, 50% and 100%.
Third, the list of applied filters lists all the values that are in the range, not the range itself. That is,"1, 5, 100", not"1-100".

Is it possible to make the slider treat these attributes as numbers? I am assuming that I need to use metadata and not attributes. But then I have no idea how to add editing of these values to the admin panel in the same place as the attributes, given that I am using WCMp.

Hello

Attributes (taxonomies) are always a text string. Can't do math on strings

Yes, in this case it is better to use meta data - https://products-filter.com/extencion/woocommerce-filter-by-meta-fields

To add  it  to  products - https://share.pluginus.net/image/i20211123134050.png

Thanks for the tip. I've added custom metadata. It works, but only with ajax. If I disable it or just refresh the page, the filter will not find products.

Hello

Please  drop  me  exact   link to  the  issue  and  wp-admin access - https://share.pluginus.net/image/i20210618130558.png ->https://share.pluginus.net/image/i20210618130637.png

This problem has been miraculously removed. I previously manually added metadata fields to funсtion.php. Now I have used the ACF and the issue has been resolved.

Hello

Ok!  Great!