Fieldgroups not showing on checkout

Created on 15 September 2021, almost 3 years ago
Updated 11 May 2024, about 2 months ago

I created custom fields in order-types, also all are displayed on the checkout checkout-order-fields pane. but if i add fieldgroups, accordions, tabs or multipages to order-items form display checkout only the fields are visible.

πŸ› Bug report
Status

Active

Version

1.1

Component

Miscellaneous

Created by

πŸ‡©πŸ‡ͺGermany fhe_sol

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

Comments & Activities

Not all content is available!

It's likely this issue predates Contrib.social: some issue and comment data are missing.

  • πŸ‡©πŸ‡ͺGermany Anybody Porta Westfalica

    How can this be reproduced?

  • Status changed to Active about 2 months ago
  • πŸ‡¦πŸ‡ΊAustralia jannakha Brisbane!

    I think I can reproduce this behaviour:
    - enable drupal/field_group module
    - add field group elements (html element, details, etc)

    - these elements are not being rendered in the checkout flow (see screenshot)

    - these elements are being rendered within order edit for in Commerce (/admin/commerce/orders/1420638/edit) see screenshot

    this issue might be related to how Commerce builds forms by using inline forms:
    - see code in Drupal\commerce_order\Plugin\Commerce\InlineForm CustomerProfile.php "public function buildInlineForm(array $inline_form, FormStateInterface $form_state) ..."
    - possibly related issue: https://www.drupal.org/project/commerce/issues/3068063 β†’

    I also tried to install "Conditional fields" module and show/hide some fields on checkout based on user input (some sort of survey) - but because the form is rendered as inline form - conditional fields are not working (they do work on normal edit form page).

    @anybody: any thoughts on how to resolve it?

Production build 0.69.0 2024