uc6_order_product.yml in Commerce Migrate 8.2
Same filename and directory in other branches
modules/ubercart/migrations/uc6_order_product.yml
File
modules/ubercart/migrations/uc6_order_product.ymlView source
- # Ubercart 6 Line Items Migration
- id: uc6_order_product
- label: Migrate order line items from Ubercart
- migration_tags:
- - Drupal 6
- - Ubercart
- - Content
- source:
- plugin: uc_order_product
- process:
- type:
- plugin: default_value
- default_value: default
- order_item_id: order_product_id
- purchased_entity:
- plugin: migration_lookup
- migration: uc6_product_variation
- source: nid
- title: title
- quantity: qty
- 'unit_price/number': price
- 'unit_price/currency_code': currency
- 'total_price/number': total_price
- 'total_price/currency_code': currency
- data: data
- created: created
- changed: modified
- uses_legacy_adjustments:
- plugin: default_value
- default_value: false
- adjustments:
- -
- plugin: uc_order_item_adjustment
- source: adjustments
- -
- plugin: commerce_adjustments
- destination:
- plugin: entity:commerce_order_item
- destination_module: commerce_order
- migration_dependencies:
- required:
- - d6_node