Skip to content

Commit 41b7e36

Browse files
committed
MAGETWO-55395: Custom address attribute not appearing on Checkout summary
1 parent f6c2a53 commit 41b7e36

File tree

1 file changed

+5
-0
lines changed
  • app/code/Magento/Checkout/view/frontend/web/template/shipping-address/address-renderer

1 file changed

+5
-0
lines changed

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
@@ -13,6 +13,11 @@
1313
<!-- ko if: (address().telephone) -->
1414
<a data-bind="text: address().telephone, attr: {'href': 'tel:' + address().telephone}"></a>
1515
<!-- /ko --><br/>
16+
<!-- ko foreach: { data: address().customAttributes, as: 'element' } -->
17+
<!-- ko foreach: { data: Object.keys(element), as: 'attribute' } -->
18+
<!-- ko text: element[attribute].value --><!-- /ko -->
19+
<!-- /ko -->
20+
<!-- /ko -->
1621
<!-- ko if: (address().isEditable()) -->
1722
<button type="button"
1823
class="action edit-address-link"

0 commit comments

Comments
 (0)