Dave L Posted July 25, 2011 Share Posted July 25, 2011 Hi all, The Our Stores module is great especially if you have multiple stores, but for a single store it has it's limitations. As my client has just the one store, customers on his website any further away than 100km are unable to use the location search function, which is restricting anyone outside of that area from finding the store. How could this value be changed while still working. Better still, could the Radius feature be removed or at least set to a very large number and then hidden. I am sure this would help many single store website owners. Thanks. Link to comment Share on other sites More sharing options...
Dave L Posted August 2, 2011 Author Share Posted August 2, 2011 This was easier to sort that I thought. Themes/stores.tpl <option value="15">15</option> <option value="25">25</option> <option value="50">50</option> <option value="100">100</option> <option value="300">300</option> I just added the extra option (300)at line 86 and it works just fine. 1 Link to comment Share on other sites More sharing options...
wuaji Posted April 27, 2012 Share Posted April 27, 2012 Thanks for your info!! I was looking for that. Here I repost words in spanish for google searchers Localizacion de tiendas de prestashop, como cambiar el radio en Km 15, 30, 50, 100 Link to comment Share on other sites More sharing options...
i-PS Posted January 27, 2013 Share Posted January 27, 2013 Hi! I have also just one shop, but I would prefer to remove the search box, radius... altogether. If we have just one shop it doesn't make sense to me to be able to enter an address. But I'd like to keep this module to show the map and shop's address details. Does anybody know how to do this? Thank you very much, Unai Link to comment Share on other sites More sharing options...
Rhapsody Posted January 28, 2013 Share Posted January 28, 2013 I modified store.tpl so that it eliminated the radius selection and forced the radius value to 5000. See the modified code annotated below. <p> <label for="addressInput">{l s='Your location:'}</label> <input type="text" name="location" id="addressInput" value="{l s='Address, zip/postal code, city, state or country'}" onclick="this.value='';" /> </p> {* forced a wide radius for search and eliminated dropdown *} {* <p class="textbox">*} <input type="hidden" name="radius" id="radiusSelect" value="5000" /> {* </p> *} {* * * Old selection of radius commented out <p> <label for="radiusSelect">{l s='Radius:'} </label> <select name="radius" id="radiusSelect"> <option value="15">15</option> <option value="25">25</option> <option value="50">50</option> <option value="100">100</option> </select> {$distance_unit} <img src="{$img_ps_dir}loader.gif" class="middle" alt="" id="stores_loader" /> </p> * * * end of commenting out selection of radius * * *} <p class="clearfix"> <input type="button" class="button" onclick="searchLocations();" value="{l s='Search'}" style="display: inline;" /> </p> Link to comment Share on other sites More sharing options...
i-PS Posted January 30, 2013 Share Posted January 30, 2013 Thank you very much Rhapsody, but I don't want the search box either. I just want a Google map and the address details. I think maybe the best option for a single physical store shop is just to remove the module and create a simple contact page. I've just started creating the shop, but I see that I'll have to learn html, css, tpl, php... I thought it would be easier, but every little thing I think about changing seems very difficult without all that knowledge :-( Anyway, thanks again for your answer. 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