How can I set “%first_order_date_exp_timeleft%” to be date instead of weeks?

Viewing 2 posts - 1 through 2 (of 2 total)
  • Author
    Posts
  • #100434
    Jacob
    Guest

    Is it possible to set the %first_order_date_exp_timeleft% to be a date and time instead of weeks. I have the time frame set for 30 days, and when I set the message to show time left it says “4 weeks” instead of the actual date that it will allow for more ordering.

    #100435
    Tom Anbinder
    Moderator
    Plugin Support

    Hi Jacob,

    Currently %first_order_date_exp_timeleft% is using human_time_diff() function to display the time, so it will automatically start decreasing time units when the time will get closer to zero, i.e. “2 days”, “1 hour”, “5 mins”. Let me know if you want to make it always display in the same format (e.g. days), and I will add it in the next plugin version.

    Also, not sure if you really need it, but you can display the actual date with %first_order_date_exp% (i.e. vs %first_order_date_exp_timeleft%).

Viewing 2 posts - 1 through 2 (of 2 total)
  • You must be logged in to reply to this topic.