create var for total sales alert

replace total sales alert with new variable totalAlert