I have a custom button on my checkout page, on click I\'m adding a product to cart via AJAX.
JS:
$(\'#add_domain_product\').on(\'click\', function() {
In Checkout page:
jQuery(document.body).trigger("update_checkout")
In Cart page:
jQuery(document.body).trigger("wc_update_cart");