Enfold – fix product quantity buttons on refresh

<?php

// Add to your (child) theme's functions.php

add_action( 'wp_head', function() {
?>
<script>
(function($) {
  $(document).on('facetwp-loaded', function() {
    $(document).trigger('updated_cart_totals'); // fix the "+/-" quantity buttons
  });
})(jQuery);
</script>
<?php
}, 100 );