You are here

commerce1_order_settings.yml in Commerce Migrate 8.2

modules/commerce/migrations/commerce1_order_settings.yml

File

modules/commerce/migrations/commerce1_order_settings.yml
View source
  1. id: commerce1_cart_settings
  2. label: Cart settings
  3. migration_tags:
  4. - Drupal 7
  5. - Commerce
  6. - Configuration
  7. source:
  8. plugin: variable
  9. variables:
  10. - commerce_cart_refresh_force
  11. - commerce_cart_refresh_frequency
  12. - commerce_cart_refresh_mode
  13. source_module: commerce_order
  14. process:
  15. refresh_frequency:
  16. plugin: default_value
  17. source: commerce_cart_refresh_frequency
  18. default_value: 15
  19. refresh_mode:
  20. -
  21. plugin: commerce1_refresh_mode
  22. source:
  23. - commerce_cart_refressh_force
  24. - commerce_cart_refresh_mode
  25. -
  26. plugin: skip_on_empty
  27. method: process
  28. destination:
  29. plugin: config
  30. config_name: commerce_order.commerce_order_type.default