Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
19 commits
Select commit Hold shift + click to select a range
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
71 changes: 71 additions & 0 deletions blocks/checkout/_checkout.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,71 @@
{
"definitions": [
{
"title": "Checkout",
"id": "checkout",
"plugins": {
"xwalk": {
"page": {
"resourceType": "core/franklin/components/block/v1/block",
"template": {
"name": "Checkout",
"model": "checkout",
"key-value": true
}
}
}
}
}
],
"models": [
{
"id": "checkout",
"fields": [
{
"component": "text",
"name": "buttoneventtype",
"label": "Button Event Type",
"value": "",
"valueType": "string"
},
{
"component": "text",
"name": "buttonwebhookurl",
"label": "Button Webhook URL",
"value": "",
"valueType": "string"
},
{
"component": "aem-content",
"name": "buttondata",
"label": "Button Data Sheet",
"valueType": "string",
"description": "AEM sheet path whose key/value rows are sent on submit"
},
{
"component": "text",
"name": "buttonformid",
"label": "Button Form ID",
"value": "",
"valueType": "string"
},
{
"component": "aem-content",
"valueType": "string",
"name": "confirmationpath",
"label": "Confirmation Page Path",
"description": "Page to redirect to after purchase confirmation. Defaults to /en/confirmation if not set."
},
{
"component": "text",
"name": "custom-class",
"label": "Custom class",
"value": "",
"valueType": "string",
"description": "Space-separated class names to add to the block"
}
]
}
],
"filters": []
}
Loading