Просмотр исходного кода

fixed the materio_order_item_type form display to be able to make an order of it

bach 3 лет назад
Родитель
Сommit
7de4ec734a

+ 15 - 3
config/sync/core.entity_form_display.commerce_order_item.materio_order_item_type.default.yml

@@ -9,10 +9,22 @@ id: commerce_order_item.materio_order_item_type.default
 targetEntityType: commerce_order_item
 bundle: materio_order_item_type
 mode: default
-content: {  }
+content:
+  purchased_entity:
+    type: options_select
+    weight: 0
+    region: content
+    settings: {  }
+    third_party_settings: {  }
+  quantity:
+    type: number
+    weight: 1
+    region: content
+    settings:
+      placeholder: ''
+    third_party_settings: {  }
 hidden:
+  adjustments: true
   created: true
   license: true
-  purchased_entity: true
-  quantity: true
   unit_price: true