Countdown and expiration
There are two ways to add countdown. First – when you just want to have “sale” countdown. For this, add schedule to Product sell price.
If you can’t use regular schedule for some reason (for example, you use variable products), you can use Countdown shortcode
[wpsm_countdown year=2020 month=10 day=31]
Use shortcode in Custom product areas to generate it before button