• Is there any way to expand the functionality of the statistics plug-in, in a similar way to how the functions.php file allows for expanded functionality on the locator plug-in itself?

    I would like to store the relevant AJAX data with the ZIP code searches so that each data point has it’s own column in the database (radius, custom meta info, etc.)—as well as the returned results (JSON response data).

    That way it can be exported and sorted for reporting purposes.

    Thanks in advance.

    The page I need help with: [log in to see the link]

Viewing 1 replies (of 1 total)
  • Plugin Author Tijmen Smit

    (@tijmensmit)

    This is untested, but if you look at the code in the wpsl_create_statistics_tables function, then you can copy that and modify it to your needs to add additional fields, but this code should only run once from the functions.php to alter the table structure.

    In the wpsl-statistics-function.php you see the wpsl_store_search action, you will have to add a custom one to add the radius and custom meta info to the new database fields.

    Also, the forum here is only for support for the WP Store Locator plugin itself. If in the future you have questions about the add-ons, then please open an ticket here.

Viewing 1 replies (of 1 total)
  • The topic ‘Expanded Statistics Functionality’ is closed to new replies.