I've followed the videocast exactly from the tutorial site:
http://www.commerceguys.com/resources/articles/257
However, the textarea field isn't displayed in checkout page. It is only displaying the fieldset.
Is there anyone else experiencing this problem, or am I missing something out?
Drupal 7.10
Drupal Commerce 7.x-1.1
Fieldgroup 7.x-2.x-dev
| Comment | File | Size | Author |
|---|---|---|---|
| #9 | support-fieldgroup2-1387476-9.patch | 1.52 KB | hitfactory |
Comments
Comment #1
pcambraI'm afraid I'm going to need much more info of what you're doing to be able to help you, the only thing I can think of is that you've got your field group misconfigured.
Did you make sure that your field is actually inside the group? It's easy to forget to drag the fields inside the group.
See: https://skitch.com/pcambra/gwsex/group
Comment #2
jonloh commentedYes, it's already in the group, which you can the image here along the image for the checkout page, where the textarea is not displayed:
http://imageshack.us/photo/my-images/33/13993111.jpg
And I tested it out with Bartik theme as well.
Comment #3
pcambraI've just tried this in a commerce kickstart install and works just fine... I'm going to need a consistent way to reproduce this.
Comment #4
jonloh commentedHmmm, that's weird. I've compared the core modules that I installed with the ones Commerce Kickstart package in it - they're the same exact versions.
Could it be because I installed Checkout extra panes and then uninstalled it?
Here's the listed modules that is installed on my site:
Comment #5
jonloh commentedAlright, I found out what's the problem:
I've to downgrade Field group 7.x-2.x-dev to 7.x-1.x.
Not sure if you will be updating the module to support Field group 7.x-2.x :)
Comment #6
pcambraOh, great, thanks for hunting this down.
Let's change the subject to do further research on this.
Comment #7
PESTO3567 commentedI use the horizonal tabs of Fieldgroup 7.x-2.x and can't do a downgrade :(
Are you planning to support for Fieldgroup 2.x?
Comment #8
pcambraYes, this is planned, patches are welcome :)
Comment #9
hitfactory commentedFields aren't rendered because Fieldgroup 2.x no longer does the array_merge($element['#groups'], $element['#fieldgroups']) before it puts the fields inside the groups.
Attached patch adds a pre_render callback which runs right before Fieldgroup 2.x's and does the required merge.
Comment #10
pcambraCommitted, thanks