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

search for a string that contains an apostrophe

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,

when you search for a word with an apostrophe, the search returns no result (for example: D'ANNUNZIO) 
In Italian the apostrophe is normal.
Why?
Thanks
 

Hello

Please  drop me  exact  link to the  issue

 

link: https://www.gozzini.it/selection/

plugin v.1.3.2.


with D'Annunzio (Italian poet) in the first field (by_text) or in the second field (meta (author)) you find nothing.



with v.1.2.4.1 in the by_text field resolves the apostrophe.
In the field (meta:author) it does not find anything
thanks.

 

Hello

Please  update  the plugin to latest  version

In  file - wp-content\plugins\woocommerce-products-filter\ext\meta_filter\html_types\textinput\index.php - add  code - https://share.pluginus.net/image/i20230228180909.png

$curr_text = htmlspecialchars_decode($curr_text);
$curr_text = str_replace("'","'", $curr_text);

Hi

my woof: 1.3.2. i think it's the last.

On meta fields (second field: e.g. Author: D'Annunzio) it works;  in the by_text field (first field) it doesn't work (e.g. content: dell'amore)

thanks






Hello

Ok!  Try  in  file -  \wp-content\plugins\woocommerce-products-filter\ext\by_text\index.php - change  this line - https://share.pluginus.net/image/i20230301173222.png

$sub_sql[] = '(' . $terms . ' ' . $search_type . '"'.$like . '" )';

 

OK!!!.

Thanks so much.

Will the change be lost in updates?

Hello

This will be fixed in the next version.