Created
March 11, 2016 12:52
-
-
Save skttl/c2cdd2837d9269e25bfa to your computer and use it in GitHub Desktop.
Hide empty baskets in ucommerce backend
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/* | |
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