diff --git a/apps/web/components/AddressSelect/AddressSelect.vue b/apps/web/components/AddressSelect/AddressSelect.vue index f314962b2..6d3b531b8 100644 --- a/apps/web/components/AddressSelect/AddressSelect.vue +++ b/apps/web/components/AddressSelect/AddressSelect.vue @@ -110,7 +110,15 @@ const persistCheckoutAddress = async (address: Address) => { }; const handleSetCheckoutAddress = async (address: Address) => { + const { isAuthorized } = useCustomer(); + const { restrictedAddresses } = useRestrictedAddress(); + const { handleCartTotalChanges } = useCartTotalChange(); + await persistCheckoutAddress(address); + + if (isAuthorized.value && restrictedAddresses.value) { + await handleCartTotalChanges(); + } }; const handleDeleteAddress = async (address: Address) => { diff --git a/apps/web/components/CheckoutPayment/CheckoutPayment.vue b/apps/web/components/CheckoutPayment/CheckoutPayment.vue index a9aefc674..ef40c7135 100644 --- a/apps/web/components/CheckoutPayment/CheckoutPayment.vue +++ b/apps/web/components/CheckoutPayment/CheckoutPayment.vue @@ -1,7 +1,7 @@