• Hi guys,

    Looks like the query is now limited to 10 items. Even when I add limit=”-1″, the maximum number of stores displayed on the map is 10.

    Thanks and keep up the nice work.

Viewing 5 replies - 1 through 5 (of 5 total)
  • Hi, maybe I can help…

    We also use WCFM. To get all of your stores listed on the Store List Page, you need to do a couple of things.

    You need to adjust your shortcode to accomplish this. We use this modified shortcode –

    [wcfm_stores per_page=”40″ has_map=”no” orderby=”alphabetical_asc”]

    Using this we can show 40 stores on the Store List page, suppress the map, and set it to alpha order (A-Z). You can adjust your code as necessary – here is a link to WClovers’s shortcodes – https://docs.wclovers.com/shortcode/ and here https://docs.wclovers.com/store-list/

    Next, your Geolocation settings – Set your radius to the max, and uncheck the box for “enable auto filter” as that will restrict the stores to the map’s radius according to your shopper’s location.

    And lastly, your Google Maps API should include Geolocation, Geocoding and Places to correctly show all your stores and their products on maps.

    I hope this helps.

    Thread Starter malcolmboyd

    (@malcolmboyd)

    Thanks @joyfulmortal

    The wcfm_stores shortcode works fine, its the wcfm_stores_map shortcode for which I face the problem. I really think it’s a bug that appeared in the last release.

    Funnily the per_page parameter is not used in the maps shortcode, but a “limit” parameter that has a default value of 10 than can no longer overriden …

    Thanks anyway, always nice to have friendly help out there ??

    You’re welcome ?? We actually suppress the maps in our marketplace but…

    One more suggestion is to set your map location (in Geo settings) to a broader region than perhaps your market’s address – We use Western Massachusetts rather than just a town. This would give you a broader map area and combined with Places (or geocoding??) in your Google Maps API, might show more store locations.

    Then try:

    [wcfm_stores_map limit=”25″] (or your preferred # of stores)

    Thread Starter malcolmboyd

    (@malcolmboyd)

    Thanks @joyfulmortal, selecting a broader region in Geo settings solved the problem ! Many many thanks, could have spent hours on that !

    @malcolmboyd

    Great! I’m happy I could help. Good luck!

Viewing 5 replies - 1 through 5 (of 5 total)
  • The topic ‘Maps shortcode problem since last update’ is closed to new replies.