Permalink
Browse files

Merge pull request #20 from drupalportugal/feature-commerce-reset-3

Incremental changes to re-implement commerce entities
  • Loading branch information...
lpalgarvio committed Dec 27, 2017
2 parents 736c61b + 095f392 commit e179391b1e48be8c9f73aa94389fe90920244a63
Showing with 1,391 additions and 1 deletion.
  1. +38 −0 config/staging/commerce_checkout.commerce_checkout_flow.associate.yml
  2. +10 −0 config/staging/commerce_order.commerce_order_item_type.individual_associate.yml
  3. +21 −0 config/staging/commerce_order.commerce_order_type.associate.yml
  4. +24 −0 config/staging/commerce_payment.commerce_payment_gateway.manual.yml
  5. +22 −0 config/staging/commerce_payment.commerce_payment_gateway.paypal_live.yml
  6. +10 −0 config/staging/commerce_product.commerce_product_type.individual_associate.yml
  7. +17 −0 config/staging/commerce_product.commerce_product_variation_type.individual_associate.yml
  8. +1 −1 config/staging/commerce_store.settings.yml
  9. +18 −0 config/staging/core.base_field_override.commerce_product.default.changed.yml
  10. +18 −0 config/staging/core.base_field_override.commerce_product.default.created.yml
  11. +22 −0 config/staging/core.base_field_override.commerce_product.default.status.yml
  12. +20 −0 config/staging/core.base_field_override.commerce_product.default.uid.yml
  13. +18 −0 config/staging/core.base_field_override.commerce_product.individual_associate.changed.yml
  14. +18 −0 config/staging/core.base_field_override.commerce_product.individual_associate.created.yml
  15. +18 −0 config/staging/core.base_field_override.commerce_product.individual_associate.metatag.yml
  16. +22 −0 config/staging/core.base_field_override.commerce_product.individual_associate.status.yml
  17. +20 −0 config/staging/core.base_field_override.commerce_product.individual_associate.uid.yml
  18. +18 −0 config/staging/core.base_field_override.commerce_product_variation.default.changed.yml
  19. +18 −0 config/staging/core.base_field_override.commerce_product_variation.default.created.yml
  20. +22 −0 config/staging/core.base_field_override.commerce_product_variation.default.status.yml
  21. +20 −0 config/staging/core.base_field_override.commerce_product_variation.default.uid.yml
  22. +18 −0 config/staging/core.base_field_override.commerce_product_variation.individual_associate.changed.yml
  23. +18 −0 config/staging/core.base_field_override.commerce_product_variation.individual_associate.created.yml
  24. +22 −0 config/staging/core.base_field_override.commerce_product_variation.individual_associate.status.yml
  25. +20 −0 config/staging/core.base_field_override.commerce_product_variation.individual_associate.uid.yml
  26. +20 −0 config/staging/core.base_field_override.commerce_store.online.default_currency.yml
  27. +61 −0 config/staging/core.entity_form_display.commerce_order.associate.default.yml
  28. +36 −0 config/staging/core.entity_form_display.commerce_order_item.individual_associate.add_to_cart.yml
  29. +41 −0 config/staging/core.entity_form_display.commerce_order_item.individual_associate.default.yml
  30. +100 −0 config/staging/core.entity_form_display.commerce_product.individual_associate.default.yml
  31. +72 −0 config/staging/core.entity_form_display.commerce_product_variation.individual_associate.default.yml
  32. +68 −0 config/staging/core.entity_form_display.commerce_store.online.default.yml
  33. +84 −0 config/staging/core.entity_view_display.commerce_order.associate.default.yml
  34. +19 −0 config/staging/core.entity_view_display.commerce_order_item.individual_associate.default.yml
  35. +37 −0 config/staging/core.entity_view_display.commerce_product.individual_associate.default.yml
  36. +31 −0 config/staging/core.entity_view_display.commerce_product_variation.individual_associate.default.yml
  37. +21 −0 config/staging/field.field.commerce_order.associate.order_items.yml
  38. +21 −0 config/staging/field.field.commerce_order_item.individual_associate.license.yml
  39. +22 −0 config/staging/field.field.commerce_product.individual_associate.body.yml
  40. +21 −0 config/staging/field.field.commerce_product.individual_associate.stores.yml
  41. +24 −0 config/staging/field.field.commerce_product.individual_associate.variations.yml
  42. +21 −0 config/staging/field.field.commerce_product_variation.individual_associate.license_expiration.yml
  43. +21 −0 config/staging/field.field.commerce_product_variation.individual_associate.license_type.yml
  44. +20 −0 config/staging/field.storage.commerce_order_item.license.yml
  45. +19 −0 config/staging/field.storage.commerce_product_variation.license_expiration.yml
  46. +19 −0 config/staging/field.storage.commerce_product_variation.license_type.yml
  47. +16 −0 config/staging/language.content_settings.commerce_product.default.yml
  48. +16 −0 config/staging/language.content_settings.commerce_product.individual_associate.yml
  49. +16 −0 config/staging/language.content_settings.commerce_product_variation.default.yml
  50. +16 −0 config/staging/language.content_settings.commerce_product_variation.individual_associate.yml
  51. +16 −0 config/staging/language.content_settings.commerce_store.online.yml
  52. +1 −0 config/staging/language/en/commerce_checkout.commerce_checkout_flow.associate.yml
  53. +1 −0 config/staging/language/en/commerce_order.commerce_order_type.associate.yml
  54. +1 −0 config/staging/language/en/commerce_product.commerce_product_type.individual_associate.yml
  55. +1 −0 config/staging/language/en/commerce_product.commerce_product_variation_type.individual_associate.yml
  56. +14 −0 config/staging/pathauto.pattern.default_commerce_license.yml
  57. +14 −0 config/staging/pathauto.pattern.default_commerce_order.yml
  58. +14 −0 config/staging/pathauto.pattern.default_commerce_product.yml
  59. +14 −0 config/staging/pathauto.pattern.default_commerce_store.yml
