Skip Navigation

[Resolved] Reload the loop manually

This support ticket is created 5 years, 3 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.

Our next available supporter will start replying to tickets in about 0.30 hours from now. Thank you for your understanding.

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

Supporter timezone: America/Jamaica (GMT-05:00)

Tagged: 

This topic contains 2 replies, has 2 voices.

Last updated by richardB-14 5 years, 3 months ago.

Assisted by: Shane.

Author
Posts
#1322923
question.jpg
example_booking.jpg

Tell us what you are trying to do?
I'm trying to manually reload only the loop of my products, but not the whole page (just like an ajax function) based on some parameters.

Is there any documentation that you are following?
Unfortunately I couldn't find any.

Is there a similar example that we can see?
In the website: booking.com, when the user change the viweable region on the map, the list of hotels will be automatically updated, without the whole page being completely reload. The example is in the following link:

hidden link

What is the link to your site?
hidden link
Password: Start123

#1323121

Shane
Supporter

Languages: English (English )

Timezone: America/Jamaica (GMT-05:00)

Hi Richard,

Thank you for getting in touch.

I took a look at this issue for you and this one would require quite some amount of custom code to achieve. Unfortunately such custom code is out of the scope of our support forum.

This is because views is not meant to function for your exact scenario. The view results are updated based on the filtered value and the map is just used to display the location of those values.

There is a distance filter for views that you can use so that users can filter for an area within a certain distance of their location.

However if you still wish to achieve your goal I would recommend contacting one of the contractors that are registered with our site for the best advise on how to achieve this.
https://toolset.com/contractors/

Thanks,
Shane

#1323793

Yes, I assumed myself as well that this function needs custom code.

Thank you for your help anyway Shane.
Richard