CoreShop icon indicating copy to clipboard operation
CoreShop copied to clipboard

Provide an exact way to use an alternative checkout manager (additional checkout-like flow)

Open dkarlovi opened this issue 3 years ago • 3 comments

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.

dkarlovi avatar Dec 14 '21 13:12 dkarlovi

Would love that, would you create a PR for that?

dpfaffenbauer avatar Mar 24 '22 08:03 dpfaffenbauer

@dkarlovi any update on this?

dpfaffenbauer avatar Dec 12 '23 08:12 dpfaffenbauer

Not from my side.

dkarlovi avatar Dec 18 '23 09:12 dkarlovi