Proposed Solution:
1. Provide a config in checkout flow for this.
2. or Check if there is any necessity to go to first step by analysing the product added to cart and see if there's any reason for resetting the step to first.

Just for anyone looking for it before patch arrives.
one suggested way is to

React to any of the cart events and then set preferred value as below
$cart->checkout_step->value = 'your_step'

Comments

sumanthkumarc created an issue. See original summary.

bojanz’s picture

Category: Feature request » Bug report

Matt, Ryan and I discussed this and agreed that this should be the default behavior (no setting). Reclassifying as a bug report.

harings_rob’s picture

Assigned: Unassigned » harings_rob

I will take care of this.

harings_rob’s picture

Status: Active » Needs review

https://github.com/drupalcommerce/commerce/pull/637

Added a small comment there regarding the test.

  • bojanz committed cbcdb3e on 8.x-2.x authored by harings_rob
    Issue #2851477 by sumanthkumarc, harings_rob: Modifying the cart should...
bojanz’s picture

Status: Needs review » Fixed

Committed, thanks!

Status: Fixed » Closed (fixed)

Automatically closed - issue fixed for 2 weeks with no activity.