Support for category markers will be available in the future.
This article describes how to add custom fields to the store locator.
Instead of naming the tab ‘Additional Information’ you can name it ‘Location 2’ or so, and name the other fields address2, city2 and so on.
Thread Starter
duff1
(@duff1)
But does the address will appear on the map if I add it as a custom field or only appear as “more details”?
It appears wherever you add it in the template code.
On line 12 of the code of the above link you see address2, you can add address3, address4 etc.
Thread Starter
duff1
(@duff1)
But the address2 cannot be displayed on the map with a marker?
By default the second address will show up.
You used custom code to change the template? Then you will also need to include the custom value in the info window template. You can do this with this filter.
Thread Starter
duff1
(@duff1)
Do you have a simple code to add multiple location address? I checked your add_custom_meta_data_to_store_locations but I can’t figure out how I can assign multiple address to a store and show it in the results and map.
Thanks!
Thread Starter
duff1
(@duff1)
The actual “address 2” don’t show up on the map.