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. +

+
+ )}