Skip to content

Instantly share code, notes, and snippets.

@skttl
Created March 11, 2016 12:52
Show Gist options
  • Save skttl/c2cdd2837d9269e25bfa to your computer and use it in GitHub Desktop.
Save skttl/c2cdd2837d9269e25bfa to your computer and use it in GitHub Desktop.
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();
}
});
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment