WCFM Geolocalization products not listed if out of customer position

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 – Ultimate WCFM Geolocalization products not listed if out of customer position

Viewing 2 reply threads
  • Author
    • #135355

      Hi dear, I’m facing on this kind of problem.
      Product List Radius Search on geolocalization tab filter product dipending on the Maximum Radius to Search value defined.
      But what happen: This filter only show product so far from customer position as per maximum radius to search but if product is out of this radius products are not listed.
      Must be better to display all product in whole country and display first of all products near customer not excluding even product out of that radius.

      Please help me

    • #135356

      In my personal case could be ok maybe by raise until 1000km insted of 500km

    • #135362

      fixed by adding this on function.php of child theme

      add_filter( 'wcfm_max_radius_to_search_options', function( $max_radius ) {
      	$max_radius = array( '10' => '10', '15' => '15', '20' => '20', '50' => '50', '100' => '100', '150' => '150', '200' => '200', '500' => '500', '1500' => '1500' );
      	return $max_radius;
Viewing 2 reply threads
  • You must be logged in to reply to this topic.