Make code loading carts using the cart provider easier to customize

Created on 2 September 2025, 10 days ago

Carts are loaded in a few places. For example, in the cart controller, the cart block etc. Many sites have a need to customize the query for loading the carts. For example, a multi-domain commerce site will want to pass the store to the getCarts() method for loading carts only for the store associated to the active domain.

The code should be refactored a bit to allow application to extend those classes and alter that method calling without having to override other logic e.g. the entire controller view method.

Feature request
Status

Active

Version

2.0

Component

Cart

Created by

🇵🇪Peru krystalcode

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