mailjet commerce order fields. fix #1923

This commit is contained in:
Bachir Soussi Chiadmi 2022-05-05 17:05:32 +02:00
parent 46a54bf111
commit e92ae6581c
8 changed files with 133 additions and 0 deletions

View File

@ -5,6 +5,8 @@ dependencies:
config: config:
- commerce_order.commerce_order_type.materio_order_type - commerce_order.commerce_order_type.materio_order_type
- core.entity_form_mode.commerce_order_item.variation_cart_form - core.entity_form_mode.commerce_order_item.variation_cart_form
- field.field.commerce_order.materio_order_type.field_mailjet_campaign_id
- field.field.commerce_order.materio_order_type.field_mailjet_campaign_name
module: module:
- commerce_order - commerce_order
- inline_entity_form - inline_entity_form
@ -32,6 +34,19 @@ content:
settings: settings:
display_label: true display_label: true
third_party_settings: { } third_party_settings: { }
field_mailjet_campaign_id:
type: number
weight: 6
region: content
settings:
placeholder: ''
third_party_settings: { }
field_mailjet_campaign_name:
type: options_select
weight: 7
region: content
settings: { }
third_party_settings: { }
order_items: order_items:
type: inline_entity_form_complex type: inline_entity_form_complex
weight: 2 weight: 2

View File

@ -5,6 +5,8 @@ dependencies:
config: config:
- commerce_order.commerce_order_type.materio_order_type - commerce_order.commerce_order_type.materio_order_type
- core.entity_view_mode.commerce_order.checkout - core.entity_view_mode.commerce_order.checkout
- field.field.commerce_order.materio_order_type.field_mailjet_campaign_id
- field.field.commerce_order.materio_order_type.field_mailjet_campaign_name
module: module:
- commerce_order - commerce_order
- entity_reference_revisions - entity_reference_revisions
@ -91,6 +93,8 @@ content:
hidden: hidden:
balance: true balance: true
changed: true changed: true
field_mailjet_campaign_id: true
field_mailjet_campaign_name: true
ip_address: true ip_address: true
mail: true mail: true
search_api_excerpt: true search_api_excerpt: true

View File

@ -4,10 +4,13 @@ status: true
dependencies: dependencies:
config: config:
- commerce_order.commerce_order_type.materio_order_type - commerce_order.commerce_order_type.materio_order_type
- field.field.commerce_order.materio_order_type.field_mailjet_campaign_id
- field.field.commerce_order.materio_order_type.field_mailjet_campaign_name
module: module:
- commerce_order - commerce_order
- commerce_price - commerce_price
- entity_reference_revisions - entity_reference_revisions
- options
- state_machine - state_machine
- user - user
id: commerce_order.materio_order_type.default id: commerce_order.materio_order_type.default
@ -43,6 +46,22 @@ content:
third_party_settings: { } third_party_settings: { }
weight: 5 weight: 5
region: content region: content
field_mailjet_campaign_id:
type: number_integer
label: above
settings:
thousand_separator: ''
prefix_suffix: true
third_party_settings: { }
weight: 13
region: content
field_mailjet_campaign_name:
type: list_default
label: above
settings: { }
third_party_settings: { }
weight: 14
region: content
ip_address: ip_address:
type: string type: string
label: above label: above
@ -124,3 +143,4 @@ content:
hidden: hidden:
changed: true changed: true
search_api_excerpt: true search_api_excerpt: true
synonyms: true

View File

@ -0,0 +1,29 @@
uuid: 97fd7f35-d5f4-4fa8-8557-52e2d7ddce34
langcode: fr
status: true
dependencies:
config:
- commerce_order.commerce_order_type.materio_order_type
- field.storage.commerce_order.field_mailjet_campaign_id
module:
- unique_content_field_validation
third_party_settings:
unique_content_field_validation:
unique: false
unique_text: ''
id: commerce_order.materio_order_type.field_mailjet_campaign_id
field_name: field_mailjet_campaign_id
entity_type: commerce_order
bundle: materio_order_type
label: 'Mailjet Campaign ID'
description: ''
required: false
translatable: true
default_value: { }
default_value_callback: ''
settings:
min: null
max: null
prefix: ''
suffix: ''
field_type: integer

View File

@ -0,0 +1,26 @@
uuid: 54492094-416c-440e-89ef-b42be50333d8
langcode: fr
status: true
dependencies:
config:
- commerce_order.commerce_order_type.materio_order_type
- field.storage.commerce_order.field_mailjet_campaign_name
module:
- options
- unique_content_field_validation
third_party_settings:
unique_content_field_validation:
unique: false
unique_text: ''
id: commerce_order.materio_order_type.field_mailjet_campaign_name
field_name: field_mailjet_campaign_name
entity_type: commerce_order
bundle: materio_order_type
label: 'Mailjet Campaign Name'
description: ''
required: false
translatable: true
default_value: { }
default_value_callback: ''
settings: { }
field_type: list_string

View File

@ -4,6 +4,10 @@ status: true
dependencies: dependencies:
module: module:
- commerce_order - commerce_order
- field_permissions
third_party_settings:
field_permissions:
permission_type: public
_core: _core:
default_config_hash: 3gnAWb2CnqBEoWTpXEbJobW4YAMgjMk-vjZ7F9AwAcs default_config_hash: 3gnAWb2CnqBEoWTpXEbJobW4YAMgjMk-vjZ7F9AwAcs
id: commerce_order.field_mailjet_campaign_id id: commerce_order.field_mailjet_campaign_id

View File

@ -4,7 +4,11 @@ status: true
dependencies: dependencies:
module: module:
- commerce_order - commerce_order
- field_permissions
- options - options
third_party_settings:
field_permissions:
permission_type: public
_core: _core:
default_config_hash: D8YCku1MLxQ5JJv-1KTKmySKDkWUMC4sDCXCAK8gWx0 default_config_hash: D8YCku1MLxQ5JJv-1KTKmySKDkWUMC4sDCXCAK8gWx0
id: commerce_order.field_mailjet_campaign_name id: commerce_order.field_mailjet_campaign_name

View File

@ -0,0 +1,31 @@
uuid: 9edd889e-ba3e-4f22-b2f3-54a573ec44df
langcode: fr
status: true
dependencies: { }
id: commerce_order
filenames:
materio_order_type: ''
bundles:
materio_order_type:
field_mailjet_campaign_id:
bundle: materio_order_type
name: field_mailjet_campaign_id
enabled: false
rta: 'no'
rtf: 'no'
anonymizer: ''
notes: ''
relationship: 0
sars_filename: ''
entity_type_id: commerce_order
field_mailjet_campaign_name:
bundle: materio_order_type
name: field_mailjet_campaign_name
enabled: false
rta: 'no'
rtf: 'no'
anonymizer: ''
notes: ''
relationship: 0
sars_filename: ''
entity_type_id: commerce_order