v1.3.1, M2.3.3: Cannot select time slots that are disabled today

Created by Esther Nguyen, Modified on Thu, 24 Mar, 2022 at 1:53 PM by Esther Nguyen

ISSUE:

I set the following time slots:

10am - 11am

11am - 12 pm

12pm - 1pm

If today timeslots are disabled (such as 10 am-11 am, 11 am-12 pm are disabled), tomorrow you can't select these time slots too, but other slots still can be selected. It says "the Timeslot field is a required field."


SOLUTION:

There is a bug in our Order Delivery Date module. The module JS misses checking isToday, so when any timeslot is disabled, it will automatically assign the null value => error, we need to add the condition to check isToday


To temporarily resolve the issue, please edit the file: app/code/Bss/OrderDeliveryDate/view/frontend/web/js/view/delivery-date.js as below:


 

Or download the file attached below to override the current file on your site.


If you need any further assistance, please feel free to contact us. We'd be happy to support you!

Was this article helpful?

That’s Great!

Thank you for your feedback

Sorry! We couldn't be helpful

Thank you for your feedback

Let us know how can we improve this article!

Select at least one of the reasons
CAPTCHA verification is required.

Feedback sent

We appreciate your effort and will try to fix the article