This repository has been archived by the owner on Aug 8, 2018. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
As a stakeholder I want all copy on checkout page to be editable from…
… administration interface (#13) * [#155649274] Added fields for Checkout settings. * [#155649274] Added default values for Checkout settings. * [#155649274] Reverted wrong commit. * [#155649274] Updated order of fields. * [#155649274] Outputted step1 description from the backend. * [#155649274] Outputted descriptions from the backend.
- Loading branch information
Showing
18 changed files
with
374 additions
and
24 deletions.
There are no files selected for viewing
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
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
24 changes: 24 additions & 0 deletions
24
...onfig/sync/field.field.config_pages.site_content_settings.field_config_checkout_cards.yml
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,24 @@ | ||
uuid: 4d1e1402-5f73-45b5-b5f0-1ff1647e7a47 | ||
langcode: en | ||
status: true | ||
dependencies: | ||
config: | ||
- config_pages.type.site_content_settings | ||
- field.storage.config_pages.field_config_checkout_cards | ||
module: | ||
- text | ||
id: config_pages.site_content_settings.field_config_checkout_cards | ||
field_name: field_config_checkout_cards | ||
entity_type: config_pages | ||
bundle: site_content_settings | ||
label: 'Cards description' | ||
description: 'Description for the Cards section.' | ||
required: false | ||
translatable: false | ||
default_value: | ||
- | ||
value: "<p><strong>Each gift comes with either an e-card or a postal card.</strong> All you have to do is choose which one you want your relative or friend to receive. If you choose to send an e-card, we’ll send it directly on your behalf. If you would prefer to give a postal card, we will post it to you and you’ll be able to deliver it in person.</p>\r\n" | ||
format: basic_html | ||
default_value_callback: '' | ||
settings: { } | ||
field_type: text_long |
24 changes: 24 additions & 0 deletions
24
...nfig/sync/field.field.config_pages.site_content_settings.field_config_checkout_optins.yml
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,24 @@ | ||
uuid: 388a2a24-c8b9-4d58-be29-4573d599ed84 | ||
langcode: en | ||
status: true | ||
dependencies: | ||
config: | ||
- config_pages.type.site_content_settings | ||
- field.storage.config_pages.field_config_checkout_optins | ||
module: | ||
- text | ||
id: config_pages.site_content_settings.field_config_checkout_optins | ||
field_name: field_config_checkout_optins | ||
entity_type: config_pages | ||
bundle: site_content_settings | ||
label: 'Opt-ins Description' | ||
description: 'Description for the Opt-ins section.' | ||
required: false | ||
translatable: false | ||
default_value: | ||
- | ||
value: "<p>We would love to keep you updated about our work and let you know how you can continue to help changing lives. Please tick the boxes below to confirm that we can contact you by:</p>\r\n" | ||
format: basic_html | ||
default_value_callback: '' | ||
settings: { } | ||
field_type: text_long |
21 changes: 21 additions & 0 deletions
21
.../sync/field.field.config_pages.site_content_settings.field_config_checkout_page_title.yml
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,21 @@ | ||
uuid: b3e1dff7-ef5d-4659-be62-693ffe239629 | ||
langcode: en | ||
status: true | ||
dependencies: | ||
config: | ||
- config_pages.type.site_content_settings | ||
- field.storage.config_pages.field_config_checkout_page_title | ||
id: config_pages.site_content_settings.field_config_checkout_page_title | ||
field_name: field_config_checkout_page_title | ||
entity_type: config_pages | ||
bundle: site_content_settings | ||
label: 'Page title' | ||
description: '' | ||
required: true | ||
translatable: false | ||
default_value: | ||
- | ||
value: 'Checkout and save lives' | ||
default_value_callback: '' | ||
settings: { } | ||
field_type: string |
21 changes: 21 additions & 0 deletions
21
...nfig/sync/field.field.config_pages.site_content_settings.field_config_checkout_step_1.yml
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,21 @@ | ||
uuid: 13dbee6b-9a5b-4136-8fa7-3866635b8eba | ||
langcode: en | ||
status: true | ||
dependencies: | ||
config: | ||
- config_pages.type.site_content_settings | ||
- field.storage.config_pages.field_config_checkout_step_1 | ||
id: config_pages.site_content_settings.field_config_checkout_step_1 | ||
field_name: field_config_checkout_step_1 | ||
entity_type: config_pages | ||
bundle: site_content_settings | ||
label: 'Step 1 Subheader' | ||
description: '' | ||
required: false | ||
translatable: false | ||
default_value: | ||
- | ||
value: 'Step 1 - Enter your personal details' | ||
default_value_callback: '' | ||
settings: { } | ||
field_type: string |
21 changes: 21 additions & 0 deletions
21
...nfig/sync/field.field.config_pages.site_content_settings.field_config_checkout_step_2.yml
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,21 @@ | ||
uuid: 8e000fdd-ee47-4dd9-887c-a1b3d5e2d9be | ||
langcode: en | ||
status: true | ||
dependencies: | ||
config: | ||
- config_pages.type.site_content_settings | ||
- field.storage.config_pages.field_config_checkout_step_2 | ||
id: config_pages.site_content_settings.field_config_checkout_step_2 | ||
field_name: field_config_checkout_step_2 | ||
entity_type: config_pages | ||
bundle: site_content_settings | ||
label: 'Step 2 Subheader' | ||
description: '' | ||
required: false | ||
translatable: false | ||
default_value: | ||
- | ||
value: 'Step 2 - Choose a card to go with your gifts' | ||
default_value_callback: '' | ||
settings: { } | ||
field_type: string |
19 changes: 19 additions & 0 deletions
19
backend-gifts/config/sync/field.storage.config_pages.field_config_checkout_cards.yml
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,19 @@ | ||
uuid: 1aa67cf5-e850-49ad-8a0c-086f8130fcd9 | ||
langcode: en | ||
status: true | ||
dependencies: | ||
module: | ||
- config_pages | ||
- text | ||
id: config_pages.field_config_checkout_cards | ||
field_name: field_config_checkout_cards | ||
entity_type: config_pages | ||
type: text_long | ||
settings: { } | ||
module: text | ||
locked: false | ||
cardinality: 1 | ||
translatable: true | ||
indexes: { } | ||
persist_with_no_fields: false | ||
custom_storage: false |
19 changes: 19 additions & 0 deletions
19
backend-gifts/config/sync/field.storage.config_pages.field_config_checkout_optins.yml
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,19 @@ | ||
uuid: e7b68da3-b25b-493a-b054-781e85117a84 | ||
langcode: en | ||
status: true | ||
dependencies: | ||
module: | ||
- config_pages | ||
- text | ||
id: config_pages.field_config_checkout_optins | ||
field_name: field_config_checkout_optins | ||
entity_type: config_pages | ||
type: text_long | ||
settings: { } | ||
module: text | ||
locked: false | ||
cardinality: 1 | ||
translatable: true | ||
indexes: { } | ||
persist_with_no_fields: false | ||
custom_storage: false |
21 changes: 21 additions & 0 deletions
21
backend-gifts/config/sync/field.storage.config_pages.field_config_checkout_page_title.yml
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,21 @@ | ||
uuid: 7e742497-aacb-4f67-b093-dc11782d0342 | ||
langcode: en | ||
status: true | ||
dependencies: | ||
module: | ||
- config_pages | ||
id: config_pages.field_config_checkout_page_title | ||
field_name: field_config_checkout_page_title | ||
entity_type: config_pages | ||
type: string | ||
settings: | ||
max_length: 255 | ||
is_ascii: false | ||
case_sensitive: false | ||
module: core | ||
locked: false | ||
cardinality: 1 | ||
translatable: true | ||
indexes: { } | ||
persist_with_no_fields: false | ||
custom_storage: false |
21 changes: 21 additions & 0 deletions
21
backend-gifts/config/sync/field.storage.config_pages.field_config_checkout_step_1.yml
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,21 @@ | ||
uuid: 8d995f7f-147f-4b8b-9174-9e51dcec6089 | ||
langcode: en | ||
status: true | ||
dependencies: | ||
module: | ||
- config_pages | ||
id: config_pages.field_config_checkout_step_1 | ||
field_name: field_config_checkout_step_1 | ||
entity_type: config_pages | ||
type: string | ||
settings: | ||
max_length: 255 | ||
is_ascii: false | ||
case_sensitive: false | ||
module: core | ||
locked: false | ||
cardinality: 1 | ||
translatable: true | ||
indexes: { } | ||
persist_with_no_fields: false | ||
custom_storage: false |
21 changes: 21 additions & 0 deletions
21
backend-gifts/config/sync/field.storage.config_pages.field_config_checkout_step_2.yml
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,21 @@ | ||
uuid: ee306d19-af7d-47a1-b7db-eced2b1f0d13 | ||
langcode: en | ||
status: true | ||
dependencies: | ||
module: | ||
- config_pages | ||
id: config_pages.field_config_checkout_step_2 | ||
field_name: field_config_checkout_step_2 | ||
entity_type: config_pages | ||
type: string | ||
settings: | ||
max_length: 255 | ||
is_ascii: false | ||
case_sensitive: false | ||
module: core | ||
locked: false | ||
cardinality: 1 | ||
translatable: true | ||
indexes: { } | ||
persist_with_no_fields: false | ||
custom_storage: false |
Oops, something went wrong.