Multi-layered sort
-
Hi there-
We are looking to modify the ordering of the stores that are displayed to the user in the following manner.
I have for example two pages with our store locator plugins installed and configured on so you can see what we are trying to accomplish.
First, our public facing currently the workable solution that the customer sees is https://www.funkaway.com/store-locator.
1) The list of stores there is in Alphabetical order and I have not modified this code
2) The listings of stores is over 6K in our system comprised of 44 different categories
3) The listings for this locator are being populated with this shortcode currently [ASL_STORELOCATOR template”1″]
4) Our configuration is set to show the first view “the one before the user uses geo detection or enters an address or zip code to alphabeticalhttps://funkaway.com/store-locator-test/
The goal of this page is to achieve the following
1) I want my Walmart stores to show at the top of the list this is an ID of 123
2) When a user performs a search I still want to show all the listings within 15 miles or whatever they choose from the drop down but we want to elevate the Walmart stores to be at the top of the list. The example I can give is if I do a search for say
60035 and there are the following results at the demo distances.Desired Result
– Walmart Store 1 (6 Miles)
– Walmart Store 2 (8 Miles)
– Walmart Store 3 (10 Miles)
– Ace Hardware (1 mile)
– Jewel (1 mile)
– Camping world ( 2 Miles)
– Ace Hardware (2.5 Miles)
– Jewel Store 2 ( 3 Miles)
– Camping World 2 ( 4 Miles)etc….
The desire is to always have a particular category appended to the top of “featured” without specifically calling them out as featured.
Is there any way to achieve this with the shortcodes I have reviewed the documentation on your website many times but am having a hard time finding out if
A) This is even possible
B) The right shortcode configuration to use.I did try one thing which is was to try and use the shortcode like this
[ASL_STORELOCATOR select_category=”123,155,160,167″ template=”1″]123 is actually our Walmart Category and I thought if I used the above construct it would order the results in the order I have listed the category ID’s by.
Any help on this is appreciated and I can provide a bit more detail if necessary.
The page I need help with: [log in to see the link]
- The topic ‘Multi-layered sort’ is closed to new replies.