CoreShop
CoreShop copied to clipboard
Provide an exact way to use an alternative checkout manager (additional checkout-like flow)
Q | A |
---|---|
Bug report? | no |
Feature request? | yes |
BC Break report? | no |
RFC? | yes |
We have a use case where we need to do a "checkout-like" process for the quote, but keep the actual checkout as-is.
To do this, we've built a custom checkout manager setup with some steps being shared with the main checkout, some are fully custom. The issue here is that, currently, the checkout manager factory doesn't clearly support using additional checkout managers.
My suggestion is to update the checkout controller to allow wiring as many checkout managers automagically. This could also mean we deprecate the checkout route in favor of route loaders which create all the routes for different checkout managers, for example
/en/shop/checkout/{step} - "default" checkout manager, using steps C1, C2, C3, C4, C5
/en/shop/offer/{step} - "offer" checkout manager, using steps 01, 02, 03
The checkout controller needs to know the correct routes to use and redirect to, allowing having as many checkout flows as you'd like.
Would love that, would you create a PR for that?
@dkarlovi any update on this?
Not from my side.