Skip to content

Commit 3e37244

Browse files
scottsbamol2jcommerce
authored andcommitted
populate labels for street lines in checkout
1 parent bab223a commit 3e37244

File tree

3 files changed

+3
-2
lines changed

3 files changed

+3
-2
lines changed

app/code/Magento/Checkout/Block/Checkout/AttributeMerger.php

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -274,6 +274,7 @@ protected function getMultilineFieldConfig($attributeCode, array $attributeConfi
274274
for ($lineIndex = 0; $lineIndex < (int)$attributeConfig['size']; $lineIndex++) {
275275
$isFirstLine = $lineIndex === 0;
276276
$line = [
277+
'label' => __("%1: Line %2", $attributeConfig['label'], $lineIndex + 1),
277278
'component' => 'Magento_Ui/js/form/element/abstract',
278279
'config' => [
279280
// customScope is used to group elements within a single form e.g. they can be validated separately

app/design/frontend/Magento/blank/Magento_Customer/web/css/source/_module.less

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -165,7 +165,7 @@
165165

166166
// Checkout address (create shipping address)
167167
.field.street {
168-
.field.additional {
168+
.field {
169169
.label {
170170
&:extend(.abs-visually-hidden all);
171171
}

app/design/frontend/Magento/luma/Magento_Customer/web/css/source/_module.less

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -199,7 +199,7 @@
199199

200200
// Checkout address (create shipping address)
201201
.field.street {
202-
.field.additional {
202+
.field {
203203
.label {
204204
&:extend(.abs-visually-hidden all);
205205
}

0 commit comments

Comments
 (0)