I am trying to work if there is a way to integrate location-based filtering into the Magento directory and search pages.
To put this in context, I use the following example: Products have latitude and longitude attributes because they are located throughout the country. What I want customers to be able to do is filter products by location relative to their own location.
I managed to successfully complete a custom search page to achieve a location search, but it lacks all the other filter / search features found in Magento. The ideal scenario is for the location to be a dynamically calculated variable, but I'm not sure how to do this, or even if it is viable in Magento.
Thanks in advance for any suggestions!
source share