added terms of services

This commit is contained in:
2021-06-25 14:00:13 +02:00
parent baf617e8ed
commit 1ac8e08daa
23 changed files with 712 additions and 11 deletions

View File

@@ -7,6 +7,7 @@ dependencies:
- commerce_promotion
- commerce_stripe
- email_registration
- materio_commerce
id: materio_checkout_flow
label: 'materio checkout flow'
plugin: multistep_default
@@ -23,44 +24,55 @@ configuration:
payment_information:
step: order_information
weight: 1
materio_commerce_agree_terms:
path:
route_name: materio_commerce.terms_viewer
route_parameters: { }
link_text: 'Terms and Conditions'
prefix_text: 'I agree with the %terms'
invalid_text: 'You must agree with the %terms before continuing'
new_window: '1'
step: order_information
weight: 2
nid: '1'
review:
step: review
weight: 2
weight: 3
stripe_review:
button_id: edit-actions-next
step: review
weight: 3
weight: 4
payment_process:
capture: true
step: payment
weight: 4
weight: 5
completion_message:
message:
value: "<p class=\"welcom\">[current-user:customer:address:given_name]&nbsp;[current-user:customer:address:family_name] thank you and welcome&nbsp;to <strong>[site:name]</strong>!</p>\r\n\r\n<p class=\"base\">You now have full access to our <a href=\"/base\">8000+ materials</a></p>\r\n\r\n<p class=\"order\">&nbsp;</p>\r\n"
format: wysiwyg
step: complete
weight: 5
weight: 6
order_summary:
view: commerce_checkout_order_summary
step: _sidebar
weight: 6
weight: 7
coupon_redemption:
allow_multiple: false
step: _sidebar
weight: 7
weight: 8
email_registration_login:
allow_guest_checkout: true
allow_registration: false
step: _disabled
weight: 8
weight: 10
email_registration_completion_registration:
step: _disabled
weight: 9
weight: 11
completion_register:
step: _disabled
weight: 10
weight: 12
login:
allow_guest_checkout: true
allow_registration: false
step: _disabled
weight: 11
weight: 13