jQuery(window).on("updated_wc_div",function(){(jQuery(".fusion-woo-cart_table .cart_item").length?"0":"1")!==fusionCartTable.emptyCart&&window.location.reload()}),jQuery("body").on("click",".fusion-woo-cart_table .product-remove a",function(){var o=2>jQuery(".fusion-woo-cart_table .cart_item").length?"1":"0",t=window.location.href;o!==fusionCartTable.emptyCart&&(-1===t.indexOf("?")?window.location.href=t+"?empty_cart=1":window.location.href=t+"&empty_cart=1")});