
Grab your gear: The official Sanity swag store
Read Grab your gear: The official Sanity swag storeNo, this guide isn't what you need! I can see why there's confusion here, so let me clarify:
What that guide is for: The custom input guide is about creating custom fields inside Sanity Studio (your content management interface) that pull data from external APIs. It's for content editors managing products in Sanity, not for customers on your storefront.
What you actually need: You're trying to add custom product options (text, colors, customizations) on your customer-facing product pages and pass that data through checkout. This is entirely frontend/e-commerce platform work, not a Sanity Studio customization.
If you're using Shopify:
If you're using WooCommerce:
Where Sanity fits in: Sanity would store your product information (name, price, description, images), but the customization inputs and cart functionality happen in your frontend code and e-commerce platform. After purchase, you could use Sanity Functions to receive order data via webhook and save it to Sanity, or just have it emailed to you through your e-commerce platform's built-in order notifications.
Portable Text is also not what you need - that's for rich text content editing in Sanity Studio.
You're looking at backend CMS customization when you need frontend e-commerce development. Hope this saves you some time!
Sanity is the developer-first content operating system that gives you complete control. Schema-as-code, GROQ queries, and real-time APIs mean no more workarounds or waiting for deployments. Free to start, scale as you grow.
Content operations
Content backend


The only platform powering content operations
By Industry


Tecovas strengthens their customer connections
Build and Share

Grab your gear: The official Sanity swag store
Read Grab your gear: The official Sanity swag store