Sale countdown timer ending a day early — date interpretation mismatch with WooCommerce

This topic has 4 replies, 2 voices, and was last updated 1 week, 1 day ago ago by Jack Richardson

  • Avatar: Allan Morrow
    Allan Morrow
    Participant
    April 21, 2026 at 11:10

    Hi there,

    I’m using the XStore sale countdown timer on my product pages, set to “Single” mode in the XStore Options. It pulls the end date from WooCommerce’s native sale price dates, which is great.

    The issue is that the countdown timer seems to count down to the start of the end date (00:00) rather than the end of it (23:59). But WooCommerce keeps the sale active until the end of that day.

    So for example, if I set a sale end date of April 22nd:

    • The countdown timer reaches zero and disappears at midnight going into April 22nd
    • But the sale price is still active all day on April 22nd because WooCommerce runs the sale until 23:59 on that date
    • So for the entire last day, the product shows the sale price but with no countdown timer

    The countdown should be pointing to the end of the sale end date (23:59) to match how WooCommerce handles it, so the timer is visible for the full duration of the sale.

    Is this a known issue, or is there a setting I’m missing?

    Thanks

    Allan
    Allan Morrow Studios

    3 Answers
    Avatar: Jack Richardson
    Jack Richardson
    Support staff
    April 21, 2026 at 15:49

    Hello @Allan Morrow,

    We have not received similar requests before, so we kindly ask you to provide additional details, including screenshots or a video. Please also share temporary wp-admin and FTP access in the private content section.

    Best regards,
    Jack Richardson
    The 8Theme’s Team

    Avatar: Allan Morrow
    Allan Morrow
    Participant
    April 22, 2026 at 09:34

    Hi, yes, I have added a link to video in private showing the issue.

    Content is visible for topic creator and
    support staff only.
    Avatar: Jack Richardson
    Jack Richardson
    Support staff
    April 22, 2026 at 12:45

    Hello @Allan Morrow,

    Could you please check it now?
    We have uploaded the improvements and tested them on one of your products:
    Backend: https://prnt.sc/FGyOJbqiGp16
    Frontend: https://prnt.sc/4cc1ZweEkhZW

    If the solution works well for you, we will include this improvement in our next theme update. We look forward to your feedback.

    P.S. You can also configure the time in the product settings (https://prnt.sc/bW0GTbqtO6JI). However, it is a great idea to enhance the default time globally when a custom time range is not set.

    Best regards,
    Jack Richardson
    The 8Theme’s Team

  • Viewing 4 results - 1 through 4 (of 4 total)

You must be logged in to reply to this topic.Log in/Sign up

We're using our own and third-party cookies to improve your experience and our website. Keep on browsing to accept our cookie policy.