Skip to content

Commit 0e6803d

Browse files
author
Olexandr Lysenko
committed
Merge remote-tracking branch 'mainline/2.1.3' into MAGETWO-57780
2 parents ee14b4a + 9965e0e commit 0e6803d

File tree

3 files changed

+20
-0
lines changed

3 files changed

+20
-0
lines changed

app/code/Magento/Checkout/view/frontend/web/template/billing-address/details.html

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -11,6 +11,16 @@
1111
<!-- ko text: currentBillingAddress().city --><!-- /ko -->, <!-- ko text: currentBillingAddress().region --><!-- /ko --> <!-- ko text: currentBillingAddress().postcode --><!-- /ko --><br/>
1212
<!-- ko text: getCountryName(currentBillingAddress().countryId) --><!-- /ko --><br/>
1313
<!-- ko text: currentBillingAddress().telephone --><!-- /ko --><br/>
14+
<!-- ko foreach: { data: currentBillingAddress().customAttributes, as: 'element' } -->
15+
<!-- ko foreach: { data: Object.keys(element), as: 'attribute' } -->
16+
<!-- ko if: element[attribute].value != null -->
17+
<!-- ko text: element[attribute].value --><!-- /ko -->
18+
<!-- /ko -->
19+
<!-- ko if: element[attribute].value == null -->
20+
<!-- ko text: element[attribute] --><!-- /ko -->
21+
<!-- /ko -->
22+
<!-- /ko -->
23+
<!-- /ko -->
1424
<button type="button"
1525
class="action action-edit-address"
1626
data-bind="visible: !isAddressSameAsShipping(), click: editAddress">

app/code/Magento/Checkout/view/frontend/web/template/shipping-address/address-renderer/default.html

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -11,6 +11,11 @@
1111
<!-- ko text: address().city --><!-- /ko -->, <!-- ko text: address().region --><!-- /ko --> <!-- ko text: address().postcode --><!-- /ko --><br/>
1212
<!-- ko text: getCountryName(address().countryId) --><!-- /ko --><br/>
1313
<!-- ko text: address().telephone --><!-- /ko --><br/>
14+
<!-- ko foreach: { data: address().customAttributes, as: 'element' } -->
15+
<!-- ko foreach: { data: Object.keys(element), as: 'attribute' } -->
16+
<!-- ko text: element[attribute].value --><!-- /ko -->
17+
<!-- /ko -->
18+
<!-- /ko -->
1419
<!-- ko if: (address().isEditable()) -->
1520
<button type="button"
1621
class="action edit-address-link"

app/code/Magento/Checkout/view/frontend/web/template/shipping-information/address-renderer/default.html

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -11,4 +11,9 @@
1111
<!-- ko text: address().city --><!-- /ko -->, <!-- ko text: address().region --><!-- /ko --> <!-- ko text: address().postcode --><!-- /ko --><br/>
1212
<!-- ko text: getCountryName(address().countryId) --><!-- /ko --><br/>
1313
<!-- ko text: address().telephone --><!-- /ko --><br/>
14+
<!-- ko foreach: { data: address().customAttributes, as: 'element' } -->
15+
<!-- ko foreach: { data: Object.keys(element), as: 'attribute' } -->
16+
<!-- ko text: element[attribute].value --><!-- /ko -->
17+
<!-- /ko -->
18+
<!-- /ko -->
1419
<!-- /ko -->

0 commit comments

Comments
 (0)