How to make notification please advice me.

I want to make notification to user when item in database decrease to limit value.
Anyone can advice me.

Shiro, could you elaborate on that? To which user? And when?

Just when item value decreased to limit such as limit is 5 when item decreased to 5 it will notification to any user ID have permission or send notification to email.
My site used for record income outcome resources.

Guess you are doing a “stock re-order level”.I do not know how you have set up your DB, i.q. is it normalized (in 1 collection you define stock and re-order level, in another you put your sales, and you calculate current stock by summing all sales, subtract it from stock) or denormalized (with every sale you adjust current stock in first collection). Mind you that for the last to work flawlessly, you need an ACID-compliant DB, which is not what Wix is offering.
If you do not care, you just write every sake to a collection, check/calculate stock on the onAfterSave and on screen you .show() a hidden box/textbox that says “Problem: current stock is below [re-orderlevel], please order more goodies.” or whatever.

so I was doing a notification code but I found it out but it was incorrect some how .alert { is incorrect

.alert {
padding: 20pxround-color: #f44336;
color: white;
}

.closebtn {
margin-left: 15px;
color: white;
font-weight: bold;
float: right;
font-size: 22px;
transition: 0.3s;
}

.closebtn:hover {
color: black;
}

Alert Messages

Click on the "x" symbol to close the alert message.

× Danger! This is umm Web site.