Support » Plugin: Woo Store Vacation » Set start date to start immediately or todays date

  • Resolved sebastian_a

    (@sebastian_a)


    I have been trying to see how I can set the start date to be immediate since I have clients that need to make modifications to their store and would not want anyone to continue ordering. However, I can only select a start date in the future (the closest being the next day/tomorrow). Is there a reason for this? And can that be changed?

    I must admit that after the date picker can’t choose I tried to look in the db to change the date manually, but I can’t find that anywhere. Is it not stored there?

Viewing 4 replies - 1 through 4 (of 4 total)
  • Plugin Author Mahdi Yazdani

    (@mahdiyazdani)

    You can retrieve the plugin option values based on the following option name:

    
    $get_options = (array) get_option( 'woo_store_vacation_options' );
    

    I hope the above is useful to you!

    Thread Starter sebastian_a

    (@sebastian_a)

    Hi @mahdiyazdani,

    thanks for your response, I was able to turn on the vacation message immediately by modifying the database’s options settings (finally found it LOL). This isn’t ideal obviously and def would not be something in a client’s hands. But this does not solve the problem overall. I. understand that there is a use case of ‘going on vacation’, but what if a person is leaving NOW and they forgot to do just that, so setting something for up to 24hrs (23.59hrs to be exact) might not be ideal.

    Why not enable the start date to be any date (even ‘now’ or in the past)? Is there a reason for this that I don’t understand?

    Plugin Author Mahdi Yazdani

    (@mahdiyazdani)

    Hi @sebastian_a

    Good point. I will get this date-picker limitation removed in the next update.

    Thread Starter sebastian_a

    (@sebastian_a)

    Thanks @mahdiyazdani. Much Appreciated!

Viewing 4 replies - 1 through 4 (of 4 total)
  • The topic ‘Set start date to start immediately or todays date’ is closed to new replies.