Order Type and Checkout flow Dependencies

Created on 20 May 2021, over 3 years ago
Updated 5 July 2023, over 1 year ago

Problem/Motivation

On a clean install commerce_order_type and Commerce_checkout_flow are not created unless all decencies are manually installed. This includes modules not included in base commerce install or that are not needed in may use cases:

- commerce_file
- commerce_shipping
- commerce_tax

Steps to reproduce

- Create a clean Drupal Commerce install (mine was 8.9.15) and create a store
- Enable commerce_product, commerce_checkout, commerce_cart, commerce_invoice, commerce_invoice_payment

commerce_order_type and Commerce_checkout_flow are not created

- Uninstall commerce_invoice_payment
- Enable commerce_file, commerce_payment, commerce_shipping, commerce_tax
- Enable commerce_invoice_payment

Voila! commerce_order_type and Commerce_checkout_flow are there

🐛 Bug report
Status

Needs review

Version

1.0

Component

Code

Created by

🇺🇸United States Dave Kopecek

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.

  • 🇮🇳India tanmayk Maharashtra

    I believe those dependencies are not required. It is important that these configurations are created with installation. Shipping or Tax modules are not always enabled/required for commerce so better to remove those dependencies from config files.

Production build 0.71.5 2024