From 93222db5eed39eba88a412fb0b43c5ac862ce3da Mon Sep 17 00:00:00 2001 From: Jade Geels Date: Wed, 11 Dec 2024 15:06:45 +0100 Subject: [PATCH] Don't use setExisting query on custom address fields --- resources/views/checkout/partials/sections/address.blade.php | 2 -- 1 file changed, 2 deletions(-) diff --git a/resources/views/checkout/partials/sections/address.blade.php b/resources/views/checkout/partials/sections/address.blade.php index f3c0929a..ff254a42 100644 --- a/resources/views/checkout/partials/sections/address.blade.php +++ b/resources/views/checkout/partials/sections/address.blade.php @@ -13,7 +13,6 @@ country_code: cart.shipping_addresses[0]?.country.code || window.address_defaults.country_code }" group="shipping" - :before-request="(query, variables, options) => [variables.customer_address_id ? config.queries.setExistingShippingAddressesOnCart : query, variables, options]" :callback="updateCart" :error-callback="checkResponseForExpiredCart" :watch="false" @@ -34,7 +33,6 @@ same_as_shipping: !cart.is_virtual && (cart?.billing_address?.same_as_shipping ?? true), country_code: cart.billing_address?.country.code || window.address_defaults.country_code }))" - :before-request="(query, variables, options) => [variables.customer_address_id ? config.queries.setExistingBillingAddressOnCart : query, variables, options]" :callback="updateCart" :error-callback="checkResponseForExpiredCart" :watch="false"