skttl
3/11/2016 - 12:52 PM

Hide empty baskets in ucommerce backend

Hide empty baskets in ucommerce backend

/*

Go to uCommerce > Orders > Search.

In the console, choose right(search.aspx) as the target, and run the following code.

*/

$("#orderTable tbody tr").each(function() {
 if ($(this).children("td:last-child").text() == "0" || $(this).children("td:last-child").text() == "0,00") {
$(this).hide();
}
});