I added a Date field to a Drupal Commerce site's checkout progress' second page. If I check All Day, the hours and minutes input should go away but it does not. Check and uncheck the End date checkbox should result in displaying and hiding the end date inputs but it does not happen.

I used Order Fieldgroup Panes for Drupal Commerce to be able to add new fieldgroup panes to the checkout and I added the date field in a new pane.

I added the same configured Date field to a content type on the same website and it worked fine.

I tried a completely new installation of Drupal Commerce, used the same Fieldgroup solution and the Date field checkboxes were broken also.

Drupal Commerce, Order Fieldgroup Panes are definately related to this issue.

Comments

pcambra’s picture

Have you tried with the -dev version of this module?

As far as I've understood the steps to reproduce are:

* Install date module
* Add a new date field to a fieldgroup in the order type entity
* Add the fieldgroup pane to the "second page" which I understand is the review step (do these problems still happen in the first step?)
* Change date field options but the field is not displayed

pcambra’s picture

Status: Active » Closed (works as designed)

I've identified the these problems in date side and proposed a fix here #1380066: "All Day" & "Show End Date" flags don't hide elements when nested