diff --git a/src/components/checkout/CheckoutModal.tsx b/src/components/checkout/CheckoutModal.tsx index c13bce6..b56a333 100644 --- a/src/components/checkout/CheckoutModal.tsx +++ b/src/components/checkout/CheckoutModal.tsx @@ -117,7 +117,8 @@ const CheckoutModal: FC = ({ prices, product }: Props) => {

Available Options
- Pick an option xor chose your own via tip input + Pick an option to see more details +

@@ -152,7 +153,7 @@ const CheckoutModal: FC = ({ prices, product }: Props) => {
- + = ({ prices, product }: Props) => {
-

{selectedPrice?.Description || ' '}

+

+ {total > 0 ? selectedPrice?.Description || 'Continue using custom price' : 'Please select a price and quantity to continue'} +

diff --git a/src/config.ts b/src/config.ts index aa9adc8..b2219b7 100644 --- a/src/config.ts +++ b/src/config.ts @@ -11,10 +11,6 @@ const { POSTHOG_ID, } = import.meta.env; -console.info('Loading Astro environment variables:', - { BASE_URL, PUBLIC_STRIPE_PUBLISHABLE_KEY, STRAPI_URL, STORE_SLUG, COLOR_PRIMARY, COLOR_ACCENT, POSTHOG_ID } -); - /** * @type {{[string]: string}} Global Configuration attributes for the markket instance */ diff --git a/src/pages/products/[slug].astro b/src/pages/products/[slug].astro index 513050d..760d15f 100644 --- a/src/pages/products/[slug].astro +++ b/src/pages/products/[slug].astro @@ -54,9 +54,8 @@ const selectedImage = ---