Woocommerce sale schedule does not work – sale does not end at correct time

View QuestionsCategory: QuestionsWoocommerce sale schedule does not work – sale does not end at correct time
admin Staff asked 4 years ago
1 Answers
admin Staff answered 4 years ago

This is a cron issue. 

  1. Install a plugin called “WP Control” that inspects and manages wp cron actions
  2. Load up schedule actions
  3. See what time woocommerce wc_scheduled_sales action loads – likely it is not done at midnight
  4. Fix the time to midnight. If you want to be safe, can change it to hourly, which is not necessary

What happens is when woocommerce was first installed it uses the website’s original time zone. Even if timezone is changed after, this cron’s time will not be updated. So it may not end up at correct time (midnight).
A manual adjustment will fix this.