diff --git a/app/code/Magento/Checkout/view/frontend/web/template/billing-address/details.html b/app/code/Magento/Checkout/view/frontend/web/template/billing-address/details.html index f45115181fe4c628c88d3b5a26129629c21415b5..da625c51d4b7734ccc4808fd9161502e15acf1a9 100644 --- a/app/code/Magento/Checkout/view/frontend/web/template/billing-address/details.html +++ b/app/code/Magento/Checkout/view/frontend/web/template/billing-address/details.html @@ -13,6 +13,11 @@ <!-- ko if: (currentBillingAddress().telephone) --> <a data-bind="text: currentBillingAddress().telephone, attr: {'href': 'tel:' + currentBillingAddress().telephone}"></a> <!-- /ko --><br/> + <!-- ko foreach: { data: currentBillingAddress().customAttributes, as: 'element' } --> + <!-- ko foreach: { data: Object.keys(element), as: 'attribute' } --> + <!-- ko text: element[attribute].value --><!-- /ko --> + <!-- /ko --> + <!-- /ko --> <button type="button" class="action action-edit-address" data-bind="visible: !isAddressSameAsShipping(), click: editAddress"> diff --git a/app/code/Magento/Checkout/view/frontend/web/template/shipping-address/address-renderer/default.html b/app/code/Magento/Checkout/view/frontend/web/template/shipping-address/address-renderer/default.html index eeecbf346636613366db1f9d3fa33c4c7835b681..a2b83ead6b354451b99a4a1003a0f04df905dbbc 100644 --- a/app/code/Magento/Checkout/view/frontend/web/template/shipping-address/address-renderer/default.html +++ b/app/code/Magento/Checkout/view/frontend/web/template/shipping-address/address-renderer/default.html @@ -13,6 +13,11 @@ <!-- ko if: (address().telephone) --> <a data-bind="text: address().telephone, attr: {'href': 'tel:' + address().telephone}"></a> <!-- /ko --><br/> + <!-- ko foreach: { data: address().customAttributes, as: 'element' } --> + <!-- ko foreach: { data: Object.keys(element), as: 'attribute' } --> + <!-- ko text: element[attribute].value --><!-- /ko --> + <!-- /ko --> + <!-- /ko --> <!-- ko if: (address().isEditable()) --> <button type="button" class="action edit-address-link" diff --git a/app/code/Magento/Checkout/view/frontend/web/template/shipping-information/address-renderer/default.html b/app/code/Magento/Checkout/view/frontend/web/template/shipping-information/address-renderer/default.html index f02eef5ded99ab86bb3a445f7de3355f810e94e8..440a2c7fc468fc493d10eb0cb57320c5593e1bf8 100644 --- a/app/code/Magento/Checkout/view/frontend/web/template/shipping-information/address-renderer/default.html +++ b/app/code/Magento/Checkout/view/frontend/web/template/shipping-information/address-renderer/default.html @@ -13,4 +13,9 @@ <!-- ko if: (address().telephone) --> <a data-bind="text: address().telephone, attr: {'href': 'tel:' + address().telephone}"></a> <!-- /ko --><br/> + <!-- ko foreach: { data: address().customAttributes, as: 'element' } --> + <!-- ko foreach: { data: Object.keys(element), as: 'attribute' } --> + <!-- ko text: element[attribute].value --><!-- /ko --> + <!-- /ko --> + <!-- /ko --> <!-- /ko -->