- Issue created by @krystalcode
- 🇵🇪Peru krystalcode
I suggest adding the following at the top of the
CommerceEventsSubscriber::trackCartView()
method, loosely taken fromKernelEventsSubscriber::shouldTrackCheckout()
.if ($this->routeMatch->getRouteName() !== 'commerce_cart.page') { return; } // Bail if we are not dealing with a master request or GET method. if (!$event->isMasterRequest() || !$event->getRequest()->isMethod('GET')) { return; }
- First commit to issue fork.