Thank you so much for this important addition to UC
Whenever Show List Position is disabled (hidden) for a content type, and Price fields are enabled (shown), the Price fields are not visible.
When Show List Position is enabled (shown), and Price fields are enabled (shown), then the Price fields are visble (as expected).
| Comment | File | Size | Author |
|---|---|---|---|
| #1 | 20100715_show_nested_field.patch | 1.4 KB | pieterdc |
Comments
Comment #1
pieterdcI got the same issue.
It's a little more general than you described.
The fieldset gets hidden if all "root level" fields are hidden.
And as the price fields are nested within...
Hence the code that works with $hide_product_info_fieldset
I created a patch, see attached, to fix this.
Does it fix your problem too, Colorado?
Comment #2
willvincent commentedSomething tells me (having not had time to actually look at the code yet) that this issue is related to the recent request to hide "empty" fieldsets. I had a feeling that wasn't the best feature to include.
Comment #3
colorado commentedPieterDC -
Thank you so much!
I tried your patch, and it seems to work...
Comment #4
pieterdc@tcindie
It is related to the code that was introduced by this feature request: #771162: Hide Product Information fieldset if all its content is hidden
Comment #5
pieterdcas of Colorado's comment, we can change the status to 'reviewed'
Comment #6
keereel+1, subscribe.
Comment #7
echoz commentedAh ha! This is what my problem is in #846202: price field missing on create/edit form I've marked it as a duplicate. Does the patch in #1 properly get rid of the "hide empty fieldsets" patch?
Comment #8
pieterdcIt doesn't get rid of the "hide empty fieldsets" patch.
It "only" gets rid of the unwanted side-effect of hiding fields we don't want to hide.
But if all fields are hidden, it will still hide the fieldset.
Comment #9
willvincent commentedIncluded in version 6.x-1.12