Hi Deni,
Sorry, I was looking at the admin demo and thought I need to do some setting.
Thank you for the added feature, it's awesome.
Can you please guide me how I can make changes to achieve these:
1) Limit the search result to 3 nearest shops only.
2) Always use the user's current location.
Thank you in advanced.
regards,
Lee Ka
Hi,
1. You can do this via CSS like this:
.shops-list li:nth-child(n+4) {
display: none;
}
Also, you can suggest this in our User Voice portal to be included as a setting for future releases.
2. Since this is private information and the browsers always ask if you want to provide your location, we can not always use it without the permission of the user.
If you only want to skip the moment when the user needs to click on the "Use My Current Location" link, then you should place this JS code inside any JavaScript file:
$(document).ready(function () {
$('.getUserGeoLocation').click();
});
Hope this helps!