From ae329f5e7fc5b2ef451fec2dc6e9ead48b139f59 Mon Sep 17 00:00:00 2001 From: Alissa Crane Date: Thu, 24 Oct 2024 15:45:58 -0700 Subject: [PATCH] update readme --- README.md | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) diff --git a/README.md b/README.md index 7ddc233..97a1137 100644 --- a/README.md +++ b/README.md @@ -2,7 +2,7 @@ Thumbnail (1) -An Onchain Commerce Template build with [OnchainKit](https://onchainkit.xyz), and ready to be deployed to Vercel. +An Onchain Commerce Template built with [OnchainKit](https://onchainkit.xyz), and ready to be deployed to Vercel. Play with it live on https://onchain-commerce-template.vercel.app/ @@ -29,13 +29,15 @@ NEXT_PUBLIC_COINBASE_COMMERCE_API_KEY="GET_FROM_COINBASE_COMMERCE" ## Enabling checkout -By default, the checkout functionality is disabled to prevent transactions in non-production environments. To enable the checkout flow for local development, you need to uncomment certain lines of code in the `OnchainStoreCart.tsx` component, along with the imports at the top of the file. +By default, the checkout functionality is disabled to prevent transactions in non-production environments. To enable the checkout flow for local development, you need to uncomment the code found in the `OnchainStoreCart.tsx` component, along with the imports at the top of the file. You can also remove the `OnchainStoreModal` component and logic as well as the `MockCheckoutButton` as these were created for demo purposes only. Next, you'll want to replace `products` in the `OnchainStoreProvider` with your own product items. -After these changes, the actual OnchainKit checkout flow will be functional in your local environment. + +>This template showcases a multi-product checkout implementation of our `Checkout` component using the `chargeHandler` approach. You can read more about this implementation in the Advanced Usage section of our `Checkout` component docs here: https://onchainkit.xyz/checkout/checkout +