Multi Vendor Marketplace Plugin | WCFM Marketplace › Forums › WCFM – Ultimate › Disable store location map
- This topic has 5 replies, 3 voices, and was last updated 4 years, 7 months ago by Henriette.
- AuthorPosts
- February 29, 2020 at 12:19 am #109248marcinzywyParticipant
Hello WC Lovers,
I would like to completely disable store location map.
I can see there is a store location map setting in the store setup wizard as well as in vendor dashboard settings tab, so I would like to hide both.
Thank you for your help!
- March 2, 2020 at 1:13 pm #109536Sarmistha ChakrabortyMember
Hello,
Make the “Google Map API Key” blank in admin WCFM store dashboard settings. Please find the attachment.
Thanks.
Attachments:
You must be logged in to view attached files. - March 3, 2020 at 2:04 pm #109705marcinzywyParticipant
Thank you Sarmistha! Your tip is very helpful.
- April 20, 2020 at 3:09 pm #120919HenrietteParticipant
Hello,
I was searching for this too and it works indeed.
But Vendor still has an option in his dashboard “Hide Map from Store”.
How can I remove this?Attachments:
You must be logged in to view attached files.- April 21, 2020 at 8:05 pm #121415Sarmistha ChakrabortyMember
Hi,
To remove “Hide Map from Store” add this code in your theme’s functions.php
add_filter('wcfm_marketplace_settings_fields_visibility', 'wcfm_marketplace_settings_fields_visibility2104', 50, 2 ); function wcfm_marketplace_settings_fields_visibility2104($general_fields,$vendor_id) { unset($general_fields['store_hide_map']); return $general_fields; }
Thanks.
- April 22, 2020 at 10:29 am #121632HenrietteParticipant
That worked.
Thank you very much.
- AuthorPosts
- You must be logged in to reply to this topic.