Wrap the Login CheckoutPane in a container

Created on 4 June 2025, 4 days ago

We were running a Drupal commerce site with Drupal 10.1.6 and Commerce 2.36.0.
The checkout flow added following wrapper to the login form (pane):
<div class="checkout-pane checkout-pane-login js-form-wrapper form-wrapper" data-drupal-selector="edit-login" id="edit-login">

After updating to Drupal 10.4.7 and Commerce 3.0.2 this wrapper disappeared which led to some custom CSS not working/applying anymore.

We couldn't find out exactly what caused the wrapper to disappear, but adding wrapper_element to the Login CheckoutPane seems to fix the issue.

We think that the wrapper should be there by default, if not, we can also just close this issue and we'll use a custom patch or extend the Login CheckoutPane with the desired standard config.

🐛 Bug report
Status

Active

Version

3.0

Component

Checkout

Created by

🇨🇭Switzerland dpacassi Zürich, Switzerland

Live updates comments and jobs are added and updated live.
Sign in to follow issues

Merge Requests

Comments & Activities

Production build 0.71.5 2024