0

I have been able to export the commerce_store, commerce_product_variation and commerce_product entities with the default_content module and the drush dce (default-content-export) command, but when importing back, the products and the product variations are not linked together. What am I missing?

Has anybody managed to export products and import as default content in a drupal commerce 2.0 site?

1 Answer 1

0

Commerce currently does not work correctly with default_content. The commerce guys are looking into solutions for delivering default content.

AFAIK the next version of yaml_content is gonna be able to play nicely with commerce. However as of now, the module has no commands for exporting content, only for importing.

default_content - Question about architecture

yaml_content - Content Export Support

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.