How to make a simple store locator like this (3 posts)

  1. DanieleRID.
    Posted 3 years ago #

    I should do a multi store locator plugin for a client site like this:


    but I really don't know where to start :( .can someone help me?Is already a simple plugin like that without google maps?

    Thank you

  2. bcworkz
    Posted 3 years ago #

    The example uses an AJAX drop down list. If your client does not have a lot of stores, it could be a static drop down list. There must be plugins that use the same technique, or if you search the internet, you'll find many code examples.

  3. Ben Huson
    Posted 3 years ago #

    I would create a custom post type for stores, and a custom taxonomy for store locations to which they could be assigned.

    You could then add store locations to your custom taxonomy in a hierarchical format - ie country, with regions underneath that, with cities underneath that.

    Then you could output the taxonomy as either a single menu with indents or use AJAX to just show the toplevel taxonomy terms which would fetch child terms when the menu is changed.

Topic Closed

This topic has been closed to new replies.

About this Topic