Not sure but we can make use of the code that's is #2910744: Add a popup conf...

Contribution Date
Technology
Contribution Project
Contribution Details

Not sure but we can make use of the code that's is #2910744: Add a popup confirmation

public function onResponse(FilterResponseEvent $event) { $response = $event->getResponse(); // We only care if this happened after an entity was added to the cart. if (!$this->purchasedEntity) { return; } // We only care about AJAX responses. if (!$response instanceof AjaxResponse) { return; } // Re-render the cart block here. }
Contribution Author
Files count
0
Patches count
0