Support » Plugin: Delivery & Pickup Date Time for WooCommerce » Disable Delivery time slots

  • Resolved mariabodocan

    (@mariabodocan)


    Hello
    First of all I want to thank you for the work you put into making this awesome plugin.
    I have a problem on my site. I want to disable the slot time which is displayed after the current delivery time slot. Can I use a hook for this? What option I have to achive this?
    Thank You.

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

    (@shoroar)

    Hello @mariabodocan

    Sorry, I am confused about your requirement. Can you please give an example?

    Thread Starter mariabodocan

    (@mariabodocan)

    Hi again,
    The Delivery Time Field si enabled with time slot set to 30 minutes, and Disable Current Time Slot is on. The Delivery Date si set to current date. And I have the following time slots: 10:00-10:30, 10:30-11:00, 11:00:11:30….22:00-22:30.
    If the current time is 10:35, the slots 10:00-10:30 and 10:30-11:00 are now disabled.
    But I want that all the slots that are less then currentTime + 60 minutes to be disabled. So for the above example all the slots that are less then 10:35+60 = 11:35 should be disabled: 10:00-10:30, 10:30-11:00, 11:00:11:30. The first available time slot should be in this case 11:30-12:00 (the time is greater then currentTime + 60 minutes.)
    As I said the Disable Current Time Slot is on, and I want to disabled also the next available slot after the Disabled Current Time slot. In this case if the current time si 10:35, The Disabled Current Time slot is 10:30-11:00, and I want to disabled the next available slot after the current time slot which is 11:00:11:30.

    Thank You.

    Plugin Author coderockz

    (@shoroar)

    Hello @mariabodocan

    Okay, now i understand cleary what you need. This feature is only avialable on our PRO version. You have to purchase our PRO version to setup like this.

    Thank you.

    Thread Starter mariabodocan

    (@mariabodocan)

    Ok, thank you for the quik response.

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