#57838
chrisdavies71
Participant

And finally the ajax.js file:

function ajax_load( query )
{
  jQuery('#productlist').load('../wp-content/plugins/current-rms-for-wordpress-gutenberg/dist/assets/ajax.php?postid=&'+query);
}
ajax_load('query=product_groups');