• Resolved zerutreck

    (@zerutreck)


    Does the api return the vendor’s location? I would like to display only nearby stores in my app.

Viewing 4 replies - 1 through 4 (of 4 total)
  • Thread Starter zerutreck

    (@zerutreck)

    [Vendor by city(location)]

    Plugin Author WC Lovers

    (@wclovers)

    Hello,

    Vendor location data is not present in the api by default
    We have a filter
    apply_filters( "wcfmapi_rest_prepare_store_vendors_objects", $response, $request );
    You can use this filter to add any data as required to the api response.

    Thank You.

    • This reply was modified 4 years, 7 months ago by WC Lovers.
    Thread Starter zerutreck

    (@zerutreck)

    It didn’t work, it broke my code.

    Plugin Author WC Lovers

    (@wclovers)

    Do you have written your code based on this filter?

    Can you please show me screenshot for your code?

    Thank You

Viewing 4 replies - 1 through 4 (of 4 total)
  • The topic ‘Radius API for vendors?’ is closed to new replies.