Problem/Motivation
Because of various issues like #2840386: Views assume that purchased_entity is node. or #2638958: Views has problems using the purchased_entity field, I had to replace the "purchaseable entity" fied in Cart view by an order item "rendered item" field. This let's me render the order item in a custom view mode, which dsplays the purchasable entity rendered itself in the custom view mode.
However, the commerce_order_item rendered also the "created" base field which can't be controlled form display mode form.
This issue simply let's "created" field from commerce_order_item being shown in display mode form of order item type, so you can actually remove it from display.
Also similarly with the title field.
Proposed resolution
Let base fields "created" and "title" being configurable in view mode form.
User interface changes
Created and Title field are now configurable in View Mode form.
API changes
none
Data model changes
none
| Comment | File | Size | Author |
|---|---|---|---|
| #2 | 2865324--2.patch | 958 bytes | dom. |
Comments
Comment #2
dom. commentedPatch attached for review
Comment #3
bojanz commentedRetitling for clarity. Looks like we don't need to do anything for the "title" field anymore (it has no configured formatter, and isn't configurable, unless purchasable entity type is NULL, in which case it already is display configurable), but the "created" change is needed.
Comment #5
bojanz commentedThanks!