commerce: collect vat number on billing info

This commit is contained in:
Bachir Soussi Chiadmi 2021-06-16 19:52:57 +02:00
parent e4bc529e2f
commit 6eb07263d3
5 changed files with 25 additions and 15 deletions

View File

@ -14,15 +14,6 @@ configuration:
display_checkout_progress: true display_checkout_progress: true
display_checkout_progress_breadcrumb_links: true display_checkout_progress_breadcrumb_links: true
panes: panes:
email_registration_login:
allow_guest_checkout: true
allow_registration: false
step: _disabled
weight: 8
contact_information:
double_entry: false
step: order_information
weight: 0
payment_information: payment_information:
step: order_information step: order_information
weight: 1 weight: 1
@ -51,6 +42,11 @@ configuration:
allow_multiple: false allow_multiple: false
step: _sidebar step: _sidebar
weight: 7 weight: 7
email_registration_login:
allow_guest_checkout: true
allow_registration: false
step: _disabled
weight: 8
email_registration_completion_registration: email_registration_completion_registration:
step: _disabled step: _disabled
weight: 9 weight: 9
@ -62,3 +58,9 @@ configuration:
allow_registration: false allow_registration: false
step: _disabled step: _disabled
weight: 11 weight: 11
contact_information:
double_entry: false
step: order_information
weight: 0
allow_guest_checkout: true
allow_registration: false

View File

@ -6,4 +6,4 @@ id: eu
label: EU label: EU
plugin: european_union_vat plugin: european_union_vat
configuration: configuration:
display_inclusive: true display_inclusive: false

View File

@ -15,7 +15,7 @@ mode: default
content: content:
adjustments: adjustments:
type: commerce_adjustment_default type: commerce_adjustment_default
weight: 0 weight: 3
region: content region: content
settings: { } settings: { }
third_party_settings: { } third_party_settings: { }
@ -29,12 +29,12 @@ content:
type: boolean_checkbox type: boolean_checkbox
settings: settings:
display_label: true display_label: true
weight: 20 weight: 4
region: content region: content
third_party_settings: { } third_party_settings: { }
order_items: order_items:
type: inline_entity_form_complex type: inline_entity_form_complex
weight: 0 weight: 2
settings: settings:
form_mode: variation_cart_form form_mode: variation_cart_form
override_labels: true override_labels: true
@ -46,6 +46,7 @@ content:
allow_new: false allow_new: false
allow_existing: false allow_existing: false
allow_duplicate: false allow_duplicate: false
revision: false
third_party_settings: { } third_party_settings: { }
region: content region: content
hidden: hidden:

View File

@ -12,6 +12,7 @@ dependencies:
- commerce_order - commerce_order
module: module:
- address - address
- commerce_tax
_core: _core:
default_config_hash: 7mnnVkJkUSPhil9xoiTfdTivMqxCUloT_71AHWNUbJg default_config_hash: 7mnnVkJkUSPhil9xoiTfdTivMqxCUloT_71AHWNUbJg
id: profile.customer.default id: profile.customer.default
@ -21,11 +22,16 @@ mode: default
content: content:
address: address:
type: address_default type: address_default
weight: 0 weight: 1
settings: { } settings: { }
third_party_settings: { } third_party_settings: { }
region: content region: content
tax_number:
type: commerce_tax_number_default
weight: 0
region: content
settings: { }
third_party_settings: { }
hidden: hidden:
is_default: true is_default: true
phone: true phone: true
tax_number: true

View File

@ -89,6 +89,7 @@ content:
settings: { } settings: { }
third_party_settings: { } third_party_settings: { }
hidden: hidden:
balance: true
changed: true changed: true
ip_address: true ip_address: true
mail: true mail: true