How to empty price of simple and variable product when product changed into out off stock

How to empty price of simple and variable product when product changed into out off stock

tech