Close

Control Zoom on the AllShops page

illutian
10 years ago
#9665 Quote
Avatar
  • 18
Deni wrote:
Hi, 

I am talking about the latest version of the plugin for v3.60. We have just deployed the fix, so please update the plugin and everything will work fine.


So, there's no fix for 3.5? I doubt we'll be upgrading to Nop 3.6 any time soon.
Deni
10 years ago
#9676 Quote
Avatar
  • Moderator
  • 389
Hi, 

The fix for 3.50 is to find the row:

map.fitBounds(bounds);


and edit it like this:

allShops.length > 1 && map.fitBounds(bounds);


I hope this helped !
Best Regards,
Mladen Staykov
Nop-Templates.com
illutian
10 years ago
#9689 Quote
Avatar
  • 18
Yep, worked like a charm!