Skip Navigation

[Resolved] Toolset Maps filter not working on product search

This thread is resolved. Here is a description of the problem and solution.

Problem:

The distance filter is not working on my post view.

Solution:

The distance filter is missing in post view, you can add it back, for example:

https://toolset.com/forums/topic/toolset-maps-filter-not-working-on-product-search/#post-1276259

Relevant Documentation:

https://toolset.com/documentation/user-guides/display-on-google-maps/filtering-and-ordering-map-markers-by-distance/

This support ticket is created 5 years, 7 months ago. There's a good chance that you are reading advice that it now obsolete.

This is the technical support forum for Toolset - a suite of plugins for developing WordPress sites without writing PHP.

Everyone can read this forum, but only Toolset clients can post in it. Toolset support works 6 days per week, 19 hours per day.

Sun Mon Tue Wed Thu Fri Sat
- 9:00 – 13:00 9:00 – 13:00 9:00 – 13:00 9:00 – 13:00 9:00 – 13:00 -
- 14:00 – 18:00 14:00 – 18:00 14:00 – 18:00 14:00 – 18:00 14:00 – 18:00 -

Supporter timezone: Asia/Hong_Kong (GMT+08:00)

This topic contains 4 replies, has 2 voices.

Last updated by puneetS-3 5 years, 7 months ago.

Assisted by: Luo Yang.

Author
Posts
#1275545

I am trying to: I have created a Toolset map filter to search my products on this page 'hidden link', all my products are in and around Noida, Uttar Pradesh, India. I want to enable location based searches for people visiting my website.

Link to a page where the issue can be seen: hidden link

I expected to see: I expected to filter results based on Toolset maps filter

Instead, I got: The filter is not working on my product listings

#1275593
maps-filter1.JPG

Hello,

Thanks for the details, I can log into your website, but I did not see the problem, see screenshot maps-filter1.JPG.

And I have checked the Google map API settings in your website:
Dashboard-> Toolset-> Settings-> Maps
in section "Google Map API key", click button "Check API", I see below error message:
REQUEST_DENIED - The provided API key is expired.

Please follow our document to regenerate the map API key, and test again
https://toolset.com/documentation/user-guides/display-on-google-maps/creating-a-google-maps-api-key/#creating-an-api-key-for-google-maps

#1275603

Hey Luo,

The API issue, I have resolved it. Please log in and check the issue. I am not sure how you are getting that result, but when I am searching in Hong Kong, its still showing me all the listings. See screenshot
hidden link

Thanks

Puneet

#1276259

The distance filter is missing in post view "view-schoolsearch", I have done below modifications here:
hidden link
in section "Query Filter", add a Distance filter:
Show posts within 5km radius of address/coordinates provided using toolset_maps_distance_center URL parameter.

Please test again, check if it is fixed. thanks

#1276341

My issue is resolved now. Thank you!