ajax response not recieving
As per jQuery documentation, dataType: ‘json’ is supported. That is the thing that is being returned and parsed by jQuery to your success function. There is more information needed to resolve your issue. Does pin_shop.ajax_url properly resolve to //site.com/wp-admin/admin-ajax.php? If not, there’s your first problem. (To check this, console.log(ajax_url); just before your $.ajax call. I … Read more