Show a required textbox when a variant is selected

Topic summary

Shopify Studio theme product page behavior: show a customization text box only when a specific product variant (option selection) is chosen. The text box must be required before “Add to cart” is allowed, and the entered text should display on the shopping cart page.

Context: The storefront link was shared but is currently down due to DNS updates.

Status: Another participant reports the same need and asks for a solution. No code, steps, or workaround have been provided yet; the issue remains unresolved and open.

Summarized with AI on January 11. AI used: gpt-5.

I’m using the Studio theme

329543-2.myshopify.com/ (DNS settings are updating, so the page is down at the moment).

I have a product with two variants. What I’m looking for is when 1 of the variants is selected, a text box appears so the customer can customize the product. I would like the text box to be required before they can add it to cart. I’d also like whatever custom text they enter to show up on the shopping cart page.

Thanks!

Hi there, I’ve the same issue! Any solutions?