Disable store location map

We're shifting our Forum based support to a more dedicated support system!

We'll be closing our Forum support from 10th June, 2020 and move to Email Support assistance.

  • If you are a WCFM premium add-ons user, contact us- here
  • Want to know more before buying our add-ons? Send Pre sale queries- here
  • If you are a WCFM free user, please open a support ticket at WordPress.org
  • For WCFM App related queries, reach us- here
From now the forum will be read-only!

Viewing 4 reply threads
  • Author
    Posts
    • #109248
      marcinzywy
      Participant

      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!

    • #109536

      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.
    • #109705
      marcinzywy
      Participant

      Thank you Sarmistha! Your tip is very helpful.

    • #120919
      Henriette
      Participant

      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.
      • #121415

        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.

    • #121632
      Henriette
      Participant

      That worked.
      Thank you very much.

Viewing 4 reply threads
  • You must be logged in to reply to this topic.