Skip to content

Commit 0e79323

Browse files
authored
Rename deprecated has_order_summary to has_sidebar in code recipe
In checkout flow sidebar visibility depend on the value of has_sidebar instead of has_order_summary. https://www.drupal.org/project/commerce/issues/2863051
1 parent 8933592 commit 0e79323

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

docs/v2/developer-guide/checkout/checkout.md

+4-4
Original file line numberDiff line numberDiff line change
@@ -82,12 +82,12 @@ Lets create a module that will do this.
8282
'payment' => [
8383
'label' => $this->t('Payment'),
8484
'next_label' => $this->t('Pay and complete purchase'),
85-
'has_order_summary' => FALSE,
85+
'has_sidebar' => FALSE,
8686
],
8787
'complete' => [
8888
'label' => $this->t('Complete'),
8989
'next_label' => $this->t('Pay and complete purchase'),
90-
'has_order_summary' => FALSE,
90+
'has_sidebar' => FALSE,
9191
],
9292
];
9393
```
@@ -157,11 +157,11 @@ Lets create a module that will do this.
157157
'login' => [
158158
'label' => $this->t('Login'),
159159
'previous_label' => $this->t('Return to login'),
160-
'has_order_summary' => FALSE,
160+
'has_sidebar' => FALSE,
161161
],
162162
'review' => [
163163
'label' => $this->t('Review'),
164-
'has_order_summary' => TRUE,
164+
'has_sidebar' => TRUE,
165165
],
166166
] + parent::getSteps();
167167
}

0 commit comments

Comments
 (0)