better complete checkout message

This commit is contained in:
Bachir Soussi Chiadmi 2021-06-21 16:47:53 +02:00
parent 580d6f9059
commit a250ede8c8
9 changed files with 59 additions and 15 deletions

View File

@ -3,7 +3,9 @@ langcode: en
status: true
dependencies:
module:
- context
- materio_sapi
- system
theme:
- materiotheme
id: materiosapisearchblock
@ -17,4 +19,19 @@ settings:
label: 'Materio sapi search block'
provider: materio_sapi
label_display: '0'
visibility: { }
visibility:
view_inclusion:
id: view_inclusion
negate: null
view_inclusion: { }
context_mapping: { }
request_path_exclusion:
id: request_path_exclusion
pages: ''
negate: null
context_mapping: { }
request_path:
id: request_path
pages: '/checkout/*'
negate: true
context_mapping: { }

View File

@ -16,7 +16,7 @@ provider: null
plugin: materio_simplenews_subscription_block
settings:
id: materio_simplenews_subscription_block
label: 'Materio Simplenews subscription'
label: 'Inscription newsletter Materio'
provider: materio_simplenews
label_display: '0'
newsletters:

View File

@ -15,7 +15,7 @@ provider: null
plugin: user_login_block
settings:
id: user_login_block
label: 'Member access'
label: 'Accès membre'
provider: user
label_display: visible
visibility:

View File

@ -14,6 +14,12 @@ configuration:
display_checkout_progress: true
display_checkout_progress_breadcrumb_links: true
panes:
contact_information:
double_entry: false
step: order_information
weight: 0
allow_guest_checkout: true
allow_registration: false
payment_information:
step: order_information
weight: 1
@ -30,13 +36,13 @@ configuration:
weight: 4
completion_message:
message:
value: "Your order number is [commerce_order:order_number].\r\nYou can view your order on your account page when logged in."
format: plain_text
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
order_summary:
view: commerce_checkout_order_summary
step: _sidebar
step: complete
weight: 6
coupon_redemption:
allow_multiple: false
@ -58,9 +64,3 @@ configuration:
allow_registration: false
step: _disabled
weight: 11
contact_information:
double_entry: false
step: order_information
weight: 0
allow_guest_checkout: true
allow_registration: false

View File

@ -0,0 +1,6 @@
configuration:
panes:
completion_message:
message:
value: "<p class=\"welcom\">[current-user:customer:address:given_name]&nbsp;[current-user:customer:address:family_name] merci et bienvenue à [site:name]!</p>\r\n\r\n<p class=\"base\">Vous avez maintenant accès a nos&nbsp;<a href=\"/base\">8000+ fiches materiaux</a></p>\r\n\r\n<p class=\"order\">&nbsp;</p>\r\n"
format: wysiwyg

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

View File

@ -2617,6 +2617,27 @@ article.card{
font-size: 1.323em;
}
}
#edit-completion-message{
p.welcom{
font-size: 1.512em;
}
p.base{
a{
@include btn;
background-color: $color-base;
color: #fff;
font-size: 1.134em;
}
}
p.order{
}
}
#edit-order-summary{
background-color: $color-showrooms;
padding:1em;
}
}
}