Viewing 5 replies - 1 through 5 (of 5 total)
  • Plugin Author Tijmen Smit

    (@tijmensmit)

    You want a search field on page A but then show the results on page B?

    You would have to modify the code for that, you can read more about it here.

    Thread Starter yamizer

    (@yamizer)

    thnx, exactly the thing i tend to do; but i don’t get the idea from there,
    i put that code in the header, and i put the input form code into a widget, but doesn’t function.
    can you give little of explanation? and what did you mean by search field that redirects to local store, how to do that?

    and thank you

    Thread Starter yamizer

    (@yamizer)

    Tijmen Smit please can you help me?

    Plugin Author Tijmen Smit

    (@tijmensmit)

    Don’t beg for help, it’s a free plugin with free support!

    You will need to have basic knowledge of php/js if you want to modify the code to make this work.

    I really can’t write out a full step by step guide with code examples, that’s way beyond the scope of the free support. I can make a shorter one though, but you will need to do your own homework a little bit.

    – add an input field wrapped in a form tag in the sidebar.php or wherever you want to show the input field.
    – Set the form action to the page that contains the store locator page. So if you search for “new york” and then submit the form you should see the city you search for in the url you submitted the form to.
    – Grab the searched city from the url with js ( code example on the other page I linked to ), and copy that value to the input field with again triggers a mouse click ( jquery click event is what you are looking for ). This will make the store locator use the value provided from the other search field.

    Otherwise you will have to wait until the premium version is ready, which will contain a store search widget.

    Thread Starter yamizer

    (@yamizer)

    i followed those instructions in that topic, i put that js code in the header, and i put the form in sidebar i put the corrected code that eddt member posted because i have same problem of ‘null’ with the first code. it works but when i submit it redirects to destinated page, it shows no results, it says no results found, and keeps reloading none stop.
    Note: im testing the plugin at localhost.
    what do you think will be the problem?

Viewing 5 replies - 1 through 5 (of 5 total)
  • The topic ‘embed the store locator, is it possible?’ is closed to new replies.