You are here

uc_shipping_flat_rate.yml in Commerce Migrate 8.2

modules/ubercart/migrations/uc_shipping_flat_rate.yml

File

modules/ubercart/migrations/uc_shipping_flat_rate.yml
View source
  1. id: uc_shipping_flat_rate
  2. label: Ubercart 6 shipping method
  3. migration_tags:
  4. - Drupal 6
  5. - Drupal 7
  6. - Ubercart
  7. - Content
  8. source:
  9. plugin: uc_shipping_flat_rate
  10. line_item_type: shipping
  11. process:
  12. shipping_method_id: mid
  13. name: title
  14. plugin/target_plugin_id:
  15. plugin: default_value
  16. default_value: flat_rate
  17. plugin/target_plugin_configuration/rate_label: display_title
  18. plugin/target_plugin_configuration/rate_amount/number: base_rate
  19. plugin/target_plugin_configuration/rate_amount/currency_code: currency_code
  20. stores:
  21. plugin: default_value
  22. default_value: 1
  23. destination:
  24. plugin: 'entity:commerce_shipping_method'
  25. destination_module: commerce_shipping