athens Posted January 25, 2015 Share Posted January 25, 2015 (edited) good morning, i need to remove some part form google map where my store is located. As you see in the screenshot, it is only ONE shop, so it is more than useless to have this in the black square... How can i totally remove all this from "Enter a location to .... search"? Edited January 25, 2015 by athens (see edit history) Link to comment Share on other sites More sharing options...
mikewra Posted January 25, 2015 Share Posted January 25, 2015 Try back office -> preferences -> geolocation -> Geolocation by IP address -> select No Link to comment Share on other sites More sharing options...
athens Posted January 25, 2015 Author Share Posted January 25, 2015 thanks mikewra it is already NO Link to comment Share on other sites More sharing options...
vekia Posted January 25, 2015 Share Posted January 25, 2015 preferences > store contacts turn on option "simplified store locator" Link to comment Share on other sites More sharing options...
athens Posted January 25, 2015 Author Share Posted January 25, 2015 (edited) well if you turn on this option, Enter a location... goes out, but the map also! No enter a location - no google map! So the point is that i want the map (i think that is obvious) but no the rest cause i have only ONE shop!!! Is it a joke if everybody knows that you have one shop and you have a field like this? "in order to find the nearest stores." Edited January 25, 2015 by athens (see edit history) Link to comment Share on other sites More sharing options...
vekia Posted January 25, 2015 Share Posted January 25, 2015 ok i get it now in this case you have to edit theme file: stores.tpl remove code <p class="store-title"> <strong class="dark"> {l s='Enter a location (e.g. zip/postal code, address, city or country) in order to find the nearest stores.'} </strong> </p> <div class="store-content"> <div class="address-input"> <label for="addressInput">{l s='Your location:'}</label> <input class="form-control grey" type="text" name="location" id="addressInput" value="{l s='Address, zip / postal code, city, state or country'}" /> </div> <div class="radius-input"> <label for="radiusSelect">{l s='Radius:'}</label> <select name="radius" id="radiusSelect" class="form-control"> <option value="15">15</option> <option value="25">25</option> <option value="50">50</option> <option value="100">100</option> </select> <img src="{$img_ps_dir}loader.gif" class="middle" alt="" id="stores_loader" /> </div> <div> <button name="search_locations" class="button btn btn-default button-small"> <span> {l s='Search'}<i class="icon-chevron-right right"></i> </span> </button> </div> </div> <div class="store-content-select selector3"> <select id="locationSelect" class="form-control"> <option>-</option> </select> </div> Link to comment Share on other sites More sharing options...
athens Posted January 26, 2015 Author Share Posted January 26, 2015 vekia thanks for the modification, i remove the code, and its true that all this uselless stuff is gone But its gone also the shop from the map, and all the info that has the page. This solution i think it is worst than the other Now i just have a simple map (centralized in my address) without any sign of my shop. So i believe that is better to have some info than nothing. One question, is it serious or not, to be an option like this in next prestashop version? What about small e-shops that have one physical sale point and nothing more? Link to comment Share on other sites More sharing options...
vekia Posted January 26, 2015 Share Posted January 26, 2015 hello any chance to see it live, i mean, page with modifications that you applied? Link to comment Share on other sites More sharing options...
athens Posted January 26, 2015 Author Share Posted January 26, 2015 you mean to check out the BO? Link to comment Share on other sites More sharing options...
marckpy Posted March 19, 2016 Share Posted March 19, 2016 vekia thanks for the modification, i remove the code, and its true that all this uselless stuff is gone But its gone also the shop from the map, and all the info that has the page. This solution i think it is worst than the other Now i just have a simple map (centralized in my address) without any sign of my shop. So i believe that is better to have some info than nothing. One question, is it serious or not, to be an option like this in next prestashop version? What about small e-shops that have one physical sale point and nothing more? Leave like this and you will have the map with the "prestashop icon" as marker. Now i'm searching how to change that marker! <p class="store-title"> </p> <div class="store-content"> <div class="radius-input"> <img src="{$img_ps_dir}loader.gif" class="middle" alt="" id="stores_loader" /> </div> <div> </div> </div> <div class="store-content-select selector3"> <select id="locationSelect" class="form-control"> <option>-</option> </select> </div> <div class="table-responsive"> <table id="stores-table" class="table table-bordered"> <tbody> </tbody> </table> </div> Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now