0

I want to show a specific address in the shipping address every time whether a customer has a shipping address or not.

No matter cart is a guest or logged in only a specific address should show in the checkout shipping address.

I don't want to allow customers or anyone to edit or update that address.

Thanks

1 Answer 1

0

You can modify this template to set the default shipping address.

vendor/magento/module-checkout/view/frontend/web/template/shipping-address/address-renderer/default.html

Find out the template and modify it like this

<div class="shipping-address-item" data-bind="CSS: isSelected() ? 'selected-item' : 'not-selected-item'">
    <div>
        <span>Street: </span>
        <span>Your Specific Street</span>
    </div>
    <div>
        <span>City: </span>
        <span>Your Specific City</span>
    </div>
</div>

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.