Woocommerce Variable Product – Show & # 39; Sale! & # 39; lightning

I try to display the Woocommerce sales flash when a variable product is for sale.

It seems that Woocommerce did this on purpose, because if, for example, a variable product has small, medium and large sizes and only one is for sale, a flash of sales is displayed on the archive page or on a single product page, which may cause confusion for the user when he selects a variant just to see that it is not for sale.

I am working on a project where the customer wants the sales flash to be displayed, even if a variant is for sale. I feel like I'm missing something here …

Any help is appreciated