I try to run the script below on Woocommerce checkout page to change shipping methods. The issue is that the Woocommerce checkout review order table use AJAX so my script doesn't work. How can I run my script after AJAX calls ?
var $ = jQuery;
$(document).ready(function () {
if($(".variation-Livraison p:contains(A domicile)")) {
$("#shipping_method").addClass('disable');
}
});
URL of the website https://festichablais.fr/checkout/