commerce1_shipping_flat_rate.yml in Commerce Migrate 3.1.x
Same filename and directory in other branches
modules/commerce/migrations/commerce1_shipping_flat_rate.yml
File
modules/commerce/migrations/commerce1_shipping_flat_rate.ymlView source
- id: commerce1_shipping_flat_rate
- label: Commerce 1 shipping flat rate
- migration_tags:
- - Drupal 7
- - Commerce
- - Content
- source:
- plugin: commerce1_shipping_flat_rate
- process:
- name: title
- plugin/target_plugin_id:
- plugin: default_value
- default_value: flat_rate
- plugin/target_plugin_configuration/rate_label: display_title
- plugin/target_plugin_configuration/rate_amount/number: number
- plugin/target_plugin_configuration/rate_amount/currency_code: currency_code
- stores:
- plugin: default_value
- default_value: 1
- destination:
- plugin: 'entity:commerce_shipping_method'
- destination_module: commerce_shipping