I am using Field Groups to organize the display of several questions I added to the Customer Profile. I have it set up in the manage form display tab and the manage display tab.
The /review page, the /orders pages, and the email receipt all show the questions properly grouped, which is great. But, the /order_information page does not group them. Is this a bug or normal that the fields are not grouped on the order_information page?
Issue fork commerce-3059187
Show commands
Start within a Git clone of the project using the version control instructions.
Or, if you do not have SSH keys set up on git.drupalcode.org:
Comments
Comment #2
bojanz commentedWe don't claim any field_group compatibility. Guessing either Commerce or Profile will need to be patched to support it.
Comment #3
vasyok commentedOk, what do you suggest for grouping fields on order_information pages?
Comment #4
j. commentedAny hints on what needs patched to accomplish this? Our order form requires asking several non-standard shipping/billing questions. The ability to present these questions together in smaller groups makes the form more usable/readable.
Comment #5
finneIn Commerce Products there is this code which provides fieldgroup compatibility:
I need field groups also in the display of Orders, so I propose we also add this to the order module:
Comment #10
finneSorry, I'm not fluent in the gitlab fork and merge requests yet :-)
Here is a patch that copies the product fieldgroup code to the order module.
Comment #11
jsacksick commented@finne: Does this fix the issue? If so, I'm inclined to commit the patch.
Comment #12
finneYes, this patch is working on my D8 / D9 Commerce 2 installs and allows me to use fieldgroups in the Order Field display settings.
Comment #15
jsacksick commentedCommitted, thanks!