There is always a situation when your customers will ask you whether the product sales price has a limited period. This always happen especially for a “Last Minute Sale”, “Christmas Eve Sale” or “Holiday Sale”.
In current WooCommerce product page, you mostly will see the strikethrough for normal price and beside will have the sales price. That’s it.
Normal Sales Price Layout for WooCommerce Product Page
So in this tutorial, i will teach you all a simple way to add “Offer till [date end]” text beside the sales price. You can also change the text without any effort.
Step 1: Open functions.php file in your theme folder, add below code: