Problem with default search redious bar

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!

Multi Vendor Marketplace Plugin | WCFM Marketplace Forums WCFM Problem with default search redious bar

Tagged: 

Viewing 1 reply thread
  • Author
    Posts
    • #125448
      justboloindia
      Participant

      Hi
      By default the search redious bar is at 2km. Want to set it till maximum range set on store manager. We are loosing customer due to this reason. How to do that.

    • #125455

      Hello,

      For this you need to adjust “Maximum Radius to Search” (From WCFM-dashboard->Settings->Geo Location)
      And then add below code in your theme’s functions.php

      add_filter('wcfmmp_radius_filter_start_distance',function($start_distance){
      	return 1;
      });

      We have already replied you https://wclovers.com/forums/topic/how-to-change-the-default-search-radius-google-map/ in this thread.

      Thanks.

Viewing 1 reply thread
  • You must be logged in to reply to this topic.