
//Copy and paste the code below into your product.liquid
// Following code will display field as required + Will show in checkout page
<p class="line-item-property__field">
<label for="your-name">Your name</label>
<input required class="required" id="your-name" type="text" name="properties[Your name]">
</p>
// Following code will display field as required but it will not show in checkout page
<p class="line-item-property__field">
<label for="your-name">Your name</label>
<input required class="required" id="your-name" type="text" name="properties[_Your name]">
</p>
// Following code will display optional field in product page
<p class="line-item-property__field">
<label for="your-name">Your name</label>
<input id="your-name" type="text" name="properties[_Your name]">
</p>5/5 · 6 votes

![How I Find Google Maps Leads in Minutes with Claude Desktop + BrowserAct [No Code]](/_astro/How%20I%20Find%20Google%20Maps%20Leads%20in%20Minutes%20with%20Claude%20Desktop%20_%20BrowserAct%20_No%20Code_.DiiNHRev_3N5M4.webp)
%20The%203%20Biggest%20Updates%20for%20Store%20Owners.CY244rkl_1XVeRg.webp)
![How To Connect Google Search Console with Shopify - [2027]](/_astro/How%20To%20Connect%20Google%20Search%20Console%20with%20Shopify%20-%20_2027_%20(Step-by-Step).DoPyjVIZ_Z20rrU7.webp)


