I can manage layout on product's "manage form display",
But it doesn't take effect when edit a product.


| Comment | File | Size | Author |
|---|---|---|---|
| #20 | 2997366_20.patch | 1.17 KB | nikhil_110 |
| #16 | interdiff_8-16.txt | 535 bytes | ranjith_kumar_k_u |
| #16 | 2997366-16.patch | 1.17 KB | ranjith_kumar_k_u |
| #8 | interdiff-2997366-6-8.txt | 421 bytes | lawxen |
| #8 | 2997366-8.patch | 1.18 KB | lawxen |
Comments
Comment #2
lawxen commentedIf I make this change:
Then the layout builder will take effect on product's "edit form" .
So the problem caused by Drupal\commerce_product\Form\ProductForm .
Comment #3
lawxen commented"Deleting this line" make the layout take effect on commerce_product's "edit_form"
Comment #4
skyredwangWe need to find the documentation in layout builder why that line matters
Comment #5
lawxen commentedComment #6
tim.plunkettI believe this might fix it.
Comment #8
lawxen commentedFix the failing test
Comment #9
lawxen commented@tim.plunkett Really thanks for fix this issue
https://www.drupal.org/project/commerce/issues/2998975 .
This is a relevant issue which make field_layout doesn't work either, where do you think this issue should be fixed, Drupal core or commerce itself?
Comment #16
ranjith_kumar_k_u commentedFixed CS error.
Comment #19
smustgrave commentedThis issue is being reviewed by the kind folks in Slack, #needs-review-queue-initiative. We are working to keep the size of Needs Review queue [2700+ issues] to around 400 (1 month or less), following Review a patch or merge request as a guide.
Not sure I follow from the issue summary so could we update that with steps to reproduce and proposed solution.
This will also need a unique test. Not sure if editing that one counts as a valid test.
Thanks.
Comment #20
nikhil_110 commentedRe-roll patch #16 for 10.x
Comment #22
smustgrave commentedFor #19
Comment #23
smustgrave commentedSince there's been no follow up going to close this one out. Also going to mentioned field_layout is marked to be deprecated and will be moving to contrib in Drupal 12.