Skip Navigation

[Gelöst] Reload the loop manually

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

Heute stehen keine Supporter zur Arbeit im Werkzeugsatz-Forum zur Verfügung. Sie können gern Tickets erstellen, die wir bearbeiten werden, sobald wir online sind. Vielen Dank für Ihr Verständnis.

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)

Dieses Thema enthält 2 Antworten, hat 2 Stimmen.

Zuletzt aktualisiert von richardB-14 vor 5 Jahren, 3 Monaten.

Assistiert von: Shane.

Author
Artikel
#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:

versteckter Link

What is the link to your site?
versteckter Link
Password: Start123

#1323121

Shane
Supporter

Sprachen: Englisch (English )

Zeitzone: 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