uc6_store.yml in Commerce Migrate 3.1.x
Same filename and directory in other branches
modules/ubercart/migrations/uc6_store.yml
File
modules/ubercart/migrations/uc6_store.ymlView source
- # Ubercart 6 Store information.
- id: uc6_store
- label: Migrate store from Ubercart
- migration_tags:
- - Drupal 6
- - Ubercart
- - Content
- source:
- plugin: uc_store
- variables:
- - uc_store_name
- - uc_store_owner
- - uc_currency_code
- - uc_store_street1
- - uc_store_street2
- - uc_store_zone
- - uc_store_city
- - uc_store_postal_code
- - uc_store_country
- - uc_store_phone
- - uc_store_fax
- - uc_store_email
- - uc_store_email_include_name
- constants:
- type: 'online'
- process:
- # Bundle
- type: 'constants/type'
- name: uc_store_name
- uid:
- -
- plugin: default_value
- default_value: 1
- -
- plugin: migration_lookup
- migration: d6_user
- default_currency: uc_currency_code
- mail: uc_store_email
- # Country code is required. If is it null none of the address fields are saved.
- 'address/country_code': country_iso_code_2
- 'address/address_line1': uc_store_street1
- 'address/address_line2': uc_store_street2
- 'address/locality': uc_store_city
- 'address/postal_code': uc_store_postal_code
- is_default:
- -
- plugin: default_value
- default_value: TRUE
- destination:
- plugin: entity:commerce_store
- destination_module: commerce_store
- migration_dependencies:
- required:
- - d6_user
- - uc_currency