Commerce Checkout requires Commerce Product due to config dependencies

Created on 20 September 2017, almost 7 years ago
Updated 9 May 2024, about 2 months ago

When running a kernel test that installs commerce_checkout it fails due to

1) Drupal\Tests\commerce_amazon_lpa\Kernel\CheckoutIntegrationTest::testCheckoutFlowExists
Drupal\Component\Plugin\Exception\PluginNotFoundException: The "commerce_product_variation" entity type does not exist.

This is due to the following config in the config/install directory and not optional

  • core.entity_view_display.commerce_product_variation.default.summary.yml
  • core.entity_view_mode.commerce_product_variation.summary.yml

That also means views.view.commerce_checkout_order_summary.yml must be optional.

🐛 Bug report
Status

Closed: outdated

Version

2.0

Component

Checkout

Created by

🇺🇸United States mglaman WI, USA

Live updates comments and jobs are added and updated live.
Sign in to follow issues

Comments & Activities

Not all content is available!

It's likely this issue predates Contrib.social: some issue and comment data are missing.

  • 🇹🇭Thailand AlfTheCat

    Hi all, I can add to this that I'm unable to uninstall Commerce due to this issue, and whenever I delete a field on any kind of entity I now get a WSOD with error: Drupal\Component\Plugin\Exception\PluginNotFoundException: The "commerce_product_variation" entity type does not exist

  • 🇮🇱Israel jsacksick

    @AlfTheCart: How did you manage to uninstall the commerce_product module without uninstalling commerce_checkout? It is a commerce_cart dependency. Besides this isuse is outdated (last comment prior to yours is 5 years old)...

  • Status changed to Closed: outdated about 2 months ago
Production build 0.69.0 2024