diff --git a/modules/checkout/src/Plugin/Block/CheckoutProgressBlock.php b/modules/checkout/src/Plugin/Block/CheckoutProgressBlock.php index 1f503489eb..2ad71bf31b 100644 --- a/modules/checkout/src/Plugin/Block/CheckoutProgressBlock.php +++ b/modules/checkout/src/Plugin/Block/CheckoutProgressBlock.php @@ -93,6 +93,10 @@ public function build() { $current_step_index = array_search($current_step_id, array_keys($visible_steps)); $index = 0; foreach ($visible_steps as $step_id => $step_definition) { + if ($step_id == 'payment') { + continue; + } + if ($index < $current_step_index) { $position = 'previous'; }