Viewing 5 posts - 1 through 5 (of 5 total)
  • Author
    Posts
  • #45100
    Wolfram
    Participant

    Hi, we have the Experience and Power plugin active – so, if we have entries/locations marked as featured, the map displays them all, no matter what radius search a user enters – this makes the whole thing a little “crowded” if you have a lot of featured entries – i.e. if someone searches within radius of 100km around his city, the map shows all featured entries, disregarding the initial user radius – because entries are distributed all over Germany.

    Is it possible to ignore display of all featured entries on the map? They are displayed in the results anyways.

    And another thing:
    Is it possible to link directly to store page when clicking on a result (not jump to map) – if you have a long list you click on a result and see nothing happen since the map is at the very top…. would be great to be able to link to store page with click on result.

    Thanks!

    #45120
    Cici
    Keymaster

    Hi Wolfram , We may have to divide the question on two posts, sorry.

     

    You can change the ALWAYS show featured under Experience, but then select ONLY show if in radius and adjust radius default to a lower number should do the trick.

    https://docs.storelocatorplus.com/blog/featuring-locations-top-of-results-and-highlighting/

     

    as far as Pages…see the docs for Pages I do not use Pages so may not be the best person to answer the question. I am pretty sure that  can be done with your page template and short codes.

    https://docs.storelocatorplus.com/blog/generating-store-pages/

    If you still have a question after researching the docs site about Store Pages could you post it as separate post?  thanks

     

    #45124
    Wolfram
    Participant

    Hi Cici,

    we have to keep setting “”Always show” for featured entries – I set the initial search radius to 200 but this doesn’t seem to have an effect – or only if I have fetured posts set on “Only show when in radius”….? Is there a workaround……? 🙂

    As for the other question: This might be a question where to change/edit the link that the base plugin uses to link to bubbles – then I could change it to link to store pages (IF I can find out the general shortcode/term to link to store pages….)

    Thanks.

    #45136
    Wolfram
    Participant

    For the 2nd part as what happens when an entry is clicked…. I found this in file

    plugins/store-locator-le/js/slp.js :

    // Whenever the location result entry is <clicked> do this…
    //
    jQuery( ‘#slp_results_wrapper_’ + markerListNatural[markerNumber].id ).on(
    ‘click’ ,
    null,
    { ‘info’ :markerListNatural[markerNumber], ‘marker’ :this.markers[markerNumber] } ,
    _this.handle_location_result_click
    );

    So…. how do I change this to open the store page right away / link to store page?

    #45170
    Wolfram
    Participant

     

    I just found a solution!

     

    In Experience -> Results -> Appearance

     

    wrap the whole div id=”slp_results_[slp_location id]” …..

     

    with a href=”[slp_location sl_pages_url]”

     

    and a closing tag  at the very end of everything – this makes the clicks on the results show up on the map but then automatically link to the store page of the result. Hope this helps someone

     

Viewing 5 posts - 1 through 5 (of 5 total)
  • The topic ‘Featured entries on map’ is closed to new replies.