From 4ec94ea3cc5874952c9f59bd68a2f75af9140a6d Mon Sep 17 00:00:00 2001 From: Thomas Roberts Date: Fri, 10 Mar 2023 10:01:52 -0800 Subject: [PATCH] Do not show calculator button if local pickup rate is selected --- .../cart-checkout/totals/shipping/shipping-address.tsx | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/assets/js/base/components/cart-checkout/totals/shipping/shipping-address.tsx b/assets/js/base/components/cart-checkout/totals/shipping/shipping-address.tsx index 181eed11122..8a2df015a5d 100644 --- a/assets/js/base/components/cart-checkout/totals/shipping/shipping-address.tsx +++ b/assets/js/base/components/cart-checkout/totals/shipping/shipping-address.tsx @@ -36,7 +36,7 @@ export const ShippingAddress = ( { ) : ( ) } - { showCalculator && ( + { showCalculator && ! prefersCollection ? ( - ) } + ) : null } ); };