Forum Replies Created
-
AuthorPosts
-
jay5Participant
No worries Cici,
It can be hard to convey everything in a few sentences, especially when I wasn’t sure on the exact terms. 🙂
As for the site, thank you, it is coming along. We still quite a bit of work to do but we are getting closer. The dealer locator was something I was dreading but this plugin saved us a ton of time, especially with all the add-ons.
And thanks for the info on the Slack channel, I will send over an email today.
Cheers,
Jayjay5ParticipantThanks for the info Cici,
I know you can’t embed WP widgets in non WP sites which is why I was asking about some sort of HTML snippet I could add to my other website.
The URL parameters are actually exactly what I was looking for, just couldn’t find this info through docs.storelocatorplus.com. The links for all the Premier plugins just link back to the same page.
I just had to enable “Allow Address In URL” under General > User Interface then I created a simple HTML form to append the address parameter to the current dealer locator URL. Below is how it all works.
Go to http://www.kuat.store and scroll to the footer of the page and it is the field called “DEALER LOCATOR”. Just input an address or zip code and press GO. This submits the value of the input to our dealer locator page on WP with the address appended to the URL and shows the locations in that area.
Here is the code for the form in case anyone else needs it.
<form action=”Your_WP_SLP_Dealer_Locator_URL_Page” method=”get”>
<input type=”text” name=”address” placeholder=”DEALER LOCATOR”>
<input type=”submit” value=”Submit”>
</form>jay5ParticipantHey Cici,
We are using the Salient theme. (https://themeforest.net/item/salient-responsive-multipurpose-theme/4363266)
I was able to get it working properly in our footer by using widgets (http://www.kuat.work/), and should be able to widgetize for our product pages but unfortunately our footer on the support forms and shop pages (http://www.kuat.store/) are not built in WordPress, they are built in our CRM/Helpdesk software to allow direct integration.
Is it possible to submit a URL to our dealer locator page with URL parameters to get the locations to show? For instance if we have a basic HTML form that submits to our dealer locator URL with the zip code and radius as a parameter, would this show the locations correctly?
jay5ParticipantI also have another question about the SLP Search Form widget but wasn’t sure if you wanted me to make another post or not so I added it here. If I need to start another one, just let me know.
Is there anyway to use the SLP Search Form widget inside custom HTML? I have added this widget to our footer but since it is it’s own widget, it is outside the rest of the elements. I would love to be able to add this under the dealer locator section, as well as to our product pages.
jay5ParticipantThanks for the info Lance,
I was able to get it working by updating the results layout as you mentioned. I didn’t realize that was where the HTML was coming from but it made it super easy.
1.) Just to note on this, unfortunately adding the FA icon classes to the item through the results layout adds the icon to all the results instead of just the featured item. Using the content property you can call specific classes, in this case “div.featured span.location_name:after”, to add the icon where it needs to be without affecting the other results. I just added the standard “fa” class to all the results and added the icon directly to the featured item through CSS.
2.) Our current theme does support FA icons throughout it so they are being called already on each page.
Thanks again for the info as I just installed the plugin yesterday so I still trying to figure everything out.
jay5ParticipantHey Cici,
Thanks for the reply.
I am trying to add a FA icon after the location name for featured locations but since there is no “fa” class on the span.location_name, the icon just shows up as a box.
And sorry for not including any more info but here it is now. 🙂
SLP URL: http://kuat.space/dealers/dealer-locator/
Search Options: 65804 within 5 milesYou will see that Queen City Cycles is marked as a featured location with the box icon showing. I have also attached a screenshot showing both with and without the “fa” class added to the location_name.
Attachments:
You must be logged in to view attached files. -
AuthorPosts