As checkout page layout is mostly build in knockout.js and I have zero knowledge of knockout.js.
I want to show shipping address in select box <select>
instead of Box (ref to image – section 1) on the checkout page.
In Billing address it is showing as select box (ref to image – section 2), but I want same display for shipping address.
any help is appreciable.
Best Answer
You have to override
module_checkout/view/frontend/web/template/shipping-address/list.html
or
module_checkout/view/frontend/web/template/shipping-address/address-renderer/default.html
list.html
or default.html
this will display you an shipping address in dropdown, but i don't about how to set selection event for shipping address as of billing address, for that may be you have to look at
module-checkout/view/frontend/web/template/billing-address/list.html
ormodule-checkout/view/frontend/web/js/view/billing-address.js