@@ -0,0 +1,38 @@
uuid: 0a4b5afb-82c9-452f-8549-82faa1517169
langcode: pt-pt
status: true
dependencies:
module:
- commerce_payment
id: associate
label: Sócio
plugin: multistep_default
configuration:
display_checkout_progress: true
panes:
review:
step: review
weight: 10
completion_message:
step: complete
weight: 10
login:
allow_guest_checkout: false
allow_registration: true
step: login
weight: 10
contact_information:
double_entry: false
step: order_information
weight: 10
order_summary:
view: commerce_checkout_order_summary
step: _sidebar
weight: 10
payment_process:
capture: true
step: payment
weight: 10
payment_information:
step: order_information
weight: 10
@@ -0,0 +1,10 @@
uuid: 287eb76b-6d4a-4cbf-8618-7c901a691e23
langcode: pt-pt
status: true
dependencies: { }
label: 'Sócio Individual'
id: individual_associate
purchasableEntityType: commerce_product_variation
orderType: associate
traits:
- commerce_license_order_item_type
@@ -0,0 +1,21 @@
uuid: d6c1891d-8c0a-499d-a3a8-ea9a96ec1f02
langcode: pt-pt
status: true
dependencies:
module:
- commerce_cart
- commerce_checkout
third_party_settings:
commerce_cart:
cart_form_view: commerce_cart_form
cart_block_view: commerce_cart_block
commerce_checkout:
checkout_flow: associate
label: Sócio
id: associate
workflow: order_fulfillment
traits: { }
refresh_mode: customer
refresh_frequency: 300
sendReceipt: true
receiptBcc: secretariado@drupal.pt
@@ -0,0 +1,24 @@
uuid: 102b7a6f-9741-4cca-b07c-055282a71f5a
langcode: pt-pt
status: false
dependencies: { }
id: manual
label: Manual
weight: null
plugin: manual
configuration:
instructions:
value: ''
format: plain_text
display_label: Manual
mode: n/a
payment_method_types:
- credit_card
conditions:
-
plugin: order_customer_role
configuration:
roles:
- administrator
- moderator
conditionOperator: AND
@@ -0,0 +1,22 @@
uuid: 439df86e-c3da-4528-8b2c-213fbae76668
langcode: pt-pt
status: true
dependencies:
module:
- commerce_paypal
id: paypal_live
label: PayPal Live
weight: null
plugin: paypal_express_checkout
configuration:
api_username: paypal_api1.drupal-pt.org
api_password: QZAGDLK4CTJZSJ4Q
shipping_prompt: shipping_skip
signature: AQZV3h9JZgeLfLrW5aTWcWBDuZTNAwn6o0P6YsrSUCm.SelTTyFt0Lyk
solution_type: Mark
display_label: PayPal
mode: live
payment_method_types:
- credit_card
conditions: { }
conditionOperator: AND
@@ -0,0 +1,10 @@
uuid: 80ba3fd2-95f1-4606-8c10-e61379f74e03
langcode: pt-pt
status: true
dependencies: { }
id: individual_associate
label: 'Sócio Individual'
description: ''
variationType: individual_associate
injectVariationFields: true
traits: { }
@@ -0,0 +1,17 @@
uuid: 14372452-7703-4cea-af02-0d8e01b8ff7d
langcode: pt-pt
status: true
dependencies:
module:
- commerce_license
third_party_settings:
commerce_license:
license_types:
role: role
activate_on_place: false
id: individual_associate
label: 'Sócio Individual'
orderItemType: individual_associate
generateTitle: false
traits:
- commerce_license
@@ -1,4 +1,4 @@
default_store: ''
default_store: c03a6284-30e1-413e-8322-8e952ef74da6
_core:
default_config_hash: B9ZFGR76POyzj9f3Sh66F346_Jp-wnnUc78Hk3Q-60o
langcode: pt-pt
@@ -0,0 +1,18 @@
uuid: 8c42203f-115c-4f78-ba5d-cdbbb06a3881
langcode: pt-pt
status: true
dependencies:
config:
- commerce_product.commerce_product_type.default
id: commerce_product.default.changed
field_name: changed
entity_type: commerce_product
bundle: default
label: Alterado
description: 'The time when the product was last edited.'
required: false
translatable: false
default_value: { }
default_value_callback: ''
settings: { }
field_type: changed
@@ -0,0 +1,18 @@
uuid: 391b700b-54de-4af5-8121-b39dd9608d75
langcode: pt-pt
status: true
dependencies:
config:
- commerce_product.commerce_product_type.default
id: commerce_product.default.created
field_name: created
entity_type: commerce_product
bundle: default
label: Criado
description: 'The time when the product was created.'
required: false
translatable: false
default_value: { }
default_value_callback: ''
settings: { }
field_type: created
@@ -0,0 +1,22 @@
uuid: fbef4b38-7792-46e1-be05-bf99888d6bac
langcode: pt-pt
status: true
dependencies:
config:
- commerce_product.commerce_product_type.default
id: commerce_product.default.status
field_name: status
entity_type: commerce_product
bundle: default
label: Publicado
description: ''
required: false
translatable: false
default_value:
-
value: 1
default_value_callback: ''
settings:
on_label: Ligado
off_label: Desligado
field_type: boolean
@@ -0,0 +1,20 @@
uuid: 1b24ce09-a7b0-476a-b87f-fccd988a9a78
langcode: pt-pt
status: true
dependencies:
config:
- commerce_product.commerce_product_type.default
id: commerce_product.default.uid
field_name: uid
entity_type: commerce_product
bundle: default
label: Autor
description: 'O autor produto.'
required: false
translatable: false
default_value: { }
default_value_callback: 'Drupal\commerce_product\Entity\Product::getCurrentUserId'
settings:
handler: default
handler_settings: { }
field_type: entity_reference
@@ -0,0 +1,18 @@
uuid: cf6ab4f1-3a74-4920-849a-eb2a1032b0d1
langcode: pt-pt
status: true
dependencies:
config:
- commerce_product.commerce_product_type.individual_associate
id: commerce_product.individual_associate.changed
field_name: changed
entity_type: commerce_product
bundle: individual_associate
label: Alterado
description: 'The time when the product was last edited.'
required: false
translatable: false
default_value: { }
default_value_callback: ''
settings: { }
field_type: changed
@@ -0,0 +1,18 @@
uuid: 221af1f9-37b4-4ecd-b835-09f7aef3b2a8
langcode: pt-pt
status: true
dependencies:
config:
- commerce_product.commerce_product_type.individual_associate
id: commerce_product.individual_associate.created
field_name: created
entity_type: commerce_product
bundle: individual_associate
label: Criado
description: 'The time when the product was created.'
required: false
translatable: false
default_value: { }
default_value_callback: ''
settings: { }
field_type: created
@@ -0,0 +1,18 @@
uuid: efb6893f-6837-4e2c-a65b-e6d06371ec0c
langcode: pt-pt
status: true
dependencies:
config:
- commerce_product.commerce_product_type.individual_associate
id: commerce_product.individual_associate.metatag
field_name: metatag
entity_type: commerce_product
bundle: individual_associate
label: Metatags
description: 'The metatags for the entity.'
required: false
translatable: true
default_value: { }
default_value_callback: ''
settings: { }
field_type: map
@@ -0,0 +1,22 @@
uuid: 7210af55-1174-4a24-b7f5-7f44f02e4aa7
langcode: pt-pt
status: true
dependencies:
config:
- commerce_product.commerce_product_type.individual_associate
id: commerce_product.individual_associate.status
field_name: status
entity_type: commerce_product
bundle: individual_associate
label: Publicado
description: ''
required: false
translatable: false
default_value:
-
value: 1
default_value_callback: ''
settings:
on_label: Ligado
off_label: Desligado
field_type: boolean
@@ -0,0 +1,20 @@
uuid: 7ce289c6-036b-47de-8eb8-d7d66bb5ea47
langcode: pt-pt
status: true
dependencies:
config:
- commerce_product.commerce_product_type.individual_associate
id: commerce_product.individual_associate.uid
field_name: uid
entity_type: commerce_product
bundle: individual_associate
label: Autor
description: 'O autor produto.'
required: false
translatable: false
default_value: { }
default_value_callback: 'Drupal\commerce_product\Entity\Product::getCurrentUserId'
settings:
handler: default
handler_settings: { }
field_type: entity_reference
@@ -0,0 +1,18 @@
uuid: 51ee7f56-1837-48c0-8e36-236ff4ac0cad
langcode: pt-pt
status: true
dependencies:
config:
- commerce_product.commerce_product_variation_type.default
id: commerce_product_variation.default.changed
field_name: changed
entity_type: commerce_product_variation
bundle: default
label: Alterado
description: 'The time when the variation was last edited.'
required: false
translatable: false
default_value: { }
default_value_callback: ''
settings: { }
field_type: changed
@@ -0,0 +1,18 @@
uuid: 1819c3c3-d7e8-4e09-a5d4-758541ce04ed
langcode: pt-pt
status: true
dependencies:
config:
- commerce_product.commerce_product_variation_type.default
id: commerce_product_variation.default.created
field_name: created
entity_type: commerce_product_variation
bundle: default
label: Criado
description: 'The time when the variation was created.'
required: false
translatable: false
default_value: { }
default_value_callback: ''
settings: { }
field_type: created
@@ -0,0 +1,22 @@
uuid: dea2260a-f837-4ec7-9083-6eae18b2e146
langcode: pt-pt
status: true
dependencies:
config:
- commerce_product.commerce_product_variation_type.default
id: commerce_product_variation.default.status
field_name: status
entity_type: commerce_product_variation
bundle: default
label: Ativo
description: 'Whether the variation is active.'
required: false
translatable: false
default_value:
-
value: 1
default_value_callback: ''
settings:
on_label: Ligado
off_label: Desligado
field_type: boolean
Oops, something went wrong.

0 comments on commit e179391

Please sign in to comment.