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

Created by Esther Nguyen, Modified on Tue, 7 Apr at 11:10 AM by Support Agent

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.


Learn more about us!!


BSS Commerce is a trusted Magento 2 extensions provider with 14+ years of experience, serving 75,000+ customers worldwide. We are an Adobe Commerce Solution Bronze Partner and a Select Magento Extensions Builder, reinforcing our expertise in the Magento ecosystem.


We specialize in developing 150+ high-quality Magento 2 extensions that enhance functionality, improve user experience, and support scalable growth. Our reputation is built on long-term partnerships, positive feedback, and proven performance-driven solutions.


Explore our extensions: https://bsscommerce.com/magento-2-extensions.html 


Get our extensions now:


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