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

Only search on first letter

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, I want to be able to search ONLY on the first letter. So if I write"A" only products that starts with A appear. How do I do it?

Another problem is that some products have a double name like"Boat Amanda" and because"Amanda" starts with A, it shows this result. But"Boat Amanda" should ONLY be shown if I search and write on"B". how do I do that?

Hello

Unfortunately the plugin does not have this feature.

You need code customization

Ah ok, how can I get this customization? I don't know where to look for it.

Hello

Try  to  add  code  in  functions.php:

add_filter('woof_text_search_like_option', function() {
return TRUE;
});

and  in  file - \wp-content\plugins\woocommerce-products-filter\ext\by_text\index.php delete  this  code - https://c2n.me/4asWUnw.png - should  be - https://c2n.me/4asWUYe.png

Thanks a lot but it seems like it did not change? See attached:

Hello

Did  you  add  this  code - https://c2n.me/4atqUEa.png ?

Drop me  exact  link to the  issue  please

Yes I did. In functions.php that is in the WP-Includes folder. That's the place, right?

The issue is in the menu: schultz.engedal.it and also here: https://schultz.engedal.it/shop/

Hello

 That's the place, right? - No! in  the  current theme  folder

Ok, I put in in both the child theme and the themes functions.php folder. Which one should it be?

But I can not see a difference when I search on the letter"A" for example. Can you?

Hello

Which one should it be? - in the child theme

It looks like we did not understand each other.

I thought you meant text search - "So if I write"A" only products that starts with A appear."

https://c2n.me/4avkPHx.jpg - but this is a taxonomy filter.

I put it in the Child theme.

What do you mean exactly? I am talking about how to search through your plugin? I have to search in categories and tags of course.

Let me know what else I can do. Sorry if my english is not clear, it's not my first language.

Hello

What do you mean exactly?  - You wrote it -  "So if I write"A" only products that starts with A appear."  - In this case, you need a text search( search by product title )! And for this I gave you the code

You gave me this screenshot - https://c2n.me/4awfuiH.jpg - But this is a taxonomy filter that has nothing to do with the product title. And there is no such solution for this type of filter

But I put in the code as you described. And it does not work. Like I showed in the two screenshots. So what should I then do to make the search work properly?

And what is it that your code should do?

Hello

please  firstly  watch a video - https://products-filter.com/video-tutorials/#video_beGT6p_look

You don't use text search. You don't have a text filter by title. I gave you the code to filter by text -  https://c2n.me/4axbG5C.png

Like I showed in the two screenshots. - These are filters by taxonomy(category,Tag,attributes)  and it has nothing to do with the title of the products - https://c2n.me/4axbXY1.png

it is impossible to filter by category to search for product title.

 

Ok, so you say that I can not search for a title with your plugin? Just to be sure.

You send me 3 videoes - pretty long :) Let me know if there is something specific I should watch and which one.

so you say that I can not search for a title with your plugin? - No! You can filter by title, but for this you should use the appropriate filter

Please  watch  this  video - https://www.youtube.com/watch?v=beGT6p_look

Ok, I think I did what you mean now. There is a field for text search in the top right corner: https://schultz.engedal.it -  But none of the tags or categories shows up. I don't understand what else to do from here to make them searchable?

You can get login if it's easier?

 

Hello

But none of the tags or categories shows up. - ???  There are no categories or tags in text search

I understand.

But do you understand my problem? It seems like you don't want to help me? Your answers are hard to understand. As I wrote you can get access if it's easier?

I want to search on the products by their titles first letters.

Hello

I do not understand you. it will be much easier if you try to watch the video - https://www.youtube.com/watch?v=beGT6p_look

I want to search on the products by their titles first letters. - The plugin does not have this feature. You need customization of the code, I described how to do it earlier. If you have no experience in programming, you should hire a developer. And  please  use  the  text  search(an  extension) but this filter has nothing to do with categories and tags

 I wrote you can get access if it's easier? - plugin setup and customization is not included in support