TycheSoftwares / lpp-addon-for-orddd

0 stars 0 forks source link

Auto populate is not working for global setting #63

Open moxajogani opened 6 years ago

moxajogani commented 6 years ago

I have recurring days with time slot enabled in global settings. I also have a custom delivery setting for a local pickup address. I have auto-populate enabled on date level and time slot level.

Custom delivery setting: http://prntscr.com/ecqrmv

When pickup location is selected on the checkout page, the auto-populate is working fine, but when a shipping method is selected which does not have any custom delivery setting, the auto-fill is not working.

Steps to replicate the issues:

On checkout page load, a shipping method is selected, there the date field is coming inactive (at times). http://prntscr.com/ecqtmk On selecting local pickup shipping method, you select the pickup location, the delivery date is coming pre-selected. http://prntscr.com/ecqtwf Now if you select any other shipping method, the delivery date is not getting auto-selected, but the time slot is getting pre-populated. http://prntscr.com/ecqu4u

moxajogani commented 6 years ago

Not replicated - Recurring days with time slot enabled in global settings. Custom delivery setting - https://prnt.sc/hp03fx When Flat rate is selected as the shipping method - the auto-populated date is coming as 22nd dec which is Friday. - https://prnt.sc/hp04k6 If free shipping is selected, global settings are applied with time slots enabled. - https://prnt.sc/hp04g1