This issue was moved to a discussion.
You can continue the conversation there. Go to discussion →
Behaviour should not depend on has_checkout_step? #2502
Labels
type:enhancement
Proposed or newly added feature
We have a few places where the names of checkout steps influence behaviour. We take things like
has_checkout_step?("delivery")
to mean "this order doesn't need shipments". This is a bad way to do this. A store might want to create shipments, but not have a delivery step.However this behaviour has been allowed for a long time and is being depended upon. See #626 and others.
Removing this is essential to making the state machine actually customizable, as well as reducing our dependence on the state machine (which we'd really like to do, as fewer and fewer stores are using a wizard-style checkout)
The text was updated successfully, but these errors were encountered: