mailsystem mailjet mailer for commerce

This commit is contained in:
Bachir Soussi Chiadmi 2022-05-05 17:25:34 +02:00
parent e92ae6581c
commit b0d335fde2
5 changed files with 58 additions and 3 deletions

View File

@ -6,6 +6,7 @@ dependencies:
- commerce_order.commerce_order_type.recurring - commerce_order.commerce_order_type.recurring
- field.field.commerce_order.recurring.billing_period - field.field.commerce_order.recurring.billing_period
- field.field.commerce_order.recurring.billing_schedule - field.field.commerce_order.recurring.billing_schedule
- field.field.commerce_order.recurring.field_mailjet_campaign_id
module: module:
- commerce_order - commerce_order
- inline_entity_form - inline_entity_form
@ -28,6 +29,13 @@ content:
region: content region: content
settings: { } settings: { }
third_party_settings: { } third_party_settings: { }
field_mailjet_campaign_id:
type: number
weight: 6
region: content
settings:
placeholder: ''
third_party_settings: { }
order_items: order_items:
type: inline_entity_form_complex type: inline_entity_form_complex
weight: 1 weight: 1
@ -35,8 +43,8 @@ content:
settings: settings:
form_mode: default form_mode: default
override_labels: true override_labels: true
label_singular: 'order item' label_singular: 'élément de commande'
label_plural: 'order items' label_plural: 'éléments de commande'
allow_new: true allow_new: true
allow_existing: false allow_existing: false
match_operator: CONTAINS match_operator: CONTAINS

View File

@ -6,6 +6,7 @@ dependencies:
- commerce_order.commerce_order_type.recurring - commerce_order.commerce_order_type.recurring
- field.field.commerce_order.recurring.billing_period - field.field.commerce_order.recurring.billing_period
- field.field.commerce_order.recurring.billing_schedule - field.field.commerce_order.recurring.billing_schedule
- field.field.commerce_order.recurring.field_mailjet_campaign_id
module: module:
- commerce_order - commerce_order
- commerce_price - commerce_price
@ -55,6 +56,15 @@ content:
third_party_settings: { } third_party_settings: { }
weight: 3 weight: 3
region: content region: content
field_mailjet_campaign_id:
type: number_integer
label: above
settings:
thousand_separator: ''
prefix_suffix: true
third_party_settings: { }
weight: 11
region: content
ip_address: ip_address:
type: string type: string
label: inline label: inline
@ -114,4 +124,5 @@ hidden:
order_number: true order_number: true
search_api_excerpt: true search_api_excerpt: true
store_id: true store_id: true
synonyms: true
total_paid: true total_paid: true

View File

@ -7,6 +7,7 @@ dependencies:
- core.entity_view_mode.commerce_order.user - core.entity_view_mode.commerce_order.user
- field.field.commerce_order.recurring.billing_period - field.field.commerce_order.recurring.billing_period
- field.field.commerce_order.recurring.billing_schedule - field.field.commerce_order.recurring.billing_schedule
- field.field.commerce_order.recurring.field_mailjet_campaign_id
module: module:
- commerce_order - commerce_order
- commerce_recurring - commerce_recurring
@ -117,6 +118,10 @@ content:
weight: 10 weight: 10
region: content region: content
hidden: hidden:
balance: true
billing_schedule: true billing_schedule: true
field_mailjet_campaign_id: true
ip_address: true ip_address: true
search_api_excerpt: true
synonyms: true
total_paid: true total_paid: true

View File

@ -0,0 +1,23 @@
uuid: 621e36ba-f688-40ad-af39-0b1159a63e22
langcode: fr
status: true
dependencies:
config:
- commerce_order.commerce_order_type.recurring
- field.storage.commerce_order.field_mailjet_campaign_id
id: commerce_order.recurring.field_mailjet_campaign_id
field_name: field_mailjet_campaign_id
entity_type: commerce_order
bundle: recurring
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

@ -7,7 +7,7 @@ defaults:
modules: modules:
swiftmailer: swiftmailer:
none: none:
sender: swiftmailer sender: mailjet_mail
formatter: swiftmailer formatter: swiftmailer
simplenews: simplenews:
none: none:
@ -17,3 +17,11 @@ modules:
none: none:
sender: mailjet_mail sender: mailjet_mail
formatter: swiftmailer formatter: swiftmailer
commerce:
none:
sender: mailjet_mail
formatter: swiftmailer
commerce_license:
none:
sender: mailjet_mail
formatter: swiftmailer