Prestashop Store Locator Coordinates

May 7, 2013119Alex Simonchik
Prestashop Store Locator Coordinates

Some users encounter the issue with Prestashop 1.5 store locator feature. If a store longitude with 3 digits before the decimal is entered, the algorithm automatically adds an extra digit to the end and the message emerges that there are too many digits in the longitude. A few simple moves will resolve this issue.

For example, a store has the following coordinates:

Lat: 35.75368500
Long: -65.99916400

This combination will work. The following one, however, may fail:

Lat: 39.60621
Long: -152.332071

-152.332071 may not be accepted, although it is a legitimate longitude.
To resolve this issue, change the ‘validate’ ‘size’ parameter in the Store class:


Partner With Us Looking for a partner that will help you to grow your business? We are the right company to develop your webstore. Feel free to get in touch with us. We will be happy to discuss your business opportunities and provide you with a Free Quote. Talk to Igor

2 Comments

Post a new comment

top
BelVG Newsletter
Subscribe to our mailing list and get interesting stuff and updates to your email inbox.
Email *