Add missing dependency of Commerce Cart module

Created on 1 July 2025, 30 days ago

Problem/Motivation

While installing the Commerce product quantity module, if the Commerce Cart module is not already installed, it results in the following error:
Symfony\Component\DependencyInjection\Exception\ServiceNotFoundException: The service "commerce_product_quantity_event_subscriber_limit" has a dependency on a non-existent service "commerce_cart.cart_manager". in Symfony\Component\DependencyInjection\Compiler\AbstractRecursivePass@anonymous/var/www/html/vendor/symfony/dependency-injection/Compiler/CheckExceptionOnInvalidReferenceBehaviorPass.php:104$57f->processValue() (line 119 of /var/www/html/vendor/symfony/dependency-injection/Compiler/CheckExceptionOnInvalidReferenceBehaviorPass.php).

Proposed resolution

Need to add dependency of Commerce Cart module.

📌 Task
Status

Active

Version

2.0

Component

Code

Created by

🇮🇳India sanketprajapati

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

Merge Requests

Comments & Activities

Production build 0.71.5 2024