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

Help with search on different ACF fields

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.
12

Hi !

Edit : I bought your product but I couldn't see the"Plugin code purchase" field on this form... I can give you if you need to.

I need help with your plugin : I need to create a search engine on products. I already created a text field searching on both preformated WooCommerce product fields Title and Description, along with ACF custom fields ("objet","observation","nature_mission"). This works fine.

My products also have other ACF fields such as"Sous-série" (a number from 0 to 9),"Série" (a text field from A to Z) and"Subdivision" (a number from 0 to 9). I want to add drop-downs on these 3 fields so users can search products with these information.

I went to the"Meta data" panel in the backoffice and created 3 drop-down menus, using their slug in ACF :"sous-serie","serie" and"subdivision". I also selected"Dynamic recount" in the general settings of of Products filter.
I then added those fields using the filter form in the Front-end.

My issues :

  • The value"0" doesn't show on the"Serie" and"Subdivision" drop-downs options
  • When I select one value in one drop-down (for instance :"A" as"Série"),  the correct number of results show ("21"), but all products appear in the results list... The correct number of products also appear next to each value in the drop-down menus.

Can you help me ?

Stéphane

Hello

To get  license  key - https://codecanyon.net/downloads -> https://c2n.me/49ZXJv0.png

Please paste your license key here - https://share.pluginus.net/image/i20230222134241.png -> https://share.pluginus.net/image/i20230222134511.png and  wp-admin access - https://share.pluginus.net/image/i20230222134615.png

 

Hello,

I just gave the infos in the"Private data" section, as you told me.

Hello

Unfortunately, you have not added your login and password.

Hello,

You're right, sorry : I just added them.

It seems the current template does not hear search requests. Please  read  this - https://products-filter.com/make-page-builders-and-custom-template-filterable

The value"0" doesn't show on the"Serie" and"Subdivision" drop-downs options  - Please  add  ftp access - https://share.pluginus.net/image/i20230222134241.png -> https://share.pluginus.net/image/i20230222134615.png

1st issue : It's working ! Only problem is with the pagination : it has disappeared from the page at the bottom of the results list (it showed before I added the code to functions.php).

2nd issue : I need to specify your IP to grant you access to our server.

If you can't, just tell me what changes should be made to which files and I'll do it.

Hello !

In addition to my latest reply : With my customed template, pagination doesn't appear at all (even in the code). If I deactivate my template and switch back to my theme's default archive-product.php template, I noticed that the pagination has been replaced by a"Loading" animation that keeps on running forever without showing anything.

I went in"Products Filter"/"Advanced"/"Options" and specified 20 in"Products per page", but it changed nothing : pagination still doesn't show on the page. Maybe we have to change the functions.php code you gave me ?...

For the 2nd issue (value"0" in drop-down menus), as I said, I need your IP to grant you access, or you can give me the files to modify if you prefer.

Hello

I did  a test page - http://your_site.com/test-woof/  - I disabled this third party code  -  https://share.pluginus.net/image/i20250403113435.png -   Pagination works well

Try  in  file  woocommerce-products-filter\ext\meta_filter\html_types\select\views\woof.php - delete/comment this code - https://share.pluginus.net/image/i20250403114042.png

Hi,

I commented the bit of code you specified, but it doesn't work : pagination still does not appear.

Example : http://archivesfranciscaines.fr.aditelsoft.com/catalogues/req1/name-japon/
A search on text"japon" returns 43 results.
20 are shown on the 1st page results.
There should be 3 pages shown below the list of results : none appear...

Just a hint : maybe I should add a shortcode to show the pagination on my custom template ?

Hello

I commented the bit of code you specified, but it doesn't work : pagination still does not appear.  - This is for displaying meta field with zero

The pagination issue is related to the current template. To  test  it - https://share.pluginus.net/video/v20250404100955.mp4

 

Hello,

OK, if I need to work only with the page"test-woof" you created, with the correct pagination, I need to make changes to the presentation :

  • How do I add a title row before the results ("Série" |"Document" | Empty) ?
  • I need to follow a strict rule for the order of the documents, both before and after research. This order is"sous-serie" (a number) /"serie" (a letter) /"subdivision" (a number). How do I specify this on the page test-woof ?

Thanks for your help.

I managed how to do the first part (title row on top of the results).

I just need you to tell me how to force the order of the results on page test-woof (both when we show it at first - with no particular search - and after we make a search).

please  watch  these videos - https://products-filter.com/video#zkyT-UPh5ps  and https://products-filter.com/video#dqGQgzcb5yw

 

OK, I watched all the videos in the page you gave me : I learned many things (thanks for that), but I did not see where I could set the order of the results.

For the record, I need to show the results in this order : 'sous-serie' (ACF numeric field), then 'serie' (ACF text field), then 'subdivision' (ACF numeric field). Is this possible with your plugin ?

Hello !

I found another way to get the result I wanted : I used the ACF fields to create the products' categories when importing the products via WP All Import. Then, I called in the products' categories in your plugin instead of the ACF fields : it works fine.

Thanks for the help.

Hello

To change the order of filters, simply drag the filter elements with the mouse on the settings page (tab structure).

For sorting products - our plugin does not affect the sorting of products

Hello

I have another request, for the same site : I show the products' categories in a drop-down menu, it's working fine, exactly as I want it. I don't want anything to change in it.

My issue : I had to create a new category named"Une". I need this category to show some products elsewhere in the site.

Now this category is showing in the drop-down menu with all others, and I don't want to : what can I do ?

Thanks for your help.

Hello

You can hide it with CSS.

Please drop me exact link to the issue

Hi,

You can ignore my request : I used a custom JS to apply a"display:none" CSS, it works fine.

Thanks.

12