You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Is your feature request related to a problem? Please describe.
We are using the event \Extcode\Cart\Event\RetrieveProductsFromRequestEvent to add products from a custom extension. A product is not removed automatically from the cart, if it becomes unavailable within our extension (e.g. deleted or just hidden).
In our case, this state even causes an exception in the frontend of the shopping cart, because the product from our extension is required there (to output additional product information).
Describe the solution you'd like
Dispatch the existing event \Extcode\Cart\Event\CheckProductAvailabilityEvent e.g. when restoring the cart session or in \Extcode\Cart\Controller\Cart\CartController::showAction.
The text was updated successfully, but these errors were encountered:
Feature Request
Is your feature request related to a problem? Please describe.
We are using the event
\Extcode\Cart\Event\RetrieveProductsFromRequestEvent
to add products from a custom extension. A product is not removed automatically from the cart, if it becomes unavailable within our extension (e.g. deleted or just hidden).In our case, this state even causes an exception in the frontend of the shopping cart, because the product from our extension is required there (to output additional product information).
Describe the solution you'd like
Dispatch the existing event
\Extcode\Cart\Event\CheckProductAvailabilityEvent
e.g. when restoring the cart session or in\Extcode\Cart\Controller\Cart\CartController::showAction
.The text was updated successfully, but these errors were encountered: