• Resolved Julia

    (@benbenn)


    Hello,

    I set my radius maximum to 50 kilometers but it stills to large for my business.
    Is it any way to set it to 2000 METERS maximum ?

    Thanks in advance.

Viewing 3 replies - 1 through 3 (of 3 total)
  • Plugin Author WC Lovers

    (@wclovers)

    HI,

    Please add this code to your site for the purpose-

    add_filter( 'wcfm_max_radius_to_search_options', function( $max_radius ) {
    	$max_radius = array( '1' => '1', '2' => '2' );
    	return $max_radius;
    });

    Add this code to your child theme’s functions.php
    In case you do not have child theme then add code using this plugin –?https://www.ads-software.com/plugins/code-snippets/

    Thank You

    Thread Starter Julia

    (@benbenn)

    Hello,

    Perfect, everything is working well!

    Thanks a lot

    • This reply was modified 4 years, 10 months ago by Julia.
    Plugin Author WC Lovers

    (@wclovers)

    You are always welcome ??

    Let me know if there’s anything else we can help you with.

    Can we ask for a favor? Would you mind taking a few minutes to review our plugin at https://www.ads-software.com/support/plugin/wc-multivendor-marketplace/reviews/?and let others know about your 5 Star experience with WCFM Marketplace. Also, follow us on Twitter https://twitter.com/wcfmmp?for more exciting news, important updates, and irresistible offers.??

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘Customize map’s radius’ is closed to new replies.