From 399b7207813516b7dab3ad1ac7e3e8b37f692362 Mon Sep 17 00:00:00 2001 From: "gpt-engineer-app[bot]" <159125892+gpt-engineer-app[bot]@users.noreply.github.com> Date: Sat, 11 Jul 2026 10:42:52 +0000 Subject: [PATCH] Changes Co-authored-by: wolfoftyreso-debug <250630591+wolfoftyreso-debug@users.noreply.github.com> --- src/components/PlansSection.tsx | 81 +++++++++++++++++++++------------ 1 file changed, 51 insertions(+), 30 deletions(-) diff --git a/src/components/PlansSection.tsx b/src/components/PlansSection.tsx index e984e85..c7d9967 100644 --- a/src/components/PlansSection.tsx +++ b/src/components/PlansSection.tsx @@ -28,6 +28,7 @@ type PaymentMethod = "card" | "invoice"; const PlansSection = () => { const [employees, setEmployees] = useState(10); const [loadingMethod, setLoadingMethod] = useState(null); + const [showPaymentOptions, setShowPaymentOptions] = useState(false); const { products, isLoading: productsLoading } = useShopifyProducts( "product_type:Abonnemang" @@ -163,40 +164,60 @@ const PlansSection = () => {
exklusive moms
- {/* Two CTAs — pick payment method, then straight to Shopify checkout */} -
+ {!showPaymentOptions ? ( - -
-

- Du slutför beställningen säkert hos Shopify. -

+ ) : ( +
+

+ Välj betalningsmetod +

+
+ + +
+ +

+ Du slutför beställningen säkert hos Shopify. +

+
+ )}