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

Meta data filter => Drop down list => different separation than comma ',' possible?

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,

We use the meta data filter a lot and love this plugin for it. The only downside is we can only separate the values in the drown down list by ',' or comma.

We have some values that include comma's and that makes it impossible to use it in the filter. Is it possible to change the ',' to something else, for example ';' / semicolon?

I've added a list of values as image: https://ibb.co/frHmMFx

Looking forward hearing from you,

Hello

You  can  try  in file - \plugins\woocommerce-products-filter\ext\meta_filter\html_types\select\index.php - change  code - https://c2n.me/4buQbIg.png

and  use"|" as  separator

Hi Pablo,

That didn't work. I searched a bit more and came to the file: /wp-content/plugins/woocommerce-products-filter/ext/meta_filter/html_types/select/views/woof.php

https://ibb.co/FBQNgqD

Line 4 changed it to"|" as separator. It seems to work, but do you think this is a good fix? (I  changed \plugins\woocommerce-products-filter\ext\meta_filter\html_types\select\index.php back to original) Or will this cause problems?

Would be nice if this could be fixed in futher update with an adjustable separator via the settings or easier:"|" could be added as separator via preg_split(); function?

EDIT: I also had to change the \plugins\woocommerce-products-filter\ext\meta_filter\html_types\select\index.php line 101 and 72 with"|" instead of","

Hello

Would be nice if this could be fixed in futher update - unfortunately we will never implement this. The problem is that out of more than 100,000 users, only you contacted. And if we change that then a lot of users will have problems.

I'll pass it to the developers, maybe we can change this with hooks