Skip to content

Commit

Permalink
LPD-34676 Commerce Site Initializer layouts
Browse files Browse the repository at this point in the history
  • Loading branch information
gianmarcobrunialti committed Sep 23, 2024
1 parent 12c8e9f commit 9cf4705
Show file tree
Hide file tree
Showing 6 changed files with 154 additions and 0 deletions.
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
{
"contentType": {
"className": "com.liferay.commerce.model.CommerceOrder"
},
"name": "cart"
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,41 @@
{
"pageElement": {
"pageElements": [
{
"definition": {
"fragmentSettings": {
"unallowedFragments": [
]
}
},
"type": "DropZone"
},
{
"definition": {
"fragment": {
"key": "com.liferay.frontend.data.set.admin.web.internal.fragment.renderer.FDSAdminFragmentRenderer"
},
"fragmentConfig": {
"itemSelector": {
"className": "com.liferay.object.model.ObjectDefinition#[$OBJECT_DEFINITION_ID:FDSView$]",
"classPK": "[$FDS_VIEW_ERC:commerce-pending-order-items-data-set-view$]",
"externalReferenceCode": "commerce-pending-order-items-data-set-view",
"itemType": "_com_liferay_layout_content_page_editor_web_internal_portlet_ContentPageEditorPortlet_selectInfoItem"
}
},
"fragmentFields": [
],
"indexed": true
},
"type": "Fragment"
}
],
"type": "Root"
},
"settings": {
"masterPage": {
"key": "commerce-classic-master"
}
},
"version": 1.1
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
{
"contentType": {
"className": "com.liferay.commerce.model.CommerceOrder"
},
"name": "order"
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,41 @@
{
"pageElement": {
"pageElements": [
{
"definition": {
"fragmentSettings": {
"unallowedFragments": [
]
}
},
"type": "DropZone"
},
{
"definition": {
"fragment": {
"key": "com.liferay.frontend.data.set.admin.web.internal.fragment.renderer.FDSAdminFragmentRenderer"
},
"fragmentConfig": {
"itemSelector": {
"className": "com.liferay.object.model.ObjectDefinition#[$OBJECT_DEFINITION_ID:FDSView$]",
"classPK": "[$FDS_VIEW_ERC:commerce-placed-order-items-data-set-view$]",
"externalReferenceCode": "commerce-placed-order-items-data-set-view",
"itemType": "_com_liferay_layout_content_page_editor_web_internal_portlet_ContentPageEditorPortlet_selectInfoItem"
}
},
"fragmentFields": [
],
"indexed": true
},
"type": "Fragment"
}
],
"type": "Root"
},
"settings": {
"masterPage": {
"key": "commerce-classic-master"
}
},
"version": 1.1
}
Original file line number Diff line number Diff line change
@@ -1,5 +1,35 @@
{
"pageElement": {
"pageElements": [
{
"definition": {
"fragmentSettings": {
"unallowedFragments": [
]
}
},
"type": "DropZone"
},
{
"definition": {
"fragment": {
"key": "com.liferay.frontend.data.set.admin.web.internal.fragment.renderer.FDSAdminFragmentRenderer"
},
"fragmentConfig": {
"itemSelector": {
"className": "com.liferay.object.model.ObjectDefinition#[$OBJECT_DEFINITION_ID:FDSView$]",
"classPK": "[$FDS_VIEW_ERC:commerce-pending-orders-data-set-view$]",
"externalReferenceCode": "commerce-pending-orders-data-set-view",
"itemType": "_com_liferay_layout_content_page_editor_web_internal_portlet_ContentPageEditorPortlet_selectInfoItem"
}
},
"fragmentFields": [
],
"indexed": true
},
"type": "Fragment"
}
],
"type": "Root"
},
"settings": {
Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,35 @@
{
"pageElement": {
"pageElements": [
{
"definition": {
"fragmentSettings": {
"unallowedFragments": [
]
}
},
"type": "DropZone"
},
{
"definition": {
"fragment": {
"key": "com.liferay.frontend.data.set.admin.web.internal.fragment.renderer.FDSAdminFragmentRenderer"
},
"fragmentConfig": {
"itemSelector": {
"className": "com.liferay.object.model.ObjectDefinition#[$OBJECT_DEFINITION_ID:FDSView$]",
"classPK": "[$FDS_VIEW_ERC:commerce-placed-orders-data-set-view$]",
"externalReferenceCode": "commerce-placed-orders-data-set-view",
"itemType": "_com_liferay_layout_content_page_editor_web_internal_portlet_ContentPageEditorPortlet_selectInfoItem"
}
},
"fragmentFields": [
],
"indexed": true
},
"type": "Fragment"
}
],
"type": "Root"
},
"settings": {
Expand Down

0 comments on commit 9cf4705

Please sign in to comment.