-
Notifications
You must be signed in to change notification settings - Fork 3.6k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
LPD-34676 Commerce Site Initializer layouts
- Loading branch information
1 parent
12c8e9f
commit 9cf4705
Showing
6 changed files
with
154 additions
and
0 deletions.
There are no files selected for viewing
6 changes: 6 additions & 0 deletions
6
...-initializer/layout-page-templates/display-page-templates/cart/display-page-template.json
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,6 @@ | ||
{ | ||
"contentType": { | ||
"className": "com.liferay.commerce.model.CommerceOrder" | ||
}, | ||
"name": "cart" | ||
} |
41 changes: 41 additions & 0 deletions
41
...s/site-initializer/layout-page-templates/display-page-templates/cart/page-definition.json
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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 | ||
} |
6 changes: 6 additions & 0 deletions
6
...initializer/layout-page-templates/display-page-templates/order/display-page-template.json
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,6 @@ | ||
{ | ||
"contentType": { | ||
"className": "com.liferay.commerce.model.CommerceOrder" | ||
}, | ||
"name": "order" | ||
} |
41 changes: 41 additions & 0 deletions
41
.../site-initializer/layout-page-templates/display-page-templates/order/page-definition.json
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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 | ||
} |
30 changes: 30 additions & 0 deletions
30
...itializer/src/main/resources/site-initializer/layouts/pending-orders/page-definition.json
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
30 changes: 30 additions & 0 deletions
30
...nitializer/src/main/resources/site-initializer/layouts/placed-orders/page-definition.json
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters